@charset "UTF-8";
/* ========================================
   方向A：nijinowa-clinic.jp 準拠リニューアル
   FV＝100vh・アーチ型写真・縦組みコピー／各セクション個別スタイル
   図形は「上辺アーチ」「丸ポチ」「巨大円」の3種のみ
======================================== */

/* ---------- 共通図形 ---------- */
/* 上辺アーチ＋下部矩形のマスク。要素サイズに合わせて引き伸ばす（preserveAspectRatio="none"）
   アーチ部分は高さの55%。参考サイトと同じく半円よりやや平たい楕円になる */
.fv-photo {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,55 A50,55 0 0 1 100,55 L100,100 L0,100 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,55 A50,55 0 0 1 100,55 L100,100 L0,100 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ========================================
   HERO（ファーストビュー）
======================================== */
#hero { position: relative; }

.fv {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  min-height: 560px;
  background: var(--color-bg);
}

/* 写真：左余白から縦組みコピーの手前まで大きく取る（参考サイト同様のワイドなアーチ）
   右側は縦組みコピーの占有幅ぶんを空け、文字が写真に重ならないようにする */
.fv-photo {
  position: absolute;
  bottom: clamp(40px, 6vh, 72px); /* FV下端から少し浮かせる */
  left: clamp(60px, 12vw, 175px);
  right: clamp(400px, 30vw, 440px);
  height: calc(100% - 210px);
}
.fv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* キャッチコピー：縦組み・右上 */
.fv-copy {
  position: absolute;
  top: clamp(20px, 3vh, 32px);
  right: var(--pad-x);
  z-index: 2;
  writing-mode: vertical-rl;
  text-orientation: upright;
  max-height: calc(100% - 165px);
  animation: fvRise 1.5s var(--ease-quiet) .2s both;
}
/* 縦組み14文字ぶんの高さが要るため、画面幅（5.45vw）と画面高さ（4.7vh）の小さい方を採用。
   高さに余裕のある画面では指定どおり最大48pxになる */
.hero-h1 {
  font-weight: 500;
  font-size: clamp(24px, min(5.45vw, 4.1vh), 48px);
  letter-spacing: 0.2em;
  line-height: 1.8;
  color: var(--color-accent);
}
.hero-h1 em { font-style: normal; color: var(--color-accent-light); }

.hero-lead {
  margin-block-start: clamp(15px, 1vw, 36px);
  /* リードも縦組み29文字ぶんの高さが要るため、h1と同様に画面高さでガードする */
  font-size: clamp(16px, min(1.40vw, 1.85vh), 19px);
  letter-spacing: 0.25em;
  line-height: 2.5;
  color: var(--color-text);
}
.hero-lead span { display: block; }

/* FVテキストの下からのせり上がり */
@keyframes fvRise {
  from { clip-path: inset(0 0 8% 0); transform: translateY(28px); opacity: 0; }
  to   { clip-path: inset(0 0 -4% 0); transform: none; opacity: 1; }
}

/* 左上：お知らせ最新1件 */
.fv-notice {
  position: absolute;
  top: clamp(28px, 4.5vh, 52px);
  left: var(--pad-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: min(300px, 22vw);
  animation: fvRise 1.5s var(--ease-quiet) .5s both;
}
.fv-notice-date {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-accent-light);
}
.fv-notice-title {
  align-self: flex-start;
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
  transition: background-size .5s var(--ease-quiet);
}
.fv-notice:hover .fv-notice-title { background-size: 0% 1px; }

/* 左上：英字ラベル（お知らせの下。写真のアーチ肩より上の余白に置く） */
.hero-eyebrow {
  position: absolute;
  left: var(--pad-x);
  top: calc(clamp(28px, 4.5vh, 52px) + 74px);
  z-index: 2;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--color-sub);
}

/* 左下：スクロールインジケータ（縦線＋丸）。写真の左外側の余白に置く */
.hero-scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-light);
}
.scroll-line {
  position: relative;
  width: 2px;
  height: 44px;
  background: var(--color-border);
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  animation: scrollFlow 4s cubic-bezier(0.86, 0, 0.07, 1) infinite;
}
.hero-scroll::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent-light);
}
@keyframes scrollFlow {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ========================================
   ここから下は yaizu-ortho.com のデザイン言語で構成
   ・ページ地色＝ベージュ / セクション見出し＝英字大＋和文小
   ・カード＝白・角丸20px / 画像＝角丸10px
   ・強みセクション＝アクセント全面塗り＋上下の波形＋巨大なゴースト番号
   ・ボタン＝テキスト＋塗りの丸矢印＋手書き風の曲線
======================================== */

main { background: var(--color-bg); }

/* ---------- セクション共通 ---------- */
#notice, #features, #flow, #menu, #symptoms, #about, #faq {
  padding-block: var(--sec-pad-lg);
}
#notice > .container, #features > .container, #menu > .container,
#symptoms > .container, #about > .container {
  max-width: calc(var(--content-w) + var(--pad-x) * 2);
}

