:root {
    --ink: #203036;
    --ink-soft: #55676d;
    --muted: #7d8c91;
    --line: #dce5e8;
    --surface: #ffffff;
    --surface-soft: #f4f8f9;
    --surface-accent: #eaf2f4;
    --brand: #285f6e;
    --brand-deep: #1e4c59;
    --brand-dark: #173a44;
    --accent: #d7eee9;
    --shadow: 0 22px 60px rgba(28, 66, 77, .12);
    --radius-lg: 26px;
    --radius-md: 18px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }

.skip-link {
    position: fixed;
    left: 12px;
    top: -60px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--brand);
    font-weight: 700;
}
.skip-link:focus { top: 12px; }

.section-shell {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(220, 229, 232, .9);
    backdrop-filter: blur(14px);
}
.header-inner {
    width: min(calc(100% - 36px), 1240px);
    min-height: 76px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
}
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.site-brand strong {
    display: block;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: .01em;
}
.site-brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}
.brand-mark {
    width: 37px;
    height: 37px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 8px;
    border-radius: 11px;
    background: var(--brand);
    box-shadow: 0 8px 20px rgba(40, 95, 110, .22);
}
.brand-mark span {
    display: block;
    height: 3px;
    border-radius: 99px;
    background: #fff;
}
.brand-mark span:nth-child(1) { width: 70%; }
.brand-mark span:nth-child(2) { width: 100%; }
.brand-mark span:nth-child(3) { width: 82%; }
.header-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-nav a {
    color: #53666c;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.header-nav a:hover { color: var(--brand); }
.header-actions { display: flex; gap: 9px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: 13px; }
.button-large { min-height: 52px; padding: 13px 22px; font-size: 15px; }
.button-block { width: 100%; min-height: 49px; padding: 12px 18px; }
.button-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(40, 95, 110, .18);
}
.button-primary:hover { background: var(--brand-deep); }
.button-secondary { background: #fff; border-color: #cfdcdf; color: var(--brand); }
.button-ghost { background: transparent; border-color: transparent; color: var(--brand); }
.button-white { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .13); }
.button-dark-outline { border-color: rgba(255,255,255,.42); color: #fff; }

.hero {
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, .98fr);
    align-items: center;
    gap: 62px;
    padding-block: 78px 76px;
}
.eyebrow {
    margin: 0 0 16px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}
.hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.16;
    letter-spacing: -.045em;
}
.hero h1 span { color: var(--brand); }
.hero-lead {
    max-width: 700px;
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin-top: 20px;
    color: #6b7b80;
    font-size: 12px;
    font-weight: 650;
}
.hero-notes span::before { content: "✓"; margin-right: 5px; color: var(--brand); font-weight: 900; }

