/* ==================================================
  【案件ごとの調整パネル（ここだけ触る）】
  - セクション間の余白は section個別の margin-top で調整しない
    → 調整するなら :root の --hp-gap-section を変更する
  - 背景セクションの厚み（上下padding）を変えるなら --hp-pad-bg を変更する
================================================== */

:root {
  --red: #b7282e;
  --pink: #DC7279;
  --pink-bg: #FDF7F3;
  --blue: #39adc9;
  --yellow: #ffd900;
  --yellow2: #F8FF40;
  --orange: #f68940;
  --orange2: #F86B4F;
  --black: #444444;
  --brown: #754c24;
  --gothic:
    "Helvetica Neue", "游ゴシック体", YuGothic, "メイリオ", Meiryo, sans-serif;
  --mincho:
    "游明朝体", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  --bg: #fefdf9;
  --bg2: #fdf7f2;
  --bg3: #fef5ec;
  --bg4: #fdf7f2;
  --white: #fff;
  --g-blue: #39adc9;
  --g-red: #f86b4f;
  --g-yellow: #f2d364;
  --g-green: #a3d051;

  /* 単位辞書 */
  --hp-space__05: 0.5rem;
  --hp-space__10: 1rem;
  --hp-space__15: 1.5rem;
  --hp-space__20: 2rem;
  --hp-space__30: 3rem;
  --hp-space__40: 4rem;
  --hp-space__50: 5rem;
  --hp-space__60: 6rem;

  /* 用途 */
  --hp-gap__section: var(--hp-space__30);
  --hp-gap__stack: var(--hp-space__20);
  --hp-pad__section: var(--hp-space__30);
}

/* 例）セクション間隔を詰める： 2.5rem / 広げる： 3.5rem など */
/* --hp-gap-section: 3rem; */

/* 例）背景セクションの上下padding */
/* --hp-pad-bg: 3rem; */

/* ◆◆◆ 枠外背景 ◆◆◆ */
@media (min-width: 769px) {
  .l-wrapper {
    overflow: hidden;
    background: var(--bg);
  }
}

/* ◆◆◆ /枠外背景 ◆◆◆ */

.mt3{
	margin-top:3rem;
}

/* ◆◆◆ メインタイトル ◆◆◆ */
.main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.25rem;
  /* 文字と装飾の間の余白（お好みで調整してください） */
  color: var(--brown);
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
}

/* 左右の装飾の共通設定 */
.main-title::before,
.main-title::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  /* 装飾の幅 */
  height: 4rem;
  /* 装飾の高さ */

  /* ボーダーのシマシマ模様をグラデーションで表現（オレンジと透明を交互に） */
  background: linear-gradient(to bottom,
      var(--orange) 0%, var(--orange) 50%,
      transparent 50%, transparent 100%);
  background-size: 100% 6px;
  /* シマシマの太さ（6px周期で繰り返す） */
}


/* 右側の装飾（逆Dの形：左側を丸める） */
.main-title::before {
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
}

/* 左側の装飾（Dの形：右側を丸める） */
.main-title::after {
  border-radius: 0 100% 100% 0 / 0 50% 50% 0;
}

/* ◆◆◆ /枠外背景 ◆◆◆ */

/* ◆◆◆ 全体フォント ◆◆◆ */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--blown);
}

/* ◆◆◆ /全体フォント ◆◆◆ */

/* ◆◆◆ フォントサイズ ◆◆◆ */
h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  min-height: 0;
  line-height: 1.2;
  padding: 0 0 1em;
  background: none;
  color: var(--black);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  min-height: 0;
  margin-top: 0;
  padding: 0;
  border: none;
}

p,
li,
a {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
}

p {
  /* margin-bottom: 2rem; */
}

/* ◆◆◆ /フォントサイズ ◆◆◆ */

/* ◆◆◆ 文字色 ◆◆◆ */
.text__red {
  color: var(--red);
  font-weight: 600;
}

.text__blue {
  color: var(--blue);
  font-weight: 600;
}

.text-orange {
  color: var(--orange2);
}

.text-yellow {
  color: var(--yellow);
}

.text-yellow2 {
  color: var(--yellow2);
}

/* ◆◆◆ /文字色 ◆◆◆ */

