/* =========================================================
   こばやし接骨院 共通スタイル
   色を変えたいときは、下の「色の設定」だけ直せば全ページに反映されます。
   ========================================================= */

/* ---------- 色・文字の設定 ---------- */
:root {
  --charcoal: #26282b;       /* 基調：チャコールグレー */
  --charcoal-2: #34373b;     /* チャコール（少し明るい） */
  --beige: #c8a678;          /* 差し色：木目ベージュ */
  --beige-light: #efe6da;    /* ベージュ（淡い背景用） */
  --white: #ffffff;
  --text: #1f2124;           /* 本文の文字色 */
  --text-sub: #4a4d52;       /* 補足の文字色 */
  --line: #d9d4cc;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Oswald", "Arial Narrow", sans-serif;

  --header-h: 64px;
  --bar-h: 72px;             /* スマホ下部の固定ボタンの高さ */
  --radius: 4px;
  --max: 1080px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  /* スマホでは下部の固定ボタンが本文を隠さないよう余白を取る */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.35; margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--beige); color: var(--charcoal); padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 3px solid var(--beige);
}
.site-header .container { max-width: 1360px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { text-decoration: none; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.1; }
.logo-ja { font-size: 20px; font-weight: 900; letter-spacing: 0.08em; }
.logo-en {
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.28em;
  color: var(--beige); margin-top: 4px;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  appearance: none; border: 1px solid rgba(255,255,255,.35); background: transparent;
  color: var(--white); width: 48px; height: 44px; border-radius: var(--radius);
  font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.menu-toggle span.bars { display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor; margin: 6px 0 4px; }

.global-nav {
  display: none;
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--charcoal); border-bottom: 3px solid var(--beige);
}
.global-nav.is-open { display: block; }
.global-nav ul { list-style: none; margin: 0; padding: 8px 20px 20px; }
.global-nav a {
  display: block; padding: 14px 4px; text-decoration: none; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.global-nav a[aria-current="page"] { color: var(--beige); }

/* ---------- ボタン（予約・LINE） ----------
   計測用：予約ボタンは .js-cta-reserve、LINEボタンは .js-cta-line を必ず付ける。
   後で Googleアナリティクス等を入れるときは、このクラス名でクリックを数えられます。 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 12px 24px; border-radius: var(--radius);
  text-decoration: none; font-weight: 900; font-size: 17px; letter-spacing: .04em;
  text-align: center; line-height: 1.3; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--beige); outline-offset: 3px; }
.btn-reserve { background: var(--beige); color: var(--charcoal); }
.btn-reserve:hover { background: #d6b88f; }
.btn-line { background: var(--white); color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn-line.on-dark { background: transparent; color: var(--white); border-color: var(--white); }
.btn small { display: block; font-size: 12px; font-weight: 700; }
.btn .arrow { font-family: var(--font-en); }

.header-reserve { display: none; white-space: nowrap; }   /* PCで表示 */

/* スマホ下部の固定ボタン */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(38,40,43,.96);
  border-top: 2px solid var(--beige);
}
.fixed-cta .btn { min-height: 54px; padding: 6px 8px; font-size: 15px; flex-direction: column; gap: 0; }
.fixed-cta .btn-line { border-color: var(--white); background: transparent; color: var(--white); }

/* ---------- 見出しの共通デザイン ---------- */
.section { padding: 72px 0; position: relative; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-beige { background: var(--beige-light); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 14px; font-weight: 500; letter-spacing: .26em;
  color: #8a6a3f; text-transform: uppercase; margin-bottom: 14px;
}
.section-dark .label { color: var(--beige); }
.label::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-30deg); }
.label .num { font-weight: 700; }

