@charset "UTF-8";
/* =========================================================
   fs-chrome.css — 全ページ共通の外枠
     ヘッダー（キャッチ h1 / ロゴ / 住所・電話 / MAIL・MAP / グローバルナビ / 追従バー）
     ページタイトル帯・パンくず・フッター上段（NAP＋診療時間＋休診カレンダー＋サイトマップ）・コピーライト
   数値は本番サイト（1366px / 390px）の実測値に合わせている。
   マークアップは inc/clean-parts.php。
   ========================================================= */

/* =========================================================
   ヘッダー
   ========================================================= */
.fs-header { background: var(--fs-white); }
.fs-header__inner {
  position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  max-width: var(--fs-wrap); margin: 0 auto; padding: 50px 0 0; min-height: 196px;
}

/* キャッチ（そのページの h1。本番と同じ 12px の細字） */
.fs-catch {
  margin: 0 0 8px; font-family: var(--fs-font-en); font-size: 12px; line-height: 1.9;
  font-weight: 400; color: var(--fs-text); letter-spacing: 0;
}

/* ロゴ（文字組み） */
.fs-logo { display: block; text-decoration: none; }
.fs-logo__en {
  display: block; font-family: var(--fs-font-en); font-size: 24px; line-height: 1.9;
  color: var(--fs-logo-2); letter-spacing: 0;
}
.fs-logo__en em { font-style: normal; color: var(--fs-logo-1); }
.fs-logo__jp { display: block; font-family: var(--fs-font-en); font-size: 31px; line-height: 1.9; color: var(--fs-name); }
.fs-logo__lead { font-weight: 100; letter-spacing: 5px; }
.fs-logo__jp strong { font-weight: 700; }
/* 追従バー・SPドロワー用の小型ロゴ */
.fs-logo--sm .fs-logo__en { font-size: 15px; line-height: 1.5; }
.fs-logo--sm .fs-logo__jp { font-size: 20px; line-height: 1.5; }
.fs-logo--sm .fs-logo__lead { letter-spacing: 3px; }

/* 右側（住所・電話・ボタン） */
.fs-header__right { text-align: right; padding-top: 4px; }
.fs-header__addr,
.fs-header__access { margin: 0; font-family: var(--fs-font-en); font-size: 12px; line-height: 1.9; color: var(--fs-text); }
.fs-header__contact { display: flex; align-items: flex-start; justify-content: flex-end; gap: 0; margin-top: 14px; }
.fs-header__telbox { text-align: right; padding-right: 16px; }
.fs-header__tel { margin: 0; }
.fs-header__tel a { display: inline-flex; align-items: center; gap: 10px; color: var(--fs-tel); text-decoration: none; }
.fs-header__tel i { font-size: 22px; }
.fs-header__tel span { font-family: var(--fs-font-en); font-size: 27px; font-weight: 700; line-height: 1.6; letter-spacing: .08em; }
.fs-header__telnote { margin: 0; font-family: var(--fs-font-en); font-size: 12px; line-height: 1.9; color: var(--fs-tel); }
.fs-header__btn { display: block; line-height: 0; }
.fs-header__btn img { width: 99px; height: auto; }

/* ハンバーガー（PCでは出さない） */
.fs-burger { display: none; }
.fs-burger--sticky { display: none; }   /* PCは追従バーにナビが出るので不要 */
.fs-nav__close { display: none; }
.fs-nav__sp-head { display: none; }

/* =========================================================
   グローバルナビ（PC）
   ========================================================= */
.fs-nav__list {
  display: flex; max-width: 1190px; margin: 0 auto; padding: 0; list-style: none;
  border-top: 1px solid var(--fs-line); border-bottom: 1px solid var(--fs-line);
}
.fs-nav__item { position: relative; flex: 1 1 auto; border-left: 1px solid var(--fs-line); }
.fs-nav__item:last-child { border-right: 1px solid var(--fs-line); }
.fs-nav__item > a {
  display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 18px;
  font-size: 17px; line-height: 1.4; letter-spacing: -.5px; color: var(--fs-text);
  white-space: nowrap; text-decoration: none; transition: color .2s, background .2s;
}
.fs-nav__item > a:hover { color: var(--fs-primary); background: var(--fs-prefooter); }
.fs-nav__toggle { display: none; }

