/* =========================================================
   Safety Eye LP  —  modern responsive stylesheet
   ========================================================= */

:root {
  --blue: #0b93cf;
  --blue-600: #0879b0;
  --blue-700: #065f8b;
  --blue-50: #ebf7fd;
  --blue-100: #d4eef9;
  --green: #74b72e;
  --green-600: #5e9a1f;
  --green-50: #f1f8e7;
  --brown: #6b5345;
  --red: #e0493b;
  --ink: #10273a;
  --ink-2: #33495c;
  --muted: #687b8c;
  --line: #e1e9ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --navy: #0b1f31;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(16, 39, 58, .06);
  --shadow: 0 14px 40px rgba(16, 39, 58, .10);
  --shadow-lg: 0 30px 70px rgba(11, 60, 95, .18);

  --header-h: 72px;
  --container: 1160px;
  --gutter: 20px;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Outfit", "Noto Sans JP", sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: .03em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid rgba(11, 147, 207, .45); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.en { font-family: var(--font-en); letter-spacing: .04em; }
.hl { color: var(--blue); }
.hl-green { color: var(--green-600); }
.marker { background: linear-gradient(transparent 62%, rgba(116, 183, 46, .28) 62%); }
.note { font-size: .875rem; color: var(--muted); }
.note--blue { color: var(--blue-600); }
.nowrap { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .55em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.3; letter-spacing: .05em;
  color: #fff; background: var(--_bg);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 147, 207, .30); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: linear-gradient(135deg, #12a6e2, var(--blue-600)); }
.btn--accent { background: linear-gradient(135deg, #86c943, var(--green-600)); }
.btn--accent:hover { box-shadow: 0 10px 24px rgba(116, 183, 46, .35); }
.btn--ghost { background: transparent; color: var(--blue-600); border-color: currentColor; }
.btn--ghost:hover { color: #fff; background: var(--blue-600); border-color: var(--blue-600); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { color: var(--blue-700); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.btn--outline-white { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--lg { min-height: 56px; padding: .8em 2em; font-size: 1.02rem; }
.btn--sm { min-height: 38px; padding: .4em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
@media (max-width: 480px) { .btn--lg { white-space: normal; text-align: center; } }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  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 .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16, 39, 58, .06); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo__kana { font-size: .62rem; letter-spacing: .3em; color: var(--muted); margin-bottom: 4px; padding-left: 2px; }
.logo__name { font-family: var(--font-en); font-weight: 500; font-size: 1.6rem; letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.logo__name b { color: var(--blue); font-weight: 600; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, #18b0ea, var(--blue-700));
  display: grid; place-items: center; box-shadow: 0 4px 10px rgba(11, 147, 207, .35);
}
.logo__mark::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3.5px #0d6f9e; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; align-items: center; gap: 2px; }
.gnav__link {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 700; font-size: .88rem; line-height: 1.3; white-space: nowrap;
  position: relative;
}
.gnav__link small { font-family: var(--font-en); font-weight: 500; font-size: .62rem; color: var(--muted); letter-spacing: .06em; }
.gnav__link:hover { color: var(--blue-600); background: var(--blue-50); }
.gnav__link[aria-current="page"] { color: var(--blue-600); }
.gnav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-700); position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .2s;
}
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1340px) {
  .header-actions .btn--contact { display: none; }
  .gnav__link { padding: 8px 10px; }
}
@media (max-width: 1180px) {
  .gnav__link { padding: 8px 8px; font-size: .84rem; }
  .gnav__link small { display: none; }
}
@media (max-width: 1060px) {
  .menu-toggle { display: inline-block; }
  .header-actions .btn--contact { display: none; }
  .gnav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(16, 39, 58, .15);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .menu-open .gnav { transform: none; opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav__link { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 15px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .gnav__link small { display: inline; font-size: .72rem; }
  .gnav__link[aria-current="page"]::after { left: auto; right: auto; bottom: auto; top: 50%; margin: -4px 0 0 -14px; width: 8px; height: 8px; border-radius: 50%; }
  .gnav__cta { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
}
.gnav__cta { display: none; }
@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .logo__name { font-size: 1.35rem; }
  .logo__mark { width: 26px; height: 26px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-head--left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; letter-spacing: .04em; }
.section-lead { margin-top: 18px; color: var(--muted); font-size: 1.02rem; }

/* ---------- hero (top) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(18, 166, 226, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(116, 183, 46, .12), transparent 60%),
    linear-gradient(180deg, #f7fbfe 0%, #fff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11, 147, 207, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 147, 207, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 700; color: var(--ink-2);
}
.hero__badge span { padding: 2px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--font-en); font-size: .72rem; letter-spacing: .08em; }
.hero__title {
  margin-top: 22px;
  font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.25; letter-spacing: .02em;
}
.hero__title .line { display: block; }
.hero__title .grad { background: linear-gradient(100deg, #0b93cf 10%, #3cc1d9 60%, #74b72e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 18px; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; color: var(--ink); }
.hero__text { margin-top: 16px; max-width: 34em; color: var(--ink-2); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--green) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* device illustrations */
.hero__visual { position: relative; padding: 0 0 40px; }
.devices { position: relative; }
.devices__pc { width: 100%; filter: drop-shadow(0 30px 40px rgba(11, 60, 95, .18)); }
.devices__phone { position: absolute; right: -2%; bottom: -34px; width: 27%; filter: drop-shadow(0 20px 30px rgba(11, 60, 95, .25)); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 700; color: var(--ink); line-height: 1.45;
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--blue-50); color: var(--blue); }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card--a { left: -28px; bottom: -26px; }
.float-card--b { right: -18px; top: -24px; animation-delay: -3s; }
.float-card--b .float-card__icon { background: var(--green-50); color: var(--green-600); }

@keyframes blink { 50% { opacity: .2; } }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 600px; margin: 24px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .float-card { font-size: .74rem; padding: 9px 12px; gap: 9px; }
  .float-card__icon { width: 32px; height: 32px; }
  .float-card--a { left: -6px; bottom: -30px; }
  .float-card--b { right: -6px; top: -30px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* ---------- formula ---------- */
.formula-wrap { background: linear-gradient(120deg, var(--blue-700), #0b8cc4 55%, #1fb2d6); color: #fff; padding-block: clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.formula-wrap::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); }
.formula { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 24px); flex-wrap: wrap; text-align: center; }
.formula__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.formula__circle { width: clamp(86px, 11vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); font-weight: 900; font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.25; }
.formula__circle small { display: block; font-family: var(--font-en); font-weight: 500; font-size: .7rem; letter-spacing: .1em; opacity: .85; }
.formula__circle--cam { background: #fff; color: var(--blue-700); }
.formula__op { font-family: var(--font-en); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; opacity: .8; }
.formula__result { text-align: left; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 900; line-height: 1.45; }
.formula__result span { display: block; }
@media (max-width: 640px) {
  .formula__result { flex-basis: 100%; text-align: center; }
  .formula__op--eq { flex-basis: 100%; margin-block: -6px; transform: rotate(90deg); }
}

/* ---------- intro / pillars ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
.intro__body { margin-top: 22px; }
.value-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.value-tags li { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.value-tags li.is-plus { background: var(--blue); border-color: var(--blue); color: #fff; }
.pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { text-align: center; padding: 30px 14px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pillar__icon { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(11, 147, 207, .3); }
.pillar__icon svg { width: 34px; height: 34px; }
.pillar:nth-child(2) .pillar__icon { background: var(--green); box-shadow: 0 10px 22px rgba(116, 183, 46, .3); }
.pillar:nth-child(3) .pillar__icon { background: var(--brown); box-shadow: 0 10px 22px rgba(107, 83, 69, .3); }
.pillar h3 { font-size: 1.3rem; font-weight: 900; }
.pillar p { margin-top: 6px; font-size: .84rem; color: var(--muted); line-height: 1.7; }
.pillars-caption { grid-column: 1 / -1; text-align: center; font-size: .9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { display: grid; grid-template-columns: 64px 1fr; gap: 4px 16px; text-align: left; padding: 18px; align-items: center; }
  .pillar__icon { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .pillar p { margin: 0; }
}

/* ---------- feature cards ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; } }

.feature {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-en); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--blue-100); }
.feature__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.feature__icon svg { width: 28px; height: 28px; }
.feature--green .feature__icon { background: var(--green-50); color: var(--green-600); }
.feature h3 { font-size: 1.12rem; margin-bottom: 10px; }
.feature p { font-size: .92rem; line-height: 1.8; }
.feature .note { margin-top: 8px; display: block; }

/* ---------- use cases ---------- */
.case {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .3s, box-shadow .3s;
}
a.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: inherit; }
.case__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
a.case:hover .case__img img { transform: scale(1.05); }
.case__tag { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--blue-700); font-size: .78rem; font-weight: 700; }
.case__tag--soon { background: rgba(16, 39, 58, .78); color: #fff; }
.case__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.case__kicker { font-size: .82rem; font-weight: 700; color: var(--green-600); margin-bottom: 6px; }
.case h3 { font-size: 1.25rem; margin-bottom: 10px; }
.case p { font-size: .92rem; }
.case .link-arrow { margin-top: auto; padding-top: 16px; }
.case--soon .case__img img { filter: grayscale(.35); }

.ideas { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px dashed #bcd7e6; }
.ideas__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.ideas__head h3 { font-size: 1.2rem; }
.ideas__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.idea { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--bg-soft); font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.5; }
.idea img, .idea__icon { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.idea__icon { display: grid; place-items: center; background: var(--blue); color: #fff; }
.idea__icon svg { width: 24px; height: 24px; }

/* ---------- flow (how it works) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: flow; position: relative; }
.flow__step { position: relative; padding: 0 26px; text-align: center; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 48px; width: 24px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b93cf' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.flow__icon { position: relative; width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); box-shadow: var(--shadow); }
.flow__icon svg { width: 52px; height: 52px; }
.flow__icon::before { counter-increment: flow; content: "0" counter(flow); position: absolute; top: -2px; left: -2px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--font-en); font-weight: 600; font-size: .9rem; }
.flow__step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.flow__step p { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow__step { display: grid; grid-template-columns: 88px 1fr; gap: 0 18px; text-align: left; padding: 0; align-items: center; }
  .flow__icon { width: 88px; height: 88px; margin: 0; grid-row: span 2; }
  .flow__icon svg { width: 38px; height: 38px; }
  .flow__icon::before { width: 30px; height: 30px; font-size: .78rem; }
  .flow__step:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -30px; transform: rotate(90deg); }
}

/* ---------- pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .price-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.price-card { position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.price-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.price-card__head h3 { font-size: 1.1rem; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.badge--req { background: var(--blue); color: #fff; }
.badge--opt { background: var(--brown); color: #fff; }
.badge--soon { background: var(--ink); color: #fff; }
.price { font-family: var(--font-en); font-weight: 600; color: var(--ink); font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: .01em; }
.price small { font-family: var(--font-ja); font-size: .85rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.price-card__label { font-size: .85rem; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.price-card ul { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; display: grid; gap: 8px; }
.price-card li { display: flex; justify-content: space-between; gap: 12px; }
.price-card li b { color: var(--ink); font-family: var(--font-en); font-weight: 600; white-space: nowrap; }
.price-card .note { margin-top: auto; padding-top: 14px; }

/* ---------- news ---------- */
.news { border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 130px 1fr; gap: 6px 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--font-en); font-weight: 500; color: var(--blue-600); letter-spacing: .06em; }
@media (max-width: 560px) { .news li { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(800px 400px at 100% 0%, rgba(116, 183, 46, .35), transparent 60%), linear-gradient(130deg, #073f62, var(--blue-600) 60%, #12a6e2);
  padding-block: clamp(64px, 8vw, 104px);
}
.cta .eyebrow { color: #bfe9fb; }
.cta .section-title { color: #fff; }
.cta .section-lead { color: rgba(255, 255, 255, .85); }
.cta-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; margin-inline: auto; }
@media (max-width: 900px) { .cta-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.cta-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.cta-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue-600); }
.cta-card__icon svg { width: 24px; height: 24px; }
.cta-card h3 { color: #fff; font-size: 1.2rem; }
.cta-card h3 small { display: block; font-family: var(--font-en); font-weight: 500; font-size: .72rem; letter-spacing: .14em; opacity: .7; text-transform: uppercase; }
.cta-card p { font-size: .9rem; color: rgba(255, 255, 255, .88); }
.cta-card .btn { margin-top: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #a9bccb; padding: 56px 0 28px; font-size: .9rem; }
.site-footer a { color: #d9e6ef; }
.site-footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.1fr 2fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer .logo { color: #fff; }
.site-footer .logo__kana { color: #8ea4b6; }
.footer__desc { margin-top: 16px; font-size: .85rem; line-height: 1.8; max-width: 26em; }
.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.footer__nav h4 { color: #fff; font-family: var(--font-en); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.footer__nav li { padding: 4px 0; }
.footer__bottom { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .78rem; }
.footer__bottom small { font-family: var(--font-en); letter-spacing: .04em; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

.pagetop {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop svg { width: 22px; height: 22px; }

.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(11, 147, 207, .12); }

/* ---------- sub page hero / breadcrumb ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(52px, 7vw, 92px) 0 clamp(48px, 6vw, 80px);
  background: radial-gradient(700px 360px at 90% 0%, rgba(116, 183, 46, .35), transparent 60%), linear-gradient(125deg, #07507a, var(--blue-600) 55%, #18aee0);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: #c7ecfb; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero__lead { margin-top: 14px; max-width: 46em; color: rgba(255, 255, 255, .9); }
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 12px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 10px; color: #b5c4d0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.toc a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.toc a::before { content: "↓"; color: var(--blue); }
.toc a:hover { border-color: var(--blue); color: var(--blue-600); }

/* ---------- article blocks ---------- */
.block + .block { margin-top: clamp(56px, 8vw, 96px); }
.block-title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 900; margin-bottom: 22px; position: relative; padding-left: 20px; }
.block-title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 5px; background: linear-gradient(var(--blue), var(--green)); }
.block-title--center { text-align: center; padding-left: 0; }
.block-title--center::before { display: none; }
.sub-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.sub-title .first { font-size: 1.6em; color: var(--blue); margin-right: 1px; line-height: 1; }

.media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.media--rev .media__img { order: 2; }
.media__img { position: relative; }
.media__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.media__img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius); background: var(--blue-50); z-index: -1; }
.media--rev .media__img::before { inset: 18px 18px -18px -18px; background: var(--green-50); }
.media__img figcaption { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.media__img--contain img { object-fit: contain; background: #fff; padding: 12px; }
@media (max-width: 820px) {
  .media { grid-template-columns: 1fr; }
  .media--rev .media__img { order: 0; }
  .media__img { max-width: 520px; margin-inline: auto; width: calc(100% - 18px); }
}

.callout { margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: var(--blue-50); border-left: 4px solid var(--blue); font-size: .92rem; color: var(--ink); }
.callout--warn { background: #fff3f1; border-left-color: var(--red); color: #8c2a20; }
.panel { padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* comparison: analog vs network */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare__col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.compare__col--new { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.compare__col h3 { font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.compare__col h3 svg { width: 26px; height: 26px; flex: none; color: #8b9aa8; }
.compare__col--new h3 svg { color: var(--blue); }
.compare__col li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: .92rem; }
.compare__col li::before { content: "×"; position: absolute; left: 0; top: 0; color: #a7b5c1; font-weight: 700; }
.compare__col--new li::before { content: "✓"; color: var(--green-600); }
.compare__vs { display: grid; place-items: center; font-family: var(--font-en); font-weight: 600; color: var(--blue); font-size: 1.4rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare__vs { transform: rotate(90deg); } }

/* network diagram (support) */
.netmap { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.netmap__group { display: grid; gap: 12px; }
.node { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.4; }
.node svg { width: 30px; height: 30px; flex: none; color: var(--blue); }
.node small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.node--hub { flex-direction: column; text-align: center; padding: 22px 14px; }
.node--hub svg { width: 42px; height: 42px; }
.node--server { background: linear-gradient(140deg, var(--blue-700), var(--blue)); color: #fff; border: 0; }
.node--server svg, .node--server small { color: #fff; }
.node--cloud { background: var(--blue-50); border-color: var(--blue-100); }
.point { position: absolute; top: -12px; right: -10px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff; font-family: var(--font-en); font-weight: 600; font-size: .58rem; line-height: 1.05; box-shadow: var(--shadow-sm); }
.point b { font-size: 1rem; display: block; }
.point--a { background: var(--blue); }
.point--b { background: var(--green); }
.point--c { background: var(--brown); }
.netmap__arrow { color: var(--blue); display: grid; place-items: center; }
.netmap__arrow svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .netmap { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .netmap__arrow svg { transform: rotate(90deg); }
}
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } }
.point-card { position: relative; padding: 28px 26px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.point-card .point { position: static; width: 54px; height: 54px; font-size: .66rem; margin-bottom: 14px; }
.point-card .point b { font-size: 1.3rem; }
.point-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.point-card p { font-size: .92rem; }

/* cycle diagram (welfare) */
.cycle { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: center; }
.cycle__ring { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 460px; width: 100%; margin-inline: auto; }
.cycle__ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 3px dashed var(--green); opacity: .55; }
.cycle__ring::after { content: "↻"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 2rem; color: var(--green-600); }
.cycle__node { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-content: center; text-align: center; padding: 12px; box-shadow: 0 14px 30px rgba(116, 183, 46, .3); }
.cycle__node b { font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 900; line-height: 1.3; }
.cycle__node small { display: block; margin-top: 6px; font-size: .72rem; line-height: 1.45; opacity: .92; }
.cycle__node:nth-child(3) { order: 4; }
.cycle__node:nth-child(4) { order: 3; background: #8fc65a; }
.cycle__node:nth-child(2) { background: #69aa27; }
.cycle__node:nth-child(3) { background: #5e9a1f; }
.voice { position: relative; padding: 26px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.7; }
.voice::after { content: ""; position: absolute; left: 40px; bottom: -12px; width: 22px; height: 22px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.voice__who { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 700; color: var(--muted); }
.voice__who::before { content: ""; width: 44px; height: 44px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/24px no-repeat; }
.voice__shout { display: block; margin-top: 8px; color: var(--red); font-size: 1.6rem; font-weight: 900; letter-spacing: .1em; }
@media (max-width: 820px) { .cycle { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .cycle__ring { gap: 10px; } .cycle__node small { font-size: .64rem; } .cycle__ring::after { width: 48px; height: 48px; font-size: 1.5rem; } }

/* problem bubbles (cram school) */
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bubble { text-align: center; }
.bubble__circle { width: min(100%, 190px); aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; display: grid; place-content: center; background: var(--green); color: #fff; font-weight: 900; font-size: clamp(1.05rem, 2vw, 1.4rem); line-height: 1.35; box-shadow: 0 14px 30px rgba(116, 183, 46, .3); padding: 10px; }
.bubble__circle small { font-size: .7em; font-weight: 700; }
.bubble p { font-size: .88rem; color: var(--muted); font-weight: 700; }
@media (max-width: 520px) { .bubbles { gap: 10px; } .bubble__circle { font-size: .95rem; } .bubble p { font-size: .76rem; } }

.chips4 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chips4 li { aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: linear-gradient(140deg, #8a2f9f, #5c1f7a); color: #fff; font-weight: 900; font-size: clamp(.95rem, 1.8vw, 1.15rem); line-height: 1.35; padding: 8px; box-shadow: 0 10px 24px rgba(92, 31, 122, .25); }
.chips4-wrap { max-width: 280px; margin-inline: auto; text-align: center; }
.chips4-wrap p { margin-top: 14px; font-weight: 700; color: var(--ink); font-size: .92rem; }

/* benefits (cram school) */
.benefit-group + .benefit-group { margin-top: 36px; }
.benefit-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.benefit-group__head span { padding: 8px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; }
.benefit-group--owner .benefit-group__head span { background: var(--green-600); }
.benefit { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.benefit__no { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 900; color: var(--green-600); margin-bottom: 8px; font-size: .85rem; }
.benefit__no b { font-family: var(--font-en); font-size: 1.8rem; line-height: 1; }
.benefit p { font-weight: 700; color: var(--ink); line-height: 1.7; }
.benefit--img { padding: 0; overflow: hidden; }
.benefit--img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.benefit--img .benefit__body { padding: 20px 24px 24px; }

/* service (price tables) */
.service-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.service-nav a { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); transition: .25s; }
.service-nav a:hover { border-color: var(--blue); transform: translateY(-3px); }
.service-nav .badge { align-self: flex-start; }
@media (max-width: 860px) { .service-nav { grid-template-columns: 1fr 1fr; } }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .94rem; }
.price-table thead th { background: var(--bg-soft); font-size: .8rem; color: var(--muted); letter-spacing: .1em; font-weight: 700; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table .name { font-weight: 700; color: var(--ink); width: 28%; }
.price-table .cost { font-family: var(--font-en); font-weight: 600; color: var(--blue-700); font-size: 1.15rem; width: 22%; white-space: nowrap; }
.price-table .cost small { display: block; font-family: var(--font-ja); font-size: .76rem; font-weight: 500; color: var(--muted); }
.price-table .group th { background: var(--blue-50); color: var(--blue-700); font-size: .86rem; letter-spacing: .04em; }
.price-table .note-row td { background: #fbfdfe; }
@media (max-width: 700px) {
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td, .price-table th { display: block; width: 100% !important; }
  .price-table tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .price-table tbody tr:last-child { border-bottom: 0; }
  .price-table td, .price-table th { padding: 0; border: 0; }
  .price-table .cost { margin: 4px 0 6px; font-size: 1.3rem; }
  .price-table .group { padding: 10px 18px; background: var(--blue-50); }
}
.service-block { scroll-margin-top: calc(var(--header-h) + 20px); }
.service-block__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.service-block__head h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.service-block .note { margin-top: 14px; }

/* live */
.live { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .live { grid-template-columns: 1fr; } }
.player { border-radius: 20px; background: var(--navy); padding: 12px; box-shadow: var(--shadow-lg); }
.player__screen { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.player__screen img { width: 100%; height: 100%; object-fit: cover; }
.player__screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px); }
.player__status { position: absolute; z-index: 1; left: 12px; top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(16, 39, 58, .82); color: #fff; font-size: .74rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.player__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa9b6; }
.player__bar { display: flex; justify-content: space-between; color: #9fb4c6; font-family: var(--font-en); font-size: .74rem; padding: 10px 6px 2px; letter-spacing: .06em; }
.controller { padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.controller h3 { font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.controller h3 .en { font-size: .78rem; color: var(--green-600); }
.dpad { display: grid; grid-template-columns: repeat(3, 64px); grid-template-rows: repeat(3, 64px); gap: 6px; justify-content: center; margin: 22px auto; }
.dpad button, .ptz button { border: 0; border-radius: 14px; background: var(--bg-soft); color: var(--blue-700); display: grid; place-items: center; transition: background .2s; }
.dpad button:hover:not(:disabled), .ptz button:hover:not(:disabled) { background: var(--blue-100); }
.dpad button:disabled, .ptz button:disabled { cursor: not-allowed; opacity: .6; }
.dpad svg, .ptz svg { width: 26px; height: 26px; }
.dpad .up { grid-area: 1 / 2; } .dpad .left { grid-area: 2 / 1; } .dpad .home { grid-area: 2 / 2; border-radius: 50%; background: var(--blue); color: #fff; } .dpad .right { grid-area: 2 / 3; } .dpad .down { grid-area: 3 / 2; }
.ptz { display: flex; justify-content: center; gap: 12px; }
.ptz button { width: auto; padding: 10px 16px; gap: 6px; grid-auto-flow: column; font-size: .82rem; font-weight: 700; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.6; }
.spec-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--blue) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 600px) { .spec-list { grid-template-columns: 1fr; } }

/* company */
.def-list { border-top: 1px solid var(--line); }
.def-list > div { display: grid; grid-template-columns: 200px 1fr; gap: 6px 28px; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.def-list dt { font-weight: 700; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }
.def-list dt::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); flex: none; transform: translateY(-2px); }
.def-list dd { margin: 0; }
@media (max-width: 640px) { .def-list > div { grid-template-columns: 1fr; padding: 18px 2px; } }
.offices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.offices > div { padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); font-size: .9rem; line-height: 1.75; }
.offices h4 { font-size: .95rem; margin-bottom: 4px; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { padding: 5px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .88rem; }

/* sitemap */
.sitemap-group h2 { font-size: 1.1rem; margin-bottom: 14px; }
.sitemap-links { display: grid; gap: 10px; }
.sitemap-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.sitemap-links a::after { content: "→"; color: var(--blue); }
.sitemap-links a:hover { border-color: var(--blue); color: var(--blue-600); }
.sitemap-links .indent { margin-left: 22px; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Illustrations, scenarios & infographics
   ========================================================= */
.illust { width: 100%; height: auto; border-radius: 24px; }
.figure { margin: 0; }
.figure figcaption { margin-top: 14px; text-align: center; font-size: .9rem; font-weight: 700; color: var(--ink); }
.figure figcaption small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
.figure--card { padding: clamp(14px, 2vw, 22px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* glance */
.glance { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.glance__steps { display: grid; gap: 14px; margin-top: 24px; }
.glance__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink); line-height: 1.55; }
.glance__steps li small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.step-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-en); font-weight: 600; }
.glance__steps li:nth-child(2) .step-no { background: var(--green); }
.glance__steps li:nth-child(3) .step-no { background: var(--brown); }
@media (max-width: 900px) { .glance { grid-template-columns: 1fr; } }

/* tabs */
.tablist { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px 18px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tablist [role=tab] {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; transition: .2s;
}
.tablist [role=tab] svg { width: 18px; height: 18px; color: var(--blue); }
.tablist [role=tab]:hover { border-color: var(--blue); }
.tablist [role=tab][aria-selected=true] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11, 147, 207, .28); }
.tablist [role=tab][aria-selected=true] svg { color: #fff; }
.tabpanel { animation: fadeUp .5s ease; }
.tabpanel + .tabpanel { margin-top: 24px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* scenario (例えば…) */
.scenario { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 32px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.scenario--flat { box-shadow: var(--shadow-sm); }
.scenario__kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--green-600); font-size: .9rem; }
.scenario__kicker::before { content: "例えば"; padding: 3px 10px; border-radius: 999px; background: var(--green); color: #fff; font-size: .78rem; }
.scenario h3 { margin: 10px 0 12px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 900; }
.scenario__story { font-size: .95rem; padding: 14px 18px; border-radius: 14px; background: var(--bg-soft); }
.flow3 { display: grid; gap: 10px; margin-top: 16px; }
.flow3 li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; font-size: .92rem; line-height: 1.7; }
.flow3 .lab { display: inline-grid; place-items: center; height: 28px; border-radius: 8px; font-size: .78rem; font-weight: 900; color: #fff; background: #8b9aa8; }
.flow3 li:nth-child(2) .lab { background: var(--blue); }
.flow3 li:nth-child(3) .lab { background: var(--green); }
.flow3 li:nth-child(3) { font-weight: 700; color: var(--ink); }
.scenario .link-arrow { margin-top: 18px; }
@media (max-width: 900px) { .scenario { grid-template-columns: 1fr; } }

/* annotated screens */
.screens { display: grid; grid-template-columns: 1.7fr .75fr; gap: clamp(20px, 4vw, 48px); align-items: end; }
.screens__pc { filter: drop-shadow(0 24px 34px rgba(11, 60, 95, .16)); }
.screens__phone { max-width: 260px; margin-inline: auto; filter: drop-shadow(0 24px 34px rgba(11, 60, 95, .2)); }
.annot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; counter-reset: annot; }
.annot li { position: relative; padding: 22px 18px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; line-height: 1.7; }
.annot li b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.annot li::before { counter-increment: annot; content: counter(annot); position: absolute; top: -14px; left: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-en); font-weight: 600; font-size: .9rem; }
@media (max-width: 900px) { .annot { grid-template-columns: 1fr 1fr; gap: 26px 14px; } }
@media (max-width: 640px) { .screens { grid-template-columns: 1fr; } .screens__phone { max-width: 220px; } }
@media (max-width: 480px) { .annot { grid-template-columns: 1fr; } }

/* price simulation */
.sim { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; border-radius: 24px; overflow: hidden; border: 2px solid var(--blue); background: #fff; box-shadow: var(--shadow); }
.sim__head { padding: 28px; background: linear-gradient(140deg, var(--blue-700), var(--blue)); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 240px; }
.sim__head .en { font-size: .78rem; letter-spacing: .18em; opacity: .8; }
.sim__head strong { font-size: 1.4rem; line-height: 1.4; }
.sim__head span { font-size: .85rem; opacity: .9; }
.sim__body { padding: 24px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.sim__col h4 { font-size: .95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.sim__row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .9rem; border-bottom: 1px dashed var(--line); }
.sim__row b { font-family: var(--font-en); font-weight: 600; color: var(--ink); white-space: nowrap; }
.sim__total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 10px; font-weight: 900; color: var(--ink); }
.sim__total b { font-family: var(--font-en); font-size: 1.8rem; color: var(--blue-700); font-weight: 600; white-space: nowrap; }
.sim__total b small { font-family: var(--font-ja); font-size: .8rem; color: var(--muted); }
.sim__note { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); line-height: 1.7; }
@media (max-width: 860px) { .sim { grid-template-columns: 1fr; } .sim__head { min-width: 0; } .sim__body { grid-template-columns: 1fr; } }

/* domains: security -> management -> service */
.domains { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin-top: 8px; }
.domain { padding: 24px 20px; border-radius: 20px; text-align: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.domain__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #eef1f4; color: #8b9aa8; }
.domain__icon svg { width: 30px; height: 30px; }
.domain h3 { font-size: 1.1rem; margin-bottom: 6px; }
.domain p { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.domain--new { border: 2px solid var(--blue); }
.domain--new .domain__icon { background: var(--blue); color: #fff; }
.domain--green { border-color: var(--green); }
.domain--green .domain__icon { background: var(--green); }
.domain-plus { display: grid; place-items: center; font-family: var(--font-en); font-size: 2rem; color: var(--blue); font-weight: 300; }
.domain__tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #eef1f4; color: var(--muted); }
.domain--new .domain__tag { background: var(--blue-50); color: var(--blue-700); }
@media (max-width: 760px) { .domains { grid-template-columns: 1fr; } .domain-plus { margin: -4px 0; } }

/* key message */
.keymsg { margin-top: 26px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(120deg, var(--blue-50), var(--green-50)); font-weight: 700; color: var(--ink); display: flex; gap: 14px; align-items: center; line-height: 1.7; }
.keymsg::before { content: "POINT"; flex: none; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: .72rem; letter-spacing: .12em; }
@media (max-width: 480px) { .keymsg { flex-direction: column; align-items: flex-start; } }
.scenario--stack { grid-template-columns: 1fr; height: 100%; align-content: start; }
.case__img { aspect-ratio: 960 / 480; }
.toc { margin-bottom: clamp(32px, 5vw, 56px); }
.benefit__icon { position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.benefit-group--owner .benefit__icon { background: var(--green-50); color: var(--green-600); }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit p:last-child { padding-right: 4px; }
.benefit .benefit__no { padding-right: 64px; }

/* Photographic visual refresh */
.case__img { aspect-ratio: 1200 / 760; background: #edf5f8; }
.case__img img { width: 100%; height: 100%; object-fit: contain; }
img[src*="/visual/"] { max-width: 100%; height: auto; }
.visual-disclosure { padding-block: 22px; font-size: .8rem; color: var(--muted); line-height: 1.8; }
.scenario .figure figcaption { text-align: left; font-size: .88rem; line-height: 1.8; }
.visual-zoom { display: inline-block; margin-top: 10px; padding: 6px 14px; border: 1px solid #bbd6e2; border-radius: 999px; font-size: .8rem; color: #076b96; background: white; }
.case__tag { top: auto; bottom: 14px; }

/* Mobile layout & Japanese line breaking */
body { word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, .section-title, .block-title { text-wrap: balance; }
.hero__badge span, .badge, .case__tag, .flow3 .lab, .tablist [role=tab], .eyebrow { white-space: nowrap; overflow-wrap: normal; }
.hero__badge span { flex: none; }
picture { display: contents; }
.case__tag { top: 14px; right: 14px; left: auto; bottom: auto; }
.scenario__kicker { flex-wrap: wrap; }
.scenario__kicker::before { flex: none; white-space: nowrap; }
.figure img.screens__phone { max-width: 260px; margin-inline: auto; display: block; }
.sim + .block { margin-top: clamp(48px, 8vw, 80px); }
@media (max-width: 860px) {
  .media__img { width: calc(100% - 10px); margin-left: 0; }
  .media__img::before { inset: 10px -10px -10px 10px; }
  .media--rev .media__img::before { inset: 10px -10px -10px 10px; }
}
@media (max-width: 640px) {
  .case__img { aspect-ratio: auto; display: flex; flex-direction: column; align-items: flex-start; }
  .case__img img { height: auto; }
  .case__tag { position: static; margin: 16px 26px 0; }
  .tablist { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0 0 20px; }
  .tablist [role=tab] { padding: 8px 14px; font-size: .86rem; }
  .figure img.screens__phone { max-width: 220px; }
}
@media (max-width: 480px) {
  .footer__nav { gap: 0 16px; }
  .footer__nav li { font-size: .9rem; }
}

/* SEO structure */
.h1-kw { display: block; margin-bottom: 14px; font-size: clamp(.86rem, 1.5vw, 1rem); font-weight: 700; letter-spacing: .04em; line-height: 1.6; color: var(--blue-700); }
.page-hero .h1-kw { margin-bottom: 8px; color: rgba(255, 255, 255, .82); }
.footer__nav-title { color: #fff; font-family: var(--font-en); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.offices__name { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.sim__label { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 20px; gap: 12px; align-items: center; padding: 18px 20px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-en); font-weight: 600; }
.faq__item summary::after { content: "+"; font-family: var(--font-en); font-size: 1.4rem; color: var(--blue); text-align: center; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { position: relative; margin: 0 20px 20px; padding: 14px 16px 14px 62px; border-radius: 12px; background: var(--bg-soft); font-size: .92rem; line-height: 1.85; }
.faq__item p::before { content: "A"; position: absolute; left: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-family: var(--font-en); font-weight: 600; }
@media (max-width: 480px) { .faq__item summary { padding: 16px; gap: 10px; } .faq__item p { margin: 0 14px 16px; padding-left: 58px; } }

/* Appeal numbers */
.num { font-family: var(--font-en); font-size: 1.5em; font-weight: 600; line-height: 1; color: var(--blue-700); margin-inline: 2px; }
.num-xl { font-family: var(--font-en); font-size: clamp(2.3rem, 5vw, 3.1rem); font-weight: 600; line-height: 1; letter-spacing: -.01em; color: var(--blue-700); }
.hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; width: fit-content; max-width: 100%; margin: 24px 0 4px; padding: 14px 22px; border-radius: 18px; background: #fff; border: 2px solid var(--blue); box-shadow: var(--shadow-sm); }
.hero__price-lab { font-weight: 900; font-size: 1.1rem; color: var(--ink); }
.hero__price small { flex-basis: 100%; margin-top: 4px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.hero__points li { font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats--2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto 32px; }
.stat { padding: 24px 18px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; }
.stat__label { font-size: .86rem; font-weight: 700; color: var(--muted); line-height: 1.5; }
.stat__value { white-space: nowrap; overflow-wrap: normal; margin: 8px 0 10px; font-family: var(--font-en); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.01em; background: linear-gradient(100deg, var(--blue-700), #3cc1d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__value small { font-family: var(--font-ja); font-size: .42em; font-weight: 900; margin-left: 2px; }
.stat__note { font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.65; }
.stat__note small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.stats--2 .stat__value { background: linear-gradient(100deg, #c2410c, #ef6c3d); -webkit-background-clip: text; background-clip: text; }
.stats-band { padding-top: clamp(40px, 6vw, 64px); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .stats { gap: 10px; }
  .stat { padding: 18px 10px 16px; border-radius: 18px; }
  .stat__value { font-size: 1.9rem; }
  .stat__label, .stat__note { font-size: .8rem; }
  .hero__price { padding: 12px 18px; }
  .stats--2 .stat__value { font-size: 2.3rem; }
}
@media (max-width: 360px) { .stat__value { font-size: 1.6rem; } .stats--2 .stat__value { font-size: 2rem; } }
