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

:root {
  /* 基本色は theme.json (sitemeister/theme@2) から theme-loader.js が実行時に上書きする。
     ここの値は theme.json 読込前の初期表示用デフォルト。管理画面で色を変えると
     theme.json が更新され、リロードで反映される (再ビルド不要)。 */
  --color-primary:       #55712b;
  --color-secondary:     #8caf3c;
  --color-accent:        #d99aa8;
  --color-bg:            #f6faf1;
  --color-text:          #2f251c;
  /* 派生色は 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:       #f8f5ee;
  --color-primary-dark:  color-mix(in srgb, var(--color-primary) 80%, #000);
  /* ブランド色ベタ塗り面の上に乗せる文字色(輝度から自動決定。背景色と文字の同化を防ぐ) */
  --color-on-primary:    #ffffff;
  --color-on-secondary:  #111111;
  --color-on-accent:     #ffffff;
  /* 明背景(白セクション)に乗る見出し/下線/ロゴ/表ヘッダのインク色。primary が淡色でも読めるオンブランド濃色(輝度から自動決定)。 */
  --color-heading-ink:   #2f251c;
  /* ── タイポグラフィスケール(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:     #f8f5ee;
  --font-heading: 'Zen Old Mincho', sans-serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --radius: 0px;
  --radius-btn: 0px;
  --radius-card: 0px;
  --shadow: 0 16px 34px rgba(21,48,34,0.12);
  --shadow-card: 0 10px 24px rgba(21,48,34,0.11);
  --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.75rem 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: left; }
.section-title::after { content: ''; display: block; width: 3rem; height: 3px; background: var(--color-heading-ink); margin: 0.75rem 0 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: left;  }
.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.8rem 1.8rem; background: var(--color-primary); color: var(--color-on-primary); border-radius: var(--radius-btn); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; transition: var(--transition); border: 2px solid var(--color-primary); cursor: pointer; }
.btn:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); 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: 76px; }
/* ロゴ: 長い店舗名がヘッダー幅を食い潰してナビ全体をハンバーガーへ畳ませる事故を防ぐ。
   テキストロゴは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: 76px; 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 - 76px); 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: flex-start; 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: 600px; 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, 4.5vw, 3.2rem); font-weight: 600; 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.35rem; }
/* ちょうど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: 1px solid var(--color-primary-light); 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; }
/* アクセス系セクションの地図埋め込み(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.75rem 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: 76px; 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 - 76px); 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共通 */


/* =====================================================================
   REDESIGN 2026-08-21 — ル・グラン 全面リニューアル
   参考サイト unefeuille2016.com のトーン(生成りの紙面 / 明朝の中央見出し /
   葉のオーナメント / 葉色の緑 / 余白広め / 白カード)へ寄せる。
   ここから下が新デザインの正本。既存の .section / .card / .lgx 系は
   旧ページ(EN版)互換のために残してあるだけで、JAページは smfix-* で組む。
   ===================================================================== */

:root {
  /* 面と線 ── 2026-08-25: ガーデニングイメージのご要望により、生成り系から薄いグリーン系へ変更 */
  --smfix-base:       #f6faf1;   /* 素の地(旧 #fff)。ページ全体のベースになる極薄グリーン */
  --smfix-cream:      #eaf1e0;   /* セクション地(薄グリーン。旧 生成り #f8f5ee) */
  --smfix-cream-deep: #dfe9d2;   /* 一段濃いグリーン(旧 #f1ebdd) */
  --smfix-line:       #d3e0c1;   /* 罫線(旧 #e2dbc9) */
  --smfix-ink:        #2f251c;   /* 本文の焦茶 */
  --smfix-ink-soft:   #6d6155;   /* 補助テキスト */
  --smfix-leaf:       #8caf3c;   /* 葉色(オーナメント/ダッシュ) */
  --smfix-grape:      #8d6ba8;   /* ぶどうの実の紫(蔓の帯と揃える) */
  --smfix-nav-ink:      #3f5520; /* ヘッダーナビ文字(濃いオリーブ。視認性優先) */
  --smfix-nav-ink-hover:#1f2b10; /* ヘッダーナビ hover/active */
  --smfix-shadow:     0 10px 30px rgba(45,58,30,0.08);
  --smfix-shadow-lg:  0 18px 48px rgba(45,58,30,0.12);
  /* 余白リズム */
  --smfix-sec-y:      clamp(4.5rem, 8vw, 7.5rem);
  --smfix-gap:        clamp(1.25rem, 2.4vw, 2.25rem);
}

/* 日本語の折り返しをフレーズ単位に (P008 定番タスク) */
body, .smfix-sec, .smfix-hero, .smfix-phero {
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
.smfix-h2, .smfix-h3, .smfix-hero-title, .smfix-phero-title,
.smfix-card-title, .smfix-item-name, .smfix-tile-name {
  word-break: keep-all;
  overflow-wrap: break-word;
}

body { background: var(--smfix-base); color: var(--smfix-ink); letter-spacing: 0.02em; }
main { display: block; }

/* ── ヘッダー ───────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--smfix-line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .container { height: 84px; gap: clamp(1rem, 3vw, 2.75rem); justify-content: flex-start; }
.site-header .site-logo { margin-right: auto; }
.site-header .site-nav { margin-left: auto; padding-left: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 1200px) { .site-header .site-nav { padding-left: 1rem; } }
.site-logo-img { height: 46px !important; }
.site-nav ul { gap: clamp(0.7rem, 1.4vw, 1.35rem); }
/* 2026-08-25 「ヘッダーの文字が見えにくい」対応: 明朝・細字・小サイズ・淡い字間で沈んでいたため、
   本文フォントの中太 + 濃色 + サイズアップに変更し、下線も1px→2pxで判別しやすくした。 */
.site-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--smfix-nav-ink);
  border-bottom: none;
  padding: 0.4rem 0;
  position: relative;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--smfix-nav-ink); transition: right 0.25s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav a:hover, .site-nav a.active { color: var(--smfix-nav-ink-hover); opacity: 1; }
