/* Kaigo Watch の見た目(nearia.css の上に重ねる)。
 * 方針: 行政SaaSの落ち着き。深い緑 + 白、期限は琥珀、要対応は朱。余白を広く、情報の階層をはっきり。 */
:root {
  --g-950: #04261f; --g-900: #06372f; --g-800: #0a4a40; --g-700: #0b5e51; --g-600: #0f6b5c; --g-500: #158a73;
  --g-300: #8fd3bf; --g-200: #bfe6da; --g-100: #ddf1ea; --g-50: #f1f8f5;
  --amber: #f2b84b; --amber-ink: #8a5300; --amber-soft: #fff4dc;
  --red: #c4321f; --red-soft: #fdeceb;
  --ink: #0e1b18; --ink-2: #47534f; --ink-3: #66716d;
  --bg: #ffffff; --bg-soft: #f5f8f6; --surface: #ffffff; --surface-2: #eef3f1;
  --line: #e2e8e5; --line-strong: #c9d3cf;
  --brand: var(--g-600); --brand-strong: var(--g-700); --brand-soft: var(--g-100); --brand-ink: #fff;
  --focus: #1d6fe0;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgb(6 55 47 / .06), 0 1px 3px rgb(6 55 47 / .05);
  --sh-2: 0 2px 4px rgb(6 55 47 / .04), 0 12px 32px -8px rgb(6 55 47 / .14);
  --sh-3: 0 4px 8px rgb(6 55 47 / .05), 0 32px 64px -16px rgb(6 55 47 / .28);
  --wrap: 1160px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.8; letter-spacing: .02em; font-feature-settings: "palt" 1; }
h1, h2, h3 { letter-spacing: .02em; color: var(--ink); }
a { color: var(--g-700); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "palt" 1; }

/* ---------- 見出しの部品 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--g-700); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--amber); }
.sec { padding: 88px 0; }
.sec--soft { background: var(--bg-soft); }
.sec--tight { padding: 56px 0; }
@media (min-width: 1024px) { .sec { padding: 120px 0; } }
.sec-head { max-width: 900px; margin: 0 0 48px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: clamp(30px, 5.4vw, 52px); font-weight: 800; line-height: 1.35; margin: 0 0 20px; letter-spacing: .03em; }
.sec-head p { color: var(--ink-2); font-size: clamp(16px, 2vw, 18.5px); margin: 0; }

/* ---------- ボタン ---------- */
.btn { --b: var(--g-600); --bh: var(--g-700); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 12px; border: 0; background: var(--b); color: #fff; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .04em; text-decoration: none; cursor: pointer; position: relative; white-space: nowrap;
  box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 -2px 0 rgb(0 0 0 / .18) inset, 0 6px 16px -6px rgb(15 107 92 / .55);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), background .2s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.btn:hover { background: var(--bh); transform: translateY(-1px); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 -2px 0 rgb(0 0 0 / .18) inset, 0 10px 22px -8px rgb(15 107 92 / .6); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: 0 2px 0 rgb(0 0 0 / .12) inset, 0 2px 6px -2px rgb(15 107 92 / .5); }
