/* ============================================================
   Reboot Log — SYSTEM LOG edition
   実証#6: v5(和紙×墨×朱の和モダン)を、ダーク端末風の
   モダンテックデザインで再構築したもの。文言は原本と同一。
   ============================================================ */

:root {
  --bg: #0a0e14;
  --bg-raised: #10161f;
  --bg-card: #0d131b;
  --line: #1f2a38;
  --line-strong: #2c3a4d;
  --text: #e8eef5;
  --text-soft: #c2ccd8;
  --muted: #96a3b2;
  --green: #34d399;
  --green-deep: #10b981;
  --green-ink: #06281b;
  --amber: #fbbf24;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mono: "IBM Plex Mono", "Menlo", "Consolas", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
}

::selection { background: var(--green); color: var(--green-ink); }

img { max-width: 100%; height: auto; }

a { color: var(--green); }

.mono { font-family: var(--font-mono); }

/* ---- skip link ---- */
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  background: var(--green);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 8px 14px;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(10, 14, 20, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.site-name-text { display: flex; flex-direction: column; line-height: 1.3; }
.site-name-en {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.site-name-ja { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.28em; }

.header-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.header-status .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---- layout ---- */
.container {
  width: min(1060px, 100% - 40px);
  margin-inline: auto;
}
.container.narrow { max-width: 760px; }

section { border-bottom: 1px solid var(--line); }

.section-pad { padding: clamp(72px, 11vw, 130px) 0; }

/* section head */
.sec-tag {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 26px;
}
.sec-tag .sec-no { color: var(--muted); }
.sec-tag .sec-ja { color: var(--muted); letter-spacing: 0.2em; }

h2.display {
  font-weight: 900;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.sec-note { color: var(--text-soft); max-width: 640px; }

.ten { color: var(--green); }

/* ---- buttons ---- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 28px;
  border: 1px solid var(--green);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.button:hover {
  background: transparent;
  color: var(--green);
  transform: translateY(-2px);
}
.button-arrow { font-family: var(--font-mono); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color 0.18s ease;
}
.text-link:hover { border-color: var(--green); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 5px 12px;
  white-space: nowrap;
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}
.chip.chip-green { color: var(--green); border-color: rgba(52, 211, 153, 0.45); }
.chip.chip-green::before { background: var(--green); }

/* ---- reveal ---- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - 63px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 9vw, 110px) 0;
  overflow: hidden;
}

.hero-grid-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 22% 40%, rgba(52, 211, 153, 0.09), transparent 70%);
}

.hero-inner { position: relative; }

.hero-boot {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}
.hero-boot .prompt { color: var(--green); }
.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.05em;
  vertical-align: text-bottom;
  background: var(--green);
  margin-left: 4px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-title {
  font-weight: 900;
  font-size: clamp(2.35rem, 7.4vw, 4.9rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
}

.hero-lede {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  margin-bottom: 20px;
}

.hero-vow {
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: 30px;
}

.hero-profile {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 40px;
}
.hero-profile img {
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  margin-right: 6px;
}
.hero-profile-name { color: var(--text); font-weight: 600; }
.hero-profile-sep { color: var(--line-strong); }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}
.hero-secondary:hover { color: var(--green); border-color: var(--green); }

.hero-side {
  position: absolute;
  right: clamp(8px, 2.5vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: var(--muted);
  opacity: 0.65;
}

/* staggered boot-in on load */
.js .load-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: bootin 0.7s ease forwards;
}
.js .load-reveal:nth-child(1) { animation-delay: 0.05s; }
.js .load-reveal:nth-child(2) { animation-delay: 0.18s; }
.js .load-reveal:nth-child(3) { animation-delay: 0.31s; }
.js .load-reveal:nth-child(4) { animation-delay: 0.44s; }
.js .load-reveal:nth-child(5) { animation-delay: 0.57s; }
.js .load-reveal:nth-child(6) { animation-delay: 0.7s; }
@keyframes bootin { to { opacity: 1; transform: none; } }

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 14px 0;
}
.ticker-track {
  display: inline-flex;
  align-items: baseline;
  gap: 2.6em;
  white-space: nowrap;
  padding-left: 100vw;
  animation: ticker 30s linear infinite;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}
.ticker-track span { display: inline-block; }
.ticker-en {
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   WORKS — v5の横スクロール演出の代替: 縦のログストリーム
   ============================================================ */
.works-intro { max-width: 640px; margin-bottom: 56px; }
.works-comment {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 18px;
}

.log-index {
  list-style: none;
  display: grid;
  gap: 20px;
  counter-reset: none;
}

.log-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px 28px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 26px clamp(20px, 3.5vw, 34px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.log-card:hover { border-color: var(--line-strong); border-left-color: var(--green); transform: translateX(4px); }

.log-number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--line-strong);
  line-height: 1.1;
}

.log-body h3 {
  font-weight: 900;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.log-body p { color: var(--text-soft); font-size: 0.95rem; max-width: 560px; }

.log-tools {
  grid-column: 2;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.log-tools::before { content: "$ tools: "; color: var(--green); }

.works-close {
  margin-top: 64px;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.6;
}

/* ============================================================
   METHOD
   ============================================================ */
.method { background: var(--bg-raised); }

.method-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 44px;
}
.method-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.method-number {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--green);
  line-height: 1.2;
}
.method-key {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.method-body h3 {
  font-weight: 900;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin-bottom: 8px;
}
.method-body p { color: var(--text-soft); font-size: 0.95rem; max-width: 580px; }

/* ============================================================
   REQUEST
   ============================================================ */
.offer-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 40px 0 48px;
}
.offer-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 18px 22px;
  font-size: 0.97rem;
  color: var(--text-soft);
}
.offer-list li::before {
  content: ">";
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 600;
  margin-right: 12px;
}
.offer-list strong { color: var(--text); }