@media (max-width: 1400px) { .site-nav a { font-size: 0.9rem; } }
.hamburger span { background: var(--smfix-ink); }
@media (max-width: 1200px) {
  .site-nav { top: 84px; max-height: calc(100vh - 84px); border-top: 1px solid var(--smfix-line); }
  .site-nav a { border-bottom: 1px solid var(--smfix-line); }
  .site-nav a::after { display: none; }
}
@media (max-width: 768px) {
  .site-header .container { height: 68px; }
  .site-logo-img { height: 36px !important; }
  .site-nav { top: 68px; max-height: calc(100vh - 68px); }
}

/* ── ヒーロー(TOP) ─────────────────────────────────────── */
.smfix-hero {
  position: relative; overflow: hidden;
  min-height: min(84vh, 760px);
  display: flex; align-items: center; justify-content: center;
}
.smfix-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-height: none; object-fit: cover; z-index: 0;
}
.smfix-hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,20,12,0.42) 0%, rgba(28,20,12,0.18) 38%, rgba(28,20,12,0.62) 100%);
}
.smfix-hero-inner {
  position: relative; z-index: 2; color: #fff; text-align: center;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 900px;
}
.smfix-hero-en {
  font-family: var(--font-heading);
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  letter-spacing: 0.42em; text-indent: 0.42em;
  color: rgba(255,255,255,0.9); margin-bottom: 1.6rem;
}
.smfix-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  font-weight: 500; line-height: 1.85; letter-spacing: 0.14em;
  color: #fff; margin: 0 0 1.5rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.smfix-hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem; letter-spacing: 0.2em;
  border: 1px solid rgba(255,255,255,0.7); border-radius: 999px;
  padding: 0.3rem 1.1rem; margin-bottom: 1.5rem; color: #fff;
}
.smfix-hero-lead {
  font-size: clamp(0.94rem, 1.5vw, 1.02rem); line-height: 2.1;
  color: rgba(255,255,255,0.94); margin: 0 auto 2.25rem; max-width: 44em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
@media (max-width: 768px) {
  .smfix-hero { min-height: 74vh; }
  .smfix-hero-title { line-height: 1.9; letter-spacing: 0.1em; }
}

/* ── 下層ページヘッダー ───────────────────────────────── */
.smfix-phero {
  position: relative; overflow: hidden;
  height: clamp(220px, 30vw, 330px);
  display: flex; align-items: center; justify-content: center;
}
.smfix-phero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  max-height: none; object-fit: cover; z-index: 0;
}
.smfix-phero-veil { position: absolute; inset: 0; z-index: 1; background: rgba(30,22,14,0.46); }
.smfix-phero-inner { position: relative; z-index: 2; text-align: center; color: #fff; padding: 1rem; }
.smfix-phero-en {
  font-family: var(--font-heading); font-size: 0.75rem;
  letter-spacing: 0.4em; text-indent: 0.4em; color: rgba(255,255,255,0.85);
  margin-bottom: 0.9rem;
}
.smfix-phero-title {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.25rem); letter-spacing: 0.18em; text-indent: 0.18em;
  line-height: 1.5; color: #fff; margin: 0;
}

