@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  /* 基本色は theme.json (sitemeister/theme@2) から theme-loader.js が実行時に上書きする。
     ここの値は theme.json 読込前の初期表示用デフォルト。管理画面で色を変えると
     theme.json が更新され、リロードで反映される (再ビルド不要)。 */
  --color-primary:       #100169;  /* 買取大吉 規定の紺 (ロゴデータ集 RGB版) */
  --color-secondary:     #C8A24A;  /* ゴールド */
  --color-accent:        #FF0001;  /* 規定色の赤(強調のみ) */
  --color-bg:            #FFFFFF;  /* 白ベース */
  --color-text:          #16162C;
  /* 派生色は 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:  #22160A;
  --color-on-accent:     #ffffff;
  /* 明背景(白セクション)に乗る見出し/下線/ロゴ/表ヘッダのインク色。primary が淡色でも読めるオンブランド濃色(輝度から自動決定)。 */
  --color-heading-ink:   #100169;
  /* ── タイポグラフィスケール(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:     #100169;
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-display: 'Oswald', 'Noto Sans JP', sans-serif;
  --font-display: 'Oswald', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --radius: 18px;
  --radius-btn: 999px;
  --radius-card: 22px;
  --shadow: 0 18px 42px rgba(20,45,70,0.14);
  --shadow-card: 0 12px 28px rgba(20,45,70,0.12);
  --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: 7.25rem 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-heading-ink); 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: 1rem 2.4rem; background: var(--color-primary); color: var(--color-on-primary); border-radius: var(--radius-btn); font-family: var(--font-heading); font-weight: 700; text-transform: none; letter-spacing: 0.08em; 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: 68px; }
/* ロゴ: 長い店舗名がヘッダー幅を食い潰してナビ全体をハンバーガーへ畳ませる事故を防ぐ。
   テキストロゴは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: 68px; 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 - 68px); 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: 780px; margin: 0 auto; padding: 2rem; text-align: center; }
.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(2.2rem, 6vw, 3.9rem); 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: 2.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%; height: auto; 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: 7.25rem 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: 68px; 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 - 68px); 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共通 */

/* ============================================================================
   SMFIX DESIGN SYSTEM — 買取大吉 橋本市役所前店 (2026-08-26 全面リビルド)
   ---------------------------------------------------------------------------
   方針: 公式ロゴガイドライン(独自広告用ロゴデータ集 RGB版 V1.1)の規定に従う。
     ・規定色 紺 #100169 / 黒 #000000 / 赤 #FF0001 / 淡藤 #D2D5EC
     ・ロゴは「白背景」または「紺(#100169)背景」の上のみ。写真の上に置かない
     ・コーポレートタイプ = 源ノ角ゴシック Bold (= Google Fonts の Noto Sans JP)
   トーン: 紺×白ベース×ゴールド。斜めストライプ・六角形(ロゴ由来)・二重線・
           特大の白抜き見出しでインパクトを出す。
   旧テンプレート(.lgx / module-base / features-th04 / works-mod-11 /
   banner-cta-mod-14 / faq-hux-01)は JAページから撤去。CSSファイルはEN版が
   参照しているため残置している(P005/P012/P165)。
   ========================================================================== */

:root {
  --sm-navy:        #100169;
  --sm-navy-deep:   #0a0147;
  --sm-navy-soft:   #241a8a;
  --sm-gold:        #c8a24a;
  --sm-gold-bright: #e8cd7d;
  --sm-gold-deep:   #96731f;
  --sm-lilac:       #d2d5ec;
  --sm-paper:       #f4f5fb;
  --sm-ink:         #16162c;
  --sm-muted:       #5b5b78;
  --sm-line:        #dfe1f0;
  --sm-red:         #ff0001;
  --sm-shadow:      0 18px 44px rgba(16,1,105,.14);
  --sm-shadow-sm:   0 8px 22px rgba(16,1,105,.10);
  --sm-wrap:        1180px;
}

/* --- 日本語の折り返し(生成CSSは指定ゼロが常態。P008/P021の定番セット) --- */
h1, h2, h3, h4, .smfix-hero-title, .smfix-head-jp { word-break: auto-phrase; text-wrap: balance; }
p, li, dt, dd { text-wrap: pretty; }
.smfix-lead, .smfix-cta p, .smfix-hero-sub { word-break: auto-phrase; }
.smfix-btn, .btn { word-break: auto-phrase; }
.smfix-nobr { white-space: nowrap; }