.btn svg { flex: none; transition: transform .2s var(--ease-out); }
.btn:hover svg.arw { transform: translateX(3px); }
.btn--ghost { --b: #fff; --bh: var(--g-50); color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong) inset, 0 1px 2px rgb(6 55 47 / .06); }
.btn--ghost:hover { box-shadow: 0 0 0 1px var(--g-600) inset, 0 6px 14px -8px rgb(6 55 47 / .25); }
.btn--ghost:active { box-shadow: 0 0 0 1px var(--g-600) inset; }
.btn--light { --b: #fff; --bh: var(--g-50); color: var(--g-800); box-shadow: 0 -2px 0 rgb(0 0 0 / .1) inset, 0 8px 20px -8px rgb(0 0 0 / .4); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading svg { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #fff; border-right-color: transparent; animation: n-spin .7s linear infinite; }
.btn--ghost.is-loading::after, .btn--light.is-loading::after { border-color: var(--g-600); border-right-color: transparent; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--g-700); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hd.is-scrolled, .no-js .hd { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgb(6 55 47 / .35); }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 10px -4px rgb(15 107 92 / .6); transition: transform .4s var(--ease-out); }
.logo:hover img { transform: rotate(-6deg) scale(1.04); }
.logo .wm { display: flex; flex-direction: column; line-height: 1.05; }
.logo .wm b { font-size: 20px; font-weight: 800; letter-spacing: -.005em; font-feature-settings: normal; }
.logo .wm small { font-size: 10.5px; font-weight: 700; color: var(--ink-3); letter-spacing: .14em; margin-top: 4px; }
.hd__in nav { display: none; gap: 4px; margin-left: auto; }
.hd nav a { position: relative; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.hd nav a:hover { color: var(--ink); background: var(--bg-soft); }
.hd nav a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--g-600); }
.hd nav a[aria-current] { color: var(--ink); }
.hd .btn { margin-left: auto; }
@media (min-width: 900px) { .hd__in nav { display: flex; } .hd .btn { margin-left: 8px; } }
.subnav { display: flex; gap: 6px; overflow-x: auto; padding: 0 20px 12px; scrollbar-width: none; margin-top: -4px; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: 13.5px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.subnav a[aria-current] { background: var(--g-600); border-color: var(--g-600); color: #fff; }
@media (min-width: 900px) { .subnav { display: none; } }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 72px; background:
  radial-gradient(900px 500px at 85% -10%, rgb(191 230 218 / .7), transparent 60%),
  radial-gradient(700px 420px at -10% 110%, rgb(255 244 220 / .9), transparent 60%), #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(15 107 92 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(15 107 92 / .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000, transparent 75%); pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__in { gap: 36px; grid-template-areas: "copy" "mock" "form"; }
.hero-copy { grid-area: copy; } .hero-form { grid-area: form; } .mock { grid-area: mock; }
.hero-copy .lead { margin-bottom: 0; }
@media (max-width: 1023px) { .mock .mrow:nth-child(n+4) { display: none; } .hero .mock { margin-inline: 4px; } }
@media (min-width: 1024px) { .hero { padding: 80px 0 112px; } .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "copy mock" "form mock"; column-gap: 64px; row-gap: 32px; } .hero-copy { align-self: end; } .hero-form { align-self: start; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 24px; }
.pill .live { display: inline-flex; align-items: center; gap: 6px; background: var(--g-100); color: var(--g-700); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.pill .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-500); box-shadow: 0 0 0 0 rgb(21 138 115 / .6); animation: kw-ping 2s infinite; }
@keyframes kw-ping { 0% { box-shadow: 0 0 0 0 rgb(21 138 115 / .55); } 70%, 100% { box-shadow: 0 0 0 8px rgb(21 138 115 / 0); } }
.hero h1 { font-size: clamp(36px, 9.6vw, 56px); line-height: 1.22; font-weight: 800; letter-spacing: .02em; margin: 0 0 24px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--g-700); }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .14em; height: .3em; background: var(--amber); opacity: .45; border-radius: 4px; z-index: -1; transform-origin: left; animation: kw-mark 1s .4s var(--ease-out) both; }
@keyframes kw-mark { from { transform: scaleX(0); } }
.hero h1 .hl { z-index: 0; }
.hero .lead { font-size: clamp(16.5px, 2.4vw, 20px); color: var(--ink-2); line-height: 1.95; margin: 0 0 32px; max-width: 32em; }
.hero .lead b { color: var(--ink); }
.signup { display: grid; gap: 10px; max-width: 520px; }
@media (min-width: 560px) { .signup { grid-template-columns: 1fr auto; } }
.signup input { min-height: 56px; padding: 0 18px; font: inherit; font-size: 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; box-shadow: var(--sh-1); width: 100%; }
.signup input:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgb(15 107 92 / .16); }
.signup .btn { min-height: 56px; }
.signup-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }
.signup-note span { display: inline-flex; align-items: center; gap: 6px; }
.signup-note svg { color: var(--g-500); }
.hero-sub { margin-top: 28px; }

