@charset "utf-8";


/* =========================================================
   お客様の声ページ
========================================================= */


/* =========================================================
   BASE
========================================================= */

.voices-main {
  padding-top: 82px;

  color: var(--sora-color-text);

  background: #ffffff;
}

.voices-inner {
  width: min(1120px, calc(100% - 48px));

  margin-inline: auto;
}

.voices-eyebrow {
  margin: 0 0 12px;

  color: var(--sora-color-primary-dark);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.16em;
}

.voices-heading {
  margin: 0;

  color: var(--sora-color-navy);

  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;

  line-height: 1.45;
}

.voices-section-head {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(320px, 1fr);

  align-items: end;

  gap: 70px;

  margin-bottom: 50px;
}

.voices-section-head__text {
  margin: 0;

  color: var(--sora-color-text);

  font-size: 15px;

  line-height: 2;
}


/* =========================================================
   HERO
========================================================= */

.voices-hero {
  position: relative;

  overflow: hidden;

  padding: 102px 0 96px;

  background:
    linear-gradient(
      135deg,
      #f7fcfe 0%,
      #edf8fc 55%,
      #ffffff 100%
    );
}

.voices-hero::before {
  position: absolute;

  top: -160px;
  right: -100px;

  width: 430px;
  height: 430px;

  border-radius: 50%;

  background:
    rgba(78, 173, 211, 0.10);

  content: "";
}

.voices-hero::after {
  position: absolute;

  right: 20%;
  bottom: -130px;

  width: 270px;
  height: 270px;

  border-radius: 50%;

  background:
    rgba(255,255,255,0.65);

  content: "";
}

.voices-hero .voices-inner {
  position: relative;

  z-index: 1;
}

.voices-hero__title {
  margin: 0 0 32px;

  color: var(--sora-color-navy);

  font-size: clamp(42px, 6vw, 68px);

  line-height: 1.2;
}

.voices-hero__catch {
  margin: 0 0 20px;

  color: var(--sora-color-primary-dark);

  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;

  line-height: 1.55;
}

.voices-hero__lead {
  max-width: 780px;

  margin: 0;

  color: var(--sora-color-text);

  font-size: 16px;

  line-height: 2;
}


/* =========================================================
   INTRO
========================================================= */

.voices-intro {
  padding: 100px 0;
}

.voices-intro__inner {
  max-width: 860px;
}

.voices-intro__text {
  margin-top: 32px;
}

.voices-intro__text p {
  margin: 0;

  font-size: 16px;

  line-height: 2.05;
}

.voices-intro__text p + p {
  margin-top: 18px;
}


/* =========================================================
   VOICE LIST
========================================================= */

.voices-list {
  padding: 105px 0;

  background: var(--sora-color-primary-pale);
}

.voices-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 30px;
}


/* =========================================================
   VOICE CARD
========================================================= */

.voice-card {
  display: grid;

  grid-template-columns:
    160px minmax(0, 1fr);

  overflow: hidden;

  border:
    1px solid var(--sora-color-border);

  border-radius: 24px;

  background: #ffffff;

  box-shadow:
    var(--sora-shadow-soft);
}

.voice-card__visual {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  min-height: 100%;

  padding: 28px 18px;

  background:
    linear-gradient(
      145deg,
      #dff4fc,
      #f8fdff
    );

  text-align: center;
}

.voice-card__initial {
  display: grid;

  width: 76px;
  height: 76px;

  margin-bottom: 18px;

  place-items: center;

  border-radius: 50%;

  color: #ffffff;

  background:
    var(--sora-color-primary);

  font-size: 30px;
  font-weight: 700;
}

.voice-card__photo-note {
  color:
    var(--sora-color-primary-dark);

  font-size: 10px;
  font-weight: 700;

  line-height: 1.6;

  letter-spacing: 0.08em;
}

.voice-card--anonymous .voice-card__visual {
  background:
    linear-gradient(
      145deg,
      #edf8fc,
      #ffffff
    );
}

.voice-card__body {
  padding: 32px;
}

.voice-card__meta {
  margin-bottom: 22px;
}

.voice-card__industry {
  display: inline-flex;

  margin-bottom: 10px;

  padding: 6px 11px;

  border-radius: 999px;

  color:
    var(--sora-color-primary-dark);

  background:
    var(--sora-color-primary-light);

  font-size: 11px;
  font-weight: 700;
}

.voice-card__company {
  margin: 0;

  color: var(--sora-color-navy);

  font-size: 15px;
  font-weight: 700;
}