body.smfix { background: #fff; color: var(--sm-ink); font-family: var(--font-body); }
.smfix img { max-height: none; }
.smfix ::selection { background: var(--sm-navy); color: #fff; }

/* ---------- 共通レイアウト ---------- */
.smfix-wrap { width: min(var(--sm-wrap), calc(100% - 2.5rem)); margin-inline: auto; }
.smfix-sec { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.smfix-sec--paper { background: var(--sm-paper); }
.smfix-sec--navy { background: var(--sm-navy); color: #fff; }
.smfix-sec--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* 斜めゴールドストライプ(共通の意匠) */
.smfix-stripes { position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
    rgba(200,162,74,.20) 0 2px, transparent 2px 16px); }
.smfix-stripes--soft { background-image: repeating-linear-gradient(-45deg,
    rgba(16,1,105,.05) 0 2px, transparent 2px 14px); }

/* 六角形(ロゴのシンボル由来) */
.smfix-hex { display: inline-block; width: 1em; height: .92em; background: currentColor;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

/* ---------- セクション見出し ---------- */
.smfix-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.smfix-head--left { text-align: left; }
.smfix-head-en { display: block; font-family: var(--font-display); font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; font-size: .78rem;
  color: var(--sm-gold-deep); margin-bottom: .5rem; }
.smfix-sec--navy .smfix-head-en { color: var(--sm-gold-bright); }
.smfix-head-jp { font-family: var(--font-heading); font-weight: 900; line-height: 1.3;
  font-size: clamp(1.6rem, 4.4vw, 2.6rem); color: var(--sm-navy); letter-spacing: .01em; }
.smfix-sec--navy .smfix-head-jp { color: #fff; }
.smfix-head-jp em { font-style: normal; color: var(--sm-gold-deep); }
.smfix-sec--navy .smfix-head-jp em { color: var(--sm-gold-bright); }
/* ロゴの店舗名まわりと同じ二重線 */
.smfix-rule { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; }
.smfix-head--left .smfix-rule { justify-content: flex-start; }
.smfix-rule::before, .smfix-rule::after { content: ''; width: 56px; height: 0;
  border-top: 2px solid var(--sm-gold); border-bottom: 2px solid var(--sm-gold); height: 5px; }
.smfix-rule i { color: var(--sm-gold); font-size: 1rem; line-height: 0; }
.smfix-lead { max-width: 46rem; margin: 1.25rem auto 0; text-align: center;
  font-size: 1.03rem; line-height: 1.95; color: var(--sm-muted); }
.smfix-sec--navy .smfix-lead { color: rgba(255,255,255,.86); }
.smfix-head--left + .smfix-lead, .smfix-lead--left { margin-inline: 0; text-align: left; }

/* ---------- ボタン ---------- */
.smfix-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 56px; padding: .95rem 2.1rem; border-radius: 999px; font-weight: 800;
  font-family: var(--font-heading); letter-spacing: .04em; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.smfix-btn:hover { transform: translateY(-2px); }
.smfix-btn--gold { background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold));
  color: #22160a; box-shadow: 0 10px 26px rgba(150,115,31,.35); }
.smfix-btn--gold:hover { box-shadow: 0 16px 32px rgba(150,115,31,.45); color: #22160a; }
.smfix-btn--navy { background: var(--sm-navy); color: #fff; box-shadow: 0 10px 26px rgba(16,1,105,.3); }
.smfix-btn--navy:hover { background: var(--sm-navy-soft); color: #fff; }
.smfix-btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.7); }
.smfix-btn--ghost:hover { background: #fff; color: var(--sm-navy); border-color: #fff; }
.smfix-btn--outline { background: #fff; color: var(--sm-navy); border-color: var(--sm-navy); }
.smfix-btn--outline:hover { background: var(--sm-navy); color: #fff; }
.smfix-btn--sm { min-height: 44px; padding: .6rem 1.4rem; font-size: .92rem; }
.smfix-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.smfix-btns--center { justify-content: center; }

/* 電話ボタン(番号を大きく) */
.smfix-tel { display: inline-flex; flex-direction: column; align-items: center; gap: .1rem;
  min-height: 62px; padding: .55rem 2rem; border-radius: 14px; background: #fff;
  border: 3px solid var(--sm-gold); box-shadow: var(--sm-shadow-sm); }
.smfix-tel b { font-family: var(--font-heading); font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 900; color: var(--sm-navy); letter-spacing: .02em; line-height: 1.1; }
.smfix-tel span { font-size: .74rem; letter-spacing: .1em; color: var(--sm-gold-deep); font-weight: 700; }
.smfix-tel:hover { transform: translateY(-2px); }

/* ---------- ヒーロー(TOP) ---------- */
.smfix-hero { position: relative; background: var(--sm-navy); color: #fff; overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.smfix-hero::after { content: ''; position: absolute; right: -12%; top: -30%; width: 62%; height: 160%;
  background: radial-gradient(circle at 40% 50%, rgba(200,162,74,.30), transparent 62%); pointer-events: none; }
.smfix-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.25rem); align-items: center; }
.smfix-hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem;
  border: 1px solid rgba(200,162,74,.7); border-radius: 999px; font-size: .82rem; font-weight: 700;
  letter-spacing: .08em; color: var(--sm-gold-bright); margin-bottom: 1.1rem; }
.smfix-hero-title { font-family: var(--font-heading); font-weight: 900; line-height: 1.16;
  font-size: clamp(2.1rem, 6.2vw, 4.1rem); letter-spacing: .005em; margin-bottom: 1.1rem; }
.smfix-hero-title .g { color: var(--sm-gold-bright); }
.smfix-hero-title .mark { position: relative; display: inline-block; }
.smfix-hero-title .mark::after { content: ''; position: absolute; left: 0; right: 0; bottom: .06em;
  height: .26em; background: linear-gradient(90deg, rgba(200,162,74,.85), rgba(232,205,125,.35)); z-index: -1; }
.smfix-hero-sub { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.95;
  color: rgba(255,255,255,.9); margin-bottom: 1.6rem; max-width: 34rem; }
.smfix-hero-chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.7rem; }
.smfix-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  font-size: .87rem; font-weight: 700; }
.smfix-chip::before { content: '✓'; color: var(--sm-gold-bright); font-weight: 900; }
.smfix-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ヒーローの写真: ロゴを写真の上に置かない規定に沿い、写真は独立した枠として置く */
.smfix-hero-media { position: relative; }
.smfix-hero-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px;
  border: 5px solid #fff; box-shadow: 0 26px 60px rgba(0,0,0,.4); transform: scale(1.08); }
.smfix-hero-badge { position: absolute; left: -14px; bottom: -18px; background: #fff; color: var(--sm-ink);
  border-radius: 16px; padding: .8rem 1.15rem; box-shadow: 0 16px 34px rgba(0,0,0,.28);
  display: flex; align-items: center; gap: .7rem; }
.smfix-hero-badge .score { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  color: var(--sm-navy); line-height: 1; }
.smfix-hero-badge .lbl { font-size: .72rem; font-weight: 700; color: var(--sm-muted); letter-spacing: .04em; }
.smfix-stars { color: #f5b301; font-size: .95rem; letter-spacing: .06em; line-height: 1; }

/* ---------- 下層ページのヒーロー ---------- */
.smfix-phero { position: relative; background: var(--sm-navy); color: #fff; overflow: hidden;
  padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(2.2rem, 4vw, 3rem); text-align: center; }
.smfix-phero-en { display: block; font-family: var(--font-display); font-weight: 700;
  letter-spacing: .24em; font-size: .78rem; color: var(--sm-gold-bright); margin-bottom: .5rem; }
.smfix-phero h1 { font-family: var(--font-heading); font-weight: 900; line-height: 1.25;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem); }
.smfix-crumb { position: relative; z-index: 2; font-size: .8rem; color: var(--sm-muted);
  padding: .8rem 0; background: var(--sm-paper); }
.smfix-crumb a { color: var(--sm-muted); }
.smfix-crumb a:hover { color: var(--sm-navy); }

/* ---------- 品目アイコンタイル(店頭サインの意匠に合わせる) ---------- */
.smfix-items { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: .85rem; }
.smfix-item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: .6rem; padding: 1.15rem .5rem 1rem; border-radius: 14px; background: #fff;
  border: 1px solid var(--sm-line); text-align: center; transition: var(--transition); }
.smfix-sec--navy .smfix-item { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
a.smfix-item:hover { transform: translateY(-3px); border-color: var(--sm-gold); box-shadow: var(--sm-shadow-sm); }
.smfix-item-ico { width: 46px; height: 46px; display: grid; place-items: center; color: var(--sm-navy); }
.smfix-sec--navy .smfix-item-ico { color: var(--sm-gold-bright); }
.smfix-item-ico svg { width: 100%; height: 100%; }
.smfix-item b { font-size: .85rem; font-weight: 700; color: var(--sm-ink); line-height: 1.45;
  line-break: strict; word-break: normal; }
.smfix-sec--navy .smfix-item b { color: #fff; }

/* ---------- 写真カード ---------- */
.smfix-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.smfix-cards--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.smfix-cards--4 { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem; }
.smfix-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sm-shadow-sm);
  border: 1px solid var(--sm-line); display: flex; flex-direction: column; transition: var(--transition); }
a.smfix-card:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow); }
.smfix-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.smfix-card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.smfix-card-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.08rem;
  color: var(--sm-navy); display: flex; align-items: center; gap: .45rem; }
