/* ============================================================
   Security Okinawa — Stylesheet
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }

:root {
  --navy-900: #0a1f33;
  --navy-800: #0f2f4a;
  --navy-700: #174566;
  --ink:      #1f2d3a;
  --muted:    #5b6b7a;
  --line:     #dde5ec;
  --bg:       #ffffff;
  --bg-alt:   #f3f7fa;
  --sea:      #0b7a9e;
  --sea-dark: #08607d;
  --sea-100:  #dff1f7;
  --coral:    #e8553d;
  --coral-dark:#c9412b;
  --max-w: 1040px;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(10,31,51,.08);
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.85; -webkit-font-smoothing: antialiased;
}
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--sea-dark); text-decoration: underline; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.4; font-weight: 700; }
p + p { margin-top: 1em; }
ul { list-style: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-900); font-size: 1.05rem; }
.brand:hover { text-decoration: none; color: var(--navy-900); }
.brand svg { width: 28px; height: 28px; }
.brand small { display: block; font-size: .65rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--sea); text-decoration: none; }
.nav-links .nav-cta { background: var(--coral); color: #fff; padding: 8px 18px; border-radius: 999px; font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--coral-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-900); margin: 5px auto; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, #0b6f8f 100%);
  color: #fff; padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40px;
  background: var(--bg);
  clip-path: path('M0,40 C200,0 400,40 640,20 C880,0 1100,38 1440,12 L1440,40 Z'); }
.hero .eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .12em; padding: 4px 14px;
  border: 1px solid rgba(255,255,255,.4); border-radius: 999px; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(1.75rem, 4.6vw, 2.8rem); letter-spacing: .02em; }
.hero p.lead { margin-top: 20px; max-width: 640px; font-size: 1.05rem; color: #dbe9f2; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 48px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2rem); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 14px; }
.section-title::after { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px;
  background: var(--coral); margin-top: 12px; }
.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.section-lead { color: var(--muted); max-width: 720px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--sea-100);
  color: var(--sea-dark); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 12px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--muted); }

.info-box { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sea);
  border-radius: var(--radius); padding: 24px 28px; }
.info-box h3 { font-size: .85rem; color: var(--sea); letter-spacing: .08em; margin-bottom: 8px; }
.checks li { position: relative; padding-left: 28px; margin-top: 8px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--sea); font-weight: 700; }
.bullets li { position: relative; padding-left: 20px; margin-top: 8px; }
.bullets li::before { content: ""; position: absolute; left: 4px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 36px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--sea); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "おすすめ"; position: absolute; top: -13px; left: 24px; background: var(--sea); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.1rem; }
.price { margin: 10px 0 4px; color: var(--navy-900); font-size: 1.9rem; font-weight: 700; }
.price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.plan .lead-time { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.plan ul { font-size: .92rem; }
.note { font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* ---------- Flow ---------- */
.flow { counter-reset: flow; margin-top: 28px; max-width: 760px; }
.flow li { position: relative; padding: 0 0 24px 56px; border-left: 2px solid var(--line); margin-left: 17px; }
.flow li:last-child { border-left-color: transparent; padding-bottom: 0; }
.flow li::before { counter-increment: flow; content: counter(flow); position: absolute; left: -18px; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.flow strong { display: block; color: var(--navy-900); }
.flow p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-900); }
.faq details p { margin-top: 10px; font-size: .94rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: 20px; padding: 48px 28px; text-align: center; }
.cta h2 { color: #fff; font-size: 1.5rem; }
.cta p { color: #dbe9f2; margin: 12px 0 24px; }

/* ---------- Tables & forms ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .94rem; }
table.data th { width: 28%; background: var(--bg-alt); color: var(--navy-900); }
.form { max-width: 640px; }
.field { margin-top: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.req { color: var(--coral); font-size: .78rem; margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #b8c6d2; border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-radius: 8px; display: none; font-size: .94rem; }
.form-msg.ok { display: block; background: #e6f6ec; color: #17623a; }
.form-msg.err { display: block; background: #fdeceb; color: #9b2c1f; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-900); color: #b9c9d6; padding: 40px 0 28px; font-size: .88rem; }
footer.site a { color: #dbe9f2; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.copy { margin-top: 24px; font-size: .78rem; color: #8aa1b3; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { text-align: center; margin-top: 12px; border: 0; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 52px 0; }
  table.data th { width: 34%; }
}