.promise-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 14px;
}
.step-list {
  list-style: none;
  counter-reset: s;
  margin-bottom: 48px;
}
.step-list li {
  counter-increment: s;
  position: relative;
  padding: 13px 0 13px 56px;
  border-bottom: 1px dashed var(--line-strong);
  font-weight: 700;
}
.step-list li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
}

.request-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* ============================================================
   BOOK
   ============================================================ */
.book { background: var(--bg-raised); }
.book-layout {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.book-object img {
  display: block;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.book-copy h2 {
  font-weight: 900;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.5;
  margin-bottom: 22px;
}
.book-copy p { color: var(--text-soft); margin-bottom: 1em; max-width: 560px; }
.book-copy .text-link { margin-top: 10px; }

/* ============================================================
   LIFE
   ============================================================ */
.life-story { margin-top: 8px; }
.life-story p {
  margin-bottom: 1.8em;
  color: var(--text-soft);
  border-left: 2px solid var(--line);
  padding-left: clamp(16px, 3vw, 26px);
}
.life-story p.life-now {
  color: var(--text);
  font-weight: 700;
  border-left-color: var(--green);
}
.life-cta { border-left: none !important; padding-left: 0 !important; }

/* ============================================================
   VALUES
   ============================================================ */
.values { background: var(--bg-raised); }
.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 44px 0 36px;
}
.values-list li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  padding: 30px 20px 26px;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.values-glyph {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 900;
  font-size: 1.4rem;
}
.values-name { font-weight: 900; font-size: 1.15rem; letter-spacing: 0.1em; }
.values-en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.values-note { color: var(--text-soft); max-width: 620px; }

/* ============================================================
   FOR YOU
   ============================================================ */
.foryou-list {
  list-style: none;
  margin: 36px 0 32px;
  border-top: 1px solid var(--line);
}
.foryou-list li {
  padding: 18px 0 18px 40px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.foryou-list li::before {
  content: "✓";
  position: absolute;
  left: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing {
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(52, 211, 153, 0.12), transparent 70%),
    var(--bg);
}
.closing-inner { text-align: center; display: grid; justify-items: center; }
.closing .glyph-large { margin-bottom: 30px; }
.glyph-large {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  color: var(--green);
  font-weight: 900;
  font-size: 1.7rem;
}
.closing h2 {
  font-weight: 900;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem);
  line-height: 1.5;
  margin-bottom: 26px;
}
.closing-copy { color: var(--text-soft); margin-bottom: 30px; }
.closing-motto {
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin-bottom: 44px;
}
.closing-action { display: grid; gap: 14px; justify-items: center; }
.closing-action small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---- footer ---- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 30px clamp(16px, 4vw, 40px) 44px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.site-footer a:hover { color: var(--green); border-color: var(--green); }

/* ============================================================
   お試し再起動(イースターエッグ) — 端末風の別演出
   ============================================================ */
.reboot-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-raised);
  color: var(--text-soft);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.reboot-trigger:hover { border-color: var(--green); color: var(--green); }