.smfix-card-title .smfix-hex { font-size: .6rem; color: var(--sm-gold); }
.smfix-card-text { font-size: .93rem; line-height: 1.85; color: var(--sm-muted); }
.smfix-card-more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--sm-gold-deep); }
.smfix-card-more::after { content: ' →'; }

/* ---------- 買取方法カード(番号つき) ---------- */
.smfix-ways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.smfix-way { position: relative; background: #fff; border-radius: 18px; overflow: hidden;
  border: 2px solid var(--sm-navy); box-shadow: var(--sm-shadow-sm); display: flex; flex-direction: column;
  transition: var(--transition); }
.smfix-way:hover { transform: translateY(-4px); box-shadow: var(--sm-shadow); }
.smfix-way-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.smfix-way-head { background: var(--sm-navy); color: #fff; padding: .9rem 1.2rem;
  font-family: var(--font-heading); font-weight: 900; font-size: 1.28rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: .6rem; }
.smfix-way-head .n { font-family: var(--font-display); color: var(--sm-gold-bright); font-size: 1.5rem; }
.smfix-way-body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.smfix-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.smfix-tag { font-size: .76rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px;
  background: var(--sm-paper); color: var(--sm-navy); border: 1px solid var(--sm-line); }
.smfix-way p { font-size: .93rem; line-height: 1.85; color: var(--sm-muted); }
.smfix-way .smfix-card-more { margin-top: auto; }

/* ---------- 手順(流れ) ---------- */
.smfix-steps { counter-reset: st; display: grid; gap: 1rem; list-style: none; }
.smfix-step { counter-increment: st; position: relative; background: #fff; border-radius: 16px;
  border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow-sm);
  padding: 1.4rem 1.5rem 1.4rem 5.4rem; }
.smfix-step::before { content: counter(st); position: absolute; left: 1.15rem; top: 1.15rem;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sm-navy); color: var(--sm-gold-bright); font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; }
.smfix-step h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.12rem;
  color: var(--sm-navy); margin-bottom: .4rem; }
.smfix-step p { font-size: .95rem; line-height: 1.9; color: var(--sm-muted); }