.product-preview { position: relative; }
.product-preview::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -55px -55px -45px -40px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(215, 238, 233, .9), rgba(234, 242, 244, .45) 45%, transparent 73%);
}
.preview-window {
    overflow: hidden;
    border: 1px solid #d7e3e5;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}
.preview-topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #e8eef0;
}
.preview-topbar strong { font-size: 17px; }
.preview-label { margin: 0 0 2px; color: var(--muted); font-size: 10px; }
.preview-status { padding: 5px 9px; border-radius: 999px; background: var(--surface-accent); color: var(--brand); font-size: 10px; font-weight: 800; }
.preview-toolbar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f8fafb; border-bottom: 1px solid #e7edef; }
.toolbar-pill, .toolbar-action { padding: 6px 9px; border-radius: 7px; color: #718187; font-size: 9px; font-weight: 750; }
.toolbar-pill.is-active { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(32,48,54,.08); }
.toolbar-action { margin-left: auto; background: var(--brand); color: #fff; }
.calendar-head, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-head span { padding: 8px 4px; border-right: 1px solid #eef2f3; color: #839196; font-size: 8px; font-weight: 750; text-align: center; }
.calendar-day { min-height: 82px; padding: 6px; border-top: 1px solid #e9eff1; border-right: 1px solid #e9eff1; background: #fff; }
.calendar-day b { display: block; margin-bottom: 5px; color: #63767c; font-size: 8px; }
.calendar-day i { display: block; overflow: hidden; margin: 3px 0; padding: 4px 5px; border-radius: 4px; background: #eaf2f4; color: #285f6e; font-size: 6.5px; font-style: normal; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.calendar-day i.locked { background: #f2eee6; color: #735f3c; }
.calendar-day.weekend { background: #fbfcfc; }
.calendar-day.focus { box-shadow: inset 0 0 0 2px #7da7b2; }
.calendar-day.muted { color: #aab4b7; background: #fafbfb; }
.preview-insight { display: flex; gap: 10px; align-items: center; padding: 13px 16px; background: #f7faf9; border-top: 1px solid #e5ecea; }
.insight-icon { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #dcefeb; color: #236053; font-size: 12px; font-weight: 900; }
.preview-insight strong, .preview-insight small { display: block; }
.preview-insight strong { font-size: 10px; }
.preview-insight small { margin-top: 2px; color: #78888d; font-size: 8px; }

.trust-strip { border-block: 1px solid #e5ecee; background: #f9fbfb; }
.trust-strip-inner { min-height: 76px; display: flex; align-items: center; justify-content: center; text-align: center; }
.trust-strip p { margin: 0; color: #687a80; font-size: 13px; }
.trust-strip strong { color: var(--brand-deep); }

.section { padding-block: 108px; scroll-margin-top: 85px; }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading.compact { max-width: 680px; }
.section-heading h2, .price-copy h2, .final-cta h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.28;
    letter-spacing: -.035em;
}
.section-heading > p:not(.eyebrow), .price-copy > p:not(.eyebrow):not(.price-note) { margin: 19px 0 0; color: var(--ink-soft); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.feature-card {
    min-height: 285px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}
.feature-card-main { grid-column: 1 / -1; min-height: 255px; background: linear-gradient(135deg, #f7fbfb 0%, #eef6f7 100%); }
.feature-number { display: inline-block; margin-bottom: 38px; color: #7f9ca4; font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.feature-card h3 { max-width: 620px; margin: 0; font-size: 22px; line-height: 1.4; }
.feature-card p { max-width: 780px; margin: 13px 0 0; color: var(--ink-soft); font-size: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chip-list li, .mode-row span { padding: 6px 10px; border: 1px solid #d3e1e4; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--brand); font-size: 11px; font-weight: 750; }
.mode-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }

.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.flow-list li { min-height: 225px; padding: 25px; border: 1px solid #dbe6e8; border-radius: var(--radius-md); background: #fff; }
.flow-no { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 45px; border-radius: 50%; background: var(--surface-accent); color: var(--brand); font-size: 12px; font-weight: 850; }
.flow-list strong { font-size: 16px; }
.flow-list p { margin: 8px 0 0; color: #66787d; font-size: 13px; }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.comparison-table { width: 100%; min-width: 690px; border-collapse: collapse; background: #fff; }
.comparison-table th, .comparison-table td { padding: 18px 20px; border-bottom: 1px solid #e7edef; text-align: left; vertical-align: middle; }
.comparison-table th { background: #f7f9fa; color: #66777d; font-size: 12px; }
.comparison-table th:last-child { background: #edf5f6; color: var(--brand-deep); }
.comparison-table td { color: #64767b; font-size: 13px; }
.comparison-table td:first-child { color: var(--ink); font-weight: 700; }
.comparison-table td:last-child { background: #fbfdfd; color: var(--brand); }
.comparison-table tr:last-child td { border-bottom: 0; }

.section-price { background: var(--brand-dark); color: #fff; }
.price-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 72px; align-items: center; }
.section-price .eyebrow { color: #a9d5cf; }
.price-copy > p:not(.eyebrow):not(.price-note) { color: #c9d7da; }
.price-note { margin: 24px 0 0; color: #91a8ae; font-size: 11px; }
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price-card { position: relative; padding: 27px; border-radius: 20px; background: #fff; color: var(--ink); }
.trial-card { background: #f3f7f7; }
.standard-card { box-shadow: 0 18px 48px rgba(0,0,0,.22); }
.recommended { position: absolute; top: -11px; right: 18px; padding: 5px 9px; border-radius: 999px; background: #d9eee9; color: #23584e; font-size: 9px; font-weight: 850; letter-spacing: .06em; }
.plan-name { margin: 0; color: #61747a; font-size: 13px; font-weight: 800; }
.price-value { display: flex; gap: 6px; align-items: baseline; margin-top: 12px; }
.price-value strong { font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.price-value span { color: #6f8085; font-size: 12px; font-weight: 700; }
.plan-lead { min-height: 48px; margin: 15px 0 0; color: #66787d; font-size: 12px; }
.price-card ul { min-height: 208px; margin: 16px 0 23px; padding: 0; list-style: none; }
.price-card li { position: relative; padding: 7px 0 7px 22px; border-bottom: 1px solid #edf1f2; color: #4f6268; font-size: 12px; }
.price-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 900; }

.faq-list { max-width: 850px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 20px; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 24px; padding-right: 44px; color: #63757b; font-size: 13px; }

.final-cta { padding-block: 74px; background: linear-gradient(135deg, #2a6675 0%, #1d4b58 100%); color: #fff; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.eyebrow.light { color: #b9deda; }
.final-cta p:not(.eyebrow) { max-width: 690px; margin: 18px 0 0; color: #d8e5e7; }
.final-actions { flex: 0 0 auto; display: flex; gap: 10px; }

.site-footer { padding-block: 36px; background: #132d35; color: #c7d6d9; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: start; }
.footer-inner strong { color: #fff; font-size: 17px; }
.footer-inner p { margin: 5px 0 0; color: #91a7ad; font-size: 11px; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }
.footer-inner nav a { font-size: 11px; text-decoration: none; }
.footer-inner nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }

@media (max-width: 1040px) {
    .header-nav { display: none; }
    .header-inner { grid-template-columns: 1fr auto; }
    .hero { grid-template-columns: 1fr; gap: 56px; }
    .hero-copy { max-width: 810px; }
    .product-preview { width: min(100%, 760px); margin-inline: auto; }
    .price-layout { grid-template-columns: 1fr; }
    .price-copy { max-width: 760px; }
}

@media (max-width: 760px) {
    .section-shell { width: min(calc(100% - 28px), var(--max)); }
    .header-inner { width: calc(100% - 24px); min-height: 66px; gap: 10px; }
    .site-brand small { display: none; }
    .site-brand strong { font-size: 16px; }
    .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
    .header-actions { gap: 5px; }
    .button-small { min-height: 38px; padding: 8px 10px; font-size: 11px; }

    .hero { min-height: 0; padding-block: 56px 58px; gap: 46px; }
    .hero h1 { font-size: clamp(37px, 11vw, 52px); }
    .hero-lead { font-size: 14px; }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-notes { font-size: 11px; }
    .product-preview::before { inset: -25px; }
    .calendar-day { min-height: 65px; padding: 4px; }
    .calendar-day i { padding: 3px; font-size: 5.5px; }
    .preview-insight small { display: none; }

    .section { padding-block: 76px; }
    .feature-grid, .price-cards { grid-template-columns: 1fr; }
    .feature-card-main { grid-column: auto; }
    .feature-card { min-height: 0; padding: 24px; }
    .feature-number { margin-bottom: 28px; }
    .flow-list { grid-template-columns: 1fr; }
    .flow-list li { min-height: 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
    .flow-no { margin-bottom: 0; }
    .price-card ul { min-height: 0; }
    .final-cta-inner { display: block; }
    .final-actions { display: grid; margin-top: 30px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-inner nav { justify-content: flex-start; }
    .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
    .header-actions .button-ghost { display: none; }
    .preview-window { border-radius: 18px; }
    .calendar-day:nth-child(n+8) { display: none; }
    .calendar-grid { grid-template-rows: auto; }
    .hero-actions .button-large, .final-actions .button-large { font-size: 14px; }
}

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