.reboot-trigger-icon { color: var(--green); }

.reboot-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 10, 0.92);
}
.reboot-overlay.is-open { display: flex; }

.reboot-flicker {
  display: none;
  font-family: var(--font-mono);
  color: var(--green);
  font-size: clamp(1rem, 3vw, 1.5rem);
  letter-spacing: 0.3em;
  animation: flicker 0.14s steps(2) infinite;
}
.reboot-overlay.phase-flicker .reboot-flicker { display: block; }
@keyframes flicker { 50% { opacity: 0.35; } }

.reboot-card {
  display: none;
  width: min(560px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.reboot-overlay.phase-card .reboot-card { display: block; }

.reboot-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
}
.reboot-titlebar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.reboot-titlebar i:first-child { background: var(--green); }
.reboot-titlebar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.reboot-card-body { padding: 26px 26px 30px; }
.reboot-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 14px;
}
.reboot-card-text {
  min-height: 3.4em;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 22px;
}
.reboot-card-text::after { content: "_"; color: var(--green); animation: blink 1.1s step-end infinite; }
.reboot-close {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 9px 22px;
  cursor: pointer;
}
.reboot-close:hover { border-color: var(--green); color: var(--green); }

/* ============================================================
   STORY ページ
   ============================================================ */
.story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}
.story-back {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  white-space: nowrap;
}
.story-back:hover { color: var(--green); border-color: var(--green); }

.story-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 100px) 20px 90px;
}
.story-wrap h1 {
  font-weight: 900;
  font-size: clamp(1.75rem, 5.6vw, 2.6rem);
  line-height: 1.5;
  margin: 0 0 18px;
}
.story-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 58px;
}
.story-body p {
  margin-bottom: 2em;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 2.15;
  border-left: 2px solid var(--line);
  padding-left: clamp(16px, 3vw, 24px);
}
.story-body strong { color: var(--text); }
.story-end { margin: 56px 0 0; text-align: center; }
.story-cta {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.story-cta small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   JIDOKA (B2B LP) ページ
   ============================================================ */
.lp-hero {
  padding: clamp(80px, 11vw, 130px) 0 clamp(60px, 8vw, 90px);
  background: radial-gradient(ellipse 60% 55% at 30% 20%, rgba(52, 211, 153, 0.1), transparent 70%);
}
.lp-hero h1 {
  font-weight: 900;
  font-size: clamp(1.9rem, 5.6vw, 3.2rem);
  line-height: 1.4;
  margin-bottom: 24px;
}
.lp-hero .aka { color: var(--green); }
.lp-hero .sub { color: var(--text-soft); font-size: clamp(0.95rem, 1.7vw, 1.05rem); margin-bottom: 8px; }
.btn-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 14px;
}
.lp-hero .button { margin-top: 20px; }

.lp-section { padding: clamp(56px, 8vw, 88px) 0; }

.foryou-check { list-style: none; border-top: 1px solid var(--line); }
.foryou-check li {
  padding: 17px 0 17px 38px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
}
.foryou-check li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
}
.foryou-check strong { color: var(--text); }

.cards { display: grid; gap: 16px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 24px 26px;
}
.card h3 { font-weight: 900; font-size: 1.08rem; margin-bottom: 10px; }
.card .ba { font-size: 0.86rem; color: var(--muted); }
.card .ba strong { color: var(--green); }
.case-list { list-style: none; margin-top: 6px; font-size: 0.9rem; color: var(--text-soft); }
.case-list li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; line-height: 1.75; }
.case-list li::before { content: "> "; font-family: var(--font-mono); color: var(--green); }