.voice-card__quote {
  position: relative;

  margin: 0 0 28px;

  padding: 22px 22px 22px 26px;

  border-left:
    4px solid var(--sora-color-primary);

  border-radius:
    0 14px 14px 0;

  color: var(--sora-color-navy);

  background:
    var(--sora-color-primary-pale);

  font-size: 19px;
  font-weight: 700;

  line-height: 1.7;
}

.voice-card__story {
  display: flex;
  flex-direction: column;

  gap: 24px;
}

.voice-card__story-item {
  padding-top: 20px;

  border-top:
    1px solid var(--sora-color-border);
}

.voice-card__label {
  margin: 0 0 9px;

  color:
    var(--sora-color-primary-dark);

  font-size: 12px;
  font-weight: 700;
}

.voice-card__story-item > p:last-child {
  margin: 0;

  color: var(--sora-color-text);

  font-size: 14px;

  line-height: 1.9;
}


/* =========================================================
   PHOTO
   写真到着後に使用
========================================================= */

.voice-card__visual--photo {
  padding: 0;

  overflow: hidden;
}

.voice-card__visual--photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   POLICY
========================================================= */

.voices-policy {
  padding: 105px 0;
}

.voices-policy__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1fr);

  gap: 80px;
}

.voices-policy__text p {
  margin: 0;

  font-size: 15px;

  line-height: 2;
}

.voices-policy__text p + p {
  margin-top: 18px;
}


/* =========================================================
   SERVICE
========================================================= */

.voices-service {
  padding: 0 0 95px;
}

.voices-service__box {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 60px;

  padding:
    clamp(36px, 5vw, 58px);

  border:
    1px solid var(--sora-color-border);

  border-radius: 26px;

  background: #ffffff;
}

.voices-service__title {
  margin: 0;

  color: var(--sora-color-navy);

  font-size: clamp(26px, 3vw, 36px);

  line-height: 1.5;
}

.voices-service__text {
  max-width: 700px;

  margin: 20px 0 0;

  font-size: 15px;

  line-height: 1.9;
}


/* =========================================================
   CONTACT
========================================================= */

.voices-contact {
  padding: 0 0 115px;
}

.voices-contact__box {
  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(280px, 0.7fr);

  align-items: center;

  gap: 65px;

  padding:
    clamp(38px, 6vw, 66px);

  border:
    1px solid var(--sora-color-border);

  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      var(--sora-color-primary-light),
      #ffffff
    );
}

.voices-contact__title {
  margin: 0;

  color: var(--sora-color-navy);

  font-size: clamp(26px, 3vw, 39px);

  line-height: 1.55;
}

.voices-contact__text {
  max-width: 700px;

  margin: 22px 0 0;

  font-size: 15px;

  line-height: 1.95;
}


/* =========================================================
   BUTTON
========================================================= */

