:root {
  --navy-900: #0b1626;
  --navy-800: #11223a;
  --navy-700: #1a3152;
  --ink: #1b2433;
  --ink-sub: #4a5568;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --accent: #00a88f;
  --accent-dark: #008a76;
  --accent-soft: #e3f6f2;
  --warn: #e8a317;
  --ng: #e0483e;
  --ok: #2fbf71;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 22, 38, .08);
  --font: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em; padding: .8em 1.6em;
  background: var(--accent); color: #fff; font-weight: 700;
  border: 2px solid var(--accent); border-radius: 999px;
  text-decoration: none; cursor: pointer; font-size: 15px; font-family: inherit;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-sm { padding: .45em 1.2em; font-size: 14px; }
.btn-lg { padding: 1em 2em; font-size: 16px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-block { width: 100%; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 38, .92); backdrop-filter: blur(8px);
  color: #fff;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo-mark { color: var(--accent); display: flex; }
.logo-text { font-weight: 700; font-size: 15px; line-height: 1.2; }
.logo-text small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .15em; color: #8aa0bd; font-weight: 400; }
.global-nav { display: flex; align-items: center; gap: 24px; }
.global-nav a { color: #d5deea; text-decoration: none; font-size: 14px; }
.global-nav a:hover { color: #fff; }
.global-nav a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 9px; width: 22px; height: 2px; background: #fff; transition: .25s; }
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,168,143,.22), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: 88px 0 96px; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-tagline { margin-top: 20px; font-size: 18px; font-weight: 700; letter-spacing: .08em; color: #fff; display: inline-block; padding: 4px 14px; border: 1px solid rgba(0,168,143,.6); border-radius: 6px; background: rgba(0,168,143,.12); }
.hero .lead { margin-top: 20px; color: #c9d4e3; font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: #a9b8cc; }
.hero-points li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.terminal { background: #07101d; border: 1px solid #23395a; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0f1d31; border-bottom: 1px solid #23395a; }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #34506f; }
.terminal-bar span { margin-left: 8px; font-size: 12px; color: #6f86a5; }
.terminal-body { margin: 0; padding: 20px 22px; font-size: 13px; line-height: 1.9; color: #d5deea; white-space: pre; overflow-x: auto; }
.c-ok { color: var(--ok); } .c-warn { color: var(--warn); } .c-ng { color: var(--ng); } .c-dim { color: #4f6787; }
.cursor { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--ink-sub); }
.section-dark .section-head p:not(.eyebrow) { color: #a9b8cc; }

/* worries */
.worry-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.worry-grid li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 22px 54px; font-size: 15px; color: var(--ink-sub);
}
.worry-grid li::before {
  content: "?"; position: absolute; left: 18px; top: 22px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; font-weight: 900; font-size: 13px; font-family: var(--mono);
}
.worry-grid strong { color: var(--ink); }
.worry-answer { text-align: center; margin-top: 40px; font-size: 18px; }
.worry-answer strong { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.why-card .num { font-size: 32px; font-weight: 600; color: var(--accent); }
.why-card h3 { font-size: 19px; margin: 8px 0 14px; }
.why-card p { font-size: 15px; color: var(--ink-sub); }
.why-card strong { color: var(--ink); }

/* selfcheck */
.selfcheck { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.selfcheck > label {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 4px;
  border-bottom: 1px dashed var(--line); cursor: pointer; font-size: 15px;
}
.selfcheck input[type="checkbox"] { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.selfcheck-result { margin-top: 24px; }
.meter { height: 10px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--ng); border-radius: 999px; transition: width .4s, background .4s; }
#selfcheck-text { margin-top: 14px; font-size: 15px; }
#selfcheck-text a { font-weight: 700; }

/* plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 16px; border-radius: 999px; }
.plan-tag { font-size: 12px; letter-spacing: .12em; color: var(--accent-dark); }
.plan h3 { font-size: 22px; margin-top: 4px; }
.plan-desc { margin-top: 12px; font-size: 14px; color: var(--ink-sub); }
.price { margin: 20px 0; font-weight: 700; }
.price-num { font-family: var(--mono); font-size: 34px; color: var(--ink); }
.price small { font-size: 12px; color: var(--ink-sub); font-weight: 400; }
.check-list { list-style: none; padding: 20px 0 0; margin: 0 0 20px; border-top: 1px solid var(--line); font-size: 14px; flex-grow: 1; }
.check-list li { padding-left: 1.6em; position: relative; margin-bottom: 8px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.plan-meta { font-size: 12px; color: var(--ink-sub); background: var(--bg-alt); border-radius: 8px; padding: 10px 12px; }
.note { margin-top: 24px; font-size: 13px; color: var(--ink-sub); text-align: center; }

.check-list a { color: inherit; }

/* scope */
.scope-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.scope { border-radius: var(--radius); padding: 32px 28px; }
.scope-can { background: #fff; border: 2px solid var(--accent); }
.scope-cannot { background: var(--bg-alt); border: 1px solid var(--line); }
.scope h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.scope-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 15px; color: #fff; background: var(--accent); flex-shrink: 0; }
.scope-cannot .scope-icon { background: #8a96a8; }
.scope ul { list-style: none; padding: 0; margin: 0; }
.scope li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.scope li strong { display: block; }
.scope li span { display: block; font-size: 13px; color: var(--ink-sub); line-height: 1.7; }
.scope-can ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.scope-note { margin-top: 18px; font-size: 13px; color: var(--ink-sub); background: #fff; border-radius: 8px; padding: 14px; }

/* report */
.report-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.report-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.report-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--navy-900); }
.report-label { font-size: 11px; letter-spacing: .12em; color: var(--ink-sub); }
.report-title { font-weight: 700; font-size: 15px; margin-top: 4px; }
.grade { text-align: center; flex-shrink: 0; }
.grade span { display: block; font-size: 10px; color: var(--ink-sub); }
.grade strong { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--warn); color: #fff; font-size: 28px; font-family: var(--mono); }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.stat { border-radius: 8px; padding: 10px; text-align: center; font-size: 12px; }
.stat strong { display: block; font-size: 24px; font-family: var(--mono); line-height: 1.3; }
.stat-high { background: #fdecea; color: var(--ng); }
.stat-mid { background: #fdf4e0; color: #b67d05; }
.stat-low { background: var(--bg-alt); color: var(--ink-sub); }
.finding-list { list-style: none; padding: 0; margin: 0; }
.finding-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.finding-list small { display: block; color: var(--ink-sub); font-size: 12px; line-height: 1.6; margin-top: 2px; }
.sev { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; height: fit-content; margin-top: 2px; }
.sev-high { background: var(--ng); color: #fff; }
.sev-mid { background: var(--warn); color: #fff; }
.sev-low { background: var(--line); color: var(--ink-sub); }
.rp + .rp { margin-top: 32px; }
.rp h3 { font-size: 18px; }
.rp h3 span { color: var(--accent); margin-right: 6px; }
.rp p { margin-top: 8px; color: var(--ink-sub); font-size: 15px; }

/* policy */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.policy { border: 1px solid #23395a; border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.02); }
.policy h3 { font-size: 18px; padding-left: 16px; border-left: 3px solid var(--accent); }
.policy p { margin-top: 14px; color: #b9c6d8; font-size: 15px; }

/* flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.flow li { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; position: relative; }
.flow li:nth-child(3) { background: var(--accent-soft); outline: 2px solid var(--accent); }
.step { font-size: 12px; color: var(--accent-dark); letter-spacing: .1em; font-weight: 600; }
.flow h3 { font-size: 17px; margin: 6px 0 10px; }
.flow p { font-size: 14px; color: var(--ink-sub); }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 52px 20px 56px; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 19px; font-family: var(--mono); color: var(--accent); font-size: 18px; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 17px; font-size: 22px; color: var(--ink-sub); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px 56px; color: var(--ink-sub); font-size: 15px; }

/* contact（MW WP Form を .contact-form の中に表示） */
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.contact-form form, .contact-form .mw_wp_form { display: grid; gap: 20px; }
.contact-form p:empty, .contact-form br { display: none; }
.contact-form .field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; align-content: start; }
.contact-form .field-label { display: block; }
.contact-form .error { display: block; color: var(--ng); font-size: 13px; font-weight: 700; margin-top: 4px; }
.contact-form .buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.contact-form .buttons button, .contact-form .buttons input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px;
  padding: 1em 2em; font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: var(--accent); border: 2px solid var(--accent); border-radius: 999px; cursor: pointer;
}
.contact-form .buttons button:hover, .contact-form .buttons input[type="submit"]:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.contact-form .buttons .btn_back, .contact-form .buttons [name="submitBack"] { background: #fff; color: var(--ink); border-color: #cfd7e2; }
.contact-form .buttons .btn_back:hover { background: var(--bg-alt); border-color: #cfd7e2; }
.contact-form input[type="tel"] { width: 100%; }
.mw_wp_form_confirm .field { font-weight: 400; }
.mw_wp_form_confirm .field > span:first-child, .mw_wp_form_confirm .field-label { font-weight: 700; }
.mw_wp_form_confirm .agree { display: none; }
.mw_wp_form_confirm .chips { display: block; font-size: 15px; }
.mw_wp_form_complete { text-align: center; }
.lwsec-complete { padding: 24px 8px; display: grid; gap: 12px; font-size: 15px; color: var(--ink-sub); }
.lwsec-complete strong { font-size: 20px; color: var(--ink); }
.mwform-checkbox-field { margin: 0 !important; }
.contact-fallback { text-align: center; }
.contact-privacy { font-size: 13px; color: var(--ink-sub); text-align: center; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"], .contact-form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px;
  border: 1px solid #cfd7e2; border-radius: 8px; background: #fbfcfd;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: #fff; }
.req { display: inline-block; margin-left: 8px; font-size: 11px; background: var(--ng); color: #fff; padding: 0 6px; border-radius: 3px; vertical-align: 2px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .mwform-checkbox-field { display: inline-flex; }
.chips label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chips label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.chips input { accent-color: var(--accent); }
.contact-form .agree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 400; justify-content: center; font-size: 14px; }
.contact-form .agree label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.urgent { font-size: 12px; color: var(--ink-sub); background: var(--bg-alt); padding: 12px 14px; border-radius: 8px; }

/* footer */
.site-footer { background: var(--navy-900); color: #a9b8cc; padding: 56px 0 24px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-logo { color: #fff; font-weight: 700; margin-bottom: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a { color: #d5deea; text-decoration: none; }
.copyright { text-align: center; margin-top: 40px; font-size: 12px; color: #6f86a5; font-family: var(--mono); }

.pc { display: inline; }
.sp { display: none; }

/* responsive */
@media (max-width: 960px) {
  .hero-inner, .report-wrap, .scope-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .worry-grid, .why-grid, .plan-grid, .flow { grid-template-columns: 1fr 1fr; }
  .plan-grid { gap: 32px 20px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 64px 0 auto 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px;
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav a { padding: 14px 4px; border-bottom: 1px solid #1f3352; font-size: 15px; }
  .global-nav a.btn { margin-top: 16px; border-bottom: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .worry-grid, .why-grid, .plan-grid, .flow, .policy-grid, .field-row, .scope-can ul { grid-template-columns: 1fr; }
  .scope { padding: 24px 18px; }
  .hero-tagline { font-size: 16px; }
  .terminal-body { font-size: 11px; padding: 16px; }
  .selfcheck, .contact-form { padding: 22px 18px; }
  .report-mock { padding: 20px; }
  .pc { display: none; }
  .sp { display: inline; }
  .hero-cta .btn { flex: 1 1 100%; }
}
