/* Tazuna（手綱）LP — light, clean, trustworthy. */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f0f4fa;
  --ink: #0f1b2d;
  --ink-soft: #4a5769;
  --ink-mute: #7b899b;
  --navy: #0f2a5b;
  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-050: #eaf1ff;
  --accent: #ff6a3d;
  --accent-600: #ec4f20;
  --safe: #16a34a;
  --safe-050: #e9f8ef;
  --border: #e3e8f0;
  --border-strong: #d2dae6;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 91, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.35; letter-spacing: 0.01em; margin: 0; font-weight: 800; }
p { margin: 0; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 251, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; }
.brand small { font-size: 12px; color: var(--ink-mute); font-weight: 700; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--navy); text-decoration: none; }
.nav .btn { color: #fff; }
@media (max-width: 820px) { .nav .nav-link { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 61, 0.32); }
.btn-primary:hover { background: var(--accent-600); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: #fff; text-decoration: none; border-color: var(--blue); color: var(--blue-600); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 74px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 82% 8%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(50% 40% at 4% 90%, rgba(255, 106, 61, 0.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--blue-600); background: var(--blue-050); padding: 7px 14px; border-radius: 999px;
  letter-spacing: .02em;
}
.hero h1 { font-size: clamp(28px, 4vw, 46px); color: var(--navy); margin: 20px 0 0; letter-spacing: .005em; }
.hero h1 .u { background: linear-gradient(transparent 66%, rgba(255,106,61,.28) 66%); }
.hero .lead { font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-soft); margin-top: 20px; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-mute); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex: none; }

/* trust chips under hero */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }

/* ---------- dashboard mockup ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mock-top .t { font-size: 13px; color: var(--ink-mute); font-weight: 700; }
.badge-safe {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--safe); background: var(--safe-050); padding: 5px 10px; border-radius: 999px;
}
.badge-safe .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--safe); }
.mock-total { margin: 10px 0 4px; }
.mock-total .num { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.mock-total .cap { font-size: 14px; color: var(--ink-mute); font-weight: 600; }
.meter { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 10px 0 4px; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #4f86ff); }
.mock-sub { font-size: 12px; color: var(--ink-mute); margin-bottom: 14px; }
.dept { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); font-size: 13px; }
.dept .name { color: var(--ink); font-weight: 600; }
.dept .bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.dept .bar > span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.dept .bar.warn > span { background: var(--accent); }
.dept .pct { color: var(--ink-soft); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.dept .pct.warn { color: var(--accent-600); }
.mock-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.toggle { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.toggle .sw { width: 34px; height: 20px; border-radius: 999px; background: var(--safe); position: relative; }
.toggle .sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.tag-stop { font-size: 11.5px; font-weight: 700; color: var(--accent-600); background: #fff2ee; padding: 5px 10px; border-radius: 999px; }
.mock-float {
  position: absolute; right: -14px; bottom: -16px; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
}
.mock-float .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- logos / social proof strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; padding: 20px 24px; }
.strip p { font-size: 13px; color: var(--ink-mute); font-weight: 600; }
.strip .items { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.strip .items span { font-size: 13px; color: var(--ink-soft); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.strip .items span::before { content: "✓"; color: var(--blue); font-weight: 900; }

/* ---------- sections ---------- */
section { padding: 78px 0; }
.section-head { max-width: 44em; margin: 0 auto 46px; text-align: center; }
.section-head .kicker { font-size: 13px; font-weight: 800; color: var(--accent-600); letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); color: var(--navy); margin-top: 12px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 16px; }

.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* problem cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.alt .card { background: var(--bg); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--blue-050); display: grid; place-items: center; margin-bottom: 14px; }
.card h3 { font-size: 17px; color: var(--navy); }
.card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

