/* =========================================================
   SB工房 リニューアル版 共通スタイル（星空ダーク）
   並び順：基本 → 背景 → ヘッダー → 部品 → トップ → 各ページ → フッター
          → お問い合せフォーム → テスト環境の印 → スマホ・タブレット → 余白の調整用
   ========================================================= */

/* ---------- 基本（色・文字・幅はここで一括管理） ---------- */
:root {
  --night: #0b1324;            /* いちばん濃い紺（地の色） */
  --night-2: #111c32;
  --night-3: #18263f;          /* カードの色 */
  --line: rgba(255, 255, 255, 0.09);
  --text: #e6eaf2;
  --sub: #a3aec2;
  --muted: #7d889d;
  --gold: #c9a96e;
  --gold-2: #e0c48f;
  --plate: #ffffff;            /* 製品写真の台紙 */
  --radius: 10px;
  --wrap: 1440px;              /* 中身の最大幅 */
  --gutter: clamp(16px, 4vw, 64px);   /* 左右の余白（画面幅に合わせて伸び縮み） */
  --header-h: 72px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;   /* 見出し・ロゴ */
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;  /* 本文 */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative; z-index: 0;
  background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: 0.02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.5; margin: 0; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* キーボード操作用：Tabキーを押したときだけ出る「本文へ移動」 */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- ページ全体の背景 ---------- */
/* 写真を画面に固定して、暗く沈めて敷く（iPhoneでも効くよう疑似要素で固定）。
   写真はトップのスライド1枚目と共用（同じ写真を2回読み込まないため） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(11,19,36,.8), rgba(11,19,36,.9)), url(../bg/hero1.jpg?v=453e8f1c) center / cover no-repeat;
}

/* ---------- ヘッダー ---------- */
/* 背景だけ透明（帯・境界線なし）で、スクロールしても画面の上に常に表示する。
   下の文字や写真と重なっても読めるよう、ロゴとメニューの文字にだけ薄い影を付ける */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header .brand, .site-header .nav a:not(.btn) { text-shadow: 0 1px 3px rgba(11, 19, 36, .95), 0 0 12px rgba(11, 19, 36, .8); }
.brand { display: flex; align-items: baseline; color: #fff; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--serif); font-size: 22px; letter-spacing: 0.12em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text); font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-2); text-decoration: none; }
.nav .btn { padding: 8px 18px; background: rgba(11, 19, 36, .55); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; width: 44px; height: 40px; font-size: 20px; cursor: pointer;
}
/* 最初のエリア（トップの写真・各ページの見出し）をヘッダーの裏まで引き上げ、画面の一番上から始まるようにする */
main > .hero:first-child, main > .page-head:first-child { margin-top: calc(-1 * var(--header-h)); }

/* ---------- 部品：ボタン・見出し・台紙 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; line-height: 1.4;
  border: 1px solid var(--gold); color: var(--gold-2); background: transparent;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--gold); color: var(--night); text-decoration: none; }
.btn-solid { background: var(--gold); color: var(--night); }
.btn-solid:hover { background: var(--gold-2); }

.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: rgba(17, 28, 50, 0.82); }
.section-intro { padding-top: 48px; }   /* 製品ページの最初の段（見出しのすぐ下） */
.eyebrow { font-family: var(--sans); font-size: 12px; letter-spacing: 0.28em; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; }
.section-title { font-size: 30px; margin-bottom: 36px; }
.lead { font-size: 17px; color: var(--sub); }

/* 白背景の製品写真をのせる台紙 */
.plate { background: var(--plate); border-radius: var(--radius); overflow: hidden; }
.plate img { width: 100%; }

/* 文章だけのブロックは、1行が長くなりすぎないよう読みやすい幅に抑える */
.prose, .narrow, .center-box, .intro .text, .lead { max-width: 54em; }
.narrow { max-width: 880px; margin-left: auto; margin-right: auto; }
.measure { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- トップ：最初の画面（画面ぴったりの高さ＋背景写真3枚のフェード） ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--night);
  min-height: 100vh; min-height: 100svh;   /* svh：スマホのアドレスバーを除いた高さ */
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 56px;
}
/* 写真の上に重ねる暗さ（上：メニューの読みやすさ／左：文章の読みやすさ／下：次のエリアへのつながり） */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,19,36,.55) 0, rgba(11,19,36,0) 160px),
    linear-gradient(180deg, rgba(11,19,36,0) 60%, rgba(11,19,36,.92) 100%),
    linear-gradient(90deg, rgba(11,19,36,.66) 0%, rgba(11,19,36,.38) 55%, rgba(11,19,36,.22) 100%);
}
.hero > .wrap { width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.hero h1 { font-size: 40px; letter-spacing: 0.1em; margin-bottom: 26px; }
.hero h1 small { display: block; font-size: 15px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 14px; font-family: var(--sans); font-weight: 400; }
.hero-text { max-width: 40em; }
.hero-text p { font-size: 15px; color: var(--text); line-height: 2.1; margin-bottom: 1.4em; }
.hero-text .lead { font-size: 17px; color: #fff; }
/* 背景のスライド：1枚6秒（うち約1.5秒かけて切り替え）。ゆっくり少しだけ寄っていく */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: hero-fade 18s infinite; }
.hero-slides span:nth-child(2) { animation-delay: 6s; }
.hero-slides span:nth-child(3) { animation-delay: 12s; background-position: center bottom; }   /* 彗星の頭（写真の下寄り）が隠れないように */
@keyframes hero-fade {
  0%   { opacity: 0; transform: scale(1.02); }
  8%   { opacity: 1; }
  33%  { opacity: 1; }
  42%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; }
}
/* 動きを減らす設定の人には、1枚目だけを静止で表示 */
@media (prefers-reduced-motion: reduce) {
  .hero-slides span { animation: none; }
  .hero-slides span:nth-child(1) { opacity: 1; }
}

