@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  /* 基本色は theme.json (sitemeister/theme@2) から theme-loader.js が実行時に上書きする。
     ここの値は theme.json 読込前の初期表示用デフォルト。管理画面で色を変えると
     theme.json が更新され、リロードで反映される (再ビルド不要)。 */
  --color-primary:       #0f3f3f;
  --color-secondary:     #B5543A;
  --color-accent:        #D4A12A;
  --color-bg:            #FFFFFF;
  --color-text:          #34383B;
  /* 派生色は var() 参照にして、--color-primary / --color-bg の上書きが連鎖するようにする */
  --color-text-muted:    color-mix(in srgb, var(--color-text) 55%, var(--color-bg));
  --color-primary-light: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg));
  /* No.4b セクション面色: 交互背景で隣接セクションを分離するための極薄トーン(bgに主色を5%だけ混ぜる) */
  --color-surface:       color-mix(in srgb, var(--color-primary) 5%, var(--color-bg));
  --color-primary-dark:  color-mix(in srgb, var(--color-primary) 80%, #000);
  /* ブランド色ベタ塗り面の上に乗せる文字色(輝度から自動決定。背景色と文字の同化を防ぐ) */
  --color-on-primary:    #ffffff;
  --color-on-secondary:  #241F19;
  --color-on-accent:     #143B45;
  /* 明背景(白セクション)に乗る見出し/下線/ロゴ/表ヘッダのインク色。primary が淡色でも読めるオンブランド濃色(輝度から自動決定)。 */
  --color-heading-ink:   #5C3D20;
  /* ── タイポグラフィスケール(SSOT 2026-07-19 design.md No.35)。文字サイズ調整はここだけ触る ── */
  --fs-hero-xl: clamp(3.5rem, 5vw, 4.5rem);   /* MVキャッチ ≤14字 */
  --fs-hero-lg: clamp(3rem, 4.2vw, 3.75rem);  /* MVキャッチ ≤28字 */
  --fs-hero-md: clamp(2.5rem, 3.5vw, 3rem);   /* MVキャッチ 29字〜 */
  --fs-h2:      clamp(1.5rem, 4vw, 2.2rem);   /* セクション見出し */
  --fs-h3:      1.2rem;                        /* カード見出し */
  /* モジュール内の小見出し(繰り返し出てくる項目タイトル)。2026-07-24 ユーザー確定の
     2段階スケール: セクション見出し=--fs-h2 / モジュール小見出し=ここ / カード見出し=--fs-h3。
     ★clamp にしてあるのはモバイルで潰すため(!important で束縛するので部品側の
     メディアクエリが効かなくなる。固定27pxだとSPで大き過ぎる)。 */
  --fs-mod-title: clamp(1.25rem, 2.6vw, 1.6875rem);  /* 20px 〜 27px */
  --fs-lead:    1.08rem;                       /* リード文 */
  --fs-body:    1rem;                          /* 本文16px=デジタル庁デザインシステム準拠(2026-07-19) */
  --fs-small:   0.9375rem;                     /* 注記・キャプション(15px) */
  --lh-body:    1.7;
  /* フッター背景(白文字前提)。primary が淡色で primary-dark が明るくなる場合の色抜けを防ぐ暗色。 */
  --color-footer-bg:     #0f3f3f;
  --font-heading: 'Zen Old Mincho', sans-serif;
  --font-body: 'Zen Old Mincho', sans-serif;
  --radius: 2px;
  --radius-btn: 2px;
  --radius-card: 2px;
  --shadow: 0 18px 44px -24px rgba(90,60,30,0.38);
  --shadow-card: 0 12px 30px -20px rgba(90,60,30,0.30);
  --transition: all 0.3s ease;
  /* No.9 余白スケール(垂直リズム): 関連要素=sm/md でまとめ、別ブロック=lg 以上で離す。 */
  --space-sm: 24px;   /* 見出し→リード等、関連要素の最小間隔 */
  --space-md: 32px;   /* リード→画像→本文 の間 */
  --space-lg: 48px;   /* 異なる情報ブロック間の最小間隔 */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
/* 本文は 17px(1.0625rem)。余白が大きい分、本文が小さく見えないよう基本サイズを上げる(見出しはrem固定=html基準で不変)。 */
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); font-size: var(--fs-body); line-height: var(--lh-body); overflow-x: hidden; max-width: 100%; }
/* No.8 コンテンツ画像(通常フローの内容画像)は縦に伸び過ぎないよう最大高さ800pxで抑える(スクロールせず収まる)。
   ★上限の対象は「高さが intrinsic(height:auto) な内容画像」だけ。器のサイズ/aspect-ratio で
   高さが決まる object-fit:cover 系の画像は 800px 上限を外す(切れて比率が崩れるのを防ぐ)。
   全面背景(.hero-bg/.page-hero-bg/.cta-bg/.media-band)は各セレクタで max-height:none 済、
   その他の cover 画像は直後にまとめて max-height:none に戻す。 */
img { max-width: 100%; height: auto; display: block; max-height: 800px; }
/* No.8 補正: object-fit:cover を使う画像はコンテナ/aspect-ratio が高さを決めるため 800px 上限を外す
   (これを外さないとヒーロー下のカード/ギャラリー/特集/お問い合わせ帯の画像が 800px で切れてレイアウトがずれる)。 */
.card-img, .two-col img, .gallery-item img, .staff-card img { max-height: none; }
.gallery-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }  /* 写真は16:9統一(2026-07-18ユーザー確定) */
/* SEC-01: ギャラリーは余白なしで敷き詰める(レイアウトルール 2026-07-18) */
.gallery-grid { gap: 0; }
.gallery-grid .gallery-item { margin: 0; }
a { color: var(--color-heading-ink); text-decoration: none; transition: var(--transition); }

/* --- A11Y_FOCUS_BLOCK (2026-08-01) -----------------------------------------
   design.md の42ルールは全て目視指摘由来のため、キーボード操作の可視性が空白だった
   (実測: 生成 common.css に :focus-visible 0件 / スキップリンク 0件)。
   WCAG 2.4.7(フォーカスの可視化) / 2.4.1(ブロックスキップ) / 2.3.3(動きの抑制) を満たす。
   outline は currentColor: 文字色は No.1 で背景に対し 4.5:1 を保証済みなので、
   明背景・暗いヒーロー上のどちらでも自動的に見える色になる。 */
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; border-radius: 2px; }
/* マウス操作では出さない(:focus-visible 非対応ブラウザだけ従来どおり) */
:focus:not(:focus-visible) { outline: none; }

/* 本文へスキップ: 通常は視覚的に隠し、Tab で入った時だけ左上に出す */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 0.6rem 1rem; background: var(--color-primary); color: var(--color-on-primary);
  font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }

/* 動きを減らす設定の利用者には、アニメーションを止める。
   ただし .fade-in は opacity:0 から入るため、止めるだけだと本文が消える。明示的に見せる。 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fade-in { opacity: 1 !important; transform: none !important; }
}
/* --- /A11Y_FOCUS_BLOCK ---------------------------------------------------- */
a:hover { opacity: 0.8; }
h1,h2,h3,h4 { font-family: var(--font-heading); line-height: 1.3; }
/* ★class を持たない素の見出しにもタイポSSOTの既定を与える(2026-07-24)。
   これが無いと AI が書いた <h3> がブラウザ既定(1.17em=18.7px)に落ち、
   .card h3(--fs-h3=19.2px)と並んだときに1ページ内で見出しが割れる(実測7箇所)。
   hero/page-hero/モジュールは自前の指定が後で上書きするので影響しない。 */