/* 見出し：FVと同じ言語＝小さな英字ラベル（ORTHODONTICS ONLY と同型）＋和文見出し */
.section-eyebrow, .news-eyebrow {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.3em;
  line-height: 1.6;
  color: var(--color-sub);
  text-transform: uppercase;
}
.section-h2, .news-heading {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(24px, 2.3vw, 33px);
  letter-spacing: 0.18em;
  line-height: 1.7;
  color: var(--color-accent);
  margin-top: 14px;
}
.section-h2::before, .news-heading::before { content: none; }

.section-lead {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* ---------- ボタン：FVのCTAと同じ角丸ピル（枠1px・矢印→） ---------- */
.news-more, .features-top-btn, .faq-more-btn, .footer-reserve-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 230px;
  height: 58px;
  padding: 0 36px;
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--color-accent);
  transition: background-color .4s var(--ease-quiet), color .4s var(--ease-quiet);
}
.news-more::before, .features-top-btn::before, .faq-more-btn::before, .footer-reserve-btn::before { content: none; }
.news-more::after, .features-top-btn::after, .faq-more-btn::after, .footer-reserve-btn::after {
  content: "→";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-family: var(--font-en);
  font-weight: 300;
  transition: transform .4s var(--ease-quiet);
}
.news-more:hover, .features-top-btn:hover, .faq-more-btn:hover, .footer-reserve-btn:hover {
  background: var(--color-accent);
  color: #fff;
}
.news-more:hover::after, .features-top-btn:hover::after,
.faq-more-btn:hover::after, .footer-reserve-btn:hover::after { transform: translateX(4px); }

/* ---------- FV直下のサブ情報（強み・CTA・診療時間） ---------- */
.hero-sub {
  background: var(--color-bg);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
}
.hero-sub .container {
  max-width: calc(var(--content-w) + var(--pad-x) * 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4vw, 52px);
}

.hero-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.hero-meta li:last-child { border-right: none; }
.hero-meta svg { width: 26px; height: 26px; flex: none; color: var(--color-accent); }

/* アクセス表記：PCはFV内（縦組みコピーの下）に、SPはFVの下に通常配置 */
.hero-foot { display: block; text-align: center; }
.hero-actions { display: none; }
.hero-access-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: var(--color-bg);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-accent);
}
.hero-access-pill svg { width: 20px; height: 20px; flex: none; color: var(--color-accent); }
.hero-access-num {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 26px;
  color: var(--color-accent);
  margin: 0 5px;
}

@media (min-width: 901px) {
  /* PCではアクセス表記をFV内に絶対配置するため、hero-sub自体は高さを持たせない */
  .hero-sub { padding: 0; }
  .hero-foot {
    position: absolute;
    right: var(--pad-x);
    /* FVの高さ（min-height 560px を下限とする）から逆算して下寄せ */
    top: calc(max(100dvh - var(--header-h), 560px) - 120px);
    z-index: 2;
    margin: 0;
    animation: fvRise 1.5s var(--ease-quiet) .8s both;
  }
}

.hero-hours-card {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 56px);
}
.hero-hours-table { font-size: 16px; }
.hero-hours-table th, .hero-hours-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
}
.hours-th-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
}
.dot-on::before { content: "●"; color: var(--color-accent); font-size: 12px; }
.dot-off { color: var(--color-border); }
.dot-star { color: var(--color-accent); }
.hero-hours-note { font-size: 16px; color: var(--color-text); line-height: 2; }
.hero-hours-note .note-star, .hero-hours-note .note-sym { color: var(--color-accent); margin-right: 4px; }

/* ---------- 予約・電話ボタン（白の角丸ピル） ---------- */
.btn-primary, .btn-outline {
  min-width: 280px;
  height: 66px;
  padding: 0 32px;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  justify-content: center;
}
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-light); color: #fff; }
.btn-outline {
  background: var(--color-bg);
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.04em;
}
.btn-outline:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn-primary::after, .btn-outline::after { content: none; }