/* ◆◆◆ マーカー ◆◆◆ */
.marker__yellow {
  font-weight: bold;
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.marker__pink {
  font-weight: bold;
  background: linear-gradient(transparent 60%, var(--pink) 60%);
}

.marker__green {
  font-weight: bold;
  background: linear-gradient(transparent 60%, var(--g-green) 60%);
  text-shadow: 1px 3px 1px var(--white);
}

.marker__orange {
  font-weight: bold;
  background: linear-gradient(transparent 60%, var(--g-yellow) 60%);
}

/* ◆◆◆ /マーカー ◆◆◆ */

/* ◆◆◆ ヘッダー ◆◆◆ */
.header__right-box {
  padding-left: 0;
}

.header-right {
  display: flex;
  gap: 3.75rem;
}

.header__contact-item {
  width: 100%;
  max-width: 300px;
}

.header__h1-item {
  background-image: url(/wp-content/uploads/2026/05/h1-scaled.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--brown);
}

.header__contact {
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.header__info {
  position: relative;
}

.header__info p {
  /*診療時間など文字数に合わせて調整*/
  font-size: 1.125rem;
  text-align: left;
  color: var(--brown);
}

.l-header {
  background: var(--bg2);
}

.header__info-block {
  position: absolute;
  bottom: -0.4rem;
  right: 0;
  display: flex;
}

.header__info-block img {
  width: 2rem;
}

.header__info-block a:hover {
  opacity: 0.6;
  transition: 0.6s;
}

/* ◆◆◆ /ヘッダー ◆◆◆ */

/* ◆◆◆ グロナビ ◆◆◆ */
.l-headerUnder {
  background: var(--white);
  border-top: 1px solid var(--brown);
  border-bottom: 1px solid var(--brown);
}

.l-headerUnder {
  color: var(--brown);
}

.sub-menu .__mainText {
  color: var(--brown);
}

/* ◆◆◆ /グロナビ ◆◆◆ */

/* ◆◆◆ サイドバー ◆◆◆ */
.side__box-inner {
  color: var(--brown);
}

.side__box-link img {
  width: 100%;
  max-width: 14.8125rem;
}

.side__box h4 {
  color: var(--brown) !important;
}

.side__box,
.widget_nav_menu {
  border: none;
}

.c-widget .widget_nav_menu {}

.c-widget__title.-side,
.c-widget h3 {
  background-image: url(/wp-content/uploads/2026/05/sidebar-bg.webp) !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.25rem 1.25rem 0 0;
  color: var(--brown);
}

.widget_nav_menu .menu-item {
  border-bottom: 1px dashed var(--brown);
}

.side__box,
.widget_nav_menu {
  border-radius: 1.25rem 1.25rem 0 0;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
}

.c-widget .widget_nav_menu>ul.menu {
  padding: 1rem !important;
}

.widget_nav_menu li a {
  color: var(--brown);
  padding-left: 1rem;
}

.widget_nav_menu li:after {
  background: var(--brown);
}

h4.side__box-name {
  color: brown;
  font-size: 1.4rem;
  margin-block: 0.5em;
}

.side__box h4 {
  color: var(--black);
  font-size: 1.2rem;
  margin-bottom: 0.3em;
}

.side__box-address {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

.side__box-reserve {
  color: white;
  display: inline-block;
  background: orange;
  border-radius: 0.4rem;
  padding-inline: 1em;
  margin-block: 0.5em;
}

.side__box dt,
.side__box dd {
  font-size: 1.1rem;
}

.side__box dt {
  font-weight: 600;
  color: gray;
}

.side__contact-btn {
  margin-bottom: 0.8em;
  transition: 0.6s;
}

.side__contact-btn:last-of-type {
  margin-bottom: 0;
}

.side__contact-btn:hover {
  opacity: 0.6;
}

figure.sidebar-image {
  border-radius: 1.25rem;
}

ul.menu {
  padding: 1rem;
}

/* ◆◆◆ /サイドバー ◆◆◆ */

/* ◆◆◆ FV ◆◆◆ */
/* .fv figure {
  margin: 0;
} */

/* ◆◆◆ /FV ◆◆◆ */

/* ◆◆◆ オファー ◆◆◆ */
.offer {
  background: url(/wp-content/uploads/2026/05/offer-bg.webp) no-repeat center center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.offer__inner {
  margin-inline: auto;
}

figure.offer__img {
  width: 80%;
  margin-inline: auto;
}

@media (max-width: 768px) {
  figure.offer__img {
    width: 100%;
  }
}

/* ◆◆◆ /オファー ◆◆◆ */

/* ◆◆◆ 問合 ◆◆◆ */
.is-hp .c-postContent>.hp-contact {
  background: linear-gradient(to bottom, #f8f4e6, #f2f2c2);
  margin-top: 0;
}

.contact-block {
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.contact-btn {
  position: relative;
}

.contact-btn__item {
  width: 16.4375rem;
  max-width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.contact-btn__item.--line {
  bottom: 1.5rem;
}

.contact-btn__item.--tel1 {
  bottom: 5rem;
}

.contact-btn__item.--tel2 {
  bottom: 1.2rem;
}

.contact-btn__item a {
  display: block;
  transition:
    opacity 0.6s,
    transform 0.6s;
}

.contact-btn__item a:hover {
  opacity: 0.6;
  transform: scale(1.05);
}

.hp-contact__btn {
  transition-duration: 0.6s;
  margin-bottom: 1rem;
}

.hp-contact__btn-item {}

.is-hp .hp-contact {
  padding-block: var(--hp-contact-pad);
}

.is-hp .hp-contact.is-top-tight {
  padding-top: var(--hp-contact-tight);
}

.is-hp .hp-contact.is-bottom-tight {
  padding-bottom: var(--hp-contact-tight);
}

.hp-contact__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  transition-property: all;
  transition-duration: 0.6s;
}

/* ◆◆◆ /問合 ◆◆◆ */

/* ◆◆◆ お悩み ◆◆◆ */
/* カンプで使われている色の定義 */
:root {
  --bg-yellow: #f5e49e;
  /* タイトルの背景の薄い黄色 */
  --text-brown: #664d32;
  /* 全体のメイン文字（ブラウン） */
  --text-orange: #d16b4f;
  /* 「ぜひ一度〜」のオレンジ赤 */
  --accent-orange: #c86343;
  /* チェックマークなどのオレンジ */
}

/* セクション全体の背景（薄いグレーのグリッド方眼を再現） */
.problem {
  background-color: var(--white);
}

.problem__inner {
  margin: 0 auto;
  padding-inline: 2rem;
}

.problem__block {
  padding: var(--hp-space__40) 0;
}

.problem__block {
  background-image: url(/wp-content/uploads/2026/06/bg-nayami.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--hp-space__40) 0;
}

.problem__box {
  background-image: url(/wp-content/uploads/2026/06/masu-scaled.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--hp-space__40) 0;
}

figure.problem__block-img {
  width: 42.5rem;
  max-width: 100%;
  margin-inline: auto;
  margin-top: 2.21875rem;
}

.problem__block-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.problem__footer-text {
  margin-top: 3.55rem;
  text-align: center;
  position: relative;
}

.problem__footer-text p {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  color: var(--brown);
  text-shadow: 1px 3px 1px var(--white);
  font-weight: bold;
}

.problem__footer-text-action {

  position: relative;
  z-index: 5;
}

.problem__footer-text img {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 46rem;
  height: 33px;
  z-index: 1;
}

/* タイトル部分 */
.problem__title-wrap {
  position: relative;
  display: block;
  max-width: 680px;
  margin: 0 auto 40px;
}

/* タイトル右上の「グルグル」アイコン（擬似要素で簡易再現、または画像に差し替え） */
.problem__title-wrap::after {
  content: "";
  background: url(/wp-content/uploads/2026/05/guruguru.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 1.5rem;
  width: 3.625rem;
  height: 3.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem__title {
  background-color: var(--bg-yellow);
  color: var(--brown);
  font-size: 2.3rem;
  font-weight: bold;
  text-align: center;
  padding: 15px 20px;
  border-radius: 10px;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 1px var(--white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 0;
}

/* お悩みリストエリア */
.problem__items {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--brown);
  /* 左揃えにしつつ中央に寄せる */
}

.problem__items li {
  position: relative;
  font-size: 1.4375rem;
  line-height: 1.6;
  font-weight: 600;
  padding-left: 3.375rem;
  /* チェックボックスの分、左をあける */
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.problem__items li::before {
  content: "";
  background: url(/wp-content/uploads/2026/06/check.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 4px;
  width: 1.75rem;
  height: 1.75rem;
  box-sizing: border-box;
}


/* 強調文字・マーカーの装飾 */
.text__important {
  color: var(--accent-orange);
  font-weight: bold;
}

/* 下部案内エリア（フレックスボックスでレイアウト） */
.problem__footer {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  color: var(--brown);
}

.problem__footer-lead {
  font-size: 2.125rem;
  font-weight: bold;
  margin-bottom: 0;
}

.problem__footer-action {
  font-size: clamp(1.85rem, 2.4vw, 2.125rem);
  font-weight: bold;
  color: var(--orange2);
  margin: 0;
}

.problem__footer-img {
  margin: 0;
  width: 370px;
  transform: translateY(2.5rem);
}

.problem__footer-img img {
  width: 100%;
  height: auto;
}

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 560px) {
  .problem__title {
    font-size: 1.4rem;
  }

  .problem__title-wrap {
    width: 90%;
    margin-inline: auto;
  }

  .problem__items li {
    font-size: 1rem;
  }

  .problem__footer {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .problem__footer-lead {
    font-size: 1.1rem;
  }

  .problem__footer-action {
    font-size: 1.4rem;
  }
}

/* ◆◆◆ /お悩み ◆◆◆ */

/* ◆◆◆ 喜びの声 ◆◆◆ */
.voice {
  background: var(--bg2);
  padding-top: var(--hp-space__40) !important;
}

.voice__inner {}

h2.voice__title {
  text-align: center;
}

ul.voice__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice__item {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 42px 34px 34px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  counter-increment: voice;
  /* li ごとに +1 */
}

.voice__item+.voice__item {
  margin-top: 28px;
  /* 2件目以降の上余白 */
}

/* Voice01 バッジ（::before で自動生成＆自動連番） */
.voice__item::before {
  content: "Voice" counter(voice, decimal-leading-zero);
  /* Voice01, 02… */
  position: absolute;
  top: 25px;
  left: 35px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 58px;
  background: rgba(242, 211, 100, 0.19);
  color: #e8773c;
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  border-radius: 52% 48% 56% 44% / 50% 56% 44% 50%;
  transform: rotate(-30deg);
}

/* 写真 ＋ 吹き出し の横並び */
.voice__item-head {
  display: flex;
  align-items: center;
  position: relative;
}

/* ▼ 写真をブロブ形に切り抜く ▼ */
.voice__item-img {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 15.4375rem;
}

.voice__item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 縦横比を保ったまま枠いっぱいに */
  object-position: center top;
  /* 顔の位置を上寄せで調整 */
  display: block;
}

/* オレンジの吹き出し */
.voice__item-balloon {
  flex: 1;
  margin-left: -70px;
  padding: 22px 1.25rem 0.9375rem 6.25rem;
  /* 左は写真と重なるぶん広めに */
  background: var(--orange);
  border-radius: 18px;
  color: #fff;
}

.voice__item-title {
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.6;
}

.voice__item-meta {
  margin: 10px 0 0;
  text-align: right;
  font-size: 1.125rem;
  font-weight: 500;
}

/* 本文 */
.voice__item-text {
  margin: 24px 0 0;
  color: var(--brown);
  font-size: 1.125rem;
  line-height: 2;
  text-align: justify;
}

/* スマホ：縦並びに */
@media (max-width: 520px) {
  .voice__item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .voice__item-img {
    margin: 0 auto;
  }

  .voice__item-balloon {
    margin: -24px 0 0;
    padding: 2rem;
    width: 100%;
  }

  .voice__item-text {
    font-size: 1.1rem;
  }
}

/* ◆◆◆ /喜びの声 ◆◆◆ */
.google-review__title {
  position: relative;
}

.google-review__title h2 {
  color: var(--brown);
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  text-align: center;
  letter-spacing: 0.15em;
  padding: 0;
  position: relative;
  z-index: 5;
}

.google-review__title img {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36.4375rem;
  height: 25px;
  z-index: 1;
}

.google-review__title-sub {
  font-size: 0.7em;
}

.google-review__block {
  margin-top: 6.5rem;
}

.g-blue {
  color: var(--g-blue);
}

.g-red {
  color: var(--g-red);
}

.g-yellow {
  color: var(--g-yellow);
}

.g-green {
  color: var(--g-green);
}

/* ◆◆◆ treat ◆◆◆ */
.treatment__img {
  border-radius: 12px;
  box-shadow: 10px 10px 0px var(--g-yellow);
}

.treatment__title {
  text-align: center;
  text-shadow: 1px 3px 1px var(--white);
}

.treatment__title {
  margin-top: 3.125rem;
  position: relative;
  z-index: 2;
}

.treatment__title h2 {
  font-size: 2.5rem;
  color: var(--brown);
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.treatment__title img {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 33px;
  z-index: 1;
}

.treatment__text {
  margin-top: 2.8125rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--brown);
}

.treatment__text p {
  line-height: calc(38/18);
  font-size: clamp(1rem, 1.6vw, 1.125rem);

}

.treatment__block {
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.treatment__block-img.--orange {
  border-radius: 12px;
  box-shadow: 10px 10px 0px var(--orange);
}

.treatment__block-img.--green {
  border-radius: 12px;
  box-shadow: 10px 10px 0px var(--g-green);
}

.treatment__block-img.--pink {
  border-radius: 12px;
  box-shadow: 10px 10px 0px var(--pink);
}



/* ◆◆◆ BA ◆◆◆ */
.ba {
  background: linear-gradient(to bottom, #f8f4e6, #f2f2c2);
}

.ba__inner {}

h2.ba__title {
  text-align: center;
}

ul.ba__items {
  list-style: none;
  counter-reset: ba;
  padding: 0;
  margin: 0;
}

.ba__item:before {
  content: "CASE " counter(ba, decimal-leading-zero);
  counter-increment: ba;
  color: #89c3eb;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

li.ba__item {
  background: white;
  padding: 1.5em 1.5em 0.1em;
  margin-bottom: 2em;
}

.ba__item-imgs {
  display: flex;
  justify-content: space-between;
}

figure.ba__item-img {
  width: 49%;
  margin: 0;
}

h3.ba__item-title {
  text-align: center;
  margin: 0.3em 1em 0.2em;
}

p.ba__item-meta {
  color: gray;
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  margin-bottom: 0.5em;
}

p.ba__item-text {
  text-align: justify;
  margin-bottom: 2em;
}

/* ◆◆◆ /BA ◆◆◆ */

/* ◆◆◆ 理由 ◆◆◆ */
.reason {
  background: url(/wp-content/uploads/2026/06/masu-scaled.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reason__inner {}

h2.reason__title {
  text-align: center;
  background: url(/wp-content/uploads/2026/06/reason-title.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 1rem 3.5rem;
  text-shadow: 1px 3px 1px var(--white);
  color: var(--brown);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

h2.reason__title span {
  font-size: 1.2em;
}

ul.reason__items {
  counter-reset: reason;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: clamp(2rem, 3.2vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

/* 全体のベース背景（方眼紙風のグリッド背景） */
.reason__item {
  list-style: none;
  background-size: 20px 20px;
  /* グリッドの細かさ */
}

/* ==========================================
   タイトル部分
========================================== */
.reason__item-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* Reason 01 の丸いアイコン */
.reason__number {
  width: 6.625rem;
}

/* タイトルの文字 */
.reason__title-text {
  font-size: clamp(1.2rem, 1.6vw, 1.5625rem);
  color: var(--brown);
  line-height: 1.5;
  font-weight: bold;
}

.reason__title-text span {
  font-size: 1.4em;
  display: block;
}

/* ==========================================
   画像レイアウト部分（Flexboxで横並び）
========================================== */
.reason__item-img {
  margin: 0 auto;
  width: 90%;
}

.image-flex {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.image-flex img {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
	border-radius:1rem;
}

.image-grid {
  display: flex;
  gap: 15px;
  /* 画像と画像の間のすき間 */
  align-items: stretch;
}

/* すべての画像共通の角丸・フィット設定 */
.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 領域に綺麗に収める */
  border-radius: 12px;
  /* 画像の角丸 */
  display: block;
}

/* 各画像ブロックの幅の比率調整 */
.img-main {
  flex: 2;
  /* 左のメイン画像を太めに */
}

.img-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* 縦に並ぶ画像同士のすき間 */
}

.img-right {
  flex: 1;
}

.reason__item-text {
  background-color: #FEFDF4;
  /* 薄いベージュの背景 */
  padding: 2.5rem 3.125rem;
  border-radius: 0.625rem;
  font-size: 1.125rem;
  color: var(--brown);
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
  margin-top: 2.375rem;
}

.reason-footer {
  width: 100%;
  margin-top: 2.34375rem;
}

@media (max-width: 768px) {
  .h2.reason__title {
    font-size: 1.5rem;
  }

  .reason__item-title {
    flex-direction: column;
  }

  .reason__item-img {
    width: 100%;
  }

  .image-flex {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .image-flex img {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
  }

  .reason__number {
    width: 4.5rem;
    flex-shrink: 0;
  }

  .reason__item-text {
    padding: 1.8rem;
  }
}

/* ◆◆◆ /理由 ◆◆◆ */

/* ◆◆◆ 流れ-01 文章あり縦並び ◆◆◆ */
.flow--01 {
  padding-block: 6.25rem;
  background: url(/wp-content/uploads/2026/06/masu.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================
   全体レイアウト（方眼紙背景・リスト調整）
========================================== */
.flow__list {
  list-style: none;
  padding: 40px;
  margin: 0;
  background-color: #ffffff;
  /* 前回のグリッド背景を継承 */
  background-image:
    linear-gradient(#f0f4f8 1px, transparent 1px),
    linear-gradient(90deg, #f0f4f8 1px, transparent 1px);
  background-size: 20px 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;

  display: flex;
  flex-direction: column;
  gap: 50px;
  /* ステップ同士の縦の隙間 */
}

/* ==========================================
   各ステップの横並び設定
========================================== */
.flow__item {
  display: flex;
  align-items: center;
  gap: 1.875rem;
  position: relative;
  overflow: visible;
}

/* ステップ間の「下矢印（▼）」を自動で描画（最後のアイテム以外） */
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -40px;
  /* 矢印の位置調整 */
  left: 50%;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #e9c46a;
  /* 矢印の黄色 */
}

/* ==========================================
   左側：画像ブロック
========================================== */

.flow__item-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* ピンクのタイトルリボン（詳細は下部の潜り込み指定を参照） */
.flow__item-title {
  background-color: var(--pink);
  color: #ffffff;
  margin: 0 0 1.25rem;
  padding: 0.625rem 1.25rem;
  font-size: 1.125rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  line-height: 1;
}


/* 説明文章 */
.flow__item-text {
  margin: 0;
  font-size: 16px;
  color: #6a4d32;
  /* 濃いブラウンの文字色 */
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.flow--01 h2.flow__title {
  text-align: center;
}

.flow--01 .flow__inner {}

.flow--01 ul.flow__items {
  counter-reset: flow;
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow--01 li.flow__item {
  padding: 2em 2em 0.5em;
  margin-bottom: 2em;
}

.flow--01 li.flow__item:last-of-type {
  margin-bottom: 0;
}

.flow--01 li.flow__item:after {
  content: "";
  display: block;
  clear: both;
}

.flow--01 li.flow__item h3.flow__item-title {
  margin-top: 0;
}

/* 1. 画像ブロックを最前面に */
.flow__item-img {
  margin: 0;
  width: 19.375rem;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.flow__item-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  object-fit: cover;
}

/* 2. テキストブロックは画像より背面 */
.flow__item-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* 3. タイトルリボン：画像の下に潜り込ませつつ左右に少し伸ばす */
.flow__item-title {
  --flow-img-w: 19.375rem;
  --flow-gap: 1.875rem;
  --flow-title-overhang: 1.75rem;
  background-color: var(--pink);
  color: #ffffff;
  margin: 0 0 1.25rem;
  margin-left: calc(-1 * (var(--flow-img-w) + var(--flow-gap) + var(--flow-title-overhang)));
  padding: 0.625rem 1.25rem 0.625rem calc(var(--flow-img-w) + var(--flow-gap) + var(--flow-title-overhang) + 1.25rem);
  font-size: 1.125rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 1.25rem;
  width: calc(100% + var(--flow-img-w) + var(--flow-gap) + (var(--flow-title-overhang) * 2));
  max-width: calc(100% + var(--flow-img-w) + var(--flow-gap) + (var(--flow-title-overhang) * 2));
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* ◆◆◆ /流れ-01 文章あり縦並び ◆◆◆ */

/* ◆◆◆ 流れ-02 アイコン横並び ◆◆◆ */
.flow--02 {
  background: linear-gradient(to bottom, #f8f4e6, #f2f2c2);
}

.flow--02 h2.flow__title {
  text-align: center;
}

.flow--02 .flow__inner {}

.flow--02 ul.flow__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  counter-reset: flow;
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow--02 li.flow__item {
  width: 33.3%;
  padding-inline: 1%;
  margin-bottom: 2.6em;
}

.flow--02 li.flow__item h3.flow__item-title {
  position: relative;
  font-size: clamp(0.8rem, 1.5vw, 1.2rem);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.flow--02 li.flow__item h3.flow__item-title:before {
  position: absolute;
  content: counter(flow, decimal-leading-zero);
  counter-increment: flow;
  color: #89c3eb;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  top: -1.3em;
  left: 50%;
  transform: translateX(-50%);
}

.flow--02 li.flow__item .flow__item-img {
  width: 100%;
  margin: 0;
}

/* ◆◆◆ /流れ-02 アイコン横並び ◆◆◆ */

/* ◆◆◆ アクセス ◆◆◆ */
.access {
  background: var(--bg3);
}

.access__card {
  position: relative;
  background: var(--white);
  border-radius: 0.875rem;
  padding: 3.8125rem;
}

.access__card::before {
  content: "";
  position: absolute;
  inset: 0.875rem;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--yellow) 0.46875rem, transparent 0.469rem),
    radial-gradient(circle, var(--yellow) 0.46875rem, transparent 0.469rem),
    radial-gradient(circle, var(--yellow) 0.46875rem, transparent 0.469rem),
    radial-gradient(circle, var(--yellow) 0.46875rem, transparent 0.469rem);
  background-size: 0.9375rem 0.9375rem;
  background-position: left top, right top, left bottom, right bottom;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0.0625rem 0 rgba(0, 0, 0, 0.16));
}

.access__logo {
  text-align: center;
  margin-inline: auto;
}

.access__logo img {
  margin-inline: auto;
  width: min(100%, 20rem);
  height: auto;
}

.access__list {
  margin-top: 2.1875rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--hp-space__15);
  row-gap: var(--hp-space__15);
  align-items: start;
}

.access__label {
  display: inline-block;
  min-width: 6.5rem;
  padding: 0.35em 0.75em;
  border-radius: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.access__value {
  margin: 0;
  color: var(--brown);
  font-size: 1.25rem;
  line-height: 1.7;
}

.access__value-line {
  margin: 0;
}

.access__note {
  margin: 0.5em 0 0;
  font-size: 12px;
}

figure.access__photo {
  margin-top: 2.1875rem;
  text-align: center;
}

.access__photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.page-id-124 h2.access__title {
  display: none !important;
}

.access__map {
  margin-top: 2.1875rem;
}

/* ◆◆◆ /アクセス ◆◆◆ */

/* ◆◆◆ フッターボタン ◆◆◆ */
.footer-btn__contact {
  position: fixed;
  bottom: 0.5em;
  right: 1em;
  width: 400px;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.footer-btn__contact-item {
  transition: 0.6s;
  margin-bottom: 1.6em;
}

.footer-btn__contact-item:last-child {
  margin-bottom: 0;
}

.footer-btn__contact-item:hover {
  transform: scale(1.05, 1.05);
}

/* ◆◆◆ /フッターボタン ◆◆◆ */

/* ◆◆◆ フッター ◆◆◆ */
.bo-footer {
  background: url(/wp-content/uploads/2026/05/footer-bg-scaled.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bo-footer__title h2 {
  color: var(--orange);
}

.bo-footer__list {
  row-gap: 1.5625rem;
}

.bo-footer__list li {
  padding-left: 1em;
  position: relative;
}

.bo-footer__list li:before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brown);
}

.bo-footer__list li a {
  color: var(--brown);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.l-footer__foot {
  background-image: url(/wp-content/uploads/2026/05/h1-scaled.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0.5rem 0;
}

p.c-copyright {
  color: var(--brown);
  margin-bottom: 0;
}

.bo-footer__taps {
  flex-direction: column;
  gap: 1rem;
}

.bo-footer__tap {
  width: 100%;
}

.bo-footer__info-block {
  margin-top: 1.4375rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.bo-footer__info-block img {
  width: 3.1875rem;
}

.bo-footer__info-block a:hover {
  opacity: 0.6;
  transition: 0.6s;
}

/* ◆◆◆ /フッター ◆◆◆ */

/* ◆◆◆ 下層ページ ◆◆◆ */
body.page:not(.home) .l-content__body {
  margin-top: 3em;
}

.p-archive__title p.c-pageTitle__main,
p.page-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 600;
  padding: 0 !important;
  border-bottom: solid 3px var(--orange);
  color: var(--brown);
}

p.page-title {
  margin-inline: 5%;
}

.p-archive__title p.c-pageTitle__main:first-letter,
p.page-title:first-letter {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--orange);
}

/* ◆◆◆ /下層ページ ◆◆◆ */

/* ◆◆◆ 対応症状リスト ◆◆◆ */
.hp-section.shojo {
  background: var(--pink-bg);
  padding: 60px 0 70px;
  /* 画像の左右にある細いティール色の縦ライン */
  border-left: 3px solid var(--teal);
  border-right: 3px solid var(--teal);
}

.shojo .inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* ============================================
   整体メニュー詳細（症状解説・shojo）
   ============================================ */
.shojo-section {
  --shojo-green: #3aa79f;
  /* 緑系の強調 */
  --shojo-pink: #e8806b;
  /* ピンク系の強調・見出し */
  --shojo-txt: #5a4a3a;
  /* 本文の文字色 */
}

.shojo__title {
  background: var(--orange);
  padding: 1.625rem;
  border-radius: 0.95rem;
  text-align: center;
  margin-inline: auto;
  width: 100%;
  margin-top: 2rem;
}

.shojo__title-text {
  color: var(--white);
  text-shadow: 1px 3px 0px #C37000;
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  padding-bottom: 0;
}

/* --------------------------------------------
     整体メニューとは？ イントロ
     -------------------------------------------- */
.shojo__intro {
  margin-top: 2.75rem;
  background: var(--white);
}

.shojo__steps {
  --shojo-step-col: 13.5625rem;
  --shojo-step-plus-col: 2rem;
  display: grid;
  grid-template-columns:
    var(--shojo-step-col) var(--shojo-step-plus-col) var(--shojo-step-col) var(--shojo-step-plus-col) var(--shojo-step-col);
  grid-template-rows: auto auto auto;
  column-gap: 0;
  row-gap: 0;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shojo__step {
  display: contents;
}

.shojo__step:nth-child(1) .shojo__step-img {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.shojo__step:nth-child(1) .shojo__step-label {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

.shojo__step:nth-child(1) .shojo__step-note {
  grid-column: 1;
  grid-row: 3;
}

.shojo__step-plus:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.shojo__step:nth-child(3) .shojo__step-img {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.shojo__step:nth-child(3) .shojo__step-label {
  grid-column: 3;
  grid-row: 2;
  justify-self: center;
}

.shojo__step:nth-child(3) .shojo__step-note {
  grid-column: 3;
  grid-row: 3;
}

.shojo__step-plus:nth-child(4) {
  grid-column: 4;
  grid-row: 2;
  align-self: center;
}

.shojo__step:nth-child(5) .shojo__step-img {
  grid-column: 5;
  grid-row: 1;
  justify-self: center;
}

.shojo__step:nth-child(5) .shojo__step-label {
  grid-column: 5;
  grid-row: 2;
  justify-self: center;
}

.shojo__step:nth-child(5) .shojo__step-note {
  grid-column: 5;
  grid-row: 3;
}

.shojo__step-plus {
  padding: 0;
  color: var(--brown);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin: -20px auto 0;
}

.shojo__step-img {
  width: 13.375rem;
  height: 13.375rem;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
}

.shojo__step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shojo__step-label {
  width: var(--shojo-step-col, 13.5625rem);
  max-width: 100%;
  display: inline-block;
  margin: -20px auto 0;
  padding: 0.35em 1.125em;
  border-radius: 999rem;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
}

.shojo__step-label--green {
  background: var(--g-green);
}

.shojo__step-label--orange {
  background: var(--orange);
}

.shojo__step-label--pink {
  background: var(--pink);
}

.shojo__step-note {
  width: var(--shojo-step-col, 13.5625rem);
  max-width: 100%;
  margin: 0.625rem auto 0;
  min-height: 2.4em;
  color: var(--brown);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  font-size: 1rem;
}

.shojo__intro-arrow {
  width: 4.5rem;
  height: 1.75rem;
  margin: 1.5rem auto 2rem;
  background: linear-gradient(to bottom, rgb(248 107 79 / 0) 0%, var(--orange2) 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.shojo__message-lead {
  margin: 0;
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  color: var(--brown);
  background-color: #FEFDF4;
  padding: 1.5rem clamp(1rem, 2vw, 2rem);
  border-radius: 0.95rem;
}

.shojo__message-lead-accent {
  display: block;
  margin-top: 0.25em;
  color: var(--orange2);
  font-size: clamp(1.375rem, 2.8vw, 2rem);
}

.shojo__message-body {
  margin-top: 1.875rem;
}

.shojo__message-body p {
  margin: 0 0 1.5rem;
  color: var(--brown);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

.shojo__message-body p:last-child {
  margin-bottom: 0;
}

hr.shojo__intro-divider {
  margin-top: 2.5rem;
  border: 0;
  border-top: 0.0625rem dashed var(--brown);
}

.shojo__box {
  margin-top: 2.75rem;
}

/* --------------------------------------------
     施術方法（syojyo-contents）
     -------------------------------------------- */
.syojyo-contents__inner {
  max-width: 56.25rem;
  margin-inline: auto;
}

.syojyo-contents__blocks {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}

.syojyo-contents__block {
  text-align: center;
}

.syojyo-contents__img {
  margin: 0 0 1.5rem;
}

.syojyo-contents__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.625rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.syojyo-contents__heading {
  margin: 0 0 1rem;
  color: var(--orange2);
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.syojyo-contents__tagline {
  margin: 0 0 1.5rem;
  padding: 0.75rem 1rem;
  background: #fefdf4;
  border-radius: 0.5rem;
  color: var(--brown);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.syojyo-contents__text {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.9rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

.syojyo-contents__text+.syojyo-contents__text {
  margin-top: 1.25rem;
}

.syojyo-contents__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.syojyo-contents__details.--mt {
  margin-top: 1rem;
}

.syojyo-contents__detail-title {
  margin: 0 0 0.5rem;
  padding-left: 0.875rem;
  border-left: 0.25rem solid var(--brown);
  color: var(--brown);
  font-size: clamp(1.2rem, 1.8vw, 1.3rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.syojyo-contents__detail-text {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.9rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

/* 強調テキスト共通 */
.shojo__hl {
  font-weight: bold;
}

.shojo__hl--green {
  color: var(--shojo-green);
}

.shojo__hl--pink {
  color: var(--shojo-pink);
}

/* --------------------------------------------
     症状ブロック（画像＋文章）
     -------------------------------------------- */
.shojo__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.875rem;
  /* 画像と文章の間 30px */
}

/* 画像を右に置くパターン（猫背矯正） */
.shojo__item--reverse {
  margin-top: 1.75rem;
  flex-direction: row-reverse;
}

.shojo__item-img {
  margin: 0;
  width: 17.875rem;
  /* 画像幅 250px・固定 */
  flex-shrink: 0;
  /* 文章量で縮ませない */
}

.shojo__item-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.shojo__item-body {
  flex: 1;
}

.shojo__item-title {
  margin: 0 0 0.75rem;
  color: var(--orange2);
  font-size: 1.375rem;
  /* 22px */
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: clamp(1.1rem, 2.4vw, 1.5625rem);
}

.shojo__item-text {
  margin: 0;
  color: var(--brown);
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.04em;
  font-size: clamp(0.9rem, 1.6vw, 1.125rem);
}

/* --------------------------------------------
     強調ボックス（callout）共通
     -------------------------------------------- */
.shojo__callout {
  position: relative;
  border-radius: 1.25rem;
  /* 角丸 20px */
  padding: 1.75rem 2rem;
  background-color: #FEFDF4;
  margin-bottom: 1.2rem;

}

.shojo__callout-text {
  margin: 0;
  color: var(--shojo-txt);
  font-size: clamp(0.9rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ピンクボックス（院長写真つき） */
.shojo__callout--pink {
  margin-top: 2rem;
  padding-right: 9rem;
  /* 写真スペースを確保 */
}

.shojo__callout--blue {
  margin-top: 2.3125rem;
}

.shojo__avatar {
  position: absolute;
  right: -1rem;
  bottom: 0;
  /* 下端を箱に合わせ、上にハミ出させる */
  width: 15.375rem;
  /* 120px */
  margin: 0;
}

.shojo__avatar img {
  width: 100%;
  height: auto;
  display: block;
}


.shojo__callout-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.4vw, 1.375rem);
  /* 20px */
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--orange2);
}

/* ============================================
     レスポンシブ（48rem＝768px以下）
     ============================================ */
@media (max-width: 48rem) {

  /* 画像は上・文章は下の縦積みに */
  .shojo__item,
  .shojo__item--reverse {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .shojo__item-img {
    width: 100%;
    max-width: 15.625rem;
  }

  .shojo__item-title {
    text-align: center;
  }

  /* ピンクボックス：右の写真ぶんの余白を解除し、写真は小さく */
  .shojo__callout--pink {
    padding: 1.5rem 1.25rem;
    padding-bottom: 5rem;
    /* 写真と文章が重ならないよう下に余白 */
  }

  .shojo__avatar {
    width: 10rem;
  }

  .shojo__callout--blue {
    padding: 1.5rem 1.25rem;
  }

  .shojo__steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .shojo__step {
    display: block;
    width: 100%;
    max-width: 13.5625rem;
    text-align: center;
  }

  .shojo__step-plus {
    line-height: 0.8;
  }

  .syojyo-contents__blocks {
    margin-top: 2rem;
    gap: 2.5rem;
  }

  .syojyo-contents__text,
  .syojyo-contents__detail-text {
    text-align: left;
  }
}

/* ----- リボン見出し ----------------------------------------- */
.shojo__ribbon-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.shojo__ribbon {
  display: inline-block;
  background: url(/wp-content/uploads/2026/06/ribbon.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  font-size: clamp(1.3rem, 3.6vw, 2rem);
  font-weight: 700;
  letter-spacing: .12em;
  padding: 0.5rem 6.5rem 2rem;
}

@media (max-width: 767px) {
  .shojo__ribbon {
    padding: 0.5rem 1rem 2rem;
  }
}

/* ----- リード文 --------------------------------------------- */
.shojo__lead {
  text-align: center;
  color: var(--brown);
  font-size: clamp(1.35rem, 3.8vw, 2.1rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 40px;
}

.shojo__lead .accent {
  color: var(--pink);
}

/* ===========================================================
   カード一覧（grid）
   =========================================================== */
.menu__list{
	display: grid;
  grid-template-columns:repeat(3,1fr);
  list-style: none;
  gap: 1.5em;
  width: 100%;
  padding: 0 0 3em 0;
  margin: 0;
}
ul.menu__list li a{
	color: var(--brown);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  text-decoration: none;
  border-radius: 0.5rem;
  background-image: url(/wp-content/uploads/2026/05/sidebar-bg.webp) !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  padding: 0.6em;
  transition: 0.6s;
	text-align:center;
}

.p-archive__title.c-pageTitle{
	font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 600;
  padding: 0 !important;
  border-bottom: solid 3px var(--orange);
  color: var(--brown);
}
.p-archive__title.c-pageTitle:first-letter {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--orange);
}
.l-main__body.p-entry{
	color:var(--brown);
}


.shojo__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.shojo__card {
  margin: 0;
}

.shojo__card a {
  display: block;
  background: var(--card-bg);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(124, 106, 94, .10);
  transition: transform .25s ease, box-shadow .25s ease;
  border: solid 2px var(--white);
}

.shojo__card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(124, 106, 94, .18);
}

/* 写真 */
.shojo__img {
  aspect-ratio: 3 / 2;
  background: #e9ddd6;
  /* 画像未読込時のプレースホルダ色 */
  overflow: hidden;
}

.shojo__img img {
  width: 100%;
  height: 100%;
	aspect-ratio:230/127;
  object-fit: cover;
  display: block;
}

/* ラベル行（症状名＋矢印） */
.shojo__label {
  display: block;
  width: 100%;
  background: var(--white);
  padding: 0.8125rem;
  color: var(--brown);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  position: relative;
}

.shojo__arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 1.4375rem;
  height: 1.4375rem;
}


@media (max-width: 900px) {
  .menu__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .shojo__list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hp-section.shojo {
    padding: 44px 0 50px;
  }
}

.merit-section {
  padding-block: 4rem;
  padding-top: 5rem;
  background-image: url(/wp-content/uploads/2026/06/masu-green-scaled.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.merit__title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: -7.2rem;
  margin-bottom: 3rem;
}

.merit__title-text {
  display: inline-block;
  margin: 0;
  background-color: var(--brown);
  color: #fff;
  padding: 0.75rem 2.5rem;
  font-size: clamp(2rem, 2.4vw, 2.5rem);
  font-weight: bold;
  letter-spacing: 0.12em;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, .15);
}

/* --------------------------------------------
     カードのリスト
     -------------------------------------------- */
.merit__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* 各カード：縦積み（ヘッダー → 画像＋本文の行） */
.merit__item {
  position: relative;
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem 2.1rem 2.3rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .06);
  text-align: justify;
}

.merit__item::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 0.0625rem solid var(--g-green);
  border-radius: 0.625rem;
  pointer-events: none;
}

/* ラベル：中央・オレンジ（flex外） */
.merit__item-label {
  margin: 0 0 0.25rem;
  text-align: center;
  color: var(--orange2);
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.merit__item-head {
  text-align: center;
}

/* 見出し：中央・オレンジ（flex外） */
.merit__item-title {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--brown);
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: bold;
  letter-spacing: 0.06em;
  line-height: 1.5;
  background: #FEFDF4;
  display: inline-block;
  margin: 0 auto;
  padding: 0.6875rem;
}

/* 画像＋本文だけを横並びにする行 */
.merit__item-row {
  margin-top: 2.125rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
}

/* 画像を右に置くパターン（merit2）：行だけ反転 */
.merit__item--reverse .merit__item-row {
  flex-direction: row-reverse;
}

/* 画像：幅固定で文章量に影響されない */
.merit__item-img {
  margin: 0;
  flex: 0 0 13.75rem;
  width: 13.75rem;
  min-width: 13.75rem;
  max-width: 13.75rem;
}

.merit__item-img img {
  width: 13.75rem;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.merit__item-body {
  flex: 1 1 0;
  min-width: 0;
}

/* 本文：茶色 */
.merit__item-text {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.9rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ============================================
     レスポンシブ（48rem＝768px以下）
     ============================================ */
@media (max-width: 48rem) {

  .merit-section {
    padding-block: 2.5rem;
    padding-top: 3.5rem;
  }

  .merit__title {
    margin-top: -1.5rem;
  }

  .merit__title-text {
    padding: 0.625rem 1.5rem;
    font-size: 1.125rem;
  }

  .merit__items {
    gap: 1.75rem;
  }

  .merit__item {
    padding: 1.5rem 2rem;
  }

  .merit__item-title {
    font-size: 1.125rem;
  }

  /* 画像を上・文章を下の縦積みに（左右交互も解除） */
  .merit__item-row,
  .merit__item--reverse .merit__item-row {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .merit__item-img {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    max-width: 13.75rem;
  }

  .merit__item-img img {
    width: 100%;
  }

  .merit__item-body {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }
}

/* ◆◆◆ 執筆者情報 ◆◆◆ */
.writer {
  margin-top: 3rem;
  background-color: ivory;
  border: 1px solid var(--brown);
}

.contact__form-item {
  margin-bottom: 2em;
}

.contact__label-required,
.contact__label-any {
  font-size: 75%;
  color: white;
  padding: 3px 6px 2px;
  border-radius: 1rem;
  margin-right: 0.5em;
}

.contact__label-required {
  background: brown;
}

.contact__label-any {
  background: gray;
}

.contact__consent {
  margin: 3em 0;
}

.contact__consent ul {
  line-height: 1.6;
}

.contact__consent ul li {
  font-size: clamp(0.7rem, 1.2vw, 1rem);
}

.contact__consent p {
  font-size: 94%;
}

.contact__personal-info {
  margin: 0;
  padding: 1em;
  border: solid 2px #e9e9e9;
  border-radius: 0.5rem;
  line-height: 1.3;
  overflow: auto;
  text-align: left;
  height: 10rem;
}

.wpcf7-submit {
  background: orange;
  border-radius: 0.5rem;
  padding: 1em 2em;
  margin-top: 3em;
  transition: 0.6s;
}

.wpcf7-submit:hover {
  opacity: 0.7;
  box-shadow: 2px 2px 2px gray;
}

textarea,
input {
  background: white;
  width: 100%;
  box-shadow: 0 0 2px #c8c2c6;
}

span.wpcf7-list-item-label {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
}

.contact__consent-check input {
  width: 2rem;
}

/* ◆◆◆ /cf7 ◆◆◆ */

/* ◆◆◆ よくある質問 ◆◆◆ */
.qa {
  background: var(--white);
  margin-top: 2rem;
}

.qa .inner {
  max-width: 56.25rem;
  margin-inline: auto;
}

.qa h2 {
  margin: 3rem auto 0;
  background-color: var(--bg-yellow);
    color: var(--brown);
    font-size: 2.3rem;
    font-weight: bold;
    text-align: center;
    padding: 15px 20px;
    border-radius: 10px;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 1px var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.qa-list {
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  background: var(--bg2);
  border-radius: 1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}

.qa-list:last-child {
  margin-bottom: 0;
}

.qa-list dt,
.qa-list dd {
  position: relative;
  color: var(--brown);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.qa-list dt {
  margin: 0 0 1rem;
  padding: 0 0 0 3.5rem;
  font-weight: 700;
}

.qa-list dd {
  margin: 0;
  padding: 0 0 0 3.5rem;
}

.qa-list dt:before,
.qa-list dd:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 0.5rem;
}

.qa-list dt:before {
  content: "Q";
  background: var(--brown);
  color: var(--white);
}

.qa-list dd:before {
  content: "A";
  border: 0.0625rem solid var(--brown);
  background: var(--white);
  color: var(--brown);
}

/* 旧クラス互換 */
.qa__list dt,
.qa__list dd {
  position: relative;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
}

.qa__list dt {
  margin-bottom: 1rem;
  padding: 0 0 1rem 4rem;
}

.qa__list dd {
  padding: 0 0 3rem 4rem;
}

.qa__list dt:before,
.qa__list dd:before {
  position: absolute;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: white;
  top: 0;
  left: 0;
  width: 2.4rem;
  padding-block: 1em;
  vertical-align: middle;
  text-align: center;
}

.qa__list dt:before {
  content: "Q";
  background: brown;
  border-radius: 0.5rem;
}

.qa__list dd:before {
  content: "A";
  border: solid 1px brown;
  background-color: #ffffff;
  color: brown;
  border-radius: 0.5rem;
}

@media (max-width: 48rem) {
  .qa h2 {
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    font-size: 1.375rem;
  }

  .qa-list {
    padding: 1.25rem 1.25rem;
    margin-bottom: 1.25rem;
  }

  .qa-list dt,
  .qa-list dd {
    padding-left: 3rem;
    font-size: 1rem;
  }

  .qa-list dt:before,
  .qa-list dd:before {
    width: 2rem;
    height: 2rem;
    font-size: 0.9375rem;
  }
}

/* ◆◆◆ /よくある質問 ◆◆◆ */

/* ◆◆◆ 料金表 ◆◆◆ */
.price {
  max-width: 56.25rem;
  margin: 3rem auto 0;
  padding: 0 1rem;
  color: var(--brown);
}

.price__title {
  margin: 0 auto 2.5rem;
  padding: 0 0 0.75rem;
  color: var(--brown);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  border-bottom: 0.1875rem solid var(--orange);
  max-width: 42.5rem;
}

.price__group {
  margin: 0;
  padding: 0;
}

.price__group+.price__group {
  margin-top: 2.5rem;
}

.price__subtitle {
  margin: 0 0 1.25rem;
  padding-left: 0.875rem;
  border-left: 0.25rem solid var(--orange);
  color: var(--orange2);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* table初期スタイル（Arkhe等）の解除 */
.price__table {
  border: 0.0625rem solid color-mix(in srgb, var(--brown) 30%, transparent) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 0.5rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  text-align: center;
  background: transparent;
}

.price__table caption {
  margin: 0;
  opacity: 1;
}

.price__table th,
.price__table td {
  border: none !important;
  border-bottom: 0.0625rem dashed color-mix(in srgb, var(--brown) 25%, transparent) !important;
  padding: 0.875rem 0.75rem !important;
  color: var(--brown);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  letter-spacing: 0.04em;
  vertical-align: middle;
  background: transparent;
  text-align: center;
}

.price__table tr:last-child th,
.price__table tr:last-child td {
  border-bottom: none !important;
}

.price__table th {
  width: 55%;
  font-weight: 700;
  background: var(--bg2);
}

.price__table td {
  width: 45%;
  font-weight: 700;
  white-space: nowrap;
  background: transparent;
}

.price__note {
  margin: 0.75rem 0 0;
  color: var(--brown);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.price__text {
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

.price__text:last-child,
.price__group .price__text:last-of-type {
  margin-bottom: 0 !important;
}

@media (max-width: 48rem) {
  .price {
    margin-top: 2rem;
    padding: 0 0.75rem;
  }

  .price__title {
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    font-size: 1.375rem;
  }

  .price__group {
    margin: 0;
    padding: 0;
  }

  .price__group+.price__group {
    margin-top: 1.5rem;
  }

  .price__subtitle {
    margin-bottom: 1rem;
    font-size: 1.125rem;
  }

  .price__table th,
  .price__table td {
    display: block;
    width: 100%;
    padding: 0.5rem 0 !important;
  }

  .price__table th {
    padding-bottom: 0.125rem !important;
    border-bottom: none !important;
  }

  .price__table td {

    border-bottom: 0.0625rem dashed color-mix(in srgb, var(--brown) 25%, transparent) !important;
  }

  .price__table tr:last-child td {
    border-bottom: none !important;
  }

  .price__text {
    text-align: left;
  }
}

/* ◆◆◆ /料金表 ◆◆◆ */

/* ◆◆◆ 交通事故ポイント ◆◆◆ */
.accident-point {
  max-width: 56.25rem;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--brown);
}

.accident-point__title {
  margin: 0 auto 2.5rem;
  padding: 0 0 0.75rem;
  color: var(--brown);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
  border-bottom: 0.1875rem solid var(--orange);
  max-width: 42.5rem;
  font-style: normal;
}

.accident-point__title-em {
  display: inline;
  font-style: normal;
  color: var(--orange2);
}

.accident-point__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: accident-point;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.accident-point__item {
  position: relative;
  counter-increment: accident-point;
  margin: 0;
  padding: 1.25rem 1.5rem 1.25rem 4.25rem;
  background: var(--bg2);
  border-radius: 0.75rem;
}

.accident-point__item::before {
  content: counter(accident-point);
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
}

.accident-point__item p {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.accident-point__item p+p {
  margin-top: 0.5rem;
}

.accident-point__item strong {
  color: var(--orange2);
  font-weight: 700;
}

.accident-point__sub {
  font-size: 0.875em !important;
  opacity: 0.8;
}

@media (max-width: 48rem) {
  .accident-point {
    margin-top: 2rem;
    padding: 0 0.75rem;
  }

  .accident-point__title {
    margin-bottom: 1.75rem;
    padding-bottom: 0.5rem;
    font-size: 1.25rem;
  }

  .accident-point__list {
    gap: 1rem;
  }

  .accident-point__item {
    padding: 1.125rem 1.125rem 1.125rem 3.75rem;
  }

  .accident-point__item::before {
    top: 1.125rem;
    left: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.875rem;
  }
}

/* ◆◆◆ /交通事故ポイント ◆◆◆ */

/* ◆◆◆ 交通事故の患者様の声 ◆◆◆ */
.traffic-voice {
  background: var(--white);
}

.traffic-voice__inner {
  max-width: 56.25rem;
  margin-inline: auto;
}

.traffic-voice .shojo__title {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.traffic-voice__block {
  margin: 0;
}

.traffic-voice__body {
  margin: 0;
  padding: 2rem 2.25rem;
  background: var(--bg2);
  border-radius: 1rem;
  border-left: 0.25rem solid var(--orange);
  quotes: none;
}

.traffic-voice__lead {
  margin: 0 0 2rem;
  color: var(--brown);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.traffic-voice__item {
  margin: 0 0 1.75rem;
  padding: 0;
}

.traffic-voice__item:last-of-type {
  margin-bottom: 2rem;
}

.traffic-voice__item-title {
  margin: 0 0 0.75rem;
  padding-left: 0.875rem;
  border-left: 0.25rem solid var(--orange);
  color: var(--orange2);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.traffic-voice__text {
  margin: 0;
  color: var(--brown);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

.traffic-voice__text+.traffic-voice__text {
  margin-top: 0.75rem;
}

.traffic-voice__closing {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 0.0625rem dashed color-mix(in srgb, var(--brown) 25%, transparent);
  color: var(--brown);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

@media (max-width: 48rem) {
  .traffic-voice .shojo__title {
    margin-bottom: 1.75rem;
  }

  .traffic-voice__body {
    padding: 1.5rem 1.25rem;
  }

  .traffic-voice__lead {
    margin-bottom: 1.5rem;
  }

  .traffic-voice__item {
    margin-bottom: 1.5rem;
  }

  .traffic-voice__item:last-of-type {
    margin-bottom: 1.5rem;
  }

  .traffic-voice__closing {
    padding-top: 1.25rem;
  }
}

/* ◆◆◆ /交通事故の患者様の声 ◆◆◆ */

/* ◆◆◆ 初めての方へ（紹介） ◆◆◆ */
.first__block {
  max-width: 56.25rem;
  margin: 2rem auto 0;
  padding: 0;
  color: var(--brown);
  overflow: hidden;
}

.first__block+.first__block {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 0.0625rem dashed color-mix(in srgb, var(--brown) 22%, transparent);
}

.first__heading {
  margin: 0 0 1.5rem;
  padding: 0 0 0.75rem;
  color: var(--brown);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  border-bottom: 0.1875rem solid var(--g-green);
}

.first__subheading {
  margin: 0 0 1.5rem;
  padding-left: 0.875rem;
  border-left: 0.25rem solid var(--g-green);
  color: var(--brown);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.first__img {
  float: left;
  width: 42%;
  max-width: 22.5rem;
  margin: 0 1.5rem 1rem 0;
}

.first__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.first__imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0 0 1.5rem;
}

.first__imgs .first__img {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}

.first__text {
  margin: 0 0 1.25rem;
  color: var(--brown);
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: justify;
}

.first__text:last-child {
  margin-bottom: 0;
}

@media (max-width: 48rem) {
  .first__block+.first__block {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .first__heading {
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    font-size: 1.25rem;
  }

  .first__subheading {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
  }

  .first__img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.25rem;
  }

  .first__imgs {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .first__text {
    text-align: left;
    margin-bottom: 1rem;
  }
}

@media (min-width: 48.0625rem) and (max-width: 56.25rem) {
  .first__imgs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ◆◆◆ /初めての方へ（紹介） ◆◆◆ */

/* ◆◆◆ 投稿 ◆◆◆ */
body.single .c-postContent p {
  margin-bottom: 1.3rem;
}

.news-col figure {
  margin-block: 2em;
}

.bo-credit {
  margin-top: 6em;
}

.bo-credit p,
.bo-credit a {
  font-size: 0.7rem;
  color: #d4dcda;
}

.post__cta .inner {
  padding: 0;
}

/* ◆◆◆ /投稿 ◆◆◆ */

/* ◆◆◆ 投稿記事下CTA ◆◆◆ */
.post__cta {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.post__cta .inner {
  padding: 0;
}

/* ◆◆◆ /投稿記事下CTA ◆◆◆ */

/* ◆◆◆ パンくず ◆◆◆ */
li.p-breadcrumb__item {
  margin-bottom: 0;
}

/* ◆◆◆ /パンくず ◆◆◆ */

/* ◆◆◆ アーカイブ ◆◆◆ */
/* ◆◆◆ /アーカイブ ◆◆◆ */

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ TB ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */

@media (max-width: 1024px) {
  .l-header__logo {
    text-align: center;
    width: 100%;
    height: auto;
    padding-inline: 20%;
  }

  .l-header__logo img {
    width: 100%;
  }

  /* ◆◆◆ FV位置 ◆◆◆ */
  body.page:not(.home) .l-content__body {
    margin-top: 0;
  }

  /* ◆◆◆ ハンバーガーメニュー ◆◆◆ */
  .l-header__drawerBtn {
    background: var(--orange);
    border-radius: 3px;
  }

  .c-iconBtn__icon {
    color: var(--white);
  }

  .p-drawer {
    background: var(--bg);
    padding-top: 7rem;
  }

  .p-drawer__close {
    color: var(--brown);
  }

  .c-drawerNav__a {
    color: var(--brown);
  }

  /* ◆◆◆ /ハンバーガーメニュー ◆◆◆ */
}

/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ SP ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
/* ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */

@media (max-width: 768px) {
  .header-right {
    justify-content: center;
  }

  /* ◆◆◆ 問い合わせボタン ◆◆◆ */
  .offer__img {
    width: 100%;
  }

  .contact-block {
    flex-direction: column;
  }

  /* ◆◆◆ /問い合わせボタン ◆◆◆ */

  /* ◆◆◆ お悩み ◆◆◆ */
  .problem {}

  ul.problem__items {
    padding: 0;
  }

  .problem__items li:before {
    width: 1.4rem;
    height: 1.4rem;
    top: 0.3rem;
    left: 0.5rem;
  }

  /* ◆◆◆ /お悩み ◆◆◆ */

  /* ◆◆◆ 喜びの声 ◆◆◆ */
  .voice {}

  li.voice__item {
    padding: 1.5em;
  }

  figure.voice__item-img {
    float: left;
    width: 100%;
    padding: 0 0 1.6em 0;
  }

  .voice__item::before {
    top: 10px;
    left: 20px;
  }

  p.voice__item-text {}

  /* ◆◆◆ /喜びの声 ◆◆◆ */

  /* ◆◆◆ BA ◆◆◆ */
  .ba {}

  li.ba__item {
    margin-bottom: 2em;
  }

  /* ◆◆◆ /BA ◆◆◆ */

  /* ◆◆◆ 理由 ◆◆◆ */
  .reason {}


  /* ◆◆◆ /理由 ◆◆◆ */

  /* ◆◆◆ 流れ-01 文章あり縦並び ◆◆◆ */
  .flow--01 {
    padding-block: 3rem;
  }

  /* 画像とテキストを縦積みに */
  .flow__items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .flow__item {
    flex-direction: column;
    align-items: stretch;
    /* 横幅いっぱいに使う */
    gap: 1rem;
  }

  .flow--01 li.flow__item {
    padding: 1.5em 1em 0.5em;
    margin-bottom: 0;
  }

  .flow__item:not(:last-child)::after {
    bottom: -30px;
  }

  /* 画像：横幅100%・中央寄せ（最大19.375remまで） */
  .flow__item-img {
    width: 100%;
    max-width: 19.375rem;
    margin: 0 auto;
  }

  /* タイトルリボン：潜り込みを解除して通常表示 */
  .flow__item-title {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    padding: 0.625rem 1rem;
    font-size: 1.1rem;
    justify-content: center;
  }

  .flow__item-text {
    font-size: 1rem;
  }

  /* ◆◆◆ /流れ-01 文章あり縦並び ◆◆◆ */

  /* ◆◆◆ 流れ-02 アイコン横並び ◆◆◆ */
  .flow--02 {}

  .flow--02 li.flow__item {
    width: 50%;
    padding-inline: 2%;
    margin-bottom: 2em;
  }

  /* ◆◆◆ /流れ-02 アイコン横並び ◆◆◆ */

  /* ◆◆◆ アクセス ◆◆◆ */
  .access__card {
    padding: var(--hp-space__20) var(--hp-space__15);
  }

  .access__list {
    grid-template-columns: 1fr;
    row-gap: var(--hp-space__10);
    justify-items: center;
    text-align: center;
  }

  .access__label {
    justify-self: center;
  }

  /* ◆◆◆ /アクセス ◆◆◆ */

  /* ◆◆◆ フッターボタン ◆◆◆ */
  .footer-btn__contact {
    bottom: 0;
    right: 0;
    width: 100%;
  }

  .footer-btn__contact .sp:has(.footer-btn__contact-item:nth-child(2)) {
    display: flex;
    flex-direction: row;
  }

  .footer-btn__contact .sp .footer-btn__contact-item {
    flex: 1;
    margin-bottom: 0;
  }

  /* ◆◆◆ /フッターボタン ◆◆◆ */

  .entry_title {
    padding-inline: 5%;
  }

  /* ◆◆◆ パンくずリスト ◆◆◆ */
  .p-breadcrumb__list {
    padding-left: 5% !important;
  }

  /* ◆◆◆ /パンくずリスト ◆◆◆ */

  /* ◆◆◆ 対応症状リスト ◆◆◆ */
  .shojo .inner {
    width: 100%;
  }

  ul.shojo__list {
    gap: 1em;
    grid-template-columns: repeat(2, 1fr);

  }

  ul.shojo__list li {}


  /* ◆◆◆ /対応症状リスト ◆◆◆ */

  /* ◆◆◆ cf7 ◆◆◆ */
  .contact__form {
    padding: 2em 5%;
  }

  .contact__form-item {
    margin-bottom: 1em;
  }

  .contact__consent {
    margin: 2em 0;
  }

  .wpcf7-submit {
    margin-top: 2em;
  }

  .contact__consent-check input {
    width: 1.2em;
  }

  /* ◆◆◆ /cf7 ◆◆◆ */
}
.hpb-link{
	margin-top:2rem;
}

.hpb-link > a {
  display: block;
  transition: opacity 0.6s, transform 0.6s;
}

.hpb-link > a:hover {
  opacity: 0.6;
  transform: scale(1.05);
}




.mu-info__inner{
  padding: var(--hp-space__40) 1rem;
  color: var(--brown);
}
 
/* ①CTA */
.mu-info__cta{
  max-width: 42.5rem;
  margin: 0 auto var(--hp-space__50);
  padding: var(--hp-space__30) var(--hp-space__20);
  background: var(--pink-bg);
  border: 1px solid rgba(246, 137, 64, .35);
  border-radius: 1rem;
  text-align: center;
}
.mu-info__cta-eyebrow{
  display: inline-block;
  margin: 0 0 .75rem;
  padding: .3rem 1rem;
  background: var(--orange);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .05em;
  border-radius: 999px;
}
.mu-info__cta-title{
  margin: 0 0 .75rem;
  color: var(--brown);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
}
.mu-info__cta-text{
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  font-size: clamp(.9375rem, 1.6vw, 1rem);
  line-height: 1.9;
  letter-spacing: .04em;
}
.mu-info__cta-btn{
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--orange2);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .05em;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(248, 107, 79, .35);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.mu-info__cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(248, 107, 79, .45);
  opacity: .95;
}
 
/* ②③共通ブロック */
.mu-info__block{
  max-width: 56.25rem;
  margin: 0 auto var(--hp-space__50);
  padding: 0 1rem;
}
.mu-info__block:last-child{ margin-bottom: 0; }
 
.mu-info__title{
  margin: 0 auto 2rem;
  padding: 0 0 .75rem;
  color: var(--brown);
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  text-align: center;
  border-bottom: .1875rem solid var(--orange);
  max-width: 42.5rem;
  font-style: normal;
}
.mu-info__em{
  font-style: normal;
  color: var(--orange2);
}
 
.mu-info__text{
  margin: 0 0 1.25rem;
  color: var(--brown);
  font-size: clamp(.9375rem, 1.6vw, 1.125rem);
  line-height: 1.9;
  letter-spacing: .04em;
}
.mu-info__text strong{
  color: var(--orange2);
  font-weight: 700;
}
 
.mu-info__note{
  margin: 0 0 1.25rem;
  padding: 1rem 1.5rem;
  background: var(--bg2);
  border-left: .25rem solid var(--orange);
  border-radius: .5rem;
  color: var(--brown);
  font-size: clamp(1rem, 1.7vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.7;
}
 
/* ②③に写真を入れる場合（syojyo-contents__imgと同じ意匠：角丸・16:9トリミング） */
.mu-info__img{
  margin: 0 0 1.5rem;
}
.mu-info__img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: .625rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}
 
/* 写真+テキスト横並びブロック（PC:横並び／スマホ:縦並び） */
.mu-info__media{
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0 0 1.5rem;
}
.mu-info__media-img{
  flex: 0 0 40%;
  margin: 0;
}
.mu-info__media-img img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: .625rem;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.mu-info__media-body{
  flex: 1 1 auto;
  min-width: 0;
}
.mu-info__media-title{
  margin: 0 0 .75rem;
  color: var(--orange2);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.5;
}
.mu-info__media-body .mu-info__text:last-child{
  margin-bottom: 0;
}
.mu-info__media--reverse{
  flex-direction: row-reverse;
}
 
/* 症状チェックリスト（problem__itemsのチェックアイコンを流用） */
.mu-info__symptoms{
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.5rem;
  background: var(--bg2);
  border-radius: .75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 1.5rem;
}
.mu-info__symptoms li{
  position: relative;
  padding-left: 2rem;
  color: var(--brown);
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .03em;
}
.mu-info__symptoms li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .05em;
  width: 1.375rem;
  height: 1.375rem;
  background: url(/wp-content/uploads/2026/06/check.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
 
@media (max-width: 600px){
  .mu-info__symptoms{ grid-template-columns: 1fr; }
}
 
/* mu-info__media, mu-info__media--reverse とも768px以下で縦並びに統一 */
@media (max-width: 768px){
  .mu-info__media,
  .mu-info__media--reverse{
    flex-direction: column;
    gap: 1rem;
  }
  .mu-info__media-img{
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ===== お客様の声 ===== */
ul.voice_list{
	margin-top:2rem;
	padding:0;
}
.voice_list li {
  margin: 0 4px 16px;
  padding: 16px;
  border:solid 5px var(--g-green);
  border-radius: 8px;
  list-style: none;
}
.voice_conts {
  background: #fff;
}
.voice_conts h3,
.voice_tit {
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 16px;
  background: #fff;
  border-bottom: 2px dotted #e3e3da;
  box-sizing: border-box;
  color: #ff8000;
  font-weight: bold;
}
.voice_pic {
  width: 150px;
  margin: 0 auto 16px;
}
.voice_pic p > :first-child {
  display: block;
  margin: 0 auto 8px;
}
.voice_pic img {
  max-width: 100%;
  height: auto;
}
.voice_txt {
  min-width: 0;
}
.voice_txt p {
  margin: 0 0 1em;
  color: var(--brown);
  text-align: justify;
}
.menseki {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--red);
  text-align: right;
}

/* 480px〜：写真左・本文右 */
@media screen and (min-width: 480px) {
  .voice_pic {
    flex: 0 0 150px;
    margin: 0 16px 0 0;
  }
  .voice_pic p > :first-child { margin: 0 0 8px; }
}

/* 680px〜 */
@media screen and (min-width: 680px) {
  .voice_list li {
    margin: 0 24px 32px;
    padding: 0;
  }
  .voice_conts { padding: 24px; }
  .voice_txt { padding-left: 16px; }
  .voice_pic img { margin: 0 0 8px; }
}

/* 680〜984px：写真を中央・本文は下 */
@media screen and (min-width: 680px) and (max-width: 984px) {
  .voice_pic { margin: 0 auto 16px; }
  .voice_pic p > :first-child { margin: 0 auto 8px; }
}

/* 簡易ライトボックス（voice-lightbox.js 用） */
.vlb {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.vlb.is-open {
  opacity: 1;
  visibility: visible;
}

.vlb-lock,
.vlb-lock body {
  overflow: hidden;
}

.vlb__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.vlb__img {
  display: block;
  max-width: min(90vw, 800px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border: 4px solid #fff;
  border-radius: 4px;
  background: #fff;
  opacity: 0;
  transition: opacity .25s;
}

.vlb__img.is-loaded {
  opacity: 1;
}

.vlb__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 8px 2px 0;
  color: #fff;
  font-size: 13px;
}

.vlb__close {
  border: 0;
  background: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.vlb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: #724326;
  font-size: 30px;
  line-height: 40px;
  cursor: pointer;
}

.vlb__nav:hover {
  background: #fff;
}

.vlb__prev {
  left: 8px;
}

.vlb__next {
  right: 8px;
}

.vlb__nav[hidden] {
  display: none;
}

.vlb button:focus-visible {
  outline: 2px solid #ff8000;
  outline-offset: 2px;
}