/* ── セクション ─────────────────────────────────────────── */
.smfix-sec { padding: var(--smfix-sec-y) 0; background: var(--smfix-base); }
.smfix-sec.is-cream { background: var(--smfix-cream); }
.smfix-sec.is-cream-deep { background: var(--smfix-cream-deep); }
.smfix-sec.is-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.smfix-sec > .container { max-width: 1180px; }
.smfix-sec.is-wide > .container { max-width: 1360px; }
.smfix-sec.is-narrow > .container { max-width: 860px; }

/* 見出しブロック(中央 + 葉のオーナメント + 英字) */
.smfix-head { text-align: center; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.smfix-head.is-left { text-align: left; }
.smfix-orn { display: block; margin: 0 auto 0.7rem; width: 44px; color: var(--smfix-leaf); }
.smfix-head.is-left .smfix-orn { margin-left: 0; }
.smfix-orn svg { width: 100%; height: auto; display: block; }
.smfix-head-en {
  font-family: var(--font-heading); font-size: 0.72rem;
  letter-spacing: 0.38em; text-indent: 0.38em;
  color: var(--color-primary); margin: 0 0 0.9rem; text-transform: uppercase;
}
.smfix-h2 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.35rem, 2.9vw, 1.95rem);
  letter-spacing: 0.14em; text-indent: 0.14em; line-height: 1.75;
  color: var(--smfix-ink); margin: 0;
}
.smfix-head .smfix-lead { margin: 1.4rem auto 0; }
.smfix-head-en.is-ja { text-transform: none; letter-spacing: 0.18em; text-indent: 0.18em; font-size: 0.82rem; }
.smfix-body { text-align: left; }
.smfix-body[style*="center"] > p { margin-left: auto; margin-right: auto; max-width: 46em; }

.smfix-lead {
  font-size: 1rem; line-height: 2.15; color: var(--smfix-ink-soft);
  max-width: 46em; margin: 0 auto;
}
.smfix-head.is-left .smfix-lead { margin-left: 0; }
.smfix-h3 {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem); letter-spacing: 0.1em;
  line-height: 1.8; color: var(--smfix-ink); margin: 0 0 1rem;
}

/* 本文 */
.smfix-sec p { line-height: 2.1; }
.smfix-body > p { margin-bottom: 1.4rem; color: var(--smfix-ink); }
.smfix-body > p:last-child { margin-bottom: 0; }
.smfix-note {
  margin-top: 2rem; text-align: center; font-size: 0.875rem; line-height: 1.9;
  color: var(--smfix-ink-soft);
  border-top: 1px solid var(--smfix-line); padding-top: 1.5rem;
}

/* ── ボタン ─────────────────────────────────────────────── */
.smfix-btnrow { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }
.smfix-btnrow.is-left { text-align: left; }
.smfix-btnrow.is-tight { margin-top: 1.5rem; }
.smfix-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.85rem 3.5rem 0.85rem 2rem;
  background: var(--color-primary); color: #fff !important;
  font-family: var(--font-heading); font-size: 0.94rem; letter-spacing: 0.12em;
  border: 1px solid var(--color-primary); border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
