/* =========================================================
   CARSHOP Queen  共通スタイル
   色・文字の設定は :root にまとめています
   ========================================================= */
:root {
  /* ロゴの車の緑を基調に、やさしい黄色をアクセントに */
  --green: #5ebca4;        /* ロゴの車の色 */
  --green-dark: #2f7f6c;   /* 見出し・濃い背景(白文字が読める濃さ) */
  --green-deep: #2a5c50;   /* フッター */
  --green-soft: #e4f4ef;   /* うすい緑の背景 */
  --yellow: #f6c851;       /* メインのボタン・アクセント */
  --yellow-dark: #e5b02c;
  --yellow-soft: #fdf0c4;  /* マーカー・枠線 */
  --accent: #2a8a74;       /* 小さな見出しラベルの文字色 */
  --cream: #fbf8f1;        /* カフェのような温かみのある背景 */
  --white: #ffffff;
  --text: #3b3b3b;         /* ロゴの線の色 */
  --muted: #6e6a64;
  --line: #ebe5d8;
  --line-green: #06c755;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(59, 59, 59, .07);
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-dark); line-height: 1.45; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

/* ---------- 改行のルール ----------
   ・左そろえの長い文章(本文):ふつうの日本語の組み方。行の端まで文字をつめるので、右側がガタガタにならない
     (「。」「、」などが行の頭に来ないようにする line-break: strict)
   ・見出しや、中央そろえの短い文:言葉のまとまりで改行。HTMLの <wbr> が改行してよい位置 */
body { line-break: strict; word-break: normal; text-wrap: pretty; } /* pretty:最後の行が1〜2文字だけにならないように */
h1, h2, h3, h4,
.worry .q, .legal-card .who, .hero-sub, .owner-catch, .widget-cta .catch, .way h3, .pm-shot, .faq summary {
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance;
}
.column-card h3, .article h1, .article > h2, .article > h3 { word-break: normal; } /* コラムの題名・見出しは長いので通常の改行 */
.nw { display: inline-block; } /* この中では改行しない */
@supports (word-break: auto-phrase) {
  /* Chrome など:見出しと中央そろえの短い文だけ、言葉の区切りで改行。
     iPhone(Safari)など未対応のブラウザは、main.js で BudouX を使って同じようにする */
  h1, h2, h3, h4, .worry .q, .legal-card .who, .hero-sub, .owner-catch, .widget-cta .catch, .way h3, .faq summary,
  .column-card h3, .article h1, .article > h2, .article > h3, .section-title p, .worry .a,
  .hero-inner p, .gallery-text, .car-types li, .flow li p, .widget-cta p, .owner-widget p, .article-cta p,
  .contact-lead, .contact-way, .way p, .services li p, .form-note, .greeting-side p { word-break: auto-phrase; }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 見本用のお知らせ帯 ---------- */
.sample-note {
  background: #fff4d6; color: #6b5214; font-size: 13px; text-align: center; padding: 6px 12px;
}

/* ---------- 写真を入れる枠 ---------- */
.photo-slot {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 100%; aspect-ratio: 4 / 3;
  border: 2px dashed #a8d9cc; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #eef8f4, #eef8f4 12px, #e6f3ee 12px, #e6f3ee 24px);
  color: #3f8a77; font-size: 14px; text-align: center; padding: 12px;
}
.photo-slot::before {
  content: ""; display: block; font-size: 20px; width: 2em; height: 2em;
  background: url("../images/icon-camera.svg") center / contain no-repeat;
}
.photo-slot b { font-size: 15px; }
.photo-slot small { color: #5d9c8b; font-size: 12px; }
/* 写真が入ったら .photo に差し替え */
.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--green-soft); }
.photo.round { aspect-ratio: 1 / 1; border-radius: 50%; }
.photo.wide { aspect-ratio: 16 / 9; }
.result .photo { border-radius: 0; }
.owner-widget .photo { width: 120px; margin: 0 auto 12px; }
.greeting .photo.round { max-width: 220px; margin: 0 auto; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--yellow-soft); }
.photo-slot.square { aspect-ratio: 1 / 1; }
.photo-slot.wide { aspect-ratio: 16 / 9; }
.photo-slot.round { aspect-ratio: 1 / 1; border-radius: 50%; }