/* ドロップダウン */
.fs-subnav {
  position: absolute; top: 100%; left: 0; z-index: 30; min-width: 260px; margin: 0; padding: 0; list-style: none;
  background: rgba(237, 154, 145, .95); box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s;
}
.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-nav__item:nth-last-child(-n+3) .fs-subnav { left: auto; right: 0; }
.fs-subnav > li > a {
  display: block; padding: 10px 20px; font-family: var(--fs-font-serif); font-size: 15px; font-weight: 700;
  line-height: 1.6; color: var(--fs-white); text-decoration: none; white-space: nowrap;
}
.fs-subnav > li > a:hover { background: rgba(237, 154, 145, 1); }

/* =========================================================
   追従ヘッダー（スクロールで下りてくる）
   ========================================================= */
.fs-sticky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1056;
  background: rgba(255, 255, 255, .95); box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
  transform: translateY(-100%); transition: transform .3s; visibility: hidden;
}
.fs-sticky.is-on { transform: translateY(0); visibility: visible; }
.fs-sticky__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--fs-wrap); margin: 0 auto; min-height: 86px; padding: 8px 20px;
}
.fs-nav--sticky .fs-nav__list { border: 0; max-width: none; }
.fs-nav--sticky .fs-nav__item { border-left: 0; }
.fs-nav--sticky .fs-nav__item:last-child { border-right: 0; }
.fs-nav--sticky .fs-nav__item > a { height: 70px; padding: 0 12px; font-size: 15px; }

/* =========================================================
   ページタイトル帯（写真＋タイトル＋歯アイコン）
   ========================================================= */
.fs-hero {
  position: relative; min-height: 191px; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.fs-hero__inner { position: relative; width: 100%; text-align: center; padding: 16px 20px; }
.fs-hero__title {
  margin: 0; font-size: 35px; font-weight: 700; line-height: 1.9; letter-spacing: .02em; color: var(--fs-text);
}
.fs-hero__deco { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 2px; }
.fs-hero__deco::before,
.fs-hero__deco::after { content: ""; width: 195px; max-width: 24vw; height: 1px; background: var(--fs-pale); }
.fs-tooth { color: var(--fs-pale); flex: none; }

/* =========================================================
   パンくず
   ========================================================= */
.fs-crumb { background: var(--fs-white); }
.fs-crumb__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  max-width: var(--fs-wrap-crumb); margin: 0 auto; padding: 25px var(--fs-gutter);
  font-size: 16px; line-height: 1.3; color: var(--fs-heading);
}
.fs-crumb a { color: var(--fs-accent); text-decoration: none; }
.fs-crumb a:hover { text-decoration: underline; }
.fs-crumb span { margin: 0 .6em; color: rgba(28, 28, 28, .35); }
.fs-crumb em { font-style: normal; color: var(--fs-heading); }

/* =========================================================
   フッター上段（NAP＋診療時間＋休診カレンダー＋サイトマップ）
   ========================================================= */
.fs-footer__upper { background: var(--fs-prefooter); padding: 70px 0 60px; }
.fs-footer__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: var(--fs-wrap-narrow); margin: 0 auto; padding: 0 var(--fs-gutter);
}
.fs-footer__zip { margin: 30px 0 0; font-size: 18px; line-height: 1.9; color: var(--fs-text); }
.fs-footer__addr { margin: 0; font-size: 15px; line-height: 1.9; color: var(--fs-brown); }

