/* 下層ページ */
.subpage__hero {
  padding: 2.7em 0 2.5em;
  background: linear-gradient(138.44deg, #ffffff 0%, #d5e0e7 81.48%);
}
.subpage__hero-inner {
  width: calc(100% - 2 * var(--s-inner-padding));
  max-width: 900px;
  margin-inline: auto;
}
.subpage__title {
  color: #303030;
  font-size: 2.5em;
  font-weight: 500;
  line-height: 1.5;
}
.subpage__english {
  margin-top: 0.2em;
  margin-bottom: 0;
  padding-left: 0.1em;
  color: var(--color-footer);
  font-family: var(--font-en);
  font-size: 2em;
  font-weight: 300;
  line-height: 1.4;
}
.subpage__content {
  width: calc(100% - 2 * var(--s-inner-padding));
  max-width: 900px;
  margin-inline: auto;
  padding-block: 50px 120px;
}
.subpage__content h2 {
  margin-top: 2em;
  margin-bottom: 1em;
  padding: 0.3em 0.2em;
  border-top: 1px solid var(--color-footer);
  border-bottom: 1px solid var(--color-footer);
  color: var(--color-footer);
  font-size: 2em;
  font-weight: 500;
  line-height: 1.5;
}
/*.subpage__content h2 {
  margin-bottom: 60px;
  padding-right: 20px;
  color: var(--color-footer);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
}
.subpage__content h3 {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 25px;
  padding: 5px 30px 5px 15px;
  border-radius: 0 15px 15px 0;
  color: #fff;
  background: var(--color-footer);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
}
.subpage__content h4 {
  margin-bottom: 15px;
  padding: 15px 12px;
  border-block: 1px solid var(--color-footer);
  color: var(--color-footer);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}*/
.subpage__inner > p:first-child:has(> img) {
  margin-bottom: 2em;
}
.subpage__content a {
  text-decoration: underline;
}
.subpage__faq {
  margin-top: 72px;
  color: #000;
}
.subpage__faq dt,
.subpage__faq dd {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 400;
}
.subpage__faq dd {
  margin: 14px 0 0;
}
.subpage__faq dd + dt {
  margin-top: 32px;
}
.subpage__faq-icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  height: 24px;
  margin-top: 2px;
  border: 1px solid #7397a9;
  border-radius: 3px;
  background: #7397a9;
  color: #fff;
  font-family: var(--font-en);
  font-size: 20px;
  line-height: 1;
}
.subpage__faq dd .subpage__faq-icon {
  color: #7397a9;
  background: #fff;
}
@media (max-width: 991px) {
  .subpage {
    padding-top: 50px;
  }
}
@media (max-width: 767px) {
  .subpage__hero {
    padding: 2em 0 2em;
  }
  .subpage__title {
    font-size: 24px;
  }
  .subpage__english {
    font-size: 18px;
  }
  .subpage__content {
    padding-block: 56px 64px;
  }
  .subpage__content h2 {
    margin-top: 2em;
    margin-bottom: 1em;
    padding: 0.3em 0.2em;
    font-size: 1.6em;
  }
  /*.subpage__content h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  .subpage__content h3 {
    margin-bottom: 32px;
  }
  .subpage__content h4 {
    line-height: 1.5;
    margin-bottom: 40px;
  }*/
  .subpage__faq {
    margin-top: 48px;
  }
  .subpage__faq dt,
  .subpage__faq dd {
    gap: 12px;
  }
}

/* 画像を画面幅いっぱいにする */
.subpage__inner .wp-block-image.full-image {
  width: 100%;
}

.subpage__inner .wp-block-image.full-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* 太文字をメインカラーに */
.subpage__inner strong,
.subpage__inner b {
  color: #5b7685;
  font-weight: 700;
}
/* ========================================
   お客様の声 一覧
======================================== */

.voice-archive {
  display: grid;
  gap: 100px;
}

