@charset "UTF-8";
/* ==========================================================================
   池袋の森補聴器サロン  コーポレートサイト
   外部ライブラリを使わない、素のHTML/CSS/JSのみの静的サイト。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  --green:        #46A379;
  --green-dark:   #3A8C66;
  --mint:         #74C39C;
  --lime:         #BEDB2D;

  --text:         #333633;
  --muted:        #72766F;
  --muted-2:      #5C6459;
  --muted-3:      #66735F;
  --footer-text:  #4E6455;

  /* 開業前であることを予約導線のそばに控えめに添えるための注意色。
     原色の赤・オレンジはこのサイトの色味と合わないため、くすませたテラコッタにしている */
  --notice:       #B3623B;

  --cream:        #FAF7EE;
  --ivory:        #FFFDF8;
  --white:        #FFFFFF;
  --pale-1:       #F4F9EF;
  --pale-2:       #EDF3E7;
  --pale-3:       #F5F9F1;
  --pale-4:       #E3EEDA;

  --line:         #E5E8DF;
  --line-2:       #E9EDE3;
  --line-3:       #E3EBDF;
  --line-4:       #DCE3D6;
  --line-5:       #EDF1E8;
  --line-6:       #D8E4CE;

  --font-round: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --font-base:  "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;

  /* レイアウト方針：
     ・ページ全体は画面幅いっぱい
     ・セクションの内側は 1440px まで
     ・本文の文章だけは読みやすい幅（--measure）に抑える */
  --inner:    1440px;  /* セクション内側の最大幅 */
  --measure:  720px;   /* 本文の1行の最大幅（長すぎると読みにくいため） */
  --gutter:   48px;
}

/* --------------------------------------------------------------------------
   2. リセット
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-base);
  font-weight: 500;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;   /* position:sticky のヘッダーを機能させるため、hiddenではなくclipにする */
}

img { max-width: 100%; }
a   { color: var(--green); }

/* display を指定した要素でも hidden 属性を優先させる */
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 600; }

table { border-collapse: collapse; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* キーボード操作時のフォーカス表示（マウス操作では出さない） */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* サイト全体の外枠（画面幅いっぱい） */
.shell {
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;   /* 同上 */
}

/* --------------------------------------------------------------------------
   3. 共通パーツ
   -------------------------------------------------------------------------- */
.btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  /* 単色の#46A379より少しだけ柔らかく見えるため、この透過ありの緑を基準色にする
     （元々はヘッダーがスクロールした時だけの色だったが、事業主の希望でこちらを標準にした） */
  background: rgba(70, 163, 121, .92);
  color: var(--white);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .3s ease, transform .3s ease;
}
.btn-book:hover { background: var(--green-dark); }

.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 600;
  transition: background-color .3s ease;
}
.btn-line:hover { background: var(--pale-2); }

.icon { flex: none; }

.sec-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.sec-title {
  margin: 0 0 16px;
  font-family: var(--font-round);
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--green);
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.rule {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

.note {
  margin: 14px 0 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  text-wrap: pretty;
}
.note::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateY(-3px);
}

/* 重なり合うセクション（上端が丸く、前のセクションに少し乗る） */
.sec {
  position: relative;
  padding: 120px var(--gutter) 128px;
  border-radius: 72px 72px 0 0;
  box-shadow: 0 -18px 40px rgba(51, 54, 51, .035);
  margin-top: -72px;
}
.sec-inner {
  position: relative;
  z-index: 1;
  max-width: var(--inner);
  margin: 0 auto;
}
.sec-head { max-width: 680px; }

.sec-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 72px 72px 0 0;
  pointer-events: none;
}

.bg-white { background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 360px); }
.bg-green { background: linear-gradient(180deg, var(--pale-1) 0%, var(--pale-2) 380px); }

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
/* スクロール時に追従するヘッダー。
   下へスクロールすると .is-scrolled が付き、半透明・低い高さに切り替わる。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  transition: background-color .3s ease, box-shadow .3s ease;
  /* is-scrolled切り替えで高さが変わるため、ブラウザのスクロールアンカリングによる
     スクロール位置の自動補正を止める（JS側のヒステリシスと合わせた二重の対策） */
  overflow-anchor: none;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 238, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 6px 20px rgba(51, 54, 51, .06);
}
.site-header.is-scrolled .hdr-desktop { height: 64px; }
.site-header.is-scrolled .hdr-desktop .brand-mark { width: 40px; height: 40px; }
.site-header.is-scrolled .hdr-desktop .brand-name { font-size: 20px; }
.site-header.is-scrolled .hdr-desktop .brand-en { font-size: 9.5px; }   /* 非表示にせず縮小して残す */
.site-header.is-scrolled .hdr-tel  { background: rgba(255, 255, 255, .7); }
/* .hdr-compact-row（スマホ・タブレットのヘッダー行）はスクロールしても高さを変えない方針のため、
   ここでの上書きは持たない（最初から縮小後の56pxで固定。詳細はそのルール側のコメント参照） */
/* .mobile-cta は画面下部に固定（position:fixed）のため、ヘッダーのスクロール状態とは無関係に常時表示される */

/* backdrop-filter が使えない環境では不透明のままにする */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: var(--cream); }
}

/* 追従ヘッダーに隠れないよう、アンカー移動時の余白を取る */
html { scroll-padding-top: 88px; }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  border-radius: 12px;
}
.brand-mark { display: block; flex: none; object-fit: contain; }
.brand-text { display: grid; gap: 4px; }
.brand-name {
  font-family: var(--font-round);
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--green);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-en {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted-3);
  white-space: nowrap;
}

.tel-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  border-radius: 8px;
  transition: color .3s ease;
}
.tel-link:hover { color: var(--green); }
.tel-text { display: grid; gap: 1px; line-height: 1.2; }
.tel-label { font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted-3); }
.tel-num {
  font-family: var(--font-round);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

/* --- PC版ヘッダー（1段構成） --- */
.hdr-desktop {
  transition: height .3s ease;
  height: 88px;
  display: flex;
  align-items: stretch;
  padding-left: var(--gutter);   /* 右側は端まで届かせるので padding を付けない */
}

.hdr-desktop .brand {
  flex: none;
  align-self: center;
  margin-right: 40px;
}
.hdr-desktop .brand-name { font-size: 24px; }
.hdr-desktop .brand-mark { width: 54px; height: 54px; transition: width .3s ease, height .3s ease; }

.gnav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;   /* パッと出る下線をやめ、丸いピルの塗りに変えたため中央揃えにする */
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}
/* 直線的な下線がパッと切り替わる見た目も、丸い座布団状の塗りも硬い印象になるため、
   文字色だけがふわっと変わる、もっとも控えめなホバーにしている */
