/* ============================================
   鍼の森 — 共通スタイル
   和モダン / 墨緑 × ゴールド / 高級感
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700;900&family=Shippori+Mincho:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --ink: #0e1a14;          /* 墨緑（最も濃い） */
  --forest: #16291f;       /* 森の深緑 */
  --forest-2: #1f3a2c;     /* やや明るい緑 */
  --moss: #4a6b53;         /* 苔 */
  --sage: #8aa593;         /* 淡い緑灰 */
  --paper: #f4f1e9;        /* 生成りの紙 */
  --paper-2: #ece7da;      /* 紙の影 */
  --cream: #fbfaf5;        /* オフホワイト */
  --gold: #b08d4f;         /* 落ち着いた金 */
  --gold-light: #cdab6e;   /* 明るい金 */
  --gold-deep: #8a6d38;    /* 深い金 */
  --text: #232b26;         /* 本文 */
  --text-light: #5a655d;   /* 補助テキスト */
  --line: rgba(176,141,79,0.25);

  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --latin: 'Cormorant Garamond', serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== 共通レイアウト ===== */
.wrap { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.section { padding: clamp(60px, 9vw, 130px) 0; }

.eyebrow {
  font-family: var(--latin);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.2em;
  display: inline-block;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.6; letter-spacing: 0.08em; }

.h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: var(--forest);
  margin-bottom: 0.7em;
}
.lead { font-size: 1.05rem; color: var(--text-light); max-width: 720px; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 500; letter-spacing: 0.08em;
  padding: 1.05em 2.4em; border-radius: 2px; cursor: pointer;
  transition: all 0.4s var(--ease); border: 1px solid transparent;
  font-size: 0.98rem;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--cream);
  box-shadow: 0 8px 28px rgba(138,109,56,0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(138,109,56,0.45); }
.btn-outline {
  background: transparent; color: var(--forest);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06); color: var(--cream);
  border: 1px solid rgba(205,171,110,0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ===== ヘッダー ===== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(14,26,20,0.92);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: baseline; gap: 0.7em; color: var(--cream); }
.logo .mark { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.15em; }
.logo .mark .gold { color: var(--gold-light); }
.logo .sub { font-family: var(--latin); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--sage); text-transform: uppercase; }
/* 画像ロゴ */
.logo-img { display: block; height: 46px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .logo-img { height: 38px; }
@media (max-width: 600px) { .logo-img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 2.2em; }
.nav a { color: var(--cream); font-size: 0.92rem; letter-spacing: 0.06em; position: relative; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold-light); transition: width 0.35s var(--ease); }
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }
.nav .nav-cta { padding: 0.7em 1.6em; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); border-radius: 2px; color: var(--ink); font-weight: 600; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { color: var(--ink); transform: translateY(-2px); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.menu-toggle span { width: 26px; height: 2px; background: var(--cream); transition: all 0.3s; }

/* ===== モバイルナビ ===== */
.mobile-nav {
  position: fixed; inset: 0; background: var(--ink); z-index: 1050;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.6em;
  opacity: 0; visibility: hidden; transition: all 0.45s var(--ease);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a { color: var(--cream); font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.1em; }
.mobile-nav a.cta { color: var(--gold-light); border: 1px solid var(--gold); padding: 0.6em 2em; border-radius: 2px; }
.mobile-nav .close { position: absolute; top: 28px; right: 7%; font-size: 2rem; color: var(--sage); background: none; border: none; cursor: pointer; }

/* ===== フッター ===== */
.site-footer { background: var(--ink); color: var(--sage); padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .mark { font-family: var(--serif); font-size: 1.8rem; color: var(--cream); letter-spacing: 0.15em; }
.footer-brand .mark .gold { color: var(--gold-light); }
.footer-brand p { margin-top: 1.2em; font-size: 0.9rem; line-height: 1.9; max-width: 320px; }
.footer-col h4 { color: var(--cream); font-size: 1rem; margin-bottom: 1.3em; letter-spacing: 0.1em; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.9em; }
.footer-col a { font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; font-size: 0.8rem; color: var(--moss); flex-wrap: wrap; gap: 12px; }
.footer-bottom .latin { font-family: var(--latin); letter-spacing: 0.2em; }

/* ===== 予約バー（追従） ===== */
.book-bar {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 900;
  display: none; background: rgba(14,26,20,0.96); backdrop-filter: blur(10px);
  padding: 12px 16px; gap: 10px; border-top: 1px solid var(--line);
}
.book-bar a { flex: 1; text-align: center; padding: 0.95em; border-radius: 2px; font-weight: 600; font-size: 0.92rem; }
.book-bar .tel { background: transparent; color: var(--gold-light); border: 1px solid var(--gold); }
.book-bar .reserve { background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: var(--ink); }

/* ===== 汎用アニメ ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .book-bar { display: flex; }
  body { padding-bottom: 66px; }
}

/* ============================================
   症状ページ固有スタイル
   ============================================ */
.sym-hero {
  position: relative; padding: 180px 0 90px;
  background: linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--cream); overflow: hidden;
}
.sym-hero::before { content: attr(data-kanji); position: absolute; right: 2%; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 22rem; color: rgba(205,171,110,0.04); line-height: 1; pointer-events: none; white-space: nowrap; }
.sym-hero .crumbs { font-size: 0.82rem; color: var(--sage); margin-bottom: 1.6em; letter-spacing: 0.05em; }
.sym-hero .crumbs a { color: var(--sage); transition: color 0.3s; }
.sym-hero .crumbs a:hover { color: var(--gold-light); }
.sym-hero .cat-tag { font-family: var(--latin); letter-spacing: 0.25em; color: var(--gold-light); font-size: 0.85rem; text-transform: uppercase; }
.sym-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--cream); margin: 0.4em 0 0.5em; line-height: 1.4; }
.sym-hero h1 .gold { color: var(--gold-light); }
.sym-hero .h-sub { color: rgba(244,241,233,0.82); max-width: 640px; font-size: 1.05rem; line-height: 2; }