/* 右端に「区切り線 + 矢印」(参考サイトのボタン意匠) */
.smfix-btn::before {
  content: ''; position: absolute; right: 2.55rem; top: 14px; bottom: 14px;
  width: 1px; background: currentColor; opacity: 0.45;
}
.smfix-btn::after {
  content: '→'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 0.9rem; line-height: 1; transition: transform 0.25s ease;
}
.smfix-btn:hover::after { transform: translateY(-50%) translateX(3px); }
.smfix-btn:hover { background: var(--smfix-ink); border-color: var(--smfix-ink); opacity: 1; }
.smfix-btn.is-ghost {
  background: transparent; color: var(--color-primary) !important;
  border-color: var(--color-primary);
}
.smfix-btn.is-ghost:hover { background: var(--color-primary); color: #fff !important; }
.smfix-btn.is-light {
  background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.8);
}
.smfix-btn.is-light:hover { background: #fff; color: var(--smfix-ink) !important; border-color: #fff; }

/* ── 英字マーキー帯 ─────────────────────────────────────── */
.smfix-marquee { overflow: hidden; background: var(--smfix-cream); padding: 1.1rem 0; }
.smfix-marquee-track {
  display: flex; width: max-content; animation: smfixMarquee 42s linear infinite;
}
.smfix-marquee-track span {
  font-family: var(--font-heading); font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: 0.16em; color: #ddd5c2; white-space: nowrap; padding-right: 2.5rem;
}
@keyframes smfixMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .smfix-marquee-track { animation: none; } }

