/* ==========================================================================
   スマ塾 LP — Design System v2.0
   Editorial / Premium / Conversion-focused
   ========================================================================== */

/* -------- Design Tokens -------- */
:root {
  /* Color — Ink & Paper (less saturated, editorial) */
  --ink-900: #0E1A33;
  --ink-800: #1B2A4A;
  --ink-600: #3C4A6B;
  --ink-400: #6B7590;
  --ink-200: #C3C9D6;
  --ink-100: #E5E8F0;

  --paper:   #FFFFFF;
  --paper-2: #FAF8F4;
  --paper-3: #F3F0EA;

  /* Accent — warm terracotta */
  --accent:       #C5502E;
  --accent-deep:  #9F3E22;
  --accent-soft:  #F5E4DC;
  --accent-ink:   #6B2612;

  --success: #2C6E49;
  --danger:  #B23A48;
  --warning: #C58B1A;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 26, 51, 0.06), 0 1px 1px rgba(14, 26, 51, 0.04);
  --shadow-md: 0 12px 24px -12px rgba(14, 26, 51, 0.18), 0 2px 4px rgba(14, 26, 51, 0.05);
  --shadow-lg: 0 32px 60px -28px rgba(14, 26, 51, 0.28), 0 4px 8px rgba(14, 26, 51, 0.06);
  --shadow-card: 0 1px 0 rgba(14, 26, 51, 0.04), 0 20px 40px -24px rgba(14, 26, 51, 0.22);

  --ff-serif: "Shippori Mincho B1", "Noto Serif JP", serif;
  --ff-sans:  "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --ff-mono:  "Inter", ui-monospace, SFMono-Regular, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  color: var(--ink-800);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.text-accent { color: var(--accent); }

/* -------- Typography primitives -------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-label--light { color: var(--accent-soft); }
.section-label--light::before { background: var(--accent-soft); }

.section-title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(1.625rem, 3.2vw, 2.375rem);
  line-height: 1.45;
  color: var(--ink-900);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  position: relative;
}
.section-title__underline { display: none; }
.section-title--light { color: #fff; }
.section-subtitle {
  font-size: 1.125rem;
  color: var(--ink-600);
  margin-bottom: 56px;
  max-width: 62ch;
  line-height: 1.9;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  border-radius: var(--r-sm);
  border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform 0.2s var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(197, 80, 46, 0.65), inset 0 -2px 0 rgba(0,0,0,0.12);
}
.btn--accent:hover { background: var(--accent-deep); box-shadow: 0 14px 28px -10px rgba(197, 80, 46, 0.7); }

.btn--outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-900);
}
.btn--outline:hover { background: var(--ink-900); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--ink-200);
}
.btn--ghost:hover { border-color: var(--ink-800); background: var(--paper-2); }

.btn--lg { padding: 18px 34px; font-size: 1rem; border-radius: var(--r-sm); }
.btn--sm { padding: 10px 18px; font-size: 0.8125rem; }
.btn--full { width: 100%; }

/* -------- Header -------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--ink-100);
}
.header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo-img { height: 32px; width: auto; }
.header__logo-img--light { display: none; }
.header__logo-img--dark  { display: block; }
.header.is-scrolled .header__logo-img--light { display: none; }
.header.is-scrolled .header__logo-img--dark  { display: block; }

.header__nav { display: flex; align-items: center; gap: 28px; }
.header__nav-list { display: flex; gap: 26px; }
.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-600);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}
.header__nav-link:hover { color: var(--accent); }
.header__nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.2s var(--ease);
}
.header__nav-link:hover::after { width: 100%; }

@media (max-width: 860px) {
  .header__nav-list { display: none; }
}

main { padding-top: var(--header-h); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px);
  background:
    radial-gradient(circle at 90% 0%, rgba(197,80,46,0.08), transparent 50%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.08 0 0 0 0 0.15 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-family: "Zen Kaku Gothic New", var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-400);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197,80,46,0.15);
}

.hero__title {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: clamp(2.25rem, 5.8vw, 4.25rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--ink-900);
  margin-bottom: 28px;
}
.hero__title-accent { color: var(--accent); font-style: normal; }

.hero__subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  line-height: 1.85;
  color: var(--ink-800);
  margin-bottom: 40px;
  max-width: 26em;
}

.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero__scarcity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  flex-wrap: wrap;
}
.hero__scarcity-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: 0.04em;
}
.hero__scarcity-meter {
  flex: 1 1 120px;
  min-width: 100px;
  height: 6px;
  background: var(--ink-100);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.hero__scarcity-meter-fill {
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: var(--r-pill);
}
.hero__scarcity-count {
  font-size: 0.875rem;
  color: var(--ink-600);
  font-family: var(--ff-mono);
}
.hero__scarcity-count strong {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 2px;
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--ink-100);
}
.hero__trust-card { display: flex; flex-direction: column; gap: 4px; }
.hero__trust-num-row { display: flex; align-items: baseline; gap: 4px; }
.hero__trust-num {
  font-family: var(--ff-mono);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__trust-unit {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-600);
}
.hero__trust-label {
  font-size: 0.75rem;
  color: var(--ink-400);
  letter-spacing: 0.06em;
}

/* Hero visual */
.hero__visual { position: relative; z-index: 1; }
.hero__mockup { position: relative; }
.hero__mockup-pc { position: relative; }
.hero__mockup-sp {
  position: absolute;
  right: -6%;
  bottom: -10%;
  width: 30%;
  z-index: 2;
}

.mockup-browser {
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.mockup-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-100);
}
.mockup-browser__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-200);
}
.mockup-browser__bar span:nth-child(1) { background: #FF5F57; }
.mockup-browser__bar span:nth-child(2) { background: #FEBC2E; }
.mockup-browser__bar span:nth-child(3) { background: #28C840; }
.mockup-browser__screen { background: #fff; }
.mockup-browser__screen img { width: 100%; display: block; }

.mockup-phone {
  background: var(--ink-900);
  border-radius: 26px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #000;
}
.mockup-phone__screen {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}
.mockup-phone__screen img { width: 100%; display: block; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__mockup-sp { display: none; }
  .hero__trust { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
}

/* ==========================================================================
   Sections scaffolding
   ========================================================================== */
section { padding: clamp(72px, 10vw, 128px) 0; }
.pain, .reasons, .compare, .pricing, .faq { background: var(--paper-2); }
.solution, .profile, .steps { background: var(--paper); }
.freshness { background: var(--paper-3); }
.contact { background: var(--ink-900); color: #fff; }

/* ==========================================================================
   PAIN
   ========================================================================== */
.pain__scene {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--ink-600);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.9;
}
.pain__scene strong { color: var(--accent); font-weight: 700; }
.pain .section-title { text-align: center; }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pain__card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pain__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--ink-200);
}
.pain__icon { width: 56px; height: 56px; color: var(--ink-800); margin-bottom: 18px; }
.pain__icon svg { width: 100%; height: 100%; }
.pain__text {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.pain__sub { font-size: 1rem; color: var(--ink-600); line-height: 1.85; }
.pain__cta-text { text-align: center; margin-top: 40px; font-size: 1.0625rem; color: var(--ink-600); }
@media (max-width: 860px) { .pain__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pain__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SOLUTION
   ========================================================================== */
.solution__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.solution__card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.solution__card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.solution__card-icon {
  background: var(--paper-2);
  padding: 24px;
  border-bottom: 1px solid var(--ink-100);
}
.solution__card-icon svg { width: 100%; height: auto; max-height: 180px; }
.solution__card-body { padding: 24px 28px 28px; }
.solution__card-labels { display: flex; gap: 10px; margin-bottom: 14px; font-family: var(--ff-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }
.solution__label { padding: 4px 10px; border-radius: var(--r-xs); text-transform: uppercase; }
.solution__label--before { background: #F5E4E4; color: var(--danger); }
.solution__label--after  { background: #DCEAE3; color: var(--success); }
.solution__card-before { font-size: 1rem; color: var(--ink-400); text-decoration: line-through; margin-bottom: 10px; }
.solution__card-after  { font-size: 1.125rem; color: var(--ink-800); line-height: 1.85; }
.solution__card-after strong { color: var(--accent); font-weight: 700; }
@media (max-width: 720px) { .solution__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FRESHNESS
   ========================================================================== */
.freshness__header { text-align: center; margin-bottom: 64px; }
.freshness__label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: var(--r-pill);
}
.freshness__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.4;
  margin-bottom: 22px;
}
.freshness__lead { font-size: 1.125rem; color: var(--ink-600); line-height: 2; max-width: 52ch; margin: 0 auto; }
.freshness__lead strong { color: var(--ink-900); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 1px; }
.freshness__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }

.admin-carousel {
  position: relative;
  background: var(--ink-900);
  border-radius: var(--r-md);
  padding: 20px 20px 60px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.admin-carousel__track { display: flex; transition: transform 0.5s var(--ease); gap: 0; }
.admin-carousel__slide {
  flex: 0 0 100%;
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.admin-carousel__slide img { width: 100%; height: auto; display: block; border-radius: var(--r-sm); background: #fff; }
.admin-carousel__caption {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(14,26,51,0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.15);
}
.admin-carousel__caption svg { width: 16px; height: 16px; }

.admin-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95);
  color: var(--ink-900);
  border-radius: 50%;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s var(--ease);
  z-index: 3;
}
.admin-carousel__btn:hover { transform: translateY(-50%) scale(1.08); }
.admin-carousel__btn--prev { left: 12px; }
.admin-carousel__btn--next { right: 12px; }

.admin-carousel__dots {
  position: absolute;
  bottom: 20px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.admin-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.2s var(--ease);
}
.admin-carousel__dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: var(--r-pill);
}

.freshness__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.freshness__card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 20px;
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.freshness__card:hover { box-shadow: var(--shadow-sm); border-color: var(--ink-200); }
.freshness__card--accent { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.freshness__card--accent .freshness__card-title { color: #fff; }
.freshness__card--accent .freshness__card-text  { color: rgba(255,255,255,0.85); }
.freshness__card-icon { width: 28px; height: 28px; margin-bottom: 12px; }
.freshness__card-title { font-size: 1.0625rem; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.freshness__card-text  { font-size: 0.9375rem; color: var(--ink-600); line-height: 1.8; }
.freshness__card-text strong { color: var(--accent); font-weight: 700; }
.freshness__card--accent .freshness__card-text strong { color: #fff; border-bottom: 1px solid var(--accent); }

.freshness__warning {
  display: flex;
  gap: 14px;
  align-items: start;
  margin-top: 56px;
  padding: 20px 24px;
  background: var(--paper);
  border-left: 3px solid var(--danger);
  border-radius: var(--r-sm);
  max-width: 800px;
  margin-inline: auto;
}
.freshness__warning svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.freshness__warning p { font-size: 1rem; color: var(--ink-600); line-height: 1.9; }
.freshness__warning strong { color: var(--danger); font-weight: 700; }

@media (max-width: 860px) {
  .freshness__inner { grid-template-columns: 1fr; }
  .freshness__cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REASONS
   ========================================================================== */
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.reasons__card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 40px 28px 32px;
  border: 1px solid var(--ink-100);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.reasons__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.reasons__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}
.reasons__icon { width: 48px; height: 48px; margin-bottom: 20px; }
.reasons__card-title { font-family: var(--ff-serif); font-weight: 700; font-size: 1.1875rem; color: var(--ink-900); margin-bottom: 14px; line-height: 1.5; }
.reasons__card-text  { font-size: 1.0625rem; color: var(--ink-600); line-height: 1.9; }
.reasons__card-text strong { color: var(--accent); font-weight: 700; }
@media (max-width: 860px) { .reasons__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROFILE
   ========================================================================== */
.profile__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; margin-top: 48px; }
.profile__photo {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__name {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.profile__role {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-400);
  text-transform: uppercase;
}
.profile__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--paper-2);
  border-radius: var(--r-md);
  margin-bottom: 28px;
  border: 1px solid var(--ink-100);
}
.profile__stat { display: flex; flex-direction: column; gap: 4px; }
.profile__stat-num {
  font-family: var(--ff-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.02em;
}
.profile__stat-unit { font-size: 0.8125rem; color: var(--ink-600); margin-top: -4px; }
.profile__stat-label { font-size: 0.75rem; color: var(--ink-400); letter-spacing: 0.04em; }
.profile__career { margin-bottom: 28px; padding: 0; }
.profile__career li {
  position: relative;
  padding-left: 22px;
  font-size: 1.0625rem;
  color: var(--ink-600);
  line-height: 1.9;
  margin-bottom: 10px;
}
.profile__career li::before {
  content: ""; position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 1.5px;
  background: var(--accent);
}
.profile__yt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: var(--r-xs);
  transition: background 0.15s var(--ease);
}
.profile__yt-link:hover { background: #EFD2C3; }
.profile__yt-link svg { width: 16px; height: 16px; }
.profile__story {
  padding: 24px 28px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-xs);
  font-family: var(--ff-serif);
  font-size: 0.9375rem;
  color: var(--ink-800);
  line-height: 2;
}
.profile__story p + p { margin-top: 10px; }

@media (max-width: 860px) {
  .profile__inner { grid-template-columns: 1fr; gap: 32px; }
  .profile__photo { max-width: 260px; margin-inline: auto; }
}

/* ==========================================================================
   DEMO
   ========================================================================== */
.demo__showcase { display: flex; flex-direction: column; align-items: center; gap: 32px; margin-top: 40px; margin-bottom: 80px; }
.demo__mockup { position: relative; width: 100%; max-width: 900px; }
.mockup-browser--lg { width: 100%; }
.mockup-phone--float {
  position: absolute;
  right: -2%;
  bottom: -8%;
  width: 20%;
  min-width: 120px;
}

.demo__template-title {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
  margin-bottom: 36px;
  margin-top: 40px;
}
.demo__templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.demo__template-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.demo__template-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--ink-200);
}
.demo__template-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.demo__template-card h4 { font-family: var(--ff-serif); font-weight: 700; font-size: 1.25rem; color: var(--ink-900); padding: 20px 24px 8px; }
.demo__template-card p  { font-size: 1rem; color: var(--ink-600); line-height: 1.8; padding: 0 24px 16px; }
.demo__template-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 24px 20px; }
.demo__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-600);
  padding: 4px 10px;
  background: var(--paper-2);
  border-radius: var(--r-xs);
  letter-spacing: 0.04em;
}

.demo__admin-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.demo__admin-banner::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(197,80,46,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.demo__admin-banner__left { position: relative; z-index: 1; }
.demo__admin-banner__label {
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.demo__admin-banner__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.625rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}
.demo__admin-banner__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  max-width: 56ch;
}
.demo__admin-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 18px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  border-radius: var(--r-sm);
  box-shadow: 0 10px 22px -10px rgba(197, 80, 46, 0.7);
  transition: transform 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
  z-index: 1;
}
.demo__admin-banner__btn:hover { transform: translateY(-2px); background: var(--accent-deep); }

@media (max-width: 860px) {
  .demo__templates { grid-template-columns: 1fr; }
  .demo__admin-banner { grid-template-columns: 1fr; padding: 28px; }
}

/* ==========================================================================
   MID CTA
   ========================================================================== */
.mid-cta {
  padding: 64px 0;
  background: var(--paper-3);
  text-align: center;
}
.mid-cta--dark {
  background: var(--ink-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mid-cta--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 40%, rgba(197,80,46,0.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 60%, rgba(27,42,74,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.mid-cta > .container { position: relative; }
.mid-cta__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.mid-cta__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.5;
}
.mid-cta--dark .mid-cta__text { color: #fff; }
.mid-cta__sub { font-size: 0.9375rem; color: var(--ink-600); margin-bottom: 28px; }

/* ==========================================================================
   COMPARE
   ========================================================================== */
.compare__table-wrapper {
  overflow-x: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  background: var(--paper);
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 1rem;
}
.compare__table th {
  padding: 20px 18px;
  text-align: left;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ink-600);
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-100);
  letter-spacing: 0.04em;
}
.compare__table th.compare__highlight {
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: inset 0 -3px 0 var(--accent-ink);
}
.compare__table td {
  padding: 18px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-600);
  vertical-align: middle;
  line-height: 1.7;
}
.compare__table td:first-child { font-weight: 700; color: var(--ink-900); }
.compare__table td.compare__highlight {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.0625rem;
  font-weight: 700;
  border-left: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}
.compare__table tr:last-child td.compare__highlight { border-bottom: 3px solid var(--accent); }
.compare__table tr.compare__emphasis td {
  background: #FFF3EA;
  font-weight: 700;
  color: var(--ink-900);
}
.compare__table tr.compare__emphasis td.compare__highlight {
  background: var(--accent);
  color: #fff;
}
.compare__icon { display: inline-block; font-weight: 700; margin-right: 4px; }
.compare__icon--good { color: var(--success); }
.compare__icon--ok   { color: var(--ink-600); }
.compare__icon--fair { color: var(--warning); }
.compare__icon--bad  { color: var(--danger); }
.compare__campaign-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: var(--r-xs);
  margin-bottom: 5px;
  vertical-align: middle;
}

.badge { display: inline-block; padding: 4px 10px; font-size: 0.75rem; font-weight: 700; border-radius: var(--r-xs); }
.badge--accent { background: var(--accent); color: #fff; }
.badge--red    { background: var(--danger); color: #fff; }

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 40px;
}
.steps__card {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.steps__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.steps__num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}
.steps__icon { width: 56px; height: 56px; margin: 0 auto 20px; }
.steps__card-title { font-family: var(--ff-serif); font-weight: 700; font-size: 1.125rem; color: var(--ink-900); margin-bottom: 12px; }
.steps__card-text  { font-size: 1rem; color: var(--ink-600); line-height: 1.85; text-align: left; }
.steps__arrow { display: flex; align-items: center; color: var(--accent); width: 24px; height: 24px; }
@media (max-width: 860px) {
  .steps__grid { grid-template-columns: 1fr; }
  .steps__arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing__card {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  position: relative;
}
.pricing__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.pricing__header {
  padding: 40px 40px 28px;
  text-align: center;
  border-bottom: 1px solid var(--ink-100);
}
.pricing__prices { margin: 14px 0 10px; }
.pricing__original { display: block; font-size: 0.875rem; color: var(--ink-400); margin-bottom: 8px; }
.pricing__original s { color: var(--ink-400); }
.pricing__campaign {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--ff-mono);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing__yen { font-size: 1.5rem; margin-left: 4px; font-weight: 700; }
.pricing__tax { font-size: 0.8125rem; color: var(--ink-400); margin-left: 10px; font-family: var(--ff-sans); font-weight: 500; }
.pricing__note { font-size: 0.8125rem; color: var(--ink-400); }
.pricing__body { padding: 32px 40px 40px; }
.pricing__includes-title {
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-100);
}
.pricing__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.pricing__list li {
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  color: var(--ink-600);
  line-height: 1.7;
}
.pricing__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pricing__server-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-100);
  font-size: 0.75rem;
  color: var(--ink-400);
}
@media (max-width: 720px) {
  .pricing__list { grid-template-columns: 1fr; }
  .pricing__header, .pricing__body { padding-inline: 24px; }
  .pricing__campaign { font-size: 3.5rem; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { max-width: 800px; margin: 40px auto 0; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}
.faq__item.is-open,
.faq__item:has(.faq__question[aria-expanded="true"]) { border-color: var(--ink-800); }
.faq__question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--ff-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-900);
  line-height: 1.6;
  transition: background 0.15s var(--ease);
}
.faq__question:hover { background: var(--paper-2); }
.faq__chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-400); transition: transform 0.25s var(--ease); }
.faq__item.is-open .faq__chevron,
.faq__question[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); color: var(--accent); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq__item.is-open .faq__answer,
.faq__question[aria-expanded="true"] + .faq__answer { max-height: 400px; }
.faq__answer p {
  padding: 0 26px 24px;
  font-size: 1.0625rem;
  color: var(--ink-600);
  line-height: 1.9;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { position: relative; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(197,80,46,0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(27,42,74,0.4) 0%, transparent 50%);
  pointer-events: none;
}
.contact > .container { position: relative; }
.contact__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 48px;
  max-width: 52ch;
}
.contact__form-wrapper {
  max-width: 640px;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-lg);
  color: var(--ink-800);
}
.form-group { margin-bottom: 20px; }
.form-group--checkbox { margin: 24px 0 28px; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-required, .form-optional {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--r-xs);
}
.form-required { background: var(--accent-soft); color: var(--accent-deep); }
.form-optional { background: var(--paper-2); color: var(--ink-400); }
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--paper-2);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--ink-900);
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(197,80,46,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.form-checkbox { display: flex; align-items: start; gap: 10px; cursor: pointer; font-size: 0.875rem; color: var(--ink-600); position: relative; }
.form-checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.form-checkbox__mark {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--paper-2);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-xs);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s var(--ease);
}
.form-checkbox input:checked ~ .form-checkbox__mark {
  background: var(--accent);
  border-color: var(--accent);
}
.form-checkbox input:checked ~ .form-checkbox__mark::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.form-checkbox__text a { color: var(--accent); font-weight: 700; text-decoration: underline; }