.gnav a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  text-decoration: none;
  color: var(--text);
  transition: color .4s ease;
}
.gnav a:hover { color: var(--green); }

/* 右端：予約ブロック＋電話ブロック。画面の端まで届かせる */
.hdr-edge {
  flex: none;
  display: flex;
  align-items: stretch;
  margin-left: 28px;
}

/* 「Webで予約」「電話で予約」。
   完全な等幅にはせず、「電話より少し狭くてよいが、小さすぎない」バランスにしている。
   〔仮〕表記は小さい注記（.tel-note）として扱い、電話番号のフォントも少し詰めている。
   電話ボタンは幅を固定せず内容（電話番号）なりの自然な幅、Webボタンには min-width を設定。
   Webは色（緑の塗り）で優先導線であることを示す。 */

/* 「Webで予約」：右端。ヘッダーの高さいっぱいで、左下だけ角丸 */
.hdr-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  min-width: 196px;   /* 電話ボタンより狭くてよいが、小さすぎないための下限 */
  /* 単色の#46A379より少しだけ柔らかく見えるため、この透過ありの緑を基準色にする
     （元々はヘッダーがスクロールした時だけの色だったが、事業主の希望でこちらを標準にした） */
  background: rgba(70, 163, 121, .92);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 0;   /* 左下の角丸は「電話で予約」側に付ける */
  transition: background-color .3s ease;
}
.hdr-book:hover { background: var(--green-dark); }

/* 「電話で予約」：Webで予約の左どなり。幅は固定せず、内容（電話番号）なりの自然な幅 */
.hdr-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  background: var(--white);
  border-radius: 0 0 0 40px;   /* 左下だけ角丸 */
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .3s ease;
}
.hdr-tel:hover { background: var(--pale-2); }
.hdr-tel .tel-text { display: grid; gap: 1px; line-height: 1.2; }
.hdr-tel .tel-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted-3); }
.hdr-tel .tel-num {
  font-family: var(--font-round);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
/* 「〔仮〕」の注記：電話番号本体より小さく・軽く表示 */
.tel-note {
  font-size: .55em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-3);
  margin-left: 1px;
}

/* 開業前であることを、予約の導線のそばに小さく添える注記。
   .tel-note（電話番号の〔仮〕）と同じ、控えめな相対サイズの表現 */
.notice-note {
  font-size: .55em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--notice);
  margin-left: 4px;
  white-space: nowrap;
}
/* 「Webで予約」ボタンの直下に添える注記（FV情報カード・アクセスのCTA）。
   ボタン列より前に置くとボタンの位置がずれてしまうため、ボタンの後ろに置いて
   下に添える形にしている */
.notice-tag {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--notice);
  margin: 8px 0 0;
  text-align: center;
}
/* アクセスのCTAは左右2列（LINE／Web）のグリッドなので、
   Webで予約と同じ右側の列に入れて、その真下に来るようにする */
.access-actions .notice-tag--under-book { grid-column: 2; }

/* --- タブレット / スマートフォン --- */
.hdr-compact { display: none; }
.hdr-compact-row {
  /* スクロールで縮む二段階の高さをやめ、最初から縮小後の高さで固定にする。
     意味もなく途中で見た目が変わると「何か表示が変わったのか」と気になってしまうため */
  min-height: 56px;
  display: flex;
  align-items: center;
  /* space-betweenだと、ロゴとボタン列の幅次第で中央の余白が
     左のpaddingより狭くなり、ロゴが右に寄って見えることがあった。
     ボタン列側をmargin-left:autoで右端に押し出す方式にして、
     中央の余白（gap）を左paddingより必ず大きい値で確保する */
  justify-content: flex-start;
  gap: clamp(22px, 6vw, 30px);
  /* 右・上下のpaddingは持たせず、緑のブロックが行の上下端・右端まで隙間なく届くようにする。
     ロゴ側は左paddingのみで、align-items:center により中央に来る */
  padding: 0 0 0 20px;
}
/* シンボルとロゴタイプの間隔。狭い画面ほど詰め、767px以上ではPCと同じ13pxに戻す */
.hdr-compact .brand { gap: clamp(6px, 2.2vw, 13px); }
.hdr-compact .brand-mark { width: 46px; height: 46px; }
.hdr-compact .brand-name { font-size: 20px; letter-spacing: .02em; }
.hdr-compact .brand-en { font-size: 10px; letter-spacing: .06em; }
/* 「営業時間」「アクセス」「メニュー」は1枚の緑のブロックとして隙間なくつなげる
   （個々に離れたボタンにはしない）。画面の右端に固定し、角丸は左側だけに付ける。
   アイコンを主役にしテキストは太字にせず控えめに。アイコンの縦幅をメニューの3本線と揃え、
   テキストの位置が縦にずれないようにしている。 */
.hdr-compact-actions {
  display: flex;
  align-items: stretch;
  align-self: stretch;   /* 高さをヘッダー行いっぱいに合わせる */
  margin-left: auto;   /* 右端に寄せる。中央の余白は.hdr-compact-rowのgapで確保 */
  gap: 0;
  border-radius: 0 0 0 10px;   /* 右端は画面端に接するので角丸なし。左上も角丸なしにする */
  background: var(--green);
  overflow: hidden;
}
/* 予約・電話は下段の常時CTA（.mobile-cta）に一本化するため、上段のWebボタンは出さない。
   代わりに「営業時間」「アクセス」のアイコンボタン（下の .hdr-quick）を置く */
.hdr-compact-actions .btn-book { display: none; }

