/* ─────────────────────────────────────────────
   guide マーケティングサイト
   配色は営業資料（guide提案資料）と同じ：スレートの放射グラデーション＋ミント
   ───────────────────────────────────────────── */
:root {
  --slate-center: #5e7492;
  --slate-edge: #303740;
  --ink: #0f1a24;
  --navy: #1d2a38;
  --text: #2a3542;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f3f6f8;
  --mint: #46dbb8;
  --mint-deep: #17a383;
  --mint-tint: #e6faf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 36, .06), 0 8px 24px rgba(15, 26, 36, .08);
  --shadow-lg: 0 2px 6px rgba(15, 26, 36, .08), 0 24px 60px rgba(15, 26, 36, .18);
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --font-num: "Inter", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
.screen-video { width: 100%; background: #fafafa; }
.phone .screen-video { aspect-ratio: 390 / 844; object-fit: cover; background: #f7f6f2; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.4; margin: 0; letter-spacing: .02em; text-wrap: balance; }
.sub, .lead, .timeline p, .feature p, .pillar p { text-wrap: pretty; }
p { margin: 0; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }
.sp { display: none; }

/* ── ボタン ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; border-radius: 999px; font-weight: 700; letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-sm { padding: .55em 1.2em; font-size: .85rem; }
.btn-lg { padding: 1em 2em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 8px 24px rgba(70, 219, 184, .35); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(70, 219, 184, .5); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ── ヘッダー ── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  /* 一番上がシルバーのカウントダウンなので、白い文字が読めるよう最初から濃い背景にする */
  background: rgba(29, 38, 50, .92); backdrop-filter: blur(12px);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(29, 38, 50, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-num); font-weight: 700; letter-spacing: .14em; color: #fff; font-size: 1rem; }
.brand-mark { width: 28px; height: 28px; color: var(--mint); }
/* サービス名「guide」は提案資料・チラシと同じセリフ体の小文字で表示する */
.brand-word { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: 0; font-size: 1.5rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--mint); transform: scaleX(0); transition: transform .25s ease; }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ── 暗い背景（資料と同じスレートの放射グラデーション） ── */
.dark {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, .86);
  background: radial-gradient(ellipse at 50% 45%, var(--slate-center) 0%, #44546a 45%, var(--slate-edge) 100%);
}
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .sub, .dark .lead { color: rgba(255, 255, 255, .78); }
.dark .eyebrow { color: var(--mint); }

/* 資料と同じミントの細い二重円 */
.rings { position: absolute; width: 720px; height: 720px; left: -260px; top: -220px; pointer-events: none; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(70, 219, 184, .35); }
.rings span + span { inset: 48px; border-color: rgba(70, 219, 184, .2); }
.rings-right { left: auto; right: -280px; top: auto; bottom: -300px; }

/* ── ヒーロー ── */
.hero { padding: 104px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .45em 1.1em; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(70, 219, 184, .45);
  font-size: .82rem; color: #fff; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(70, 219, 184, .25); }
.hero h1 { font-size: clamp(2rem, 3.7vw, 3.1rem); font-weight: 900; margin: 22px 0 22px; line-height: 1.3; }
.mint { color: var(--mint); }
.lead { font-size: 1.02rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; }
.hero-points li { display: flex; align-items: center; gap: .5em; color: rgba(255, 255, 255, .9); }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230f1a24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }

.hero-visual { position: relative; padding-bottom: 40px; }
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); }
.browser-bar { height: 28px; background: #eef1f4; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6dd; }
.hero-visual .browser { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.phone {
  position: absolute; right: -10px; bottom: 0; width: 34%; margin: 0;
  border: 7px solid #111821; border-radius: 26px; overflow: hidden; background: #f7f6f2;
  box-shadow: var(--shadow-lg);
}

/* ── セクション共通 ── */
.section { padding: 104px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { font-family: var(--font-num); font-weight: 700; font-size: .78rem; letter-spacing: .32em; color: var(--mint-deep); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; }
.sub { color: var(--muted); margin-top: 16px; }

/* ── 義務化タイムライン ── */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 15px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--line), var(--mint)); }
.timeline li { position: relative; padding-top: 48px; text-align: center; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; border: 3px solid #c3ccd6; }
.timeline li.now::before { border-color: var(--mint); }
.timeline li.goal::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 8px rgba(70, 219, 184, .2); }
.tl-date { display: block; font-weight: 700; color: var(--muted); font-size: .9rem; }
.timeline .goal .tl-date { color: var(--mint-deep); font-size: 1.05rem; }
.timeline strong { display: block; font-size: 1.15rem; color: var(--ink); margin: 6px 0 8px; }
.timeline p { color: var(--muted); font-size: .92rem; max-width: 22em; margin: 0 auto; }