/* ---------- 理由・強み ---------- */
.smfix-reasons { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.smfix-reason { background: #fff; border-radius: 16px; padding: 1.7rem 1.5rem; text-align: center;
  border: 1px solid var(--sm-line); box-shadow: var(--sm-shadow-sm); }
.smfix-sec--navy .smfix-reason { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
/* 白背景×紺文字の指定バリアント(2026-09 ユーザー指定: 視認性向上) */
.smfix-sec--navy .smfix-reason.smfix-reason--onwhite {
  background: #ffffff;
  border-color: var(--sm-line);
  box-shadow: var(--sm-shadow-sm);
}
.smfix-reason.smfix-reason--onwhite h3 { color: var(--sm-navy) !important; }
.smfix-reason.smfix-reason--onwhite p { color: var(--sm-muted) !important; }
.smfix-reason.smfix-reason--onwhite .smfix-reason-n b { color: #241a00; }
.smfix-reason-n { position: relative; display: inline-grid; place-items: center;
  width: 58px; height: 54px; margin: 0 auto .95rem; }
.smfix-reason-n .smfix-hex { position: absolute; inset: 0; width: 58px; height: 54px; color: var(--sm-gold); }
.smfix-reason-n b { position: relative; font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; color: #241a00; letter-spacing: .02em; }
.smfix-reason h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.06rem;
  color: var(--sm-navy); margin-bottom: .5rem; }
.smfix-sec--navy .smfix-reason h3 { color: #fff; }
.smfix-reason p { font-size: .92rem; line-height: 1.85; color: var(--sm-muted); }
.smfix-sec--navy .smfix-reason p { color: rgba(255,255,255,.82); }

/* ---------- 2カラム(写真+文) ---------- */
.smfix-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center; }
.smfix-media + .smfix-media { margin-top: clamp(2.5rem, 5vw, 4rem); }
.smfix-media--rev .smfix-media-fig { order: 2; }
.smfix-media-fig { position: relative; }
.smfix-media-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px;
  box-shadow: var(--sm-shadow); }
.smfix-media-img--tall { aspect-ratio: 4/5; }
.smfix-media-fig::before { content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 3px solid var(--sm-gold); border-radius: 18px; }
.smfix-media-img { position: relative; z-index: 1; }
.smfix-media-body h3 { font-family: var(--font-heading); font-weight: 900; line-height: 1.4;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: var(--sm-navy); margin-bottom: 1rem; }
.smfix-media-body p { font-size: 1rem; line-height: 2; color: var(--sm-muted); }
.smfix-media-body p + p { margin-top: .9rem; }
.smfix-media-body .smfix-btns { margin-top: 1.5rem; }

/* ---------- パネル(店舗情報などの定義リスト) ---------- */
.smfix-panel { background: #fff; border-radius: 18px; border: 1px solid var(--sm-line);
  box-shadow: var(--sm-shadow-sm); padding: clamp(1.4rem, 3vw, 2.2rem); }
.smfix-dl { display: grid; grid-template-columns: 9.5rem 1fr; }
.smfix-dl dt, .smfix-dl dd { padding: .95rem .4rem; border-bottom: 1px solid var(--sm-line); font-size: .96rem; }
.smfix-dl dt { font-weight: 800; color: var(--sm-navy); display: flex; align-items: center; gap: .45rem; }
.smfix-dl dt .smfix-hex { font-size: .5rem; color: var(--sm-gold); }
.smfix-dl dd { color: var(--sm-muted); line-height: 1.85; }
.smfix-dl > :nth-last-child(1), .smfix-dl > :nth-last-child(2) { border-bottom: 0; }

/* ---------- FAQ ---------- */
.smfix-faq { display: grid; gap: .8rem; }
.smfix-faq details { background: #fff; border: 1px solid var(--sm-line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--sm-shadow-sm); }
.smfix-faq summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: .85rem;
  padding: 1.1rem 3rem 1.1rem 1.2rem; position: relative; font-weight: 800; color: var(--sm-navy);
  font-size: 1rem; line-height: 1.6; }
.smfix-faq summary::-webkit-details-marker { display: none; }
.smfix-faq summary::before { content: 'Q'; flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--sm-navy); color: #fff;
  font-family: var(--font-display); font-size: .95rem; }
.smfix-faq summary::after { content: ''; position: absolute; right: 1.25rem; top: 1.5rem;
  width: 11px; height: 11px; border-right: 2.5px solid var(--sm-gold); border-bottom: 2.5px solid var(--sm-gold);
  transform: rotate(45deg); transition: transform .25s ease; }
.smfix-faq details[open] summary::after { transform: rotate(-135deg); }
.smfix-faq-a { display: flex; gap: .85rem; padding: 0 1.2rem 1.3rem; }
.smfix-faq-a::before { content: 'A'; flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; background: var(--sm-gold); color: #241a00;
  font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.smfix-faq-a p { font-size: .96rem; line-height: 1.95; color: var(--sm-muted); }

/* ---------- お客様の声 ---------- */
.smfix-voices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.smfix-voice { background: #fff; border-radius: 16px; border: 1px solid var(--sm-line);
  box-shadow: var(--sm-shadow-sm); padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.smfix-voice-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.smfix-voice-who { font-size: .84rem; font-weight: 700; color: var(--sm-muted); }
.smfix-voice h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.04rem;
  color: var(--sm-navy); line-height: 1.55; }
.smfix-voice p { font-size: .93rem; line-height: 1.95; color: var(--sm-muted); }
.smfix-voice-src { margin-top: auto; font-size: .76rem; color: #8b8ba6; letter-spacing: .03em; }

/* Google評価パネル */
.smfix-rating { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 2px solid var(--sm-gold); border-radius: 18px;
  padding: 1.3rem 1.8rem; box-shadow: var(--sm-shadow-sm); }
.smfix-rating .big { font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--sm-navy); line-height: 1; }
.smfix-rating .meta { font-size: .88rem; color: var(--sm-muted); }

/* ---------- エリアチップ ---------- */
.smfix-areas { display: flex; flex-wrap: wrap; gap: .5rem; }
.smfix-area { font-size: .88rem; font-weight: 700; padding: .48rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--sm-line); color: var(--sm-navy); }
.smfix-sec--navy .smfix-area { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.smfix-arealist { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.smfix-areablock { background: #fff; border: 1px solid var(--sm-line); border-radius: 14px; padding: 1.2rem 1.3rem; }
.smfix-areablock h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1rem;
  color: var(--sm-navy); margin-bottom: .7rem; display: flex; align-items: center; gap: .45rem; }
.smfix-areablock h3 .smfix-hex { font-size: .5rem; color: var(--sm-gold); }
.smfix-areablock p { font-size: .9rem; line-height: 1.9; color: var(--sm-muted); }

/* ---------- 注意書き・リスト ---------- */
.smfix-note { font-size: .84rem; line-height: 1.85; color: #7b7b96; margin-top: 1rem; }
.smfix-sec--navy .smfix-note { color: rgba(255,255,255,.7); }
.smfix-list { display: grid; gap: .6rem; list-style: none; }
.smfix-list li { position: relative; padding-left: 1.9rem; font-size: .97rem; line-height: 1.9; color: var(--sm-muted); }
.smfix-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 11px;
  background: var(--sm-gold); clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }
.smfix-sec--navy .smfix-list li { color: rgba(255,255,255,.86); }

/* 本人確認書類などの小カード */
.smfix-mini { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; }
.smfix-mini > div { background: #fff; border: 1px solid var(--sm-line); border-radius: 12px;
  padding: 1rem .8rem; text-align: center; font-weight: 700; font-size: .93rem; color: var(--sm-navy); }

/* ---------- マーキー(品目キーワードの流れる帯) ---------- */
.smfix-marquee { background: var(--sm-navy); color: #fff; overflow: hidden; padding: .8rem 0;
  border-top: 3px solid var(--sm-gold); border-bottom: 3px solid var(--sm-gold); }
.smfix-marquee-track { display: flex; width: max-content; animation: smfix-marq 38s linear infinite; }
.smfix-marquee-track > span { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem;
  font-family: var(--font-heading); font-weight: 900; font-size: 1.05rem; letter-spacing: .06em;
  white-space: nowrap; }
.smfix-marquee-track i { color: var(--sm-gold); font-size: .55rem; line-height: 0; font-style: normal; }
@keyframes smfix-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .smfix-marquee-track { animation: none; } }

/* ---------- ゴールドの帯(強調バナー) ---------- */
.smfix-ribbon { background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold));
  color: #241a00; text-align: center; padding: 1.15rem 1rem; font-family: var(--font-heading);
  font-weight: 900; font-size: clamp(1rem, 2.4vw, 1.35rem); letter-spacing: .04em; }

