/* =========================================================
   株式会社シーボックス — site styles
   ========================================================= */

:root {
  --green-900: #0f3d24;
  --green-700: #1d6b3d;
  --green-600: #23824a;
  --green-500: #2fa35c;
  --green-100: #e6f4ea;
  --green-50: #f3faf5;
  --ink: #1b2420;
  --ink-soft: #4a5751;
  --ink-mute: #7a8780;
  --line: #e1e7e3;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 61, 36, .06), 0 8px 24px rgba(15, 61, 36, .06);
  --shadow-lg: 0 2px 4px rgba(15, 61, 36, .06), 0 20px 48px rgba(15, 61, 36, .10);
  --max: 1120px;
  --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Inter", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; letter-spacing: .03em; word-break: auto-phrase; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15, 61, 36, .05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-en { font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--green-700); }
.brand-ja { font-size: 11px; color: var(--ink-soft); letter-spacing: .12em; }

.global-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.global-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.global-nav a:hover, .global-nav a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.global-nav .nav-cta a { background: var(--green-600); color: #fff; padding: 9px 20px; margin-left: 8px; }
.global-nav .nav-cta a:hover { background: var(--green-700); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s; content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header .container { height: 64px; }
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 64px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(15, 61, 36, .08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .global-nav { max-height: calc(100vh - 64px); overflow-y: auto; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .global-nav a { padding: 14px 12px; border-radius: 10px; font-size: 15px; }
  .global-nav .nav-cta a { margin: 10px 0 0; text-align: center; padding: 14px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px rgba(35, 130, 74, .25); }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: var(--green-600); color: var(--green-700); background: #fff; }
.btn-ghost:hover { background: var(--green-50); color: var(--green-700); }
.btn-light { background: #fff; color: var(--green-700); }
.btn-light:hover { color: var(--green-900); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero (top) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(47, 163, 92, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(47, 163, 92, .10), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, #f1f8f3 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(29, 107, 61, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 800; margin: 18px 0 22px; letter-spacing: .04em; word-break: keep-all; }
.hero h1 .line { display: inline-block; white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero-lead { font-size: 17px; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.hero-tags li {
  font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--green-700);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--green-100); padding: 4px 12px; border-radius: 999px;
}

.hero-visual { position: relative; aspect-ratio: 4 / 5; max-width: 420px; justify-self: end; width: 100%; }
.hero-card {
  position: absolute; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.hero-card .icon { width: 44px; height: 44px; }
.hero-card strong { font-size: 15px; }
.hero-card small { font-size: 12px; color: var(--ink-mute); line-height: 1.6; }
.hero-card.c1 { top: 0; left: 0; width: 64%; animation: float 7s ease-in-out infinite; }
.hero-card.c2 { top: 35%; right: 0; width: 64%; animation: float 8s ease-in-out -2s infinite; }
.hero-card.c3 { bottom: 0; left: 10%; width: 64%; animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 1024px) {
  .hero { padding: 64px 0 72px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ---------- Page header (sub pages) ---------- */
.page-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(47, 163, 92, .14), transparent 60%),
    linear-gradient(180deg, #fbfdfc 0%, #f1f8f3 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-top: 10px; }
.page-hero p { color: var(--ink-soft); margin: 14px 0 0; max-width: 40em; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-mute); margin-bottom: 18px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b9c4be; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--green-600); }
@media (max-width: 600px) { .page-hero { padding: 40px 0 36px; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-top: 12px; }
.section-head p { color: var(--ink-soft); margin: 14px 0 0; }
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 40em; }
@media (max-width: 600px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.prose { max-width: 760px; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; font-weight: 700; margin: 36px 0 12px; }
.prose ul { padding-left: 1.3em; color: var(--ink-soft); margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.note { font-size: 13px; color: var(--ink-mute); }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px; color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.card .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600); margin-bottom: 20px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; margin: 0; }
.card .more {
  margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 700; color: var(--green-600);
  display: inline-flex; align-items: center; gap: 6px;
}
a.card:hover .more .arrow { transform: translateX(3px); }
.card .more .arrow { transition: transform .2s; }
.card .badge {
  position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: #fff4e0; color: #9a6200;
}
.card.is-disabled { background: var(--bg-soft); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow); text-align: center; }
.stat b { display: block; font-family: var(--font-en); font-size: 30px; font-weight: 800; color: var(--green-600); line-height: 1.2; }
.stat span { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%;
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Highlight panels ---------- */
.panel {
  background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.panel + .panel { margin-top: 24px; }
.panel h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.panel h3 .num {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; color: #fff; background: var(--green-600);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
}
.panel p:last-child { margin-bottom: 0; }
.panel p { color: var(--ink-soft); }
@media (max-width: 600px) { .panel { padding: 24px 20px; } }

/* ---------- Flow (workflow steps) ---------- */
.flow { list-style: none; counter-reset: step; position: relative; }
.flow > li {
  position: relative; counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding-bottom: 32px;
}
.flow > li::before {
  content: counter(step, decimal-leading-zero);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 800; font-size: 16px; color: var(--green-700);
  background: #fff; border: 2px solid var(--green-500); position: relative; z-index: 1;
}
.flow > li::after {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px;
  background: linear-gradient(var(--green-100), var(--green-100));
}
.flow > li:last-child { padding-bottom: 0; }
.flow > li:last-child::after { display: none; }
.flow h3 { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }
.flow p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.flow .flow-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px 20px; }
@media (max-width: 600px) {
  .flow > li { grid-template-columns: 44px 1fr; gap: 14px; }
  .flow > li::before { width: 44px; height: 44px; font-size: 14px; }
  .flow > li::after { left: 21px; top: 44px; }
  .flow .flow-body { padding: 2px 16px 16px; }
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.data th, table.data td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--green-50); font-size: 13px; color: var(--green-900); font-weight: 700; letter-spacing: .06em; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.price { font-family: var(--font-en); font-weight: 700; white-space: nowrap; color: var(--ink); }

.dl { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); }
.dl dt, .dl dd { margin: 0; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; color: var(--green-900); font-size: 15px; }
.dl dd { color: var(--ink-soft); }
.dl dd ul { list-style: none; display: grid; gap: 4px; }
@media (max-width: 600px) {
  .dl { grid-template-columns: 1fr; }
  .dl dt { padding: 16px 4px 0; border-bottom: 0; }
  .dl dd { padding: 4px 4px 16px; }
}

/* ---------- Sub nav (tabs) ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.subnav a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500;
  color: var(--ink-soft); background: #fff;
}
.subnav a:hover { border-color: var(--green-500); color: var(--green-700); }
.subnav a[aria-current="page"] { background: var(--green-600); border-color: var(--green-600); color: #fff; }

/* ---------- Model case (SEO) ---------- */
.case { display: grid; grid-template-columns: 1fr; gap: 16px; }
.case-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.case-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--green-700); }
.rank-bar { display: flex; height: 36px; border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 700; }
.rank-bar span { display: grid; place-items: center; color: #fff; white-space: nowrap; overflow: hidden; }
.rank-bar .r-top { background: var(--green-700); }
.rank-bar .r-mid { background: var(--green-500); }
.rank-bar .r-low { background: #7cc896; }
.rank-bar .r-out { background: #dfe5e1; color: var(--ink-mute); }
.case-item p { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- Works ---------- */
.work {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
}
.work-thumb {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  display: grid; place-items: center; background: var(--green-50);
}
/* 同じ画像を大きくぼかして背景に敷く */
.work-thumb .bg {
  position: absolute; inset: -20%; width: 140%; height: 140%; max-width: none; object-fit: cover;
  filter: blur(22px) saturate(1.4); opacity: .55; transform: scale(1.1);
}
.work-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0) 40%, rgba(15, 61, 36, .12));
}
.work-thumb .frame {
  position: relative; z-index: 1; width: 62%; max-width: 214px;
  background: #fff; border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(15, 61, 36, .10), 0 18px 36px rgba(15, 61, 36, .22);
  transition: transform .35s ease, box-shadow .35s ease;
}
.work-thumb .frame::before {
  content: ""; display: block; height: 14px; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 8px 7px, #f2b8b5 2.5px, transparent 3px),
              radial-gradient(circle at 16px 7px, #f3d9a4 2.5px, transparent 3px),
              radial-gradient(circle at 24px 7px, #b7dfc2 2.5px, transparent 3px), #fafbfa;
}
.work-thumb .frame img { width: 100%; aspect-ratio: 125 / 108; object-fit: cover; }
.work:hover .work-thumb .frame { transform: translateY(-4px) scale(1.04); box-shadow: 0 4px 8px rgba(15, 61, 36, .12), 0 26px 48px rgba(15, 61, 36, .26); }
@media (prefers-reduced-motion: reduce) { .work-thumb .frame { transition: none; } }
.work-body { padding: 18px 22px 22px; }
.work-body span { font-size: 12px; font-weight: 700; color: var(--green-600); letter-spacing: .08em; }
.work-body h3 { font-size: 16px; font-weight: 700; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; }
.contact-card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-bottom: 16px; }
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.contact-card .value { font-family: var(--font-en); font-size: 22px; font-weight: 800; color: var(--ink); margin: 6px 0 4px; word-break: break-all; }
.contact-card .value a { color: var(--ink); }
.contact-card .value a:hover { color: var(--green-600); }
.contact-card small { font-size: 13px; color: var(--ink-mute); }

.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.topics li a, .topics li span {
  display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.topics li a:hover { border-color: var(--green-500); color: var(--green-700); }

/* ---------- Sitemap ---------- */
.sitemap-group h2 { font-size: 18px; font-weight: 800; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid var(--green-100); }
.sitemap-group ul { list-style: none; display: grid; gap: 2px; }
.sitemap-group a { display: flex; align-items: center; gap: 8px; padding: 8px 4px; color: var(--ink-soft); border-radius: 8px; }
.sitemap-group a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--green-500); border-right: 2px solid var(--green-500); transform: rotate(45deg); }
.sitemap-group a:hover { color: var(--green-700); background: var(--green-50); }
.sitemap-group .soon { padding: 8px 4px 8px 18px; color: var(--ink-mute); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--green-900), var(--green-600));
  color: #fff; border-radius: 28px; padding: 64px 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 48px solid rgba(255, 255, 255, .07);
}
.cta h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .82); margin: 10px 0 0; }
.cta .actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta .tel { font-family: var(--font-en); font-size: 14px; color: rgba(255, 255, 255, .85); text-align: center; }
.cta .tel a { color: #fff; font-weight: 700; font-size: 20px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 44px 28px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0e1a14; color: #b8c4bd; padding: 72px 0 32px; margin-top: 96px; font-size: 14px; }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer .brand-en { color: #fff; }
.site-footer .brand-ja { color: #8fa197; }
.site-footer address { font-style: normal; margin-top: 20px; line-height: 2; }
.site-footer address a { color: #b8c4bd; }
.site-footer h3 { font-size: 13px; color: #fff; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer ul a { color: #b8c4bd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #7d8d84; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Image placeholder (差し替え用の仮枠) ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 3);
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(35, 130, 74, .05) 0 12px, transparent 12px 24px),
    var(--green-50);
  border: 2px dashed #b7d9c2; border-radius: var(--radius);
  color: var(--green-700); font-size: 13px; line-height: 1.6; padding: 16px;
}
.ph b { display: block; font-family: var(--font-en); font-size: 15px; }
.ph small { color: var(--ink-mute); font-size: 12px; }
@media (max-width: 640px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .works-grid .work-body { padding: 12px 14px 14px; }
  .works-grid .work-body h3 { font-size: 14px; }
  .works-grid .work-thumb .frame { width: 74%; }
}

/* ---------- Photo ---------- */
.photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}

/* ---------- Screenshot (システム画面) ---------- */
.shot {
  background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(15, 61, 36, .06), 0 24px 48px rgba(15, 61, 36, .14);
}
.shot::before {
  content: ""; display: block; height: 26px; border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 14px 13px, #f2b8b5 4px, transparent 4.5px),
              radial-gradient(circle at 28px 13px, #f3d9a4 4px, transparent 4.5px),
              radial-gradient(circle at 42px 13px, #b7dfc2 4px, transparent 4.5px), #fafbfa;
}
.shot img { width: 100%; }
.shot-caption { font-size: 12px; color: var(--ink-mute); margin-top: 10px; }

.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.reverse { grid-template-columns: 7fr 5fr; }
.feature.reverse .feature-text { order: 2; }
.feature .num { font-family: var(--font-en); font-weight: 800; font-size: 14px; color: var(--green-600); letter-spacing: .1em; }
.feature h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 8px 0 16px; }
.feature p { color: var(--ink-soft); }
.feature .check-list { margin-top: 20px; }
@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

.big-number {
  text-align: center; padding: 72px 24px; border-radius: 28px;
  background: linear-gradient(120deg, var(--green-50), #eaf6ee); border: 1px solid var(--green-100);
}
.big-number > b { display: block; font-family: var(--font-en); font-size: clamp(48px, 8vw, 88px); font-weight: 800; line-height: 1; color: var(--green-600); }
.big-number > b small { font-size: .4em; margin-left: 4px; }
.big-number h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; margin-top: 16px; }
.big-number p { color: var(--ink-soft); margin: 12px auto 0; max-width: 36em; }

.card-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: 28px; }
@media (max-width: 760px) { .card-wide { grid-template-columns: 1fr; } }

/* ---------- Dark band (セキュリティ) ---------- */
.dark-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(63, 184, 107, .28), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(63, 184, 107, .16), transparent 60%),
    #0e1a14;
}
.dark-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.dark-band .container { position: relative; z-index: 1; }
.dark-band .eyebrow { color: #7fd6a0; }
.dark-band h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-top: 14px; }
.dark-band h2 em { font-style: normal; color: #7fd6a0; }
.dark-band p { color: rgba(255, 255, 255, .78); max-width: 42em; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; margin-top: 40px; }
.vs-card { border-radius: var(--radius-lg); padding: 28px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.vs-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.vs-card ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.vs-card li::before { content: "—"; margin-right: 8px; color: rgba(255, 255, 255, .4); }
.vs-card.attack h3 { color: #ffb4a8; }
.vs-card.defense { background: rgba(63, 184, 107, .14); border-color: rgba(127, 214, 160, .35); }
.vs-card.defense h3 { color: #7fd6a0; }
.vs-mark { display: grid; place-items: center; font-family: var(--font-en); font-weight: 800; font-size: 22px; color: rgba(255, 255, 255, .5); }
@media (max-width: 800px) { .vs { grid-template-columns: 1fr; } .vs-mark { padding: 4px 0; } }

.alert {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius);
  background: #fff6f4; border: 1px solid #f6d4cd; color: #6b2a1f;
}
.alert .icon { flex: none; width: 28px; height: 28px; color: #c0392b; }
.alert p { margin: 0; font-size: 15px; }
.topic-banner {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--radius);
  background: #0e1a14; color: #fff; box-shadow: var(--shadow);
}
.topic-banner:hover { color: #fff; background: #13241b; }
.topic-banner .tag { flex: none; font-family: var(--font-en); font-size: 11px; font-weight: 800; letter-spacing: .1em; background: #3fb86b; color: #0e1a14; padding: 4px 10px; border-radius: 999px; }
.topic-banner span.text { font-size: 15px; font-weight: 500; }
.topic-banner .arrow { margin-left: auto; color: #7fd6a0; }
@media (max-width: 600px) { .topic-banner { flex-wrap: wrap; } .topic-banner .arrow { display: none; } }

/* ---------- 比較（他社 / 当社） ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0 56px; }
.compare-item { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: #fff; }
.compare-item .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-mute); }
.compare-item .result { display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 8px 0 10px; }
.compare-item p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.compare-item.bad { background: #fff8f6; border-color: #f6d4cd; }
.compare-item.bad .result { color: #c0392b; }
.compare-item.good { background: var(--green-50); border-color: var(--green-100); }
.compare-item.good .result { color: var(--green-700); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