/* ========================================
   NOTICE（お知らせ）＝参考サイトのNewsブロック
======================================== */
#notice { background: var(--color-pale); padding-block: clamp(72px, 6vw, 150px) clamp(56px, 6vw, 110px); }
.news-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.news-more { margin-top: 32px; }

.news-list { border-top: none; }
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  border-bottom: 1px solid var(--color-border);
}
.news-list li:first-child .news-item { border-top: 1px solid var(--color-border); }
.news-item::after { content: none; }
.news-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.news-date {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
}
.news-sep { color: var(--color-border); font-size: 12px; }
.news-cat { font-size: 13px; letter-spacing: 0.08em; color: var(--color-light); }
.news-title {
  display: block;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  background: none;
  padding: 0;
  transition: color .4s var(--ease-quiet);
}
.news-item:hover .news-title { color: var(--color-accent); }

/* 右端の＋ボタン（参考サイトのアコーディオン記号） */
.news-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  transition: background-color .4s var(--ease-quiet), border-color .4s var(--ease-quiet);
}
.news-arrow svg { display: none; }
.news-arrow::before {
  content: "→";
  font-family: var(--font-en);
  font-weight: 300;
  color: var(--color-accent);
  transition: color .4s var(--ease-quiet), transform .4s var(--ease-quiet);
}
.news-item:hover .news-arrow { background: var(--color-accent); border-color: var(--color-accent); }
.news-item:hover .news-arrow::before { color: #fff; transform: translateX(2px); }

/* ========================================
   FEATURES（当院の強み）＝参考サイトのAbout us：アクセント全面塗り＋上下の波
======================================== */
/* ========================================
   FEATURES（当院の強み）
   ＝ nakano-west-ortho.com の l-feature セクション準拠
   ・見出し＝巨大なゴースト英字の上に和文見出しを重ねる（中央寄せ）
   ・各行＝写真とテキストを左右交互／縦書きラベル＋ゴールドの実体数字
   ・コンテンツ幅900px・写真362px・テキスト438px・行間隔100px
======================================== */
#features {
  position: relative;
  background: var(--color-bg);
  padding-block: var(--sec-pad-lg);
}
.feat-layout { display: block; }

/* 見出しブロック：ゴースト英字＋和文見出しを重ねて中央に */
.feat-left {
  display: block;
  margin-bottom: clamp(56px, 7vw, 100px);
}
.feat-left-text {
  position: relative;
  text-align: center;
  padding-block: clamp(12px, 2vw, 26px);
}
#features .section-eyebrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(48px, 8.6vw, 128px);
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--color-ghost);
  white-space: nowrap;
  pointer-events: none;
}
#features .section-h2 {
  position: relative;
  z-index: 1;
  margin-top: 0;
  font-size: clamp(23px, 2.6vw, 36px);
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--color-text);
}
/* 見出し脇の写真は参考サイトに無い構成のため非表示（各行の写真で見せる） */
.feat-photo-frame { display: none; }

/* 各行：写真＋テキストを左右交互に */
.feat-right {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 5.5vw, 100px);
  max-width: 1080px;
  margin-inline: auto;
  padding-top: 0;
}
.feat-item {
  position: relative;
  display: flex;
  flex-direction: row-reverse;   /* 奇数行＝写真right */
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
  border: none;
  border-radius: 0;
  background: none;
  text-align: left;
  padding: 0;
  overflow: visible;
}
.feat-item:nth-child(even) { flex-direction: row; }  /* 偶数行＝写真left */
.feat-item::before { content: none; }

/* .feat-item > div より詳細度を上げないと flex 指定が効かない */
/* 参考：art-asada.jp の .specialize-img::before / ::after
   同じ形を左上（淡グレー）と右下（ゴールド）にずらして背面に重ね、
   画像の外側だけ弧が覗く。サイズは変えず box-shadow で表現する。 */
.feat-item > .feat-item-img {
  flex: 0 0 34%;
  aspect-ratio: 362 / 351;
  border-radius: 9999px;  /* 左右が半円のピル型（この比率では円になる） */
  overflow: hidden;
  box-shadow:
    10px 7px 0 0 var(--color-gold),
    -12px -7px 0 0 var(--color-beige-dark);
}
.feat-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-quiet);
}
.feat-item:hover .feat-item-img img { transform: scale(1.06); }

.feat-item > div { flex: 1; display: block; }
/* 参考サイトにアイコンは無いため非表示 */
.feat-item-icon { display: none; }