/* ブログ『星爺から若人へ』の更新情報 */
.blog-news { background: rgba(11, 19, 36, .72); border: 1px solid var(--line); border-radius: 14px; padding: 26px 26px 20px; backdrop-filter: blur(4px); }
.blog-news h2 { font-size: 18px; margin-bottom: 14px; }
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-list li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.blog-list time { color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.blog-list a { color: var(--text); }
.blog-list a:hover { color: var(--gold-2); }
.blog-more { margin: 12px 0 0; text-align: right; font-size: 14px; }

/* ---------- トップ：製品一覧 ---------- */
/* おすすめ製品（E-ZEUSⅡ・JILVA-170）を先頭に大きく */
.featured {
  display: grid; grid-template-columns: 1.7fr 1fr; margin-bottom: 36px; background: var(--night-3);
  border: 1px solid rgba(201, 169, 110, .45); border-radius: 16px; overflow: hidden; color: var(--text);
  transition: border-color .2s, transform .2s;
}
.featured:hover { text-decoration: none; border-color: var(--gold); transform: translateY(-2px); }
.featured-photos { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3px; background: var(--line); }
.featured-photos .plate { border-radius: 0; display: flex; align-items: center; justify-content: center; }
.featured-photos img { width: 100%; height: 100%; object-fit: contain; }
.featured-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .featured-badge { align-self: flex-start; background: var(--gold); color: var(--night); font-size: 13px; font-weight: 700; letter-spacing: .2em; padding: 3px 14px; border-radius: 999px; margin-bottom: 16px; }
.featured-body .cat { color: var(--gold); font-size: 14px; margin-bottom: 4px; }
.featured-body h3 { font-size: 34px; margin-bottom: 14px; color: #fff; }
.featured-body p { color: var(--sub); }
.featured-body .btn { align-self: flex-start; margin-top: 8px; }

/* そのほかの製品カード（PC3列・タブレット2列・スマホ1列） */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card {
  display: flex; flex-direction: column; background: var(--night-3);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text);
  transition: transform .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-3px); border-color: rgba(201,169,110,.5); text-decoration: none; }
.product-card .plate { border-radius: 0; aspect-ratio: 3 / 2; }
.product-card .plate img { height: 100%; object-fit: contain; }
.product-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.product-card h3 { font-size: 20px; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--sub); line-height: 1.8; margin: 0; flex: 1; }
.product-card .more { margin-top: 16px; font-size: 13px; color: var(--gold-2); }

