/* =====================================================================
   日本橋 すし 釣りきん／神田 鮨酒処 釣りきん サイト共通 CSS
   出典: Figma 実測（docs/figma/design_tokens.md）。PC 1440 / SP 375。
   構成:
     1. フォント・トークン・リセット（和紙地・明朝。神田は html[data-store="kanda"] で暗色）
     2. 共通ヘッダー（PC＝ヒーローに重なる透明ヘッダー・ロゴ 174・白ナビ・電話/WEB予約／SP＝白い帯 78・ハンバーガー・全画面メニュー）
     3. 共通フッター（ロゴ＋ナビ＋著作権）＋ SP 下部固定ボタン（電話・WEB予約）
     4. 共通部品（.tk-*：見出し・ボタン・縦書き・白箱・筆線）
     5. 店舗 TOP のセクション部品（導入 / Instagram 帯 / お品書き / こだわり / ギャラリー / 店内について / 店舗案内 / 姉妹店）
     6. 分岐ページ（店舗パネル）
     7. レスポンシブ（992px 以下＝SP レイアウト）
   ※ カスタムHTMLブロックはこの .tk-* クラスだけで組む（ブロック個別CSSは不要）
   ※ 標準ブロック（hero_main / hero_page / gmap / latest_news_bar / news_list_grid / menu_category_grid）の
      テーマCSSは dashboard/theme_block_css.json（元は docs/blocks/css/*.css）
   ※ 店の判定（html[data-store]）とロゴ・ナビ・電話・WEB予約の差し替えは共通ヘッダーの
      custom_html（docs/blocks/common/header_store_switch.html）が行う
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root {
  /* 色（Figma 実測） */
  --tk-black: #000000;
  --tk-white: #FFFFFF;
  --tk-blue: #738DA2;      /* 水色（英字見出し・罫線・こだわり見出し・フッターナビ） */
  --tk-red: #C0282A;       /* 朱（ボタン） */
  --tk-ink: #0B0B0B;       /* 「Instagram」の文字 */
  /* 店ごとに切り替わる値（既定＝日本橋） */
  --tk-fg: var(--tk-black);        /* 本文 */
  --tk-accent: var(--tk-blue);     /* 英字見出し・罫線・ナビ */
  --tk-head: var(--tk-black);      /* 日本語見出し */
  --tk-bg-image: url('/image/assets/tk_washi.webp');
  --tk-bg-overlay: none;
  --tk-brush-1: url('/image/assets/tk_brush_blue_1.webp');
  --tk-brush-2: url('/image/assets/tk_brush_blue_2.webp');
  --tk-brush-3: url('/image/assets/tk_brush_blue_3.webp');
  --tk-brush-4: url('/image/assets/tk_brush_blue_4.webp');
  --tk-brush-5: url('/image/assets/tk_brush_blue_5.webp');
  --tk-logo: url('/image/assets/tk_logo_nihonbashi.webp');

  /* フォント（1 書体） */
  --tk-font: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  /* ヘッダー */
  --tk-header-h: 87px;

  /* 旧テンプレの変数（標準ブロックの共通CSSが参照するため残す・値だけ本案件に合わせる） */
  --bg-base: #F7F8FA;
  --bg-paper: #F7F8FA;
  --bg-warm: #F7F8FA;
  --ink: #000000;
  --text-main: #000000;
  --text-sub: #000000;
  --text-muted: #555555;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #FFFFFF;
  --gold: #738DA2;
  --gold-light: #738DA2;
  --vermilion: #C0282A;
  --fc-btn-bg: #C0282A;
  --fc-btn-fg: #FFFFFF;
  --fc-btn-bg-hover: #A21F21;
  --fc-btn-fg-hover: #FFFFFF;
  --fc-btn-border: #C0282A;
  --fc-btn-outline-fg: #C0282A;
  --line: rgba(115, 141, 162, 0.5);
  --line-dark: rgba(0, 0, 0, 0.4);
  --shadow-base: 0 18px 50px rgba(0, 0, 0, 0.12);
  --font-serif: var(--tk-font);
  --font-sans: var(--tk-font);
  --font-en: var(--tk-font);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}
/* 神田：同じ和紙に黒 80% を重ね、文字・罫線・英字見出しは白。筆線は金色 */
html[data-store="kanda"] {
  --tk-fg: var(--tk-white);
  --tk-accent: var(--tk-white);
  --tk-head: var(--tk-white);
  /* Figma のデータは「黒 80%」だが、実際の描画は #0E0E0E（画素で実測）。見た目に合わせて濃くする */
  --tk-bg-overlay: linear-gradient(rgba(0, 0, 0, .943), rgba(0, 0, 0, .943));
  --tk-brush-1: url('/image/assets/tk_brush_gold_1.webp');
  --tk-brush-2: url('/image/assets/tk_brush_gold_2.webp');
  --tk-brush-3: url('/image/assets/tk_brush_gold_1.webp');
  --tk-brush-4: url('/image/assets/tk_brush_gold_3.webp');
  --tk-brush-5: url('/image/assets/tk_brush_gold_4.webp');
  --tk-logo: url('/image/assets/tk_logo_kanda.webp');
  --bg-base: #0E0E0E;
  --bg-paper: #0E0E0E;
  --ink: #FFFFFF;
  --text-main: #FFFFFF;
  --text-sub: #FFFFFF;
  --text-muted: #CCCCCC;
  --gold: #FFFFFF;
  --gold-light: #FFFFFF;
  --line: rgba(255, 255, 255, 0.6);
  --line-dark: rgba(255, 255, 255, 0.4);
}
/* ※ 行間は px で指定する。Figma は「文字サイズ×行間」の端数を整数 px に丸めて行を積む
   （40×1.39=55.6 → 56、16×1.45=23.2 → 23、32×1.39=44.5 → 45、24×1.39=33.4 → 33、20×1.39=27.8 → 28） */