.taishou {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.taishou li { padding: 11px 0; border-bottom: 1px dashed var(--line-strong); }
.taishou li::before { content: "> "; font-family: var(--font-mono); color: var(--green); }

.policy { background: var(--bg-raised); }
.policy p { color: var(--text-soft); margin-bottom: 1em; }
.policy p strong { color: var(--text); }

ol.steps { list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s;
  padding: 16px 0 16px 58px;
  position: relative;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--text-soft);
}
ol.steps li::before {
  content: "0" counter(s);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
}
ol.steps strong { color: var(--text); }

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
.plan-osusume { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.plan-name {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.plan-name .kanji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.95rem;
  margin-right: 10px;
  vertical-align: middle;
}
.osusume {
  font-family: var(--font-mono);
  color: var(--amber);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.plan-quote { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; line-height: 1.7; }
.plan-price { font-size: 1rem; margin-bottom: 4px; }
.plan-price strong { color: var(--green); font-size: 1.25rem; }
.plan-tax { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.plan-list { list-style: none; margin-top: 10px; font-size: 0.86rem; color: var(--text-soft); }
.plan-list li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 6px; line-height: 1.65; }
.plan-list li::before { content: "> "; font-family: var(--font-mono); color: var(--green); }
.plan-list strong { color: var(--text); }
.price-note { margin-top: 18px; font-size: 0.88rem; color: var(--text-soft); }
.price-note strong { color: var(--text); }

/* flowchart */
ol.flowchart { list-style: none; margin-top: 8px; }
ol.flowchart li {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 22px 24px 20px 76px;
}
ol.flowchart li + li { margin-top: 44px; }
ol.flowchart li + li::before {
  content: "";
  position: absolute;
  top: -37px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: var(--green);
}
ol.flowchart li + li::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-5.5px);
  border: 6px solid transparent;
  border-top: 7px solid var(--green);
}
.fc-num {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
ol.flowchart h3 { font-weight: 900; font-size: 1.05rem; margin-bottom: 6px; }
ol.flowchart p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 0; line-height: 1.85; }
.fc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-left: 10px;
  white-space: nowrap;
}
.fc-note {
  margin-top: 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--green);
  padding: 15px 19px;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.fc-note strong { color: var(--text); }

/* faq */
.faq dt {
  font-weight: 700;
  font-size: 0.97rem;
  margin-top: 26px;
}
.faq dt::before { content: "Q. "; font-family: var(--font-mono); color: var(--green); }
.faq dd { margin-top: 7px; color: var(--text-soft); font-size: 0.93rem; padding-left: 1.9em; }

/* profile */
.profile {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 26px 28px;
}
.profile img { border-radius: 50%; flex-shrink: 0; border: 1px solid var(--line-strong); }
.profile h3 { font-weight: 900; font-size: 1.2rem; margin-bottom: 8px; }
.profile p { font-size: 0.93rem; color: var(--text-soft); margin-bottom: 0; }
.profile a { color: var(--green); }

/* final CTA */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(52, 211, 153, 0.14), transparent 70%),
    var(--bg-raised);
  border: 1px solid var(--line-strong);
  padding: clamp(48px, 7vw, 68px) 22px;
}
.cta-final h2 { margin-bottom: 20px; }
.cta-final p { color: var(--text-soft); margin-bottom: 1em; }
.cta-final .label-mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 18px;
}
.cta-final .button { margin-top: 8px; }
.contact-addr-line { font-size: 0.85rem; margin-top: 16px; overflow-wrap: anywhere; }
.contact-addr-line #contact-addr {
  font-family: var(--font-mono);
  color: var(--text);
  user-select: all;
  letter-spacing: 0.02em;
}
#contact-copy {
  margin-left: 10px;
  padding: 4px 14px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  cursor: pointer;
}
#contact-copy:hover { border-color: var(--green); color: var(--green); }
.cta-final .dm-line { font-size: 0.85rem; margin-top: 10px; }
.cta-final .dm-line a { color: var(--green); }

.lp-footer {
  padding: 36px 0 52px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.lp-footer a { color: var(--muted); }
.lp-footer a:hover { color: var(--green); }

.center { text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-object { max-width: 240px; }
  .values-list { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-side { display: none; }
  .header-status { display: none; }
  .method-list li { grid-template-columns: 48px 1fr; gap: 14px; }
  .log-card { grid-template-columns: 1fr; gap: 10px; }
  .log-number { font-size: 1.3rem; color: var(--green); }
  .log-card .chip { justify-self: start; }
  .log-tools { grid-column: 1; }
  .taishou { grid-template-columns: 1fr; }
  .profile { flex-direction: column; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  ol.flowchart li { padding-left: 24px; padding-top: 66px; }
  .fc-tag { margin-left: 0; display: block; margin-top: 4px; white-space: normal; }
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; padding-left: 0; white-space: normal; }
  .js .load-reveal { animation: none; opacity: 1; transform: none; }
  .js .reveal { transition: none; opacity: 1; transform: none; }
  .cursor, .reboot-card-text::after, .header-status .dot { animation: none; }
  .reboot-flicker { animation: none; }
  .button:hover, .log-card:hover { transform: none; }
}
