/* ===== MINOKICHI CALC 提案デモ 共通スタイル ===== */
:root {
  --indigo: #22385c;
  --indigo-d: #142238;
  --indigo-l: #3a5580;
  --gold: #c8912f;
  --gold-d: #a7741c;
  --gold-l: #f4e6c3;
  --gold-xl: #fbf4e2;
  --paper: #faf7f0;
  --paper-2: #f3eee2;
  --white: #ffffff;
  --line: #e4dccb;
  --text: #23262d;
  --muted: #666b75;
  --green: #2c7a58;
  --green-l: #e2f2ea;
  --red: #b64a3c;
  --red-l: #f8e6e2;
  --shadow: 0 10px 30px rgba(20, 34, 56, .10);
  --shadow-s: 0 3px 12px rgba(20, 34, 56, .08);
  --radius: 16px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.85; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--gold-d); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.45; margin: 0; color: var(--indigo-d); font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-s { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---- 上部リボン ---- */
.ribbon { background: var(--indigo-d); color: #e8dcc0; font-size: 13px; text-align: center; padding: 8px 16px; letter-spacing: .02em; }
.ribbon b { color: var(--gold-l); }

/* ---- ヘッダー ---- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--indigo-d); }
.brand:hover { color: var(--indigo-d); }
.emblem { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(145deg, var(--indigo-l), var(--indigo-d)); color: var(--gold-l); display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 22px; box-shadow: inset 0 0 0 2px rgba(200, 145, 47, .55); }
.brand-t { line-height: 1.2; }
.brand-t b { font-family: var(--serif); font-size: 17px; letter-spacing: .04em; display: block; }
.brand-t span { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; color: var(--text); font-weight: 500; }
.nav a:hover { background: var(--paper-2); color: var(--indigo-d); }
.nav a.on { background: var(--indigo); color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--indigo-d); }

/* ---- ボタン ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, #d9a443, var(--gold)); color: #241a06; box-shadow: 0 6px 18px rgba(200, 145, 47, .35); }
.btn-gold:hover { color: #241a06; box-shadow: 0 10px 24px rgba(200, 145, 47, .45); }
.btn-line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-dark { background: var(--indigo); color: #fff; }
.btn-dark:hover { background: var(--indigo-d); color: #fff; }
.btn-out { border-color: var(--indigo); color: var(--indigo); }
.btn-out:hover { background: var(--indigo); color: #fff; }
.btn-s { padding: 8px 16px; font-size: 13px; }

/* ---- ヒーロー ---- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--indigo-d); }
.hero::before { content: ""; position: absolute; inset: 0; background: url(../img/hero.jpg) center/cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 34, 56, .95) 26%, rgba(20, 34, 56, .62) 62%, rgba(20, 34, 56, .38) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); margin: 14px 0 18px; letter-spacing: .02em; }
.hero h1 em { font-style: normal; color: var(--gold); border-bottom: 3px solid rgba(200, 145, 47, .55); }
.hero p.lead { font-size: 17px; color: #e6e9f0; max-width: 34em; }
.for-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(200, 145, 47, .18); border: 1px solid rgba(200, 145, 47, .6); color: var(--gold-l); padding: 6px 16px; border-radius: 999px; font-size: 14px; letter-spacing: .04em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badges div { font-size: 13px; color: #cfd6e4; display: flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--gold); }
.hero-phone { display: flex; justify-content: center; }

/* ---- セクション ---- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--paper-2); }
.sec.dark { background: var(--indigo-d); color: #e6e9f0; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec-hd { text-align: center; margin-bottom: 48px; }
.sec-hd .eyebrow { font-size: 12px; letter-spacing: .28em; color: var(--gold-d); font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 10px; }
.sec.dark .sec-hd .eyebrow { color: var(--gold); }
.sec-hd h2 { font-size: clamp(24px, 3.2vw, 34px); }
.sec-hd p { color: var(--muted); max-width: 38em; margin: 14px auto 0; }
.sec.dark .sec-hd p { color: #b9c2d3; }
.gold-rule { display: block; width: 56px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }

/* ---- ページ見出し ---- */
.page-hd { position: relative; color: #fff; background: var(--indigo-d); overflow: hidden; }
.page-hd .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; }
.page-hd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 34, 56, .95) 35%, rgba(20, 34, 56, .5)); }
.page-hd .wrap { position: relative; z-index: 2; padding-top: 52px; padding-bottom: 56px; }
.page-hd h1 { color: #fff; font-size: clamp(26px, 3.6vw, 40px); margin-top: 10px; }
.page-hd p { color: #d9deea; max-width: 40em; margin: 14px 0 0; }
.crumb { font-size: 13px; color: #b9c2d3; }
.crumb a { color: var(--gold-l); }

/* ---- カード ---- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); overflow: hidden; }
.card-b { padding: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card .ph { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.ico-c { width: 46px; height: 46px; border-radius: 13px; background: var(--gold-xl); color: var(--gold-d); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; border: 1px solid var(--gold-l); }
.tag { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--gold-xl); color: var(--gold-d); border: 1px solid var(--gold-l); font-weight: 700; margin-right: 6px; }
.tag.free { background: var(--green-l); color: var(--green); border-color: #bfe0cf; }
.tag.paid { background: var(--gold-xl); color: var(--gold-d); }
.tag.ng { background: var(--red-l); color: var(--red); border-color: #efcbc4; }

/* ---- ご要望マップ ---- */
.req { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.req-i { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; position: relative; box-shadow: var(--shadow-s); }
.req-i .n { position: absolute; top: -12px; left: 16px; background: var(--indigo); color: var(--gold-l); font-family: var(--serif); font-weight: 700; font-size: 13px; padding: 1px 12px; border-radius: 999px; }
.req-i h4 { font-size: 15px; margin: 6px 0 6px; font-family: var(--sans); }
.req-i p { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.7; }
.req-i a { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

/* ---- 3in1 図 ---- */
.tri { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 12px; align-items: center; }
.tri-col { display: grid; gap: 14px; }
.tri-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-s); }
.tri-box small { display: block; color: var(--muted); font-size: 12px; }
.tri-arrow { text-align: center; color: var(--gold-d); font-size: 32px; }
.tri-app { background: linear-gradient(160deg, var(--indigo-l), var(--indigo-d)); color: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.tri-app h3 { color: #fff; font-size: 20px; }
.tri-app .mini { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tri-app .mini span { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.tri-app ul { margin-top: 14px; font-size: 14px; color: #dfe5f0; }
.tri-app li { padding-left: 22px; position: relative; margin: 6px 0; }
.tri-app li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }

/* ---- ステップ ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; position: relative; }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: -16px; left: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #241a06; font-family: var(--serif); font-weight: 900; display: grid; place-items: center; }
.step h4 { margin: 10px 0 6px; font-size: 16px; font-family: var(--sans); }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.7; }

/* ---- 回答マップ (アコーディオン) ---- */
.acc { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.acc-h { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 700; color: var(--indigo-d); }
.acc-h .q { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: var(--gold-l); display: grid; place-items: center; font-family: var(--serif); font-size: 14px; }
.acc-h .chev { margin-left: auto; transition: transform .25s; color: var(--gold-d); }
.acc.open .acc-h .chev { transform: rotate(180deg); }
.acc-b { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-b-in { padding: 0 22px 20px 66px; color: var(--text); font-size: 15px; }
.acc-b-in p { margin-bottom: .7em; }
.acc-b-in ul li { padding-left: 1.2em; position: relative; margin: 4px 0; }
.acc-b-in ul li::before { content: "・"; position: absolute; left: 0; color: var(--gold-d); }

/* ---- 表 ---- */
.tbl-w { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
.tbl th { background: var(--indigo); color: #fff; text-align: left; padding: 12px 16px; font-weight: 700; white-space: nowrap; }
.tbl td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #fcfaf4; }
.tbl td.mono, .mono { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--indigo-l); word-break: break-all; }
.tbl .ok { color: var(--green); font-weight: 700; }
.tbl .no { color: var(--red); font-weight: 700; }

/* ---- コールアウト ---- */
.note { border-left: 4px solid var(--gold); background: var(--gold-xl); padding: 16px 20px; border-radius: 0 12px 12px 0; font-size: 14.5px; }
.note.warn { border-left-color: var(--red); background: var(--red-l); }
.note.ok { border-left-color: var(--green); background: var(--green-l); }
.note b { color: var(--indigo-d); }
.note p:last-child { margin-bottom: 0; }

/* ---- 2列テキスト+画像 ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev .split-img { order: -1; }
.split-img img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---- 体験デモ ページ ---- */
.demo-wrap { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; padding: 48px 0 80px; }
.demo-stage { position: sticky; top: 92px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow-s); }
.seg button { border: 0; background: none; padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--indigo); color: #fff; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-s); margin-bottom: 22px; }
.panel h3 { font-size: 18px; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.panel h3 .ic { color: var(--gold-d); }
.panel .sub { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.guide li { display: flex; gap: 12px; margin: 10px 0; font-size: 14.5px; align-items: flex-start; }
.guide li b.n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #241a06; display: grid; place-items: center; font-size: 12px; margin-top: 2px; }
.ent-row { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.ent-row.h { border-top: 0; font-weight: 700; color: var(--muted); font-size: 12px; }
.pill { display: inline-block; font-size: 12px; padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.pill.on { background: var(--green-l); color: var(--green); }
.pill.off { background: #eceae4; color: #8a8a8a; }
.log { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: #101a2b; color: #b8f0d0; border-radius: 12px; padding: 14px 16px; height: 190px; overflow-y: auto; line-height: 1.7; }
.log .t { color: #7f93b5; }
.log .e { color: #ff9f8f; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.toggle-row:first-of-type { border-top: 0; }
.sw { position: relative; width: 46px; height: 26px; flex: none; }
.sw input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; z-index: 2; }
.sw i { position: absolute; inset: 0; background: #cfc9b9; border-radius: 999px; transition: .2s; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.sw input:checked + i { background: var(--green); }
.sw input:checked + i::after { transform: translateX(20px); }

/* ---- タイムライン (flow) ---- */
.tl { position: relative; margin-left: 20px; padding-left: 36px; border-left: 3px solid var(--gold-l); }
.tl-i { position: relative; margin-bottom: 26px; }
.tl-i .dot { position: absolute; left: -58px; top: 6px; width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); color: var(--gold-l); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; box-shadow: 0 0 0 5px var(--paper); }
.tl-c { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-s); }
.tl-h { width: 100%; background: none; border: 0; text-align: left; padding: 18px 22px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-h h3 { font-size: 18px; margin: 0; }
.tl-h .dur { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.tl-b { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.tl-b-in { padding: 0 22px 20px; font-size: 15px; }
.tl-b-in ul li { padding-left: 1.2em; position: relative; margin: 5px 0; }
.tl-b-in ul li::before { content: "・"; position: absolute; left: 0; color: var(--gold-d); }
.who { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.who.me { background: var(--indigo); color: #fff; }
.who.you { background: var(--gold); color: #241a06; }
.who.both { background: var(--paper-2); color: var(--indigo); border: 1px solid var(--line); }
.plat-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.gantt { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; overflow-x: auto; }
.gantt-in { min-width: 620px; }
.g-row { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 12px; margin: 10px 0; font-size: 13.5px; }
.g-track { position: relative; height: 22px; background: var(--paper-2); border-radius: 6px; }
.g-bar { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--indigo-l), var(--indigo)); color: #fff; font-size: 11px; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; }
.g-bar.you { background: linear-gradient(90deg, #dcae55, var(--gold)); color: #241a06; }
.g-bar.wait { background: repeating-linear-gradient(45deg, #d6cfbd, #d6cfbd 6px, #e6e0d0 6px, #e6e0d0 12px); color: #5c5642; }
.g-scale { display: grid; grid-template-columns: 180px 1fr; margin-bottom: 4px; }
.g-scale div:last-child { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.chk-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; cursor: pointer; transition: .15s; }
.chk-list li:hover { border-color: var(--gold); }
.chk-list li input { margin-top: 5px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.chk-list li.done { background: var(--green-l); border-color: #bfe0cf; }
.chk-list li small { display: block; color: var(--muted); }
.progress { height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 8px 0 18px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--green)); transition: width .3s; }

/* ---- 課金設計 ---- */
.prod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: relative; box-shadow: var(--shadow-s); }
.prod.best { border: 2px solid var(--gold); }
.prod .flag { position: absolute; top: -13px; right: 18px; background: var(--gold); color: #241a06; font-size: 12px; font-weight: 700; padding: 2px 14px; border-radius: 999px; }
.prod h4 { font-family: var(--sans); font-size: 16px; margin: 8px 0 2px; }
.prod .price { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--indigo-d); }
.prod .price small { font-size: 13px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.prod ul { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.prod ul li { margin: 4px 0; }
.sim { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow-s); }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fld { margin-bottom: 18px; }
.fld label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--indigo-d); }
.fld label span { color: var(--gold-d); font-family: var(--serif); }
.fld input[type=range] { width: 100%; accent-color: var(--gold); }
.fld select, .fld input[type=number] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; background: #fff; }
.res { background: var(--indigo-d); color: #fff; border-radius: 14px; padding: 24px; }
.res .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .2); font-size: 14px; color: #c5cee0; }
.res .row b { color: #fff; font-family: var(--serif); font-size: 17px; }
.res .big { font-size: 13px; color: var(--gold-l); margin-top: 16px; }
.res .big b { display: block; font-family: var(--serif); font-size: 34px; color: #fff; }
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mx-i { border: 2px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; cursor: pointer; background: #fff; transition: .15s; font-weight: 700; font-size: 14px; }
.mx-i .ic { display: block; margin: 0 auto 6px; font-size: 22px; color: var(--muted); }
.mx-i.on { border-color: var(--green); background: var(--green-l); }
.mx-i.on .ic { color: var(--green); }
.offer { margin-top: 16px; border-radius: 14px; background: var(--gold-xl); border: 1px solid var(--gold-l); padding: 18px 20px; font-size: 14.5px; }
.offer .o-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--gold-l); }
.offer .o-row:last-child { border-bottom: 0; }
.offer .o-row b { font-family: var(--serif); }

/* ---- 工数 ---- */
.hrs-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.hrs-row:first-child { border-top: 0; }
.hrs-row input { accent-color: var(--gold); width: 18px; height: 18px; }
.hrs-row small { display: block; color: var(--muted); font-size: 12.5px; }
.hrs-row .h { font-family: var(--serif); font-weight: 700; color: var(--indigo-d); white-space: nowrap; }
.hrs-tot { background: var(--indigo-d); color: #fff; border-radius: 14px; padding: 18px 22px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.hrs-tot b { font-family: var(--serif); font-size: 30px; color: var(--gold-l); }

/* ---- 実績 ---- */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-s); margin-bottom: 26px; }
.case-img { position: relative; background: #101a2b; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 260px; }
.case-b { padding: 28px 30px; }
.case-b h3 { font-size: 21px; margin: 8px 0 10px; }
.case-b p { font-size: 14.5px; color: var(--muted); }
.case-b .tags { margin-bottom: 4px; }
.case-b ul { font-size: 14px; margin: 10px 0 14px; }
.case-b ul li { padding-left: 1.2em; position: relative; margin: 4px 0; }
.case-b ul li::before { content: "・"; position: absolute; left: 0; color: var(--gold-d); }

/* ---- CTA / フッター ---- */
.cta { position: relative; color: #fff; text-align: center; padding: 80px 0; background: var(--indigo-d); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: url(../img/calc-close.jpg) center/cover; opacity: .18; }
.cta .wrap-s { position: relative; }
.cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.cta p { color: #cdd4e2; }
.ft { background: #0e1829; color: #9aa6bd; padding: 44px 0 30px; font-size: 13.5px; }
.ft-in { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ft a { color: #cdd4e2; }
.ft-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ft small { display: block; margin-top: 26px; color: #6f7c96; line-height: 1.7; }
.ft .brand { color: #fff; }
.ft .brand-t span { color: #8a97b0; }

/* ---- 出現アニメーション ---- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---- レスポンシブ ---- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-phone { order: 2; }
  .req, .steps, .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr; }
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-stage { position: static; }
  .split, .case, .sim-grid { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 0; }
  .tri { grid-template-columns: 1fr; }
  .tri-arrow { transform: rotate(90deg); }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 16px 18px; align-items: stretch; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .sec { padding: 60px 0; }
  .req, .steps, .g2, .g4 { grid-template-columns: 1fr; }
  .wrap, .wrap-s { padding: 0 18px; }
  .g-row, .g-scale { grid-template-columns: 110px 1fr; }
  .acc-b-in { padding-left: 22px; }
  .tl { margin-left: 14px; padding-left: 28px; }
  .tl-i .dot { left: -50px; width: 34px; height: 34px; }
  .brand-t span { display: none; }
}

/* ---- スライダー共通 ---- */
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; height: 22px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #e2d9c4; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .35); margin-top: -7px; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #e2d9c4; }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .35); }