/* ---------- CTA ---------- */
.smfix-cta { position: relative; background: var(--sm-navy); color: #fff; overflow: hidden;
  padding: clamp(3rem, 6vw, 4.8rem) 0; text-align: center; }
.smfix-cta-en { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: .24em;
  font-size: .78rem; color: var(--sm-gold-bright); margin-bottom: .6rem; }
.smfix-cta h2 { font-family: var(--font-heading); font-weight: 900; line-height: 1.35;
  font-size: clamp(1.5rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.smfix-cta p { color: rgba(255,255,255,.88); line-height: 1.95; max-width: 42rem; margin: 0 auto 1.8rem; }
.smfix-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.smfix-cta .smfix-wrap { position: relative; z-index: 2; }

/* ---------- ヘッダー ---------- */
.smfix .site-header { background: #fff; border-bottom: 3px solid var(--sm-navy); }
.smfix .site-header .container { height: 78px; }
/* ロゴ画像: height だけ指定すると width が HTML属性(1200)由来のまま max-width で頭打ちになり、
   横に伸びた状態でナビへ食い込む(⑥の実測: box 190px に対し img 230px)。width:auto を明示する。 */
.smfix .site-logo-img { height: 54px !important; width: auto !important; max-width: 260px !important; }
.smfix .site-logo { margin-right: 1.1rem; }
.smfix .site-nav ul { gap: calc(1.05rem * var(--nav-scale, 1)); }
.smfix .site-nav a { font-weight: 700; font-size: .9rem; color: var(--sm-ink); position: relative; }
.smfix .site-nav a:hover, .smfix .site-nav a.active { color: var(--sm-navy); }
.smfix .site-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 3px; background: var(--sm-gold); border-radius: 2px; }
.smfix .site-nav { padding-left: clamp(.5rem, 2vw, 1.6rem); }
.smfix .hamburger span { background: var(--sm-navy); }
/* ヘッダー右の常時CTA(PCのみ) */
.smfix-hcta { display: flex; align-items: center; gap: .7rem; margin-left: auto; padding-left: .8rem; flex: none; }
.smfix-hcta .smfix-btn { white-space: nowrap; }
/* ヘッダー右のボタンはナビと取り合いになるため、横並びナビが余裕を持って収まる幅か、
   ナビがハンバーガーに畳まれている幅のときだけ出す。 */
.smfix-hcta { display: none; }
@media (min-width: 1361px) { .smfix-hcta { display: flex; } }
@media (min-width: 721px) and (max-width: 1200px) { .smfix-hcta { display: flex; } }

/* ヘッダー上のインフォメーションバー(電話・営業時間はここに集約してヘッダーの溢れを防ぐ) */
.smfix-topbar { background: var(--sm-navy); color: rgba(255,255,255,.9); font-size: .8rem; }
.smfix-topbar .smfix-wrap { display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 36px; }
.smfix-topbar p { margin: 0; letter-spacing: .02em; }
.smfix-topbar a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .4rem;
  white-space: nowrap; }
.smfix-topbar a b { font-family: var(--font-heading); font-weight: 900; font-size: 1.02rem;
  color: var(--sm-gold-bright); letter-spacing: .02em; }
@media (max-width: 900px) { .smfix-topbar { display: none; } }

/* ---------- フッター ---------- */
.smfix .site-footer { background: var(--sm-navy) !important; color: rgba(255,255,255,.82) !important;
  padding: 3.2rem 0 1.6rem; border-top: 4px solid var(--sm-gold); }
.smfix .site-footer a { color: rgba(255,255,255,.78); }
.smfix .site-footer a:hover { color: var(--sm-gold-bright); }
.smfix .footer-logo-img { height: 54px !important; max-width: 230px !important; }
.smfix .site-footer .footer-name { font-family: var(--font-heading); font-weight: 800; }
.smfix-foot-note { font-size: .78rem; line-height: 1.8; color: rgba(255,255,255,.6); margin-top: .8rem; }

/* ---------- SP追尾CTA ---------- */
.smfix-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  grid-template-columns: 1fr 1fr; box-shadow: 0 -6px 18px rgba(0,0,0,.18); }
.smfix-sticky a { display: flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 60px; font-weight: 800; font-size: .98rem; letter-spacing: .03em; }
.smfix-sticky .s-tel { background: var(--sm-navy); color: #fff; }
.smfix-sticky .s-mail { background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold)); color: #241a00; }
.smfix-sticky svg { width: 19px; height: 19px; }
@media (max-width: 900px) {
  .smfix-sticky { display: grid; }
  body.smfix-has-sticky { padding-bottom: 60px !important; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1080px) {
  .smfix-items { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .smfix-cards, .smfix-ways, .smfix-reasons, .smfix-voices, .smfix-arealist { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .smfix-cards--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .smfix-hero-grid { grid-template-columns: 1fr; }
  .smfix-hero-media { order: -1; }
  .smfix-hero-sub { max-width: none; }
  .smfix-media, .smfix-media--rev { grid-template-columns: 1fr; }
  .smfix-media--rev .smfix-media-fig { order: 0; }
  .smfix-media-fig::before { inset: 10px -10px -10px 10px; }
}
@media (max-width: 640px) {
  .smfix-wrap { width: calc(100% - 2rem); }
  .smfix-items { grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
  .smfix-item { padding: .95rem .35rem .85rem; }
  .smfix-item-ico { width: 38px; height: 38px; }
  .smfix-item b { font-size: .73rem; letter-spacing: -.01em; }
  .smfix-cards, .smfix-cards--2, .smfix-cards--4, .smfix-ways, .smfix-reasons,
  .smfix-voices, .smfix-arealist { grid-template-columns: 1fr; }
  .smfix-mini { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .smfix-dl { grid-template-columns: 1fr; }
  .smfix-dl dt { border-bottom: 0; padding-bottom: 0; }
  .smfix-dl dd { padding-top: .35rem; }
  .smfix-dl > :nth-last-child(2) { border-bottom: 1px solid var(--sm-line); }
  .smfix-step { padding: 1.2rem 1.2rem 1.25rem 4.4rem; }
  .smfix-step::before { width: 44px; height: 44px; font-size: 1.25rem; left: .9rem; top: 1.1rem; }
  .smfix-hero-badge { left: 0; bottom: -14px; padding: .6rem .9rem; }
  .smfix-btn { width: 100%; }
  .smfix-btns { width: 100%; }
  .smfix-tel { width: 100%; }
  .smfix-rating { padding: 1.1rem 1.2rem; gap: .9rem; }
}

/* 見出し内の行分け: data-editable は textContent 上書きのため子タグを持てない(P075)。
   行ごとに個別の editable span を置き、CSS で改行する。 */
.smfix-hero-title span { display: block; }
.smfix-pre { white-space: pre-line; }

/* 写真を持たない品目カード(適切な実写素材が無い品目用) */
.smfix-card--noimg .smfix-card-ico { display: grid; place-items: center; aspect-ratio: 4/3;
  background: var(--sm-paper); border-bottom: 1px solid var(--sm-line); color: var(--sm-navy); }
.smfix-card--noimg .smfix-card-ico svg { width: 82px; height: 82px; }

/* 会社概要などの外部リンク表記 */
.smfix-ext::after { content: ' ↗'; font-size: .85em; }

/* ヒーロー写真は支給写真(4:3)をそのまま出す。16:9 で二重にトリミングすると看板の
   「買取大吉」の左端が切れる(⑥の目視で判明)。 */
.smfix-hero-photo { aspect-ratio: 4/3; }
@media (max-width: 640px) { .smfix-hero-eyebrow { font-size: .76rem; padding: .35rem .8rem; } }

/* 安心してご利用いただくために は4項目。3列だと1件だけ次の行に落ちるので4列にする。 */
.smfix-reasons--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1080px) { .smfix-reasons--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .smfix-reasons--4 { grid-template-columns: 1fr; } }

/* 写真つきCTA(.cta-section.over-image)の可読性 (P079/P095)。
   このリポジトリは images/cta-bg.webp が存在せず全20ページで画像切れしていた。今回ファイルを
   用意した結果、暗い背景の上に濃色の見出し・本文が乗って読めなくなったため、白文字に固定する。
   JA側は .smfix-cta に置き換わっているので、実質 EN 版(dist/en/)向けの是正。 */
.cta-section.over-image .text-on-image,
.cta-section.over-image .text-on-image h2,
.cta-section.over-image .text-on-image .section-title,
.cta-section.over-image .text-on-image p { color: #fff !important; }
.cta-section.over-image .text-on-image .section-title::after { background: #fff; }
.cta-section.over-image .btn { background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold));
  color: #22160a !important; border-color: transparent; }
.cta-section.over-image .btn:hover { background: #fff; color: var(--sm-navy) !important; }

/* お客様の声カード: 投稿ごとの星数はGoogle側から取得できないため表示しない(創作しない)。
   総合評価は .smfix-rating に集約し、カードは投稿者名＋本文＋出典のみ。 */
.smfix-voice-mark { font-family: var(--font-display); font-size: 2.4rem; line-height: .6;
  color: var(--sm-gold); opacity: .55; }
.smfix-voice-top { align-items: flex-start; }
.smfix-voice-who { font-size: .92rem; color: var(--sm-navy); font-weight: 800; }
.smfix-voice p { flex: 1; }

/* 下層ページのヒーローは紺地。.smfix-lead の既定は --sm-muted(濃いグレー)なので、
   .smfix-sec--navy を持たない .smfix-phero の中では文字が沈んで読めなくなる(⑥の目視で判明・全10ページ)。 */
.smfix-phero .smfix-lead { color: rgba(255,255,255,.86); }
.smfix-phero .smfix-head-en { color: var(--sm-gold-bright); }

/* 評価パネル: 中央寄せ+wrap だと「4.3」だけが1行を占めて間延びするので、
   横並びを維持して数値と説明を左右に置く(SPだけ縦積み)。 */
@media (min-width: 641px) {
  .smfix-rating { flex-wrap: nowrap; justify-content: flex-start; text-align: left; }
  .smfix-rating .meta { text-align: left; }
  .smfix-rating > div:last-child { flex: 1; }
}

/* ヒーローの見出しの改行位置(2026-08-26 ユーザー指摘)。
   1行目「その【大切な価値】を、」は11文字で、PC1440pxでは必要722px に対し列幅592px しかなく、
   【 】の内側で泣き別れしていた(1024px・SP390pxでも同じ)。参考サイトと同じ
   「導入行(中サイズ・白)＋決め台詞(特大・ゴールド)」の階層に変えて全幅で1行に収める。
   keep-all は括弧内での改行を構造的に禁止する保険。 */
.smfix-hero-title { font-size: clamp(2.1rem, 6.2vw, 4.4rem); }
.smfix-hero-title span:first-child {
  font-size: clamp(1.3rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.4;
  margin-bottom: .35rem;
  color: #fff;
  word-break: keep-all;
  text-wrap: nowrap;
}
.smfix-hero-title .g { line-height: 1.12; }
@media (max-width: 400px) {
  .smfix-hero-title span:first-child { font-size: 1.22rem; }
}

/* ============================================================
   HERO V3 — smfix-hero--v3 フルリデザイン (2026-08-29)
   ============================================================ */

/* ── 背景装飾 ── */
.smfix-hero--v3 {
  padding: clamp(3.5rem, 7.5vw, 6rem) 0 clamp(4rem, 8.5vw, 7rem);
  overflow: hidden;
}
.smfix-hero-diag {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
    rgba(200,162,74,.10) 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(180deg, black 0%, transparent 65%);
}

/* HERO V2 — smfix-hero--v2 リデザイン (2026-08-27) ------------------------ */

/* ── 背景装飾 ── */
.smfix-hero--v2 {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.smfix-hero-bg-deco {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
/* 光のオーブ */
.smfix-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(72px);
}
.smfix-hero-orb--1 {
  width: 520px; height: 520px;
  top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(200,162,74,.28) 0%, transparent 70%);
}
.smfix-hero-orb--2 {
  width: 360px; height: 360px;
  bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(36,26,138,.55) 0%, transparent 70%);
}
.smfix-hero-orb--3 {
  width: 240px; height: 240px;
  top: 40%; left: 38%;
  background: radial-gradient(circle, rgba(200,162,74,.14) 0%, transparent 70%);
}
/* グリッドライン */
.smfix-hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ヒーロー本文パネル: ゴールドの斜線ストライプの上でも文字が沈まないよう
   すりガラス調の背景を敷いて視認性を確保する(2026-08-27 ユーザー指摘)。 */
.smfix-hero--v2 .smfix-hero-body {
  position: relative;
  background: rgba(16, 1, 105, 0.38);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
@media (max-width: 640px) {
  .smfix-hero--v2 .smfix-hero-body {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }
}

/* ヒーロー本文パネル: ゴールドの斜線ストライプの上でも文字が沈まないよう
   すりガラス調の背景を敷いて視認性を確保する(2026-08-27 ユーザー指摘 / 2026-08-28 適用範囲拡大)。
   .smfix-hero--v2 修飾クラスの有無に関わらず .smfix-hero-body に直接効かせる。 */
.smfix-hero-grid {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(16, 1, 105, 0.1);
  border-radius: 24px;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.smfix-hero-body {
  position: relative;
  background-color: #ffffff;
  color: var(--sm-ink);
}
=======REPLACE_MARKER=======
.smfix-hero-grid {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(16, 1, 105, 0.1);
  border-radius: 24px;
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.smfix-hero-body {
  position: relative;
  color: var(--sm-ink);
}
.smfix-hero-body .smfix-hero-eyebrow,
.smfix-hero-body .smfix-hero-loc-pill .smfix-hero-eyebrow { color: var(--sm-gold-deep); }
.smfix-hero-body .smfix-hero-loc-pill { border: 1px solid rgba(200,162,74,.6); background: rgba(200,162,74,.08); box-shadow: none; }
.smfix-hero-body .smfix-hero-title,
.smfix-hero-body .smfix-hero-title span:first-child { color: var(--sm-navy); }
.smfix-hero-body .smfix-hero-title .g { color: var(--sm-gold-deep); }
.smfix-hero-body .smfix-hero-sub { color: var(--sm-muted); }
.smfix-hero-body .smfix-chip { background: rgba(16,1,105,.06); border-color: rgba(16,1,105,.16); color: var(--sm-navy); }
.smfix-hero-body .smfix-hero-tel-label { color: var(--sm-gold-deep); }
@media (max-width: 640px) {
  .smfix-hero-body {
    padding: 1.5rem 1.25rem;
    border-radius: 18px;
  }
}

/* ── ブランドバッジ ── */
.smfix-hero-brand-badge {
=======REPLACE_MARKER=======
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1.1rem .42rem .7rem;
  border: 1px solid rgba(200,162,74,.55);
  border-radius: 999px;
  background: rgba(200,162,74,.08);
  margin-bottom: 1.25rem;
}
.smfix-hero-brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sm-gold-bright);
  box-shadow: 0 0 0 3px rgba(232,205,125,.3);
  flex: none;
  animation: smfix-pulse 2.4s ease-in-out infinite;
}
@keyframes smfix-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232,205,125,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(232,205,125,.08); }
}
.smfix-hero--v2 .smfix-hero-eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--sm-gold-bright); margin: 0;
}

/* ── アクセントライン ── */
.smfix-hero-accent-line {
  display: flex; align-items: center; gap: .6rem;
  margin: 1.1rem 0 1.25rem;
}
.smfix-hero-accent-line span:not(.smfix-hero-accent-diamond) {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--sm-gold), transparent);
  max-width: 80px;
}
.smfix-hero-accent-line span:last-child {
  background: linear-gradient(270deg, var(--sm-gold), transparent);
}
.smfix-hero-accent-diamond {
  color: var(--sm-gold); font-size: .7rem; line-height: 1; flex: none;
}

/* ── CTA ── */
.smfix-tel--hero {
  background: rgba(255,255,255,.96);
  border-color: var(--sm-gold);
  box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(200,162,74,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.smfix-tel--hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 0 2px rgba(200,162,74,.5);
}
.smfix-btn--hero {
  box-shadow: 0 10px 28px rgba(150,115,31,.4), 0 0 0 1px rgba(232,205,125,.2);
}
.smfix-btn--hero:hover {
  box-shadow: 0 16px 36px rgba(150,115,31,.5);
}

/* ── 信頼スタッツ ── */
.smfix-hero-stats {
  display: flex; align-items: center; gap: 1.4rem;
  margin-top: 1.8rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}
.smfix-hero-stat {
  display: flex; flex-direction: column; gap: .18rem; text-align: center;
}
.smfix-hero-stat-num {
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 700;
  color: var(--sm-gold-bright); line-height: 1;
}
.smfix-hero-stat-num small {
  font-size: .65rem; font-weight: 600; color: rgba(255,255,255,.7);
  letter-spacing: .04em; margin-left: .15em;
}
.smfix-hero-stat-lbl {
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.65);
  letter-spacing: .06em;
}
.smfix-hero-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.18);
  flex: none;
}

