@charset "utf-8";

/* ==========================================================================
   参加した人の声 セクション
   PC: const3_PC.svg (1440 x 1542)
   SP: const3_SP.svg (375 x 1644)
   ========================================================================== */

.cont3 {
  position: relative;
  width: 100%;
  padding: 30px 20px 0;
  font-family: var(--font-jp);
  color: var(--color-text);
  isolation: isolate;
}

/* 黄色背景 (上端カーブ + 下まで広がる) */
.cont3__yellow {
  position: absolute;
  left: 0;
  right: 0;
  top: 440px;
  bottom: 0;
  background: #f4c917;
  /* SVG path: M0 412.683 C479 369.106 961 369.106 1440 412.683 V1541 H0 → 中央が約43px上に膨らむ円弧 */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1170' preserveAspectRatio='none'><path d='M0 43 C479 0 961 0 1440 43 V1170 H0 Z' fill='black'/></svg>")
    center top / 100% 100% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1170' preserveAspectRatio='none'><path d='M0 43 C479 0 961 0 1440 43 V1170 H0 Z' fill='black'/></svg>")
    center top / 100% 100% no-repeat;
  z-index: -1;
}

.cont3__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- 上部見出し (VOICE pill + sub + title) ----------------------------- */
.cont3__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FV「対面以外なんでもOK」と同じ吹き出しスタイル */
.cont3__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 80px;
  background: var(--color-text);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1.6px;
  border-radius: 50%;
}
.cont3__pill::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -6px;
  width: 22px;
  height: 22px;
  background: var(--color-text);
  clip-path: polygon(0% 50%, 50% 0%, 100% 100%);
}
.cont3__pill-tail {
  display: none;
}

.cont3__sub {
  margin: 18px 0 0;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2.4px;
  color: var(--color-blue);
  text-align: center;
}

.cont3__title {
  margin: 6px 0 0;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 3.6px;
  line-height: 1.4;
  color: var(--color-text);
  text-align: center;
}

/* ---- ボイスカードリスト ------------------------------------------------ */
.cont3__list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cont3__voice {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  padding: 36px 56px 40px;
}
/* 左肩のクオート装飾 (Union.png) */
.cont3__voice::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 38px;
  width: 56px;
  height: 50px;
  background: url("../images/cont3/quote.png") no-repeat center / contain;
}

.cont3__voice-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}
.cont3__avatar {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: block;
}
.cont3__voice-text {
  flex: 1 1 auto;
  min-width: 0;
}
.cont3__voice-title {
  margin: 0;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1.5;
  color: var(--color-text);
}
.cont3__voice-meta {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--color-blue);
}
.cont3__voice-body {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.6px;
  line-height: 1.9;
  text-align: left;
  color: var(--color-text);
}

/* ---- 下部 CTA ---------------------------------------------------------- */
.cont3__cta-wrap {
  margin: 56px auto 0;
  padding-bottom: 80px;
  width: 100%;
}

/* ==========================================================================
   タブレット〜PC small : fluid 縮小
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 751px) {
  .cont3__title {
    font-size: clamp(26px, 3vw, 36px);
  }
  .cont3__sub {
    font-size: clamp(16px, 2vw, 24px);
  }
  .cont3__voice {
    padding: 32px 36px 36px;
  }
  .cont3__voice-title {
    font-size: clamp(16px, 2vw, 22px);
  }
  .cont3__voice-body {
    font-size: clamp(14px, 1.6vw, 16px);
  }
  .cont3__avatar {
    width: 80px;
    height: 80px;
  }
}

/* ==========================================================================
   SP (~750px以下)
   ========================================================================== */
@media (max-width: 750px) {
  .cont3 {
    padding: 24px 16px 0;
  }
  .cont3__yellow {
    top: 240px;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 1336' preserveAspectRatio='none'><path d='M0 14 C124 0 251 0 375 14 V1336 H0 Z' fill='black'/></svg>")
      center top / 100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 1336' preserveAspectRatio='none'><path d='M0 14 C124 0 251 0 375 14 V1336 H0 Z' fill='black'/></svg>")
      center top / 100% 100% no-repeat;
  }

  .cont3__pill {
    width: 75px;
    height: 60px;
    font-size: 13px;
    letter-spacing: 1px;
  }
  .cont3__pill::after {
    width: 16px;
    height: 16px;
    right: 6px;
    bottom: -4px;
  }
  .cont3__sub {
    margin-top: 14px;
    font-size: 16px;
    letter-spacing: 1.4px;
  }
  .cont3__title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .cont3__list {
    margin-top: 36px;
    gap: 24px;
  }

  .cont3__voice {
    padding: 26px 22px 30px;
    border-radius: 4px;
  }
  .cont3__voice::before {
    top: -16px;
    left: 22px;
    width: 38px;
    height: 34px;
  }

  .cont3__voice-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
  }
  .cont3__avatar {
    width: 64px;
    height: 64px;
  }
  .cont3__voice-title {
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 1.5;
    text-align: left;
  }
  .cont3__voice-meta {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.2px;
    text-align: left;
  }
  .cont3__voice-body {
    font-size: 14px;
    letter-spacing: 0.4px;
    line-height: 1.8;
    text-align: left;
  }

  .cont3__cta-wrap {
    margin-top: 32px;
    padding-bottom: 48px;
  }
}