/* 縦書きの英字ラベル＋大きな数字。HTMLは番号→ラベルの順なので row-reverse で入れ替え */
.feat-item-head {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.feat-item-head::before { content: none; }
.feat-item-en {
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--color-accent-light);
}
.feat-item-num {
  position: static;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(62px, 6.9vw, 100px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-accent-light);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}
/* 参考サイトは「01.」表記のためピリオドを装飾として付与 */
.feat-item-num::after { content: "."; }
.feat-item:hover .feat-item-num { color: var(--color-accent-light); }

.feat-item-ja {
  margin-top: 0;
  font-size: clamp(20px, 1.85vw, 26px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  color: var(--color-text);
}
.feat-item-ja::after { content: none; }
.feat-item-desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 2.13;
  letter-spacing: 0.12em;
  color: var(--color-text);
  text-align: left;
}

/* 詳細ボタン：参考サイトの角丸ピル（各行の下）。当ページでは末尾に1つ中央配置 */
.feat-foot { margin-top: clamp(48px, 6vw, 88px); text-align: center; }

/* ========================================
   FLOW（治療の流れ）
======================================== */
#flow {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 120px);
  background: var(--color-pale);
}
#flow::before { content: none; }
.flow-inner {
  position: relative;
  z-index: 1;
  max-width: calc(var(--content-w) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.flow-card-header { text-align: center; margin-bottom: clamp(40px, 5vw, 72px); }
.flow-note { margin-top: 22px; font-size: 16px; line-height: 1.9; color: var(--color-text); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 16px;
}
.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
  text-align: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 18px 34px;
  transition: transform .5s var(--ease-quiet), border-color .5s var(--ease-quiet), box-shadow .5s var(--ease-quiet);
}
.flow-step:hover { transform: translateY(-4px); border-color: var(--color-accent-light); box-shadow: 0 14px 34px rgba(34, 34, 34, 0.05); }
/* 番号：細いウェイトの大きな数字＋下のヘアライン */
.flow-step-num {
  position: relative;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: 54px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--color-accent);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.flow-step-num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 22px;
  height: 1px;
  background: var(--color-accent-light);
  transition: width .5s var(--ease-quiet);
}
.flow-step:hover .flow-step-num::after { width: 44px; }
.flow-step-title { font-size: 16px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.7; }
.flow-step-note { display: block; font-size: 16px; color: var(--color-light); }
.flow-step-badge {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 999px;
  padding: 3px 16px;
}
.flow-step-arr { display: none; }

