/* SHIROGANE CONNECT LP
   配色：ダークネイビー × 白、アクセントは「玄関灯」のアンバー1色
   既存HPへ移植する場合は、全体に作用するセレクタ（body, h1〜h3 など）をスコープ化してください */

:root {
  --navy-900: #0b1b33;
  --navy-800: #10254a;
  --navy-700: #17335c;
  --navy-500: #3d5a85;
  --mist: #f1f4f8;
  --line: #d9e0ea;
  --silver: #aeb9c9;
  --ink: #0f1d33;
  --ink-soft: #4a5a72;
  --white: #fff;
  --accent: #f2a93b;
  --accent-deep: #d88f1c;
  --line-green: #06c755;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 12px 32px -12px rgba(11, 27, 51, .22);
  --shadow-lift: 0 2px 4px rgba(11, 27, 51, .08), 0 22px 44px -16px rgba(11, 27, 51, .32);
  --wrap: 1160px;
  --gutter: 20px;
  --font: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.85; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, select, textarea, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; letter-spacing: .02em; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.pc { display: none; }
.center { text-align: center; }
.nb { display: inline-block; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--navy-900); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- プレビュー帯・ヘッダー ---------- */
.preview-bar { background: #fff4dc; color: #5a3d05; font-size: 12px; line-height: 1.6; padding: 8px var(--gutter); text-align: center; }
.preview-bar b { display: inline-block; background: #5a3d05; color: #fff4dc; border-radius: 4px; padding: 0 8px; margin-right: 8px; font-weight: 700; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 27, 51, .94); backdrop-filter: blur(10px); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--navy-900); flex: none; }
.brand-text { display: grid; line-height: 1.3; min-width: 0; }
.brand-text b { font-size: 13px; letter-spacing: .05em; font-weight: 900; white-space: nowrap; }
.brand-text small { font-size: 10px; color: var(--silver); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: none; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: #dbe3ee; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); border-bottom-color: var(--accent); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--radius-s); border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 6px 12px; font-size: 13px; white-space: nowrap; }
.btn-large { min-height: 60px; padding: 14px 30px; font-size: 17px; }
.btn-accent { background: var(--accent); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(242, 169, 59, .7); }
.btn-accent:hover { background: #ffbb52; }
.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .38); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: var(--white); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--mist); }
.btn-line { background: var(--line-green); color: var(--white); }
.btn-line:hover { background: #05b34c; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 5px; background: var(--navy-800); color: var(--white); margin-left: 10px; vertical-align: middle; white-space: nowrap; }
.tag-on-dark { background: rgba(255, 255, 255, .16); margin-left: 4px; }

/* ---------- 画像枠：画像が無い間は色面＋ラベル ---------- */
.shot { position: relative; overflow: hidden; background: var(--tone, var(--navy-700)); isolation: isolate; }
.shot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%, rgba(0, 0, 0, .18)); z-index: -1; }
.shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.shot.is-loaded img { opacity: 1; }
.shot-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px; text-align: center; color: rgba(255, 255, 255, .82); font-size: 12px; line-height: 1.5; pointer-events: none; }
.shot-label b { font-size: 13px; letter-spacing: .02em; color: var(--white); word-break: break-all; }
.shot-label i { font-style: normal; opacity: .8; }
.shot.is-loaded .shot-label, .is-live .shot-label { display: none; }
.image-note { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
.image-note-dark { color: var(--silver); }

/* ---------- 1. ヒーロー ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, #1b3d70 0%, var(--navy-900) 58%); color: var(--white); padding: 44px 0 56px; overflow: hidden; }
.hero-inner { display: grid; gap: 36px; }
.hero-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 10.6vw, 60px); font-weight: 900; line-height: 1.25; letter-spacing: .03em; text-wrap: nowrap; }
.hero-lead { margin-top: 18px; font-size: 16px; color: #d5deea; max-width: 30em; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14px; color: #d5deea; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { color: var(--accent); }
.hero-frames { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.frame { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.frame-offset { margin-top: 36px; }
/* 四隅のブラケット＝カメラのフレーミングを示すこのページの目印 */
.frame::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none; z-index: 2;
  --b: 2px; --l: 18px; --c: var(--accent);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--b), linear-gradient(var(--c), var(--c)) top left / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--b), linear-gradient(var(--c), var(--c)) top right / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--b), linear-gradient(var(--c), var(--c)) bottom left / var(--b) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--b), linear-gradient(var(--c), var(--c)) bottom right / var(--b) var(--l);
  background-repeat: no-repeat;
}
.frame-tag { position: absolute; left: 20px; bottom: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(11, 27, 51, .82); backdrop-filter: blur(6px); color: var(--white); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.frame-tag .i { color: var(--accent); }
.frame .shot-label { padding-bottom: 56px; }

/* ---------- セクション共通 ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: left; }
.section-head h2 { font-size: clamp(26px, 6.6vw, 40px); font-weight: 900; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
.section-navy .section-head p { color: #c5d0df; }
.section-cta { margin-top: 36px; display: grid; gap: 14px; justify-items: stretch; text-align: center; }
.section-cta p { font-weight: 700; }
.fine { font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.sub-label { font-weight: 700; font-size: 14px; color: var(--navy-500); margin-bottom: 10px; }
.sub-label-dark { color: var(--accent); }

/* ---------- 2. お悩み ---------- */
.worry-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.worry { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 190px; display: flex; color: var(--white); }
.worry .shot { position: absolute; inset: 0; }
.worry .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 51, .15) 0%, rgba(11, 27, 51, .55) 45%, rgba(11, 27, 51, .92) 100%); }
.worry .shot-label { justify-content: flex-start; align-items: flex-end; text-align: right; z-index: 1; font-size: 11px; opacity: .85; }
.worry-text { position: relative; z-index: 2; margin-top: auto; padding: 20px; }
.worry-text h3 { font-size: 19px; }
.worry-text h3::before { content: ""; display: block; width: 22px; height: 3px; background: var(--accent); margin-bottom: 10px; border-radius: 2px; }
.worry-text p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: #dbe3ee; }