/* ── カテゴリータイル ───────────────────────────────────── */
.smfix-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--smfix-gap); }
.smfix-tile { display: block; color: inherit; text-align: center; }
.smfix-tile-img {
  display: block; overflow: hidden; border-radius: 3px; background: #fff;
  box-shadow: var(--smfix-shadow);
}
.smfix-tile-img img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; max-height: none; display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.smfix-tile:hover .smfix-tile-img img { transform: scale(1.06); }
.smfix-tile-name {
  display: block; font-family: var(--font-heading); font-size: 1rem;
  letter-spacing: 0.1em; color: var(--smfix-ink); margin-top: 1.1rem;
}
.smfix-tile-en {
  display: block; font-family: var(--font-heading); font-size: 0.66rem;
  letter-spacing: 0.28em; color: var(--color-primary); margin-top: 0.45rem;
}
@media (max-width: 900px) { .smfix-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── カード(こだわり等) ─────────────────────────────────── */
.smfix-cards { display: grid; gap: var(--smfix-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smfix-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smfix-cards.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.smfix-card {
  background: #fff; border: 1px solid var(--smfix-line); border-radius: 3px;
  overflow: hidden; box-shadow: var(--smfix-shadow); display: flex; flex-direction: column;
}
.smfix-card-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; max-height: none; display: block;
}
.smfix-card-body { padding: 1.5rem 1.4rem 1.7rem; }
.smfix-card-title {
  font-family: var(--font-heading); font-weight: 500; font-size: 1.05rem;
  letter-spacing: 0.08em; color: var(--smfix-ink); margin: 0 0 0.8rem;
  padding-bottom: 0.8rem; position: relative;
}
.smfix-card-title::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px;
  background: var(--smfix-leaf);
}
.smfix-card-text { font-size: 0.92rem; line-height: 2; color: var(--smfix-ink-soft); margin: 0; }
@media (max-width: 900px) { .smfix-cards.is-3, .smfix-cards.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .smfix-cards, .smfix-cards.is-3, .smfix-cards.is-4 { grid-template-columns: 1fr; } }

/* ── 商品グリッド ───────────────────────────────────────── */
.smfix-items { list-style: none; display: grid; gap: var(--smfix-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; }
.smfix-items.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.smfix-items.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.smfix-item { margin: 0; }
.smfix-item figure { margin: 0; }
.smfix-item-ph {
  display: block; overflow: hidden; border-radius: 3px; background: #fff;
  box-shadow: var(--smfix-shadow);
}
.smfix-item-ph img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; max-height: none; display: block;
}
.smfix-item figcaption {
  margin-top: 0.95rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
}
.smfix-item-name {
  font-family: var(--font-heading); font-size: 0.95rem; letter-spacing: 0.06em;
  color: var(--smfix-ink); line-height: 1.7;
  overflow-wrap: anywhere; word-break: normal;
}

.smfix-badge {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.1em;
  color: #8c4a5c; background: #f7e8ec; border-radius: 999px; padding: 0.16rem 0.7rem;
}
@media (max-width: 1000px) { .smfix-items.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .smfix-items.is-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .smfix-items, .smfix-items.is-4, .smfix-items.is-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 写真+テキストの2カラム ─────────────────────────────── */
.smfix-media {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.smfix-media:last-child { margin-bottom: 0; }
.smfix-media.is-rev .smfix-media-ph { order: 2; }
.smfix-media-ph img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; max-height: none;
  border-radius: 3px; box-shadow: var(--smfix-shadow); display: block;
}
.smfix-media-ph.is-portrait img { aspect-ratio: 4/5; }
.smfix-media-no {
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.3em;
  color: var(--color-primary); margin: 0 0 0.9rem;
}
.smfix-media-tx > p { margin-bottom: 1.3rem; line-height: 2.1; color: var(--smfix-ink); }
.smfix-media-tx > p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .smfix-media { grid-template-columns: 1fr; gap: 1.5rem; }
  .smfix-media.is-rev .smfix-media-ph { order: 0; }
}

/* ── 白パネル + 定義リスト ──────────────────────────────── */
.smfix-panel {
  background: #fff; border-radius: 4px; box-shadow: var(--smfix-shadow-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.smfix-panel-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.5rem,3vw,2.75rem); align-items: center; }
.smfix-panel-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; max-height: none; border-radius: 3px; display: block; }
@media (max-width: 820px) { .smfix-panel-grid { grid-template-columns: 1fr; } }
.smfix-dl { margin: 0; }
.smfix-dl > div {
  display: grid; grid-template-columns: 9.5em minmax(0,1fr); gap: 1rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--smfix-line);
}
.smfix-dl > div:first-child { padding-top: 0; }
.smfix-dl > div:last-child { border-bottom: none; padding-bottom: 0; }
.smfix-dl dt {
  font-family: var(--font-heading); font-size: 0.92rem; letter-spacing: 0.08em;
  color: var(--smfix-ink); position: relative; padding-left: 1.5rem;
}
.smfix-dl dt::before {
  content: ''; position: absolute; left: 0; top: 0.85em; width: 12px; height: 2px;
  background: var(--smfix-leaf);
}
.smfix-dl dd { margin: 0; font-size: 0.95rem; line-height: 1.95; color: var(--smfix-ink-soft); }
@media (max-width: 560px) {
  .smfix-dl > div { grid-template-columns: 1fr; gap: 0.35rem; }
  .smfix-dl dd { padding-left: 1.5rem; }
}

/* ── FAQ ───────────────────────────────────────────────── */
.smfix-faq { max-width: 900px; margin: 0 auto; }
.smfix-faq-cat {
  font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: 0.14em;
  color: var(--color-primary); margin: 2.75rem 0 1.1rem; text-align: center;
}
.smfix-faq-cat:first-child { margin-top: 0; }
.smfix-qa {
  background: #fff; border: 1px solid var(--smfix-line); border-radius: 3px;
  margin-bottom: 0.85rem; box-shadow: var(--smfix-shadow);
}
.smfix-qa > summary {
  list-style: none; cursor: pointer; display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.15rem 3rem 1.15rem 1.35rem; position: relative;
  font-family: var(--font-heading); font-size: 1rem; line-height: 1.85; color: var(--smfix-ink);
}
.smfix-qa > summary::-webkit-details-marker { display: none; }
.smfix-qa > summary::after {
  content: ''; position: absolute; right: 1.35rem; top: 1.55rem;
  width: 9px; height: 9px; border-right: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary); transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.smfix-qa[open] > summary::after { transform: rotate(-135deg); top: 1.8rem; }
