* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fff;
  --fg: #111;
  --muted: #6b6b6b;
  --line: #ececec;
  --soft: #f7f7f7;
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.8;
  font-size: 15px;
  font-feature-settings: 'palt';
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container,
.container-wide {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1080px; }
.lp .container { max-width: 1080px; }

header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 1rem;
}
.logo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.header-nav { display: flex; align-items: center; gap: 20px; }
.header-link { font-size: 13px; color: var(--muted); }
.header-link:hover { color: var(--fg); }

.header-cta,
.cta-btn,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.header-cta,
.cta-btn {
  background: var(--fg);
  color: #fff;
}
.header-cta:hover,
.cta-btn:hover { opacity: 0.82; }
.cta-btn {
  height: 42px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 500;
}
.cta-btn-secondary {
  height: 42px;
  padding: 0 18px;
  background: #fff;
  color: var(--fg);
  border-color: #ddd;
}
.cta-btn-secondary:hover { background: var(--soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }

.hero {
  padding: 72px 0 64px;
  text-align: left;
  background: #fff;
}
.hero-badge {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  background: none;
  border: 0;
  padding: 0;
}
.hero h1 {
  font-size: clamp(26px, 4.4vw, 36px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.hero h1 span { color: inherit; box-shadow: none; }
.hero .lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 34em;
  margin: 0 0 28px;
}
.cta-sub { font-size: 12px; color: #999; margin-top: 12px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--soft); border-top: 1px solid var(--line); }
.section-title {
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.section-lead {
  text-align: left;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.prose { max-width: 680px; margin: 0 auto; }
.prose h1 { font-size: 26px; font-weight: 600; line-height: 1.4; margin: 0 0 12px; }
.prose h2 { font-size: 17px; font-weight: 600; margin: 32px 0 10px; }
.prose h3 { font-size: 15px; font-weight: 600; margin: 22px 0 6px; }
.prose p, .prose li { font-size: 15px; color: #333; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 1.2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: #333; }
.prose code, .mono {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 0.86em;
  background: var(--soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.prose pre {
  background: #161616;
  color: #eee;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 16px;
  border-radius: 8px;
}
.prose pre code { background: none; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 16px; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 500; }

.cards { display: grid; gap: 28px; }
.card { background: none; border: 0; padding: 0; border-radius: 0; }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.card p { font-size: 14px; color: var(--muted); }

.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare th, .compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}
.compare th.us,
.compare td.us {
  background: transparent;
  color: inherit;
  font-weight: 500;
}
.compare .note,
.note {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

.steps { display: grid; gap: 24px; }
.step { display: block; padding: 0; border: 0; }
.step::before { content: none; }
.step h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--muted); }

.pricing-card { max-width: none; margin: 0; text-align: left; background: none; border: 0; padding: 0; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg); }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pricing-lines { list-style: none; margin: 16px 0 24px; font-size: 14px; color: var(--muted); }
.pricing-lines li { padding: 6px 0; }

.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.faq-item h3::before { content: none; }
.faq-item p { font-size: 14px; color: var(--muted); }
.faq-item a { text-decoration: underline; }

.crumb { font-size: 12px; color: #999; margin-bottom: 16px; }
.crumb a:hover { text-decoration: underline; }

.diag-form { display: flex; gap: 8px; margin: 0; }
.diag-form input[type="url"],
.diag-form input[type="text"] {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
.diag-form input:focus { outline: none; border-color: #111; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.chip {
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #555;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: #111; color: #111; }

.sev {
  border-radius: 8px;
  padding: 16px 18px;
  margin: 16px 0;
  border: 1px solid var(--line);
  background: var(--soft);
}
.sev-broken { border-color: #f0d0d0; background: #fdf7f7; }
.sev-leaks { border-color: #ead8a8; background: #fdfaf2; }
.sev-ok { border-color: #d4e4d8; background: #f6faf7; }
.sev-unknown { }
.sev h2 { font-size: 16px; margin-bottom: 4px; }
.finding {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 8px 0;
}
.finding .lvl { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.lvl-error { color: #b42318; }
.lvl-warn { color: #8a5a10; }
.lvl-ok { color: #17663a; }
.lvl-info { color: var(--muted); }

footer {
  padding: 28px 0 40px;
  font-size: 12px;
  color: #999;
  border-top: 1px solid var(--line);
}
footer a { color: #999; margin-right: 16px; }
footer a:hover { color: #111; }

.lp .hero { padding: 56px 0 8px; border-bottom: 0; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.15fr);
  gap: 40px;
  align-items: center;
}
.hero-visual {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}
.media-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 28px 0 8px;
  color: #999;
  font-size: 12px;
}
.media-row span { letter-spacing: 0.02em; }

.lp .section-title { font-size: 22px; text-align: center; }
.lp .section-lead { text-align: center; max-width: 34em; margin-left: auto; margin-right: auto; }

.lp .cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 22px;
}
.lp .card .n {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.lp .steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lp .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.lp .step .n {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.flow b {
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}
.flow i { color: #bbb; font-style: normal; }

.pricing-wrap { display: flex; justify-content: center; }
.lp .pricing-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  background: #fff;
  text-align: center;
}
.lp .pricing-lines { text-align: left; max-width: 280px; margin-left: auto; margin-right: auto; }
.lp .pricing-card .cta-btn { width: 100%; }

.cta-band {
  background: var(--fg);
  color: #fff;
  border-top: 0;
  text-align: center;
}
.cta-band .section-title { color: #fff; }
.cta-band .cta-btn { background: #fff; color: #111; }
.cta-band .cta-btn-secondary { background: transparent; color: #fff; border-color: #444; }
.cta-band .cta-row { justify-content: center; }

@media (max-width: 800px) {
  .hero-split,
  .lp .cards,
  .lp .steps { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .lp .hero { padding: 32px 0 8px; }
  .header-link { display: none; }
  .diag-form { flex-direction: column; }
  .compare { font-size: 12px; }
}