/* ---------- 3. 3本柱 ---------- */
.pillars { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.pillar { padding: 32px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.pillar-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); font-size: 22px; }
.pillar-name { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--accent); }
.pillar h3 { margin-top: 4px; font-size: 23px; }
.pillar > p:not(.pillar-name) { margin-top: 12px; color: #c5d0df; font-size: 15px; }
.ticks { margin-top: 16px; display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .i { color: var(--accent); }
.partner-note { margin-top: 32px; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 20px; font-size: 14px; line-height: 1.8; color: #c5d0df; }
.partner-note .i { color: var(--accent); font-size: 22px; margin-top: 2px; }
.partner-note b { display: block; color: var(--white); margin-bottom: 4px; font-size: 15px; }

/* ---------- 4. 活用シーン ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 480px; margin: 0 auto 28px; }
.tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 0; border-radius: var(--radius-s); background: transparent; font-weight: 700; font-size: 15px; color: var(--ink-soft); cursor: pointer; transition: background-color .18s, color .18s; }
.tabs button[aria-selected="true"] { background: var(--navy-800); color: var(--white); }
.tabs button[aria-selected="true"] .i { color: var(--accent); }
.scene-grid { display: grid; gap: 18px; }
.scene { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.scene .shot { aspect-ratio: 3 / 2; }
.scene-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.scene-body h3 { font-size: 19px; }
.scene-body p { margin-top: 8px; font-size: 15px; line-height: 1.8; color: var(--ink-soft); flex: 1; }
.link-btn { margin-top: 14px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--navy-800); cursor: pointer; border-bottom: 2px solid var(--accent); }
.link-btn .i { font-size: 14px; transition: transform .18s; }
.link-btn:hover .i { transform: translateX(3px); }
.calm-note { margin-top: 24px; background: var(--white); border-left: 4px solid var(--navy-800); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 18px 20px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.calm-note b { display: block; color: var(--ink); margin-bottom: 2px; }

/* ---------- 5. 導入の流れ ---------- */
.flow { display: grid; gap: 0; counter-reset: none; }
.flow li { position: relative; padding: 0 0 30px 68px; }
.flow li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::before { display: none; }
.flow-num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-weight: 900; font-size: 20px; box-shadow: 0 0 0 5px var(--white), 0 0 0 6px var(--line); }
.flow li:first-child .flow-num { background: var(--accent); color: var(--navy-900); }
.flow h3 { font-size: 19px; padding-top: 8px; }
.flow p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.flow + .fine { margin-top: 28px; }

/* ---------- 6. Wi-Fi・通信 ---------- */
.connect { display: grid; gap: 28px; align-items: center; }
.connect-shot { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }
.connect-copy h2 { font-size: clamp(23px, 5.8vw, 32px); font-weight: 900; }
.connect-copy > p:not(.sub-label):not(.fine):not(.image-note) { margin-top: 14px; color: var(--ink-soft); font-size: 15px; }
.undecided { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.undecided div { background: var(--white); border: 1px dashed var(--silver); border-radius: var(--radius-s); padding: 10px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.undecided dt { font-size: 13px; color: var(--ink-soft); }
.undecided dd { font-weight: 700; }
.connect-copy .fine { margin-top: 16px; }
.connect-copy .fine b { color: var(--ink); }
.connect-copy .btn { margin-top: 20px; width: 100%; }

/* ---------- 7. 建物 ---------- */
.building { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); box-shadow: var(--shadow); display: flex; min-height: 340px; }
.building-shot { position: absolute; inset: 0; }
.building-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 27, 51, .94) 0%, rgba(11, 27, 51, .8) 55%, rgba(11, 27, 51, .35) 100%); }
.building-shot .shot-label { align-items: flex-end; justify-content: flex-start; text-align: right; z-index: 1; font-size: 11px; }
.building-copy { position: relative; z-index: 2; padding: 32px 24px; align-self: center; max-width: 560px; }
.building-copy h2 { font-size: clamp(23px, 5.8vw, 32px); font-weight: 900; }
.building-copy > p:not(.sub-label) { margin-top: 12px; color: #dbe3ee; font-size: 15px; }
.building-copy .btn { margin-top: 22px; }

/* ---------- 8. 相談3ステップ ---------- */
.consult { background: radial-gradient(110% 80% at 10% 0%, #1b3d70 0%, var(--navy-900) 60%); }
.consult-inner { display: grid; gap: 32px; }
.consult-intro h2 { font-size: clamp(28px, 7vw, 42px); font-weight: 900; }
.consult-intro > p { margin-top: 14px; color: #c5d0df; }
.consult-points { margin-top: 20px; display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.consult-points li { display: flex; align-items: center; gap: 8px; }
.consult-points .i { color: var(--accent); }
.consult-intro .consult-preview { margin-top: 22px; font-size: 13px; line-height: 1.75; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-s); padding: 12px 14px; color: #dbe3ee; }
.consult-card { background: var(--white); color: var(--ink); border-radius: 18px; padding: 22px 20px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); scroll-margin-top: 90px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 24px; font-size: 13px; font-weight: 700; color: var(--silver); }
.progress li { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 4px solid var(--line); transition: border-color .25s, color .25s; }
.progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--white); font-size: 13px; flex: none; transition: background-color .25s; }
.progress li.current { color: var(--ink); border-top-color: var(--accent); }
.progress li.current span { background: var(--navy-800); }
.form-step h3 { font-size: 21px; margin-bottom: 18px; outline: none; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.choice-row label { position: relative; cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; inset: 0; }
.choice-row span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border: 2px solid var(--line); border-radius: var(--radius-s); font-weight: 700; font-size: 15px; text-align: center; transition: border-color .18s, background-color .18s; }
.choice-row span .i { font-size: 22px; color: var(--navy-500); }
.choice-row input:checked + span { border-color: var(--navy-800); background: #eef2f8; }
.choice-row input:checked + span .i { color: var(--accent-deep); }
.choice-row input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.field select, .copy-fallback textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-s); background: var(--white); font-size: 16px; font-weight: 400; }
.field select:focus-visible { border-color: var(--navy-800); }
fieldset legend { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; padding: 0; }
.checks { display: grid; gap: 8px; margin-bottom: 18px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; inset: 0; }
.checks span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius-s); font-size: 15px; transition: border-color .18s, background-color .18s; }
.checks span::before { content: ""; width: 20px; height: 20px; flex: none; border: 2px solid var(--silver); border-radius: 5px; background: var(--white) center / 14px no-repeat; }
.checks input:checked + span { border-color: var(--navy-800); background: #eef2f8; font-weight: 700; }
.checks input:checked + span::before { border-color: var(--navy-800); background-color: var(--navy-800); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E"); }
.checks input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form-hint { font-size: 13px; color: var(--ink-soft); }
.btn-back { min-height: 48px; padding: 8px 6px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.summary { white-space: pre-wrap; background: var(--mist); border-radius: var(--radius-s); border-left: 4px solid var(--accent); padding: 16px; font-size: 15px; line-height: 1.9; }
.summary-caption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.destinations { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.dest-title { font-weight: 700; font-size: 15px; }
.tel-num { font-weight: 900; letter-spacing: .04em; margin-left: 4px; }
.channel-note { display: grid; gap: 6px; margin-top: 4px; }
.channel-note li { padding-left: 1em; text-indent: -1em; }
.channel-note li::before { content: "・"; }
.direct { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px; font-size: 14px; color: #c5d0df; }
.direct-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.direct-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, .38); border-radius: var(--radius-s); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; transition: border-color .18s, background-color .18s; }
.direct-links a:hover { border-color: var(--accent); background: rgba(255, 255, 255, .06); }
.copy-fallback { display: grid; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 700; }
.copy-fallback textarea { min-height: 0; font-size: 14px; line-height: 1.7; }

/* ---------- 9. FAQ ---------- */
.faq { display: grid; gap: 8px; }
.section-head-left { margin: 0 0 20px; }
.section-head-left .btn { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; padding: 20px 2px; font-weight: 700; font-size: 16px; line-height: 1.6; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-800); color: var(--accent); font-size: 14px; font-weight: 900; }
.faq-list summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 8px 4px 0 auto; border-right: 2px solid var(--navy-500); border-bottom: 2px solid var(--navy-500); transform: rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq-list details p { padding: 0 2px 22px 42px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 10. 運営者情報・クロージング・フッター ---------- */
.operator { display: grid; gap: 24px; }
.operator h2 { font-size: 22px; font-weight: 900; }
.operator-list { margin-top: 16px; border-top: 1px solid var(--line); }
.operator-list div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.operator-list dt { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.operator-list a { font-weight: 700; color: var(--navy-800); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sponsor { background: var(--white); border-radius: var(--radius); padding: 20px 22px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); align-self: start; }
.closing { background: var(--navy-800); color: var(--white); padding: 56px 0; }
.closing-inner { display: grid; gap: 22px; }
.closing h2 { font-size: clamp(24px, 6.4vw, 36px); font-weight: 900; }
.footer { background: var(--navy-900); color: var(--silver); padding: 40px 0 110px; font-size: 13px; }
.footer-inner { display: grid; gap: 20px; }
.footer .brand-text b { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .footer-links button { color: #dbe3ee; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 14px; }
.footer-links a:hover, .footer-links button:hover { color: var(--white); text-decoration: underline; }
.footer-fine { line-height: 1.8; }

/* ---------- 11. 追従CTA（スマホ） ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 27, 51, .94); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); animation: rise .28s ease-out; }
.sticky-cta .btn { width: 100%; min-height: 54px; }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- ダイアログ・トースト ---------- */
dialog { border: 0; border-radius: 18px; padding: 26px 24px; max-width: min(560px, calc(100vw - 32px)); color: var(--ink); box-shadow: var(--shadow-lift); }
dialog::backdrop { background: rgba(11, 27, 51, .6); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dialog-head h2 { font-size: 19px; }
.dialog-head button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); font-size: 22px; cursor: pointer; }
dialog p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 70; width: max-content; max-width: calc(100vw - 32px); background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius-s); font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lift); }

/* ---------- スクロール表示 ---------- */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out var(--delay, 0ms), transform .6s ease-out var(--delay, 0ms); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* ---------- タブレット以上 ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { white-space: nowrap; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
  .worry { min-height: 230px; }
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .section-cta { justify-items: center; }
  .connect-copy .btn { width: auto; }
  .choice-row span { flex-direction: row; justify-content: center; }
  .checks { grid-template-columns: 1fr 1fr; }
  .consult-card { padding: 32px; }
  .building-copy { padding: 48px; }
  .closing-inner { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- PC ---------- */
@media (min-width: 960px) {
  body { font-size: 17px; }
  .pc { display: inline; }
  .nav { display: flex; }
  .brand-text small { font-size: 11px; }
  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
  .hero-lead { font-size: 17px; }
  .brand-text b { font-size: 15px; letter-spacing: .08em; }
  .btn-small { padding: 6px 16px; font-size: 14px; }
  .hero-frames { gap: 18px; }
  .frame-offset { margin-top: 64px; }
  .section { padding: 112px 0; }
  .section-tight { padding: 80px 0; }
  .section-head { text-align: center; margin-bottom: 56px; max-width: 840px; }
  .section-head h2::after { margin-inline: auto; }
  .section-head-left { text-align: left; margin: 0; }
  .section-head-left h2::after { margin-inline: 0; }
  .section-head-left .btn { margin-top: 28px; }
  .section-cta { margin-top: 56px; }
  .worry-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .worry { min-height: 280px; }
  .worry-text { padding: 26px; }
  .worry-text h3 { font-size: 21px; }
  .pillars { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .pillar { padding: 8px 36px; border-bottom: 0; border-left: 1px solid rgba(255, 255, 255, .16); }
  .pillar:first-child { padding-left: 0; border-left: 0; }
  .pillar:last-child { padding-right: 0; }
  .pillar h3 { font-size: 25px; }
  .partner-note { margin-top: 56px; padding: 26px 30px; font-size: 15px; }
  .scene-grid { gap: 24px; }
  .scene-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .scene-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .scene:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .tabs { margin-bottom: 40px; }
  .calm-note { margin-top: 36px; }
  .flow { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .flow li { padding: 76px 0 0; }
  .flow li::before { left: 60px; right: -28px; top: 27px; bottom: auto; width: auto; height: 2px; }
  .flow-num { width: 56px; height: 56px; font-size: 22px; }
  .flow h3 { padding-top: 0; font-size: 20px; }
  .connect { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .undecided { grid-template-columns: repeat(4, 1fr); }
  .undecided div { flex-direction: column; align-items: flex-start; gap: 0; }
  .building { min-height: 400px; }
  .building-copy { padding: 64px; }
  .consult-inner { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .consult-intro { position: sticky; top: 110px; }
  .consult-card { padding: 40px; }
  .faq { grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
  .operator { grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
  .footer { padding-bottom: 48px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-fine, .copyright { grid-column: 1 / -1; }
  .sticky-cta { display: none !important; }
  .toast { bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- サービス切り替えバー（防犯カメラ ⇄ Wi-Fi） ---------- */
.svc-bar { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-800); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.svc-bar a { display: flex; align-items: center; justify-content: center; min-height: 44px; color: #c5d0df; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.svc-bar a.on { color: var(--white); border-bottom-color: var(--accent); background: rgba(255, 255, 255, .05); }
.svc-bar a:hover { color: var(--white); }

/* ---------- Wi-Fiページ ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(242, 169, 59, .16); border: 1px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-wifi .hero-visual .shot { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.use-grid { display: grid; gap: 14px; }
.use { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: start; }
.use .ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.use h3 { font-size: 18px; }
.use p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.spec { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec div { border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; color: #dbe3ee; }
.spec b { display: block; color: var(--white); font-size: 17px; }
.plans { display: grid; gap: 12px; }
.plan { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; position: relative; }
.plan.main { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.plan .gb { font-size: 26px; font-weight: 900; line-height: 1.2; }
.plan .gb small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.plan .for { font-size: 13px; color: var(--ink-soft); }
.plan .yen { font-size: 28px; font-weight: 900; text-align: right; line-height: 1.2; white-space: nowrap; }
.plan .yen small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.plan .rec { position: absolute; top: -12px; left: 16px; background: var(--accent); color: var(--navy-900); font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 999px; }
.cost-box { margin-top: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.cost-box h3 { font-size: 18px; margin-bottom: 10px; }
.cost-box dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cost-box dl div:last-child { border-bottom: 0; font-weight: 900; font-size: 17px; }
.cost-box dd { font-weight: 700; white-space: nowrap; }
.price-note { margin-top: 18px; background: #fff4dc; border-radius: var(--radius-s); padding: 14px 16px; font-size: 14px; line-height: 1.8; color: #5a3d05; }
.price-note b { color: #3d2a03; }
.cross { display: grid; gap: 22px; align-items: center; background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.cross h2 { font-size: clamp(22px, 5.6vw, 30px); font-weight: 900; }
.cross p { margin-top: 10px; color: #c5d0df; font-size: 15px; }
.partner-box { display: grid; gap: 24px; }
.partner-list { display: grid; gap: 10px; margin-top: 16px; }
.partner-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.partner-list .i { color: var(--accent); margin-top: 5px; }
.partner-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 24px; }
.partner-card h3 { font-size: 19px; }
.partner-card p { margin-top: 8px; font-size: 14px; color: #c5d0df; line-height: 1.8; }
.partner-card .btn { margin-top: 18px; width: 100%; }
.contact-row { display: grid; gap: 12px; margin-top: 26px; }
.contact-row .fine { color: #c5d0df; }
.tel-line { font-size: 15px; color: #dbe3ee; }
.tel-line a { color: var(--white); font-weight: 900; font-size: 22px; letter-spacing: .03em; text-decoration: none; margin: 0 6px; }
@media (min-width: 640px) {
  .use-grid { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: repeat(4, 1fr); }
  .contact-row { grid-template-columns: auto auto; justify-content: start; align-items: center; }
  .contact-row .fine { grid-column: 1 / -1; }
  .partner-card .btn { width: auto; }
}
@media (min-width: 960px) {
  .svc-bar { max-width: none; }
  .svc-bar a { min-height: 48px; font-size: 15px; }
  .use-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plans { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .plan { grid-template-columns: 1fr; text-align: center; padding: 26px 12px 22px; }
  .plan .yen { text-align: center; margin-top: 8px; }
  .plan .rec { left: 50%; transform: translateX(-50%); }
  .cost-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .cost-wrap .price-note { margin-top: 24px; }
  .cross { grid-template-columns: 1fr auto; padding: 44px 48px; }
  .partner-box { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
}
.hero-wifi h1 { font-size: clamp(31px, 8.6vw, 60px); }

/* ---------- Wi-Fi：定額1プランの表示 ---------- */
.plans.one { display: block; }
.plan-one { border: 2px solid var(--accent); border-radius: var(--radius); box-shadow: var(--shadow-lift); background: var(--white); overflow: hidden; display: grid; }
.po-price { background: var(--navy-900); color: var(--white); padding: 26px 22px; text-align: center; }
.po-label { font-size: 14px; font-weight: 700; color: var(--accent); }
.po-yen { font-size: clamp(46px, 13vw, 64px); font-weight: 900; line-height: 1.15; letter-spacing: .01em; }
.po-sub { font-size: 14px; color: #dbe3ee; margin-top: 4px; }
.po-list { padding: 20px 22px; display: grid; gap: 12px; align-content: center; }
.po-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); }
.po-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b33' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 13px no-repeat; }
.po-list b { color: var(--ink); }
.cost-box .pay { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.cost-box .pay b { color: var(--ink); }
@media (min-width: 960px) {
  .plan-one { grid-template-columns: 1fr 1.3fr; }
  .po-price { padding: 40px 28px; display: grid; align-content: center; }
  .po-list { padding: 32px 40px; }
  .po-list li { font-size: 17px; }
}

/* ---------- Wi-Fi：2プランの表示 ---------- */
.plans.n2, .plans.n3, .plans.n1 { display: grid; gap: 22px; grid-template-columns: 1fr; }
.pcard { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto auto auto auto 1fr; text-align: center; }
.pcard.main { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.pcard header { background: var(--mist); padding: 16px 18px 14px; }
.pcard.main header { background: var(--navy-900); color: var(--white); }
.pcard h3 { font-size: 21px; font-weight: 900; line-height: 1.3; }
.pc-cap { font-size: 15px; font-weight: 700; margin-top: 2px; color: var(--ink-soft); }
.pcard.main .pc-cap { color: var(--accent); }
.pc-yen { font-size: clamp(42px, 12vw, 54px); font-weight: 900; line-height: 1.15; padding-top: 18px; }
.pc-yen small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.pc-same { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.pc-who { margin: 14px 18px 0; padding: 10px 12px; background: #fff8e8; border-radius: 8px; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.pcard .po-list { text-align: left; padding: 18px 20px 22px; align-content: start; }
.pcard .po-list li { font-size: 15px; }
.plan-guide { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--accent); background: var(--mist); border-radius: 0 8px 8px 0; font-size: 15.5px; font-weight: 700; line-height: 1.75; }
@media (min-width: 720px) { .plans.n2 { grid-template-columns: 1.08fr 1fr; align-items: stretch; } }

/* ---------- Wi-Fi：ほかのサービスとの比較（種類で比べる） ---------- */
.compare { margin-top: 44px; }
.compare h3 { font-size: clamp(22px, 5.6vw, 28px); font-weight: 900; }
.compare-lead { margin-top: 10px; font-size: 15.5px; color: var(--ink-soft); max-width: 46em; }
.compare-lead b { color: var(--ink); }
.compare-legend { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.9; }
.compare-legend span { font-weight: 900; font-size: 15px; margin-right: 2px; }
.compare-scroll { margin-top: 14px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; line-height: 1.45; }
.compare-table th, .compare-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.compare-table thead th { background: var(--mist); font-size: 12.5px; vertical-align: middle; padding: 12px 3px; }
.compare-table thead th:first-child { width: 19%; }
.compare-table thead th b { display: block; font-size: 12px; white-space: nowrap; font-weight: 900; }
.compare-table thead th small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-soft); margin-top: 2px; line-height: 1.35; }
.compare-table thead th.us { background: var(--navy-900); color: var(--white); width: 24%; }
.compare-table thead th.us small { color: var(--accent); }
.compare-table tbody th { font-size: 12px; font-weight: 700; color: var(--ink-soft); background: #fafbfd; text-align: left; padding-left: 8px; vertical-align: middle; }
.compare-table td.us { background: #fff8e8; box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent); }
.compare-table tr:last-child td.us { box-shadow: inset 2px 0 0 var(--accent), inset -2px 0 0 var(--accent), inset 0 -2px 0 var(--accent); }
.compare-table .mk { display: block; font-size: 24px; font-weight: 900; line-height: 1.1; }
.compare-table .tx { display: block; font-size: 11px; color: var(--ink-soft); margin-top: 3px; }
.compare-table td.us .tx { color: var(--ink); font-weight: 700; }
.m-best .mk, span.m-best { color: #d98a00; }
.m-good .mk, span.m-good { color: #2d6cb5; }
.m-weak .mk, span.m-weak { color: #8a94a3; }
.m-no .mk, span.m-no { color: #b9c0cb; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare .fine { margin-top: 12px; }
@media (min-width: 720px) {
  .compare-table th, .compare-table td { padding: 14px 10px; }
  .compare-table thead th b { font-size: 16px; }
  .compare-table thead th small { font-size: 12px; }
  .compare-table tbody th { font-size: 14.5px; padding-left: 16px; }
  .compare-table .mk { font-size: 28px; }
  .compare-table .tx { font-size: 13.5px; }
}
.compare-table thead th.us b { white-space: normal; line-height: 1.25; }
