/* =====================================================================
 * 〇〇バイク便 スタイルシート
 * 色・余白などは :root の変数で一括変更できます。
 * ===================================================================== */
:root {
  --navy-950: #061528;
  --navy-900: #0a1f3c;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4477;
  --navy-100: #e7edf6;
  --navy-50: #f1f5fb;
  --accent: #d9480f;
  --accent-dark: #b93c0b;
  --accent-light: #ff8c38;
  --accent-50: #fff4e8;
  --accent-100: #ffe3cc;
  --line: #06c755;
  --line-dark: #05a647;
  --text: #1b2430;
  --muted: #5b6573;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --border: #e1e6ee;
  --border-strong: #cdd5e0;
  --ok: #2b8a3e;
  --ok-bg: #ebfbee;
  --warn: #b35c00;
  --warn-bg: #fff4e6;
  --ng: #c92a2a;
  --ng-bg: #fff5f5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 18px rgba(10, 31, 60, .07);
  --shadow-lg: 0 18px 48px rgba(10, 31, 60, .16);
  --container: 1180px;
  --header-h: 72px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  --font-num: "Outfit", "Noto Sans JP", system-ui, sans-serif;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; color: var(--navy-900); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(217, 72, 15, .55); outline-offset: 2px; }
sup { font-size: .65em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; justify-content: center; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex: none; }
.i-xl { width: 40px; height: 40px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.3; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(217, 72, 15, .28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { background: var(--line-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: #fff; color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { color: var(--accent); }
.btn-ghost { background: var(--navy-50); color: var(--navy-800); border-color: var(--border); }
.btn-ghost:hover { background: var(--navy-100); color: var(--navy-900); }
.btn-lg { padding: 1em 1.8em; font-size: 1.1rem; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-text { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; color: var(--navy-600); font-weight: 700; cursor: pointer; }
.btn-text small { color: var(--muted); font-weight: 400; }
.btn-text:hover { color: var(--accent); }
.btn-icon { flex: none; width: 48px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: #fff; color: var(--navy-700); cursor: pointer; display: grid; place-items: center; }
.btn-icon:hover { border-color: var(--navy-700); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: -34px; z-index: 1000; }
.topbar { height: 34px; background: var(--accent); color: #fff; font-size: .88rem; text-align: center; overflow: hidden; }
.topbar a { display: block; color: #fff; text-decoration: none; line-height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; }
.topbar-more { margin-left: 10px; opacity: .9; }
.header-main { position: relative; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); flex: none; }
.logo-mark { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.2rem; font-weight: 900; letter-spacing: .04em; }
.logo-text small { font-family: var(--font-num); font-size: .68rem; letter-spacing: .22em; color: var(--accent); font-weight: 700; }
.logo:hover { color: var(--navy-900); }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 2px; padding: 0; }
.gnav a { display: block; padding: 8px 10px; font-size: .92rem; font-weight: 700; color: var(--navy-900); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.gnav a:hover { background: var(--navy-50); color: var(--accent); }
.gnav-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--navy-900); line-height: 1.2; }
.tel-num { font-family: var(--font-num); font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; display: flex; align-items: center; gap: 4px; }
.tel-num .i { color: var(--accent); }
.tel-sub { font-size: .75rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.open-status { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--muted); font-size: .75rem; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #adb5bd; }
.open-status.is-open { color: var(--ok); }
.open-status.is-open::before { background: #37b24d; box-shadow: 0 0 0 3px rgba(55, 178, 77, .2); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--navy-50); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span:not(.sr-only) { display: block; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 64px 0 80px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(255, 140, 56, .22), transparent 62%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 34px);
}
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco svg { width: 100%; height: 100%; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero-offer {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px;
  background: #fff; color: var(--navy-900); border-radius: 18px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: rotate(-2deg);
}
.hero-offer:hover { color: var(--navy-900); transform: rotate(-2deg) scale(1.02); }
.offer-label { background: var(--accent); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.35; padding: 6px 10px; border-radius: 10px; text-align: center; }
.offer-num { font-family: var(--font-num); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--accent); }
.offer-num small { font-size: 1.8rem; }
.offer-off { font-family: var(--font-num); font-weight: 800; font-size: 2rem; line-height: 1; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.32; margin: 26px 0 18px; letter-spacing: .01em; }
.hero-title .hl { color: var(--accent-light); background: linear-gradient(transparent 72%, rgba(255, 140, 56, .32) 72%); }
.hero-title .nb { display: inline-block; }
.hero-live small { font-size: .8rem; opacity: .8; }
.hero-lead { color: rgba(255, 255, 255, .88); font-size: 1.06rem; max-width: 36em; }
.hero-lead strong { color: #fff; }
.hero-points { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hero-points li { display: flex; gap: 8px; align-items: flex-start; font-size: .98rem; }
.hero-points .i { color: var(--accent-light); margin-top: .3em; }
.hero-points b { color: var(--accent-light); font-family: var(--font-num), var(--font); margin: 0 2px; }
.hero-live { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px 14px; font-size: .92rem; margin: 0 0 10px; }
.hero-live b { color: #fff; font-family: var(--font-num), var(--font); font-size: 1.05rem; }
.live-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #51cf66; box-shadow: 0 0 0 0 rgba(81, 207, 102, .6); animation: pulse 1.8s infinite; }
.live-dot.off { background: #adb5bd; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(81, 207, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(81, 207, 102, 0); } }
.hero-note { font-size: .75rem; color: rgba(255, 255, 255, .6); }
.hero-quote { background: #fff; color: var(--text); border-radius: 22px; padding: 26px 26px 20px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.hero-quote-title { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.15rem; color: var(--navy-900); margin: 0; }
.hero-quote-title .i { color: var(--accent); }
.hero-quote-foot { text-align: center; font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- 入力部品 ---------- */
.input {
  width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(19, 49, 92, .14); }
textarea.input { min-height: 0; resize: vertical; line-height: 1.6; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.input:disabled { background: var(--bg-soft); }
.addr-field { position: relative; }
.addr-field > label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy-900); }
.addr-input { display: flex; gap: 8px; }
.addr-resolved { margin: 6px 2px 0; font-size: .82rem; color: var(--ok); line-height: 1.5; }
.addr-resolved.is-error { color: var(--ng); }
.has-error .input { border-color: var(--ng); background: var(--ng-bg); }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 60; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 300px; overflow-y: auto;
}
.suggest li { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .9rem; line-height: 1.5; }
.suggest li .i { color: var(--accent); margin-top: .2em; }
.suggest li:hover, .suggest li.active { background: var(--navy-50); }
.pin { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-family: var(--font-num); font-weight: 800; font-size: .82rem; line-height: 1; }
.pin.sm { width: 20px; height: 20px; font-size: .7rem; }
.pin-a { background: var(--navy-700); }
.pin-b { background: var(--accent); }
.pin-via { background: #7c8798; }
.req { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--accent); color: #fff; font-size: .7rem; font-style: normal; font-weight: 700; line-height: 1.6; vertical-align: .1em; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; line-height: 1.6; }
.check input { flex: none; width: 20px; height: 20px; margin: .15em 0 0; accent-color: var(--accent); }
.check-first { background: var(--accent-50); border: 1.5px dashed #ffb37a; border-radius: 12px; padding: 12px 14px; }
.check-first b { color: var(--accent-dark); }
.checks { display: grid; gap: 10px; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 700; font-size: .9rem; color: var(--navy-900); display: flex; align-items: center; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- 選ばれる理由 ---------- */
.strengths { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 2; }
.strengths-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strength { display: flex; gap: 14px; align-items: center; padding: 24px 18px; border-right: 1px solid var(--border); }
.strength:last-child { border-right: 0; }
.strength strong { display: block; color: var(--navy-900); font-size: 1rem; line-height: 1.45; }
.strength span { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.strength-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; }
.strength-ic .i { width: 24px; height: 24px; }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: rgba(255, 255, 255, .88); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.section-head h2, .two-col h2, .corp-copy h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); font-weight: 900; margin-bottom: 14px; }
.section-head p { color: var(--muted); }
.eyebrow { font-family: var(--font-num); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-size: .82rem; margin-bottom: 8px; }
.section-dark .eyebrow { color: var(--accent-light); }
.sub-title { font-size: 1.3rem; font-weight: 900; margin: 56px 0 20px; padding-left: 14px; border-left: 5px solid var(--accent); line-height: 1.3; }
.sub-title.center { text-align: center; border: 0; padding: 0; }
.mini-title { font-size: 1rem; font-weight: 700; margin: 26px 0 12px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--navy-100); color: var(--navy-700); font-size: .72rem; font-weight: 700; font-style: normal; vertical-align: .12em; }
.tag-warn { background: var(--warn-bg); color: var(--warn); }

/* ---------- キャンペーン ---------- */
.campaign { background: linear-gradient(120deg, #fff 0%, var(--accent-50) 100%); border-bottom: 1px solid var(--accent-100); }
.campaign-inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.campaign-badge {
  width: 280px; height: 280px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #ff9a52, var(--accent) 60%, var(--accent-dark)); color: #fff;
  box-shadow: 0 24px 50px rgba(217, 72, 15, .35), inset 0 0 0 10px rgba(255, 255, 255, .18); transform: rotate(-6deg);
}
.cb-top { font-family: var(--font-num); font-weight: 700; letter-spacing: .2em; font-size: .95rem; }
.cb-num { font-family: var(--font-num); font-weight: 800; font-size: 6.4rem; line-height: 1; }
.cb-num small { font-size: 3rem; }
.cb-off { font-family: var(--font-num); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: .08em; }
.campaign-body h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; margin-bottom: 16px; }
.campaign-body > p { font-size: 1.05rem; }
.campaign-example { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #fff; border: 1px solid var(--accent-100); border-radius: 14px; padding: 14px 18px; margin: 20px 0 16px; box-shadow: var(--shadow); }
.ce-route { width: 100%; font-weight: 700; color: var(--navy-900); }
.ce-before s { color: var(--muted); }
.ce-after b { font-family: var(--font-num); font-size: 1.7rem; color: var(--accent); }
.campaign-example .i { color: var(--accent); }
.conditions { margin-bottom: 22px; }
.conditions summary { cursor: pointer; font-weight: 700; color: var(--navy-600); }
.conditions ul { margin-top: 10px; padding-left: 1.3em; font-size: .92rem; color: var(--muted); }
.conditions li { margin-bottom: 4px; }

/* ---------- ルート見積り ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.quote-form { padding: 26px; display: grid; gap: 20px; }
.route-inputs { display: grid; gap: 12px; position: relative; }
.via-list { display: grid; gap: 12px; }
.via-field > label { font-weight: 500; }
.via-remove { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; padding: 2px 4px; }
.via-remove:hover { color: var(--ng); }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend { font-weight: 700; font-size: .95rem; color: var(--navy-900); margin-bottom: 8px; padding: 0; display: flex; width: 100%; align-items: baseline; gap: 10px; }
.legend-link { margin-left: auto; font-size: .8rem; font-weight: 500; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: 12px; background: #fff; transition: border-color .15s, background-color .15s; }
.choice b { color: var(--navy-900); }
.choice small { color: var(--muted); font-size: .8rem; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-50); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid rgba(217, 72, 15, .45); outline-offset: 2px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1.5px solid var(--border-strong); border-radius: 12px; padding: 3px; background: #fff; gap: 3px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.seg input:checked + span { background: var(--navy-800); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid rgba(217, 72, 15, .45); }
.input-dt { margin-top: 10px; }
.fs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip > span { display: flex; flex-direction: column; padding: 8px 12px; border: 1.5px solid var(--border-strong); border-radius: 10px; background: #fff; line-height: 1.35; }
.chip b { font-size: .9rem; color: var(--navy-900); }
.chip small { font-size: .72rem; color: var(--muted); }
.chip input:checked + span { border-color: var(--navy-700); background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--navy-700); }
.chip input:focus-visible + span { outline: 3px solid rgba(217, 72, 15, .45); }
.chip-over input:checked + span { border-color: var(--warn); background: var(--warn-bg); box-shadow: inset 0 0 0 1px var(--warn); }
.size-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: .88rem; }
.form-note { font-size: .8rem; color: var(--muted); margin: -6px 0 0; }

.quote-result { position: sticky; top: calc(var(--header-h) + 16px); overflow: hidden; }
.map-wrap { position: relative; }
.map { height: 320px; background: #e8eef5; z-index: 0; }
.map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .92rem; background: linear-gradient(rgba(244, 246, 249, .75), rgba(244, 246, 249, .75)); pointer-events: none; z-index: 400; }
.map-empty .i { color: var(--accent); }
.result-body { padding: 22px 24px 24px; }
.result-placeholder { text-align: center; padding: 6px 0 4px; }
.rp-title { font-weight: 700; color: var(--navy-900); }
.mini-list { list-style: none; padding: 0; display: grid; gap: 6px; text-align: left; max-width: 420px; margin: 12px auto 0; font-size: .88rem; color: var(--muted); }
.mini-list li { position: relative; padding-left: 20px; }
.mini-list li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.result-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 36px 0; color: var(--muted); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--navy-100); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.result-error { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--ng-bg); color: var(--ng); }
.result-route { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }
.result-route li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.result-km { font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.result-price { background: var(--navy-50); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.result-price.has-discount { background: var(--accent-50); }
.rp-label { font-size: .85rem; color: var(--muted); margin: 0; }
.rp-regular { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.rp-total { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.rp-total b { font-family: var(--font-num); font-weight: 800; font-size: 2.8rem; color: var(--navy-900); line-height: 1.1; }
.has-discount .rp-total b { color: var(--accent); }
.rp-total small { font-weight: 700; font-size: 1.1rem; }
.rp-badge { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; vertical-align: .3em; }
.eta-line { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0; position: relative; }
.eta-line li { position: relative; padding: 22px 8px 0 0; display: flex; flex-direction: column; }
.eta-line li::before { content: ""; position: absolute; top: 5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--navy-700); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--navy-700); z-index: 1; }
.eta-line li::after { content: ""; position: absolute; top: 10px; left: 6px; right: 0; height: 2px; background: var(--navy-100); }
.eta-line li:last-child::after { display: none; }
.eta-line li.goal::before { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.eta-k { font-size: .78rem; color: var(--muted); }
.eta-v { font-family: var(--font-num), var(--font); font-weight: 700; color: var(--navy-900); font-size: 1.02rem; line-height: 1.35; }
.goal .eta-v { color: var(--accent); font-size: 1.15rem; }
.eta-s { font-size: .75rem; color: var(--muted); }
.deadline { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.dl-ok { background: var(--ok-bg); color: var(--ok); }
.dl-tight { background: var(--warn-bg); color: var(--warn); }
.dl-ng { background: var(--ng-bg); color: var(--ng); }
.result-alts { display: grid; gap: 8px; margin-bottom: 12px; }
.alt-service, .upsell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; text-align: left; cursor: pointer; padding: 10px 14px; border-radius: 10px; border: 1.5px dashed var(--border-strong); background: #fff; font-size: .88rem; color: var(--text); }
.alt-service b { font-family: var(--font-num); font-size: 1.05rem; color: var(--navy-900); }
.alt-service small { color: var(--muted); }
.alt-service:hover, .upsell:hover { border-color: var(--navy-700); }
.upsell { border-color: #ffb37a; background: var(--accent-50); align-items: center; }
.upsell .i { color: var(--accent); }
.upsell b { color: var(--accent); font-family: var(--font-num); font-size: 1.05rem; }
.breakdown { border: 1px solid var(--border); border-radius: 12px; padding: 0 14px; margin-bottom: 16px; }
.breakdown summary { cursor: pointer; padding: 10px 0; font-weight: 700; font-size: .92rem; color: var(--navy-700); }
.breakdown table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 12px; }
.breakdown th { text-align: left; font-weight: 400; padding: 6px 0; color: var(--muted); }
.breakdown td { text-align: right; padding: 6px 0; font-family: var(--font-num), var(--font); white-space: nowrap; }
.breakdown tr.sub th, .breakdown tr.sub td { border-top: 1px solid var(--border); color: var(--text); }
.breakdown tr.disc td, .breakdown tr.disc th { color: var(--accent); font-weight: 700; }
.breakdown tr.total th, .breakdown tr.total td { border-top: 2px solid var(--navy-800); font-weight: 700; color: var(--navy-900); font-size: 1rem; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.result-actions .btn-block { grid-column: 1 / -1; }
.result-actions .btn { padding-left: 1em; padding-right: 1em; }
.print-row { display: flex; gap: 8px; margin-top: 10px; }
.print-row .input { min-height: 44px; }
.print-row .btn { flex: none; }
.result-notes { margin: 14px 0 0; padding-left: 1.2em; font-size: .78rem; color: var(--muted); display: grid; gap: 2px; }
.result-id { margin: 8px 0 0; font-size: .72rem; color: #98a1ad; text-align: right; }

/* 地図のピン */
.map-pin { background: none; border: 0; }
.map-pin span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); color: #fff; font-family: var(--font-num); font-weight: 800; font-size: .85rem; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.map-pin.pin-a span { background: var(--navy-700); }
.map-pin.pin-b span { background: var(--accent); }
.map-pin.pin-via span { background: #7c8798; }
.map-pin span i { font-style: normal; transform: rotate(45deg); line-height: 1; }
.leaflet-container { font-family: var(--font); }

/* ---------- フォーム ---------- */
.form { padding: 32px; display: grid; gap: 18px; }
.form-sec { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 900; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-top: 10px; }
.form-sec:first-of-type { margin-top: 0; }
.form-sec span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-800); color: #fff; font-family: var(--font-num); font-size: .9rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.agree { justify-content: center; margin-top: 6px; }
.form-error { padding: 14px 16px; border-radius: 12px; background: var(--ng-bg); color: var(--ng); display: grid; gap: 10px; }
.form-error p { margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.form-done { text-align: center; padding: 40px 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.done-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.done-ic .i { width: 32px; height: 32px; }
.form-done h3 { font-size: 1.4rem; margin-bottom: 10px; }
.done-id { font-size: 1.05rem; }
.done-id b { font-family: var(--font-num); font-size: 1.3rem; color: var(--accent); letter-spacing: .04em; }
.order-summary { margin-bottom: 18px; border: 1.5px solid var(--ok); background: var(--ok-bg); border-radius: var(--radius); padding: 16px 20px; }
.os-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ok); margin-bottom: 8px; }
.os-head a { margin-left: auto; font-size: .85rem; }
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 0; font-size: .9rem; }
.os-grid dt { font-size: .75rem; color: var(--muted); }
.os-grid dd { margin: 0; color: var(--text); }

/* ---------- 料金 ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pc-label { font-size: .88rem; color: var(--muted); font-weight: 700; }
.pc-num { font-family: var(--font-num); font-weight: 800; font-size: 2.6rem; color: var(--navy-900); line-height: 1.15; }
.pc-num small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.pc-sub { font-size: .82rem; color: var(--muted); }
.pc-hot { background: linear-gradient(140deg, var(--accent), var(--accent-dark)); border: 0; color: #fff; }
.pc-hot .pc-label, .pc-hot .pc-sub { color: rgba(255, 255, 255, .85); }
.pc-hot .pc-num { color: #fff; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.price-table, .option-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table caption { caption-side: top; text-align: left; padding: 14px 18px 0; font-weight: 700; color: var(--navy-900); }
.price-table th, .price-table td, .option-table th, .option-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td, .option-table tbody tr:last-child th, .option-table tbody tr:last-child td { border-bottom: 0; }
.price-table thead th, .option-table thead th { background: var(--navy-800); color: #fff; font-size: .85rem; font-weight: 700; text-align: center; line-height: 1.4; white-space: nowrap; }
.price-table thead th small { font-weight: 400; opacity: .8; }
.price-table thead th.col-first { background: var(--accent); }
.price-table tbody th { font-family: var(--font-num); font-weight: 700; color: var(--navy-900); text-align: center; white-space: nowrap; background: var(--navy-50); }
.price-table td { text-align: right; white-space: nowrap; }
.price-table td b { font-family: var(--font-num); font-weight: 800; font-size: 1.12rem; color: var(--navy-900); }
.price-table td small { display: block; font-size: .72rem; color: var(--muted); }
.price-table td.col-first { background: var(--accent-50); }
.price-table td.col-first b { color: var(--accent-dark); }
.price-table td.col-cmp s { color: var(--muted); font-family: var(--font-num); }
.price-table td.col-cmp .save { color: var(--ok); font-weight: 700; }
.price-table td.col-eta { text-align: center; font-size: .88rem; color: var(--text); }
.price-table tbody tr:hover td, .price-table tbody tr:hover th { background-color: #fff8f1; }
.table-note { font-size: .8rem; color: var(--muted); margin: 12px 4px 0; }
.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sample { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.sample-route { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); margin-bottom: 2px; }
.sample-route .i { color: var(--accent); }
.sample-km { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.sample-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 0; }
.sample-price b { font-family: var(--font-num); font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
.sample-first { font-size: .82rem; color: var(--accent-dark); font-weight: 700; background: var(--accent-50); padding: 1px 8px; border-radius: 999px; }
.option-table th { text-align: left; white-space: nowrap; color: var(--navy-900); }
.option-table td:nth-child(2) { white-space: nowrap; font-weight: 700; color: var(--navy-800); }
.option-table td:nth-child(3) { color: var(--muted); font-size: .88rem; }
.option-table .free { color: var(--ok); }
.pay-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pay-list li { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; }
.pay-list b { color: var(--navy-900); }
.pay-list span { font-size: .82rem; color: var(--muted); }
.notes { margin-top: 26px; padding-left: 1.2em; font-size: .82rem; color: var(--muted); display: grid; gap: 4px; }

/* ---------- 積載 ---------- */
.capacity-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.box-figure { margin: 0; background: var(--bg-soft); border-radius: 24px; padding: 28px; text-align: center; }
.box-svg { width: 100%; max-width: 440px; height: auto; }
.box-svg .dim line { stroke: var(--navy-700); stroke-width: 1.5; stroke-dasharray: 4 4; }
.dim-label { font-family: var(--font); font-size: 15px; font-weight: 700; fill: var(--navy-900); }
.kg-label { font-family: var(--font-num); font-size: 17px; font-weight: 800; fill: #fff; letter-spacing: .04em; }
.box-figure figcaption { margin-top: 10px; font-size: .95rem; }
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.spec-list div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.spec-list div:nth-child(odd) { border-right: 1px solid var(--border); }
.spec-list div:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.spec-list div:last-child, .spec-list div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.tel-mobile { margin: -6px 0 0; font-size: .95rem; color: var(--muted); }
.tel-mobile a { font-family: var(--font-num); font-weight: 700; color: var(--navy-900); text-decoration: none; }
.spec-list dt { color: var(--muted); font-size: .9rem; }
.spec-list dd { margin: 0; font-weight: 700; color: var(--navy-900); font-family: var(--font-num), var(--font); }
.example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.example { background: var(--accent-50); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; line-height: 1.45; }
.example span { font-size: .82rem; color: var(--muted); }
.example b { font-size: 1.1rem; color: var(--accent-dark); }
.example small { font-size: .75rem; color: var(--muted); }
.size-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.size-list li { display: flex; gap: 12px; padding: 8px 12px; border-radius: 8px; background: var(--bg-soft); font-size: .9rem; }
.size-list b { min-width: 6em; color: var(--navy-900); }
.size-list .is-over { background: var(--warn-bg); color: var(--warn); }
.size-list .is-over b { color: var(--warn); }
.ng-box { margin-top: 40px; border: 1.5px solid #ffc9c9; background: var(--ng-bg); border-radius: var(--radius); padding: 22px 26px; }
.ng-box h3 { display: flex; align-items: center; gap: 8px; color: var(--ng); font-size: 1.05rem; margin-bottom: 10px; }
.ng-box ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; padding-left: 1.2em; margin-bottom: 10px; font-size: .92rem; }
.ng-box p { font-size: .88rem; color: var(--muted); }

/* ---------- サービス ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-800); color: #fff; margin-bottom: 14px; }
.sc-ic .i { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; color: var(--muted); }
.scene-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scene-grid li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-weight: 700; font-size: .92rem; color: var(--navy-900); line-height: 1.5; }
.scene-grid .i { color: var(--accent); width: 22px; height: 22px; }

/* ---------- ご利用の流れ ---------- */
.flow-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: flow; }
.flow-list li { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); text-align: center; }
.flow-list li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.flow-step { font-family: var(--font-num); font-weight: 800; color: var(--accent); font-size: .85rem; letter-spacing: .1em; }
.flow-ic { display: grid; place-items: center; width: 56px; height: 56px; margin: 10px auto; border-radius: 50%; background: var(--accent-50); color: var(--accent); }
.flow-ic .i { width: 26px; height: 26px; }
.flow-list h3 { font-size: 1.05rem; margin-bottom: 8px; }
.flow-list p { font-size: .86rem; color: var(--muted); text-align: left; }

/* ---------- 法人 ---------- */
.corp-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.corp-copy p { font-size: 1.04rem; }
.corp-copy .btn-row { margin-top: 26px; }
.corp-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.corp-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 18px 20px; }
.corp-list h3 { font-size: 1.02rem; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.corp-list h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); flex: none; }
.corp-list p { font-size: .88rem; color: rgba(255, 255, 255, .78); }

/* ---------- エリア・安心 ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.area-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.area-list li { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--bg-soft); }
.area-list li:first-child { background: var(--navy-800); color: #fff; }
.area-list li:first-child b { color: #fff; }
.area-list li:first-child span { color: rgba(255, 255, 255, .75); }
.area-list b { min-width: 9.5em; color: var(--navy-900); }
.area-list span { font-size: .86rem; color: var(--muted); }
.safety-list { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 16px; }
.safety-list li { display: flex; gap: 14px; }
.sf-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-50); color: var(--navy-700); }
.safety-list h3 { font-size: 1rem; margin-bottom: 2px; }
.safety-list p { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--navy-900); position: relative; display: flex; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-num); font-weight: 800; color: var(--accent); flex: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--navy-700); border-bottom: 2.5px solid var(--navy-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 20px 18px 46px; color: var(--text); font-size: .95rem; }
.faq-a ul { padding-left: 1.2em; display: grid; gap: 4px; }
.faq-a .hours-list { margin-top: 10px; }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.contact-card h3 { font-size: 1.2rem; }
.contact-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.contact-card .btn { margin-top: auto; }
.cc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; }
.cc-ic .i { width: 26px; height: 26px; }
.cc-tel { background: var(--accent); }
.cc-line { background: var(--line); }
.cc-mail { background: var(--navy-700); }
.contact-tel { font-family: var(--font-num); font-size: 2rem; font-weight: 800; color: var(--navy-900); text-decoration: none; line-height: 1.2; }
.open-line { display: flex; gap: 10px; align-items: center; }
.hours-list { display: grid; gap: 2px; margin: 0; font-size: .85rem; }
.hours-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--border-strong); padding: 3px 0; }
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 700; font-family: var(--font-num), var(--font); }
.hours-light div { border-color: rgba(255, 255, 255, .15); }
.hours-light dt { color: rgba(255, 255, 255, .6); }
.line-qr { display: grid; place-items: center; }
.line-qr img { border-radius: 8px; border: 1px solid var(--border); }
.qr-placeholder { width: 140px; height: 140px; border: 2px dashed var(--border-strong); border-radius: 12px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.track-box { margin: 28px 0 0; padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: center; }
.track-box h3 { display: flex; gap: 8px; align-items: center; font-size: 1.1rem; margin-bottom: 4px; }
.track-box h3 .i { color: var(--accent); }
.track-box p { margin: 0; font-size: .88rem; color: var(--muted); }
.track-form { display: flex; gap: 8px; flex-wrap: wrap; }
.track-form .input { flex: 1 1 220px; }
.corp-fields { border: 1.5px dashed var(--border-strong); border-radius: 12px; padding: 16px; background: var(--bg-soft); }

/* ---------- お知らせ ---------- */
.news-title { font-size: 1.3rem; margin-bottom: 14px; }
.news-list { list-style: none; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
.news-list li { display: flex; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; }
.news-list li:last-child { border-bottom: 0; }
.news-list time { font-family: var(--font-num); color: var(--muted); flex: none; }

/* ---------- フッター ---------- */
.footer-cta { background: var(--accent); color: #fff; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 24px; flex-wrap: wrap; }
.footer-cta-inner p { margin: 0; display: flex; flex-direction: column; }
.footer-cta-inner b { font-size: 1.35rem; font-weight: 900; }
.footer-cta-inner span { opacity: .9; font-size: .9rem; }
.footer-cta .btn-primary { background: var(--navy-900); box-shadow: none; }
.footer-cta .btn-primary:hover { background: var(--navy-700); }
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.logo-light, .logo-light:hover { color: #fff; }
.footer-brand p { margin: 16px 0; line-height: 1.8; }
.footer-brand a { color: #fff; }
.footer-brand .hours-list { max-width: 320px; }
.footer-reg { font-size: .78rem; color: rgba(255, 255, 255, .55); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer-nav a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; color: rgba(255, 255, 255, .5); }
.mobile-cta { display: none; }

/* ---------- 下層ページ ---------- */
.page-hero { background: linear-gradient(155deg, var(--navy-950), var(--navy-700)); color: #fff; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; }
.page-hero p { color: rgba(255, 255, 255, .8); margin-top: 10px; }
.breadcrumb { font-size: .8rem; margin-bottom: 14px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-body { padding: 64px 0 96px; }
.doc { max-width: 860px; margin: 0 auto; }
.doc h2 { font-size: 1.25rem; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy-100); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.doc ol, .doc ul { padding-left: 1.4em; display: grid; gap: 4px; margin-bottom: 1em; }
.doc .doc-meta { color: var(--muted); font-size: .88rem; text-align: right; margin-top: 40px; }
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table th { width: 28%; background: var(--navy-50); color: var(--navy-900); font-weight: 700; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.plain-list { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 2px; }
.doc-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .92rem; }
.doc-table th, .doc-table td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }
.doc-table th { background: var(--navy-50); white-space: nowrap; width: 30%; }
.page-404 { text-align: center; padding: 96px 0; }
.page-404 .big { font-family: var(--font-num); font-weight: 800; font-size: 6rem; color: var(--accent); line-height: 1; }
.note-box { background: var(--warn-bg); border: 1px solid #ffd8a8; color: #7a4100; border-radius: 12px; padding: 14px 18px; font-size: .9rem; margin-bottom: 28px; }
/* ---------- 公開前チェック（?check） ---------- */
.check-panel { position: fixed; right: 16px; bottom: 16px; z-index: 3000; width: min(460px, calc(100vw - 32px)); max-height: min(80vh, 680px); overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); font-size: .88rem; }
.check-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--navy-900); color: #fff; }
.check-head b { font-size: 1rem; }
.check-head button { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; display: grid; place-items: center; }
.ck-sum { font-size: .76rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ck-sum-ok { background: var(--ok-bg); color: var(--ok); }
.ck-sum-warn { background: var(--warn-bg); color: var(--warn); }
.ck-sum-ng { background: var(--ng-bg); color: var(--ng); }
.check-panel ul { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 10px; }
.check-panel li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.check-panel li b { color: var(--navy-900); }
.check-panel li small { display: block; color: var(--muted); font-size: .78rem; margin-top: 1px; }
.ck-ic { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem; font-family: var(--font-num); }
.ck-ok .ck-ic { background: var(--ok); }
.ck-warn .ck-ic { background: #f08c00; }
.ck-ng .ck-ic { background: var(--ng); }
.check-foot { margin: 0; padding: 10px 14px 14px; font-size: .76rem; color: var(--muted); border-top: 1px solid var(--border); }

/* =====================================================================
 * レスポンシブ
 * ===================================================================== */
@media (max-width: 1240px) {
  .gnav a { padding: 8px 7px; font-size: .86rem; }
  .header-tel .tel-num { font-size: 1.15rem; }
}
@media (max-width: 1120px) {
  .menu-toggle { display: flex; }
  .gnav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    background: #fff; padding: 8px 24px 72px; overflow-y: auto; z-index: 999;
    box-shadow: 0 18px 30px rgba(10, 31, 60, .14);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .gnav-cta { display: grid; gap: 10px; margin-top: 20px; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-inner, .quote-grid, .capacity-grid, .corp-grid, .two-col, .campaign-inner, .track-box { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 32px; }
  .campaign-inner { gap: 28px; justify-items: center; }
  .campaign-badge { width: 220px; height: 220px; }
  .cb-num { font-size: 5rem; }
  .cb-off { font-size: 2rem; }
  .quote-result { position: static; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .strength:nth-child(2) { border-right: 0; }
  .strength:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .service-grid, .sample-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flow-list li { display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; text-align: left; padding: 18px; }
  .flow-list li:not(:last-child)::after { right: auto; left: 46px; top: auto; bottom: -13px; transform: rotate(135deg); }
  .flow-step { grid-column: 2; }
  .flow-ic { grid-row: 1 / span 3; margin: 0; }
  .flow-list h3, .flow-list p { grid-column: 2; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .two-col { gap: 48px; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-text strong { font-size: 1.05rem; }
  .header-cta { display: none; }
  .topbar-more { display: none; }
  .hero-offer { gap: 8px; padding: 8px 14px 8px 10px; }
  .offer-num { font-size: 2.8rem; }
  .offer-off { font-size: 1.5rem; }
  .hero-title { margin-top: 20px; }
  .hero-points { grid-template-columns: minmax(0, 1fr); }
  .hero-quote { padding: 20px 18px 16px; border-radius: 18px; }
  .strengths-grid { grid-template-columns: minmax(0, 1fr); }
  .strength { border-right: 0; border-bottom: 1px solid var(--border); padding: 16px 4px; }
  .strength:last-child { border-bottom: 0; }
  .quote-form { padding: 20px 16px; }
  .choice-grid, .fs-row, .grid-2, .os-grid, .example-grid, .spec-list, .ng-box ul, .corp-list { grid-template-columns: minmax(0, 1fr); }
  .spec-list div:nth-child(odd) { border-right: 0; }
  .map { height: 240px; }
  .result-body { padding: 18px 16px 20px; }
  .rp-total b { font-size: 2.3rem; }
  .result-actions { grid-template-columns: minmax(0, 1fr); }
  .print-row { flex-direction: column; }
  .form { padding: 22px 16px; }
  .price-cards { grid-template-columns: minmax(0, 1fr); }
  .pc-num { font-size: 2.2rem; }
  .price-table th, .price-table td { padding: 10px 10px; }
  .price-table tbody th { position: sticky; left: 0; z-index: 1; }
  .service-grid, .sample-grid, .contact-grid, .scene-grid { grid-template-columns: minmax(0, 1fr); }
  .sub-title { margin-top: 44px; }
  .area-list li { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-cta-inner .btn-row { flex-direction: column; }
  .news-list li { flex-direction: column; gap: 2px; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    background: #fff; box-shadow: 0 -4px 18px rgba(10, 31, 60, .14); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; text-decoration: none; font-size: .75rem; font-weight: 700; color: var(--navy-900); }
  .mobile-cta a .i { width: 22px; height: 22px; }
  .check-panel { right: 12px; bottom: 76px; width: calc(100vw - 24px); max-height: 70vh; }
  .mobile-cta .mc-line { background: var(--line); color: #fff; }
  .mobile-cta .mc-quote { background: var(--accent); color: #fff; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
 * 印刷（見積書）
 * ===================================================================== */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  body { padding: 0; font-size: 11pt; color: #000; background: #fff; }
  body > *:not(#print-quote) { display: none !important; }
  #print-quote { display: block !important; }
  .pq h1 { text-align: center; font-size: 22pt; letter-spacing: .3em; margin-bottom: 14px; color: #000; border-bottom: 3px double #000; padding-bottom: 8px; }
  .pq-meta { text-align: right; font-size: 9.5pt; margin-bottom: 10px; }
  .pq-meta p { margin: 0; }
  .pq-head { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
  .pq-to { flex: 1; }
  .pq-name { font-size: 15pt; border-bottom: 1px solid #000; padding-bottom: 4px; margin-bottom: 8px; }
  .pq-name span { font-size: 11pt; margin-left: 8px; }
  .pq-total { font-size: 12pt; border: 2px solid #000; padding: 8px 12px; margin-top: 10px; display: flex; justify-content: space-between; align-items: baseline; }
  .pq-total b { font-size: 18pt; }
  .pq-from { font-size: 9.5pt; text-align: right; line-height: 1.6; }
  .pq-from p { margin: 0; }
  .pq-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 10pt; }
  .pq-table th, .pq-table td { border: 1px solid #555; padding: 6px 10px; text-align: left; }
  .pq-table th { background: #eee; width: 22%; white-space: nowrap; }
  .pq-items th { width: auto; }
  .pq-items td:last-child, .pq-items th:last-child { text-align: right; width: 28%; }
  .pq-sum td { font-weight: 700; font-size: 11.5pt; background: #f4f4f4; }
  .pq-notes { font-size: 9pt; }
  .pq-notes p { font-weight: 700; margin-bottom: 4px; }
  .pq-notes ul { padding-left: 1.2em; margin: 0; }
}