/* 営業時間・アクセスのアイコンボタン（#access へのリンク） */
.hdr-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* 401〜767pxで急に窮屈になり文字が省略される帯を作らないよう、
     幅指定を段差（メディアクエリ）ではなく画面幅に応じた連続値にする */
  width: clamp(44px, 13vw, 56px);
  min-width: 0;   /* 3つを同じ比率で縮ませるため、ラベル文字幅による下限を外す */
  padding: 4px 2px;
  color: var(--white);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;   /* 太字にしない。主役はアイコン */
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color .3s ease;
}
.hdr-quick:hover { background: rgba(255, 255, 255, .14); }
.hdr-quick span { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* 線画のアイコン（時計・ピン）は塗りつぶしのハンバーガーよりインクの密度が低く、
   同じサイズでも小さく見えるため 24px に拡大している */
.hdr-quick .icon { width: 24px; height: 24px; flex: none; }

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: clamp(44px, 13vw, 56px);   /* .hdr-quick と同じ式で揃える */
  min-width: 0;   /* .hdr-quick と同じ比率で縮ませるため、ラベル文字幅による下限を外す */
  /* flex: none にすると幅が狭い画面で「営業時間」「アクセス」だけが縮み、3つの大きさが揃わない。
     縮み方を他の2つと揃えるため、既定のflex（縮小あり）のままにする */
  /* <button>のUA既定padding/フォントを消す。残っていると .hdr-quick（<a>）と縮み方が揃わない */
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  font: inherit;
  border: none;
  background: transparent;
  overflow: hidden;
  transition: background-color .3s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, .14); }
.menu-btn-lines {
  /* 線同士を詰めて、他のアイコンと密度（見た目の大きさ）を揃えている。
     外枠の高さは .hdr-quick .icon と揃え、テキストの位置も揃える。
     開いたときに×へ変形させるため、position:relative + 各線 position:absolute にしている */
  position: relative;
  width: 22px;
  height: 24px;
  flex: none;
}
.menu-btn-lines span {
  display: block;
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  border-radius: 1px;
  transition: transform .3s ease, opacity .2s ease;
  background: var(--white);
}
.menu-btn-lines span:nth-child(1) { top: 4px; }
.menu-btn-lines span:nth-child(2) { top: 11px; }
.menu-btn-lines span:nth-child(3) { top: 18px; }

/* メニューを開いたら3本線を×に変形させる */
.menu-btn[aria-expanded="true"] .menu-btn-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn-lines span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-btn-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-btn-label {
  font-size: 10px;
  font-weight: 500;   /* 太字にしない。主役はアイコン */
  letter-spacing: .02em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;   /* ラベルが折り返さないようにする */
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 画面下部に固定して常時追従するCTAバー（電話・Web予約）。
   <header>の外（.site-headerの兄弟要素）に置いており、表示・非表示は自分自身で持つ
   （1439px以下で表示。既定は非表示）。
   ※ <header>の内側に置くと、スクロール時にヘッダーへ付く backdrop-filter が
   position:fixed の基準点を作り直してしまい、画面下ではなくヘッダー付近に表示されてしまう。
   これを避けるため、意図的に <header> の外に置いている。 */
.mobile-cta {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;   /* PC版ヘッダーと同じく隙間なく隣接させる */
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  /* 上側の左右角にだけ丸みを付ける（電話＝左上、Web＝右上）。
     下側は画面の端に接するので角丸なし。overflow:hidden で内側のボタンも角丸に沿わせる */
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  /* 純白だとホームバー下の余白（セーフエリア）が浮いて目立つため、
     サイトの地色と同じ暖かみのあるアイボリーにする */
  background: var(--ivory);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(51, 54, 51, .08);
  transition: opacity .25s ease, transform .25s ease;
}

/* タブレット幅（768〜1439px）は、FVの情報カードと重なるため最初は隠しておき、
   aboutセクションまでスクロールしたらJS（main.js）で .is-visible を付けて表示する。
   スマホ幅（〜767px）は常時表示。 */
@media (min-width: 768px) and (max-width: 1439px) {
  .mobile-cta {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
  }
  .mobile-cta.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}
/* PC版の .hdr-tel と同じ構成（アイコン＋ラベル・番号の横並び）。角丸なしのフラットな面 */
.mobile-cta .tel-link {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  border-radius: 0;
  background: var(--white);
  color: var(--text);
}
.mobile-cta .tel-link:hover { background: var(--pale-2); }
.mobile-cta .tel-text { display: grid; gap: 1px; line-height: 1.2; }
.mobile-cta .tel-label { font-size: 11.5px; font-weight: 600; color: var(--muted-3); }
.mobile-cta .tel-num {
  font-size: 17px;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.mobile-cta .btn-book {
  min-height: 64px;
  padding: 8px 14px;
  border-radius: 0;
  font-size: 15px;
}
/* 「Webで予約」の横に注記を並べると幅が足りず崩れるため、
   「電話で予約」と同じくラベル＋小さな注記を縦に積む構成にする */
.mobile-cta .book-text { display: grid; gap: 1px; line-height: 1.2; }
.mobile-cta .book-label { font-size: 15px; font-weight: 600; }
.mobile-cta .book-text .notice-note {
  display: block;
  margin-left: 0;
  font-size: 10px;
  font-weight: 700;
}

/* 全画面を覆うと圧迫感があり、裏に元の画面が残っていることも伝わりにくいため、
   右側だけを覆うオフキャンバス（スライドイン）パネルにしている。
   z-indexはヘッダー（50）より低くし、開いている間もヘッダーの帯（×ボタンを含む）が
   常に上に見えるようにする */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 45;
  width: min(68vw, 380px);
  /* 内容（ナビ6項目＋ボタン1つ）に対して画面いっぱいの高さは余りすぎるため、
     中身の高さに合わせる。はみ出す場合だけスクロールさせる保険としてmax-heightを残す */
  height: auto;
  max-height: calc(100vh - 56px);
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  border-radius: 20px 0 0 20px;
  padding: 72px 20px 24px;
  background: var(--ivory);
  box-shadow: -8px 0 28px rgba(51, 54, 51, .16);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.19, .82, .34, 1);
}
.drawer.is-open { transform: translateX(0); }

/* 背後を少し暗くして、別の面が手前に開いていることを分かりやすくする */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(46, 47, 44, .38);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer-nav {
  display: grid;
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
}
.drawer-nav a {
  padding: 14px 12px;
  text-decoration: none;
  color: var(--text);
  /* PCナビと同じく、座布団状の塗りにはせず文字色だけのホバーに揃える */
  transition: color .4s ease;
}
.drawer-nav a:hover { color: var(--green); }