main h2 { font-size: var(--fs-h2); }
main h3, main h4 { font-size: var(--fs-h3); }
.container { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.section { padding: 6.5rem 0; }
/* No.4b/No.26 連続セクションの視覚分離: 交互の面色は ensure-layout-rules.js が bg-alt を明示付与
   (nth-of-type はモジュール(.lgx)混在とCTA移設で偶奇が崩れるため廃止)。 */
main > section.bg-alt { background: var(--color-surface) !important; }
.section-title { margin-bottom: 24px; font-size: var(--fs-h2); color: var(--color-heading-ink); margin-bottom: 2.5rem; text-align: center; }
.section-title::after { content: ''; display: block; width: 3rem; height: 3px; background: var(--color-primary); margin: 0.75rem auto 0; border-radius: 2px; }
/* No.9 プローズの垂直リズム(詰まり過ぎ防止)。カード等コンポーネント内部は各自の padding に任せ、
   コンテナ直下の本文段落・リード文にのみ 24〜32px の間隔を与える。 */
.lead { font-size: var(--fs-lead); line-height: 1.9; margin-bottom: var(--space-md); color: var(--color-text); text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.container > p, .section > .container > p { margin-bottom: var(--space-sm); }
.container > p:last-child, .section > .container > p:last-child { margin-bottom: 0; }
.btn { display: inline-block; padding: 0.85rem 2.1rem; background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius-btn); font-family: var(--font-heading); font-weight: 600; text-transform: none; letter-spacing: 0.01em; transition: var(--transition); border: 2px solid var(--color-accent); cursor: pointer; }
.btn:hover { background: color-mix(in srgb, var(--color-accent) 80%, #000); border-color: color-mix(in srgb, var(--color-accent) 80%, #000); color: #fff; opacity: 1; }
.btn-outline { background: transparent; color: var(--color-heading-ink); border-color: var(--color-heading-ink); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-on-primary); }
/* No.1: 写真の上の枠線ボタン(電話/LINE等)は白文字+半透明背景で可読性を確保 */
.hero .btn-outline, .cta-section:not(.no-photo) .btn-outline, .media-band:not(.no-photo) .btn-outline { color: #fff; border-color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.14); }
.hero .btn-outline:hover, .cta-section:not(.no-photo) .btn-outline:hover, .media-band:not(.no-photo) .btn-outline:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 100; isolation: isolate; background: #ffffff; background: var(--color-bg, #ffffff); border-bottom: 1px solid var(--color-primary-light); transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
/* ロゴ: 長い店舗名がヘッダー幅を食い潰してナビ全体をハンバーガーへ畳ませる事故を防ぐ。
   テキストロゴは1行省略(…)+max-widthで上限化し、ナビに幅を優先配分(flex:0 1 auto/min-width:0)。
   フル名は title 属性で保持。画像ロゴ(.site-logo-img)はクリップしないよう除外。 */
.site-logo { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--color-heading-ink); flex: 0 1 auto; min-width: 0; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-logo:has(.site-logo-img) { max-width: none; overflow: visible; }
.site-nav { flex: 0 0 auto; }
/* gap は --nav-scale(JS 縮小フィット)で段階縮小し、項目過多でも極力横並びを保つ。既定=1。 */
.site-nav ul { display: flex; flex-wrap: nowrap; align-items: center; gap: calc(0.75rem * var(--nav-scale, 1)); list-style: none; }
.site-nav a { font-size: 0.82rem; font-weight: 500; color: var(--color-text); padding: 0.25rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav .sm-langswitch { display: flex; gap: 0.5rem; }
.site-nav a:hover, .site-nav a.active { color: var(--color-heading-ink); border-bottom-color: var(--color-heading-ink); opacity: 1; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: var(--transition); display: block; }
/* ナビ オートたたみ(B): 横並びが実測で container に収まらない時、common.js が .nav-collapsed を付与し
   画面幅に関わらずハンバーガー化する(=ラベル長/項目数に依存せず見切れを防ぐ安全網)。@media のモバイル挙動と同型。 */
.site-header.nav-collapsed .hamburger { display: flex; }
.site-header.nav-collapsed .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #ffffff; background: var(--color-bg, #ffffff); padding: 1rem; border-top: 1px solid var(--color-primary-light); box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 99; max-height: calc(100vh - 72px); overflow-y: auto; }
.site-header.nav-collapsed .site-nav.open { display: block; }
.site-header.nav-collapsed .site-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
.site-header.nav-collapsed .site-nav a { display: flex; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--color-primary-light); min-height: 44px; white-space: normal; }
.site-header.nav-collapsed .site-nav .sm-langswitch { gap: 1rem; padding: 0.5rem 0; }
.site-header.nav-collapsed .site-logo { max-width: 72%; }  /* ナビがハンバーガー収納時はロゴ枠を広げ無駄な省略を防ぐ */

/* フッター */
/* フッターは固定仕様: AIがページ内styleで background を明色上書きし白文字が沈む実害(2026-07-18)。!importantで保護 */
.site-footer { background: var(--color-footer-bg) !important; color: rgba(255,255,255,0.85) !important; padding: 3rem 0 1.5rem; }
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer .footer-name { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; margin-bottom: 0.75rem; }
.site-footer .footer-info p { font-size: 0.9rem; margin-bottom: 0.4rem; }
.site-footer .footer-nav ul { list-style: none; }
.site-footer .footer-nav li { margin-bottom: 0.4rem; }
.site-footer .footer-nav a { font-size: 0.9rem; }
.site-footer .footer-sns { display: flex; gap: 0.85rem; margin-top: 1rem; align-items: center; }
.site-footer .footer-sns a { display: inline-flex; padding: 0; border: none; opacity: 0.85; transition: var(--transition); }
.site-footer .footer-sns a:hover { opacity: 1; transform: translateY(-2px); }
/* SNSアイコンは images/sns-*.svg のファイル参照(ロゴと同方式・ブランド色)。 */
.site-footer .footer-sns img { width: 24px; height: 24px; object-fit: contain; display: block; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ヒーロー */
/* ★写真サイズ: フルブリードのヒーローは vh 指定だけだと縦長画面で過大になるため px で上限を掛ける(min())。 */
.hero { position: relative; min-height: min(78vh, 720px); /* 2026-07-18 ユーザー確定: 高さ固定(トークン可変62vh/620px上限を廃止・小さくしない) */ display: flex; align-items: center; overflow: hidden; }
/* Hero高さ固定(2026-07-19 ユーザー確定: A〜C全案で同一高さ)。PCは height 固定で案間の揺れを排除 */
@media (min-width: 901px) { .hero { height: min(78vh, 720px); } }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.55) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; margin: 0; padding: 2rem; text-align: left; }
.hero-eyebrow { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; }
.hero-title { font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
/* メインキャッチ文字サイズ段階(レイアウトルール 2026-07-18): 短文=56〜72px/2行=48〜60px/長文=40〜48px。
   ensure-hero-title-size.js が文字数で付与。これを超えるサイズは作らない。 */
.hero-title--xl { font-size: var(--fs-hero-xl) !important; }
.hero-title--lg { font-size: var(--fs-hero-lg) !important; }
.hero-title--md { font-size: var(--fs-hero-md) !important; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; line-height: 1.8; }

/* ヒーロー・アーキタイプ (hero_style 由来。3案で構造そのものを変えてファーストビューの同質化を防ぐ) */
/* full-bleed: 上の基本(.hero-bg 全面 + 重ね文字)がそのまま該当。明示クラスは中央寄せの保険のみ。 */
/* MV-01/02 (2026-07-18 レイアウトルール): 写真1枚(全面)のMVはキャッチ【中央配置】。端寄せは2カラム分割型のみ。 */
.hero--full-bleed .hero-content { background: transparent; margin: 0 auto; text-align: center; }
.hero--full-bleed .hero-actions { justify-content: center; }
/* overlay-bottom: テキストを下部に置き下からのスクリムで可読化(オーバーレイ安全・案の多様化用) */
.hero--overlay-bottom { align-items: flex-end; }
.hero--overlay-bottom .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.08) 100%); }
.hero--overlay-bottom .hero-content { max-width: 760px; padding-bottom: 3rem; margin: 0; }
/* centered-overlay: 全面背景の上に、中央の半透明カードへ文字を収める */
.hero--centered-overlay { align-items: center; justify-content: center; text-align: center; }
.hero--centered-overlay .hero-overlay { background: rgba(0,0,0,0.28); }
.hero--centered-overlay .hero-content { max-width: 640px; margin: 0 auto; text-align: center;
  background: rgba(18,16,14,0.42); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-card);
  padding: clamp(2rem,4vw,3.25rem) clamp(1.75rem,4vw,3.5rem); backdrop-filter: blur(3px); }
/* stacked-minimal: 重ねずに「文字ブロック(明色面)＋下に写真帯」を縦積み。DOMは共通・order で並べ替え */
.hero--stacked { flex-direction: column; align-items: stretch; justify-content: flex-start;
  background: var(--color-bg); padding-top: clamp(2.5rem,5vw,4.5rem); }
.hero--stacked .hero-overlay { display: none; }
.hero--stacked .hero-content { order: 0; color: var(--color-text); max-width: 920px; width: 100%;
  margin: 0 auto; padding: 0 clamp(1.25rem,4vw,2.5rem) clamp(1.75rem,4vw,2.75rem); text-align: left; }