/* 左右レイアウト */
.voice-archive__item {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 50px;
}

/* 左側 */
.voice-archive__content {
  min-width: 0;
}

/* VOICE 01 */
.subpage__content .voice-archive__label {
  display: inline-block;
  margin: 0 0 25px;
  padding: 10px 20px;

  background: #dce7ed;
  color: #6b8999;

  font-family: var(--font-en, sans-serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 300;
  line-height: 1.3;
}

/* 年代・職業 */
.subpage__content .voice-archive__profile {
  margin: 0 0 10px;
  color: #303538;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.6;
}

/* 症状タグ */
.subpage__content .voice-archive__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.voice-archive__tags span {
  display: inline-block;
  padding: 3px 20px;

  background: #6b8994;
  color: #fff;
  border-radius: 8px;

  font-size: 15px;
  line-height: 1.4;
}

/* 右側の写真 */
.voice-archive__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;
}

.voice-archive__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.voice-archive__body {
  margin-top: 20px;
}
.voice-archive__image:hover img {
  transform: scale(1.03);
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {
  .voice-archive {
    gap: 65px;
  }

  .voice-archive__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .voice-archive__label {
    margin-bottom: 25px;
    padding: 6px 14px;
    font-size: 24px;
  }

  .voice-archive__profile {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .voice-archive__tags span {
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 5px;
  }

  .voice-archive__image {
    width: 100%;
  }
}

/* ========================================
   NEWS お知らせ一覧
======================================== */

.news-archive {
  width: 100%;
}

/* 1件分 */
.news-archive__item {
  border-bottom: 1px solid #b9c6cc;
}

/* リンク全体 */
.subpage__content .news-archive__link {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 30px;

  padding: 28px 0;
  color: #303538;
  text-decoration: none;

  transition: opacity 0.3s ease;
}

.news-archive__link:hover {
  opacity: 0.65;
}

/* 日付 */
.news-archive__date {
  font-size: 14px;
  color: #6b8694;
}

/* 記事タイトル */
.news-archive__title {
  min-width: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* 矢印 */
.news-archive__arrow {
  display: grid;
  place-items: center;

  width: 30px;
  height: 30px;

  border-radius: 50%;
  background: #6b8694;
  color: #fff;
  font-size: 18px;

  transition:
    background 0.3s,
    color 0.3s;
}

/* ホバー時 */
.news-archive__link:hover .news-archive__arrow {
  background: #fff;
  color: #6b8694;
  outline: 1px solid #6b8694;
}

/* ページネーション */
.news-archive__pagination {
  margin-top: 50px;
  text-align: center;
}

/* ========================================
   SP
======================================== */

@media (max-width: 767px) {
  .subpage__content .news-archive__link {
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 8px 12px;
    padding: 20px 0;
  }

  .news-archive__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }

  .news-archive__title {
    grid-column: 1;
    grid-row: 2;
    font-size: 14px;
  }

  .news-archive__arrow {
    grid-column: 2;
    grid-row: 2;
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}

/* 記事詳細：ページ見出しと記事タイトルを分離 */
.news-detail__title {
  margin-block: 16px 32px;
  color: var(--color-text);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}
.voice-archive__item--no-image {
  grid-template-columns: minmax(0, 1fr);
}

/* ========================================
   メニュー・料金ページ
======================================== */

.menu-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.menu-photos__item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .menu-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .menu-photos__item:last-child {
    display: none;
  }
}

/*お問い合わせページ*/
.subpage__content .reserve a {
  text-decoration: none;
}
.reserve{
  text-align: center;
}

.reserve_button{
text-align: center;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 7px 20px 7px 20px;
gap: 2px;

color:#fff;
font-size: clamp(24px, calc(21.89px + 0.563vw), 30px);

position: relative;
max-width:400px;
margin:40px auto 40px;

background: #CB9463;
border-radius: 5px;
}