.section-title {
  font-size: clamp(26px, 6.4vw, 40px); font-weight: 900; letter-spacing: .03em; margin-bottom: 28px;
}
.text-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--beige); padding-bottom: 4px;
}
.text-link .arrow { font-family: var(--font-en); color: #8a6a3f; transition: transform .15s; }
.section-dark .text-link .arrow { color: var(--beige); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- 写真の仮置き（実写真が届くまで） ---------- */
.ph {
  position: relative; background: #8c8f94;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--white); font-weight: 700; font-size: 15px; padding: 16px;
}
.ph span { background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 2px; }

/* ---------- トップ：ファーストビュー ---------- */
.hero {
  position: relative; color: var(--white); background: var(--charcoal);
  min-height: calc(100svh - var(--header-h) - var(--bar-h));
  display: flex; align-items: flex-end; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo .ph { width: 100%; height: 100%; background-color: #5b5e63; }
.hero-photo .ph span { position: absolute; top: 12px; right: 12px; left: 12px; font-size: 12px; text-align: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { /* 写真の上に重ねる暗い膜（文字を読みやすくする） */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,40,43,.15) 0%, rgba(38,40,43,.55) 45%, rgba(38,40,43,.95) 100%);
}
.hero-stripe { /* 斜めのベージュライン */
  position: absolute; z-index: 1; right: -40px; top: 15%; width: 55%; height: 10px;
  background: var(--beige); transform: skewY(-12deg); opacity: .9;
}
.hero-inner { position: relative; z-index: 2; padding: 88px 20px 96px; width: 100%; max-width: var(--max); margin: 0 auto; }
.hero-tag {
  font-family: var(--font-en); font-size: 13px; letter-spacing: .3em; color: var(--beige);
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.hero-tag::before { content: ""; width: 36px; height: 3px; background: var(--beige); transform: skewX(-30deg); }
.hero h1 {
  font-size: clamp(28px, 7.8vw, 72px); font-weight: 900; line-height: 1.22; letter-spacing: .02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero h1 .accent { color: var(--beige); }
.hero-sub { font-size: 17px; margin: 20px 0 22px; font-weight: 500; }
.hero-info {
  display: inline-block; border-left: 4px solid var(--beige); padding: 6px 0 6px 14px; margin-bottom: 26px;
}
.hero-info .hours span, .hours-main span, .footer-hours span { white-space: nowrap; }
.hero-info .hours { font-weight: 900; font-size: 17px; letter-spacing: .04em; }
.hero-info .place { display: flex; align-items: center; gap: 6px; font-size: 15px; margin-top: 4px; }
.hero-info .place svg { flex: none; }
.hero-cta { display: grid; gap: 12px; max-width: 520px; }

/* ---------- トップ：こんな方のための ---------- */
.target-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.target-list li {
  display: flex; gap: 16px; align-items: center;
  background: var(--white); border-left: 4px solid var(--charcoal); padding: 16px 18px; font-weight: 700;
  box-shadow: 0 1px 0 var(--line);
}
.target-list .no { font-family: var(--font-en); font-size: 22px; font-weight: 700; color: #8a6a3f; min-width: 30px; }

/* ---------- トップ：週1回の理由 ---------- */
.big-number {
  font-family: var(--font-en); font-weight: 700; line-height: 1; color: var(--beige);
  font-size: clamp(72px, 22vw, 140px); letter-spacing: -.02em; margin-bottom: 8px;
}
.big-number small { font-family: var(--font-ja); font-size: .22em; font-weight: 900; margin-left: 8px; color: var(--white); letter-spacing: .04em; }
.lead { font-size: 17px; max-width: 40em; }

/* ---------- トップ：院長 ---------- */
.director { display: grid; gap: 28px; }
.director .ph { aspect-ratio: 4 / 3; }
.director-facts { display: flex; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.director-facts div { flex: 1; padding: 14px 8px; text-align: center; }
.director-facts div + div { border-left: 1px solid var(--line); }
.director-facts dt { font-size: 13px; color: var(--text-sub); font-weight: 700; }
.director-facts dd { margin: 0; font-family: var(--font-en); font-size: 38px; font-weight: 700; line-height: 1.1; }
.director-facts dd small { font-family: var(--font-ja); font-size: 14px; font-weight: 700; margin-left: 2px; }

/* ---------- トップ：流れ ---------- */
.flow { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.flow li {
  position: relative; background: var(--charcoal-2); padding: 18px 18px 18px 92px; min-height: 76px;
  display: flex; align-items: center; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.flow li::before {
  counter-increment: step; content: "STEP\A" counter(step, decimal-leading-zero);
  white-space: pre; position: absolute; left: 0; top: 0; bottom: 0; width: 74px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--beige); color: var(--charcoal);
  font-family: var(--font-en); font-size: 13px; line-height: 1.15; letter-spacing: .1em; font-weight: 700;
}

/* ---------- トップ：営業時間・アクセス ---------- */
.hours-box { border: 2px solid var(--charcoal); background: var(--white); padding: 24px 20px; }
.hours-main { font-size: clamp(18px, 4.8vw, 24px); font-weight: 900; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 3px solid var(--beige); }
.address { font-weight: 700; }

/* ---------- 締めの予約エリア ---------- */
.cta-band { background: var(--charcoal); color: var(--white); padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; left: -10%; right: -10%; top: 0; height: 8px; background: var(--beige); transform: skewY(-2deg); transform-origin: left;
}
.cta-band .buttons { display: grid; gap: 12px; max-width: 520px; }

/* ---------- フッター ---------- */
.site-footer { background: #1b1c1e; color: #e6e6e6; padding: 48px 0 32px; font-size: 15px; }
.footer-name { font-size: 20px; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.footer-hours { font-weight: 700; color: var(--beige); margin: 10px 0 20px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.footer-nav a { display: block; padding: 8px 0; text-decoration: none; }
.footer-nav a:hover, .footer-sns a:hover { color: var(--beige); }
.footer-sns a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 0; }
.copyright { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-en); font-size: 12px; letter-spacing: .12em; color: #a9a9a9; }

/* =========================================================
   PC（幅 900px 以上）
   ========================================================= */
@media (min-width: 900px) {
  body { padding-bottom: 0; font-size: 17px; }
  :root { --header-h: 80px; }
  .header-reserve { display: inline-flex; min-height: 48px; padding: 8px 18px; font-size: 15px; }
  .fixed-cta { display: none; }

  .section { padding: 112px 0; }
  .hero { min-height: calc(100vh - var(--header-h)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 0 100%); }
  .hero-inner { padding: 80px 40px 150px; }
  .hero-cta { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .hero-stripe { top: 30%; width: 45%; height: 14px; }
  .target-list { grid-template-columns: 1fr 1fr; }
  .director { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow li { padding: 96px 18px 22px; align-items: flex-start; min-height: 200px; }
  .flow li::before { right: 0; width: auto; bottom: auto; height: 74px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .cta-band .buttons { grid-template-columns: 1fr 1fr; max-width: 680px; }
  .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
}

/* 横幅が十分あるPCだけ、メニューを横並びにする */
@media (min-width: 1440px) {
  .menu-toggle { display: none; }
  .global-nav { display: block; position: static; background: none; border: 0; }
  .global-nav ul { display: flex; gap: 2px; padding: 0; }
  .global-nav a { border: 0; padding: 8px 10px; font-size: 14px; white-space: nowrap; }
  .global-nav a:hover { color: var(--beige); }
  .global-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--beige); }
}



/* =========================================================
   かっこよさ強化（2026-11-08 院長指示「もっとかっこよく」）
   ========================================================= */

/* 見出しを少し前傾させて、スピード感を出す */
.hero h1, .section-title { transform: skewX(-7deg); transform-origin: left bottom; }
.hero h1 { font-size: clamp(30px, 8.2vw, 88px); line-height: 1.16; letter-spacing: 0; }
.section-title { font-size: clamp(28px, 7vw, 48px); line-height: 1.25; }

/* 背景の大きな英字（輪郭だけ） */
.section, .hero { overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.bg-word {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-en); font-weight: 700; line-height: .8; white-space: nowrap;
  font-size: clamp(110px, 34vw, 300px); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(38,40,43,.10);
  right: -4%; top: 18px; transform: skewX(-7deg);
}
.section-dark .bg-word { -webkit-text-stroke-color: rgba(200,166,120,.16); }
.section .container > .bg-word { right: -24px; top: -40px; }
.hero-word {
  z-index: 1; top: auto; bottom: 60px; right: -6%;
  -webkit-text-stroke: 1.5px rgba(200,166,120,.28); font-size: clamp(120px, 40vw, 380px);
}

/* 二本目の斜めライン */
.hero-stripe { height: 12px; }
.hero-stripe-2 { top: calc(15% + 26px); width: 38%; height: 4px; opacity: .7; }

/* ボタンを斜めカットに */
.btn { border-radius: 0; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-left: 28px; padding-right: 28px; }
.btn-line, .btn-line.on-dark { border: 0; box-shadow: inset 0 0 0 2px currentColor; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(4px); }
.fixed-cta .btn { clip-path: none; }
.fixed-cta .btn-line { box-shadow: inset 0 0 0 2px var(--white); }

/* 流れる帯 */
.ticker {
  background: var(--beige); color: var(--charcoal); overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--charcoal); border-bottom: 3px solid var(--charcoal);
  margin-top: -1px; position: relative; z-index: 3;
}
.ticker-track { display: inline-flex; gap: 40px; padding: 12px 0; animation: ticker 32s linear infinite; }
.ticker-track span { font-weight: 900; font-size: 16px; letter-spacing: .06em; }
.ticker-track .en { font-family: var(--font-en); font-weight: 700; letter-spacing: .24em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 黒いセクションの上下を斜めに切る */
.slant { clip-path: polygon(0 32px, 100% 0, 100% calc(100% - 32px), 0 100%); margin: -32px 0; padding-top: 104px; padding-bottom: 104px; }

/* 対象者リスト：番号を大きく */
.target-list li { border-left-width: 6px; padding: 18px 20px; font-size: 17px; }
.target-list .no { font-size: 30px; color: transparent; -webkit-text-stroke: 1.2px #8a6a3f; min-width: 40px; }

/* 院長：数字をさらに大きく */
.director-facts dd { font-size: clamp(48px, 13vw, 64px); }
.director-facts { border-top: 3px solid var(--charcoal); }

/* 流れ：番号を大きな輪郭数字に */
.flow li::before { font-size: 26px; line-height: 1; content: counter(step, decimal-leading-zero); }

@media (min-width: 900px) {
  .slant { clip-path: polygon(0 64px, 100% 0, 100% calc(100% - 64px), 0 100%); margin: -64px 0; padding-top: 176px; padding-bottom: 176px; }
  .hero-stripe-2 { top: calc(30% + 34px); width: 30%; }
  .hero-word { bottom: 110px; }
  .flow li::before { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .text-link .arrow, .btn .arrow { transition: none; }
  .ticker-track { animation: none; }
}

/* 微調整：スマホで見出しが折り返しすぎないように／枠線ボタンは四角のまま */
.hero h1 { font-size: clamp(28px, 7.3vw, 88px); }
.btn-line, .btn-line.on-dark { clip-path: none; }
.hero-cta .btn, .cta-band .btn { white-space: nowrap; }
@media (min-width: 900px) {
  .hero-cta, .cta-band .buttons { max-width: 720px; }
}

/* 実写真の表示 */
.hero-photo img { object-position: 60% 40%; }
.hero::after { background: linear-gradient(180deg, rgba(38,40,43,.35) 0%, rgba(38,40,43,.62) 40%, rgba(38,40,43,.96) 100%); }
.photo-frame { position: relative; margin-top: 8px; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame::after { /* ベージュの斜めライン */
  content: ""; position: absolute; left: -8px; bottom: -8px; width: 45%; height: 8px; background: var(--beige); transform: skewX(-30deg);
}
.director .photo-frame { order: -1; }
.hero-badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 18px;
  font-weight: 900; font-size: 15px; line-height: 1.5;
  border: 1px solid rgba(200,166,120,.7); padding: 8px 14px; background: rgba(38,40,43,.55);
}
.hero-badge .en { font-family: var(--font-en); font-size: 12px; letter-spacing: .24em; color: var(--beige); }
.parking { font-weight: 700; }
.two-col > div { min-width: 0; }
@media (min-width: 900px) {
  .director .photo-frame { order: 0; }
  .hero-badge { font-size: 17px; }
}

/* 営業時間（新患／2回目以降の2段表示） */
.hours-split { margin: 0 0 4px; display: grid; gap: 4px; }
.hours-split div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.hours-split dt { font-size: 12px; font-weight: 900; background: var(--beige); color: var(--charcoal); padding: 1px 8px; letter-spacing: .06em; }
.hours-split dd { margin: 0; font-weight: 900; font-size: 16px; }
.hours-split dd small { font-weight: 500; font-size: 13px; margin-left: 4px; }
.hours-split dd span, .hours-table dd span { white-space: nowrap; }
.hours-note { font-weight: 900; font-size: 14px; color: var(--beige); }
.hours-table { margin: 0 0 16px; display: grid; gap: 14px; }
.hours-table div { border-left: 4px solid var(--beige); padding-left: 12px; }
.hours-table dt { font-size: 13px; font-weight: 900; color: #8a6a3f; }
.hours-table dd { margin: 0; font-weight: 900; font-size: 18px; line-height: 1.6; }
.hours-table dd small { font-weight: 500; font-size: 15px; color: var(--text-sub); }

/* =========================================================
   下層ページ（初めての方へ・当院について など）
   ========================================================= */
.page-hero {
  position: relative; background: var(--charcoal); color: var(--white); overflow: hidden;
  padding: 72px 0 64px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 8vw, 56px); font-weight: 900; transform: skewX(-7deg); transform-origin: left bottom; }
.narrow { max-width: 760px; }
.lead { font-size: 18px; }

/* 初めての方へ：流れ */
.step-list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
.step-list li { counter-increment: s; position: relative; background: var(--white); border: 2px solid var(--charcoal); padding: 20px 20px 18px 84px; }
.step-list li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; bottom: 0; width: 64px;
  display: flex; align-items: center; justify-content: center; background: var(--charcoal); color: var(--beige);
  font-family: var(--font-en); font-size: 28px; font-weight: 700;
}
.step-list h2 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.step-list p { margin: 0; }
.page-cta { display: grid; gap: 12px; max-width: 520px; margin-top: 20px; }
.page-cta .btn { white-space: nowrap; }

/* 当院について */
.story p { font-size: 17px; }
.strengths { list-style: none; margin: 0; padding: 0; counter-reset: k; display: grid; gap: 12px; }
.strengths li {
  counter-increment: k; display: flex; gap: 18px; align-items: center; font-weight: 700; font-size: 17px;
  border-bottom: 1px solid rgba(255,255,255,.14); padding: 14px 0;
}
.strengths li::before {
  content: counter(k, decimal-leading-zero); font-family: var(--font-en); font-weight: 700; font-size: 34px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--beige); min-width: 48px;
}
.profile { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--charcoal); }
.profile div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 900; color: #8a6a3f; font-size: 15px; }
.profile dd { margin: 0; font-weight: 700; }

/* 施術・ケアの考え方 */
.policy-list { display: grid; gap: 40px; }
.policy { position: relative; padding-left: 0; border-top: 3px solid var(--charcoal); padding-top: 18px; }
.policy-no { font-family: var(--font-en); font-weight: 700; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #8a6a3f; display: block; margin-bottom: 6px; }
.policy h2 { font-size: clamp(22px, 5.6vw, 30px); font-weight: 900; margin-bottom: 12px; transform: skewX(-7deg); transform-origin: left bottom; }

/* アクセス */
.info-list { margin: 0; border-top: 3px solid var(--charcoal); }
.info-list div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 14px; font-weight: 900; color: #8a6a3f; margin-bottom: 4px; }
.info-list dd { margin: 0; font-weight: 500; }
.info-list .strong span, .contact-info .strong span { white-space: nowrap; }
.strong { font-weight: 900; }
.map { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border: 2px solid var(--charcoal); background: #ddd; margin-bottom: 16px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Q&A */
.qa { margin: 0; display: grid; gap: 14px; }
.qa-item { border: 2px solid var(--charcoal); background: var(--white); }
.qa-item dt { display: flex; gap: 12px; align-items: flex-start; background: var(--charcoal); color: var(--white); font-weight: 900; padding: 14px 16px; font-size: 17px; }
.qa-item dd { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; }
.qa .q, .qa .a { font-family: var(--font-en); font-weight: 700; font-size: 22px; line-height: 1.2; flex: none; width: 22px; }
.qa .q { color: var(--beige); }
.qa .a { color: #8a6a3f; }

/* ご予約・お問い合わせ */
.contact-buttons { display: grid; gap: 14px; margin: 28px 0; }
.btn-xl { min-height: 72px; font-size: 17px; }
@media (min-width: 600px) { .btn-xl { font-size: 19px; } }
.contact-info { border-top: 3px solid var(--charcoal); padding-top: 16px; }

@media (min-width: 900px) {
  .page-hero { padding: 120px 0 110px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); }
  .page-cta { grid-template-columns: 1fr 1fr; max-width: 720px; }
  .policy-list { gap: 56px; }
}
.hours-night { font-size: 14px; font-weight: 700; color: var(--beige); margin-top: 2px; }

/* スポーツ初回コース・料金表・電話（修正指示書 2026-11-08） */
.sports-course { background: var(--white); border-top: 6px solid var(--beige); }
.course-name { font-weight: 900; font-size: 20px; border-left: 6px solid var(--charcoal); padding-left: 12px; line-height: 1.5; }
.course-name span { display: block; font-size: 15px; color: #8a6a3f; }
.sports-course .btn { white-space: nowrap; margin-top: 8px; }
.price-title { font-size: 18px; font-weight: 900; margin: 28px 0 10px; }
.price-table { width: 100%; border-collapse: collapse; border-top: 3px solid var(--charcoal); background: var(--white); }
.price-table th, .price-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { font-weight: 700; font-size: 15px; }
.price-table td { font-weight: 900; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.price-note { font-size: 15px; margin-top: 12px; }
.director-intro { font-size: 16px; margin: 20px 0; }
.footer-tel a, .info-list a, .contact-info a, .parking a { font-weight: 900; }
.course-name b { white-space: nowrap; font-weight: 900; }

/* 縦長写真（院長・外観）と地図の横並び */
.photo-frame.portrait img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.map-row { display: grid; gap: 20px; margin-bottom: 16px; }
.map-row .map { margin-bottom: 0; }
@media (min-width: 900px) {
  .map-row { grid-template-columns: 3fr 2fr; align-items: start; }
  .two-col .photo-frame.portrait { max-width: 420px; justify-self: center; }
}

/* =========================================================
   デザイン第2版「もっとかっこよく」（2026-11-10）
   文言は変えず、見せ方だけを強化
   ========================================================= */

/* --- ファーストビュー：写真を締まった色に、見出しを大きく --- */
.hero-photo img { filter: grayscale(.35) contrast(1.12) brightness(.85); }
.hero::after {
  background:
    linear-gradient(90deg, rgba(26,27,30,.92) 0%, rgba(26,27,30,.55) 55%, rgba(26,27,30,.15) 100%),
    linear-gradient(180deg, rgba(26,27,30,0) 55%, rgba(26,27,30,.9) 100%);
}
.hero::before { /* うっすら粒子感 */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero h1 { font-size: clamp(34px, 9.4vw, 112px); line-height: 1.08; letter-spacing: -.01em; }
.hero h1 .accent { display: inline-block; position: relative; }
.hero h1 .accent::after { /* 「週1回見続ける」の下に走るライン */
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--beige);
  transform-origin: left; transform: scaleX(0); animation: swipe .7s .9s cubic-bezier(.2,.8,.2,1) forwards; opacity: .9;
}
.hero h1 .accent { color: var(--white); }
.hero-side {
  position: absolute; z-index: 2; right: 18px; top: 50%; margin: 0;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center; white-space: nowrap;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .4em; color: rgba(255,255,255,.55);
  display: none;
}
.hero-badge { background: rgba(200,166,120,.14); border-color: var(--beige); }

/* 読み込み時の動き（1回だけ） */
@keyframes rise { from { opacity: 0; transform: translateY(28px) skewX(-7deg); } to { opacity: 1; transform: translateY(0) skewX(-7deg); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes swipe { to { transform: scaleX(1); } }
@keyframes stripe-in { from { transform: translateX(110%) skewY(-12deg); } to { transform: translateX(0) skewY(-12deg); } }
.hero h1 { animation: rise .8s .1s cubic-bezier(.2,.8,.2,1) both; }
.hero-tag, .hero-sub, .hero-badge, .hero-info, .hero-cta { animation: fadeup .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-tag { animation-delay: 0s; } .hero-sub { animation-delay: .35s; } .hero-badge { animation-delay: .45s; }
.hero-info { animation-delay: .55s; } .hero-cta { animation-delay: .65s; }
.hero-stripe { animation: stripe-in .9s .2s cubic-bezier(.2,.8,.2,1) both; }

/* --- 流れる帯：黒地に傾けて、写真の下端に重ねる --- */
.ticker {
  background: var(--charcoal); color: var(--beige); border: 0;
  transform: rotate(-1.6deg); margin: -26px -12px 0; padding: 4px 0; z-index: 4;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.ticker-track { padding: 14px 0; animation-duration: 40s; }
.ticker-track span { font-size: 17px; }
.ticker-track .en { color: var(--white); }

/* --- 見出しを大きく --- */
.section-title { font-size: clamp(30px, 7.6vw, 60px); line-height: 1.18; letter-spacing: -.005em; }
.label { font-size: 15px; }

/* --- 写真：斜めに切って、ベージュの影を重ねる --- */
.photo-frame { isolation: isolate; }
.photo-frame img { clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.photo-frame::before {
  content: ""; position: absolute; inset: 14px -10px -14px 10px; z-index: -1;
  background: var(--beige); clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); opacity: .9;
}
.photo-frame::after { display: none; }
.photo-frame.portrait img, .photo-frame.portrait::before { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }

/* --- スポーツ初回コース：黒いパネルに巨大な「60」 --- */
.sports-course { border-top: 0; overflow: hidden; }
.sports-course .label { color: var(--beige); }
.sports-course .course-name { border-left-color: var(--beige); }
.sports-course .course-name span { color: var(--beige); }
.giant-num {
  position: absolute; z-index: 0; right: -2%; top: -6%; pointer-events: none;
  font-family: var(--font-en); font-weight: 700; line-height: .8; letter-spacing: -.04em;
  font-size: clamp(200px, 58vw, 520px); color: transparent; -webkit-text-stroke: 2px rgba(200,166,120,.22);
  transform: skewX(-7deg);
}
.giant-num small { font-size: .2em; letter-spacing: .1em; -webkit-text-stroke: 1.5px rgba(200,166,120,.35); margin-left: .1em; }

/* --- 週1回の理由：白地に巨大な「1」 --- */
.why .big-number { color: var(--charcoal); font-size: clamp(120px, 34vw, 240px); }
.why .big-number small { color: #8a6a3f; }
.why .lead { color: var(--text); }

/* --- 院長：黒地に数字を金色で --- */
.director-sec .director-facts { border-top-color: var(--beige); border-bottom-color: rgba(255,255,255,.18); }
.director-sec .director-facts div + div { border-left-color: rgba(255,255,255,.18); }
.director-sec .director-facts dt { color: rgba(255,255,255,.7); }
.director-sec .director-facts dd { color: var(--beige); font-size: clamp(56px, 16vw, 88px); }
.director-sec .director-facts dd small { color: var(--white); }

/* --- 流れ：白地にチャコールのカード --- */
.flow-sec .flow li { color: var(--white); background: var(--charcoal); }
.flow-sec .bg-word { -webkit-text-stroke-color: rgba(38,40,43,.08); }

/* --- ボタン：光が走る --- */
.btn-reserve { position: relative; overflow: hidden; }
.btn-reserve::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn-reserve:hover::after { left: 120%; }

/* --- 下層ページの見出し帯も同じ質感に --- */
.page-hero-bg { filter: grayscale(.35) contrast(1.1); opacity: .45; }
.page-hero h1 { font-size: clamp(34px, 9vw, 72px); }

@media (min-width: 900px) {
  .hero-side { display: block; }
  .hero-inner { padding-bottom: 170px; }
  .ticker { margin-top: -60px; }
  .sports-course .two-col { grid-template-columns: 1.1fr .9fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-tag, .hero-sub, .hero-badge, .hero-info, .hero-cta, .hero-stripe { animation: none; }
  .hero h1 .accent::after { animation: none; transform: scaleX(1); }
  .btn-reserve::after { display: none; }
}
/* 第2版の微調整 */
.hero h1 { font-size: clamp(28px, 7.3vw, 92px); }
.hero h1 .line { white-space: nowrap; }
.sports-course.section-dark { background: var(--charcoal); }

/* 交通事故の施術について（トップ・v5） */
.accident-box { background: var(--white); border-left: 6px solid var(--charcoal); padding: 22px 22px 18px; max-width: 760px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.accident-box p { font-size: 17px; }
/* 傾けた帯などが画面の横にはみ出して横スクロールしないように */
html, body { overflow-x: clip; }