.sym-body { background: var(--paper); padding: clamp(60px,8vw,110px) 0; }
.sym-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.sym-main h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--forest); margin: 1.8em 0 0.8em; padding-bottom: 0.4em; border-bottom: 2px solid var(--line); position: relative; }
.sym-main h2:first-child { margin-top: 0; }
.sym-main h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--gold); }
.sym-main h3 { font-size: 1.25rem; color: var(--gold-deep); margin: 1.6em 0 0.6em; }
.sym-main p { margin-bottom: 1.3em; line-height: 2.05; color: var(--text); }
.sym-main ul.check { list-style: none; margin: 1.2em 0 1.6em; }
.sym-main ul.check li { padding: 0.5em 0 0.5em 1.8em; position: relative; border-bottom: 1px dashed var(--line); color: var(--text); }
.sym-main ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.approach-card { background: var(--cream); border-left: 3px solid var(--gold); padding: 30px 34px; margin: 1.4em 0; border-radius: 0 3px 3px 0; }
.approach-card h3 { margin-top: 0; color: var(--forest); }
.approach-card p:last-child { margin-bottom: 0; }

.callout { background: var(--forest); color: var(--cream); padding: 40px; border-radius: 4px; margin: 2.4em 0; }
.callout h3 { color: var(--gold-light); margin-top: 0; }
.callout p { color: rgba(244,241,233,0.85); margin-bottom: 0; }

.disclaimer-box { font-size: 0.82rem; color: var(--text-light); background: var(--paper-2); padding: 18px 22px; border-radius: 3px; margin-top: 2em; line-height: 1.8; }