.hero--stacked .hero-bg { position: relative; inset: auto; order: 1; width: 100%; height: auto;
  flex: 1 1 auto; min-height: 38vh; border-radius: var(--radius); }
.hero--stacked .hero-eyebrow { color: var(--color-primary); }
.hero--stacked .hero-title { color: var(--color-primary); }
.hero--stacked .hero-subtitle { color: var(--color-text-muted); }
/* split-text-image: 文字(明色面)を左、写真を右に 50/50 で並べる */
.hero--split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--color-bg); }
.hero--split .hero-overlay { display: none; }
.hero--split .hero-content { order: 1; align-self: center; color: var(--color-text); max-width: none;
  margin: 0; padding: clamp(2rem,5vw,4.5rem) clamp(1.5rem,4vw,3.5rem); text-align: left; }
.hero--split .hero-bg { position: relative; inset: auto; order: 2; width: 100%; height: 100%; }
.hero--split .hero-eyebrow { color: var(--color-primary); }
.hero--split .hero-title { color: var(--color-primary); }
.hero--split .hero-subtitle { color: var(--color-text-muted); }
/* side-by-side-rounded: 文字＋角丸写真を左右に。余白広め・温かいブロック構図 */
.hero--side-rounded { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(1.5rem,4vw,3.5rem);
  align-items: center; background: var(--color-bg); padding: clamp(2rem,5vw,4.5rem) clamp(1.5rem,5vw,4rem); }
.hero--side-rounded .hero-overlay { display: none; }
.hero--side-rounded .hero-content { order: 1; color: var(--color-text); max-width: none; margin: 0; padding: 0; text-align: left; }
.hero--side-rounded .hero-bg { position: relative; inset: auto; order: 2; width: 100%; height: auto;
  aspect-ratio: 4/5; border-radius: calc(var(--radius-card) * 1.6); box-shadow: var(--shadow); }
.hero--side-rounded .hero-eyebrow { color: var(--color-accent); }
.hero--side-rounded .hero-title { color: var(--color-primary); }
.hero--side-rounded .hero-subtitle { color: var(--color-text-muted); }
@media (max-width: 720px) {
  .hero--split, .hero--side-rounded { grid-template-columns: 1fr; }
  .hero--split .hero-bg, .hero--side-rounded .hero-bg { min-height: 40vh; aspect-ratio: 16/10; }
}

/* カード */
/* minmax は 220px。ちょうど4枚は下の .cols-4 が repeat(4,1fr) で固定(container 1440px 化後も4列維持)。auto-fit は 4枚未満/可変枚数のグリッド向け。 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
/* ちょうど4枚のグリッドは確実に4列(タブレットで2列, モバイルで1列)。3+1崩れ防止。 */
@media (min-width: 901px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 641px) and (max-width: 900px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border-radius: var(--radius-card); border: none; overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); }
/* No.10 ホバーアクションはリンク(=押せる箇所)にのみ付ける。<a> で内包された card のみ持ち上げる。 */
a:hover .card, a.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
/* No.42: .card 内の class 無し画像は 16:9 cover に揃える(素材比の違いで同一行のカード画像の高さが
   割れ、キャプション位置ズレ・枠外へのはみ出しになるため)。max-height:none は No.8 の 800px 上限を外す。 */
.card img:not([class]) { width: 100%; aspect-ratio: 16/9; object-fit: cover; max-height: none; }
/* No.42-2: class 無し img は【高さが決まっている器】に収める(器を突き抜けて後続テキストに重なる事故の防止)。
   器が auto 高さなら height:100% は auto に解決されるので従来挙動のまま(No.8 の 800px 上限も維持)。 */
main img:not([class]) { height: 100%; object-fit: cover; }
/* 写真/地図だけのカラムはセクション高さに対して縦中央(2026-07-19 ユーザー確定。
   テキスト列は従来どおり上寄せのまま、片側だけ短い写真・地図が浮かないよう中央へ) */
.two-col > div:has(> img:first-child:last-child) { align-self: center; }
.two-col > div:has(> .map-embed:first-child:last-child) { align-self: center; }
/* ACCESS系セクションの地図埋め込み(No.31): 写真枠と同寸で収める */
.map-embed { width: 100%; }
.map-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; display: block; border: 0; border-radius: var(--radius-card); }
/* 写真カードの1列スライド形式(2026-07-19): ギャラリー同居ページで写真過多になるため
   ensure-layout-rules.js が .card-grid に is-slide を付与しスライド化する */
.card-slider-wrap { position: relative; }
.card-grid.is-slide { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.5rem; scrollbar-width: thin; }
.card-grid.is-slide > .card { flex: 0 0 clamp(260px, 31%, 360px); scroll-snap-align: start; }
.card-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--color-heading-ink); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; opacity: 0.85; }
.card-slider-btn:hover { opacity: 1; }
.card-slider-btn.prev { left: -10px; }
.card-slider-btn.next { right: -10px; }
@media (max-width: 900px) { .card-slider-btn { display: none; } }
.card-body { padding: 1.25rem; }
.card-title { font-size: var(--fs-h3); font-weight: 600; color: var(--color-heading-ink); margin-bottom: 0.5rem; }
.card-text { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

/* 2カラムレイアウト */
/* two-col: 文が短く写真が縦長のとき縦中央だと文が浮いて空白過多になるため上寄せ+画像は横長寄りにして縦バランスを整える。 */
/* セクション背景の交互リズム: bg-alt 明示付与方式(No.26)。付与は ensure-layout-rules.js。 */
/* 写真:文字=5:7 (2026-07-17 ユーザー指摘: 50/50は写真と文字が均等で見にくい) */
.two-col { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 3rem; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 16/9; max-height: 460px; }

/* フォーム */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--color-text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-primary-light); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--font-body); background: #fff; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-light); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ページヒーロー（サブページ用） */
.page-hero { position: relative; height: 280px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.page-hero-content { position: relative; z-index: 1; color: #fff; text-align: center; width: 100%; padding: 1rem; }
.page-hero-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
.page-hero-breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* CTA セクション */
.cta-section { position: relative; padding: 4rem 0; text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cta-content { position: relative; z-index: 1; color: #fff; }
.cta-content h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 1rem; }
.cta-content p { margin-bottom: 1.75rem; font-size: var(--fs-lead); color: rgba(255,255,255,0.9); }

/* ── 背景画像/背景色の上のテキスト可読性 (透過・同化の防止) ── */
/* .over-image: hero/cta 以外の任意の「背景写真の上にテキスト」セクションに付ける汎用スクリム。
   親に付け、子(テキスト)は自動で前面(z-index)に出る。下を濃く=テキスト帯を読みやすく。 */
.over-image { position: relative; isolation: isolate; }
.over-image > * { position: relative; z-index: 1; }
.over-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.20) 100%);
}
/* 中央寄せ構図用の均一スクリム */
.over-image-center::before { background: rgba(0,0,0,0.50); }
/* No.11 文字の影は禁止(前時代的・視認性低下)。可読性は .hero-overlay/.over-image のスクリムで確保する。
   クラス名は verify-contract C5 が存在を要求するため温存(影は付与しない)。 */
.text-on-image { /* readability comes from overlay/scrim, not a drop shadow */ }
/* ブランド色でベタ塗りした面: 背景色とセットで自動可読な文字色になる。背景色と文字の同化を防ぐ */
.on-primary   { background: var(--color-primary);   color: var(--color-on-primary); }
.on-secondary { background: var(--color-secondary); color: var(--color-on-secondary); }
.on-accent    { background: var(--color-accent);    color: var(--color-on-accent); }
.on-primary :where(h1,h2,h3,h4,h5,h6,p,a,li,span,strong),
.on-secondary :where(h1,h2,h3,h4,h5,h6,p,a,li,span,strong),
.on-accent :where(h1,h2,h3,h4,h5,h6,p,a,li,span,strong) { color: inherit; }

/* アコーディオン（FAQ） */
.accordion { border: 1px solid var(--color-primary-light); border-radius: var(--radius); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--color-primary-light); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn { width: 100%; text-align: left; padding: 1.1rem 1.25rem; background: none; border: none; cursor: pointer; font-size: 0.95rem; font-weight: 600; color: var(--color-text); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); }
.accordion-btn::after { content: '+'; font-size: 1.3rem; color: var(--color-heading-ink); transition: var(--transition); }
.accordion-btn.open::after { content: '−'; }
.accordion-body { display: none; padding: 1rem 1.25rem 1.25rem; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.8; }