.smfix-q, .smfix-a {
  flex: 0 0 auto; width: 1.6em; height: 1.6em; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 0.8rem; line-height: 1;
}
.smfix-q { background: var(--color-primary); color: #fff; margin-top: 0.2em; }
.smfix-a { background: var(--smfix-cream-deep); color: var(--color-primary); margin-top: 0.2em; }
.smfix-qa-body {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0 1.35rem 1.4rem; border-top: 1px solid var(--smfix-line); padding-top: 1.2rem;
  margin: 0 0 0;
}
.smfix-qa-body p { margin: 0; font-size: 0.94rem; line-height: 2; color: var(--smfix-ink-soft); }

/* ── CTA(電話 / フォーム) ─────────────────────────────── */
.smfix-cta { background: var(--smfix-cream-deep); padding: var(--smfix-sec-y) 0; }
.smfix-cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--smfix-gap); }
.smfix-cta-box {
  background: #fff; border-radius: 4px; box-shadow: var(--smfix-shadow);
  padding: clamp(1.5rem, 3vw, 2.4rem); text-align: center;
  display: flex; flex-direction: column;
}
.smfix-cta-lb {
  font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 0.3em;
  text-indent: 0.3em; color: var(--color-primary); margin: 0 0 1.1rem;
}
.smfix-cta-ti {
  font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.1em;
  color: var(--smfix-ink); margin: 0 0 1rem;
}
.smfix-tel { margin: 0 0 0.7rem; }
.smfix-tel a {
  font-family: var(--font-heading); font-size: clamp(1.5rem, 3.4vw, 2rem);
  letter-spacing: 0.06em; color: var(--smfix-ink); text-decoration: none;
}
.smfix-cta-note { font-size: 0.85rem; line-height: 1.9; color: var(--smfix-ink-soft); margin: 0; }
.smfix-cta-box .smfix-btnrow { margin-top: auto; padding-top: 1.5rem; }
.smfix-cta-box > p:not(.smfix-cta-lb):not(.smfix-tel):not(.smfix-cta-note) {
  font-size: 0.94rem; line-height: 2; color: var(--smfix-ink-soft); margin: 0 0 0.4rem;
}
@media (max-width: 760px) { .smfix-cta-grid { grid-template-columns: 1fr; } }

/* 見出し・本文の折り返しバランス (P008: 句点だけが次行に落ちるのを防ぐ) */
.smfix-h2, .smfix-h3, .smfix-hero-title, .smfix-phero-title,
.smfix-card-title, .smfix-cta-ti { text-wrap: balance; }
.smfix-lead, .smfix-card-text, .smfix-media-tx > p, .smfix-body > p,
.smfix-hero-lead, .smfix-note, .smfix-callout, .smfix-legal p { text-wrap: pretty; }

/* ── ギャラリー ─────────────────────────────────────────── */
.smfix-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--smfix-gap); }
@media (min-width: 901px) { .smfix-gal.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.smfix-gal img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; max-height: none;
  border-radius: 3px; box-shadow: var(--smfix-shadow); display: block;
}
@media (max-width: 640px) { .smfix-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 帯(写真の上に置く一言) ───────────────────────────── */
.smfix-band { position: relative; overflow: hidden; }
.smfix-band-img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; }
.smfix-band-veil { position: absolute; inset: 0; background: rgba(30,22,14,0.5); }
.smfix-band .container { position: relative; z-index: 2; padding-top: clamp(3.5rem,7vw,5.5rem); padding-bottom: clamp(3.5rem,7vw,5.5rem); text-align: center; }
.smfix-band .smfix-h2, .smfix-band .smfix-lead, .smfix-band .smfix-head-en { color: #fff; }
.smfix-band .smfix-orn { color: rgba(255,255,255,0.85); }

/* ── 本文中の注意書き ─────────────────────────────────── */
.smfix-callout {
  background: #fff; border: 1px solid var(--smfix-line); border-left: 3px solid var(--smfix-leaf);
  border-radius: 2px; padding: 1.25rem 1.5rem; margin: 2rem auto 0; max-width: 46em;
  font-size: 0.94rem; line-height: 2; color: var(--smfix-ink);
}

/* ── 法務系の長文ページ ───────────────────────────────── */
.smfix-legal { max-width: 860px; margin: 0 auto; }
.smfix-legal h2 {
  font-family: var(--font-heading); font-weight: 500; font-size: 1.08rem;
  letter-spacing: 0.1em; color: var(--smfix-ink); margin: 2.5rem 0 0.9rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--smfix-line);
}
.smfix-legal h2:first-child { margin-top: 0; }
.smfix-legal p { font-size: 0.95rem; line-height: 2.1; color: var(--smfix-ink-soft); margin: 0 0 1rem; }