/* ========================================
   MENU（矯正メニュー）＝参考サイトのMenuカード
======================================== */
#menu { background: var(--color-bg); }
.menu-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}
.menu-tabs {
  display: flex;
  gap: 10px;
  border-bottom: none;
  margin-bottom: 32px;
}
.menu-tab-btn {
  position: relative;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-light);
  transition: background-color .3s var(--ease-quiet), color .3s var(--ease-quiet);
}
.menu-tab-btn::after { content: none; }
.menu-tab-btn.is-active { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.menu-tab-panel { display: none; }
.menu-tab-panel.is-active { display: block; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 0;
}
.menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 34px 34px 90px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-pale);
  text-align: left;
  transition: transform .5s var(--ease-quiet), border-color .5s var(--ease-quiet), box-shadow .5s var(--ease-quiet);
}
.menu-card::before { content: none; }
.menu-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 34, 34, 0.05);
}
.menu-card-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-sub);
}
.menu-card-ja {
  font-size: clamp(18px, 1.6vw, 23px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--color-accent);
}
.menu-card-sub {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.menu-card-arr {
  position: absolute;
  right: 34px;
  bottom: 30px;
  margin-top: 0;
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  transition: transform .4s var(--ease-quiet), background-color .4s var(--ease-quiet), color .4s var(--ease-quiet);
}
.menu-card-arr svg { width: 16px; height: 16px; }
.menu-card:hover .menu-card-arr { transform: translateX(5px); background: var(--color-accent); color: #fff; }

/* ========================================
   PARALLAX BAND（矯正メニュー直下の全幅画像）
   参考：nakano-west-ortho.com の .l-parallax01
   高さは参考サイトと同値（PC 400px／SP 53.2vw）
   参考サイトと同じ background-attachment: fixed 方式。
   背景がビューポート基準で固定されるため、スクロールすると帯が窓のように動く。
======================================== */
.parallax-band {
  --parallax-img: url("../img/main-ichikawa.webp");
  --parallax-h: 400px;
  width: 100%;
  margin-inline: auto;
  overflow-x: hidden;
  background: var(--color-beige-dark);
}
.parallax-band-inner {
  width: 100%;
  height: var(--parallax-h);
  background: var(--parallax-img) no-repeat center center / cover;
  /* 背景だけを固定して、帯が窓のように動く＝参考サイトと同じパララックス */
  background-attachment: fixed;
}
@media (max-width: 768px) {
  /* iOSは背景固定を正しく扱えないため、SPは通常のcover表示 */
  .parallax-band { --parallax-h: 53.2vw; }
  .parallax-band-inner { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-band-inner { background-attachment: scroll; }
}

/* ========================================
   SYMPTOMS（不正咬合の種類）＝写真つきカード
======================================== */
#symptoms { background: var(--color-pale); }
.symptoms-header { text-align: left; margin-bottom: clamp(40px, 5vw, 64px); }
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.symptom-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 24px 30px;
  background: #fff;
  border: none;
  border-radius: var(--radius-card);
  transition: transform .5s var(--ease-quiet), box-shadow .5s var(--ease-quiet);
}
.symptom-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 34, 34, 0.07);
}
.symptom-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--color-pale);
  display: block;
  margin-bottom: 14px;
}
.symptom-img-wrap img {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: cover;
  /* 症例写真は判別性を優先し、フィルターはかけない */
  transition: transform 1.2s var(--ease-quiet);
}
.symptom-card:hover .symptom-img-wrap img { transform: scale(1.06); }
.symptom-tag {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-sub);
}
.symptom-title {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--color-accent);
}
.symptom-desc {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.symptoms-more { text-align: center; margin-top: clamp(40px, 5vw, 56px); }
.symptoms-more .faq-more-btn { min-width: 0; width: auto; }

/* ========================================
   PRICE（費用）
   ・細い罫線の2列テーブル。金額は英字フォントでアクセント色
   ・自由診療の明示／税込表記／注意書き／リスク・副作用を同一ブロックにまとめる
======================================== */
#price {
  background: var(--color-pale);
  padding-block: var(--sec-pad-lg);
}
.price-header { max-width: 900px; margin-inline: auto; text-align: center; }
.price-header .section-lead { margin-top: 22px; }

.price-body { max-width: 900px; margin: clamp(40px, 5vw, 64px) auto 0; }

.price-table { width: 100%; font-size: 16px; }
.price-table th, .price-table td {
  padding: 20px 8px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 400;
  vertical-align: baseline;
}
.price-table thead th {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-accent);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}
.price-table thead th:first-child { text-align: left; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th {
  text-align: left;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.price-table tbody td {
  text-align: right;
  white-space: nowrap;
  letter-spacing: 0.04em;
  padding-left: 24px;
}
.price-num {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  margin-right: 2px;
}
.price-free {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.price-notes {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.price-notes li {
  position: relative;
  padding-left: 1.4em;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-light);
}
.price-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--color-accent-light);
}

.price-risk {
  margin-top: 32px;
  padding: 26px 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-bg);
}
.price-risk-head {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.price-risk-body {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--color-light);
}

@media (max-width: 700px) {
  .price-table { font-size: 16px; }
  .price-table th, .price-table td { padding: 16px 4px; }
  .price-table tbody th { width: 55%; }
  .price-table tbody td { padding-left: 12px; }
  .price-num { font-size: 19px; }
  .price-risk { padding: 22px 20px; }
}

/* ========================================
   ABOUT（ごあいさつ）＝参考サイトのGreeting
======================================== */
#about { background: var(--color-bg); }
.about-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.about-photo-outer { order: 2; }
/* 参考サイトの並び：見出し → 本文 → 院長名ブロック → ボタン */
.about-content { order: 1; display: flex; flex-direction: column; gap: 0; }
.about-content > div:first-child { order: 1; margin-bottom: clamp(28px, 3.5vw, 48px); }
.about-content > div:nth-of-type(2) { order: 3; }
.about-content > a { order: 4; align-self: flex-start; }