/* テーブル */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.price-table th { background: var(--color-heading-ink) !important; color: #fff !important; padding: 0.75rem 1rem; text-align: left; font-family: var(--font-heading); } /* AIの上書きで文字=背景同色化する事故防止(2026-07-19)。ペアで確定 */
.price-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-primary-light); }
/* No.10 料金表の行はリンクではないためホバー着色しない(押せると誤認させない)。 */
.price-table .price-cell { text-align: right; font-weight: 600; color: var(--color-heading-ink); }

/* ギャラリーグリッド */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
/* No.10 ギャラリー画像のズームは、リンク(ライトボックス等)で内包された時のみ。単なる表示画像には付けない。 */
a:hover .gallery-item img, a.gallery-item:hover img { transform: scale(1.05); }

/* ── 写真の並べ方バリエーション ── */
/* design-plan が weight に応じてセクション毎に割当。modifier クラスを足すだけで配置が変わる。 */
/* 非対称: 先頭を大きく(重み高いギャラリーの主役見せ) */
.gallery-grid.is-asym { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 1rem; }
.gallery-grid.is-asym > .gallery-item { grid-column: span 2; aspect-ratio: 4/3; }
.gallery-grid.is-asym > .gallery-item:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: 16/10; }
/* masonry: 高さバラバラ(写真の自然比を活かす) */
.gallery-grid.is-masonry { display: block; column-count: 3; column-gap: 1rem; grid-template-columns: none; }
.gallery-grid.is-masonry > .gallery-item { display: block; width: 100%; margin: 0 0 1rem; break-inside: avoid; aspect-ratio: auto; }
.gallery-grid.is-masonry > .gallery-item img { height: auto; max-height: 560px; object-fit: cover; }
/* 横スクロール1列(カルーセル風・大判を流す) */
.gallery-grid.is-rail { display: flex; overflow-x: auto; gap: 1rem; grid-template-columns: none; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.gallery-grid.is-rail > .gallery-item { flex: 0 0 min(80%, 420px); scroll-snap-align: start; aspect-ratio: 4/3; }
/* 全幅写真バンド(内容セクションを写真主役に。重み高いセクション向け) */
/* 写真表示の上限=モジュール相当 (2026-07-17 ユーザー指示: 全幅大判の大画面表示は不要)。design.md No.17 */
.media-band { position: relative; min-height: min(36vh, 400px); max-height: 460px; display: flex; align-items: center; overflow: hidden; }
.media-band > img, .media-band .media-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; z-index: 0; }
/* 右側が薄いグラデだと右カラムの文字が沈む(実測「3つの軸」)。全面を均一に暗く。 */
.media-band .media-band-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.52); z-index: 1; }
/* 連続する写真帯の後段は .no-photo で背景写真/オーバーレイを外し素背景化(写真の連続=不自然を回避)。
   文字は白抜き前提なので、素背景では見出し=オンブランド濃色/本文=text へ可読化する。
   ★色は !important 必須: AIが中身に style="color:#fff" を書くことがあり(発生率≈1.6%実測)、
   インライン白がこの可読化ルールに勝つと素背景×白文字=完全不可視になるため。 */
.cta-section.no-photo .cta-bg, .cta-section.no-photo .cta-overlay,
.media-band.no-photo > img, .media-band.no-photo .media-band-bg, .media-band.no-photo .media-band-overlay { display: none; }
.cta-section.no-photo, .media-band.no-photo { background: var(--color-surface); min-height: 0; padding: 6.5rem 0; }
.cta-section.no-photo .cta-content, .media-band.no-photo .media-band-content { color: var(--color-text) !important; }
.cta-section.no-photo .cta-content h2, .media-band.no-photo .media-band-content h2,
.cta-section.no-photo .cta-content h3, .media-band.no-photo .media-band-content h3,
.cta-section.no-photo .cta-content h4, .media-band.no-photo .media-band-content h4 { color: var(--color-heading-ink) !important; }
.cta-section.no-photo .cta-content p, .media-band.no-photo .media-band-content p { color: var(--color-text-muted) !important; }
.cta-section.no-photo .btn-outline, .media-band.no-photo .btn-outline { color: var(--color-heading-ink) !important; border-color: var(--color-heading-ink) !important; }
/* 生成時の構造保証 (2026-07-17 ユーザー方針: 修復でなく最初から正しく):
   ①本文フォントの下限=0.95rem(極小文字の禁止を物理化) ②本文中のテキストリンクは下線で識別
   (「詳しく見る」がテキストと同化する実測指摘への決定論対策) */
/* 本文floor。見出しクラス(card-title/section-title等)のpは対象外(floorが見出しに勝って17px化する事故 2026-07-19) */
.section p:not(.card-title):not(.section-title):not([class*="title"]), .section li, .section dd { font-size: max(0.95rem, 1em); }
.section p a:not(.btn), .section li a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
/* 固定バー系部品の平置き防止 (2026-07-17): 部品CSSが読めなかった場合、素のリンク/アイコンが
   フッター下に平置きされる実害。既定は非表示にし、部品CSS(sticky-cta.css等)が display を
   上書きした時だけ表示する=未スタイル時は「出ない」が正。 */
.sticky-cta, .footer_fixed_content { display: none; }
/* .no-photo × .over-image の同居(矛盾クラス)対策: 素背景化したら汎用スクリム(::before)も必ず消す。
   残すと「写真なし+黒グラデだけの灰色帯×白文字」になり文字が透ける(2026-07-17 実測)。 */
.cta-section.no-photo::before, .media-band.no-photo::before { display: none !important; }
/* CTAの装飾線禁止(2026-07-19 ユーザー指摘: secondary系1px線がピンク線として浮く)。区切りは交互背景(bg-alt)が担う */
.cta-section { border-top: none !important; border-bottom: none !important; }
/* フッター下余白の根絶(2026-07-19): sticky-ctaバーはフッター表示中に自動退避するため、
   AIが書くbodyのpadding-bottom逃しは不要どころか白帯として残る。0で固定 */
body { padding-bottom: 0 !important; }
/* 写真+overlay型ヒーローの文字はAIのテーマ色上書きに関わらず白系を保証する(暗写真×濃色文字の沈み対策)。
   .hero-overlay が存在する(=写真前提の)ヒーローだけに効かせる(hero-split等の素背景型は対象外)。 */
