/* shokiyasu-hp v1 — スマホ優先・温かい色（コーラル×ネイビー）・外部依存なし */
:root {
  --coral: #ff7a59;
  --coral-deep: #e8603f;
  --coral-tint: #fff1ec;
  --navy: #1f2a44;
  --ink: #26303f;
  --ink-soft: #66718a;
  --line: #e7e3df;
  --paper: #fffaf6;
  --white: #fff;
  --mint: #e8f7f0;
  --mint-deep: #157a52;
  --linegreen: #04803a;
  --linegreen-deep: #036a30;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(31, 42, 68, .08);
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-h: "Zen Maru Gothic", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.7; font-size: 16px; padding-bottom: 76px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 700; line-height: 1.35; margin: 0 0 .5em; color: var(--navy); letter-spacing: .01em; }
h1 { font-size: clamp(26px, 6.4vw, 44px); }
h2 { font-size: clamp(22px, 5.4vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
small { font-weight: 500; }
.center { text-align: center; }
.note { font-size: 13px; color: var(--ink-soft); }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 700; border: 2px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; cursor: pointer; text-align: center; line-height: 1.3; }
.btn:active { transform: translateY(1px); }
.btn-line { background: var(--linegreen); color: #fff; box-shadow: 0 6px 18px rgba(4, 128, 58, .28); }
.btn-line:hover { background: var(--linegreen-deep); }
.btn-line::before { content: ""; width: 20px; height: 20px; flex: none; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3C6.5 3 2 6.7 2 11.2c0 4 3.6 7.4 8.4 8.1.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1.1.9.6 1.1-.5 6.1-3.6 8.3-6.1C21.4 14.6 22 13 22 11.2 22 6.7 17.5 3 12 3z"/></svg>') center/contain no-repeat; }
.btn-ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 18px 30px; font-size: 18px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* header */
.hd { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: rgba(255, 250, 246, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-brand { font-family: var(--font-h); font-weight: 900; font-size: 20px; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.hd-brand small { display: none; font-size: 11px; color: var(--ink-soft); font-weight: 500; margin-left: 2px; white-space: nowrap; }
@media (min-width: 520px) { .hd-brand small { display: inline; } }
.hd-brand { white-space: nowrap; }
.hd-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--coral); color: #fff; display: inline-grid; place-items: center; font-size: 16px; font-weight: 900; font-family: Arial, sans-serif; }
.hd-nav { display: none; gap: 18px; margin-left: auto; font-size: 14px; font-weight: 500; }
.hd-nav a:hover { color: var(--coral-deep); }
.hd-cta { margin-left: auto; }
@media (min-width: 900px) { .hd { padding: 12px 32px; } .hd-nav { display: flex; } .hd-cta { margin-left: 0; } }

/* sections */
.sec { padding: 56px 16px; }
.sec-in { max-width: 1080px; margin: 0 auto; }
.sec-in.narrow { max-width: 760px; }
.sec-lead { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more { color: var(--coral-deep); font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .sec { padding: 80px 32px; } }

/* hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, #ffe3d8 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #e6f3ff 0%, transparent 60%), var(--paper); padding: 48px 16px 40px; }
.hero-in { max-width: 1080px; margin: 0 auto; }
.hero-kicker { display: inline-block; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .08em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(28px, 7.6vw, 60px); font-weight: 900; line-height: 1.22; }
.hero-sub { font-size: 16px; color: var(--ink); max-width: 640px; }
.hero-sub b { color: var(--coral-deep); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.cta-note { font-size: 13px; color: var(--ink-soft); margin: -2px 0 10px; }
.hero-gift { font-size: 14px; color: var(--navy); background: #fff; display: inline-block; padding: 6px 12px; border-radius: 10px; border: 1px dashed var(--coral); }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 18px 0 0; font-size: 13px; color: var(--ink-soft); }
.hero-trust li::before { content: "✓ "; color: var(--mint-deep); font-weight: 700; }
@media (min-width: 900px) { .hero { padding: 88px 32px 72px; } .hero-sub { font-size: 18px; } }

/* compare */
.compare { background: #fff; }
.cmp { display: grid; gap: 16px; }
.cmp-col { border-radius: var(--radius); padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.cmp-col h3 { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.cmp-col h3 small { font-size: 12px; color: var(--ink-soft); font-family: var(--font); }
.cmp-col ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.cmp-col li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.cmp-col li.minus span:last-child { color: var(--coral-deep); font-weight: 700; }
.cmp-total { margin-top: 12px; font-family: var(--font-h); font-weight: 900; font-size: 30px; color: var(--navy); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cmp-our { background: var(--coral-tint); border-color: #ffd1c2; position: relative; }
.cmp-our .cmp-total { color: var(--coral-deep); }
.cmp-diff { font-size: 15px; background: var(--coral-deep); color: #fff; padding: 2px 10px; border-radius: 999px; }
@media (min-width: 760px) { .cmp { grid-template-columns: 1fr 1fr; } }

/* why */
.why-grid { display: grid; gap: 14px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.why-ic { font-size: 28px; margin-bottom: 6px; }
.why-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
@media (min-width: 760px) { .why-grid { grid-template-columns: 1fr 1fr; } }

/* cards */
.cards { display: grid; gap: 16px; margin: 8px 0 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .14s, box-shadow .14s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(31, 42, 68, .14); }
.card-ph { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e9eef7, #f7eee9); display: grid; place-items: center; color: var(--ink-soft); font-family: var(--font-h); font-weight: 900; font-size: 28px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-badges, .d-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 700; color: var(--mint-deep); background: var(--mint); padding: 2px 9px; border-radius: 999px; }
.badge-sample { color: #8a5a00; background: #fff3d6; }
.card-name { font-size: 17px; margin: 2px 0 0; }
.card-access { font-size: 13px; color: var(--ink-soft); margin: 0; }
.card-cost { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; background: var(--paper); border-radius: 12px; padding: 10px 12px; margin-top: 4px; }
.card-rent, .card-init { display: flex; flex-direction: column; font-family: var(--font-h); font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.3; }
.card-rent small, .card-init small { font-family: var(--font); font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.card-init b { color: var(--coral-deep); font-size: 22px; font-weight: 900; }
.card-spec { font-size: 12px; color: var(--ink-soft); margin: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* filters */
.filters { display: grid; gap: 10px; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); margin: 12px 0 20px; }
.filters label, .sim-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-soft); font-weight: 700; }
.filters select, .filters input, .sim-form select, .sim-form input[type=number] { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.count { font-size: 15px; color: var(--ink-soft); font-family: var(--font); font-weight: 500; }
.empty { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; color: var(--ink-soft); }
@media (min-width: 760px) { .filters { grid-template-columns: repeat(4, 1fr); } }

/* simulator */
.sim { background: #fff; }
.sim-box { display: grid; gap: 20px; }
.sim-form { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--radius); padding: 16px; border: 1px solid var(--line); }
.sim-form .chk { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); grid-column: 1 / -1; }
.sim-result { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px; }
.sim-result .r-total { font-family: var(--font-h); font-weight: 900; font-size: 34px; line-height: 1.2; }
.sim-result .r-total small { display: block; font-size: 13px; opacity: .8; font-weight: 500; }
.sim-result ul { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.sim-result li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); }
.sim-result li.minus span:last-child { color: #ffb59f; font-weight: 700; }
.sim-result .r-note { font-size: 12px; opacity: .75; margin: 12px 0 0; }
.sim-result .btn { margin-top: 14px; width: 100%; }
@media (min-width: 900px) { .sim-box { grid-template-columns: 1.2fr 1fr; align-items: start; } }

/* flow */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 18px 18px 18px 64px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 900; font-family: var(--font-h); }
.steps li b { color: var(--navy); font-size: 16px; }
.steps li span { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 64px 18px 18px; } .steps li::before { top: 16px; left: 18px; } }

/* faq */
.faq { background: #fff; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "＋"; color: var(--coral-deep); flex: none; }
details[open] summary::after { content: "−"; }
details p { font-size: 14px; color: var(--ink); padding-bottom: 14px; margin: 0; }
details a { color: var(--coral-deep); text-decoration: underline; }

/* cta sec */
.cta { background: linear-gradient(135deg, #fff1ec, #e6f3ff); }

/* detail */
.bc { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.d-catch { color: var(--ink-soft); }
.d-grid { display: grid; gap: 24px; }
.d-photos { display: grid; gap: 8px; margin-bottom: 24px; }
.d-photos img { border-radius: 12px; }
.ph-empty { aspect-ratio: 16 / 9; border-radius: var(--radius); background: linear-gradient(135deg, #e9eef7, #f7eee9); display: grid; place-items: center; color: var(--ink-soft); font-size: 13px; }
.ph-empty span { font-family: var(--font-h); font-weight: 900; font-size: 32px; color: var(--navy); }
.d-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.d-total b { font-family: var(--font-h); font-weight: 900; font-size: 38px; color: var(--coral-deep); }
.d-total span { font-size: 13px; color: var(--ink-soft); }
table.cost, table.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
table.cost th, table.cost td, table.spec th, table.spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cost th { font-weight: 500; color: var(--ink); width: 64%; }
table.cost td { text-align: right; font-weight: 700; white-space: nowrap; }
table.cost tr.minus td { color: var(--coral-deep); }
table.cost tfoot th, table.cost tfoot td { background: var(--coral-tint); border-bottom: 0; font-size: 17px; }
table.spec th { width: 34%; color: var(--ink-soft); font-weight: 500; background: var(--paper); }
.cost-notes, .bul { font-size: 13px; color: var(--ink-soft); padding-left: 1.2em; margin: 12px 0 28px; }
.bul { font-size: 15px; color: var(--ink); }
.plain { list-style: none; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.d-cta { margin: 12px 0 36px; text-align: center; }
.d-cta .btn { width: 100%; max-width: 480px; }
.side-box { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.side-rent, .side-init { display: flex; flex-direction: column; font-family: var(--font-h); font-weight: 700; font-size: 20px; color: var(--navy); line-height: 1.3; }
.side-rent small, .side-init small { font-family: var(--font); font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.side-init b { color: var(--coral-deep); font-size: 30px; font-weight: 900; }
.side-note { font-size: 12px; color: var(--ink-soft); margin: 0; text-align: center; }
@media (min-width: 900px) { .d-grid { grid-template-columns: 1fr 320px; align-items: start; } .d-side { position: sticky; top: 76px; } }

/* footer */
.ft { background: var(--navy); color: #d9deea; padding: 40px 16px 24px; font-size: 13px; }
.ft-in { max-width: 1080px; margin: 0 auto; display: grid; gap: 24px; }
.ft-brand { font-family: var(--font-h); font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 8px; }
.ft-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; align-content: start; }
.ft-nav a:hover { color: #fff; text-decoration: underline; }
.ft-note, .ft-copy { max-width: 1080px; margin: 18px auto 0; font-size: 12px; opacity: .75; }
@media (min-width: 760px) { .ft-in { grid-template-columns: 1.4fr 1fr; } }

/* promise (hero) */
.promise { list-style: none; counter-reset: p; display: grid; gap: 10px; padding: 0; margin: 22px 0 0; max-width: 720px; }
.promise li { counter-increment: p; background: #fff; border-radius: 12px; padding: 12px 14px 12px 50px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.promise li::before { content: counter(p); position: absolute; left: 12px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; font-family: var(--font-h); }
.promise li b { color: var(--navy); font-size: 15px; }
.promise li span { font-size: 13px; color: var(--ink-soft); }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(3, 1fr); max-width: none; } }

/* compare extras */
.cmp-col li span:last-child { white-space: nowrap; font-weight: 700; }
.cmp-col li.gone span { text-decoration: line-through; color: #b5543a; }
.cmp-col li.gone span:first-child::after { content: "任意"; text-decoration: none; display: inline-block; font-size: 10px; color: #fff; background: #b5543a; border-radius: 999px; padding: 0 6px; margin-left: 6px; vertical-align: middle; }
.cmp-total small { font-size: 13px; color: var(--ink-soft); font-family: var(--font); font-weight: 500; }
.neutral { background: #fff; border-left: 4px solid var(--navy); padding: 12px 16px; border-radius: 8px; font-size: 14px; color: var(--ink); margin-top: 20px; }

/* card v2 (4点セット) */
.card-ph { position: relative; }
.card-ph .card-badges { position: absolute; left: 10px; top: 10px; }
.card-init .months { font-family: var(--font); font-size: 13px; color: var(--ink-soft); font-weight: 700; }
.card-bd { border: 1px dashed var(--line); border-radius: 10px; padding: 0 12px; font-size: 13px; }
.card-bd summary { padding: 8px 0; font-size: 13px; color: var(--coral-deep); }
.card-bd summary::after { content: "▼"; font-size: 10px; }
.card-bd[open] summary::after { content: "▲"; }
.card-bd ul { list-style: none; margin: 0; padding: 0 0 8px; }
.card-bd li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.card-bd li.minus span:last-child { color: var(--coral-deep); font-weight: 700; }
.card-bd .note { font-size: 11px; padding-bottom: 8px; margin: 6px 0 0; }
.card-name a:hover { color: var(--coral-deep); }
.card-rent { font-size: 14px; margin: 0; color: var(--ink); }
.card-rent b { color: var(--navy); }
.card-upd { font-size: 11px; color: var(--ink-soft); margin: 0; }
.card-cta { margin-top: 6px; }

/* detail extras */
.d-upd { font-size: 12px; color: var(--navy); background: var(--mint); display: inline-block; padding: 4px 10px; border-radius: 8px; margin: 0 0 10px; font-weight: 700; }
.guide h2 { margin-top: 36px; }
.guide table.spec th { width: 30%; }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 246, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line); z-index: 30; }
.sticky-cta .btn { width: 100%; font-size: 15px; }
@media (min-width: 900px) { .sticky-cta { display: none; } body { padding-bottom: 0; } }

/* ---- v1.1 fixes (reviewer F1/F3) ---- */
.sim-form label, .sim-box > *, .d-grid > *, .sec-in > *, .card > * { min-width: 0; }
.sim-form input, .sim-form select, .filters input, .filters select { width: 100%; min-width: 0; }
table.cost, table.spec { table-layout: fixed; }
table.cost th { width: 62%; overflow-wrap: anywhere; }
table.cost td { white-space: normal; overflow-wrap: anywhere; }
table.spec td { overflow-wrap: anywhere; }
.cmp-col li span:first-child { overflow-wrap: anywhere; }
html, body { overflow-x: clip; }
table.cost tr.zero th, table.cost tr.zero td, .card-bd li.zero span, .cmp-col li.zero span { color: var(--ink-soft); font-weight: 500; }
.card-upd, .card-bd .note, .side-note, .ft-note, .ft-copy, .bc { font-size: 12px; }
.card-cta { padding: 12px 16px; }
.ft-nav a { padding: 8px 0; display: inline-block; }
.bc a { display: inline-block; padding: 6px 2px; }
summary { min-height: 44px; align-items: center; }
.card-ph img { width: 100%; height: 100%; object-fit: cover; }
.hd-menu { display: block; margin-left: auto; }
.hd-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 20px; padding: 0; min-height: 0; }
.hd-menu summary::after { content: none; }
.hd-menu[open] summary { background: var(--paper); }
.hd-menu .hd-menu-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 6px 16px 10px; box-shadow: var(--shadow); }
.hd-menu .hd-menu-list a { padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 500; }
.hd { position: sticky; }
@media (min-width: 900px) { .hd-menu { display: none; } .hd-cta { margin-left: 0; } }
@media (max-width: 899px) { .hd-cta { margin-left: 8px; } }
.hd-cta { white-space: nowrap; }
@media (max-width: 899px) { .hd { gap: 8px; padding: 8px 12px; } .hd-brand { font-size: 18px; } .hd-cta { padding: 10px 12px; font-size: 13px; } .hd-cta::before { width: 16px; height: 16px; } }

/* ---- v1.2 (F3 leftovers) ---- */
:root { --coral-text: #c24a2a; }
.card-bd summary, .card-bd li.minus span:last-child, .cmp-col li.minus span:last-child, table.cost tr.minus td, .more, .sim-result li.minus span:last-child { color: var(--coral-text); }
.more { padding: 10px 0; display: inline-block; }
.card-name a { display: inline-block; padding: 8px 0; }
.ft-nav a { padding: 12px 0; }
.bc a { padding: 12px 4px; }
.hd-cta { min-height: 44px; }
.sim-form .chk input { width: 22px; height: 22px; }
.sim-form .chk { min-height: 44px; }