.contact__thanks {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-800);
}
.contact__thanks h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--accent);
}

@media (max-width: 640px) {
  .contact__form-wrapper { padding: 32px 24px; }
}

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(14, 26, 51, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
  box-shadow: 0 -8px 30px -10px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
  margin-inline: auto;
}
.sticky-cta__meta { display: flex; flex-direction: column; line-height: 1.2; color: #fff; flex: 1; }
.sticky-cta__price { font-family: var(--ff-mono); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.sticky-cta__sub   { font-size: 0.6875rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
.sticky-cta__btn {
  flex-shrink: 0;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 16px -6px rgba(197,80,46,0.7);
  transition: background 0.15s var(--ease);
}
.sticky-cta__btn:hover { background: var(--accent-deep); }

@media (max-width: 860px) {
  .sticky-cta { display: block; }
  footer.footer { padding-bottom: calc(40px + 72px); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer__logo { display: flex; flex-direction: column; gap: 10px; }
.footer__logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__tagline { font-size: 0.75rem; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.footer__info { display: flex; flex-direction: column; gap: 10px; font-size: 0.8125rem; }
.footer__link { color: rgba(255,255,255,0.75); transition: color 0.15s var(--ease); }
.footer__link:hover { color: var(--accent); }
.footer__copyright {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-align: right;
}
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__copyright { text-align: left; }
}