.hero .hero-overlay ~ .hero-content,
.hero .hero-overlay ~ .hero-content .hero-title,
.hero .hero-overlay ~ .hero-content .hero-eyebrow { color: #fff !important; }
.hero .hero-overlay ~ .hero-content .hero-subtitle { color: rgba(255,255,255,0.92) !important; }
/* widget(Shadow DOM)のテーマ適合 (2026-07-17): loader.js 内の色変数は @layer theme の :root,:host 定義。
   外側からホスト要素([data-sm-widget])に同名変数を直接当てるとレイヤー/:host より必ず優先されるため、
   問い合わせフォームの送信ボタン等がテーマ色になる(既定は Tailwind 青 #3c83f6 のままで浮く)。
   同名の自己参照を避けるため :root で別名に退避してから渡す。 */
:root { --sm-page-primary: var(--color-primary); --sm-page-on-primary: var(--color-on-primary, #fff);
        --sm-page-text: var(--color-text); --sm-page-muted: var(--color-text-muted);
        --sm-page-border: var(--color-primary-light, rgba(0,0,0,.2)); }
[data-sm-widget] { --color-primary: var(--sm-page-primary); --color-primary-foreground: var(--sm-page-on-primary);
  /* ラベル/見出し色も写像: 既定 --color-foreground は濃紺固定で、暗背景テーマだと沈んで不可視になる(2026-07-17実測) */
  --color-foreground: var(--sm-page-text); --color-muted-foreground: var(--sm-page-muted);
  /* ★Tailwind の .border は border-style:var(--tw-border-style) 依存。Shadow DOM 内で未定義だと
     style:none → border-width が 0px に潰れ、白い入力欄が明るい背景に溶ける(実測: 鈴木事務所サイトで
     入力枠が不可視)。host に solid を与えると 1px solid が復活する(ライブ実証済)。 */
  --tw-border-style: solid; --color-border: var(--sm-page-border); }
.media-band .media-band-content { position: relative; z-index: 2; color: #fff; max-width: 680px; padding: clamp(2rem,5vw,4rem); }
/* 交互メディア行: 子の .two-col を自動で左右反転(写真と文を互い違いに積む) */
.media-alt > .two-col { margin-bottom: clamp(2rem,5vw,4rem); }
.media-alt > .two-col:last-child { margin-bottom: 0; }
.media-alt > .two-col:nth-child(even) { direction: rtl; }
.media-alt > .two-col:nth-child(even) > * { direction: ltr; }
/* カード列数の明示指定(密度を weight で変える) */
@media (min-width: 901px) { .card-grid.cols-2 { grid-template-columns: repeat(2,1fr); } .card-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
/* 大判フィーチャー画像(重み最大セクションの主役写真) */
.feature-img { width: 100%; max-height: 460px; border-radius: var(--radius); object-fit: cover; aspect-ratio: 16/9; }
.feature-img.tall { aspect-ratio: 3/4; }
@media (max-width: 720px) {
  .gallery-grid.is-asym { grid-template-columns: 1fr 1fr; }
  .gallery-grid.is-asym > .gallery-item, .gallery-grid.is-asym > .gallery-item:first-child { grid-column: span 1; grid-row: auto; aspect-ratio: 4/3; }
  .gallery-grid.is-masonry { column-count: 2; }
}

/* スタッフカード */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.staff-card { text-align: center; }
.staff-card img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid var(--color-primary-light); }
.staff-card .staff-name { font-size: var(--fs-h3); font-weight: 700; color: var(--color-heading-ink); }
.staff-card .staff-role { font-size: 0.85rem; color: var(--color-text-muted); margin: 0.25rem 0 0.75rem; }
.staff-card .staff-msg { font-size: 0.9rem; line-height: 1.7; }

/* フェードイン */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* レスポンシブ */
/* ナビ折返し対策: 項目数に応じた幅でハンバーガーへ畳む(横並びがcontainerに収まらず2段化/はみ出すのを防ぐ) */
@media (max-width: 1200px) {
  .hamburger { display: flex; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #ffffff; background: var(--color-bg, #ffffff); padding: 1rem; border-top: 1px solid var(--color-primary-light); box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 99; max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .site-nav a { display: flex; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--color-primary-light); min-height: 44px; white-space: normal; }
  .site-nav .sm-langswitch { gap: 1rem; padding: 0.5rem 0; }
  .site-logo { max-width: 72%; }  /* 横並びナビ非表示時はロゴ枠を広げ無駄な省略を防ぐ */
}
@media (max-width: 768px) {
  /* ヒーロー */
  .hero { min-height: 50vh; }
  .hero-content { padding: 1.5rem; max-width: 100%; }
  /* No.5 スマホで h1(ヒーロー見出し)が大きすぎて折返し崩れするのを防ぐ明示サイズ */
  .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.25; }
  .page-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); line-height: 1.25; }

  /* セクション */
  .section { padding: 3.5rem 0; }  /* No.9 スマホでも過密にならない下限 */
  .container { padding: 0 1rem; }
  .section-title { margin-bottom: 1.5rem; }

  /* グリッド */
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .two-col.reverse { direction: ltr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: 1fr; }

  /* フッター */
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 2rem 0 1rem; }

  /* ページヒーロー */
  .page-hero { height: 180px; }

  /* ボタン: タッチターゲット確保 */
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; }
}

/* JS共通 */