/* ---------- 1. リセット・ベース ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding-top: 0;                      /* ヘッダーはヒーローに重なる（透明）。ヒーローの無いページは 2 章で padding を足す */
  background-color: #F7F8FA;
  background-image: var(--tk-bg-overlay), var(--tk-bg-image);
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  color: var(--tk-fg);
  font-family: var(--tk-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  writing-mode: horizontal-tb;
  overflow-wrap: break-word;
}
html[data-store="kanda"] body { background-color: #0E0E0E; }
body::before { display: none; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease, background .25s ease, border-color .25s ease, opacity .25s ease; }
a:hover { opacity: .75; }
button { font: inherit; }

.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* 旧テンプレの共通見出し（標準ブロックが参照）は本案件の見出し（36/72 黒＋24/48 水色）に寄せる */
.section-header, .menu-section-header, .slf-header, .course-list-header, .news-section-header, .job-section-header, .contact-section-header { text-align: center; margin-bottom: 25px; }
.section-header h2, .menu-main-title, .slf-main-title, .course-list-title, .news-main-title, .job-main-title, .contact-main-title { font-family: var(--tk-font); font-size: 36px; line-height: 72px; letter-spacing: .03em; color: var(--tk-head); font-weight: 600; }
.section-header h2::after, .menu-main-title::after, .slf-main-title::after, .course-list-title::after, .news-main-title::after, .job-main-title::after, .contact-main-title::after { display: none; }
.section-header p, .menu-sub-text, .slf-sub-text, .course-list-desc, .news-sub-text, .job-sub-text, .contact-sub-text { margin-top: 0; color: var(--tk-accent); font-family: var(--tk-font); font-size: 24px; line-height: 48px; letter-spacing: .03em; font-weight: 600; }

/* ---------- 2. 共通ヘッダー ---------- */
/* Figma: ロゴ 174×174 が左上（0,0）、ナビは中央（x=414〜1025・16px 白・影）、右に電話 160×46（朱）と WEB予約 160×46（白 40%＋朱の枠・ぼかし）。
   背景は無し（ヒーローの動画・写真に重なる）。スクロールしたら .tk-scrolled で薄い暗幕を敷く（読みやすさのため） */
.global-header {
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--tk-header-h);
  min-height: 0;
  padding: 0 40px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: background .3s ease;
}
.global-header.tk-scrolled { background: rgba(0, 0, 0, .55); backdrop-filter: blur(8px); }
.header-logo { display: block; flex: 0 0 auto; width: 174px; height: 174px; font-size: 0; line-height: 0; color: transparent; }
/* ロゴはブロックが style="max-height:45px; width:auto" を出すので !important で上書きする。
   日本橋は正方形（Figma 174×174）、神田は縦長（Figma 122×174）。元画像の縦横比と同じにすること
   （比が違うと object-fit: cover で切れる） */
.header-logo img { width: 174px !important; height: 174px !important; max-height: none !important; object-fit: cover !important; }
html[data-store="kanda"] .header-logo { width: 122px; }
html[data-store="kanda"] .header-logo img { width: 122px !important; height: 174px !important; }
.header-logo:hover { opacity: 1; }
.header-page-eyebrow { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; pointer-events: none; }

