@charset "UTF-8";
/* =========================================================
   fs-chrome.css — 全ページ共通のヘッダー（上部細帯 + ロゴ + グローバルナビ + ハンバーガー）
   clean / front / default / baked の全モードで読む（baked では本番CSSの後に読んで最優先）。
   マークアップは inc/clean-parts.php の tachikawa_dental_clean_header()。
   ========================================================= */

/* ---------- 上部細帯（そのページの h1） ---------- */
.fs-topbar { font-size: 12px; color: var(--fs-muted); padding: 5px var(--fs-gutter); letter-spacing: .02em; background: var(--fs-white); }
.fs-topbar__h1 { margin: 0; font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; color: inherit; display: inline; }

/* ---------- ヘッダー（本番Brizy版に合わせた構成：ロゴ ＋ 電話枠 ＋ WEB予約枠。固定追従はしない） ---------- */
.fs-header { background: var(--fs-white); }
.fs-header__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0; padding: 6px 0 6px 15px; min-height: 118px; }
.fs-logo { display: flex; align-items: flex-end; }
.fs-logo__word { height: 62px; width: auto; }
.fs-hboxes { display: flex; gap: 1px; }
.fs-hbox { display: block; width: 286px; height: 106px; box-sizing: border-box; background: #fff; border: 3px solid #c1ff72; color: #333; text-align: center; }
.fs-hbox--web { border: 0; }
.fs-hbox--web img { display: block; width: 286px; height: 106px; }
.fs-hbox--tel { padding: 3px 12px 0; overflow: hidden; }
.fs-hbox__lead { display: block; font-size: 11px; letter-spacing: .08em; line-height: 1.35; }
.fs-hbox__num { display: block; font-family: var(--fs-font-en); font-size: 22px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; color: #222; }
.fs-hbox__num .fas { color: var(--fs-primary); font-size: 17px; margin-right: 6px; }
.fs-hbox:hover { opacity: .85; }
.fs-header .fs-hbox .fs-hours--mini { margin: 2px 0 0; font-size: 9px; width: 100%; max-width: none; }
.fs-header .fs-hbox .fs-hours--mini th, .fs-header .fs-hbox .fs-hours--mini td { padding: 1px 2px; border: 0; background: none; font-weight: 400; color: #666; line-height: 1.3; text-align: center; white-space: nowrap; }
.fs-header .fs-hbox .fs-hours--mini thead th { font-weight: 700; }
.fs-header .fs-hbox .fs-hours--mini tbody tr { border-top: 1px solid #e6e6e6; }
.fs-header .fs-hbox .fs-hours--mini tbody th { text-align: left; }

/* ---------- グローバルナビ帯（白い箱＋影。本番の「TOP｜院長紹介｜…」） ---------- */
.fs-gnav { padding: 0 20px; }
.fs-nav { max-width: 1170px; margin: 0 auto; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.28); position: relative; z-index: 30; }
.fs-nav__list { display: flex; align-items: stretch; }
.fs-nav__item { position: relative; flex: 1 1 0; }
.fs-nav__item + .fs-nav__item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 1px solid #e3e3e3; }
.fs-nav__item > a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 72px; padding: 10px 8px; white-space: nowrap; }
.fs-nav__jp { font-weight: 500; font-size: 15px; color: #000; letter-spacing: .08em; transition: color .2s; }
.fs-nav__en { font-family: var(--fs-font-en); font-size: 10px; color: var(--fs-accent); letter-spacing: .1em; text-transform: capitalize; line-height: 1; }
.fs-nav__item > a:hover .fs-nav__jp { color: var(--fs-primary); }
.fs-nav__toggle { display: none; }
/* ドロップダウン（本番：緑地に白文字） */
.fs-subnav { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--fs-primary); padding: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 40; }
.fs-nav__item.has-child:hover .fs-subnav, .fs-nav__item.has-child:focus-within .fs-subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.fs-subnav > li > a { display: block; padding: 15px 15px; font-size: 15px; color: #fff; white-space: nowrap; }
.fs-subnav > li + li > a { border-top: 1px solid rgba(255,255,255,.25); }
.fs-subnav > li > a:hover { background: rgba(0,0,0,.12); }
.fs-burger { display: none; }
.fs-nav__close { display: none; }
/* Bake済みページは本番のナビ帯をそのまま持つので、共通ナビ帯は出さない */
.fs-mode-baked .fs-gnav { display: none; }

/* ---------- 診療時間表（共通） ---------- */
.fs-hours { border-collapse: collapse; width: 100%; }
.fs-hours .fs-dot { color: var(--fs-primary); }
.fs-footer .fs-hours .fs-dot { font-size: .55em; }
.fs-hbox .fs-dot { font-size: .7em; }
.fs-hours td.is-off { color: #777; }

/* ---------- フッター（本番：淡い緑地・縦積み＝ロゴ/電話/住所 → SCHEDULE → SITEMAP） ---------- */
.fs-footer { background: #f6faf6; color: #666; padding: 56px 20px 0; }
.fs-footer__inner { max-width: 1110px; margin: 0 auto; }
.fs-footer__logo img { width: 520px; max-width: 100%; height: auto; display: block; }
.fs-footer__tel { margin: 22px 0 14px; font-size: 26px; font-weight: 700; letter-spacing: .06em; font-family: var(--fs-font-en); line-height: 1.3; }
.fs-footer__tel a { color: var(--fs-accent); }
.fs-footer__tel .fas { font-size: 24px; margin-right: 8px; }
.fs-footer__addr { font-size: 14px; line-height: 1.9; margin: 0; }
.fs-footer__sched, .fs-footer__map { margin-top: 44px; }
.fs-footer__ttl { font-size: 0; margin: 0 0 14px; }
.fs-footer__ttl::before { content: attr(data-en); font-size: 35px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; color: rgba(52,153,54,.4); }
.fs-footer .fs-hours { font-size: 15px; max-width: 520px; }
.fs-footer .fs-hours th, .fs-footer .fs-hours td { padding: 10px 6px; text-align: center; border: 0; border-bottom: 1px solid #e0e8e0; background: none; color: #666; font-weight: 400; }
.fs-footer .fs-hours thead th { font-weight: 700; letter-spacing: .08em; text-align: left; }
.fs-footer .fs-hours thead th + th { text-align: center; }
.fs-footer .fs-hours tbody th { font-weight: 700; letter-spacing: .06em; text-align: left; white-space: nowrap; }
.fs-footer__note { font-size: 14px; line-height: 1.9; margin: 16px 0 0; }
.fs-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; align-items: start; max-width: 760px; }
.fs-footer__col { list-style: none; margin: 0; padding: 0; }
.fs-footer__col li { margin: 0 0 6px; line-height: 1.6; }
.fs-footer__col a { font-size: 15px; color: #666; }
.fs-footer__col:not(.fs-footer__col--sub) a::before { content: ""; }
.fs-footer__col--sub a::before { content: "- "; }
.fs-footer a:hover { color: var(--fs-primary); }
.fs-copyright { margin: 44px auto 0; padding: 18px 0 20px; text-align: center; font-size: 12px; color: #666; border-top: 1px solid #dfe7df; max-width: 1110px; }

/* ---------- レスポンシブ（ハンバーガー：右端）
   ドロワー内の子メニューはアコーディオン（初期は閉じる）。fs-theme.js が .is-expanded を付ける。 ---------- */
@media screen and (max-width: 1024px) {
  .fs-header__inner { align-items: center; min-height: 72px; padding: 8px 12px 8px 15px; }
  .fs-logo__word { height: 44px; }
  .fs-hboxes { display: none; }
  .fs-gnav { display: contents; }
  .fs-nav { box-shadow: -8px 0 30px rgba(0,0,0,.15); max-width: none; margin: 0; }
  .fs-nav__item { flex: none; }
  .fs-nav__item + .fs-nav__item::before { display: none; }
  .fs-nav__item > a { min-height: 0; }
  .fs-footer__cols { grid-template-columns: 1fr; }
  .fs-footer__col--sub { margin-top: 10px; }
  .fs-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; padding: 0; }
  .fs-burger span { display: block; width: 26px; height: 2px; background: var(--fs-heading); transition: .25s; }
  .fs-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .fs-burger.is-open span:nth-child(2) { opacity: 0; }
  .fs-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .fs-nav__close { display: block; position: absolute; top: 12px; right: 18px; width: 44px; height: 44px; background: none; border: none; font-size: 32px; line-height: 1; color: var(--fs-heading); z-index: 2; }
  .fs-nav { position: fixed; inset: 0 0 0 auto; width: min(84%, 340px); background: var(--fs-white); transform: translateX(100%); transition: .3s; overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,.15); z-index: 1200; padding: 70px 0 40px; }
  .fs-nav.is-open { transform: translateX(0); }
  .fs-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fs-nav__item > a { flex-direction: row; justify-content: flex-start; gap: 10px; border-bottom: 1px solid var(--fs-line-2); padding: 14px 56px 14px 24px; font-size: 15px; }
  .fs-nav__toggle { display: block; position: absolute; top: 0; right: 0; width: 52px; height: 52px; background: none; border: none; }
  .fs-nav__toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-right: 2px solid var(--fs-heading); border-bottom: 2px solid var(--fs-heading); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .fs-nav__item.is-expanded > .fs-nav__toggle::before { transform: translate(-50%, -30%) rotate(-135deg); }
  .fs-subnav { display: none; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px; background: var(--fs-primary-soft); min-width: 0; }
  .fs-subnav > li > a { color: var(--fs-text); } .fs-subnav > li + li > a { border-top: 0; }
  .fs-nav__item.is-expanded > .fs-subnav { display: block; }
  .fs-subnav > li > a { padding: 10px 38px; white-space: normal; }
}


/* ---------- 追従ヘッダー（本番：ナビ帯が画面外に出たら、ロゴ＋ナビの白いバーが上部に固定される） ---------- */
.fs-stick { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 104px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); transform: translateY(-100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; }
body.fs-stuck .fs-stick { transform: translateY(0); visibility: visible; transition: transform .3s; }
.fs-stick__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 0 0 24px; }
.fs-stick__logo img { height: 62px; width: auto; display: block; }
.fs-stick .fs-nav__list { display: flex; align-items: stretch; height: 104px; }
.fs-stick .fs-nav__item { flex: 0 0 151px; position: relative; }
.fs-stick .fs-nav__item > a { min-height: 104px; }
.fs-stick .fs-nav__item + .fs-nav__item::before { top: 12px; bottom: 12px; }
.fs-stick .fs-nav__jp { font-weight: 700; color: #666; letter-spacing: .09em; font-size: 16px; }
.fs-stick .fs-subnav { top: 100%; }
.fs-stick .fs-nav__item:nth-last-child(-n+3) .fs-subnav { left: auto; right: 0; }
@media screen and (max-width: 1024px) { .fs-stick { display: none; } }
