:root {
  --navy: #12355b;
  --blue: #2a7dbe;
  --line: #06c755;
  --line-dark: #05a647;
  --red: #d7263d;
  --ink: #1e2a36;
  --muted: #5b6875;
  --bg: #ffffff;
  --soft: #f2f6fa;
  --border: #d9e2ea;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 72px;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.4; color: var(--navy); }
h2 { font-size: 1.4rem; margin: 0 0 16px; }
h3 { font-size: 1.1rem; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section.soft { background: var(--soft); }
.lead { color: var(--muted); }

/* ヘッダー */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.logo { font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1rem; line-height: 1.3; }
.nav-box summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: .875rem; }
.nav-box summary::-webkit-details-marker { display: none; }
.nav-box nav { position: absolute; right: 0; left: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
.nav-box nav a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--soft); }

/* ボタン */
.desktop-nav { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn-line { background: var(--line); color: #fff; }
.btn-line:hover { background: var(--line-dark); }
.btn-sub { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }

/* スマホの固定バー */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 2fr 1fr; gap: 8px; padding: 8px 12px; background: rgba(255,255,255,.96); border-top: 1px solid var(--border); }
.fixed-cta .btn { min-height: 48px; padding: 6px 8px; font-size: .95rem; }

/* 未受領の項目 */
.todo { background: #fff3c4; color: #7a5b00; padding: 0 6px; border-radius: 4px; font-size: .875em; }

/* ヒーロー */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero-img { width: 100%; height: 240px; object-fit: cover; }
.hero-body { padding: 24px 16px 32px; }
.hero h1 { color: #fff; font-size: 1.4rem; margin: 0 0 12px; }
.hero h1 span { display: inline-block; }
.hero .from { font-size: 1.05rem; margin: 0 0 8px; }
.hero .from strong { font-size: 1.6rem; color: #ffe08a; }
.photo-note { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.hero .photo-note { color: #c7d5e3; margin: 0; }

/* カード */
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card h3 { margin-top: 0; }
.card > a.more { font-weight: 700; }
.point-num { display: inline-block; color: var(--blue); font-weight: 700; font-size: .875rem; }

/* 料金表 */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.tabs button { min-height: 48px; border: 1px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; }
.tabs button.is-on { background: var(--navy); color: #fff; }
table.price { width: 100%; border-collapse: collapse; background: #fff; }
table.price th, table.price td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
table.price th { background: var(--soft); font-weight: 500; width: 50%; }
table.price td { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.note-list { font-size: .9rem; color: var(--muted); padding-left: 1.2em; margin: 12px 0 0; }

/* シミュレーター */
.sim { background: #fff; border: 2px solid var(--blue); border-radius: var(--radius); padding: 16px; }
.field { display: block; margin-bottom: 12px; font-weight: 500; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 8px 12px; border: 1px solid #8b99a6; border-radius: 6px; font-size: 16px; font-family: inherit; background: #fff; }
.check { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.check input { width: 20px; height: 20px; }
.sim-result { background: var(--soft); border-radius: 8px; padding: 16px; margin-top: 12px; }
.sim-total { margin: 0 0 8px; }
.sim-total small { display: block; color: var(--muted); }
.sim-total strong { font-size: 1.9rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.sim-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 6px 0; font-size: .95rem; }
.sim-row span:last-child { white-space: nowrap; font-weight: 700; }
.sim-note, .sim-msg { font-size: .875rem; color: var(--muted); margin: 8px 0 0; }

/* 流れ */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 14px 56px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; color: var(--navy); }

/* 受け渡し図 */
.map-figure { margin: 16px 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; }
.map-figure figcaption { font-size: .8rem; color: var(--muted); padding: 4px 4px 0; }
.place { background: #fff0f2; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 0 8px 8px 0; font-weight: 700; margin: 12px 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--navy); min-height: 48px; }
.faq details p { padding: 0 16px 12px; margin: 0; }

/* パンくず・フッター */
.crumbs { font-size: .8rem; color: var(--muted); padding: 10px 16px; }
.crumbs a { color: var(--muted); }
.page-head { background: var(--soft); padding: 24px 0; }
.page-head h1 { margin: 0; font-size: 1.45rem; }
.side-img { border-radius: var(--radius); width: 100%; }
.site-footer { background: var(--navy); color: #dce6ef; padding: 32px 0; font-size: .9rem; }
.site-footer a { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }

/* トップの追加要素 */
.hero-kicker { margin: 0 0 6px; font-size: .875rem; color: #c7d5e3; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.chips li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 2px 12px; font-size: .85rem; }
.price-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; color: var(--navy); border-radius: var(--radius); padding: 12px 8px; text-align: center; }
.price-mini small { display: block; color: var(--muted); font-size: .8rem; }
.price-mini strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.price-mini-note { font-size: .8rem; color: #c7d5e3; margin: 8px 0 0; }
.price-mini-note a { color: #fff; }
.split { display: grid; gap: 20px; align-items: center; }
.feature .icon { width: 36px; height: 36px; color: var(--blue); margin-bottom: 6px; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; font-size: .95rem; }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--blue); }
.scene h3 { margin: 0 0 4px; color: var(--blue); }
.scene p { margin: 0; }
.terminal-card img { margin-bottom: 8px; }
.terminal-card h3 { margin: 0; }
.terminal-card p { margin: 0 0 4px; }
.more { color: var(--blue); font-weight: 700; }
.check-list { list-style: none; padding: 0; margin: 0 0 12px; }
.check-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--border); position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: var(--blue); font-weight: 700; }
.check-list b { display: block; color: var(--navy); }
.table-scroll { overflow-x: auto; margin: 12px 0; }
table.plain { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
table.plain th, table.plain td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
table.plain th { background: var(--soft); font-weight: 500; }
table.compare { min-width: 620px; }
table.compare th.us { background: var(--navy); color: #fff; font-weight: 700; }
table.compare td.us { background: #eef6fc; font-weight: 700; }
.source { font-size: .8rem; color: var(--muted); }
.notice-wrap { padding: 28px 0 0; }
.notice { display: block; background: #fff8e6; border: 1px solid #f0d58a; border-radius: var(--radius); padding: 14px 16px; color: var(--ink); text-decoration: none; }
.notice:hover { border-color: #c9a227; }
.notice b { display: block; color: var(--navy); }
.notice span { font-size: .95rem; }
.scroll-hint { font-size: .8rem; color: var(--muted); margin: 0 0 -6px; }
.page-head .lead { margin: 8px 0 0; }

@media (min-width: 720px) {
  .scroll-hint { display: none; }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .grid.g2 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-img { height: 400px; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-links { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .hero { position: relative; overflow: hidden; }
  .hero-img { height: 600px; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,53,91,.94) 0%, rgba(18,53,91,.82) 42%, rgba(18,53,91,.1) 72%); }
  .hero-body { position: absolute; z-index: 1; top: 0; left: 50%; transform: translateX(-50%); width: 100%; padding-top: 44px; }
  .hero-body > * { max-width: 560px; }
  body { padding-bottom: 0; }
  .fixed-cta { display: none; }
  .nav-box { display: none; }
  .desktop-nav { display: flex; gap: 14px; font-size: .8rem; white-space: nowrap; }
  .desktop-nav a { color: var(--ink); text-decoration: none; }
}