/* ── 義務化カウントダウン（シルバーの背景＋濃紺の数字パネル＋警告色の赤で緊迫感を出す） ── */
.countdown-section {
  --alert: #e63946; --alert-rgb: 230, 57, 70;
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f2f4f7 0%, #d7dde4 55%, #e8ecf0 100%);
}
.countdown-section .rings span { border-color: rgba(29, 42, 56, .14); }
.countdown-section .rings span + span { border-color: rgba(29, 42, 56, .08); }
.countdown-section .section-head { margin-bottom: 44px; position: relative; }
.countdown-section .section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.countdown-section .sub { color: var(--text); }
.pc { display: inline; }
.alert-pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .4em 1.1em; margin-bottom: 18px; border-radius: 999px;
  font-family: var(--font-num); font-weight: 700; font-size: .78rem; letter-spacing: .3em; color: var(--alert);
  background: rgba(var(--alert-rgb), .08); border: 1px solid rgba(var(--alert-rgb), .5);
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); animation: live-pulse 1.4s ease-out infinite; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--alert-rgb), .6); }
  100% { box-shadow: 0 0 0 12px rgba(var(--alert-rgb), 0); }
}
.countdown { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; position: relative; }
.cd-unit {
  background: linear-gradient(180deg, #2a3746 0%, #17212c 100%); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 22px 12px 16px; text-align: center;
  box-shadow: 0 2px 4px rgba(15, 26, 36, .12), 0 14px 30px rgba(15, 26, 36, .22);
}
.cd-unit:first-child { border: 2px solid var(--alert); box-shadow: 0 0 0 4px rgba(var(--alert-rgb), .15), 0 14px 36px rgba(var(--alert-rgb), .35); }
.cd-num { display: block; font-family: var(--font-num); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cd-unit:first-child .cd-num { color: #ff5a64; text-shadow: 0 0 22px rgba(255, 90, 100, .5); }
.cd-unit [data-cd="seconds"].tick { animation: cd-tick .5s ease-out; }
@keyframes cd-tick { 0% { transform: scale(1.12); opacity: .6; } 100% { transform: none; opacity: 1; } }
.cd-label { display: block; margin-top: 10px; font-size: .85rem; font-weight: 700; color: rgba(255, 255, 255, .7); letter-spacing: .1em; }
.cd-hurry {
  display: flex; align-items: center; justify-content: center; gap: .5em; width: fit-content;
  margin: 76px auto 0; padding: .7em 1.8em; border-radius: 999px; position: relative;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 900; letter-spacing: .06em; color: var(--alert);
  background: #fff; border: 2px solid var(--alert); box-shadow: 0 10px 28px rgba(var(--alert-rgb), .22);
}
.cd-hurry span { animation: hurry-shake 2.4s ease-in-out infinite; display: inline-block; }
@keyframes hurry-shake {
  0%, 80%, 100% { transform: none; }
  84% { transform: rotate(-14deg); } 88% { transform: rotate(12deg); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); }
}
.countdown-section { padding-top: 168px; padding-bottom: 168px; }
.btn-alert { background: var(--alert); color: #fff; box-shadow: 0 8px 28px rgba(var(--alert-rgb), .4); }
.btn-alert:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(var(--alert-rgb), .55); }
/* シルバー背景上のタイムライン */
.countdown-section .timeline::before { background: linear-gradient(90deg, #b9c2cc, var(--alert)); }
.countdown-section .timeline li::before { background: #eef1f4; border-color: #9aa5b1; }
.countdown-section .timeline li.now::before { border-color: var(--mint-deep); }
.countdown-section .timeline li.goal::before { background: var(--alert); border-color: var(--alert); box-shadow: 0 0 0 8px rgba(var(--alert-rgb), .2); }
.countdown-section .timeline .goal .tl-date { color: var(--alert); }
.countdown-section .timeline p { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .live-dot, .cd-unit [data-cd="seconds"].tick, .cd-hurry span { animation: none; }
}

/* ── お悩み・解決 ── */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin-inline: auto; }
.worry { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.worry .q { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--mint); font-family: var(--font-num); font-weight: 700; display: grid; place-items: center; }
.worry p { font-weight: 700; color: var(--ink); font-size: 1rem; line-height: 1.7; text-wrap: balance; word-break: auto-phrase; }
.solution-head { text-align: center; margin: 64px auto 40px; }
.solution-head .arrow { font-size: 2rem; color: var(--mint-deep); line-height: 1; margin-bottom: 18px; }
.solution-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--mint); }
.pillar .num { font-family: var(--font-num); font-weight: 700; font-size: 2.2rem; color: var(--mint); line-height: 1; }
.pillar h3 { font-size: 1.3rem; margin: 14px 0 12px; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* ── 機能 ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 980px; margin-inline: auto; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; background: #fff; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--mint-tint); display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 21px; height: 21px; fill: none; stroke: var(--mint-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.04rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .88rem; }

/* ── 画面紹介 ── */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; position: relative; }
.shot { margin: 0; }
/* 進行ガイド（縦長）は左に置いて2段ぶんの高さを使い、右にダッシュボード・集団分析を縦に並べる（PC） */
.shot-guide { grid-row: span 2; }
.shot figcaption { margin-top: 18px; font-size: .92rem; }
.shot figcaption strong { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
/* 一番上のエリア：「①カウントダウン」「②キャッチコピー＋画面の動画」の2枚を横に並べるスライダー（PC・スマホ共通）。
   横スクロール・下の横棒・左右の矢印で切り替える。自動では切り替えない */
.top-slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.top-slider::-webkit-scrollbar { display: none; }
.top-slider > .countdown-section { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; }
.top-slider > .hero { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; overflow: clip; } /* hidden だとヒーロー自体がスクロール枠になり、スライダーが止まれなくなる */
.top-area { position: relative; }
/* 横棒：開いた瞬間に見えるよう、画面の下端（スライダーが画面より長い場合）またはスライダーの下端の、どちらか上の位置に置く */
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 16px; position: absolute; left: 0; right: 0; top: min(calc(100svh - 92px), calc(100% - 76px)); height: 56px; z-index: 3; pointer-events: none; }
.slider-dots { display: flex; gap: 4px; padding: 4px 12px; border-radius: 999px; background: rgba(15, 26, 36, .55); backdrop-filter: blur(6px); pointer-events: auto; }
/* 横棒は見た目4pxの線だが、押しやすいようにボタン自体は高さ28pxにしている */
.slider-dots button { position: relative; width: 44px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: width .3s ease; }
.slider-dots button::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255, 255, 255, .4); transition: background .3s ease; }
.slider-dots button:hover::before { background: rgba(255, 255, 255, .75); }
.slider-dots button.active { width: 60px; }
.slider-dots button.active::before { background: var(--mint); }
/* 左右の矢印：開いた瞬間に「横に送れる」ことが分かるよう、画面の左右に常に出す */
.slider-arrow { position: absolute; top: min(50svh, 50%); transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(15, 26, 36, .6); backdrop-filter: blur(6px); cursor: pointer; transition: background .2s ease, opacity .2s ease, transform .2s ease; }
.slider-arrow svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrow:hover { background: rgba(15, 26, 36, .85); }
.slider-arrow.next { right: 24px; }
.slider-arrow.prev { left: 24px; }
.slider-arrow.next:not(:disabled) { animation: arrow-nudge 2.4s ease-in-out infinite; }
@keyframes arrow-nudge { 0%, 70%, 100% { transform: translateY(-50%); } 80% { transform: translate(6px, -50%); } 90% { transform: translate(0, -50%); } }
.slider-arrow:disabled { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .slider-arrow.next:not(:disabled) { animation: none; } }
.feature-modal { display: none; }
.plans-hint { display: none; }
.back-link.sp-back { display: none; }
.sp-page-link { display: none; }
/* 別ページ（faq.html・contact.html）：固定ヘッダーの分だけ上を空ける */
.subpage { padding-top: 140px; min-height: 70vh; }
.subpage-actions { margin-top: 40px; display: grid; gap: 18px; justify-items: center; max-width: 420px; margin-inline: auto; }
.back-link { font-size: .9rem; font-weight: 700; color: var(--mint-deep); }
.back-link-dark { display: inline-block; margin-top: 26px; color: var(--mint); }
.swipe-hint { display: none; }
.note-small { text-align: center; font-size: .78rem; margin-top: 28px; color: rgba(255, 255, 255, .6); }