/* ---------- オリジナルアイコン(images/icons.svg) ---------- */
.ico { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -0.3em; flex: none; }
/* 濃い色の上では、線を白・塗りを半透明に */
.btn-navy, .btn-line, .widget-cta, .mobile-bar .m-tel, .mobile-bar .m-line, .article-cta, .legal-banner {
  --ic-fill: rgba(255, 255, 255, .28); --ic-bg: transparent;
}
/* 黄色のボタンの上では、黄色の差し色を白に */
.btn-gold, .mobile-bar .m-form { --ic-accent: #fff; --ic-bg: transparent; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .15s, filter .15s;
  /* ⑤ プレス:ボタンの下に「厚み」の影をつけ、押すと沈む */
  box-shadow: 0 4px 0 var(--btn-edge, rgba(0, 0, 0, .15));
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--btn-edge, rgba(0, 0, 0, .15)); filter: brightness(1.03); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-edge, rgba(0, 0, 0, .15)); filter: brightness(.97); }
.btn-gold { background: var(--yellow); color: var(--text); --btn-edge: var(--yellow-dark); }
.btn-gold:hover { background: var(--yellow-dark); }
.btn-line { background: var(--line-green); color: #fff; --btn-edge: #04913f; }
.btn-navy { background: var(--green-dark); color: #fff; --btn-edge: var(--green-deep); }
.btn-outline { background: #fff; color: var(--green-dark); border: 2px solid var(--green-dark); --btn-edge: var(--green-dark); }

/* ⑥ 地図へのリンク(なめらかに移動) */
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.map-link .ico { width: 22px; height: 22px; color: var(--text); }
.way .map-link { align-self: center; }
.btn-block { display: flex; width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-dark); flex-shrink: 0; }
.logo img { height: 58px; width: auto; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-dark); color: var(--yellow-soft);
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-size: 11px; color: var(--muted); letter-spacing: .05em; }
.logo-text strong { font-family: var(--font-head); font-size: 21px; letter-spacing: .04em; }

.global-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.global-nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.logo-text strong, .header-cta .btn, .header-tel strong, .header-tel small { white-space: nowrap; }
.global-nav a:hover { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-tel { text-decoration: none; text-align: right; line-height: 1.25; }
.header-tel strong { display: block; font-size: 20px; color: var(--green-dark); letter-spacing: .03em; }
.header-tel small { font-size: 11px; color: var(--muted); }
.header-cta .btn { padding: 10px 16px; font-size: 14px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--green-dark); margin: 6px 0; transition: .2s; }

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative; padding: 56px 0 72px; overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, var(--yellow-soft) 0, transparent 28%),
    radial-gradient(circle at 92% 88%, var(--green-soft) 0, transparent 35%),
    var(--cream);
}
/* 最初の画面:中央そろえの1列(キャッチコピー → 説明 → 札 → ボタン → 写真) */
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 44px; justify-items: center; text-align: center; max-width: 980px; }
.hero-inner > div:first-child { max-width: 860px; }
.hero-eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: .12em; font-size: 14px; margin-bottom: 14px;
  background: #fff; border: 1.5px solid var(--green); border-radius: 999px; padding: 3px 16px;
}
.hero h1 { font-size: clamp(28px, 5vw, 54px); margin-bottom: .45em; line-height: 1.5; letter-spacing: .02em; }
.hero-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-badges, .hero-actions { justify-content: center; }
.hero-photo { width: 100%; max-width: 900px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--yellow-soft) 62%); }
.hero-sub { font-family: var(--font-head); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); color: var(--text); margin-bottom: 10px; }
.hero-lead { font-size: 15px; color: var(--muted); margin-bottom: 22px; }.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 28px; }
.hero-badges li {
  background: #fff; border: 1px solid var(--yellow-soft); border-radius: 999px;
  padding: 6px 16px; font-size: 14px; font-weight: 700; color: var(--green-dark);
}
.hero-badges li::before { content: "✓ "; color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; }
.hero-photo .photo-slot, .hero-photo .photo { aspect-ratio: 16 / 9; box-shadow: var(--shadow); border-radius: 28px; }
.hero-photo-caption {
  position: absolute; left: -16px; bottom: -18px;
  background: var(--green-dark); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14px; box-shadow: var(--shadow);
}
.hero-photo-caption strong { color: var(--yellow-soft); font-family: var(--font-head); font-size: 17px; display: block; }