/* 完全予約制＋診療時間 */
.fs-footer__badge {
  max-width: 300px; margin: 42px auto 0; padding-bottom: 10px; border-bottom: 1px solid var(--fs-pale);
  font-family: var(--fs-font-serif); font-size: 25px; font-weight: 700; line-height: 1.9;
  color: var(--fs-salmon); text-align: center;
}
.fs-hours-sum { margin: 18px 0 0; text-align: center; }
.fs-hours-sum dt { font-size: 22px; line-height: 1.9; color: var(--fs-accent); }
.fs-hours-sum dd { margin: 0 0 14px; font-size: 19px; line-height: 1.9; color: var(--fs-brown); }
.fs-footer__note {
  max-width: 420px; margin: 26px 0 0; padding: 16px 20px; border: 1px solid var(--fs-accent);
}
.fs-footer__note p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--fs-text); }

/* 休診カレンダー */
.fs-footer__calhead {
  margin: 0 0 14px; font-family: var(--fs-font-serif); font-size: 19px; font-weight: 700;
  line-height: 1.9; color: var(--fs-cal-head); text-align: center;
}
.fs-footer__calnote { margin: 12px 0 0; font-size: 15px; line-height: 1.9; color: var(--fs-text); }

/* XO Event Calendar の見た目（本番のカスタムCSSを移植。4か月を2列×2行に並べる） */
.fs-footer__calendar .xo-event-calendar .xo-months {
  display: grid !important; grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 15px; align-items: start; width: 100%;
}
.fs-footer__calendar .xo-event-calendar .xo-month-wrap { float: none !important; width: auto !important; display: flex; flex-direction: column; }
.fs-footer__calendar .xo-event-calendar .xo-month { width: 100% !important; table-layout: fixed; }
.fs-footer__calendar .xo-event-calendar .xo-month-wrap .month-legend { margin-top: 8px; font-size: 14px; line-height: 1.6; }
.fs-footer__calendar .xo-event-calendar > .holiday-titles { display: none !important; }
.fs-footer__calendar .xo-event-calendar .calendar-caption { font-size: 20px; }
.fs-footer__calendar .xo-event-calendar table.xo-month button { display: none; }  /* 前月・次月ボタンは出さない */
.fs-footer__calendar .xo-event-calendar .other-month { visibility: hidden; }      /* 前月・翌月の日付は出さない */
@media (max-width: 900px) {
  .fs-footer__calendar .xo-event-calendar .xo-months { grid-template-columns: 1fr !important; gap: 16px; }
}
@media (max-width: 768px) {
  .fs-footer__calendar table.xo-month { font-size: .7rem; }
  .fs-footer__calendar .xo-event-calendar .xo-months { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* サイトマップ（3カラム） */
.fs-footer__nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: var(--fs-wrap-narrow); margin: 60px auto 0; padding: 0 var(--fs-gutter);
}
.fs-footer__ttl { margin: 0 0 14px; font-family: var(--fs-font-serif); font-size: 25px; font-weight: 700; line-height: 1.9; color: var(--fs-brown); }
.fs-footer__ttl a { color: inherit; text-decoration: none; }
.fs-footer__col + .fs-footer__col .fs-footer__ttl { margin-top: 0; }
.fs-footer__col .fs-footer__list + .fs-footer__ttl { margin-top: 26px; }
.fs-footer__list { margin: 0; padding: 0 0 0 5px; list-style: none; }
.fs-footer__list li { margin-bottom: 4px; }
.fs-footer__list a { font-size: 15px; line-height: 1.6; color: #000; text-decoration: none; }
.fs-footer__list a:hover { color: var(--fs-primary); text-decoration: underline; }

/* コピーライト */
.fs-copyright { padding: 15px 0 0; background: var(--fs-white); }
.fs-copyright p {
  margin: 0; padding: 9px var(--fs-gutter); background: var(--fs-copy-bg);
  font-size: 15px; line-height: 1.9; color: var(--fs-accent); text-align: center;
}

/* =========================================================
   タブレット以下
   ========================================================= */
@media screen and (max-width: 1100px) {
  .fs-header__inner { flex-wrap: wrap; padding: 30px var(--fs-gutter) 0; min-height: 0; }
  .fs-nav__item > a { padding: 0 8px; font-size: 15px; }
  .fs-footer__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   スマートフォン（ハンバーガー＋ドロワー）
   ========================================================= */
@media screen and (max-width: 900px) {
  .fs-header__inner { display: block; padding: 14px var(--fs-gutter) 0; text-align: center; }
  /* スマホのヘッダーは縦に積むぶん厚くなりやすいので、各行を詰める */
  .fs-header__inner { padding: 10px 16px 40px; }
  .fs-catch { text-align: left; font-size: 10px; line-height: 1.5; margin-bottom: 2px; }
  .fs-logo__en { font-size: 17px; }
  .fs-logo__jp { font-size: 21px; }
  .fs-logo__lead { letter-spacing: 2px; }
  .fs-header__right { text-align: center; padding-top: 4px; }
  .fs-header__addr, .fs-header__access { font-size: 12px; line-height: 1.6; }
  .fs-header__contact { flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 6px; }
  .fs-header__telbox { padding-right: 0; text-align: center; width: 100%; }
  .fs-header__tel span { font-size: 22px; }
  .fs-header__telnote { font-size: 11px; }
  .fs-header__btn img { width: 72px; }

  /* ハンバーガー */
  .fs-burger {
    display: flex; position: absolute; right: 16px; bottom: 4px; z-index: 1210;
    flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 36px;
    background: none; border: 0; padding: 0; cursor: pointer;
  }
  .fs-burger span { display: block; width: 32px; height: 2px; background: var(--fs-name); transition: .25s; }
  .fs-burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .fs-burger.is-open span:nth-child(2) { opacity: 0; }
  .fs-burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ドロワー */
  .fs-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86%, 360px); z-index: 1200;
    background: var(--fs-white); transform: translateX(100%); transition: .3s;
    overflow-y: auto; box-shadow: -8px 0 30px rgba(0, 0, 0, .15); padding: 0 0 40px;
  }
  .fs-nav.is-open { transform: translateX(0); }
  .fs-nav__sp-head { display: block; padding: 22px 20px 16px; border-bottom: 1px solid var(--fs-line); }
  .fs-nav__close {
    display: block; position: absolute; top: 10px; right: 14px; z-index: 2;
    width: 44px; height: 44px; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--fs-name);
  }
  .fs-nav__list { display: block; max-width: none; border: 0; }
  .fs-nav__item { border-left: 0; border-bottom: 1px solid var(--fs-line); }
  .fs-nav__item:last-child { border-right: 0; }
  .fs-nav__item > a { height: auto; justify-content: flex-start; padding: 14px 56px 14px 20px; font-size: 15px; white-space: normal; }
  .fs-nav__toggle { display: block; position: absolute; top: 0; right: 0; width: 54px; height: 54px; background: none; border: 0; }
  .fs-nav__toggle::before {
    content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px;
    border-right: 2px solid var(--fs-name); border-bottom: 2px solid var(--fs-name);
    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; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: var(--fs-prefooter);
  }
  .fs-nav__item.is-expanded > .fs-subnav { display: block; }
  .fs-subnav > li > a { padding: 11px 20px 11px 34px; color: var(--fs-name); font-size: 14px; white-space: normal; }
  .fs-subnav > li > a:hover { background: var(--fs-pale); }

  /* 追従ヘッダーはSPでは「ロゴ＋ハンバーガー」の細いバーにする（スクロール中もメニューを出せるように） */
  .fs-sticky__inner { gap: 12px; min-height: 60px; padding: 6px 16px; }
  .fs-nav--sticky { display: none; }
  .fs-burger--sticky {
    position: static; right: auto; bottom: auto; margin-left: auto;
  }

  /* タイトル帯・パンくず */
  .fs-hero { min-height: 148px; }
  .fs-hero__title { font-size: 20px; }
  .fs-hero__deco::before, .fs-hero__deco::after { width: 90px; }
  .fs-crumb__inner { padding: 20px var(--fs-gutter); font-size: 14px; }

  /* フッター */
  .fs-footer__upper { padding: 40px 0 40px; }
  .fs-footer__inner { gap: 36px; }
  .fs-footer__info { text-align: center; }
  .fs-footer__note { margin-left: auto; margin-right: auto; }
  .fs-footer__nav { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
}