/* ── 写真フレーム ── */
.smfix-hero--v2 .smfix-hero-media { position: relative; }
.smfix-hero-photo-frame {
  position: absolute; border-radius: 24px;
  border: 2px solid var(--sm-gold);
  pointer-events: none; z-index: 0;
  inset: 18px -18px -18px 18px;
  opacity: .55;
}
.smfix-hero-photo-frame--2 {
  inset: 36px -36px -36px 36px;
  opacity: .22;
  border-color: rgba(200,162,74,.6);
}
.smfix-hero--v2 .smfix-hero-photo {
  position: relative; z-index: 1;
  border-radius: 20px;
  border: 4px solid rgba(255,255,255,.9);
  box-shadow: 0 32px 72px rgba(0,0,0,.45), 0 0 0 1px rgba(200,162,74,.2);
}

/* ── バッジ V2 ── */
.smfix-hero-badge--v2 {
  position: absolute; left: -18px; bottom: -22px; z-index: 2;
  background: #fff; border-radius: 16px;
  padding: .85rem 1.2rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.28), 0 0 0 1px rgba(200,162,74,.25);
  display: flex; align-items: center; gap: .75rem;
  border-left: 4px solid var(--sm-gold);
}
.smfix-hero-badge-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: grid; place-items: center; flex: none;
}
.smfix-hero-badge-score {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--sm-navy); line-height: 1.1;
}
.smfix-hero-badge-score span {
  display: block; font-family: var(--font-body); font-size: .68rem;
  font-weight: 700; color: var(--sm-muted); letter-spacing: .04em;
}