/* LINEリンクは、帯で埋めるのではなくサイト内の他の場所（.btn-line）と同じ
   輪郭ボタンの見た目に揃える */
.drawer-line {
  margin-top: 14px;
  height: 52px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15.5px;
}

/* --------------------------------------------------------------------------
   5. ファーストビュー
   -------------------------------------------------------------------------- */
.fv-wrap {
  /* ワイド画面のみ広げる（1439px以下は元の20pxに戻す。下の該当メディアクエリ参照）。
     ヘッダーの高さ自体は変えていないので、スクロールでヘッダーが縮む動作（.is-scrolled）には影響しない */
  margin-top: 40px;   /* 追従ヘッダーとの間の余白 */
  position: relative;
  padding: 0 0 32px;
  background: var(--cream);
  border-radius: 0 0 64px 64px;
  overflow: hidden;
}

.fv {
  position: relative;
  /* 高さ固定のままだとワイドデスクトップで横に伸びた分、縦方向のクロップが
     極端になり人物の顔が切れるため、画面幅に応じて高さも少し伸ばして緩和する */
  height: clamp(520px, 30vw, 620px);
  background: var(--cream);
  overflow: hidden;
  border-radius: 0 0 0 64px;
}
.fv img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(.94) brightness(1.03) sepia(.05);
}
/* スマホ幅は横方向のクロップが大きく、66%だと右側の男性・子供が
   切れすぎていたため、右寄りに調整して2人がもう少し入るようにする */
.fv-1 { object-position: 80% 42%; }
/* fv-2・fv-3 は顔が写真の上寄りにあるため、縦位置を上寄りにしている
   （ワイドデスクトップで縦方向のクロップが強くなるほど、この数値の影響が大きくなる） */
.fv-2 { object-position: 72% 22%; opacity: 0; animation: fvA 24s linear infinite; }
.fv-3 { object-position: 70% 20%; opacity: 0; animation: fvB 24s linear infinite; }
.fv-4 { object-position: 66% 42%; opacity: 0; animation: fvC 24s linear infinite; }

@keyframes fvA { 0%, 25% { opacity: 0; } 29.2%, 100% { opacity: 1; } }
@keyframes fvB { 0%, 50% { opacity: 0; } 54.2%, 100% { opacity: 1; } }
@keyframes fvC { 0%, 75% { opacity: 0; } 79.2%, 100% { opacity: 1; } }

.fv-copy {
  position: absolute;
  left: 0;
  top: 56px;
  display: grid;
  gap: 8px;
  z-index: 2;
}
.fv-band {
  justify-self: start;
  /* 純白だとSaaS系サイトっぽく硬いが、暗くしすぎても読みにくい。
     限りなく白に近いアイボリーにして、ぼかしを強めにすることで
     すりガラスのような柔らかさを出しつつ、可読性を保っている */
  background: rgba(255, 253, 248, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 28px 14px 36px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(51, 54, 51, .05);
  font-family: var(--font-round);
  font-weight: 600;
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: .03em;
  color: var(--green-dark);
}
.fv-tags {
  justify-self: start;
  margin-left: 36px;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* 見出し帯（限りなく白に近いアイボリー）と薄緑が近すぎると、全体がのっぺり
   間延びして見える。--mint（彩度が高い）も試したが、文字色をどう調整しても
   中の対比が強く出て「きつい」印象になったため、濃い不透明の緑＋白文字に戻した。
   実ボタンとは形（完全な丸ピル）で見分けが付く */
.fv-tags span {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-dark);
  box-shadow: 0 1px 3px rgba(51, 54, 51, .1);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
}

/* 営業時間・住所・予約の情報カード。
   ヘッダーのCTA（画面の真の端まで届く方式）と同じく「画面の端からNpx」方式にしている
   （内側1440pxを基準に中央寄せする方式だと、ワイド画面でヘッダーCTAより中央寄りに見えるため）。
   カードの右端は常に画面の真の端から --gutter（48px）の位置になる。 */
.fv-under {
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-end;
}
.info-card {
  position: relative;
  margin: -72px 0 0;
  /* 640px を下限に、ビューポート幅の50%を目安に伸び、900pxで頭打ちにする可変幅 */
  width: clamp(640px, 50vw, 900px);
  max-width: 100%;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(51, 54, 51, .07);
  padding: 22px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px 236px;
  gap: 26px;
  align-items: center;
}
.info-divider { background: var(--line); align-self: stretch; }

.hours {
  width: 100%;
  font-size: 15px;
  font-weight: 500;
}
.hours caption {
  padding: 0 0 8px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}
.hours th {
  padding: 4px 3px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}
.hours tbody tr { border-top: 1px solid var(--line); }
.hours td {
  padding: 8px 3px;
  text-align: center;
}
.hours .hours-range {
  padding: 8px 4px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hours .is-closed { color: var(--muted); }

.hours-closed { margin-top: 8px; font-size: 15px; font-weight: 600; }
.info-hr { margin: 12px 0; height: 1px; background: var(--line); }

.info-meta {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: baseline;
}
.info-meta dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}
.info-meta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}
.info-meta .tel-big {
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.info-actions { display: grid; gap: 16px; }
.info-actions .btn-line,
.info-actions .btn-book {
  height: 52px;
  border-radius: 10px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   6. お知らせ
   -------------------------------------------------------------------------- */
.news { padding: 40px var(--gutter) 104px; background: var(--cream); }
.news-inner { max-width: var(--inner); margin: 0 auto; }
.news h2 {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--green);
}
.news h2::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}
.news ul { list-style: none; margin: 0; padding: 0; max-width: 680px; }
.news li {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
}
.news li:last-child { border-bottom: 1px solid var(--line); }
.news time { color: var(--muted); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   7. 当店について
   -------------------------------------------------------------------------- */
#about {
  z-index: 1;
  margin-top: -88px;
  overflow: hidden;
}
.about-head { max-width: 680px; margin: 0 auto; text-align: center; }
.about-head .sec-title { margin-bottom: 20px; }
.about-head .rule { margin: 28px auto 0; }

.about-list { margin-top: 64px; display: grid; gap: 64px; }