/* 製品の画面(ファーストビューの右) */
.mock { position: relative; padding: 8px 0 40px; }
@media (min-width: 1024px) { .mock { padding: 0 8px 0 0; } }
.win { position: relative; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; }
@media (min-width: 1024px) { .win { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; } }
.win__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe5e2; }
.win__bar span { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; }
.win__body { padding: 20px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; }
.kpi b { display: block; font-size: 26px; line-height: 1.1; font-weight: 800; }
.kpi span { font-size: 11.5px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; }
.kpi--hi b { color: var(--red); } .kpi--due b { color: var(--amber-ink); }
.mrow { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.mrow .imp { grid-row: span 2; }
.mrow p { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mrow .bar { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--amber-ink); }
.mrow .bar i { flex: 1; height: 6px; border-radius: 6px; background: var(--amber-soft); overflow: hidden; position: relative; }
.mrow .bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 40%); background: linear-gradient(90deg, var(--amber), #e59a1a); border-radius: 6px; animation: kw-grow 1.4s .6s var(--ease-out) both; }
.mrow .bar.soon { color: var(--red); } .mrow .bar.soon i { background: var(--red-soft); } .mrow .bar.soon i::after { background: linear-gradient(90deg, #ef6b55, var(--red)); }
.mrow .none { font-size: 12px; color: var(--ink-3); font-weight: 700; }
@keyframes kw-grow { from { width: 0; } }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: 13px; line-height: 1.5; animation: kw-float 6s ease-in-out infinite; }
.float b { display: block; font-size: 13px; }
.float span { color: var(--ink-3); font-size: 12px; }
.float .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.float--mail { left: -12px; bottom: 0; }
.float--mail .ic { background: var(--g-100); color: var(--g-700); }
.float--cal { right: -8px; top: -22px; animation-delay: -3s; }
.float--cal .ic { background: var(--amber-soft); color: var(--amber-ink); }
@media (max-width: 559px) { .float--cal { display: none; } .float--mail { left: 8px; } }
@media (min-width: 1024px) { .float--mail { left: -40px; bottom: -28px; } .float--cal { right: -16px; } }
@keyframes kw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 情報源の帯 */
.sources { border-block: 1px solid var(--line); background: #fff; }
.sources__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-block: 26px; }
.sources__in > p { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: var(--ink-3); }
.src { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); font-size: 14.5px; }
.src svg { color: var(--g-600); flex: none; }
.src small { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }

/* ---------- 課題と解決(3つの価値) ---------- */
.values { display: grid; gap: 20px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.value { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-1); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.value:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.value .ill { height: 132px; border-radius: 14px; background: var(--g-50); margin-bottom: 24px; display: grid; place-items: center; overflow: hidden; }
.value h3 { font-size: clamp(21px, 2.4vw, 24px); font-weight: 800; margin: 0 0 10px; line-height: 1.5; }
.value p { color: var(--ink-2); font-size: 15px; margin: 0; line-height: 1.85; }
.value .no { position: absolute; top: 20px; right: 24px; font-size: 13px; font-weight: 800; color: var(--g-300); letter-spacing: .1em; }

/* ---------- 通知カード ---------- */
.feed-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.feed-head .sec-head { margin: 0; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.tabs label .c { font-size: 12px; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: rgb(14 27 24 / .07); display: inline-grid; place-items: center; }
.tabs label:hover { color: var(--ink); }
.tabs input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.tabs input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 1px; }
body:has(#f-hi:checked) .notice:not(.imp-3) { display: none; }
body:has(#f-mid:checked) .notice.imp-1 { display: none; }
.day { display: flex; align-items: center; gap: 12px; margin: 40px 0 16px; }
.day:first-child { margin-top: 0; }
.list + .day, .rv + .rv > .day:first-child, .list + .rv > .day { margin-top: 48px; }
.day h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: .06em; }
.day::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.day .cnt { font-size: 12.5px; color: var(--ink-3); font-weight: 700; }
.list { display: grid; gap: 16px; }
.notice { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-1); transition: box-shadow .25s var(--ease-out), border-color .25s, transform .25s var(--ease-out); }
@media (min-width: 768px) { .notice { padding: 28px 32px; } }
.notice:hover { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.notice.imp-3 { border-color: color-mix(in srgb, var(--red) 28%, var(--line)); }
.notice.imp-3::before { content: ""; position: absolute; left: -1px; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--red); }
.notice.imp-2::before { content: ""; position: absolute; left: -1px; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--amber); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.imp { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.imp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.imp.hi { background: var(--red-soft); color: var(--red); }
.imp.mid { background: var(--amber-soft); color: var(--amber-ink); }
.imp.lo { background: var(--surface-2); color: var(--ink-2); }
.meta .src-name { display: inline-flex; align-items: center; gap: 6px; }
.notice h3 { font-size: 19.5px; line-height: 1.65; font-weight: 800; margin: 0 0 18px; letter-spacing: .02em; }
@media (min-width: 768px) { .notice h3 { font-size: 22px; line-height: 1.6; } }
.notice h3 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--g-200), var(--g-200)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease-out); }
.notice h3 a:hover { background-size: 100% 2px; }
.facts { display: grid; gap: 12px; margin: 0 0 18px; }
.facts div { display: grid; gap: 2px; }
@media (min-width: 640px) { .facts div { grid-template-columns: 5.5em 1fr; gap: 16px; } }
.facts dt { font-size: 13px; font-weight: 800; color: var(--ink-3); letter-spacing: .08em; padding-top: 2px; }
.facts dd { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--ink); white-space: pre-line; }
.todo { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--g-50); border: 1px solid var(--g-100); }
.todo .ic { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--g-600); color: #fff; display: grid; place-items: center; }
.todo b { display: block; font-size: 12.5px; letter-spacing: .1em; color: var(--g-700); margin-bottom: 2px; }
.todo p { margin: 0; font-size: 15px; line-height: 1.8; }
.todo.none { background: var(--bg-soft); border-color: var(--line); }
.todo.none .ic { background: var(--line-strong); }
.todo.none b { color: var(--ink-3); } .todo.none p { color: var(--ink-2); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 18px; }
.due { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px; border-radius: 10px; font-size: 14px; font-weight: 800; }
.due.soon { background: var(--red-soft); color: var(--red); }
.due.later { background: var(--amber-soft); color: var(--amber-ink); }
.due.past { background: var(--surface-2); color: var(--ink-3); font-weight: 700; }
.orig { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--g-700); text-decoration: none; padding: 6px 4px; }
.orig:hover { text-decoration: underline; text-underline-offset: 4px; }
.more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- 仕組み ---------- */
.flow { display: grid; gap: 16px; position: relative; counter-reset: s; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.step .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--g-600); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 20px -10px rgb(15 107 92 / .8); }
.step:nth-child(2) .ic { background: var(--g-800); } .step:nth-child(3) .ic { background: var(--amber); color: var(--g-950); box-shadow: 0 10px 20px -10px rgb(178 106 0 / .7); }
.step .no { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--g-500); }
.step h3 { font-size: clamp(21px, 2.4vw, 24px); font-weight: 800; margin: 4px 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (min-width: 900px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -24px; width: 20px; height: 20px; border-top: 2.5px solid var(--g-300); border-right: 2.5px solid var(--g-300); transform: rotate(45deg); } }