/* solution band */
.band { background: linear-gradient(135deg, var(--navy), #123a7a); color: #fff; border-radius: var(--radius-lg); padding: 42px 40px; text-align: center; }
.band h2 { font-size: clamp(20px, 2.6vw, 28px); color: #fff; }
.band p { color: #cdd9f0; margin-top: 12px; font-size: 16px; }
.band strong { color: #fff; }

/* feature grid */
.feat-lead { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; }
.feat-lead h3 { font-size: 18px; color: var(--navy); }
.feat-lead .tag { font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; }
.tag-main { background: var(--accent); color: #fff; }
.tag-sub { background: var(--surface-2); color: var(--ink-soft); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  display: flex; gap: 15px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-050); display: grid; place-items: center; }
.feature h4 { font-size: 16px; color: var(--navy); margin: 0; }
.feature p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.subgrid { margin-top: 40px; }

/* why us */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why .card { border-top: 3px solid var(--blue); }
.why .n { font-size: 13px; font-weight: 800; color: var(--blue); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; }
.step .no { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 17px; color: var(--navy); }
.step p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

/* trust band */
.trust { background: var(--surface-2); border-radius: var(--radius-lg); padding: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.trust .item { display: flex; gap: 13px; }
.trust .ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.trust h4 { font-size: 15.5px; color: var(--navy); }
.trust p { font-size: 13.5px; color: var(--ink-soft); margin-top: 5px; }

/* audience */
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud .box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aud .box.fit { border-left: 4px solid var(--safe); }
.aud .box.unfit { border-left: 4px solid var(--border-strong); }
.aud h3 { font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.aud ul { margin: 0; padding: 0; list-style: none; }
.aud li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--ink-soft); font-size: 14.5px; }
.aud .fit li::before { content: "✓"; position: absolute; left: 0; color: var(--safe); font-weight: 900; }
.aud .unfit li::before { content: "—"; position: absolute; left: 0; color: var(--ink-mute); font-weight: 900; }

/* honest note */
.note { background: var(--blue-050); border: 1px solid #cfe0ff; border-radius: var(--radius); padding: 22px 26px; color: var(--navy); font-size: 14.5px; text-align: center; max-width: 52em; margin: 0 auto; }

/* JP line-break control */
.hero h1 .ln { display: inline-block; }
.nb { white-space: nowrap; }

/* pricing */
.price-wrap { max-width: 660px; margin: 0 auto; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; text-align: center; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--accent)); }
.price-card .big { font-size: clamp(36px, 5.4vw, 50px); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.15; }
.price-card .big small { font-size: 18px; color: var(--ink-mute); font-weight: 700; }
.price-card .plus { display: inline-block; margin-top: 10px; font-size: 16px; color: var(--accent-600); font-weight: 800; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 0; text-align: left; }
.price-card li { position: relative; padding-left: 30px; margin: 13px 0; color: var(--ink-soft); font-size: 14.5px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--safe); font-weight: 900; }
.price-card li strong { color: var(--navy); }
.price-note { font-size: 13px; color: var(--ink-mute); margin-top: 20px; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, var(--surface), var(--bg)); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.contact-copy h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.contact-copy p { color: var(--ink-soft); margin-top: 14px; font-size: 15.5px; }
.contact-copy .li { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; font-size: 14.5px; color: var(--ink); }
.contact-copy .li .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--safe-050); display: grid; place-items: center; }

form.card2 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field .req { color: var(--accent-600); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border .12s ease, box-shadow .12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.field textarea { resize: vertical; min-height: 92px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 20px; }
.form-actions .btn { width: 100%; }
.form-fine { font-size: 12px; color: var(--ink-mute); margin-top: 12px; text-align: center; }
#form-status { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
#form-status[data-state="ok"] { color: var(--safe); }
#form-status[data-state="err"] { color: var(--accent-600); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 800; font-size: 20px; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 22px 18px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #cdd9f0; padding: 42px 0 30px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9fb3d6; }
.site-footer a { color: #cdd9f0; font-weight: 600; font-size: 14px; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,.12); margin-top: 14px; padding-top: 16px; font-size: 12.5px; color: #8ba3cc; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards, .why, .steps, .trust { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .aud { grid-template-columns: 1fr; }
  .mock-float { position: static; margin-top: 14px; display: inline-flex; }
  section { padding: 56px 0; }
  .band, .trust { padding: 30px 22px; }
}
@media (max-width: 540px) {
  .row2 { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 20px; }
  form.card2 { padding: 22px; }
}