.about-item { position: relative; min-height: 340px; }
.about-item img {
  display: block;
  width: calc(100% - 200px);
  /* 高さ固定のままだとワイド画面で幅だけ伸び、縦方向のクロップが極端になって
     人物の頭が見切れるため、FVの写真と同じ考え方で画面幅に応じて高さも伸ばして緩和する */
  height: clamp(340px, 24vw, 460px);
  object-fit: cover;
  filter: saturate(.88) contrast(.94) brightness(1.03) sepia(.05);
  border-radius: 28px;
  background: var(--cream);
}
.about-item .card {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* 写真は .about-item の幅なりに伸びるため、カードも39vwを目安に伸びる可変幅にし、
     600pxで頭打ちにしている（固定幅だと写真に対してカードが相対的に小さく見えるため） */
  width: clamp(440px, 39vw, 600px);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(51, 54, 51, .08);
  padding: 36px 40px;
}
/* 写真が右・文字が左 */
.about-item--text-left img { margin-left: 200px; }
.about-item--text-left .card { left: 0; }
/* 写真が左・文字が右 */
.about-item--text-right .card { right: 0; }

.about-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-round);
  font-size: 21px;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--green);
}
.about-item .card p.card-sub {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
}
.about-item .card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}

/* ワイド画面では縦方向のクロップが強くなり人物の頭が上に見切れやすいため、
   実際の写真の頭の位置に合わせて縦位置を上寄りにしている（01・03は特に上寄り） */
.about-01 { object-position: 72% 30%; }
.about-02 { object-position: 25% 42%; }
.about-03 { object-position: 78% 28%; }

/* --------------------------------------------------------------------------
   8. 担当者
   -------------------------------------------------------------------------- */
#staff { z-index: 2; padding-top: 136px; padding-bottom: 152px; overflow: hidden; }
.staff-grid {
  position: relative;
  /* 他セクションと同じ1440px上限だと、1500px前後の画面で文章の列が広がりすぎて
     間延びして見えるため、このセクションだけ少し狭くしている */
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 56px;
  align-items: center;
}
#staff .sec-title { font-size: 28px; margin-bottom: 24px; }
.staff-text p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}
.staff-text p:last-of-type { margin-bottom: 28px; }
.staff-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.staff-name .qual {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}
.staff-name .name {
  font-family: var(--font-round);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--text);
}
.staff-photo { justify-self: center; }
.staff-photo img {
  display: block;
  width: 560px; height: 420px;
  object-fit: cover;
  object-position: 62% 30%;
  filter: saturate(.88) contrast(.94) brightness(1.03) sepia(.05);
  border-radius: 56% 44% 62% 38% / 48% 58% 42% 52%;
  background: var(--ivory);
}

/* --------------------------------------------------------------------------
   9. はじめての方へ（流れ）
   -------------------------------------------------------------------------- */
#flow { z-index: 3; }
/* フッターの装飾（.footer-deco）と同じくらいまで薄く・くすませて、
   本文の可読性を邪魔しない「気配」程度にする。
   固定サイズだと、スマホでは大きすぎて文字にかぶり、逆にワイド画面では
   小さすぎて何かのゴミのように見えてしまうため、画面幅に応じて連続的に可変させる */
.flow-deco {
  position: absolute;
  right: -40px;
  top: -10px;
  /* スマホ幅では以前の250px相当（下限240px）を保ち、857px以上で徐々に大きくして
     ワイド画面でも小さく浮いて見えないようにする */
  width: clamp(240px, 28vw, 400px);
  opacity: .16;
  filter: saturate(.6);
  transform: scaleX(-1);
  pointer-events: none;
}
/* 本文を読みやすい幅（--measure）に抑えた分、番号の丸＋本文の帯全体がセクション内で
   左に寄って見えるため、リスト全体を中央寄せにする。
   chipline（カウンセリング→…→お貸出し）がワイド画面で折り返さないよう約900px必要なため、
   列の幅は --measure（720px）ではなく少し広めの900pxを基準に確保している */
.flow-list {
  margin: 56px auto 0;
  max-width: 988px;   /* 番号の列(60px)＋gap(28px)＋本文列(900px) */
  display: grid;
}
.flow-item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding-bottom: 64px;
}
.flow-item:last-child { padding-bottom: 0; align-items: start; }
.flow-rail { display: flex; flex-direction: column; align-items: center; }
.flow-num {
  width: 60px; height: 60px;
  flex: none;
  border-radius: 50%;
  background: var(--pale-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-round);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
}
.flow-item:not(:last-child) .flow-rail::after {
  content: "";
  flex: 1;
  width: 1px;
  min-height: 20px;
  margin-top: 14px;
  background: var(--line-3);
}
/* 文章が.sec-inner幅（最大1440px）いっぱいに伸びると1行が長くなり間延びして見えるため、
   見出し・本文（.note含む）だけ読みやすい幅（--measure）に抑える。
   .flow-body 全体に掛けると下のchipline（カウンセリング→…→お貸出し）まで幅が制限され、
   ワイド画面でも折り返してしまうため、対象を h3/p に絞っている（chiplineは折り返さなくてよい） */
.flow-body h3,
.flow-body p {
  max-width: var(--measure);
}
.flow-body h3 {
  margin: 13px 0 12px;
  font-family: var(--font-round);
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--green);
}
.flow-body p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}

.chipline {
  margin-top: 18px;
  background: var(--pale-3);
  border-radius: 14px;
  padding: 12px 16px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.chipline .chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.chipline .arrow { font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. ご購入後のサポート
   -------------------------------------------------------------------------- */
#support { z-index: 4; }
.support-grid {
  /* staffセクションと同じ理由（1440px上限だと1500px前後で間延びする）で、
     アイコン+短文のカードにはこの幅の方が締まって見えるため少し狭めている */
  max-width: 1180px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.support-card {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 26px 28px;
  border: 1px solid var(--line-5);
  box-shadow: 0 1px 2px rgba(51, 54, 51, .03), 0 8px 20px rgba(51, 54, 51, .03);
}
/* 1段目3枚・2段目2枚を中央寄せに並べる */
.support-card:nth-child(1) { grid-column: 1 / span 2; }
.support-card:nth-child(2) { grid-column: 3 / span 2; }
.support-card:nth-child(3) { grid-column: 5 / span 2; }
.support-card:nth-child(4) { grid-column: 2 / span 2; }
.support-card:nth-child(5) { grid-column: 4 / span 2; }

.support-card .icon-box { margin-bottom: 12px; }
.support-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-round);
  font-size: 17.5px;
  letter-spacing: .03em;
  color: var(--green);
}
.support-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  font-weight: 500;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   11. 取扱補聴器
   -------------------------------------------------------------------------- */
#products { z-index: 5; }
.products-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 452px;
  gap: 28px;
  align-items: stretch;
}
#products .sec-title { margin-bottom: 20px; }
.products-text p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}
.products-text p:last-of-type { margin-bottom: 0; }