/* ── フッター ───────────────────────────────────────────── */
.site-footer {
  background: var(--smfix-cream) !important; color: var(--smfix-ink) !important;
  border-top: 1px solid var(--smfix-line); padding: clamp(3rem,6vw,4.5rem) 0 1.75rem;
}
.site-footer a { color: var(--smfix-ink-soft); }
.site-footer a:hover { color: var(--color-primary); opacity: 1; }
.site-footer .footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: center; margin-bottom: 2.25rem;
}
.site-footer .footer-logo-img { margin: 0 auto 0.9rem !important; height: 44px !important; }
.site-footer .footer-name {
  font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.2em;
  color: var(--smfix-ink); margin-bottom: 0.6rem;
}
.site-footer .footer-nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; list-style: none;
}
.site-footer .footer-nav li { margin: 0; }
.site-footer .footer-nav a { font-size: 0.85rem; letter-spacing: 0.06em; }
.site-footer .footer-info p { font-size: 0.9rem; line-height: 2; margin: 0; color: var(--smfix-ink-soft); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--smfix-line); padding-top: 1.5rem; text-align: center;
  font-size: 0.75rem; letter-spacing: 0.08em; color: var(--smfix-ink-soft);
}
.smfix-footer-addr { font-size: 0.9rem; line-height: 2; color: var(--smfix-ink-soft); margin: 0 0 0.3rem; }

/* ── ウィジェット(お知らせ/お問い合わせ)の受け皿 ───────── */
.smfix-widget { max-width: 900px; margin: 0 auto; }
.smfix-widget:empty::after {
  content: '';
}

/* ── スキップリンク ─────────────────────────────────────── */
.skip-link { background: var(--color-primary); color: #fff; }

/* =====================================================================
   2026-08-25 追加分 (ガーデニングイメージ / Instagram誘導)
   ===================================================================== */

/* ── ぶどうの蔓の帯(縁取り装飾) ─────────────────────────
   images/vine-band.svg を横方向にタイルした帯。ヒーロー写真の下端と
   フッター直前に敷き、ページ全体を蔓で縁取ったように見せる。 */
.smfix-hero::after,
.smfix-phero::after,
.smfix-vine-band {
  content: '';
  display: block;
  height: 44px;
  background: var(--smfix-base) url('images/vine-band.svg') repeat-x center center;
  background-size: 240px 44px;
}
.smfix-hero::after,
.smfix-phero::after {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
}
/* フッター直前の帯(main の末尾に自動で入れる) */
main::after {
  content: '';
  display: block;
  height: 44px;
  background: var(--smfix-base) url('images/vine-band.svg') repeat-x center center;
  background-size: 240px 44px;
}
@media (max-width: 768px) {
  .smfix-hero::after, .smfix-phero::after, main::after, .smfix-vine-band {
    height: 34px; background-size: 186px 34px;
  }
}

/* ── Instagram 誘導 ───────────────────────────────────── */
.smfix-ig { width: 20px; height: 20px; flex: 0 0 auto; }
.smfix-sns-row { margin-top: 2rem; }
.smfix-btn.smfix-sns-link { gap: 0.6rem; }
.site-footer .footer-sns { justify-content: center; margin-top: 1.1rem; }
.site-footer .footer-sns a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; letter-spacing: 0.08em; opacity: 1;
  color: var(--smfix-ink-soft);
}
.site-footer .footer-sns a:hover { color: var(--color-primary); transform: none; }
.site-footer .footer-sns .smfix-ig { width: 22px; height: 22px; }