/* sm-widget-theme-bridge:start (auto-generated — 手で編集しないでください) */
:root {
  --sm-widget-primary: var(--color-primary, #3c83f6);
  --sm-widget-ink: var(--color-text, #0f1729);
  --sm-widget-font: var(--font-body, sans-serif);
}
[data-sm-widget="news"],
[data-sm-widget="column"],
[data-sm-widget="contact"] {
  --color-primary: var(--sm-widget-primary);
  --color-foreground: var(--sm-widget-ink);
  --color-muted-foreground: color-mix(in srgb, var(--sm-widget-ink) 62%, transparent);
  --color-border: color-mix(in srgb, var(--sm-widget-ink) 14%, transparent);
  font-family: var(--sm-widget-font);
}
/* sm-widget-theme-bridge:end */

/* ============================================================================
   smfix デザインシステム — 136ism / パターンB 全面リニューアル (2026-09-16)
   ----------------------------------------------------------------------------
   お客様要望:
     ・生成りいろをベースに。グリーンと木目は写真で見せる
     ・現在のブルー(ブランドカラー #4DC0DB)は【差し色】程度に留める
     ・清潔感ではなくボタニカル・ナチュラル、高級感のある落ち着いたテイスト
     ・まったり / ゆったり / プライベートサロン / いやし
     ・参考: https://www.idc-otsuka.jp/ (静かな余白・明朝・写真主役)
   実装方針(P165):
     生成テンプレート由来の .lgx モジュール(module-base.css / features-*.css /
     banner-cta-*.css)は JAページから link ごと外し、ここの smfix-* に一本化する。
     ★CSSファイル自体は削除しない — EN版(dist/en/)が今も参照しているため。
   色トークンは var(--color-*) 経由にしてあるので、管理画面(theme.json)で
   色を変えると smfix 側にも連鎖する。theme.json と :root 既定値は同値に保つこと。
   ========================================================================= */

:root {
  /* 面 ── 生成りいろの3段 */
  --smfix-base:       var(--color-bg);                                                  /* #FAF7F0 紙面 */
  --smfix-cream:      color-mix(in srgb, var(--color-secondary) 12%, var(--color-bg));  /* ≒#F0EADE */
  --smfix-cream-deep: color-mix(in srgb, var(--color-secondary) 22%, var(--color-bg));  /* ≒#E8DECF */
  --smfix-line:       color-mix(in srgb, var(--color-secondary) 38%, var(--color-bg));  /* ≒#DACCB8 罫 */
  /* 文字 */
  --smfix-ink:        var(--color-text);                                                /* #2E2B26 墨 */
  --smfix-ink-soft:   color-mix(in srgb, var(--color-text) 72%, var(--color-bg));       /* ≒#67645F 5.3:1 */
  /* ブランド */
  --smfix-green:      var(--color-primary);                                             /* #7A5C3E */
  --smfix-green-deep: color-mix(in srgb, var(--color-primary) 78%, #000);
  --smfix-wood:       var(--color-secondary);                                           /* #A6875C 木目 */
  /* 木目色の【文字用】。ベタの #A6875C は 11.5px の英字で 2.80:1 しか出ないため墨を混ぜる
     (生成り面で 4.78:1 / 白カードで 5.72:1。色みは木目のまま) */
  --smfix-wood-ink:   color-mix(in srgb, var(--color-secondary) 62%, var(--color-text));
  --smfix-accent:     var(--color-accent);                                              /* #4DC0DB 差し色 */
  /* 寸法 */
  --smfix-wrap-w:     1180px;
  --smfix-gutter:     clamp(1.25rem, 5vw, 3rem);
  --smfix-sec-y:      clamp(4.5rem, 8vw, 7.5rem);
  --smfix-shadow:     0 18px 44px -24px rgba(90, 60, 30, 0.38);
  /* 葉のオーナメント(見出し下) */
  --smfix-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 18'%3E%3Cpath d='M13 17C7.2 17 3 13 3 7.6c5.8 0 10 4 10 9.4z' fill='%237A5C3E'/%3E%3Cpath d='M13 17c5.8 0 10-4 10-9.4-5.8 0-10 4-10 9.4z' fill='%237A5C3E' opacity='.62'/%3E%3Cpath d='M13 17V4.4' stroke='%237A5C3E' stroke-width='1.1' fill='none'/%3E%3C/svg%3E");
}

/* ── 土台 ─────────────────────────────────────────────────────────── */
body { background: var(--smfix-base); color: var(--smfix-ink); }

/* 日本語の折り返し(P008/P021: 生成CSSは折り返し指定ゼロが常態) */
body { overflow-wrap: break-word; line-break: strict; }
.smfix-h2, .smfix-h3, .smfix-hero-title, .smfix-phero-title, .smfix-lead,
.smfix-tile-title, .smfix-menu-name, .smfix-faq-q { word-break: auto-phrase; text-wrap: pretty; }
/* 電話番号・価格は途中で折らない */
.smfix-tel-no, .smfix-menu-price { white-space: nowrap; }
/* 管理画面の改行(\n)を活かす(P010) */
[data-editable-type="multiline"] { white-space: pre-line; }

.smfix-wrap { max-width: var(--smfix-wrap-w); margin-inline: auto; padding-inline: var(--smfix-gutter); }
.smfix-wrap--narrow { max-width: 880px; }

/* ── セクション ───────────────────────────────────────────────────── */
.smfix-sec { padding-block: var(--smfix-sec-y); background: var(--smfix-base); }
.smfix-sec--cream { background: var(--smfix-cream); }
.smfix-sec--deep  { background: var(--smfix-cream-deep); }
.smfix-sec--green { background: var(--smfix-green); color: #fff; }
.smfix-sec--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* ── 見出し ───────────────────────────────────────────────────────── */
.smfix-en {
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.34em;
  text-indent: 0.34em; color: var(--smfix-wood-ink); margin: 0 0 1.1rem;
  text-transform: uppercase; line-height: 1.5;
}
.smfix-h2 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.5rem, 3.1vw, 2.15rem); line-height: 1.6; letter-spacing: 0.1em;
  color: var(--smfix-ink); margin: 0;
}
.smfix-h3 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.8; letter-spacing: 0.07em;
  color: var(--smfix-ink); margin: 0 0 1rem;
}
.smfix-head { text-align: center; margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem); }
.smfix-head .smfix-h2::after {
  content: ''; display: block; width: 26px; height: 18px; margin: 1.5rem auto 0;
  background: var(--smfix-leaf) center/contain no-repeat;
}
.smfix-head--left { text-align: left; }
.smfix-head--left .smfix-h2::after { margin-inline: 0; }
.smfix-sec--green .smfix-en { color: rgba(255,255,255,0.72); }
.smfix-sec--green .smfix-h2 { color: #fff; }
.smfix-sec--green .smfix-h2::after { filter: brightness(0) invert(1); opacity: 0.8; }

.smfix-lead {
  max-width: 44rem; margin: 0 auto; text-align: center;
  font-size: 1.02rem; line-height: 2.15; color: var(--smfix-ink-soft);
}
.smfix-head + .smfix-lead { margin-top: -1rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.smfix-p { font-size: 1rem; line-height: 2.1; color: var(--smfix-ink-soft); margin: 0 0 1.35rem; }
.smfix-p:last-child { margin-bottom: 0; }
.smfix-p strong { color: var(--smfix-ink); font-weight: 600; }

/* ── ボタン ───────────────────────────────────────────────────────── */
.smfix-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.85rem 2.4rem;
  background: var(--smfix-green); color: #fff;
  font-family: var(--font-heading); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.12em;
  border: 1px solid var(--smfix-green); border-radius: 2px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.smfix-btn::after { content: ''; width: 18px; height: 1px; background: currentColor; transition: width .25s ease; }
.smfix-btn:hover { background: var(--smfix-green-deep); border-color: var(--smfix-green-deep); color: #fff; opacity: 1; }
.smfix-btn:hover::after { width: 26px; }
.smfix-btn--ghost { background: transparent; color: var(--smfix-green); }
.smfix-btn--ghost:hover { background: var(--smfix-green); color: #fff; }
.smfix-btn--light { background: #fff; color: var(--smfix-green); border-color: #fff; }
.smfix-btn--light:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.smfix-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.smfix-actions--center { justify-content: center; }

/* ── ヘッダー(生成り地・明朝ナビ) ───────────────────────────────── */
.site-header {
  background: color-mix(in srgb, var(--color-bg) 88%, #fff) !important;
  border-bottom: 1px solid var(--smfix-line);
}
.site-header .container { height: 88px; max-width: 1400px; }
.site-header.scrolled { box-shadow: 0 1px 16px rgba(90,60,30,0.10); }
.site-nav { padding-left: clamp(1rem, 3vw, 2.5rem); }      /* P165: ロゴとナビの密着回避 */
.site-nav a {
  font-family: var(--font-heading); font-size: 0.86rem; letter-spacing: 0.08em;
  color: var(--smfix-ink); border-bottom: 1px solid transparent; padding-bottom: 0.3rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--smfix-green); border-bottom-color: var(--smfix-green); }
.site-header.nav-collapsed .site-nav {
  background: var(--smfix-base) !important; top: 88px; max-height: calc(100vh - 88px);
  border-top: 1px solid var(--smfix-line);
}
.site-header.nav-collapsed .site-nav a { border-bottom: 1px solid var(--smfix-line); }
.hamburger span { background: var(--smfix-green); }

/* ── ヒーロー(写真 + 生成りパネルの分割) ───────────────────────── */
.smfix-hero { display: grid; grid-template-columns: 1.08fr 1fr; background: var(--smfix-cream); align-items: stretch; }
.smfix-hero-photo { position: relative; overflow: hidden; min-height: clamp(400px, 52vw, 660px); }
.smfix-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* 写真の縁を生成りへ溶かす(高級感のある“にじみ”。文字には一切かからない) */
.smfix-hero-photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(240,234,222,0) 80%, var(--smfix-cream) 100%);
}
.smfix-hero-panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4.5vw, 4.5rem);
}
.smfix-hero-en {
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--smfix-wood-ink); margin: 0 0 1.6rem;
}
.smfix-hero-title {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.68rem); line-height: 2.3; letter-spacing: 0.14em;
  color: var(--smfix-ink); margin: 0 0 2rem;
}
.smfix-hero-sub { font-size: 0.95rem; line-height: 2; color: var(--smfix-ink-soft); margin: 0; }
.smfix-hero-mark { width: 152px; height: auto; max-height: none; margin-bottom: 1.9rem; }
.smfix-hero .smfix-actions { margin-top: 2rem; }

/* ── 下層ページ見出し ─────────────────────────────────────────────── */
.smfix-phero { background: var(--smfix-cream); padding-block: clamp(3.5rem, 7vw, 6rem); text-align: center; }
.smfix-phero-en {
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--smfix-wood-ink); margin: 0 0 1.1rem;
}
.smfix-phero-title {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: 0.16em; line-height: 1.6;
  color: var(--smfix-ink); margin: 0;
}
.smfix-phero-title::after {
  content: ''; display: block; width: 26px; height: 18px; margin: 1.5rem auto 0;
  background: var(--smfix-leaf) center/contain no-repeat;
}

/* ── 全幅の写真帯 ─────────────────────────────────────────────────── */
.smfix-band { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.smfix-band-img { width: 100%; height: clamp(220px, 34vw, 460px); max-height: none; object-fit: cover; display: block; }

/* ── 写真ストリップ(3枚) ─────────────────────────────────────────── */
.smfix-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.smfix-strip figure { margin: 0; position: relative; }
.smfix-strip-img { width: 100%; aspect-ratio: 3 / 2; max-height: none; object-fit: cover; display: block; }
.smfix-strip figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 1.75rem 1.25rem 1.1rem;
  font-family: var(--font-heading); font-size: 0.82rem; letter-spacing: 0.14em; color: #fff;
  background: linear-gradient(0deg, rgba(28,32,26,0.72) 0%, rgba(28,32,26,0) 100%);
}

/* ── 誘導タイル ───────────────────────────────────────────────────── */
.smfix-tiles {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem); padding: 0; margin: 0;
}
.smfix-tile-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--smfix-line); transition: transform .3s ease, box-shadow .3s ease; }
.smfix-tile-link:hover { transform: translateY(-4px); box-shadow: var(--smfix-shadow); opacity: 1; }
.smfix-tile-media { display: block; overflow: hidden; }
.smfix-tile-img { width: 100%; aspect-ratio: 16 / 10; max-height: none; object-fit: cover; display: block; transition: transform .5s ease; }
.smfix-tile-link:hover .smfix-tile-img { transform: scale(1.05); }
.smfix-tile-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem 1.35rem 1.6rem; flex: 1; }
.smfix-tile-en { font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 0.26em; color: var(--smfix-wood-ink); }
.smfix-tile-title { font-family: var(--font-heading); font-size: 1.08rem; letter-spacing: 0.08em; color: var(--smfix-ink); }
.smfix-tile-text { font-size: 0.86rem; line-height: 1.95; color: var(--smfix-ink-soft); }
.smfix-tile-more { margin-top: auto; padding-top: 0.6rem; font-size: 0.74rem; letter-spacing: 0.2em; color: var(--smfix-green); font-family: var(--font-heading); }