.voices-button {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 22px;

  min-width: 220px;
  min-height: 58px;

  padding: 14px 22px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.voices-button:hover,
.voices-button:focus-visible {
  transform: translateY(-2px);
}

.voices-button--primary {
  color: #ffffff;

  background:
    var(--sora-color-primary-dark);

  box-shadow:
    var(--sora-shadow-button);
}

.voices-button--outline {
  border:
    1px solid var(--sora-color-primary-dark);

  color:
    var(--sora-color-primary-dark);

  background: #ffffff;
}

.voices-button--outline:hover {
  background:
    var(--sora-color-primary-pale);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.voices-button:focus-visible {
  outline:
    3px solid var(--sora-color-focus);

  outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 960px) {

  .voices-section-head {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .voices-policy__grid {
    grid-template-columns: 1fr;

    gap: 36px;
  }

  .voices-service__box {
    grid-template-columns: 1fr;

    gap: 32px;
  }

  .voices-contact__box {
    grid-template-columns: 1fr;

    gap: 34px;
  }

}


/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 767px) {

  .voices-main {
    padding-top: 0;
  }

  .voices-inner {
    width:
      calc(100% - 32px);
  }


  /* Hero */

  .voices-hero {
    padding:
      70px 0 64px;
  }

  .voices-hero__title {
    margin-bottom: 26px;

    font-size: 38px;
  }

  .voices-hero__catch {
    font-size: 25px;
  }

  .voices-hero__lead {
    font-size: 15px;

    line-height: 1.9;
  }


  /* Common */

  .voices-heading {
    font-size: 28px;
  }


  /* Intro */

  .voices-intro {
    padding: 72px 0;
  }

  .voices-intro__text p {
    font-size: 15px;

    line-height: 1.95;
  }


  /* Voices */

  .voices-list {
    padding: 72px 0;
  }

  .voices-grid {
    gap: 22px;
  }

  .voice-card {
    grid-template-columns: 1fr;

    border-radius: 22px;
  }

  .voice-card__visual {
    min-height: 185px;

    padding: 26px;
  }

  .voice-card__initial {
    width: 64px;
    height: 64px;

    margin-bottom: 13px;

    font-size: 25px;
  }

  .voice-card__body {
    padding: 25px 21px 28px;
  }

  .voice-card__quote {
    padding: 19px 18px;

    font-size: 17px;
  }

  .voice-card__story {
    gap: 20px;
  }


  /* Policy */

  .voices-policy {
    padding: 72px 0;
  }

  .voices-policy__text p {
    font-size: 14px;

    line-height: 1.9;
  }


  /* Service */

  .voices-service {
    padding-bottom: 72px;
  }

  .voices-service__box {
    padding: 30px 22px;

    border-radius: 22px;
  }

  .voices-service__title {
    font-size: 26px;
  }

  .voices-service__text {
    font-size: 14px;
  }


  /* Contact */

  .voices-contact {
    padding-bottom: 82px;
  }

  .voices-contact__box {
    padding: 31px 22px;

    border-radius: 22px;
  }

  .voices-contact__title {
    font-size: 26px;
  }

  .voices-contact__text {
    font-size: 14px;

    line-height: 1.9;
  }


  /* Buttons */

  .voices-button {
    width: 100%;

    min-width: 0;

    box-sizing: border-box;
  }

}
/* =========================================================
   お客様基本情報
   代表者名 / 従業員 / お客様HP
========================================================= */

.voice-card__profile {
  margin: 20px 0 26px;

  overflow: hidden;

  border: 1px solid rgba(78, 173, 211, 0.18);

  border-radius: 14px;

  background: #f8fcfe;
}


/* =========================================================
   1行
========================================================= */

.voice-card__profile-row {
  display: grid;

  grid-template-columns: 110px minmax(0, 1fr);

  margin: 0;
}

.voice-card__profile-row + .voice-card__profile-row {
  border-top: 1px solid rgba(78, 173, 211, 0.16);
}


/* =========================================================
   項目名
========================================================= */

.voice-card__profile-row dt {
  display: flex;

  align-items: center;

  margin: 0;

  padding: 11px 14px;

  color: #176a91;

  background: #edf8fc;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.6;
}


/* =========================================================
   内容
========================================================= */

.voice-card__profile-row dd {
  display: flex;

  align-items: center;

  min-width: 0;

  margin: 0;

  padding: 11px 15px;

  color: #405967;

  background: #ffffff;

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================================
   HPリンク
========================================================= */

.voice-card__website {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #176a91;

  font-weight: 700;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.voice-card__website:hover,
.voice-card__website:focus-visible {
  color: #4eadd3;

  transform: translateX(2px);
}

.voice-card__website:focus-visible {
  outline: 3px solid rgba(78, 173, 211, 0.28);

  outline-offset: 3px;

  border-radius: 4px;
}


/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767px) {

  .voice-card__profile {
    margin:
      18px 0 24px;

    border-radius: 12px;
  }

  .voice-card__profile-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .voice-card__profile-row dt {
    padding: 10px 11px;

    font-size: 11px;
  }

  .voice-card__profile-row dd {
    padding: 10px 12px;

    font-size: 12px;
  }

}
/* =========================================================
   クリーン商事など
   2枚写真用ギャラリー
========================================================= */
.voice-card--with-gallery {
  display: flex;
  flex-direction: column;
}

.voice-card--with-gallery .voice-card__body {
  flex: 1;
  padding-top: 20px;
}
/* ギャラリー全体 */

.voice-card__gallery {
  display: grid;

  /* 左：集合写真 ／ 右：会社紹介画像 */
  grid-template-columns:
    minmax(0, 1.7fr)
    minmax(0, 1fr);

  gap: 14px;

  padding: 14px;

  border-radius: 18px;

  background:
    var(--sora-color-primary-pale, #edf8fc);
}

/* =========================================================
   メイン画像
   集合写真
========================================================= */

.voice-card__main-photo {
  overflow: hidden;

  border-radius: 16px;

  background: #ffffff;
}

.voice-card__main-photo img {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 4 / 3;

  object-fit: cover;
  object-position: center;
}
/* =========================================================
   サブ画像
   本社・事業紹介画像
========================================================= */

.voice-card__sub-photo {
  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 16px;
  background: #ffffff;
}

.voice-card__sub-photo img {
  display: block;

  width: 100%;
  height: auto;

  max-width: none;

  object-fit: contain;
  object-position: center;

  border-radius: 14px;
}

/* =========================================================
   ギャラリー付きカード本文
========================================================= */

.voice-card--with-gallery .voice-card__body {
  padding-top: 28px;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 960px) {

  .voice-card__gallery {
    grid-template-columns:
      minmax(0, 1.5fr)
      minmax(160px, 0.9fr);
  }

}


/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767px) {

  .voice-card__gallery {
    grid-template-columns: 1fr;

    gap: 10px;

    padding: 10px;
  }


  /* 集合写真 */

  .voice-card__main-photo img {
    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
    object-position: center;
  }


  /* 本社・事業紹介画像 */

  .voice-card__sub-photo img {
    width: 100%;
    height: auto;

    aspect-ratio: auto;

    object-fit: contain;
  }


  .voice-card--with-gallery .voice-card__body {
    padding-top: 24px;
  }

}
/* =========================================================
   波多野建設 写真
========================================================= */

.voice-card__visual--hatano {
  padding: 0;

  overflow: hidden;

  background: #ffffff;
}

.voice-card__visual--hatano img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  /* 上部の社名看板もできるだけ残す */
  object-position: center 42%;
}
/* =========================================================
   横長写真カード
========================================================= */

.voice-card--wide-photo {
  display: block;
}

.voice-card--wide-photo .voice-card__visual {
  width: 100%;

  min-height: auto;
}

.voice-card--wide-photo .voice-card__visual img {
  width: 100%;
  height: auto;

  aspect-ratio: 16 / 9;

  object-fit: cover;
  object-position: center 42%;
}

.voice-card--wide-photo .voice-card__body {
  padding-top: 28px;
}
/* =========================================================
   クリーン商事
   メイン写真＋飛び出す補足画像
========================================================= */


.voice-card--clean {
  display: block;
}


/* 写真エリア
   ※補足画像を外へ出すため overflow: visible */
.voice-card__visual--clean {
  position: relative;

  width: 100%;
  min-height: auto;

  padding: 0;

  overflow: visible;

  background: transparent;
}


/* メイン集合写真 */
.voice-card__visual--clean .voice-card__main-image {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 16 / 9;

  object-fit: cover;
  object-position: center;

  border-radius: 18px;
}


/* =========================================================
   補足画像
========================================================= */

.voice-card__sub-image-wrap {
  position: absolute;

  right: -18px;
  bottom: -70px;

  width: min(31%, 280px);

  padding: 6px;

  border: 1px solid rgba(78, 173, 211, 0.22);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.97);

  box-shadow:
    0 16px 38px rgba(23, 59, 85, 0.18);

  /* 最初はメイン画像の中に隠す */
  opacity: 0;

  transform:
    translateX(-45px)
    translateY(-8px)
    scale(0.92);

  transition:
    opacity 0.7s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);

  z-index: 3;
}