/* ---------- 全ページ下：ご購入の流れ（お問い合せの帯） ---------- */
.cta { text-align: center; }
.cta .section-title { margin-bottom: 14px; }
.cta .lead { margin: 0 auto 40px; }
.flow { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; counter-reset: step; }
.flow li { background: var(--night-3); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; position: relative; }
.flow li::before { counter-increment: step; content: "STEP " counter(step); display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 6px; }
.flow strong { display: block; font-family: var(--serif); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.flow span { font-size: 13px; color: var(--sub); line-height: 1.7; display: block; }
.cta .en { margin-top: 18px; font-size: 14px; color: var(--sub); letter-spacing: 0.04em; }

/* ---------- 2階層目のページ：見出しエリア（写真なしの単色） ---------- */
.page-head { padding: calc(var(--header-h) + 56px) 0 40px; background: var(--night); border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--sub); }
.page-head h1 { font-size: 36px; }
.page-head .cat { font-size: 15px; color: var(--gold); margin-bottom: 6px; font-family: var(--sans); }

/* ---------- 製品ページ ---------- */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.intro .text p { font-size: 17px; line-height: 2; }

/* 仕様と価格の表（会社概要・特定商取引法の表記でも使う） */
.spec { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 15px; }
.spec th, .spec td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.85; }
.spec th { width: 180px; color: var(--gold); font-weight: 400; white-space: nowrap; }
.spec tr.price td { font-size: 17px; color: #fff; }
.docs { display: flex; flex-wrap: wrap; gap: 12px; }
.docs .btn { font-size: 14px; padding: 10px 20px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin-bottom: 6px; }

/* 説明文 */
.prose h3 { font-size: 22px; margin: 48px 0 14px; padding-left: 14px; border-left: 3px solid var(--gold); }
.prose h3:first-child { margin-top: 0; }
.prose h4 { font-size: 18px; margin: 28px 0 8px; color: var(--gold-2); }
.prose p { color: var(--text); }
.prose .note { font-size: 14px; color: var(--sub); }
.video-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.video-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.video-list a { display: block; }
.address { font-size: 14px; color: var(--sub); line-height: 1.9; margin-top: 12px; }

/* 写真＋説明（左に写真1枚、右に文章） */
.feature { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; margin-bottom: 56px; }
.feature:last-child { margin-bottom: 0; }
.feature-title { font-size: 20px; margin: 0 0 10px; color: var(--gold-2); }

/* 事例カード・写真ギャラリー */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.case { background: var(--night-3); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.case > .plate { aspect-ratio: 3 / 2; display: flex; align-items: center; }
.case > .plate img { height: 100%; object-fit: cover; }
.case .body { padding: 20px 22px 24px; }
.case h3 { font-size: 18px; margin-bottom: 8px; }
.case p { font-size: 14px; color: var(--sub); line-height: 1.85; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery .plate { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.gallery .plate img { height: 100%; object-fit: contain; }

/* 写真の拡大表示（「拡大」の印と、開いたときの黒い画面） */
.zoom { position: relative; display: block; cursor: zoom-in; }
.zoom::after { content: "拡大"; position: absolute; right: 10px; bottom: 10px; font-size: 11px; background: rgba(11,19,36,.8); color: #fff; padding: 2px 10px; border-radius: 999px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(5, 9, 18, 0.92); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; border-radius: 8px; background: #fff; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--night-3); color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- 文章中心のページ（会社概要・個人情報保護方針・送信完了） ---------- */
.company-logo { display: inline-block; vertical-align: middle; margin-left: 18px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.company-logo img { width: 130px; height: auto; display: block; }
.policy { padding-left: 1.2em; }
.policy > li { margin-bottom: 1.2em; }
.policy ol { margin-top: .6em; padding-left: 1.4em; }
.policy ol li { margin-bottom: .3em; }
.center-box { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; padding-top: 24px; padding-bottom: 24px; }
.center-box .btn { margin-top: 16px; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--sub); }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .footer-title { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 12px; font-weight: 400; }
.footer-name { color: #fff; font-family: var(--serif); font-size: 18px; letter-spacing: .1em; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--sub); }
.site-footer a:hover { color: var(--gold-2); }
.copyright { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* ---------- お問い合せフォーム ---------- */
.form { margin-top: 32px; }
.form .hp { display: none; }   /* 迷惑メール対策のおとり欄（人には見えない） */
.field { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.field legend, .field > label { display: block; font-weight: 600; margin-bottom: 8px; color: #fff; padding: 0; }
.field .eng { font-weight: 400; font-size: 12px; color: var(--sub); margin-left: 6px; letter-spacing: .05em; }
.req { color: #f0a36b; margin-left: 2px; }
.optional { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--sub); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 4px; vertical-align: 2px; }
.req-note { font-size: 14px; color: var(--sub); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair label { display: flex; align-items: center; gap: 10px; color: var(--sub); font-size: 14px; white-space: nowrap; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: var(--night-3);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; line-height: 1.6;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.radios { display: grid; gap: 10px; }
.radios label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-guide { text-align: center; margin-top: 32px; }
.form-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.form-actions .btn { font: inherit; cursor: pointer; min-width: 160px; }
.form-actions .btn:disabled { opacity: .6; cursor: wait; }
.form-errors { border: 1px solid #f0a36b; background: rgba(240,163,107,.08); border-radius: 10px; padding: 14px 18px; margin-bottom: 24px; color: #f6c9a6; }
.form-errors p { margin: 0 0 4px; }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.confirm td.pre { white-space: pre-wrap; }

/* ---------- テスト環境：未決定の箇所（赤＝必須／橙＝推奨）。本番では check.py が残りを検出する ---------- */
:root { --must: #ff5a5a; --rec: #ff9f43; }
.todo { color: var(--must); font-weight: 600; }
.todo.rec { color: var(--rec); }
span.todo { background: rgba(255, 90, 90, .12); border-bottom: 2px solid currentColor; padding: 0 4px; }
span.todo.rec { background: rgba(255, 159, 67, .12); }
span.todo[data-todo]::before { content: "【" attr(data-todo) "】"; font-size: 12px; }
div.todo { position: relative; border: 2px solid currentColor; border-radius: 10px; padding: 26px 18px 14px; margin: 18px 0; background: rgba(255, 90, 90, .07); font-weight: 400; }
div.todo.rec { background: rgba(255, 159, 67, .07); }
div.todo::before { content: attr(data-todo) "　要決定"; position: absolute; top: -12px; left: 14px; padding: 1px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--night); background: var(--must); }
div.todo.rec::before { content: attr(data-todo) "　あると安心"; background: var(--rec); }
div.todo.note::before { content: "このページについて"; }
div.todo p:last-child { margin-bottom: 0; }
div.todo ul { margin: 0; padding-left: 1.2em; }

/* ---------- タブレット（幅900px以下） ---------- */
@media (max-width: 900px) {
  .hero > .wrap, .intro, .feature { grid-template-columns: 1fr; gap: 32px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .featured { grid-template-columns: 1fr; }
}

/* ---------- スマホ（幅760px以下） ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--night-2); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav .btn { margin-top: 14px; border-bottom: 1px solid var(--gold); }
  .section { padding: 60px 0; }
  .section-title { font-size: 24px; margin-bottom: 26px; }
  .hero { padding: calc(var(--header-h) + 24px) 0 40px; }
  .hero h1 { font-size: 28px; }
  .blog-list li { grid-template-columns: 1fr; gap: 0; }
  .featured-photos { grid-template-columns: 1fr; }
  .featured-body { padding: 24px 20px; }
  .featured-body h3 { font-size: 26px; }
  .products, .cases { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .page-head { padding-top: calc(var(--header-h) + 32px); }
  .page-head h1 { font-size: 26px; }
  .spec th, .spec td { display: block; width: auto; padding: 4px 0; border: 0; }
  .spec tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .company-logo { display: block; width: fit-content; margin: 10px 0 0; }
  .pair { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}

/* ---------- 余白の調整用（HTMLの class に書いて使う。どこよりも優先） ---------- */
.mt-16 { margin-top: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-48 { margin-top: 48px !important; }
.mt-56 { margin-top: 56px !important; }
.mt-64 { margin-top: 64px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-56 { margin-bottom: 56px !important; }
.mb-64 { margin-bottom: 64px !important; }
.center { text-align: center !important; }