/* ── 2カラム(写真 + 本文) ────────────────────────────────────────── */
.smfix-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.smfix-media + .smfix-media { margin-top: clamp(3.5rem, 6vw, 6rem); }
.smfix-media--rev .smfix-media-figure { order: 2; }
.smfix-media-figure { margin: 0; position: relative; }
.smfix-media-img { width: 100%; aspect-ratio: 4 / 3; max-height: none; object-fit: cover; display: block; }
/* 写真の角に細い枠をずらして重ねる(上品な装飾。差し色ブルーはここの2本だけ) */
.smfix-media-figure::before {
  content: ''; position: absolute; left: -14px; top: -14px; width: 84px; height: 84px;
  border-left: 1px solid var(--smfix-accent); border-top: 1px solid var(--smfix-accent); pointer-events: none;
}
.smfix-media-body .smfix-en { margin-bottom: 0.9rem; }
.smfix-media-body .smfix-h2 { margin-bottom: 1.5rem; }
.smfix-media-body .smfix-h3 { margin-bottom: 1.25rem; }

/* ── 代表紹介 ─────────────────────────────────────────────────────── */
.smfix-owner { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.smfix-owner-photo { margin: 0; position: relative; }
.smfix-owner-img { width: 100%; aspect-ratio: 3 / 4; max-height: none; object-fit: cover; display: block; }
.smfix-owner-photo::before {
  content: ''; position: absolute; right: -16px; bottom: -16px; width: 100px; height: 100px;
  border-right: 1px solid var(--smfix-wood); border-bottom: 1px solid var(--smfix-wood); pointer-events: none;
}
.smfix-owner-name { font-family: var(--font-heading); font-size: clamp(1.5rem, 2.8vw, 1.95rem); letter-spacing: 0.16em; margin: 0 0 0.5rem; font-weight: 500; line-height: 1.5; }
.smfix-owner-role { font-size: 0.82rem; letter-spacing: 0.18em; color: var(--smfix-wood-ink); margin: 0 0 1.75rem; font-family: var(--font-heading); }

/* ── 定義リスト(店舗情報・プロフィール) ─────────────────────────── */
.smfix-dl { margin: 0; }
.smfix-dl > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--smfix-line); }
.smfix-dl > div:first-child { border-top: 1px solid var(--smfix-line); }
.smfix-dl dt { font-family: var(--font-heading); font-size: 0.9rem; letter-spacing: 0.08em; color: var(--smfix-green); line-height: 1.95; }
.smfix-dl dd { margin: 0; font-size: 0.95rem; line-height: 1.95; color: var(--smfix-ink); }
.smfix-dl dd a { color: var(--smfix-green); text-decoration: underline; text-underline-offset: 3px; }

/* ── 白パネル ─────────────────────────────────────────────────────── */
.smfix-panel { background: #fff; border: 1px solid var(--smfix-line); padding: clamp(1.75rem, 4vw, 3.25rem); }

/* ── メニュー(表ではなくリスト = SP横あふれの構造的回避) ───────── */
.smfix-menu + .smfix-menu { margin-top: clamp(3rem, 5vw, 4.5rem); }
.smfix-menu-cat {
  font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0.2em; color: var(--smfix-green);
  margin: 0 0 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--smfix-green);
  display: flex; align-items: center; gap: 0.75rem; font-weight: 500;
}
.smfix-menu-cat::before { content: ''; width: 18px; height: 13px; background: var(--smfix-leaf) center/contain no-repeat; flex: none; }
.smfix-menu-list { list-style: none; margin: 0; padding: 0; }
.smfix-menu-item { padding: 1.35rem 0; border-bottom: 1px solid var(--smfix-line); }
.smfix-menu-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; }
.smfix-menu-name { font-size: 1rem; line-height: 1.8; color: var(--smfix-ink); font-weight: 500; }
.smfix-menu-price { font-family: var(--font-heading); font-size: 1.12rem; letter-spacing: 0.04em; color: var(--smfix-green); flex: none; }
.smfix-menu-price .smfix-yen { font-size: 0.8em; margin-left: 0.15em; }
.smfix-menu-note { margin: 0.6rem 0 0; font-size: 0.86rem; line-height: 1.9; color: var(--smfix-ink-soft); }
.smfix-note { font-size: 0.86rem; line-height: 1.9; color: var(--smfix-ink-soft); margin-top: 1.5rem; }

/* ── Q&A (details = JS不要・SP安全) ─────────────────────────────── */
.smfix-faq { border-top: 1px solid var(--smfix-line); }
.smfix-faq-item { border-bottom: 1px solid var(--smfix-line); background: transparent; }
.smfix-faq-q {
  display: flex; gap: 1rem; align-items: flex-start; cursor: pointer; list-style: none;
  padding: 1.5rem 3rem 1.5rem 0; position: relative;
  font-family: var(--font-heading); font-size: 1.02rem; line-height: 1.9; letter-spacing: 0.04em; color: var(--smfix-ink);
}
.smfix-faq-q::-webkit-details-marker { display: none; }
.smfix-faq-q::before { content: 'Q'; font-size: 0.92rem; color: var(--smfix-wood-ink); letter-spacing: 0.1em; flex: none; line-height: 1.9; }
.smfix-faq-q::after {
  content: ''; position: absolute; right: 0.5rem; top: 2.1rem; width: 13px; height: 13px;
  border-right: 1px solid var(--smfix-green); border-bottom: 1px solid var(--smfix-green);
  transform: rotate(45deg); transform-origin: 70% 70%; transition: transform .3s ease;
}
.smfix-faq-item[open] .smfix-faq-q::after { transform: rotate(-135deg); }
.smfix-faq-a { display: flex; gap: 1rem; padding: 0 3rem 1.75rem 0; }
.smfix-faq-a::before { content: 'A'; font-family: var(--font-heading); font-size: 0.92rem; color: var(--smfix-green); letter-spacing: 0.1em; flex: none; line-height: 2.05; }
.smfix-faq-a p { margin: 0; font-size: 0.95rem; line-height: 2.05; color: var(--smfix-ink-soft); }

/* ── 製品カード ───────────────────────────────────────────────────── */
.smfix-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.25rem); padding: 0; margin: 0; }
.smfix-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smfix-card { background: #fff; border: 1px solid var(--smfix-line); display: flex; flex-direction: column; }
.smfix-card-media { background: var(--smfix-cream); display: grid; place-items: center; padding: 1.5rem; }
.smfix-card-img { width: 100%; max-width: 190px; aspect-ratio: 1 / 1; max-height: none; object-fit: contain; display: block; }
.smfix-card-body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.smfix-card-kicker { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--smfix-wood-ink); line-height: 1.8; }
.smfix-card-title { font-family: var(--font-heading); font-size: 1rem; letter-spacing: 0.05em; color: var(--smfix-ink); margin: 0; line-height: 1.7; font-weight: 500; }
.smfix-card-list { list-style: none; margin: 0; padding: 0; }
.smfix-card-list li { font-size: 0.85rem; line-height: 1.9; color: var(--smfix-ink-soft); padding-left: 0.95rem; position: relative; }
.smfix-card-list li::before { content: ''; position: absolute; left: 0; top: 0.9em; width: 5px; height: 1px; background: var(--smfix-wood); }
.smfix-card-spec { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--smfix-line); font-size: 0.84rem; line-height: 1.85; color: var(--smfix-ink); letter-spacing: 0.02em; }

/* ── ポイント(番号付き) ──────────────────────────────────────────── */
.smfix-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); padding: 0; margin: 0; }
.smfix-point { background: var(--smfix-base); border: 1px solid var(--smfix-line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.smfix-point-no { font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.26em; color: var(--smfix-wood-ink); display: block; margin-bottom: 0.9rem; }
.smfix-point-title { font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0.08em; color: var(--smfix-green); margin: 0 0 0.9rem; line-height: 1.75; font-weight: 500; }
.smfix-point p { font-size: 0.9rem; line-height: 1.95; color: var(--smfix-ink-soft); margin: 0 0 0.9rem; }
.smfix-point .smfix-card-list li { font-size: 0.88rem; }

/* ── 引用(挨拶文など) ───────────────────────────────────────────── */
.smfix-quote { max-width: 46rem; margin-inline: auto; text-align: center; }
.smfix-quote p {
  font-family: var(--font-heading); font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 2.5; letter-spacing: 0.08em; color: var(--smfix-ink); margin: 0 0 1.5rem;
}
.smfix-quote p:last-child { margin-bottom: 0; }

/* ── お知らせ一覧 ─────────────────────────────────────────────────── */
.smfix-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--smfix-line); }
.smfix-news li { border-bottom: 1px solid var(--smfix-line); }
.smfix-news-row { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding: 1.35rem 0.25rem; align-items: baseline; }
.smfix-news time { font-family: var(--font-heading); font-size: 0.85rem; letter-spacing: 0.1em; color: var(--smfix-wood-ink); }
.smfix-news-title { font-size: 0.97rem; line-height: 1.9; color: var(--smfix-ink); }