/* ── フローティングタグ ── */
.smfix-hero-float-tag {
  position: absolute; top: 18px; right: -12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  white-space: nowrap;
  animation: smfix-float 3.6s ease-in-out infinite;
}
.smfix-hero-float-tag--gold {
  background: linear-gradient(135deg, var(--sm-gold-bright), var(--sm-gold));
  color: #22160a;
  box-shadow: 0 8px 22px rgba(150,115,31,.38);
}
@keyframes smfix-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── ロケーションピル ── */
.smfix-hero-loc-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .38rem .95rem .38rem .7rem;
  border: 1px solid rgba(200,162,74,.5);
  border-radius: 999px;
  background: rgba(200,162,74,.07);
  margin-bottom: 1.3rem;
  color: var(--sm-gold-bright);
}
.smfix-hero-loc-pill svg { flex: none; opacity: .85; }
.smfix-hero-loc-pill .smfix-hero-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .07em;
  color: var(--sm-gold-bright); margin: 0; line-height: 1.4;
  border: none; background: none; padding: 0; display: inline; width: auto; height: auto;
}

/* ── デコレーションライン ── */
.smfix-hero-deco-line {
  display: flex; align-items: center; gap: .55rem;
  margin: 1rem 0 1.3rem;
}
.smfix-hero-deco-bar {
  height: 2px; width: 72px; flex: none;
  background: linear-gradient(90deg, var(--sm-gold), transparent);
  border-radius: 2px;
}
.smfix-hero-deco-bar--short {
  width: 28px;
  background: linear-gradient(270deg, var(--sm-gold), transparent);
}
.smfix-hero-deco-diamond {
  color: var(--sm-gold); font-size: .65rem; line-height: 1; flex: none;
  filter: drop-shadow(0 0 4px rgba(200,162,74,.6));
}