/* サイドバー */
.sym-side { position: sticky; top: 100px; }
.side-card { background: var(--cream); border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; margin-bottom: 22px; }
.side-card.cta { background: linear-gradient(160deg, var(--forest), var(--ink)); color: var(--cream); text-align: center; }
.side-card.cta h4 { color: var(--cream); font-size: 1.2rem; margin-bottom: 0.4em; }
.side-card.cta p { font-size: 0.85rem; color: var(--sage); margin-bottom: 1.4em; line-height: 1.8; }
.side-card.cta .btn { width: 100%; margin-bottom: 10px; }
.side-card h4 { font-family: var(--serif); color: var(--forest); font-size: 1.1rem; margin-bottom: 1em; letter-spacing: 0.06em; }
.side-links { list-style: none; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: none; }
.side-links a { display: block; padding: 0.75em 0; font-size: 0.92rem; color: var(--text); transition: all 0.3s; position: relative; padding-left: 1em; }
.side-links a::before { content: "›"; position: absolute; left: 0; color: var(--gold); }
.side-links a:hover { color: var(--gold-deep); padding-left: 1.4em; }

/* 症状ページのFAQ・関連 */
.sym-faq { margin-top: 2.6em; }
.sym-faq h2 { margin-bottom: 1em; }

.related { background: var(--cream); padding: clamp(50px,7vw,90px) 0; }
.related h2 { font-size: clamp(1.4rem,3vw,2rem); color: var(--forest); text-align: center; margin-bottom: 1.4em; font-family: var(--serif); }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.related-links a { background: var(--paper); border: 1px solid var(--line); padding: 0.7em 1.5em; border-radius: 2px; font-size: 0.92rem; color: var(--forest); transition: all 0.35s var(--ease); }
.related-links a:hover { background: var(--forest); color: var(--cream); transform: translateY(-2px); }

@media (max-width: 900px) {
  .sym-layout { grid-template-columns: 1fr; gap: 40px; }
  .sym-side { position: static; }
  .sym-hero::before { display: none; }
}

/* ============================================
   写真・画像演出（追加）
   ============================================ */
/* ヒーローに写真を敷く */
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-img) center/cover no-repeat;
  opacity: 0.28; z-index: 0;
  filter: saturate(0.9);
}
.hero.has-photo > * { position: relative; z-index: 2; }

/* 汎用：写真ブロック */
.photo-frame { position: relative; overflow: hidden; border-radius: 4px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame.gold-edge { border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(22,41,31,0.12); }

/* コンセプト等：テキスト＋写真の2カラム */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,68px); align-items: center; }
.split.rev .split-text { order: 2; }
.split-photo { position: relative; }
.split-photo .tag-kanji {
  position: absolute; bottom: -22px; right: -10px; font-family: var(--serif);
  font-size: 4.5rem; color: var(--gold); opacity: 0.16; pointer-events: none; line-height: 1;
}
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } }

/* 院内ギャラリー */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid .g-item { overflow: hidden; border-radius: 4px; position: relative; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .tall { grid-row: span 2; }
.g-cap { position: absolute; left: 0; bottom: 0; padding: 14px 16px; color: #fff;
  font-size: 0.78rem; letter-spacing: 0.08em; background: linear-gradient(transparent, rgba(14,26,20,0.72));
  width: 100%; opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); }
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
@media (max-width: 860px){
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .wide { grid-column: span 2; }
  .gallery-grid .tall { grid-row: span 1; }
}

/* 施術フロー写真 */
.flow-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; margin-bottom: 1.2em; }

/* ============================================
   在籍鍼灸師ページ
   ============================================ */
.staff-hero { position: relative; padding: 180px 0 70px; background: linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%); color: var(--cream); overflow: hidden; }
.staff-hero::before { content: "在籍鍼灸師"; position: absolute; right: 3%; top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--serif); font-size: 8rem; color: rgba(205,171,110,0.05); letter-spacing: 0.1em; pointer-events: none; }
.staff-hero .crumbs { font-size: 0.82rem; color: var(--sage); margin-bottom: 1.6em; }
.staff-hero .crumbs a { color: var(--sage); }
.staff-hero .crumbs a:hover { color: var(--gold-light); }
.staff-hero h1 { font-size: clamp(2rem,5vw,3.4rem); color: var(--cream); margin: 0.2em 0 0.5em; }
.staff-hero h1 .gold { color: var(--gold-light); }
.staff-hero p { color: rgba(244,241,233,0.82); max-width: 640px; font-size: 1.05rem; line-height: 2; }