/* ── CTA(深緑帯) ────────────────────────────────────────────────── */
.smfix-cta { background: var(--smfix-green); color: #fff; padding-block: clamp(4rem, 7vw, 6.5rem); text-align: center; }
.smfix-cta .smfix-en { color: rgba(255,255,255,0.7); }
.smfix-cta-title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.4rem, 2.8vw, 1.95rem); letter-spacing: 0.14em; margin: 0 0 1.5rem; color: #fff; line-height: 1.7; }
.smfix-cta p { color: rgba(255,255,255,0.86); font-size: 0.95rem; line-height: 2.1; margin: 0 auto 1.5rem; max-width: 40rem; }
.smfix-tel { display: inline-flex; flex-direction: column; align-items: center; gap: 0.35rem; margin: 1.25rem 0 1.5rem; color: #fff; }
.smfix-tel-label { font-family: var(--font-heading); font-size: 0.68rem; letter-spacing: 0.34em; text-indent: 0.34em; color: rgba(255,255,255,0.72); }
.smfix-tel-no { font-family: var(--font-heading); font-size: clamp(1.9rem, 4.2vw, 2.7rem); letter-spacing: 0.06em; color: #fff; line-height: 1.25; }
.smfix-tel:hover { opacity: 1; }
.smfix-hours { font-size: 0.9rem; line-height: 2; color: rgba(255,255,255,0.82); }

/* ── フッター ─────────────────────────────────────────────────────── */
.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem; }
.site-footer .footer-name { font-family: var(--font-heading); letter-spacing: 0.14em; }
.site-footer .footer-nav a:hover { color: #fff; }

/* ── レスポンシブ ─────────────────────────────────────────────────── */
/* ★元CSSは @media (max-width:1200px) でナビをドロップダウン化する(JSの .nav-collapsed とは別系統。
   common.js の fitNav() は display:none のナビで scrollWidth=0 のため早期returnし、
   1200px以下では .nav-collapsed を付けない)。smfix の無条件ルール(.site-nav a 等)が
   ソース順で後勝ちしてしまうため、同じ条件で上書きし直す。P007。 */
@media (max-width: 1200px) {
  .site-nav { top: 88px; max-height: calc(100vh - 88px);
              background: var(--smfix-base) !important; border-top: 1px solid var(--smfix-line);
              padding-left: 1rem; padding-right: 1rem; }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--smfix-line); }
  .site-nav a:hover, .site-nav a.active { border-bottom-color: var(--smfix-green); }
}
@media (max-width: 1100px) {
  .smfix-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .smfix-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .smfix-hero { grid-template-columns: 1fr; }
  .smfix-hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .smfix-hero-photo::after { background: linear-gradient(0deg, rgba(240,234,222,0) 84%, var(--smfix-cream) 100%); }
  .smfix-hero-panel { padding-block: clamp(2.25rem, 7vw, 3.5rem); }
  .smfix-media, .smfix-owner { grid-template-columns: 1fr; gap: 2rem; }
  .smfix-owner-photo { max-width: 420px; margin-inline: auto; }   /* 素材400px幅の引き伸ばし防止 */
  .smfix-media--rev .smfix-media-figure { order: 0; }
  .smfix-points { grid-template-columns: 1fr; }
  .site-header .container { height: 72px; }
  .site-nav, .site-header.nav-collapsed .site-nav { top: 72px; max-height: calc(100vh - 72px); }
}
@media (max-width: 680px) {
  .smfix-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smfix-cards, .smfix-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smfix-strip { grid-template-columns: 1fr; }
  .smfix-strip-img { aspect-ratio: 16 / 10; }
  .smfix-dl > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .smfix-menu-row { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .smfix-news-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .smfix-media-figure::before { left: -8px; top: -8px; width: 56px; height: 56px; }
  .smfix-owner-photo::before { right: -8px; bottom: -8px; width: 64px; height: 64px; }
  .smfix-actions .smfix-btn { width: 100%; }
  .smfix-faq-q { padding-right: 2.25rem; font-size: 0.97rem; }
  .smfix-faq-a { padding-right: 0; }
}
@media (max-width: 420px) {
  .smfix-cards, .smfix-cards--2 { grid-template-columns: 1fr; }
  .smfix-card-img { max-width: 220px; }
}
/* ── ヘッダー SNS アイコン ────────────────────────────────────────── */
.header-sns {
  display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; margin-left: 1rem;
}
.header-sns-link {
  display: inline-flex; align-items: center; gap: 0.35em;
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem; border-radius: 2px; border: 1px solid transparent;
  transition: opacity .2s ease, transform .2s ease; white-space: nowrap;
}
.header-sns-link:hover { opacity: 1; transform: translateY(-1px); }
.header-sns-line { background: #06C755; color: #fff; border-color: #06C755; }
.header-sns-line:hover { background: #05a847; border-color: #05a847; }
.header-sns-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff; border-color: transparent;
}
.header-sns-ig:hover { opacity: 0.88; }
.header-sns svg { flex: none; }
/* ハンバーガー時はヘッダーSNSを非表示 */
@media (max-width: 1200px) { .header-sns { display: none; } }

/* ── SNS ボタン(CTA帯内) ─────────────────────────────────────────── */
.smfix-sns-line {
  background: #06C755; border-color: #06C755; color: #fff;
}
.smfix-sns-line:hover { background: #05a847; border-color: #05a847; color: #fff; }
.smfix-sns-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent; color: #fff;
}
.smfix-sns-ig:hover { opacity: 0.88; color: #fff; }
/* ボタン内アイコンの縦揃え */
.smfix-sns-line svg, .smfix-sns-ig svg { flex: none; }
/* ── メニュー2(カード型・service専用の新デザイン) ─────────────────── */
.smfix-menu2 + .smfix-menu2 { margin-top: clamp(3rem, 5vw, 4.5rem); }
.smfix-menu2-cat {
  font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0.2em; color: var(--smfix-green);
  margin: 0 0 1.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--smfix-green);
  display: flex; align-items: center; gap: 0.75rem; font-weight: 500;
}
.smfix-menu2-cat::before { content: ''; width: 18px; height: 13px; background: var(--smfix-leaf) center/contain no-repeat; flex: none; }
.smfix-menu2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.smfix-menu2-grid--opt { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
.smfix-menu2-card {
  background: #fff; border: 1px solid var(--smfix-line); border-radius: 3px;
  padding: 1.5rem 1.6rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.smfix-menu2-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--smfix-wood); opacity: 0.55; transition: opacity .25s ease, background .25s ease;
}
.smfix-menu2-card:hover { transform: translateY(-3px); box-shadow: var(--smfix-shadow); border-color: transparent; }
.smfix-menu2-card:hover::before { background: var(--smfix-green); opacity: 1; }
.smfix-menu2-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.smfix-menu2-name { font-family: var(--font-heading); font-size: 1.04rem; line-height: 1.65; letter-spacing: 0.03em; color: var(--smfix-ink); font-weight: 500; }
.smfix-menu2-price { flex: none; font-family: var(--font-heading); font-size: 1.28rem; letter-spacing: 0.03em; color: var(--smfix-green); white-space: nowrap; }
.smfix-menu2-price .smfix-yen { font-size: 0.72em; margin-left: 0.15em; color: var(--smfix-wood-ink); }
.smfix-menu2-note { margin: 0; font-size: 0.86rem; line-height: 1.9; color: var(--smfix-ink-soft); white-space: pre-line; }
.smfix-menu2-note:empty { display: none; }
.smfix-menu2-card--opt { padding: 1.25rem 1.5rem; }
.smfix-menu2-card--opt .smfix-menu2-head { margin-bottom: 0; }
.smfix-menu2-card--opt .smfix-menu2-name { font-size: 0.98rem; }
.smfix-menu2-card--opt .smfix-menu2-price { font-size: 1.1rem; }
@media (max-width: 640px) {
  .smfix-menu2-grid, .smfix-menu2-grid--opt { grid-template-columns: 1fr; max-width: none; }
  .smfix-menu2-head { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .smfix-menu2-price { font-size: 1.15rem; }
}
/* ========================= /smfix デザインシステム ======================= */