/* ── 導入の流れ ── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; background: var(--bg-soft); border-radius: var(--radius); padding: 30px 20px 26px; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 42px; width: 10px; height: 10px; border-top: 2px solid var(--mint-deep); border-right: 2px solid var(--mint-deep); transform: rotate(45deg); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--mint); font-family: var(--font-num); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .87rem; color: var(--muted); }

/* ── 料金 ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 2px solid transparent; }
.plan.featured { border-color: var(--mint); box-shadow: var(--shadow-lg); }

/* 料金カードのホバー：少し大きくなり、プランごとのネオン色に光る */
.plan-light { --neon: #ff6b81; --neon-rgb: 255, 107, 129; --neon-text: #d63a55; }
.plan-standard { --neon: #2f9bff; --neon-rgb: 47, 155, 255; --neon-text: #1873d1; }
.plan-premium { --neon: #ffd23f; --neon-rgb: 255, 210, 63; --neon-text: #b88700; }
.plan { outline: none; }
/* 表示し終えたあとはホバー用の速い動きに切り替える（.reveal の遅延を打ち消す） */
.plan.reveal.in {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
  transition-delay: 0s;
}
.plan .price, .plan .price-note, .plan h3, .plan li::before { transition: color .35s ease; }
.plan .badge { transition: background .35s ease, box-shadow .35s ease; }
.plan.reveal.in:hover, .plan.reveal.in:focus-visible {
  transform: scale(1.04);
  z-index: 2;
  border-color: var(--neon);
  background: linear-gradient(180deg, rgba(var(--neon-rgb), .10) 0%, #fff 55%);
  box-shadow:
    0 0 0 1px rgba(var(--neon-rgb), .9),
    0 0 12px rgba(var(--neon-rgb), .75),
    0 0 32px rgba(var(--neon-rgb), .55),
    0 0 64px rgba(var(--neon-rgb), .35),
    0 24px 50px rgba(15, 26, 36, .18);
}
.plan:hover h3, .plan:focus-visible h3,
.plan:hover .price, .plan:focus-visible .price,
.plan:hover .price-note, .plan:focus-visible .price-breakdown { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.price-note { color: var(--neon-text); }
.plan:hover li::before, .plan:focus-visible li::before { color: var(--neon); text-shadow: 0 0 6px rgba(var(--neon-rgb), .8); }
.plan:hover .badge, .plan:focus-visible .badge { background: var(--neon); box-shadow: 0 0 14px rgba(var(--neon-rgb), .8); }
@media (prefers-reduced-motion: reduce) {
  .plan.reveal.in:hover, .plan.reveal.in:focus-visible { transform: none; }
}
.plan .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--mint); color: var(--ink); font-weight: 700; font-size: .8rem; padding: .3em 1.2em; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan-desc { color: var(--muted); font-size: .9rem; margin-top: 8px; min-height: 3.4em; }
.plan-desc small { font-size: .8rem; }
.price { margin-top: 22px; color: var(--ink); font-weight: 700; }
.price .yen { font-family: var(--font-num); font-size: 2.8rem; line-height: 1; letter-spacing: -.01em; }
.price small { font-size: .82rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.price-note { font-weight: 700; color: var(--mint-deep); margin-top: 6px; font-size: .95rem; }
.price-note small { color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .92rem; }
.plan li { display: flex; gap: .6em; }
.plan li::before { content: "✓"; color: var(--mint-deep); font-weight: 700; }
/* プラン別比較表（列の色は料金カードのホバー色にそろえる） */
.compare { margin-top: 40px; }
.compare-title { font-size: 1.3rem; margin-bottom: 16px; }
.compare-wrap { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 16px 20px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare-table thead th { border-top: 0; font-weight: 700; font-size: 1rem; }
.compare-table thead th:first-child { text-align: left; color: var(--muted); font-weight: 500; font-size: .88rem; background: #f4f5f7; }
.compare-table tbody th { text-align: left; font-weight: 700; color: var(--ink); background: #fafbfc; width: 40%; }
.compare-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; }
.compare-table thead .c-light { background: #fde4e8; color: #d63a55; }
.compare-table thead .c-standard { background: #e1eefe; color: #1873d1; }
.compare-table thead .c-premium { background: #fdf1c9; color: #9a7100; }
.compare-table tbody .c-light { background: #fff6f7; --ck: #e2475f; }
.compare-table tbody .c-standard { background: #f4f9ff; --ck: #2f86e0; }
.compare-table tbody .c-premium { background: #fffaea; --ck: #e0a800; }
.compare-table .ck { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ck); color: #fff; font-weight: 700; font-size: .9rem; }
.compare-table .no { color: #a9b2bc; }
.compare-note { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.fee-card { background: #fff; border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.fee-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.fee-card table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fee-card th, .fee-card td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.fee-card th { font-weight: 500; color: var(--text); padding-right: 16px; }
.fee-card td { font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.fee-card td small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; white-space: normal; }
.fee-card s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.fee-card td .price-free { font-family: var(--font-num); font-size: 2rem; line-height: 1; color: var(--mint-deep); white-space: nowrap; }
.fee-card tr:has(.price-free) td { vertical-align: middle; }
.mint-strong { color: var(--mint-deep); font-size: 1.15rem; white-space: nowrap; }

/* ── FAQ ── */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-num); color: var(--mint-deep); margin-right: .7em; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 22px 50px; color: var(--muted); font-size: .94rem; }

/* ── お問い合わせ ── */
.cta-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 900; }
.cta-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.cta-points li { display: flex; gap: .6em; align-items: center; }
.cta-points li::before { content: "✓"; color: var(--mint); font-weight: 700; }
.contact-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { display: block; margin-top: 6px; }
.req { display: inline-block; margin-left: .6em; font-size: .68rem; color: #fff; background: var(--mint-deep); border-radius: 4px; padding: 0 .5em; vertical-align: 1px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: .95rem; color: var(--text); width: 100%;
  border: 1px solid #d4dbe2; border-radius: 8px; padding: .7em .85em; background: #fbfcfd;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--mint-deep); box-shadow: 0 0 0 4px rgba(70, 219, 184, .2); background: #fff; }
.contact-form .invalid { border-color: #d64545; }
.form-status { font-size: .85rem; min-height: 1.4em; text-align: center; color: var(--muted); }
.form-status.ok { color: var(--mint-deep); font-weight: 700; }
.form-status.err { color: #c03a3a; }

/* ── フッター ── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-tag { margin-top: 12px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ── スクロールで現れる演出 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 背の低い画面（ノートPCなど）：開いた瞬間にカウントダウン・横棒・矢印がすべて見えるよう、カウントダウンを詰める */
@media (max-height: 800px) and (min-width: 761px) {
  .countdown-section { padding-top: 128px; }
  .countdown-section .section-head { margin-bottom: 24px; }
  .countdown-section .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .countdown-section .sub { margin-top: 10px; }
  .cd-unit { padding: 14px 12px 12px; }
  .cd-num { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .cd-label { margin-top: 6px; }
  .cd-hurry { margin-top: 56px; padding: .55em 1.6em; font-size: 1.2rem; }
}

/* ── タブレット ── */
@media (max-width: 1024px) {
  .hero-inner, .cta-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .step::after { display: none; }
}

/* ── スマホ ── */
@media (max-width: 760px) {
  .sp { display: inline; }
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .countdown-section { padding-top: 120px; padding-bottom: 112px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(29, 38, 50, .98); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; padding: .9em; }
  .site-header.open { background: rgba(29, 38, 50, .98); }
  .site-header.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-visual .browser { transform: none; }
  .phone { width: 38%; right: -4px; border-width: 5px; border-radius: 18px; }
  .rings { width: 480px; height: 480px; left: -220px; top: -160px; }
  .pc { display: none; }
  .countdown { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cd-unit { padding: 14px 4px 10px; border-radius: var(--radius-sm); }
  .cd-num { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .cd-hurry { margin-top: 36px; }
  .cd-label { font-size: .72rem; margin-top: 6px; letter-spacing: .04em; }
    .countdown-section .timeline::before { background: linear-gradient(180deg, #b9c2cc, var(--alert)); }
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .timeline::before { top: 0; bottom: 0; left: 15px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--mint)); }
  .timeline li { text-align: left; padding: 0 0 24px 48px; }
  .timeline li::before { top: 4px; left: 6px; margin-left: 0; }
  .timeline p { margin: 0; }
  .worries, .pillars, .features, .shots, .plans, .fee-grid, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plan-desc { min-height: 0; }
    .fee-card { padding: 22px; }
  .fee-card td { white-space: normal; }
  /* 初期費用・オプションの表：スマホでは項目名と金額を上下2段に並べる（横並びだと項目名が1文字ずつ折り返して崩れるため） */
  .fee-card table, .fee-card tbody, .fee-card tr, .fee-card th, .fee-card td { display: block; width: 100%; }
  .fee-card tr { border-top: 1px solid var(--line); padding: 12px 0; }
  .fee-card th, .fee-card td { border-top: 0; padding: 0; }
  .fee-card th { margin-bottom: 4px; padding-right: 0; }
  .fee-card td { text-align: right; }
  .contact-form { padding: 22px; }
  /* 料金カード：指で触れたら（.lit は main.js がタッチ端末でだけ付ける）PCのホバーと同じ色に光らせる。
     画面端からはみ出さないよう、拡大はPCより控えめにする */
  .plan.reveal.in.lit, .plan.reveal.in:hover {
    transform: none;
    z-index: 2;
    border-color: var(--neon);
    background: linear-gradient(180deg, rgba(var(--neon-rgb), .10) 0%, #fff 55%);
    /* 横スクロールの枠で光が四角く切れないよう、PCより光の広がりを小さくする */
    box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .9), 0 0 10px rgba(var(--neon-rgb), .7), 0 0 20px rgba(var(--neon-rgb), .4);
  }
  .plan.lit h3, .plan.lit .price, .plan.lit .price-note { color: var(--neon-text); }
  .plan.lit li::before { color: var(--neon); text-shadow: 0 0 6px rgba(var(--neon-rgb), .8); }
  .plan.lit .badge { background: var(--neon); box-shadow: 0 0 14px rgba(var(--neon-rgb), .8); }
  .hero-points { display: none; } /* スマホでは3つのチェック項目を出さない */
  /* 一番上のエリア：2枚のスライダー（①カウントダウン／②キャッチコピー＋画面の動画） */
  .top-slider > .countdown-section { padding-bottom: 96px; }
  .top-slider > .hero { padding: 96px 0 88px; }
  .top-slider .hero-inner { gap: 28px; }
  .slider-arrow { display: none; } /* スマホは指で横にスワイプできるので矢印は出さない */
  /* 2枚目では、上の札と2つのボタンは出さない */
  .top-slider .hero .pill, .top-slider .hero-cta { display: none; }
  .top-slider .hero h1 { margin-top: 0; }
  /* スライダーの切り替え（KIOXIAのような横棒＋一時停止ボタン） */
  /* 画面紹介：スマホでは2枚を横に並べ、指で横にスクロール（スワイプ）して切り替える */
  .shots {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 0 16px 6px; scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; align-items: flex-start;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 86%; scroll-snap-align: start; }
  .swipe-hint { display: block; text-align: center; font-size: .78rem; color: rgba(255, 255, 255, .6); margin-top: 18px; }
  /* 機能：アイコン＋見出しだけを2列に並べ（Panasonic風）、触れたカードだけ説明文を開く */
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { border: 0; background: transparent; text-align: center; padding: 20px 8px 18px; border-radius: var(--radius-sm); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .25s ease, box-shadow .25s ease; }
  .feature:hover { transform: none; box-shadow: none; }
  .feature .icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
  .feature .icon svg { width: 30px; height: 30px; stroke-width: 1.6; }
  .feature h3 { font-size: .92rem; margin: 0; word-break: auto-phrase; }
  .feature h3::after { content: "＋"; display: block; margin-top: 6px; color: var(--mint-deep); font-size: .9rem; font-weight: 700; transition: transform .25s ease; }
  .feature p { display: none; }
  /* 機能カードを触れたときに画面中央へ拡大表示するパネル */
  .feature-modal {
    display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; padding: 24px;
    background: rgba(15, 26, 36, 0); backdrop-filter: blur(0); visibility: hidden;
    transition: background .35s ease, backdrop-filter .35s ease, visibility 0s linear .4s;
  }
  .feature-modal.show { background: rgba(15, 26, 36, .55); backdrop-filter: blur(4px); visibility: visible; transition: background .35s ease, backdrop-filter .35s ease; }
  .feature-pop {
    width: min(340px, 100%); background: #fff; border-radius: var(--radius); padding: 32px 26px 26px; text-align: center;
    box-shadow: var(--shadow-lg); transform-origin: top left; cursor: pointer;
  }
  .feature-pop.animating { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
  .feature-pop .icon { width: 80px; height: 80px; border-radius: 20px; background: var(--mint-tint); display: grid; place-items: center; margin: 0 auto 18px; }
  .feature-pop .icon svg { width: 40px; height: 40px; fill: none; stroke: var(--mint-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .feature-pop h3 { font-size: 1.2rem; margin-bottom: 14px; }
  .feature-pop p { color: var(--text); font-size: .92rem; line-height: 1.85; text-align: left; opacity: 0; transition: opacity .3s ease .15s; }
  .feature-modal.show .feature-pop p { opacity: 1; }
  .feature-pop .close-hint { display: block; margin-top: 18px; font-size: .75rem; color: var(--muted); }
  /* 料金カード：横に並べて指で右へスクロール（Panasonicの注目コンテンツ風）。カードは一回り小さく */
  .plans {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -16px; padding: 26px 16px 34px; scroll-padding-inline: 16px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: stretch;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 80%; scroll-snap-align: start; padding: 28px 22px; }
  .plan h3 { font-size: 1.2rem; }
  .plan-desc { font-size: .84rem; }
  .price { margin-top: 16px; }
  .price .yen { font-size: 2.3rem; }
  .price-note { font-size: .88rem; }
  .plan ul { font-size: .86rem; padding-top: 16px; margin-top: 16px; gap: 8px; }
  .plans-hint { display: block; text-align: center; font-size: .78rem; color: var(--muted); margin-top: -18px; }
  /* トップページのよくある質問・お問い合わせフォームは、スマホでは別ページへのボタンに置き換える */
  .home #faq .faq, .home #contact .contact-form { display: none; }
  .sp-page-link { display: block; margin-top: 8px; }
  .home #contact .cta-inner { gap: 0; }
  .subpage { padding-top: 104px; }
  /* お問い合わせページ（スマホ）：見出しのすぐ下にフォームを出す。説明文・箇条書きは出さない */
  .subpage.cta .cta-inner { gap: 24px; }
  .subpage.cta .sub, .subpage.cta .cta-points, .subpage.cta .cta-copy .back-link { display: none; }
  .subpage.cta .sp-back { display: block; text-align: center; margin-top: 0; }
  .compare { display: none; } /* プラン別比較表はスマホでは出さない（PCのみ） */
}