.staff-list { background: var(--paper); padding: clamp(50px,7vw,100px) 0; }
.staff-card { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px,5vw,64px); align-items: start; margin-bottom: clamp(50px,8vw,100px); }
.staff-card:last-child { margin-bottom: 0; }
.staff-card .staff-photo-col { order: 0; }
.staff-card .staff-info { order: 1; }
.staff-photo-col { position: relative; }
.staff-photo-col .photo-frame { aspect-ratio: 3/4; }
.staff-photo-col .badge { position: absolute; top: 18px; left: 18px; background: rgba(14,26,20,0.82); color: var(--gold-light); font-family: var(--latin); letter-spacing: 0.2em; font-size: 0.72rem; padding: 0.5em 1.1em; border-radius: 2px; text-transform: uppercase; backdrop-filter: blur(4px); }
.staff-photo-col .kanji-deco { position: absolute; bottom: -26px; right: -8px; font-family: var(--serif); font-size: 4rem; color: var(--gold); opacity: 0.15; line-height: 1; pointer-events: none; }

.staff-info .role { font-family: var(--latin); letter-spacing: 0.2em; color: var(--gold); font-size: 0.85rem; text-transform: uppercase; }
.staff-info .name { font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.6rem); color: var(--forest); margin: 0.15em 0 0.1em; }
.staff-info .name .en { font-family: var(--latin); font-size: 0.5em; color: var(--text-light); letter-spacing: 0.15em; margin-left: 0.8em; }
.staff-info .lisence { display: inline-block; margin: 0.4em 0 1.4em; font-size: 0.82rem; color: var(--text-light); border: 1px solid var(--line); padding: 0.35em 1em; border-radius: 2px; }
.staff-intro { color: var(--text-light); line-height: 2; margin-bottom: 2em; }

.staff-detail { display: grid; gap: 0; border-top: 1px solid var(--line); }
.staff-detail .row { padding: 1.5em 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 1.5em; align-items: start; }
.staff-detail .row .label { display: flex; align-items: center; gap: 0.6em; font-family: var(--serif); font-size: 1.02rem; color: var(--forest); font-weight: 600; }
.staff-detail .row .label .ico { width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--latin); color: var(--gold); font-size: 0.9rem; }
.staff-detail .row .val { color: var(--text); line-height: 1.95; font-size: 0.96rem; }
.staff-detail .row .val .tags { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: 0.4em; }
.staff-detail .row .val .tags span { background: var(--cream); border: 1px solid var(--line); color: var(--gold-deep); font-size: 0.8rem; padding: 0.3em 0.9em; border-radius: 2px; }

@media (max-width: 860px){
  .staff-card { grid-template-columns: 1fr; gap: 26px; }
  .staff-photo-col { max-width: 420px; margin: 0 auto; }
  .staff-detail .row { grid-template-columns: 1fr; gap: 0.5em; }
  .staff-hero::before { display: none; }
}

/* スタッフ紹介カード（トップ用ミニ） */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 1em; }
.team-member { text-align: center; }
.team-member .photo-frame { aspect-ratio: 3/4; margin-bottom: 1.1em; }
.team-member .t-role { font-family: var(--latin); letter-spacing: 0.18em; color: var(--gold); font-size: 0.72rem; text-transform: uppercase; }
.team-member .t-name { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); margin: 0.1em 0; }
.team-member .t-name .en { display:block; font-family: var(--latin); font-size: 0.72rem; color: var(--text-light); letter-spacing: 0.12em; }
@media (max-width: 760px){ .team-grid { grid-template-columns: repeat(2,1fr); gap: 14px; } }

/* ===== CTA帯（共通・staff/下層ページ用）===== */
.cta-band { background: linear-gradient(135deg, var(--ink), var(--forest-2)); color: var(--cream); text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.8rem); color: var(--cream); margin-bottom: 0.5em; }
.cta-band p { color: var(--sage); margin-bottom: 2.2em; }
.hero-cta { display: flex; gap: 1em; flex-wrap: wrap; }
.cta-band .hero-cta { justify-content: center; }
