@charset "UTF-8";
/* CSS Document */

/* ========================================
   利用者の感想ページ
======================================== */

:root {
  --voice-text: #292929;
  --voice-green: #247150;
  --voice-light-green: #edf7f2;
  --voice-peach: #f6a185;
  --voice-light-peach: #fff3ee;
  --voice-white: #ffffff;
  --voice-line: #e5ded9;
}

.voice-container {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}


/* ========================================
   ページタイトル
======================================== */

.voice-hero {
  padding: 110px 24px 105px;
  text-align: center;
  background-color: #f9dce9;
}

.voice-hero__en {
  margin: 0 0 28px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.voice-hero__title {
  margin: 0;
  color: var(--voice-text);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.voice-hero__lead {
  margin: 32px 0 0;
  color: var(--voice-text);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.08em;
}


/* ========================================
   メインの体験談
======================================== */

.voice-main {
  padding: 110px 0 25px;
  background: var(--voice-light-peach);
}

.voice-main .voice-container {
  max-width: 860px;
}

.voice-main__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 55px;
}

.voice-main__image {
  flex: 0 0 130px;
}

.voice-main__image img {
  display: block;
  width: 100%;
  height: auto;
}

.voice-main__heading > div:last-child {
  text-align: left;
}

.voice-main__en {
  margin: 0 0 12px;
  color: var(--voice-peach);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.voice-main__heading h2 {
  margin: 0;
  color: var(--voice-text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.voice-main__text {
  padding: 60px 70px;
  border-radius: 22px;
  background: var(--voice-white);
  box-shadow: 0 10px 28px rgba(70, 45, 35, 0.08);
}

.voice-main__text p {
  margin: 0 0 30px;
  color: var(--voice-text);
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.voice-main__text p:last-child {
  margin-bottom: 0;
}


/* ========================================
   その他のお母さまの声
======================================== */

.voice-list {
  padding: 35px 0 120px;
    background: var(--voice-light-peach);
}

.voice-list .voice-container {
  max-width: 860px;
}

.section-heading {
  margin-bottom: 30px;
    text-align: center;
}

.section-heading__en {
  margin: 0 0 18px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
}

.section-heading h2 {
  margin: 0;
  color: var(--voice-text);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.08em;
}


/* ========================================
   感想のアコーディオン
======================================== */

.voice-card {
  margin-bottom: 24px;
  border-radius: 18px;
  background: var(--voice-white);
  box-shadow: 0 8px 24px rgba(44, 76, 62, 0.08);
  overflow: hidden;
}

.voice-card:last-child {
  margin-bottom: 0;
}

.voice-card summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 130px;
  padding: 22px 80px 22px 35px;
  color: var(--voice-green);
  cursor: pointer;
  list-style: none;
}

.voice-card summary::-webkit-details-marker {
  display: none;
}

.voice-card summary::before,
.voice-card summary::after {
  position: absolute;
  top: 50%;
  right: 34px;
  width: 20px;
  height: 2px;
  background: var(--voice-green);
  content: "";
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.voice-card summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.voice-card[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.voice-card__title {
  display: flex;
  align-items: center;
  gap: 28px;
}

.voice-card__title img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.voice-card__title span {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.voice-card__body {
  padding: 15px 70px 60px;
  border-top: 1px solid var(--voice-line);
}

.voice-card__body p {
  margin: 0 0 28px;
  color: var(--voice-text);
  font-size: 16px;
  line-height: 2.15;
  letter-spacing: 0.04em;
}

.voice-card__body p:first-child {
  margin-top: 35px;
}

.voice-card__body p:last-child {
  margin-bottom: 0;
}

/* ========================================
   タブレット・スマートフォン
======================================== */

@media (max-width: 800px) {

  .voice-container {
    width: min(100% - 36px, 680px);
  }

  .voice-hero {
    padding: 80px 20px 75px;
  }

  .voice-hero__title {
    font-size: 36px;
  }

  .voice-hero__lead {
    font-size: 15px;
  }

  .voice-hero__lead br {
    display: none;
  }

  .voice-main {
    padding: 110px 0 50px;
  background: var(--voice-light-peach);
  }

  .voice-main__heading {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    text-align: center;
  }

  .voice-main__heading > div:last-child {
    text-align: center;
  }

  .voice-main__image {
    flex-basis: auto;
    width: 105px;
  }

  .voice-main__heading h2 {
    font-size: 30px;
  }

  .voice-main__text {
    padding: 38px 28px;
    border-radius: 16px;
  }

  .voice-main__text p {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 2;
  }

  .voice-list{
   padding: 80px 0 120px;
    background: var(--voice-light-peach);
}

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .voice-card summary {
    min-height: 105px;
    padding: 18px 58px 18px 22px;
  }

  .voice-card summary::before,
  .voice-card summary::after {
    right: 22px;
  }

  .voice-card__title {
    gap: 18px;
  }

  .voice-card__title img {
    width: 72px;
    height: 72px;
  }

  .voice-card__title span {
    font-size: 18px;
  }

  .voice-card__body {
    padding: 5px 28px 38px;
  }

  .voice-card__body p {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 2;
  }

  .voice-card__body p:first-child {
    margin-top: 28px;
  }
}


@media (max-width: 520px) {

  .voice-hero__title {
    font-size: 32px;
  }

  .voice-main__heading h2,
  .section-heading h2 {
    font-size: 27px;
  }

  .voice-main__text {
    padding: 32px 22px;
  }

  .voice-card summary {
    min-height: 90px;
    padding: 15px 50px 15px 18px;
  }

  .voice-card summary::before,
  .voice-card summary::after {
    right: 18px;
    width: 16px;
  }

  .voice-card__title {
    gap: 14px;
  }

  .voice-card__title img {
    width: 60px;
    height: 60px;
  }

  .voice-card__title span {
    font-size: 16px;
  }

  .voice-card__body {
    padding: 5px 22px 32px;
  }
}