/* ---------- 本文+サイドバーの2列 ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.main > section { margin-bottom: 72px; }
.main > section:last-child { margin-bottom: 0; }

.section-title { text-align: center; margin-bottom: 32px; }
.section-title .en { display: block; font-family: var(--font-head); color: var(--accent); letter-spacing: .2em; font-size: 13px; }
.section-title h2 { font-size: clamp(24px, 3vw, 30px); margin: 4px 0 0; }
.section-title p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }

/* お約束 */
/* 5つを「3つ+2つ」に並べる */
.promises { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.promises li { grid-column: span 2; }
.promises li:nth-child(n+4) { grid-column: span 3; }
.promises li { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); }
.promises .num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1;
}

/* 店内のご紹介(写真を大きく見せる) */
/* 上に横長の大きい写真1枚、下に小さい写真2枚(写真の形に合わせて、不自然に切れないように) */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery > :first-child { grid-column: span 2; }
.gallery .photo-slot, .gallery .photo { aspect-ratio: 4 / 3; border-radius: 22px; }
.gallery > :first-child.photo-slot, .gallery > :first-child.photo { aspect-ratio: 16 / 9; }
.gallery-text { text-align: center; color: var(--muted); margin: 20px auto 0; max-width: 560px; }
.promises h3 { font-size: 18px; margin: 8px 0; }
.promises p { font-size: 14px; color: var(--muted); margin: 0; }
.promises p + p { margin-top: 8px; }
.promises small { display: block; margin-top: 6px; font-size: 12px; }

/* 強み */
.strengths { display: grid; gap: 20px; }
.strength { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.strength .photo-slot { aspect-ratio: 4 / 3; }
.strength .label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.strength h3 { font-size: 20px; margin: 4px 0 8px; }
.strength p { margin: 0; color: var(--muted); font-size: 15px; }

/* こんな車も */
.car-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.car-types li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 12px; text-align: center; font-weight: 700; color: var(--green-dark); font-size: 15px; }
.car-types .ico { display: block; width: 46px; height: 46px; margin: 0 auto 6px; color: var(--text); }