/* ロゴ画像が未入稿のあいだの、社名の文字表示 */
.maker-names {
  margin: 28px 0 0;
  font-family: var(--font-round);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--green);
}

.maker-logos {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.product-shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  align-self: center;
}
.product-shot {
  position: relative;
  aspect-ratio: 1 / .8;
  border-radius: 18px;
  background: radial-gradient(70% 60% at 50% 46%,
              var(--cream) 0%, rgba(250, 247, 238, .5) 60%, rgba(250, 247, 238, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   素材が未入稿のあいだ、枠ごと隠しておくための指定

   素材が届いたときの戻し方
     index.html の該当タグから class の `hidden-until-assets` を削除する。
     製品写真を戻すときは、`products-grid` の `no-assets` も一緒に削除する。
   -------------------------------------------------------------------------- */
/* display を指定済みの要素にも効かせるため !important を付けている */
.hidden-until-assets { display: none !important; }

/* 製品写真の枠を隠しているあいだは、本文を1カラムに広げる */
.products-grid.no-assets { grid-template-columns: minmax(0, 1fr); }

/* 素材が未入稿の箇所（メーカーロゴ・製品写真・手描き案内図など） */
.ph {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  line-height: 1.8;
  color: #A2A79C;
  text-align: center;
}
.ph-logo {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
}
.ph-box {
  border-radius: 20px;
  background-color: var(--white);
  background-image: repeating-linear-gradient(135deg,
      rgba(107, 168, 138, .07) 0 8px, rgba(107, 168, 138, 0) 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   12. よくあるご質問
   -------------------------------------------------------------------------- */
#faq { z-index: 6; background: var(--cream); }
.faq-list { margin-top: 40px; display: grid; gap: 12px; }
.faq-item { background: var(--white); border-radius: 16px; overflow: hidden; }

.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 24px 30px;
  border: 0;
  background: none;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.faq-q .q-mark {
  font-family: var(--font-round);
  font-size: 19px;
  font-weight: 600;
  color: var(--mint);
  flex: none;
}
.faq-q .q-text {
  flex: 1;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  color: var(--green);
}
.faq-q .q-sign {
  font-size: 19px;
  font-weight: 600;
  color: var(--mint);
  flex: none;
}
/* grid-template-rows を 0fr↔1fr でアニメーションさせる方法。
   高さがコンテンツ量によって変わっても、JSで実測せずに開閉をアニメーションできる。
   paddingは.faq-a自体ではなく.faq-a-innerに持たせる（0frのときにpadding分の
   隙間が残ってしまうのを防ぐため）。visibilityは、閉じている間に読み上げ・
   タブ移動の対象にならないよう、閉じ終わってから遅延してhiddenにする */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .35s ease, visibility 0s linear .35s;
}
.faq-q[aria-expanded="true"] + .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .35s ease, visibility 0s linear 0s;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 30px 26px 68px;
}
.faq-a p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   13. アクセス
   -------------------------------------------------------------------------- */
#access { z-index: 7; padding-bottom: 88px; overflow: hidden; }
/* スマホヘッダーの「営業時間」から直接ここへ飛ぶ。sticky化したヘッダー（56px固定）に
   隠れないよう、ジャンプ先の上に少し余白を確保する */
#access-info { scroll-margin-top: 68px; }
.access-head { text-align: center; margin-bottom: 56px; }
.access-head .sec-label { color: var(--muted-2); }
.access-head .sec-title { margin: 0; }
.access-head .rule { margin: 20px auto 0; }

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: stretch;
}
.map-col { display: flex; flex-direction: column; gap: 16px; }
.map-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #F2F6EE;
}
.map-frame iframe { border: 0; display: block; width: 100%; height: 100%; }

.access-brand { display: flex; align-items: center; gap: 14px; }
.access-brand img { display: block; width: 52px; height: 52px; flex: none; object-fit: contain; }
.access-brand .name {
  font-family: var(--font-round);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--green);
}
.access-addr { margin-top: 22px; font-size: 16px; line-height: 1.9; font-weight: 500; }
.access-tel {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-round);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.hours2-wrap {
  margin-top: 28px;
  border: 1px solid var(--line-4);
  border-radius: 16px;
  padding: 6px 14px 14px;
}
.hours2 { width: 100%; font-size: 15px; font-weight: 500; }
.hours2 th, .hours2 td { padding: 11px 3px; border-bottom: 1px solid var(--line-3); text-align: center; }
.hours2 th { font-weight: 600; }
.hours2 .hours2-label {
  padding: 11px 8px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted-2);
  white-space: nowrap;
}
.hours2 .hours2-range {
  padding: 11px 8px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hours2 .is-closed { color: var(--muted-2); }
.hours2 .hours2-note {
  padding: 12px 8px 0;
  border-bottom: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.access-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.access-actions .btn-line,
.access-actions .btn-book {
  height: 64px;
  border-radius: 12px;
  font-size: 17px;
}
.access-actions .btn-line { background: var(--ivory); }
.access-actions .btn-line:hover { background: var(--pale-4); }

.route-open {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid var(--green);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  transition: background-color .3s ease;
}
.route-open:hover { background: var(--pale-4); }

/* 耳鼻咽喉科の出口からの行き方（モーダル） */
.route-modal {
  position: fixed;
  inset: 0;
  z-index: 100;   /* 追従ヘッダー（50）より前面に出す */
  background: rgba(46, 47, 44, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.route-dialog {
  width: 720px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  background: var(--ivory);
  border-radius: 28px;
  padding: 36px 40px;
}
.route-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.route-dialog h3 {
  margin: 0;
  font-family: var(--font-round);
  font-size: 21px;
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--green);
}
.route-close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
}
.route-dialog p {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 500;
  text-wrap: pretty;
}
.route-dialog .ph-box { margin-top: 24px; }
.route-dialog .ph-box + .ph-box { margin-top: 16px; }

/* --------------------------------------------------------------------------
   14. フッター
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 40px var(--gutter) 32px;
  background: var(--ivory);
  overflow: hidden;
}
.footer-deco {
  position: absolute;
  left: -34px;
  bottom: -26px;
  width: 150px;
  opacity: .13;
  filter: saturate(.6);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--inner);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}
.footer-nav a { text-decoration: none; color: var(--footer-text); }
.copyright {
  max-width: var(--inner);
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  color: #7C8C7F;
}

/* --------------------------------------------------------------------------
   15. レスポンシブ
   -------------------------------------------------------------------------- */

/* --- ヘッダーを1行に保つための段階的な縮小 ---
   ナビ6項目＋予約＋電話を1行に収める。画面が狭いほど文字と余白を詰める。
   1600px付近は縮小前の等幅のままだと英字表記とナビが重なるため、1699pxから前倒しで縮小する。 */
@media (max-width: 1699px) {
  .hdr-desktop .brand-name { font-size: 21px; }
  .hdr-desktop .brand-mark { width: 48px; height: 48px; }
  /* 英字表記は消さず、文字を小さくし字間も詰めてブランド名側の横幅に近づける */
  .hdr-desktop .brand-en { font-size: 9.5px; letter-spacing: .04em; }
  .hdr-desktop .brand { margin-right: 20px; }
  .gnav { font-size: 14px; }
  .gnav a { padding: 0 7px; }
  .hdr-book { padding: 0 18px; font-size: 15px; min-width: 180px; }
  .hdr-tel { padding: 0 16px; }
  .hdr-tel .tel-num { font-size: 18px; }
  .hdr-edge { margin-left: 16px; }
}

/* --- ヘッダーの切り替え ---
   1360〜1439pxは、ナビ6項目＋予約＋電話＋英字表記を1行に収めるには窮屈すぎるため、
   無理に詰め込まずタブレット用（ハンバーガーメニュー）に委ねる。 */
@media (max-width: 1439px) {
  .hdr-desktop { display: none; }
  .hdr-compact { display: block; }
  .mobile-cta { display: grid; }
  /* 画面下部に固定CTAバーがかぶさる分、フッターの下に余白を足して隠れないようにする */
  .site-footer { padding-bottom: calc(32px + 72px + env(safe-area-inset-bottom, 0px)); }
  /* ヘッダー下の余白の拡大はワイド画面のみ。この幅ではスマホ版と同じ元の20pxに戻す */
  .fv-wrap { margin-top: 20px; }
  /* 元のbottom:-26pxのままだと、下のpadding-bottom拡張分もあって
     木がほぼ全部CTAバーの裏に隠れてしまう。かといって完全に持ち上げると
     木が地面から浮いて見えるため、幹の下側だけCTAバーに重なって隠れる
     （＝地面に立っているように見える）程度の位置にする */
  .footer-deco { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
}

/* --- タブレット以下（〜1023px） --- */
@media (max-width: 1023px) {
  :root { --gutter: 24px; }

  /* 次のセクションが上に重なる量（margin-top）を固定のままにすると、
     paddingを画面幅に応じて縮めても重なり分が同じだけ効くため、
     見た目の余白（padding − 重なり量）が画面が狭いほど極端に薄くなる。
     ここでは重なり量もpaddingに合わせて縮め、見た目の余白を保っている */
  .sec { padding: 96px var(--gutter) 104px; border-radius: 56px 56px 0 0; margin-top: -58px; }
  .sec-deco { border-radius: 56px 56px 0 0; }
  #about { padding-top: 104px; }
  #staff { padding-top: 104px; padding-bottom: 112px; }

  .fv { height: 420px; border-radius: 0 0 0 48px; }
  .fv-wrap { padding-bottom: 0; border-radius: 0 0 48px 48px; }
  .fv-band { font-size: 26px; padding: 12px 22px 12px 24px; }
  .fv-tags { margin-left: 24px; }

  /* タブレット幅（〜1023px）はFVの情報カードを出さない。
     代わりにヘッダーの営業時間・アクセスアイコン（.hdr-quick）を案内に使う */
  .fv-under { display: none; }

  .news { padding: 32px var(--gutter) 88px; }
  #about { margin-top: -72px; }

  .about-list { gap: 40px; }
  .about-item { min-height: 0; }
  .about-item img,
  .about-item--text-left img { width: 100%; margin-left: 0; height: 280px; }
  .about-item .card {
    /* 写真には色調補正の filter がかかっており、CSSの重なり順の仕様上 filter を持つ
       要素は独自の描画グループになる。position:static のままだとカード側がその
       グループに参加できず、DOM順としては後にあるカードより写真が上に来てしまう
       （＝カードが写真の下に潜る）。position:relative + z-index で確実に上に乗せる。
       ※ top:50%（デスクトップの縦中央寄せ）は position:relative だと有効な値になり
       意図しない位置ズレを起こすため、必ず top:auto でリセットすること */
    position: relative;
    top: auto;
    z-index: 1;
    transform: none;
    width: auto;
    /* 写真の下の方でやや重なる程度の浅い重なりにする */
    margin: -20px 20px 0;
    padding: 28px 28px;
  }

  /* タブレット・スマホ幅は横に広いクロップになるため、実際の写真の人物の位置に
     合わせている：about-01=防音室での聴力測定／about-02=技能者が補聴器を説明／
     about-03=ご家族の会話 */
  .about-01 { object-position: 70% 40%; }
  .about-02 { object-position: 30% 40%; }
  .about-03 { object-position: 78% 40%; }

  .staff-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .staff-photo img { width: 100%; height: 360px; }

  .support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .support-card:nth-child(n) { grid-column: auto; }

  .products-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .access-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .map-frame { min-height: 320px; }
}

/* --- スマートフォン（〜767px） --- */
@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .hdr-compact-row { min-height: 56px; padding: 0 0 0 16px; }
  .hdr-compact .brand-mark { width: 40px; height: 40px; }
  .hdr-compact .brand-name { font-size: 17px; letter-spacing: .01em; line-height: 1.3; white-space: normal; }
  /* 英語サブタイトルが折り返さない1行のため、この帯の中で最も横幅を取る要素になっている。
     401〜767pxの間で連続的に縮め、ヘッダー右側の3ボタンの取り分を確保する */
  .hdr-compact .brand-en { font-size: clamp(7.5px, 2vw, 9px); letter-spacing: .04em; }
  .drawer { padding: 72px 18px 20px; border-radius: 16px 0 0 16px; }

  .sec { padding: 80px var(--gutter) 88px; border-radius: 40px 40px 0 0; margin-top: -48px; }
  .sec-deco { border-radius: 40px 40px 0 0; }
  .sec-title { font-size: 24px; }
  .lead { font-size: 16px; }
  #about { margin-top: -64px; padding-top: 88px; }
  #staff { padding-top: 88px; padding-bottom: 96px; }

  .fv { height: 300px; border-radius: 0 0 0 32px; }
  .fv-wrap { border-radius: 0 0 32px 32px; }
  /* スマホ幅は写真の人物と上寄りでぶつかるため、キーメッセージを左下に置く */
  .fv-copy { top: auto; bottom: 16px; gap: 5px; }
  /* 375px前後だと、写真に対して文字の占める割合が大きく、ほぼ文字だけの
     見た目になって重かったため、フォント・余白ともひとまわり小さくする */
  .fv-band { font-size: 16px; padding: 8px 14px; }
  .fv-tags { margin-left: 14px; margin-top: 6px; }
  .fv-tags span { font-size: 11px; padding: 5px 10px; }

  .mobile-cta .tel-num { font-size: 15px; }
  .mobile-cta .btn-book { font-size: 14px; gap: 6px; }

  /* 日付の下で改行され間延びして見えるため、PC版と同じ横並びのままにする
     （1列積みにしない）。日付側の列だけ少し狭くして本文側の幅を確保する */
  .news li { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; font-size: 15px; }

  .about-list { gap: 48px; }
  .about-item img,
  .about-item--text-left img { height: 240px; border-radius: 20px; }
  .about-item .card {
    margin: -28px 16px 0;
    padding: 24px 22px;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(51, 54, 51, .08);
  }
  .about-item h3 { font-size: 19px; margin-bottom: 10px; }
  .about-02 { object-position: 35% 40%; }
  .about-03 { object-position: 85% 40%; }

  .staff-photo img { height: 280px; }
  .staff-text p { font-size: 16px; }

  .flow-item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 44px; }
  .flow-num { width: 44px; height: 44px; font-size: 20px; }
  .flow-body h3 { font-size: 20px; margin-top: 8px; }
  .flow-body p { font-size: 16px; }
  /* 横並び＋折り返しだと、矢印が行の途中で切れて読み取りにくいため、
     スマホでは1項目ずつ縦に積み、矢印も下向きにする */
  .chipline { display: flex; flex-direction: column; align-items: stretch; }
  .chipline .chip { width: 100%; text-align: center; }
  .chipline .arrow { align-self: center; transform: rotate(90deg); }

  /* 情報量に対して縦に長すぎるため、2列×折り返しにする。5枚目は端数なので全幅に */
  .support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .support-card:last-child { grid-column: 1 / -1; }
  .support-card { padding: 20px 18px 22px; }
  /* 2列で幅が狭く、アイコンの真下で見出しが改行される意味が薄いため、
     アイコンを縮小してアイコン＋見出しを横並び1行にする */
  .support-card { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .support-card .icon-box { flex: none; margin-bottom: 0; }
  .support-card .icon-box svg { width: 24px; height: 24px; }
  .support-card h3 { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 16px; }
  .support-card p { flex: 0 0 100%; margin-top: 10px; }

  .product-shots { gap: 10px; }
  .maker-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-q { padding: 18px 18px; gap: 10px; }
  .faq-q .q-text { font-size: 16px; }
  .faq-a-inner { padding: 0 18px 20px 42px; }
  .faq-a p { font-size: 16px; }

  /* #accessは最後のセクションで、下に重なる次のセクションが無いため
     padding-bottomがそのまま見た目の余白になる。88pxはPCでは他の余白と
     近い量感で気にならないが、スマホでは他セクションの見た目の余白を
     40〜48px程度に詰めた後だと相対的に広く感じるため、ここだけ縮める */
  #access { padding-bottom: 56px; }
  .access-tel { font-size: 21px; }
  .access-actions { grid-template-columns: minmax(0, 1fr); }
  .access-actions .notice-tag--under-book { grid-column: auto; }   /* 1列になるため右列指定は不要 */
  .access-actions .btn-line,
  .access-actions .btn-book { height: 56px; }
  .hours2 { font-size: 13.5px; }
  .hours2 th, .hours2 td { padding: 9px 2px; }

  .route-modal { padding: 16px; }
  .route-dialog { padding: 24px 20px; border-radius: 20px; }

  .footer-inner { justify-content: flex-start; }
  /* flex-wrapの自然な折り返しだと、項目の文字幅次第で1行に2個入ったり3個入ったり
     不安定になる。常に2列になるよう明示的なグリッドに変える */
  .footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 24px; }
  .copyright { text-align: left; }
}

/* --- 375px前後の狭いスマホ：店舗名が折り返してしまうのを防ぐ。
   ロゴ・アイコンボタン側を詰めて店名の余白を確保したうえで、店名も少し縮小し、
   折り返し自体をなくす（white-space:nowrap） --- */
@media (max-width: 400px) {
  /* 左paddingが16pxなので、ここも18px以上にして中央の余白が
     左paddingより狭くならないようにする（狭いままだとロゴが右に寄って見える） */
  .hdr-compact-row { gap: 18px; }
  .hdr-compact .brand-mark { width: 34px; height: 34px; }
  .hdr-compact .brand-name { font-size: 15px; letter-spacing: 0; white-space: nowrap; }
  .hdr-compact .brand-en { font-size: 7.5px; letter-spacing: .02em; }
}

/* --------------------------------------------------------------------------
   16. OSで「動きを減らす」が設定されている場合
       （写真の自動切り替えを止め、1枚目を表示したままにする）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .fv-2, .fv-3, .fv-4 { display: none; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   17. 印刷
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .route-modal, .map-frame, .footer-deco { display: none !important; }
  .sec { margin-top: 0; box-shadow: none; page-break-inside: avoid; }
}