/* ── CTA内の注意書き(フォームでの予約不可 / 苺サンドなし) ── */
.smfix-cta-alert {
  margin: 2.25rem auto 0; max-width: 48em;
  background: #fff; border: 1px solid var(--smfix-line);
  border-left: 3px solid var(--smfix-grape);
  padding: 1.1rem 1.5rem;
  font-size: 0.9rem; line-height: 1.95; color: var(--smfix-ink);
  text-align: left;
}
.smfix-alert-line { display: block; text-indent: -1.25em; padding-left: 1.25em; text-wrap: pretty; }
.smfix-alert-line + .smfix-alert-line { margin-top: 0.55rem; }
.smfix-alert-line::before { content: '※'; color: var(--smfix-grape); margin-right: 0.25em; }
/* CTA以外(お問い合わせページ)では上下の余白を少し広く取る */
.smfix-sec .smfix-cta-alert { margin-top: 2rem; }

/* 日本語見出しを文節単位で折り返す(対応ブラウザのみ。未対応は上の keep-all のまま)。
   長い見出しの末尾の「。」だけが次行に落ちる孤立を防ぐ。JAページの .smfix-h2 のみ対象。 */
.smfix-h2 { word-break: auto-phrase; }

/* SPのナビ開閉パネルは背景を明示(既定の var(--color-bg) は theme.json 経由で
   薄グリーンに変わるため、ローカルと本番で見え方が変わらないよう白で固定する)。 */
.site-header.nav-collapsed .site-nav { background: #fff; }
@media (max-width: 1200px) { .site-nav { background: #fff; } }

/* ── Instagram CTAブロック ────────────────────────────── */
.smfix-ig-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.smfix-ig-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 8px;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 8px 32px rgba(188, 24, 136, 0.28), 0 2px 8px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.smfix-ig-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.6' y='2.6' width='18.8' height='18.8' rx='5.2'/%3E%3Ccircle cx='12' cy='12' r='4.1'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.15' fill='rgba(255,255,255,0.06)' stroke='none'/%3E%3C/svg%3E") no-repeat right -20px center;
  background-size: 180px 180px;
  pointer-events: none;
}
.smfix-ig-cta-icon {
  flex: 0 0 auto;
  width: clamp(52px, 7vw, 72px);
  height: clamp(52px, 7vw, 72px);
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.smfix-ig-cta-icon svg {
  width: 60%;
  height: 60%;
  color: #fff;
  display: block;
}
.smfix-ig-cta-tx {
  min-width: 0;
}
.smfix-ig-cta-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  color: rgba(255,255,255,0.82);
  margin: 0 0 0.35rem;
  line-height: 1;
}
.smfix-ig-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.5;
}
.smfix-ig-cta-desc {
  font-size: 0.875rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  margin: 0;
}
.smfix-ig-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #c13584 !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-decoration: none;
}
.smfix-ig-cta-btn:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  opacity: 1;
}
.smfix-ig-cta-btn svg {
  flex: 0 0 auto;
  color: #c13584;
}
@media (max-width: 820px) {
  .smfix-ig-cta-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .smfix-ig-cta-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .smfix-ig-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .smfix-ig-cta-icon {
    margin: 0 auto;
  }
  .smfix-ig-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── ごあいさつ 3枚写真グリッド ─────────────────────── */
.smfix-about-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.smfix-about-photo-item {
  overflow: hidden;
  border-radius: 3px;
  box-shadow: var(--smfix-shadow);
  background: #fff;
}
.smfix-about-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: none;
  display: block;
  background: #f6faf1;
}
@media (max-width: 640px) {
  .smfix-about-photos {
    grid-template-columns: 1fr;
  }
}

/* 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 */