/* 画面に入ったら右下へ飛び出す */
.voice-card--clean.is-visible
.voice-card__sub-image-wrap {
  opacity: 1;

  transform:
    translateX(0)
    translateY(0)
    scale(1);
}


.voice-card__sub-image {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 11px;

  object-fit: contain;
}


/* 補足画像が下へ出る分だけ本文との余白を確保 */
.voice-card--clean .voice-card__body {
  padding-top: 28px;
}
/* =========================================================
   クリーン商事
   補足画像と本文の重なり防止
========================================================= */

@media (min-width: 768px) {

  .voice-card--clean .voice-card__body {
    position: relative;

    padding-top: 28px;

    /* 補足画像が飛び出している右側だけ余白を確保 */
    padding-right: 32%;
  }

}

/* =========================================================
   Smartphone
========================================================= */

@media (max-width: 767px) {

  .voice-card__visual--clean
  .voice-card__main-image {
    aspect-ratio: 4 / 3;

    object-fit: cover;
    object-position: center;
  }


  .voice-card__sub-image-wrap {
    right: 10px;
    bottom: -22px;

    width: 46%;

    padding: 4px;

    border-radius: 12px;

    transform:
      translateX(-28px)
      translateY(-6px)
      scale(0.92);
  }


  .voice-card--clean.is-visible
  .voice-card__sub-image-wrap {
    transform:
      translateX(0)
      translateY(0)
      scale(1);
  }


  .voice-card__sub-image {
    border-radius: 8px;
  }


  .voice-card--clean .voice-card__body {
    padding-top: 46px;
  }

}


/* =========================================================
   動きを減らす設定
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .voice-card__sub-image-wrap {
    opacity: 1;

    transform: none;

    transition: none;
  }

}