/* FVと同じ上辺アーチのマスクで呼応させる */
.about-img-wrap {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,55 A50,55 0 0 1 100,55 L100,100 L0,100 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,55 A50,55 0 0 1 100,55 L100,100 L0,100 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
/* 実績バッジ：塗り・囲み枠をやめ、サイト共通の
   「小さな英字ラベル＋大きな数字＋ヘアライン」の言語に揃える */
.about-accent {
  /* 塗りをやめたぶん、左から伸びる枝ものより前面に置いて数字の可読性を保つ */
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "en  en"
    "num label";
  align-items: center;
  justify-content: start;
  column-gap: clamp(18px, 2vw, 28px);
  row-gap: clamp(10px, 1.2vw, 16px);
  margin-top: clamp(24px, 3vw, 36px);
  padding-block: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-accent-en {
  grid-area: en;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--color-sub);
}
.about-accent-num {
  grid-area: num;
  flex: none;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(50px, 4.4vw, 64px);
  letter-spacing: 0.01em;
  line-height: 0.9;
  color: var(--color-accent);
}
.about-accent-label {
  grid-area: label;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.12em;
  color: var(--color-text);
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid var(--color-border);
}

.about-content .section-lead {
  order: 2;
  margin-top: 0;
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 2;
}
.about-dr-name {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
.about-dr-suffix { font-size: 16px; color: var(--color-light); }
.about-dr-title { font-size: 16px; letter-spacing: 0.06em; color: var(--color-light); margin-top: 6px; }
/* 院長名ブロックは上下に罫線（参考サイトと同じ見せ方） */
.about-content > div:nth-of-type(2) {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
  margin-bottom: 32px;
}

/* ========================================
   FAQ（よくあるご質問）
======================================== */
#faq { background: var(--color-pale); }
.faq-layout {
  max-width: calc(var(--content-w) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.faq-desc { margin-top: 26px; font-size: 16px; line-height: 1.9; color: var(--color-text); }

.faq-accordion { border-top: none; margin-top: 40px; }
.faq-item {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .4s var(--ease-quiet);
}
.faq-item.open { border-color: var(--color-accent-light); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.faq-q-mark {
  flex: none;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  color: var(--color-accent);
}
.faq-q-arrow {
  margin-left: auto;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s var(--ease-quiet), background-color .3s var(--ease-quiet), color .3s var(--ease-quiet);
}
.faq-item.open .faq-q-arrow {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-quiet);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 28px 26px 56px; }

.faq-right { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-photo { display: flex; flex-direction: column; gap: 20px; }
.faq-photo-panel {
  flex: none;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.faq-photo-panel:last-child { margin-top: 0; }
.faq-photo-panel img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   右側の固定タブ（参考サイトの「診療時間／アクセス」タブ）
======================================== */
.side-cta {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  background: transparent;
  border-radius: 14px 0 0 14px;
  box-shadow: 0 4px 20px rgba(34, 34, 34, 0.1);
  overflow: hidden;
}
.side-cta a {
  writing-mode: vertical-rl;
  text-orientation: upright;   /* LINE の英字を1文字ずつ立てる */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 5px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
  transition: background-color .3s var(--ease-quiet);
}
/* 文字の上にアイコン（縦組みなのでブロック方向＝上に入る） */
.side-cta a::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background: no-repeat center / contain;
}
.side-cta .s-web::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='17' rx='2.5'/%3E%3Cpath d='M16 2.5v4M8 2.5v4M3 10h18'/%3E%3C/svg%3E");
}
.side-cta .s-line::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M20 3.2H4A2.2 2.2 0 0 0 1.8 5.4v9.4A2.2 2.2 0 0 0 4 17h2.6v3.6a.4.4 0 0 0 .65.3L11.7 17H20a2.2 2.2 0 0 0 2.2-2.2V5.4A2.2 2.2 0 0 0 20 3.2z' fill='%23fff'/%3E%3Cpath d='M6.8 8.2h10.4M6.8 12h6.4' stroke='%234CAF50' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}
.side-cta a + a { border-top: none; }
.side-cta .s-web { background: var(--color-cta-web); }
.side-cta .s-line { background: var(--color-cta-line); }
.side-cta .s-web:hover { background: var(--color-cta-web-dark); color: #fff; }
.side-cta .s-line:hover { background: var(--color-cta-line-dark); color: #fff; }

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1180px) {
  .flow-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1000px) {
  .menu-grid, .symptoms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* FV：SPは縦組みをやめ、横組みの縦積み（お知らせ→見出し→リード→写真）にする。
     本文16pxの縦組みでは列の高さが画面に収まらず、写真に文字がかぶるため。
     絶対配置も解いて、内容量に応じて素直に伸びる構成にする */
  .fv {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(20px, 4vw, 32px);
    padding: clamp(24px, 5vw, 36px) var(--pad-x) 0;
  }
  .fv-notice {
    position: static;
    max-width: none;
    gap: 6px;
  }
  .fv-copy {
    position: static;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    max-height: none;
  }
  /* 横組みでは1行14文字が収まるよう、字送りを縦組みより詰める */
  .hero-h1 {
    font-size: clamp(24px, 6.4vw, 32px);
    letter-spacing: 0.06em;
    line-height: 1.75;
  }
  .hero-lead {
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.95;
    margin-block-start: 16px;
  }
  .fv-notice-title { font-size: 16px; line-height: 1.7; }
  /* 写真は画面幅いっぱいの低めのアーチ。高さは比率で決める */
  .fv-photo {
    position: static;
    height: auto;
    aspect-ratio: 16 / 11;
    margin-top: auto;
    margin-inline: calc(var(--pad-x) * -1);
  }
  /* 写真の上に重なって視認性が落ちるため、SPでは非表示 */
  .hero-eyebrow, .hero-scroll { display: none; }

  .news-layout { grid-template-columns: 1fr; gap: 28px; }
  .feat-left, .menu-layout, .about-layout, .faq-layout { grid-template-columns: 1fr; }
  .feat-item, .feat-item:nth-child(even) { flex-direction: column; align-items: stretch; gap: 24px; }
  .feat-item-img { flex: none; width: 100%; aspect-ratio: 16 / 10; }
  /* 画面幅いっぱいのため、弧のずれ量を控えめにして左右の余白に収める */
  .feat-item > .feat-item-img {
    box-shadow: 8px 5px 0 0 var(--color-gold), -8px -5px 0 0 var(--color-beige-dark);
  }
  .feat-photo-frame { max-width: 100%; }
  .about-photo-outer { order: 1; }
  .about-content { order: 2; }
  .about-accent { justify-content: start; }
  .faq-right { position: static; }

  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .side-cta { display: none; }
}

@media (max-width: 700px) {
  .hero-meta { flex-direction: column; align-items: stretch; width: 100%; max-width: 460px; }
  .hero-meta li { justify-content: flex-start; padding: 18px 22px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions a { width: 100%; min-width: 0; }
  .hero-hours-card { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .hero-hours-table { font-size: 16px; }
  .hero-hours-table th, .hero-hours-table td { padding: 8px 4px; }

  .menu-grid, .symptoms-grid, .flow-steps { grid-template-columns: 1fr; }
  .menu-card { padding: 28px 24px 88px; }
  .faq-photo { flex-direction: column; }
}

@media (max-width: 560px) {
  .hero-h1 { font-size: clamp(20px, 5.6vw, 24px); }
  .footer-map-walk-badge { right: 12px; bottom: 12px; padding: 8px 14px; }
  .section-eyebrow, .news-eyebrow { font-size: 36px; }
}

/* ========================================
   FOOTER（参考サイト準拠：ベージュ地・角丸・罫線区切り）
======================================== */
#footer {
  background: var(--color-pale-deep);
  margin-top: 0;
  border-top: 1px solid var(--color-border);
}
.footer-map-wide-wrap { background: var(--color-bg); padding-bottom: 0; }
.footer-map-wide { aspect-ratio: 21 / 5; }
.footer-map-walk-badge {
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  bottom: 28px;
}
.footer-map-walk-num { font-weight: 500; font-size: 26px; }

.footer-top { background: var(--color-pale-deep); }
/* 左＝医院情報、右＝カレンダー＋サイトナビの2段。
   カレンダー下の余白にナビを収めてフッター全体を短くする */
.footer-top-inner {
  max-width: calc(var(--content-w) + var(--pad-x) * 2);
  padding-block: clamp(40px, 4.5vw, 68px) clamp(28px, 3vw, 44px);
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(24px, 3vw, 48px) clamp(32px, 4vw, 64px);
  align-items: start;
}
.footer-info-col { grid-column: 1; grid-row: 1 / span 2; }
.footer-map-col { grid-column: 2; grid-row: 1; }
.footer-nav-section { grid-column: 2; grid-row: 2; border-top: none; }
.footer-nav-inner { max-width: none; margin: 0; padding: 0; gap: clamp(20px, 3vw, 48px); }
.footer-addr { margin-top: 26px; font-size: 16px; color: var(--color-text); line-height: 1.9; }
.footer-tel { margin-top: 12px; }
.footer-tel-label { font-weight: 500; color: var(--color-accent); }
.footer-tel-num { font-weight: 500; font-size: 30px; color: var(--color-accent); }
.footer-hours-table {
  margin-top: 26px;
  font-size: 16px;
  max-width: 100%;
  background: #fff;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.footer-hours-table th, .footer-hours-table td { padding: 10px 8px; font-weight: 500; }
.f-open { color: var(--color-accent); }
.f-close { color: var(--color-border); }
.footer-note { font-size: 16px; }
.footer-reserve-btn { margin-top: 32px; }

.footer-map-col {
  border: none;
  border-radius: var(--radius-img);
  background: #fff;
  overflow: hidden;
}
.footer-map-col iframe { min-height: 300px; }

.footer-nav-item { font-size: 15px; }
.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-copy { font-weight: 400; font-size: 12px; }

/* フッター最下部の装飾：院名英字を横へ流す
   参考：yard-dental.com の .footer-deco__text（巨大英字・淡色・nowrap）。
   参考サイトはJSでスクロールに連動させているが、ここはCSSアニメーションの
   シームレスマーキー（同じ文字列を3組並べ、1組ぶん動かして原点に戻す）。 */
.footer-marquee {
  overflow: hidden;
  /* 下は詰めて、文字のベースラインをページ下端に合わせる */
  padding-block: clamp(8px, 1.2vw, 18px) 0;
}
.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footerMarquee 60s linear infinite;
}
.footer-marquee-track span {
  flex: none;
  padding-right: 0.35em;
  font-family: var(--font-en);
  /* 参考サイトと同じ、太いウェイト＋地色すれすれの濃度 */
  font-weight: 700;
  font-size: clamp(40px, 10vw, 140px);
  letter-spacing: 0.02em;
  /* 行の下側の余白（ディセンダ領域）を切り落として下端で揃える */
  line-height: 1;
  margin-bottom: -0.2em;
  white-space: nowrap;
  color: var(--color-ghost-deep);
}
@keyframes footerMarquee {
  to { transform: translateX(-33.3333%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-marquee-track { animation: none; }
}

@media (max-width: 860px) {
  .footer-top-inner { grid-template-columns: 1fr; }
  .footer-info-col, .footer-map-col, .footer-nav-section { grid-column: 1; grid-row: auto; }
}

/* ========================================
   縦組みの英字ゴーストテキスト（参考サイトの装飾。data-ghost属性から生成）
   ※参考サイトはSVG画像だが流用不可のため、CSSの縦書きテキストで再現
======================================== */
[data-ghost] { position: relative; overflow: hidden; }
[data-ghost] > .container,
[data-ghost] > .flow-inner { position: relative; z-index: 1; }
[data-ghost]::after {
  content: attr(data-ghost);
  position: absolute;
  z-index: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(80px, 9vw, 140px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--color-ghost);
  pointer-events: none;
  user-select: none;
}
/* 矯正メニュー：左カラムの空き（ボタンの下）に置く */
#menu::after {
  left: var(--pad-x);
  bottom: clamp(40px, 6vw, 90px);
}
/* 治療の流れ：見出しが中央寄せで左右が空くため、右側に全文字を見せる */
#flow::after {
  color: #E7DACA;   /* ベージュ地なので一段濃く */
  right: var(--pad-x);
  top: clamp(20px, 3vw, 44px);
  font-size: clamp(64px, 7.5vw, 108px);
}

@media (max-width: 1180px) {
  #menu::after { bottom: auto; top: clamp(24px, 4vw, 48px); left: auto; right: 8px; }
}
@media (max-width: 900px) {
  [data-ghost]::after { font-size: clamp(64px, 14vw, 92px); opacity: .8; }
  #flow::after { right: 8px; }
}


/* ========================================
   線画の植物イラスト（イラストAC No.2532881 の丸葉ユーカリ）
   透過PNGの線部分を mask に使い、色はCSS変数から当てる
   （素材差し替え時は mask-image の URL を変えるだけ）
======================================== */
.about-photo-outer { position: relative; }
.about-photo-outer::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background: var(--color-accent-light);
  -webkit-mask-image: url("../img/plant-eucalyptus.png");
  mask-image: url("../img/plant-eucalyptus.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  aspect-ratio: 587 / 1889;
}

/* ごあいさつ：院長写真の左にかかる大きめのアクセント
   下端は写真の下辺に合わせる（実績バッジの数字に枝が重ならないように） */
.about-photo-outer::before {
  z-index: 1;
  opacity: .9;
  width: clamp(110px, 13.5vw, 205px);
  left: clamp(-80px, -4.5vw, -60px);
  bottom: clamp(160px, 14vw, 210px);
}

@media (max-width: 900px) {
  .about-photo-outer::before { width: 84px; left: -26px; bottom: 150px; opacity: .8; }
}