/* ── CTA ブロック ── */
.smfix-hero-cta-block {
  display: flex; flex-wrap: wrap; gap: .85rem; align-items: center;
  margin-bottom: .2rem;
}

/* 電話ボタン V2 */
.smfix-hero-tel-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .7rem 1.4rem .7rem .9rem;
  background: rgba(255,255,255,.97);
  border: 2px solid var(--sm-gold);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(200,162,74,.25);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.smfix-hero-tel-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 0 2px rgba(200,162,74,.5);
  opacity: 1;
}
.smfix-hero-tel-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--sm-navy), var(--sm-navy-soft));
  display: grid; place-items: center; color: #fff;
}
.smfix-hero-tel-text {
  display: flex; flex-direction: column; gap: .05rem;
}
.smfix-hero-tel-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--sm-gold-deep); line-height: 1;
}
.smfix-hero-tel-num {
  font-family: var(--font-heading); font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 900; color: var(--sm-navy); letter-spacing: .02em; line-height: 1.15;
}

/* ── レスポンシブ ── */
@media (max-width: 860px) {
  .smfix-hero--v2 .smfix-hero-media { margin-top: 2.5rem; }
  .smfix-hero-photo-frame { inset: 12px -12px -12px 12px; }
  .smfix-hero-photo-frame--2 { display: none; }
  .smfix-hero-badge--v2 { left: 0; bottom: -16px; }
  .smfix-hero-float-tag { right: 0; top: 12px; }
  .smfix-hero-stats { gap: 1rem; padding: .85rem 1rem; }
  .smfix-hero-stat-num { font-size: 1.3rem; }
}
@media (max-width: 640px) {
  .smfix-hero--v2 { padding: 2.5rem 0 3.5rem; }
  .smfix-hero-stats { flex-wrap: wrap; gap: .75rem; }
  .smfix-hero-stat-divider { display: none; }
  .smfix-hero-stat { flex: 1 1 calc(33% - .5rem); }
  .smfix-hero-float-tag { display: none; }
  .smfix-hero-brand-badge { flex-wrap: wrap; }
  .smfix-hero-loc-pill { flex-wrap: wrap; }
  .smfix-hero-tel-btn { width: 100%; }
  .smfix-hero-cta-block { flex-direction: column; align-items: stretch; }
  .smfix-hero-tel-num { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .smfix-hero-brand-dot { animation: none; }
  .smfix-hero-float-tag { animation: none; }
}

/* ============================================================
   HERO V3 追加スタイル (2026-08-29)
   ============================================================ */

.smfix-hero--v3 .smfix-hero-body {
  padding: clamp(2rem, 3.6vw, 3rem);
}
.smfix-hero--v3 .smfix-hero-brand-badge + .smfix-hero-loc-pill {
  margin-top: -.4rem;
}

.smfix-hero--v3 .smfix-hero-title { margin-bottom: .9rem; }
.smfix-hero--v3 .smfix-hero-sub { margin-bottom: 1.5rem; }
.smfix-hero--v3 .smfix-hero-chips { margin-bottom: 1.5rem; }
.smfix-hero--v3 .smfix-hero-cta-block { margin-bottom: 0; }

@media (max-width: 640px) {
  .smfix-hero--v3 { padding: 2.75rem 0 3.25rem; }
  .smfix-hero--v3 .smfix-hero-body { padding: 1.5rem 1.25rem; }
}

/* お客様の声: 上位3枚のフィーチャーカード (2026-09 追加)。
   .smfix-voice の既定スタイルはそのまま活かしつつ、この3枚だけ引用符アイコンと
   星評価を加えて視覚的な強弱をつける。他の口コミカードには影響しない。 */
.smfix-voice--feat {
  position: relative;
  padding-top: 2.1rem;
  border-top: 3px solid var(--sm-gold);
  box-shadow: var(--sm-shadow);
}
.smfix-voice-quote {
  position: absolute;
  top: -0.35rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--sm-gold);
  opacity: 0.35;
  pointer-events: none;
}
.smfix-voice--feat .smfix-voice-top {
  align-items: center;
  justify-content: space-between;
}
.smfix-voice-stars {
  color: #f5b301;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  line-height: 1;
  flex: none;
}
@media (max-width: 640px) {
  .smfix-voice-quote { font-size: 2.6rem; left: 1.1rem; }
  .smfix-voice--feat { padding-top: 1.7rem; }
}

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