.desktop-nav {
  position: absolute; left: 50%; top: 32px; transform: translateX(-50%);
  display: flex; justify-content: center; align-items: center; gap: 10px;
}
.desktop-nav a {
  position: relative;
  display: inline-block;
  padding: 0;
  font-family: var(--tk-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: .06em;
  color: var(--tk-white);
  text-shadow: 0 0 12px rgba(0, 0, 0, .56);
  white-space: nowrap;
}
.desktop-nav a::after { display: none; }
.desktop-nav a:hover { opacity: .7; }
.desktop-nav a.active { color: var(--tk-white); }

.header-btns { display: flex; align-items: center; gap: 6px; margin-top: 20px; }
.btn-header-tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 160px; height: 46px; padding: 10px;
  border-radius: 0;
  background: var(--tk-red);
  color: var(--tk-white);
  font-family: var(--tk-font); font-weight: 400; font-size: 18px; line-height: 26px; letter-spacing: .06em;
  white-space: nowrap;
}
.btn-header-tel:hover { opacity: 1; background: #A21F21; }
.btn-header-tel i { display: none; }
.btn-header-reserve {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 160px; height: 46px; padding: 10px;
  border-radius: 0;
  border: 1px solid var(--tk-red);
  background: rgba(255, 255, 255, .4);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: var(--tk-red);
  font-family: var(--tk-font); font-weight: 400; font-size: 18px; line-height: 26px; letter-spacing: .06em;
  white-space: nowrap;
}
.btn-header-reserve:hover { opacity: 1; background: rgba(255, 255, 255, .7); }
.btn-header-reserve i { display: none; }
.btn-header-mypage, .mobile-mypage-link { display: none !important; }
/* 言語スイッチャー（多言語機能）は使わない */
.global-header .fc-language-switcher, .mobile-nav-overlay .fc-language-switcher { display: none !important; }

/* ハンバーガー（SP のみ表示・Figma: material-symbols:menu 47×47・#738DA2） */
.menu-trigger {
  display: none;
  align-items: center; justify-content: center; line-height: 1;
  width: 47px; height: 47px;
  border: 0; border-radius: 0;
  background: transparent;
  color: var(--tk-blue); cursor: pointer; padding: 0;
}
.menu-trigger i { display: block; font-size: 34px; line-height: 1; color: var(--tk-blue); }

/* SP メニュー（Figma に無い → 和紙地の全画面。項目は中央・明朝 18px・下線） */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background-color: #F7F8FA;
  background-image: var(--tk-bg-overlay), var(--tk-bg-image);
  background-size: cover;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px 30px 120px; gap: 0;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
html[data-store="kanda"] .mobile-nav-overlay { background-color: #0E0E0E; }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-overlay > a {
  display: block; width: min(100%, 300px);
  padding: 14px 0;
  border-bottom: 1px solid var(--tk-accent);
  font-family: var(--tk-font); font-weight: 600; font-size: 18px; line-height: 26px; letter-spacing: .06em; color: var(--tk-fg); text-align: center;
}
.mobile-nav-overlay > a.mobile-reserve-btn { margin-top: 24px; width: 200px; height: 46px; padding: 10px; border: 1px solid var(--tk-red); background: rgba(255, 255, 255, .4); color: var(--tk-red); font-weight: 400; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav-overlay .menu-trigger {
  position: absolute; top: 16px !important; right: 20px !important;
  width: 47px; height: 47px; background: none;
}
.mobile-nav-overlay .menu-trigger i { display: block; font-size: 34px; line-height: 1; color: var(--tk-blue); }

/* ヒーローの無いページ（お知らせ・記事・共通モード）はヘッダーに地を敷き、本文をヘッダーの下から始める */
/* お知らせなど、ヒーローの無いページ：ヘッダーは白地にして本文をその下から始める（Figma に該当デザインは無い） */
html[data-store="common"] body { padding-top: var(--tk-header-h); }
html[data-store="common"] .global-header { background: var(--tk-white); border-bottom: 1px solid rgba(115, 141, 162, .3); }
html[data-store="common"] .desktop-nav a { color: var(--tk-black); text-shadow: none; }
html[data-store="common"] .global-header.tk-scrolled { background: var(--tk-white); backdrop-filter: none; }
/* 分岐ページ（index）はヘッダー無し（Figma どおり） */
html[data-store="branch"] .global-header, html[data-store="branch"] .mobile-nav-overlay { display: none !important; }
html[data-store="branch"] body { padding-top: 0; }

/* ---------- 3. 共通フッター ---------- */
/* Figma: ロゴ 174×174 中央 → 34 → ナビ 5 項目（16px・#738DA2・間 30）→ 34 → ©sushi-tsurikin.com（14px 黒）。上余白 126・下 10。
   店舗情報の表・地図・決済（.info-grid）は Figma に無いので出さない */
.global-footer { padding: 126px 20px 0; background: transparent; color: var(--tk-fg); border: 0; }
/* 神田は Figma の余白が違う（店舗案内の表が長く、姉妹店のロゴが小さいぶん下が空く） */
html[data-store="kanda"] .global-footer { padding-top: 235px; }
html[data-store="kanda"] .footer-copy-text { padding-bottom: 14px; }
.footer-nav-wrap { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.footer-nav-brand { order: -1; }
/* ブロックは店名テキスト（h2）を出す → 文字を消してロゴ画像に差し替える（店ごとの画像は --tk-logo） */
.footer-nav-brand h2 { width: 174px; height: 174px; font-size: 0; line-height: 0; color: transparent; background: var(--tk-logo) center / contain no-repeat; }
html[data-store="kanda"] .footer-nav-brand h2 { width: 120px; height: 170px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; }
.footer-nav-link { display: inline-block; font-family: var(--tk-font); font-weight: 400; font-size: 16px; line-height: 23px; letter-spacing: .06em; color: var(--tk-accent); white-space: nowrap; }
.footer-nav-link:hover { opacity: .7; }
.info-grid { display: none; }
/* 著作権：ブロックの定型文（© 年 店名. All rights reserved.）を隠して Figma の文言に差し替える */
.footer-copy-text, .footer-copy {
  padding: 34px 20px 10px; border: 0; background: transparent;
  text-align: center; color: var(--tk-fg);
  font-family: var(--tk-font); font-weight: 600; letter-spacing: .03em;
  font-size: 0; line-height: 0;   /* ブロックが出す定型文（© 年 店名…）を消す。行の高さも 0 にしないと 1 行ぶん残る */
}
.footer-copy-text::after, .footer-copy::after { content: "©sushi-tsurikin.com"; display: block; font-size: 14px; line-height: 28px; }
html[data-store="branch"] .global-footer { padding-top: 60px; }
html[data-store="branch"] .footer-nav-wrap { display: none; }
html[data-store="branch"] .footer-copy-text, html[data-store="branch"] .footer-copy { padding-top: 0; }

/* SP 下部固定ボタン（電話・WEB予約）＝フッターブロックの浮遊ボタン。PC では出さない（ヘッダーにある） */
.fc-floating-actions { display: none !important; }
body.has-floating-actions { padding-bottom: 0; }

/* ---------- 4. 共通部品（.tk-*） ---------- */
.tk-inner { width: min(1255px, 100% - 40px); margin: 0 auto; }
/* セクション見出し：日本語 36/72 ＋ 英字 24/48 #738DA2（神田は白）。中央 */
.tk-head { text-align: center; }
.tk-head-jp { display: block; font-family: var(--tk-font); font-weight: 600; font-size: 36px; line-height: 72px; letter-spacing: .03em; color: var(--tk-head); }
.tk-head-en { display: block; font-family: var(--tk-font); font-weight: 600; font-size: 24px; line-height: 48px; letter-spacing: .03em; color: var(--tk-accent); }
/* 縦書き（キャッチ・「店内について」） */
.tk-vert { writing-mode: vertical-rl; text-orientation: mixed; font-family: var(--tk-font); font-weight: 600; }
/* ボタン */
.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px; border-radius: 0; border: 1px solid transparent;
  font-family: var(--tk-font); white-space: nowrap; text-align: center; cursor: pointer;
}
.tk-btn--red { background: var(--tk-red); color: var(--tk-white); border-color: var(--tk-red); }
.tk-btn--red:hover { opacity: 1; background: #A21F21; border-color: #A21F21; }
.tk-btn--outline { background: rgba(255, 255, 255, .4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--tk-red); border-color: var(--tk-red); }
.tk-btn--outline:hover { opacity: 1; background: rgba(255, 255, 255, .8); }
.tk-btn--white { background: transparent; color: var(--tk-white); border-color: var(--tk-white); }
.tk-btn--white:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
.tk-btn--lg { width: 206px; height: 68px; font-weight: 600; font-size: 24px; line-height: 48px; letter-spacing: .12em; }   /* 詳しくはこちら（分岐） */
.tk-btn--menu { width: 204px; height: 54px; padding: 12px 40px; font-weight: 500; font-size: 15px; line-height: 30px; letter-spacing: .03em; }   /* メニューはこちら */
.tk-btn--tel { width: 215px; height: 55px; font-weight: 400; font-size: 24px; line-height: 35px; letter-spacing: .06em; }   /* 店舗案内の電話 */
.tk-btn--web { width: 160px; height: 55px; font-weight: 400; font-size: 18px; line-height: 26px; letter-spacing: .06em; }   /* 店舗案内の WEB予約 */
.tk-btn--web.tk-btn--outline { background: var(--tk-white); }
/* 白 88% の箱（導入・店内について） */
.tk-box { background: rgba(255, 255, 255, .88); padding: 38px 43px; color: var(--tk-black); }
.tk-box p { font-family: var(--tk-font); font-weight: 500; font-size: 16px; line-height: 32px; letter-spacing: .03em; }
/* 筆線（装飾画像。位置は各セクションで指定） */
.tk-brush { position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
/* SP／PC の改行の出し分け */
.tk-sp-br { display: none; }
.tk-pc-br { display: inline; }
.tk-sp-only { display: none; }
.tk-pc-only { display: block; }

/* ---------- 5. 店舗 TOP のセクション部品 ---------- */
/* 5-1 導入：ヒーロー直下。筆線（1195×288・左）＋縦書きキャッチ（右・y=918）＋写真 568×379（左端）に白箱 741×236 が 70 重なる（y=1131）。全体 807〜1510 */
.tk-intro { position: relative; height: 703px; }
.tk-intro-brush { left: 0; top: 0; width: 1195px; height: 288px; background-image: var(--tk-brush-1); }
html[data-store="kanda"] .tk-intro-brush { left: -340px; width: 1195px; height: 288px; background-size: contain; }
.tk-intro-catch { position: absolute; top: 111px; right: 80px; display: flex; flex-direction: row-reverse; gap: 10px; }
/* 縦書きは letter-spacing が文字の送りになる（Figma の行間 55.6 → 送り 56 ＝ 40 + 16）。
   line-height は列の幅（Figma の w=58） */
.tk-intro-catch span { display: block; writing-mode: vertical-rl; text-orientation: mixed; font-size: 40px; line-height: 58px; letter-spacing: 16px; color: var(--tk-fg); }
.tk-intro-body { position: absolute; left: 0; top: 324px; width: 1239px; height: 379px; display: flex; align-items: center; }
.tk-intro-photo { flex: 0 0 568px; width: 568px; height: 379px; object-fit: cover; }
.tk-intro-box { flex: 0 0 741px; width: 741px; margin-left: -70px; }   /* Figma の gap −70（箱が写真に重なる） */

/* 5-2 Instagram 帯：見出し「Instagram」40px（黒）→ 帯 640×487（写真＋縦グラデ・ロゴ 200・上下 2px 線の枠 554×177）→ 右下へ流れる筆線＋白枠＋白文字。全体 1599〜2472 */
.tk-insta { position: relative; height: 873px; margin-top: 89px; }
.tk-insta-title { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-family: var(--tk-font); font-weight: 600; font-size: 40px; line-height: 56px; letter-spacing: .02em; color: var(--tk-ink); }
html[data-store="kanda"] .tk-insta-title { color: var(--tk-ink); }
.tk-insta-frame { position: absolute; left: calc(50% - 320px); top: 106px; width: 640px; height: 487px; overflow: hidden; display: block; background: var(--tk-white); }
.tk-insta-frame:hover { opacity: 1; }
.tk-insta-frame img.tk-insta-photo { position: absolute; left: -155px; top: -72px; width: 949px; height: 633px; max-width: none; object-fit: cover; }
.tk-insta-frame::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, #000000 100%); }
.tk-insta-logo { position: absolute; left: 220px; top: 40px; width: 200px; height: 200px; object-fit: cover; }
html[data-store="kanda"] .tk-insta-logo { left: 249px; top: 32px; width: 142px; height: 200px; }
.tk-insta-cta {
  position: absolute; left: 43px; top: 270px; width: 554px; height: 177px;
  display: flex; align-items: center; justify-content: center; padding: 10px;
  border-top: 2px solid var(--tk-white); border-bottom: 2px solid var(--tk-white);
  color: var(--tk-white); text-align: center;
  font-family: var(--tk-font); font-weight: 500; font-size: 48px; line-height: 67px; letter-spacing: .06em;
  -webkit-text-stroke: .5px #939393; paint-order: stroke fill;
  text-shadow: 10px 10px 15px rgba(0, 0, 0, .6);
}
.tk-insta-cta b { font-weight: 500; font-size: 64px; line-height: 90px; }
/* 帯の右下に流れる筆線。Figma には白い枠・白文字（Instagram／@アカウント名）も重ねてあるが出さない。
   理由：日本橋は白い和紙地に白文字で実際には見えず、神田は「公式instagramはこちら」の帯と重なって読めないため
   （どちらも Figma の実描画を撮って確認した）。出したくなったら .tk-insta-deco-name の display を block に。 */
.tk-insta-deco { position: absolute; left: 450px; top: 452px; width: 990px; height: 421px; pointer-events: none; }
.tk-insta-deco-brush { left: 167px; top: 154px; width: 823px; height: 267px; background-image: var(--tk-brush-2); }
html[data-store="kanda"] .tk-insta-deco { left: 613px; top: 522px; width: 947px; }
html[data-store="kanda"] .tk-insta-deco-brush { left: 124px; top: 84px; background-size: contain; background-position: left top; }
.tk-insta-deco-name { display: none; position: absolute; left: 163px; top: 70px; width: 210px; white-space: nowrap; text-align: center; color: var(--tk-white); font-family: var(--tk-font); font-weight: 600; font-size: 40px; line-height: 56px; letter-spacing: .02em; }
html[data-store="kanda"] .tk-insta-deco-name { display: none; }

/* 5-3 お品書き：見出し → 40 → 文（581）＋ボタン ｜ 写真 634×423（間 40）。全体 2499〜3082 */
.tk-menu { margin-top: 27px; }
.tk-menu-row { display: flex; align-items: center; gap: 40px; margin-top: 40px; }
.tk-menu-text { flex: 0 0 581px; display: flex; flex-direction: column; gap: 40px; }
.tk-menu-text h3 { font-family: var(--tk-font); font-weight: 600; font-size: 36px; line-height: 72px; letter-spacing: .03em; color: var(--tk-head); }
.tk-menu-text p { font-family: var(--tk-font); font-weight: 500; font-size: 15px; line-height: 30px; letter-spacing: .03em; color: var(--tk-fg); }
.tk-menu-photo { flex: 0 0 634px; width: 634px; height: 423px; object-fit: cover; }

/* 5-4 当店のこだわり：見出し → 54 → 行（文 640 ＋ 59 ＋ 写真 472×315）×4・行間 54。奇数行は文が左、偶数行は写真が左 */
.tk-kodawari { position: relative; margin-top: 100px; }
.tk-kodawari-inner { width: min(1171px, 100% - 40px); margin: 54px auto 0; display: flex; flex-direction: column; gap: 54px; }
.tk-kodawari-row { display: flex; align-items: center; gap: 59px; }
.tk-kodawari-row:nth-child(even) { flex-direction: row-reverse; }
.tk-kodawari-text { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.tk-kodawari-text h3 { width: 100%; font-family: var(--tk-font); font-weight: 600; font-size: 32px; line-height: 58px; letter-spacing: .06em; color: var(--tk-accent); }
.tk-kodawari-title { display: block; width: 536px; max-width: 100%; }
.tk-kodawari-wave { display: block; width: 100%; height: 11px; margin-top: 27px; background-color: var(--tk-accent); -webkit-mask: url('/image/assets/tk_wave.svg') left top / 20px 8px repeat-x; mask: url('/image/assets/tk_wave.svg') left top / 20px 8px repeat-x; }
.tk-kodawari-text p { font-family: var(--tk-font); font-weight: 500; font-size: 15px; line-height: 30px; letter-spacing: .03em; color: var(--tk-fg); }
.tk-kodawari-photo { flex: 0 0 472px; width: 472px; height: 315px; object-fit: cover; }
.tk-kodawari-brush { left: 0; top: 646px; width: 881px; height: 310px; background-image: var(--tk-brush-3); z-index: -1; }
html[data-store="kanda"] .tk-kodawari-brush { left: -129px; top: 738px; width: 619px; height: 218px; background-size: contain; }

/* 5-5 ギャラリー（12 枚・315×210・間 6・自動ループ）。全体 4876〜5086 */
.tk-gallery { margin-top: 98px; overflow: hidden; width: 100%; }
.tk-gallery-track { display: flex; gap: 6px; width: max-content; animation: tk-marquee 60s linear infinite; }
.tk-gallery-track img { width: 315px; height: 210px; object-fit: cover; flex: 0 0 auto; }
@keyframes tk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-gallery-track { animation: none; } }

/* 5-6 店内について：縦書き見出し 40/48（h=288）→ 56 → 文 760（小見出し 32/45 中央＋白箱 760×268）に写真 568×379 が右から 70 重なる。全体 5167〜5890 */
.tk-interior { position: relative; margin-top: 81px; }
.tk-interior-brush { left: 424px; top: 592px; width: 1016px; height: 325px; background-image: var(--tk-brush-4); z-index: -1; }
html[data-store="kanda"] .tk-interior-brush { left: 644px; top: 642px; background-size: contain; background-position: right top; }
.tk-interior-inner { width: min(1258px, 100% - 40px); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 56px; }
.tk-interior-title { display: block; height: 288px; font-size: 40px; line-height: 58px; letter-spacing: 8px; color: var(--tk-head); }
.tk-interior-row { position: relative; width: 100%; height: 379px; display: flex; align-items: center; }
/* 白い箱は写真より前に出す。Figma は写真が上に重なる作りだが、本文の右端が 27px 隠れて読めないため
   （STG で指摘・2026-09-16）。重なりの見え方は「白い箱が写真に少し乗る」形になる */
.tk-interior-text { position: relative; z-index: 1; flex: 0 0 760px; width: 760px; }
/* Figma は箱の左端から（中央寄せではない）。中央寄せにすると右端が写真に重なる */
.tk-interior-text h3 { font-family: var(--tk-font); font-weight: 600; font-size: 32px; line-height: 45px; letter-spacing: .06em; color: var(--tk-fg); text-align: left; }
.tk-interior-text .tk-box { margin-top: 0; }
.tk-interior-photo { flex: 0 0 568px; width: 568px; height: 379px; margin-left: -70px; object-fit: cover; }

/* 5-7 店舗案内：見出し → 37 → 表 616（行 48・ラベル 107 水色・値 x+167・下線 1px 水色・行間 8）＋ 35 → 電話 215×55・WEB予約 160×55（間 15）｜ 写真 595×350 ×2（間 30）。全体 5959〜6886 */
.tk-info { margin-top: 69px; }
.tk-info-inner { width: min(1269px, 100% - 40px); margin: 37px auto 0; display: flex; align-items: center; gap: 58px; }
.tk-info-left { flex: 0 0 616px; display: flex; flex-direction: column; gap: 35px; }
.tk-info-table { display: flex; flex-direction: column; gap: 8px; }
.tk-info-tr { display: flex; align-items: center; gap: 60px; padding: 8px 0 7px; border-bottom: 1px solid var(--tk-accent); }
.tk-info-th { flex: 0 0 107px; font-family: var(--tk-font); font-weight: 500; font-size: 16px; line-height: 32px; letter-spacing: .03em; color: var(--tk-accent); }
.tk-info-td { flex: 1 1 auto; min-width: 0; font-family: var(--tk-font); font-weight: 500; font-size: 16px; line-height: 32px; letter-spacing: .03em; color: var(--tk-fg); }
.tk-info-btns { display: flex; align-items: center; gap: 15px; }
.tk-info-photos { flex: 0 0 595px; display: flex; flex-direction: column; gap: 30px; }
.tk-info-photos img { width: 595px; height: 350px; object-fit: cover; }

/* 5-8 姉妹店紹介：見出し → 26 → ロゴ（神田 290×409／日本橋 300×300）→ ボタン。背景に筆線（1447×430）。全体 7586〜8141 */
.tk-sister { position: relative; margin-top: 126px; }
.tk-sister-brush { left: -7px; top: 169px; width: 1447px; height: 430px; background-image: var(--tk-brush-5); z-index: -1; }
html[data-store="kanda"] .tk-sister-brush { background-size: contain; background-position: center top; }
.tk-sister-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.tk-sister-logo { display: block; }
.tk-sister-logo img { width: 290px; height: 409px; object-fit: cover; }
.tk-sister-logo--nihonbashi img { width: 300px; height: 300px; }
.tk-sister-btn { margin-top: 14px; }

/* ---------- 6. 分岐ページ（store パネル） ---------- */
/* Figma: 左 720×786 写真＋白 74%（ロゴ 174・赤ボタン 206×68）／右 720×786 写真＋黒 76%（神田ロゴ 152×214・白枠ボタン）。その下にお知らせ帯 239 */
.tk-branch { display: flex; width: 100%; }
.tk-branch-panel { position: relative; flex: 1 1 50%; min-width: 0; height: 786px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; background-size: cover; background-position: center; }
.tk-branch-panel::before { content: ""; position: absolute; inset: 0; }
.tk-branch-panel--nihonbashi { background-image: url('/image/assets/tk_branch_left.webp'); }
.tk-branch-panel--nihonbashi::before { background: rgba(255, 255, 255, .74); }
.tk-branch-panel--kanda { background-image: url('/image/assets/tk_branch_right.webp'); }
.tk-branch-panel--kanda::before { background: rgba(0, 0, 0, .76); }
.tk-branch-panel > * { position: relative; }
.tk-branch-panel--nihonbashi .tk-branch-logo { margin-top: 306px; width: 174px; height: 174px; }
.tk-branch-panel--nihonbashi .tk-btn { margin-top: 138px; }
.tk-branch-panel--kanda .tk-branch-logo { margin-top: 286px; width: 152px; height: 214px; }
.tk-branch-panel--kanda .tk-btn { margin-top: 118px; }
.tk-branch-logo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. レスポンシブ ---------- */
@media (max-width: 1439px) {
  /* 筆線（装飾）は Figma の 1440 幅を前提にした位置なので、それより狭い画面では収まるよう縮める
     （1440px ちょうどは Figma の値をそのまま使いたいので 1439 までにする） */
  .tk-intro-brush { width: 83vw; height: 20vw; }
  .tk-insta-deco { left: auto; right: 0; width: min(990px, 100%); }
  .tk-insta-deco-brush { left: auto; right: 0; width: min(823px, 83%); }
  html[data-store="kanda"] .tk-insta-deco { left: auto; right: 0; width: min(947px, 100%); }
  html[data-store="kanda"] .tk-insta-deco-brush { left: auto; right: 0; }
  .tk-interior-brush { left: auto; right: 0; width: min(1016px, 71vw); }
  html[data-store="kanda"] .tk-interior-brush { left: auto; right: 0; }
  .tk-sister-brush { left: 0; width: 100%; }
}
@media (max-width: 1280px) {
  .global-header { padding-right: 20px; }
  .tk-menu-photo { flex-basis: 50%; width: 50%; height: auto; aspect-ratio: 634 / 423; }
  .tk-menu-text { flex: 1 1 0; }
  .tk-kodawari-photo { flex-basis: 40%; width: 40%; height: auto; aspect-ratio: 472 / 315; }
  .tk-info-inner { gap: 30px; }
  .tk-info-left { flex-basis: 50%; }
  .tk-info-photos { flex-basis: 47%; }
  .tk-info-photos img { width: 100%; height: auto; aspect-ratio: 595 / 350; }
  .tk-intro-body { width: calc(100% - 40px); left: 20px; }
  .tk-intro-photo { flex: 1 1 46%; width: auto; }
  .tk-intro-box { flex: 1 1 60%; width: auto; }
  .tk-interior-text { flex: 1 1 60%; width: auto; }
  .tk-interior-photo { flex: 1 1 45%; width: auto; height: auto; aspect-ratio: 568 / 379; }
  .tk-intro-catch { right: 40px; }
}
@media (max-width: 1100px) {
  .desktop-nav { gap: 8px; }
  .desktop-nav a { font-size: 14px; }
  .header-logo { width: 120px; height: 120px; }
  .header-logo img { width: 120px !important; height: 120px !important; }
  html[data-store="kanda"] .header-logo { width: 84px; }
  html[data-store="kanda"] .header-logo img { width: 84px !important; height: 120px !important; }
}

@media (max-width: 992px) {
  /* ヘッダーは SP 型：白い帯 78・ロゴ 78×78（左端）・ハンバーガー 47（右余白 20） */
  :root { --tk-header-h: 78px; }
  body { font-size: 14px; line-height: 28px; }
  .global-header { height: 78px; padding: 0 20px 0 0; align-items: center; background: var(--tk-white) !important; backdrop-filter: none !important; }
  /* 神田は黒地＋朱のハンバーガー（Figma 124:140）。日本橋は白地＋水色 */
  html[data-store="kanda"] .global-header { background: var(--tk-black) !important; }
  html[data-store="kanda"] .menu-trigger, html[data-store="kanda"] .menu-trigger i { color: var(--tk-red); }
  html[data-store="kanda"] .mobile-nav-overlay .menu-trigger i { color: var(--tk-red); }
  .header-logo { width: 78px; height: 78px; }
  .header-logo img { width: 78px !important; height: 78px !important; }
  html[data-store="kanda"] .header-logo { width: 55px; }
  html[data-store="kanda"] .header-logo img { width: 55px !important; height: 78px !important; }
  .desktop-nav, .header-btns { display: none !important; }
  .menu-trigger { display: inline-flex; margin-left: auto; }
  html[data-store="common"] body { padding-top: 78px; }

  /* フッター：ロゴ 118・ナビ 2〜3 段（248 幅・間 30）・著作権 12/24。上余白 40 */
  .global-footer { padding: 40px 20px 0; }
  .footer-nav-wrap { gap: 34px; }
  .footer-nav-brand h2 { width: 118px; height: 118px; }
  html[data-store="kanda"] .footer-nav-brand h2 { width: 84px; height: 118px; }
  .footer-nav { width: 248px; row-gap: 30px; column-gap: 30px; }
  .footer-copy-text, .footer-copy { padding: 34px 20px 0; line-height: 24px; }
  .footer-copy-text::after, .footer-copy::after { font-size: 12px; line-height: 24px; }

  /* SP 下部固定ボタン（フッターブロックの浮遊ボタン）：電話（朱）＋ WEB予約（白＋朱枠） */
  .fc-floating-actions {
    display: flex !important; flex-direction: row; justify-content: center; align-items: center; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); border-top: 1px solid rgba(115, 141, 162, .3); backdrop-filter: blur(8px);
    pointer-events: none;
  }
  html[data-store="kanda"] .fc-floating-actions { background: rgba(0, 0, 0, .85); }
  .fc-floating-action {
    pointer-events: auto; flex: 1 1 0; max-width: 165px; min-width: 0; min-height: 46px; height: 46px; padding: 10px;
    display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
    border-radius: 0; border: 1px solid var(--tk-red); box-shadow: none; backdrop-filter: none;
    font-family: var(--tk-font); font-weight: 400; font-size: 16px; line-height: 23px; letter-spacing: .06em;
  }
  .fc-floating-action i { display: none; }
  .fc-floating-phone { background: var(--tk-red); color: var(--tk-white); }
  .fc-floating-reserve { background: var(--tk-white); color: var(--tk-red); }
  .fc-floating-line, .fc-floating-instagram { display: none !important; }
  body.has-floating-actions { padding-bottom: 0; }
  .footer-copy-text, .footer-copy { padding-bottom: calc(10px + 66px + env(safe-area-inset-bottom)); }
  body:has(#mobileNav.active) .fc-floating-actions { opacity: 0; visibility: hidden; }
  html[data-store="branch"] .fc-floating-actions { display: none !important; }
  html[data-store="branch"] .footer-copy-text, html[data-store="branch"] .footer-copy { padding-bottom: 20px; }

  /* 共通部品 */
  .tk-inner { width: calc(100% - 40px); }
  .tk-head-jp { font-size: 24px; line-height: 48px; }
  .tk-head-en { font-size: 16px; line-height: 32px; }
  .tk-btn--lg { width: 144px; height: 52px; font-size: 16px; line-height: 32px; letter-spacing: .12em; }
  .tk-btn--tel { width: 165px; height: 43px; font-size: 16px; line-height: 23px; }
  .tk-btn--web { width: 160px; height: 43px; font-size: 16px; line-height: 23px; }
  .tk-box { padding: 38px 43px; }
  .tk-sp-br { display: inline; }
  .tk-pc-br { display: none; }
  .tk-sp-only { display: block; }
  .tk-pc-only { display: none; }

  /* 5-1 導入（SP）：Figma 7:703 の y=603〜1471。筆線（603）・縦書き（672）・写真（922）・白箱（1075）が重なるので絶対配置 */
  .tk-intro { height: 868px; padding: 0; }
  .tk-intro-brush { width: 100%; height: 137px; top: 0; left: 0; }
  html[data-store="kanda"] .tk-intro-brush { left: 0; width: 100%; height: 137px; background-size: contain; background-position: left center; }
  .tk-intro-catch { top: 69px; left: 0; right: 0; width: max-content; margin: 0 auto; }   /* 中央寄せに transform は使わない（.fade-up の transform に消される） */
  .tk-intro-catch span { font-size: 24px; line-height: 47px; letter-spacing: 9px; }
  .tk-intro-body { left: 20px; top: 319px; width: 335px; height: auto; display: block; }
  .tk-intro-photo { width: 335px; height: 223px; }
  .tk-intro-box { position: relative; width: 335px; margin: -70px 0 0; }

  /* 5-2 Instagram（SP）：見出し 30/42（y=1503）→ 帯 335×255（y=1567）→ 筆線 242×79（y=1843） */
  .tk-insta { height: auto; margin-top: 32px; padding-bottom: 0; }
  .tk-insta-title { position: static; height: 60px; font-size: 30px; line-height: 42px; }
  .tk-insta-frame { position: relative; left: auto; top: auto; width: calc(100% - 40px); max-width: 335px; height: 255px; margin: 4px auto 0; }
  .tk-insta-frame img.tk-insta-photo { left: -81px; top: -38px; width: 497px; height: 331px; }
  .tk-insta-logo { left: 115px; top: 21px; width: 105px; height: 105px; }
  html[data-store="kanda"] .tk-insta-logo { left: 130px; top: 17px; width: 74px; height: 105px; }
  .tk-insta-cta { left: 22px; top: 141px; width: 290px; height: 93px; padding: 5px; border-top-width: 1px; border-bottom-width: 1px; font-size: 25px; line-height: 35px; text-shadow: 5px 5px 8px rgba(0, 0, 0, .6); }
  .tk-insta-cta b { font-size: 33px; line-height: 47px; }
  .tk-insta-deco { position: relative; left: auto; top: auto; width: 242px; height: 79px; margin: 21px auto 0 calc(50% - 48px); }
  html[data-store="kanda"] .tk-insta-deco { left: auto; width: 242px; }
  .tk-insta-deco-brush, html[data-store="kanda"] .tk-insta-deco-brush { left: 0; top: 0; width: 242px; height: 79px; }
  .tk-insta-deco-name, html[data-store="kanda"] .tk-insta-deco-name { display: none; }

  /* 5-3 お品書き（SP）：見出し（y=1933）→ 40 → 文 → 40 → ボタン（中央）→ 40 → 写真 335×223 */
  .tk-menu { margin-top: 11px; }
  .tk-menu-row { flex-direction: column; align-items: center; gap: 40px; }
  .tk-menu-text { flex: 0 0 auto; width: 100%; align-items: center; }
  .tk-menu-text h3 { font-size: 24px; line-height: 40px; align-self: stretch; }
  /* 神田は Figma（124:15/124:165）で見出しと本文の間隔が違う */
  html[data-store="kanda"] .tk-menu-row { margin-top: 20px; }
  html[data-store="kanda"] .tk-menu-text { gap: 10px; }
  html[data-store="kanda"] .tk-menu-text h3 { font-size: 20px; line-height: 40px; font-weight: 500; }
  html[data-store="kanda"] .tk-menu-text .tk-btn { margin-top: 30px; }
  .tk-menu-text p { align-self: stretch; }
  .tk-menu-photo { flex: 0 0 auto; width: 100%; height: 223px; aspect-ratio: auto; }

  /* 5-4 こだわり（SP）：見出し（y=2631）→ 32 → 行（見出し 20/36 ＋ 27 波線 ＋ 18 本文 → 32 写真 335×223）・行間 32 */
  .tk-kodawari { margin-top: 41px; }
  .tk-kodawari-inner { width: calc(100% - 40px); margin-top: 32px; gap: 32px; }
  .tk-kodawari-row, .tk-kodawari-row:nth-child(even) { flex-direction: column; align-items: stretch; gap: 32px; }
  .tk-kodawari-text { flex: 0 0 auto; gap: 18px; }
  .tk-kodawari-text h3 { width: 100%; font-size: 20px; line-height: 36px; letter-spacing: .06em; }
  .tk-kodawari-wave { height: 4px; margin-top: 27px; -webkit-mask-size: 10.5px 4px; mask-size: 10.5px 4px; }
  .tk-kodawari-title { width: 100%; }
  .tk-kodawari-photo { flex: 0 0 auto; width: 100%; height: 223px; aspect-ratio: auto; }
  .tk-kodawari-brush { display: none; }

  /* 5-5 ギャラリー（SP）：167×111・間 6 */
  .tk-gallery { margin-top: 41px; }
  .tk-gallery-track img { width: 167px; height: 111px; }

  /* 5-6 店内について（SP）：縦書き 20/24（h=144）→ 27 → 小見出し 20/28 ＋ 白箱 335×428（本文 249）→ 写真 335×223（−70） */
  .tk-interior { margin-top: 41px; }
  .tk-interior-brush { display: none; }
  .tk-interior-inner { width: calc(100% - 40px); gap: 27px; }
  .tk-interior-title { height: 144px; font-size: 20px; line-height: 30px; letter-spacing: 4px; }
  .tk-interior-row { height: auto; flex-direction: column; }
  .tk-interior-text { flex: 0 0 auto; width: 100%; }
  .tk-interior-text h3 { font-size: 20px; line-height: 28px; text-align: center; }   /* SP は Figma も中央（7:823） */
  .tk-interior-photo { flex: 0 0 auto; width: 100%; height: 223px; aspect-ratio: auto; margin: -70px 0 0; z-index: -1; }

  /* 5-7 店舗案内（SP）：見出し（y=6135）→ 37 → 表 335（ラベル 107・値 168 幅・複数行は 19px 行）→ 35 → ボタン（165×43＋160×43・間 15）→ 32 → 写真 335×198 ×2（間 12） */
  .tk-info { margin-top: 40px; }
  .tk-info-inner { width: calc(100% - 40px); flex-direction: column; align-items: center; gap: 32px; }
  .tk-info-left { flex: 0 0 auto; width: 100%; gap: 35px; }
  .tk-info-td { line-height: 32px; }
  .tk-info-td.tk-info-td--multi { line-height: 19px; }
  .tk-info-btns { justify-content: center; margin-left: -2px; margin-right: -2px; }
  .tk-info-photos { flex: 0 0 auto; width: 100%; gap: 12px; }
  .tk-info-photos img { width: 100%; height: 198px; aspect-ratio: auto; }

  /* 5-8 姉妹店（SP）：見出し（y=7969）→ 26 → ロゴ 216×305 → ボタン。筆線 375×205（y=8135） */
  .tk-sister { margin-top: 40px; }
  .tk-sister-brush { left: 0; top: 166px; width: 100%; height: 205px; }
  .tk-sister-logo img { width: 216px; height: 305px; }
  .tk-sister-logo--nihonbashi img { width: 216px; height: 216px; }

  /* 6 分岐（SP）：上 375×286（ロゴ 127・間 53・ボタン 144×52）／下 375×285（ロゴ 77×109・間 24・空行 32・ボタン） */
  .tk-branch { flex-direction: column; }
  .tk-branch-panel { flex: 0 0 auto; height: 286px; justify-content: center; }
  .tk-branch-panel--kanda { height: 285px; }
  .tk-branch-panel--nihonbashi .tk-branch-logo { margin-top: 0; width: 127px; height: 127px; }
  .tk-branch-panel--nihonbashi .tk-btn { margin-top: 53px; }
  .tk-branch-panel--kanda .tk-branch-logo { margin-top: 0; width: 77px; height: 109px; }
  .tk-branch-panel--kanda .tk-btn { margin-top: 80px; }
}
@media (max-width: 480px) {
  .tk-insta-deco { margin-left: auto; margin-right: auto; }
}

/* ---------- 8. ヒーロー直下の SP ボタン ---------- */
/* Figma SP 92:8 はヒーローの下端にボタン 2 つを置いているが、
   スクロールしても押せるように画面下のフローティングボタン（3 章）へ一本化した（2026-09-16 ユーザー要望）。
   スクリプトが作る .tk-hero-cta は残してあるが表示しない（Figma どおりに戻したいときはこの display を外す） */
.tk-hero-cta { display: none !important; }

/* ---------- 9. カスタムHTML ブロックの先頭要素の上余白を戻す ---------- */
/* blocks.css に `.custom-html-inner > *:first-child { margin-top: 0 }` があり、
   ブロックの 1 つ目の要素に付けたセクション間の余白が消えてしまう（STG で 590px ぶんずれた）。
   同じ詳細度では blocks.css が後勝ちなので !important で戻す。
   数値は 5 章の各セクションの margin-top と必ず同じにすること。 */
.custom-html-inner > .tk-intro { margin-top: 0 !important; }
.custom-html-inner > .tk-insta { margin-top: 89px !important; }
.custom-html-inner > .tk-menu { margin-top: 27px !important; }
.custom-html-inner > .tk-kodawari { margin-top: 100px !important; }
.custom-html-inner > .tk-gallery { margin-top: 98px !important; }
.custom-html-inner > .tk-interior { margin-top: 81px !important; }
.custom-html-inner > .tk-info { margin-top: 69px !important; }
.custom-html-inner > .tk-sister { margin-top: 126px !important; }
.custom-html-inner > .tk-branch { margin-top: 0 !important; }
@media (max-width: 992px) {
  .custom-html-inner > .tk-insta { margin-top: 32px !important; }
  .custom-html-inner > .tk-menu { margin-top: 11px !important; }
  html[data-store="kanda"] .custom-html-inner > .tk-menu { margin-top: 11px !important; }
  .custom-html-inner > .tk-kodawari { margin-top: 41px !important; }
  .custom-html-inner > .tk-gallery { margin-top: 41px !important; }
  .custom-html-inner > .tk-interior { margin-top: 41px !important; }
  .custom-html-inner > .tk-info { margin-top: 40px !important; }
  .custom-html-inner > .tk-sister { margin-top: 40px !important; }
}

/* ---------- 10. お知らせ記事の写真枠（すでに置いてあるブロック用） ---------- */
/* テーマ CSS はブロックを「追加したとき」にしか入らないので、すでに置いてある記事本文ブロックには
   ここから効かせる。blocks.css の枠は PC 16:9・SP 4:3 で、写真の比と違うと下に隙間が出る。 */
.nab-main-img-box { aspect-ratio: 16 / 9 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.nab-main-img-box img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; }
@media (max-width: 992px) {
  .nab-main-img-box { aspect-ratio: 16 / 9 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
  .nab-main-img-box img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover !important; }
}