/* 買取実績 */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.result { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.result .photo-slot { border-radius: 0; border-width: 0 0 2px; }
.result-body { padding: 14px 16px 18px; }
.result-body h3 { font-size: 16px; margin: 0 0 4px; font-family: var(--font-body); }
.result-body p { font-size: 13px; color: var(--muted); margin: 0; }
.result-body .tag { display: inline-block; background: var(--cream); color: var(--accent); font-size: 12px; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; font-weight: 700; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.flow li { position: relative; background: #fff; border-radius: var(--radius); padding: 24px 16px 20px; text-align: center; box-shadow: var(--shadow); }
.flow li::before {
  counter-increment: step; content: "STEP " counter(step);
  display: block; color: var(--accent); font-family: var(--font-head); font-size: 13px; letter-spacing: .1em; margin-bottom: 6px;
}
.flow h3 { font-size: 18px; margin-bottom: 6px; }
.flow p { font-size: 13px; color: var(--muted); margin: 0; }

/* 相続・破産バナー */
.legal-banner {
  background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 36px;
  background-image: radial-gradient(circle at 100% 0, rgba(246, 200, 81, .35), transparent 50%);
}
.legal-banner h2 { color: #fff; font-size: 24px; }
.legal-banner .en { color: var(--yellow-soft); font-size: 13px; letter-spacing: .15em; }
.legal-banner ul { margin: 0; padding-left: 1.2em; color: #e8f5f1; font-size: 15px; }

/* コラムカード */
.column-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.column-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s; }
.column-card:hover { transform: translateY(-3px); }
.column-card .photo-slot { border-radius: 0; border-width: 0 0 2px; aspect-ratio: 16 / 9; }
.column-card .photo { border-radius: 0; }
/* 写真のないコラム:カテゴリのアイコンを大きく */
.column-thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--green-soft); color: var(--green-dark); }
.column-thumb .ico { width: 64px; height: 64px; }
.column-card.is-soon { box-shadow: none; border: 2px dashed var(--line); background: #fffdf8; }
.column-card.is-soon:hover { transform: none; }
.column-card.is-soon h3 { color: var(--muted); }
.column-meta .soon, .column-meta .draft { font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--yellow-soft); color: #6b5214; }
.column-meta .draft { background: #fde2dc; color: #9a3b2a; }
.column-card-body { padding: 16px 18px 20px; }
.column-card h3 { font-family: var(--font-body); font-size: 16px; line-height: 1.6; margin: 6px 0 8px; }
.column-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.cat { display: inline-block; background: var(--green-dark); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 999px; font-weight: 700; }
.more-link { text-align: center; margin-top: 24px; }

/* 代表あいさつ */
.greeting { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.greeting .sign { text-align: right; font-family: var(--font-head); color: var(--green-dark); font-size: 18px; margin: 0; }

/* よくある質問 */
.faq details { background: #fff; border-radius: 12px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--green-dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; color: var(--accent); font-family: var(--font-head); margin-right: 8px; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px 46px; color: var(--muted); font-size: 15px; }

/* ---------- 問い合わせフォーム ---------- */
.contact-intro { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.contact-intro .btn { min-width: 220px; }
.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-row { margin-bottom: 22px; }
.form-row > label, .form-row > .label { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; font-size: 15px; }
.req, .opt { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.req { background: #c4473a; color: #fff; }
.opt { background: #e9e6df; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 16px; font-family: var(--font-body); background: #fdfcfa; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(94, 188, 164, .2); }
.form textarea { min-height: 120px; resize: vertical; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form-grid-3 label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }

.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label {
  padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  font-size: 14px; background: #fdfcfa; transition: .15s;
}
.choice-group input:checked + label { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.choice-group input:focus-visible + label { box-shadow: 0 0 0 3px rgba(246, 200, 81, .35); }

.upload {
  display: block; border: 2px dashed var(--yellow-soft); border-radius: 12px; padding: 22px; text-align: center;
  background: #fdfaf3; cursor: pointer; color: var(--muted); font-size: 14px;
}
.upload strong { display: block; color: var(--green-dark); font-size: 16px; }
.upload input { display: none; }
.upload-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.upload-list img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }

.agree { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; margin: 8px 0 20px; }
.agree input { width: 20px; height: 20px; accent-color: var(--green-dark); }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-message { display: none; margin-top: 16px; padding: 14px; border-radius: 10px; background: #eef6ef; color: #2f6b3a; text-align: center; font-weight: 700; }
.form-message.is-error { background: #fdeeee; color: #a33a3a; }
/* ロボット対策の見えない欄(人には見せない) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile の確認(あやしいときだけ出る) */
.ts-box { display: flex; justify-content: center; }
.ts-box:not(:empty) { margin-bottom: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }
/* 送信が終わったとき */
.form-done { text-align: center; padding: 28px 16px; outline: none; }
.form-done .ttl { font-size: 20px; font-weight: 700; color: var(--green-dark, #2f7d6a); margin-bottom: 10px; }
.form-done p { margin: 0 0 8px; }

/* ---------- サイドバー ---------- */
/* サイドバー:査定・LINEの枠は一番下に置き、スクロールすると画面についてくる */
.sidebar { display: flex; flex-direction: column; gap: 18px; align-self: stretch; }
.side-sticky { order: 99; position: sticky; top: 96px; display: grid; gap: 18px; }
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.widget-title { font-family: var(--font-head); font-size: 16px; color: var(--green-dark); margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--yellow-soft); }
.widget-cta { background: var(--green-dark); color: #fff; text-align: center; }
.widget-cta p { font-size: 14px; color: #e8f5f1; margin-bottom: 14px; }
.widget-cta .catch { font-family: var(--font-head); color: #fff; font-size: 18px; margin-bottom: 6px; }
.widget-cta .btn { margin-top: 8px; }
.widget-cta .tel { display: block; color: #fff; text-decoration: none; font-size: 22px; font-weight: 700; margin-top: 14px; letter-spacing: .03em; }
.widget-cta .tel small { display: block; font-size: 12px; color: #cfe7df; font-weight: 400; }
.line-box { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.line-box .photo-slot { aspect-ratio: 1 / 1; font-size: 11px; padding: 4px; }
.line-box .photo-slot::before { font-size: 12px; }
.line-box:has(.line-qr) { grid-template-columns: 110px 1fr; }
.line-qr { display: block; width: 110px; height: 110px; }
.line-box p { font-size: 13px; margin: 0 0 8px; }
.line-box .btn { padding: 8px 12px; font-size: 13px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours th, .hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); text-align: left; }
.hours th { color: var(--muted); font-weight: 500; width: 40%; }
.owner-widget { text-align: center; }
.owner-widget .photo-slot { width: 120px; margin: 0 auto 12px; font-size: 11px; }
.owner-widget .photo-slot::before { font-size: 14px; }
.owner-widget p { font-size: 14px; text-align: left; color: var(--muted); margin: 0; }
.owner-widget .name { font-family: var(--font-head); color: var(--green-dark); font-size: 16px; margin-bottom: 8px; text-align: center; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 10px 0; font-size: 14px; text-decoration: none; line-height: 1.6; }
.side-list a:hover { color: var(--accent); }
.side-list time { display: block; font-size: 11px; color: var(--muted); }
.side-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.side-cats a { font-size: 13px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }

/* ---------- 店舗情報・フッター ---------- */
.shop-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 32%; color: var(--green-dark); font-weight: 700; }
.map { width: 100%; height: 100%; min-height: 300px; border: 0; border-radius: var(--radius); }
.todo { background: #fff4d6; color: #6b5214; padding: 0 6px; border-radius: 4px; font-size: 13px; }

.site-footer { background: var(--green-deep); color: #dcefe9; padding: 48px 0 110px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 10px; }
.site-footer a { color: #dcefe9; text-decoration: none; }
.site-footer a:hover { color: var(--yellow-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.copyright { text-align: center; font-size: 12px; color: #b5d6cc; margin-top: 36px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 12px; }
.footer-logo img { height: 52px; width: auto; }

/* ---------- スマホ下部の固定ボタン ---------- */
.mobile-bar { display: none; }

/* ---------- コラムページ ---------- */
.page-head { background: var(--green-dark); color: #fff; padding: 44px 0; background-image: radial-gradient(circle at 90% 0, rgba(246, 200, 81, .35), transparent 45%); }
.page-head h1 { color: #fff; font-size: clamp(26px, 3.6vw, 36px); margin: 0; }
.page-head .en { color: var(--yellow-soft); letter-spacing: .2em; font-size: 13px; font-family: var(--font-head); }
.page-head p { color: #dcefe9; margin: 8px 0 0; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-filter button { font-family: var(--font-body); padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; }
.cat-filter button.active { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }

.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.article h1 { font-size: clamp(24px, 3.2vw, 32px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.article .photo-slot.wide, .article .article-photo { margin-bottom: 28px; }
.article .hint { font-size: 13px; color: var(--muted); }
.article h2 { font-size: 23px; margin: 2em 0 .8em; padding: 12px 16px; background: var(--green-soft); border-left: 5px solid var(--green); border-radius: 0 8px 8px 0; }
.article h3 { font-size: 19px; margin: 1.6em 0 .6em; padding-bottom: 6px; border-bottom: 2px solid var(--yellow-soft); }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: .3em; }
.toc { background: var(--cream); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.toc strong { font-family: var(--font-head); color: var(--green-dark); }
.toc ol { margin: 8px 0 0; }
.toc a { text-decoration: none; }
.point-box { border: 2px solid var(--yellow-soft); border-radius: 12px; padding: 18px 22px; margin: 24px 0; background: #fffdf8; }
.point-box .ttl { font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: var(--cream); border-radius: 12px; padding: 20px; margin-top: 36px; }
.author-box .photo-slot { font-size: 10px; padding: 4px; }
.author-box .photo-slot::before { font-size: 12px; }
.author-box .name { font-family: var(--font-head); color: var(--green-dark); font-weight: 700; margin-bottom: 4px; }
.author-box p { font-size: 14px; color: var(--muted); margin: 0; }
.article-cta { background: var(--green-dark); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; margin-top: 32px; }
.article-cta h3 { color: #fff; border: 0; margin: 0 0 8px; padding: 0; }
.article-cta p { color: #e8f5f1; font-size: 14px; }
.article-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- LINE査定の画面のイメージ(最初の画面) ---------- */
.phone-mock {
  position: absolute; right: -10px; bottom: -34px; width: 168px;
  background: #fff; border: 3px solid var(--text); border-radius: 22px; padding: 8px 8px 10px;
  box-shadow: var(--shadow); transform: rotate(3deg);
}
.pm-bar { background: var(--green-soft); color: var(--green-dark); font-size: 10px; font-weight: 700; text-align: center; border-radius: 12px; padding: 3px 0; }
.pm-ttl { font-family: var(--font-head); color: var(--green-dark); font-size: 12px; font-weight: 700; margin: 6px 2px 4px; }
.pm-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.pm-shot { position: relative; border: 1.5px dashed #d6cfbf; border-radius: 8px; text-align: center; font-size: 9px; font-weight: 700; padding: 10px 2px 4px; line-height: 1.3; color: var(--text); }
.pm-shot .ico { display: block; width: 24px; height: 24px; margin: 0 auto 1px; color: var(--text); }
.pm-must { position: absolute; top: 2px; left: 2px; background: #c4503f; color: #fff; font-size: 7px; border-radius: 3px; padding: 0 3px; }
.pm-btn { margin-top: 6px; background: var(--yellow); border-radius: 999px; text-align: center; font-size: 10px; font-weight: 700; padding: 5px 0; }

/* ---------- こんなお悩み ---------- */
.worries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.worry {
  display: block; background: #fff; border-radius: var(--radius); padding: 22px 22px 20px 86px; position: relative;
  box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s;
}
.worry:hover { transform: translateY(-2px); }
.worry .ico { position: absolute; left: 20px; top: 20px; width: 50px; height: 50px; color: var(--text); }
.worry .q { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 0 8px; }
.worry .q::before { content: "「"; } .worry .q::after { content: "」"; }
.worry .a { font-size: 14px; color: var(--green-dark); margin: 0; padding-top: 8px; border-top: 1.5px dashed var(--line); }
.worry .a::after { content: " →"; color: var(--accent); font-weight: 700; }

/* お約束の札 */
.ptag { display: inline-block; margin-left: 8px; vertical-align: 6px; font-size: 11px; font-weight: 700; color: var(--green-dark); background: var(--green-soft); border-radius: 999px; padding: 1px 10px; }

/* ---------- 相続・破産(2つの相手に分ける) ---------- */
.legal-head { margin-bottom: 20px; }
.legal-head p { color: #e8f5f1; font-size: 15px; margin: 0; }
.legal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.legal-card {
  display: flex; flex-direction: column; background: #fff; color: var(--text); border-radius: var(--radius); padding: 22px;
  text-decoration: none; transition: transform .15s;
}
.legal-card:hover { transform: translateY(-2px); }
.legal-card .who { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--text); background: var(--yellow); border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }
.legal-card h3 { font-size: 18px; margin: 0 0 8px; }
.legal-card ul { margin: 0 0 12px; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.legal-card .more { margin-top: auto; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- 3つの査定方法 ---------- */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 16px; align-items: stretch; }
.way { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 26px 20px 20px; box-shadow: var(--shadow); text-align: center; }
.way-main { border: 2.5px solid var(--line-green); }
.way-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--line-green); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 14px; }
.way > .ico { width: 54px; height: 54px; margin: 0 auto 6px; color: var(--text); }
.way h3 { font-size: 18px; margin: 0 0 6px; }
.way p { font-size: 14px; color: var(--muted); flex: 1; }
.way .btn { padding: 12px 16px; font-size: 15px; }

/* ご契約後の流れの補足 */
.after-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.after-note .ico { width: 26px; height: 26px; flex: none; color: var(--text); }

/* 代表のご紹介 */
.greeting-side { text-align: center; }
.owner-name { font-family: var(--font-head); color: var(--green-dark); font-weight: 700; font-size: 18px; margin: 12px 0 0; }
.owner-name small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.owner-catch { font-family: var(--font-head); color: var(--green-dark); font-weight: 700; font-size: 18px; line-height: 1.7; padding-bottom: 14px; border-bottom: 1.5px dashed var(--line); }

/* 車のことまとめて */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.services li { background: #fff; border-radius: var(--radius); padding: 20px 14px; text-align: center; box-shadow: var(--shadow); }
.services .ico { width: 48px; height: 48px; display: block; margin: 0 auto 6px; color: var(--text); }
.services h3 { font-size: 16px; margin: 0 0 4px; }
.services p { font-size: 13px; color: var(--muted); margin: 0; }

/* よくある質問のまとまり */
.faq-group { font-size: 16px; color: var(--text); margin: 24px 0 10px; padding-left: 10px; border-left: 4px solid var(--yellow); }
.faq .section-title + .faq-group { margin-top: 0; }

/* お問い合わせ:無料査定/その他の切り替えボタン */
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.form-tab {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer;
  font-family: var(--font-body); color: var(--text); transition: border-color .15s, background .15s, box-shadow .15s, transform .12s;
}
.form-tab .ico { width: 42px; height: 42px; flex: none; color: var(--text); }
.form-tab b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--green-dark); }
.form-tab small { display: block; font-size: 12px; color: var(--muted); }
.form-tab:hover { border-color: var(--green); }
.form-tab.is-active { border-color: var(--green-dark); background: var(--green-soft); box-shadow: 0 4px 0 var(--green-dark); }
.form-tab:active { transform: translateY(2px); }
.form-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* お問い合わせの前置き */
.contact-lead { width: 100%; text-align: center; font-size: 14px; color: var(--muted); margin: 0; }

/* サイドバー:相続・破産 */
.widget-legal p { font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.widget-cta .btn + .btn { margin-top: 8px; }

/* ---------- 相続・先生方向けページ ---------- */
.lp-section { margin-bottom: 48px; }
.lp-section:last-child { margin-bottom: 0; }
.lp-section h2 { font-size: 22px; padding-bottom: 8px; border-bottom: 3px solid var(--green); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { background: #fff; border-radius: 12px; padding: 14px 16px 14px 48px; position: relative; box-shadow: var(--shadow); }
.check-list li::before { content: "✓"; position: absolute; left: 16px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: var(--text); font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.todo-box { border: 2px dashed #e0c26a; background: #fffaf0; border-radius: 14px; padding: 18px 20px; color: #6b5214; }
.todo-box .ttl { font-weight: 700; margin-bottom: 6px; }
.todo-box p { margin: 0 0 6px; font-size: 14px; }
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-way { background: #fff; border-radius: 14px; padding: 18px 14px; text-align: center; box-shadow: var(--shadow); }
.contact-way .ico { width: 40px; height: 40px; display: block; margin: 0 auto 4px; color: var(--text); }
.contact-way b { display: block; font-size: 14px; color: var(--green-dark); }
.contact-way a, .contact-way span { font-size: 15px; font-weight: 700; word-break: break-all; }

/* ---------- 個人情報の取り扱いページ ---------- */
.policy-wrap { max-width: 880px; padding-top: 24px; padding-bottom: 72px; }
/* 見出しは番号なし・下線だけのすっきりした形 */
.policy { padding: 48px 56px; }
.policy h2 {
  font-size: 20px; margin: 2.4em 0 .9em; padding: 0 0 10px;
  background: none; border-left: 0; border-radius: 0; border-bottom: 3px solid var(--green);
}
.policy h2:first-child { margin-top: 0; }
.policy h3 { font-size: 16px; margin: 1.4em 0 .4em; padding: 0; border: 0; color: var(--text); }
.policy p { font-size: 15px; line-height: 2; }
.todo-block { font-size: 14px; color: #6b5214; }
.policy-date { text-align: right; margin-top: 32px; color: var(--muted); font-size: 14px; }

/* =========================================================
   画面幅ごとの調整
   ========================================================= */
@media (max-width: 1320px) {
  .global-nav ul { gap: 16px; }
  .header-tel { display: none; }
}

/* =========================================================
   動きの演出(JSが動くときだけ。動きを減らす設定の方には出さない)
   ========================================================= */
/* ① スタガー:キャッチコピーを1文字ずつ */
.hero h1 .st-phrase { display: inline-block; white-space: nowrap; }
.hero h1 .st-char {
  display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(5px);
  animation: st-in .7s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes st-in { to { opacity: 1; transform: none; filter: none; } }
/* 黄色いマーカーは、文字が出たあとに左からスッと引く */
.hero h1.is-stagger em { background-repeat: no-repeat; background-size: 0% 100%; animation: em-in .8s ease forwards; animation-delay: var(--em-d, 1.2s); }
@keyframes em-in { to { background-size: 100% 100%; } }

/* ③ スクロール連動フェードイン:カードを下からふわっと */
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.anim .reveal.is-in { opacity: 1; transform: none; }

/* ④ パララックス:背景の湯気 */
.hero > .container { position: relative; z-index: 1; }
.steam { position: absolute; top: 70px; width: 120px; z-index: 0; pointer-events: none; will-change: transform; }
.steam-l { left: max(16px, calc(50% - 560px)); }
.steam-r { right: max(16px, calc(50% - 560px)); top: 260px; width: 100px; }
.steam svg { display: block; width: 100%; height: auto; overflow: visible; }
.steam path { animation: steam-float 6s ease-in-out infinite; }
.steam .s1 { stroke: var(--green); opacity: .32; }
.steam .s2 { stroke: var(--yellow); opacity: .5; animation-delay: -2s; }
.steam .s3 { stroke: var(--green); opacity: .22; animation-delay: -4s; }
@keyframes steam-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ⑤ プレス:スマホの固定ボタン・かんたんメニューも */
.mobile-bar a, .quick-nav a { transition: transform .12s ease, filter .12s; }
.mobile-bar a:active, .quick-nav a:active { transform: translateY(2px) scale(.97); filter: brightness(.95); }

/* 動きを減らす設定の方には、動きを出さない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1 .st-char { animation: none; opacity: 1; transform: none; filter: none; }
  .hero h1.is-stagger em { animation: none; background-size: 100% 100%; }
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .steam path { animation: none; }
  .btn, .btn:hover, .btn:active, .mobile-bar a:active, .quick-nav a:active { transition: none; transform: none; }
}

/* ---------- 上部のかんたんメニュー(三本線のメニューを使う幅だけ表示) ---------- */
.quick-nav { display: none; }

/* メニューが1行に収まらない幅では、ハンバーガーメニューに切り替え */
@media (max-width: 1179px) {
  html { scroll-padding-top: 130px; }
  .quick-nav { display: block; border-top: 1px solid var(--line); background: #fff; }
  .quick-nav ul {
    display: flex; gap: 6px; list-style: none; margin: 0; padding: 8px 16px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .quick-nav ul::-webkit-scrollbar { display: none; }
  .quick-nav a {
    display: block; white-space: nowrap; text-decoration: none;
    font-size: 13px; font-weight: 700; color: var(--green-dark);
    background: var(--green-soft); border-radius: 999px; padding: 5px 13px;
  }
  .quick-nav a:active { background: var(--yellow-soft); }
  .header-inner { position: relative; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .global-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .global-nav.open { max-height: 80vh; box-shadow: var(--shadow); }
  .global-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .global-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 1023px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .side-sticky { display: none; } /* スマホ・タブレットは下の固定ボタンで代用 */

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px;
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; font-size: 12px; font-weight: 700; border-radius: 10px; padding: 6px 4px; line-height: 1.3; color: #fff;
  }
  .mobile-bar .ico { width: 24px; height: 24px; margin-bottom: 1px; }
  .mobile-bar .m-tel { background: var(--green-dark); }
  .mobile-bar .m-line { background: var(--line-green); }
  .mobile-bar .m-form { background: var(--yellow); color: var(--text); }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero { padding: 32px 0 48px; }
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: 25px; letter-spacing: 0; } /* 「思い出ののった愛車のこと、」が1行に入る大きさ */
  .steam { width: 64px; top: 120px; } .steam-r { width: 56px; top: 300px; }
  .steam-l { left: 2px; } .steam-r { right: 2px; }
  .hero-photo .photo-slot, .hero-photo .photo { aspect-ratio: 4 / 3; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photo-caption { left: 8px; bottom: -14px; font-size: 13px; }
  .layout { padding-top: 40px; padding-bottom: 56px; }
  .main > section { margin-bottom: 56px; }
  .strength { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; }
  .promises li, .promises li:nth-child(n+4) { grid-column: auto; }
  .gallery { gap: 10px; }
  .gallery .photo-slot, .gallery .photo { border-radius: 16px; }
  .logo img { height: 46px; }
  /* スマホではロゴを画面の中央に(メニューボタンは右のまま) */
  .header-inner { position: relative; justify-content: flex-end; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .flow { grid-template-columns: 1fr 1fr; }
  .legal-banner { padding: 28px 18px; }
  .legal-cards, .worries, .contact-ways, .form-tabs { grid-template-columns: 1fr; }
  .form-tabs { gap: 8px; }
  .form-tab { padding: 12px 14px; }
  .worry { padding: 18px 18px 16px 76px; }
  .worry .ico { left: 16px; top: 18px; width: 44px; height: 44px; }
  .services { grid-template-columns: 1fr 1fr; }
  .phone-mock { width: 130px; right: 6px; bottom: -44px; padding: 6px 6px 8px; border-radius: 18px; }
  .pm-shot .ico { width: 18px; height: 18px; }
  .pm-shot { font-size: 8px; padding: 9px 1px 3px; }
  .hero-photo-caption { max-width: 52%; padding: 10px 12px; font-size: 12px; }
  .hero-photo-caption strong { font-size: 15px; }
  .greeting { grid-template-columns: 1fr; }
  .greeting .photo-slot { max-width: 220px; margin: 0 auto; }
  .form { padding: 22px 18px; }
  .form-grid-3 { grid-template-columns: 1fr; }
  .shop-info { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .article, .policy { padding: 24px 18px; }
  .article h2 { font-size: 20px; }
  .author-box { grid-template-columns: 72px 1fr; }
}

/* 小型のスマホ(幅360px以下) */
@media (max-width: 360px) {
  .hero h1 { font-size: 22px; }
}