/* ---------- 期限とメールの紹介 ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.38; font-weight: 800; line-height: 1.45; margin: 0 0 20px; }
.split > div > p { color: var(--ink-2); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li svg { flex: none; margin-top: 4px; color: var(--g-600); }
.timeline { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); padding: 12px; }
.tl-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 16px; font-weight: 800; font-size: 18px; }
.tl-head span { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tl li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); }
.tl .date { text-align: center; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 6px 0; line-height: 1.2; }
.tl .date small { display: block; font-size: 11px; font-weight: 800; color: var(--red); letter-spacing: .06em; }
.tl .date b { font-size: 24px; font-weight: 800; }
.tl p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tl .left { font-size: 12px; font-weight: 800; color: var(--amber-ink); }
.tl .left.soon { color: var(--red); }
.mail { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-2); overflow: hidden; }
.mail__hd { padding: 20px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; color: var(--ink-3); }
.mail__hd b { color: var(--ink); font-size: 16px; }
.mail__bd { padding: 20px 24px 24px; font-size: 14px; line-height: 1.85; display: grid; gap: 14px; }
.mail__item { border-left: 3px solid var(--red); padding-left: 14px; }
.mail__item.mid { border-color: var(--amber); }
.mail__item b { display: block; font-size: 14px; }
.mail__item span { color: var(--ink-2); font-size: 13.5px; }

/* ---------- 料金 ---------- */
.plans { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px 32px; box-shadow: var(--sh-1); }
.plan.pro { background: linear-gradient(180deg, var(--g-900), var(--g-950)); border-color: var(--g-900); color: #eaf5f1; box-shadow: var(--sh-3); }
.plan.pro h3, .plan.pro .price { color: #fff; }
.plan .badge { position: absolute; top: -14px; left: 32px; background: var(--amber); color: var(--g-950); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgb(178 106 0 / .8); }
.plan h3 { font-size: 18px; font-weight: 800; letter-spacing: .1em; margin: 0 0 8px; color: var(--ink-2); }
.plan .price { font-size: 48px; font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.plan .price small { font-size: 15px; font-weight: 700; color: var(--ink-3); margin-left: 4px; letter-spacing: .02em; }
.plan.pro .price small, .plan.pro .sub { color: #a9cfc4; }
.plan .sub { font-size: 14px; color: var(--ink-3); margin: 8px 0 0; min-height: 1.8em; }
.plan .p-y { display: none; }
.plan:has(#cy-y:checked) .p-y { display: block; } .plan:has(#cy-y:checked) .p-m { display: none; }
.plan ul { list-style: none; padding: 24px 0 0; margin: 24px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; flex: 1; align-content: start; }
.plan.pro ul { border-color: rgb(255 255 255 / .12); }
.plan li { display: flex; gap: 12px; font-size: 15px; line-height: 1.7; }
.plan li svg { flex: none; margin-top: 4px; color: var(--g-500); }
.plan.pro li svg { color: var(--amber); }
.plan form { display: grid; gap: 12px; }
.plan label.fl { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.plan input[type=email] { min-height: 52px; padding: 0 16px; font: inherit; font-size: 16px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; }
.plan input[type=email]:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 4px rgb(15 107 92 / .16); }
.plan.pro input[type=email] { border-color: transparent; }
.plan.pro input[type=email]:focus { box-shadow: 0 0 0 4px rgb(242 184 75 / .45); }
.plan .fine { display: block; font-size: 12.5px; line-height: 1.75; color: var(--ink-3); margin-top: 16px; }
.plan.pro .fine { color: #93bcb0; } .plan.pro .fine a { color: #fff; }
.plan.pro .btn { --b: var(--amber); --bh: #f6c66a; color: var(--g-950); box-shadow: 0 -2px 0 rgb(0 0 0 / .15) inset, 0 10px 24px -10px rgb(242 184 75 / .8); }
.plan.pro .btn.is-loading::after { border-color: var(--g-950); border-right-color: transparent; }
.cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / .08); margin-bottom: 4px; }
.cycle input { position: absolute; opacity: 0; }
.cycle label { text-align: center; padding: 8px; border-radius: 9px; font-size: 14px; font-weight: 700; color: #a9cfc4; cursor: pointer; transition: background .15s, color .15s; }
.cycle label em { font-style: normal; font-size: 11px; color: var(--amber); margin-left: 4px; }
.cycle input:checked + label { background: #fff; color: var(--g-900); }
.cycle input:checked + label em { color: var(--amber-ink); }
.cycle input:focus-visible + label { outline: 3px solid var(--amber); }

/* ---------- よくある質問 ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--sh-2); border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px; font-weight: 800; font-size: clamp(16.5px, 2vw, 18.5px); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--g-100); color: var(--g-700); display: grid; place-items: center; font-size: 14px; }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--ink-3); border-bottom: 2.5px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 24px 22px 70px; color: var(--ink-2); font-size: 15px; line-height: 1.9; }

/* ---------- 最後の呼びかけ ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--g-900); color: #eaf5f1; border-radius: var(--r-xl); padding: 56px 28px; text-align: center; }
@media (min-width: 768px) { .cta-band { padding: 80px 48px; } }
.cta-band::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgb(21 138 115 / .7), transparent 65%); }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -240px; border-radius: 50%; background: radial-gradient(circle, rgb(242 184 75 / .35), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 5.4vw, 52px); line-height: 1.35; font-weight: 800; line-height: 1.45; margin: 0 0 16px; }
.cta-band p { color: #b5d8cd; margin: 0 auto 32px; max-width: 34em; }
.cta-band .signup { margin-inline: auto; }
.cta-band .signup input { border-color: transparent; }
.cta-band .signup .btn { --b: var(--amber); --bh: #f6c66a; color: var(--g-950); }
.cta-band .signup .btn.is-loading::after { border-color: var(--g-950); border-right-color: transparent; }
.cta-band .signup-note { justify-content: center; color: #93bcb0; }
.cta-band .signup-note svg { color: var(--amber); }

/* ---------- フッター ---------- */
.ft { background: var(--g-950); color: #9fc1b7; padding: 64px 0 40px; margin-top: 0; font-size: 14px; }
.ft__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .ft__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ft .logo { color: #fff; } .ft .logo .wm small { color: #7fa79b; }
.ft p { margin: 16px 0 0; max-width: 28em; line-height: 1.9; }
.ft h4 { color: #fff; font-size: 13px; letter-spacing: .14em; margin: 0 0 16px; }
.ft ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft a { color: #c7ddd6; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ft__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 12.5px; color: #7fa79b; }

/* ---------- 下位ページの見出し ---------- */
.ph { position: relative; overflow: hidden; padding: 56px 0 48px; background: radial-gradient(800px 360px at 90% -20%, rgb(191 230 218 / .75), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .ph { padding: 80px 0 64px; } }
.ph h1 { font-size: clamp(34px, 6.4vw, 58px); line-height: 1.25; font-weight: 800; line-height: 1.35; margin: 0 0 14px; }
.ph p { color: var(--ink-2); margin: 0; max-width: 40em; font-size: 16.5px; }
.crumb { display: flex; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 18px; }
.crumb a { color: var(--ink-3); text-decoration: none; } .crumb a:hover { color: var(--g-700); }

/* 通知一覧(左に概要、右に一覧) */
.board { display: grid; gap: 32px; padding-block: 40px 96px; }
@media (min-width: 1024px) { .board { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; padding-block-start: 56px; } .side { position: sticky; top: 92px; align-self: start; } }
.side { display: grid; gap: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); }
.panel h2 { font-size: 15px; letter-spacing: .12em; color: var(--ink-3); font-weight: 800; margin: 0 0 14px; }
.panel .kpis { grid-template-columns: repeat(3, 1fr); }
.panel .kpi { padding: 10px; text-align: center; }
.panel .kpi b { font-size: 24px; }
.next { display: grid; gap: 6px; }
.next b { font-size: 15px; line-height: 1.6; }
.next .cd { font-size: 34px; font-weight: 800; color: var(--red); line-height: 1.1; }
.next .cd small { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.dates { display: flex; flex-wrap: wrap; gap: 6px; }
.dates a { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.dates a:hover { border-color: var(--g-600); color: var(--g-700); }
.dates a[aria-current] { background: var(--g-600); color: #fff; border-color: var(--g-600); }
.panel--cta { background: var(--g-900); border-color: var(--g-900); color: #cfe6df; }
.panel--cta h2 { color: var(--amber); }
.panel--cta p { margin: 0 0 16px; font-size: 14px; line-height: 1.8; }
.board .tabs { margin-bottom: 8px; }

/* 期限カレンダー */
.cal-wrap { display: grid; gap: 32px; padding-block: 40px 96px; }
@media (min-width: 1024px) { .cal-wrap { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block-start: 56px; } .cal-wrap aside { position: sticky; top: 92px; align-self: start; } }
.month { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: .1em; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cal { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; }
.cal li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); transition: box-shadow .2s; }
.cal li:hover { box-shadow: var(--sh-2); }
@media (min-width: 768px) { .cal li { grid-template-columns: 92px 1fr; padding: 24px 28px; gap: 28px; } }
.cal .d { text-align: center; align-self: start; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; line-height: 1.2; }
.cal .d small { display: block; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 0; letter-spacing: .08em; }
.cal .d b { display: block; font-size: 30px; font-weight: 800; padding: 6px 0 0; }
.cal .d i { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-3); font-weight: 700; padding-bottom: 6px; }
.cal .left { display: inline-flex; font-size: 12.5px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-ink); margin-bottom: 10px; }
.cal .left.soon { background: var(--red-soft); color: var(--red); }
.cal .left.past { background: var(--surface-2); color: var(--ink-3); }
.cal li.is-past .d small { background: var(--ink-3); }
.cal .t { display: block; font-weight: 800; font-size: clamp(17.5px, 2vw, 20px); line-height: 1.65; margin-bottom: 10px; }
.cal .t a { color: var(--ink); text-decoration: none; } .cal .t a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cal .a { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.ics { display: grid; gap: 14px; } .ics > *, .cal-wrap > *, .board > * { min-width: 0; }
.ics .ill { display: grid; place-items: center; height: 120px; border-radius: 14px; background: var(--amber-soft); }
.ics h2 { color: var(--ink); font-size: 20px; letter-spacing: .02em; margin: 0; }
.ics p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.copy { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; }
.copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }

/* 文章ページ・完了ページ */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 96px; }
.doc .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); }
@media (min-width: 768px) { .doc .card { padding: 44px 48px; } }
.doc ol, .doc ul { padding-left: 1.4em; margin: 0; } .doc li { margin-bottom: 14px; line-height: 1.95; }
.doc dl { display: grid; grid-template-columns: 11em 1fr; margin: 0; }
.doc dt, .doc dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.doc dt { font-weight: 800; font-size: 14px; color: var(--ink-2); padding-right: 16px; }
.doc dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 600px) { .doc dl { grid-template-columns: 1fr; } .doc dt { border: 0; padding-bottom: 0; } }
.doc .note { margin: 24px 0 0; font-size: 14px; color: var(--ink-2); }
.done { max-width: 560px; margin: 0 auto; padding: 72px 20px 112px; text-align: center; }
.done .ill { margin: 0 auto 28px; width: 132px; height: 132px; border-radius: 36px; display: grid; place-items: center; background: var(--g-50); box-shadow: inset 0 0 0 1px var(--g-100); animation: kw-pop .7s var(--ease-out) both; }
@keyframes kw-pop { from { transform: scale(.6); opacity: 0; } }
.done h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; margin: 0 0 16px; }
.done p { color: var(--ink-2); margin: 0 0 32px; }
.empty { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-2); background: #fff; }

/* スマホ下部の申し込みボタン */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease-out); }
.sticky.is-on, .no-js .sticky { transform: none; }
@media (min-width: 900px) { .sticky { display: none; } }
body:has(.sticky) { padding-bottom: 84px; } @media (min-width: 900px) { body:has(.sticky) { padding-bottom: 0; } }

/* 出てくる動き(JSが有効なときだけ隠す) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation: none !important; } }

/* 隠し要素: ロゴを5回押すと、お茶が出てくる */
.tea { position: fixed; z-index: 60; left: 50%; bottom: 32px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 14px; background: var(--g-900); color: #eaf5f1; padding: 14px 22px 14px 14px; border-radius: 18px; box-shadow: var(--sh-3); font-size: 14.5px; font-weight: 700; transition: transform .6s var(--ease-out); width: max-content; max-width: calc(100% - 32px); }
.tea.is-on { transform: translate(-50%, 0); }
.tea svg .steam { animation: kw-steam 2.4s ease-in-out infinite; transform-origin: bottom; }
.tea svg .steam:nth-child(2) { animation-delay: -.8s; }
@keyframes kw-steam { 0% { opacity: 0; transform: translateY(4px) scaleY(.8); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px) scaleY(1.1); } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: all .25s var(--ease-out); pointer-events: none; z-index: 61; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.nw { display: inline-block; }
.mail__bd .hello { margin: 0; color: var(--ink-2); font-size: 13.5px; }
.mail__bd .unsub { margin: 4px 0 0; font-size: 12px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; }
.tabs label { white-space: nowrap; }
@media (max-width: 599px) { .tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; } .tabs label { justify-content: center; padding: 0 8px; gap: 6px; } }
@media (max-width: 1023px) { .board .side { order: 2; } }

@media (min-width: 1024px) { .hero h1 { font-size: min(5.1vw, 68px); } }
.hero h1 .hl { white-space: nowrap; }
