/* #AIの窓口 — Landing Page */

:root {
  --lime: #C6F23E;
  --lime-glow: #D7FF50;
  --cyan: #5BD4F2;
  --yellow: #F2E25B;
  --pink: #F2B0D4;
  --ink: #0A0A0A;
  --ink-soft: #1A1A1A;
  --paper: #F2F0EB;
  --paper-2: #ECEAE3;
  --rule: #E2DFD6;
  --muted: #6F6C63;
  --link: #2BB6D4;
}

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

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt" 1;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ----- NAV ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: #fff;
  height: 64px;
  display: flex; align-items: center;
  border-bottom: 1px solid #1f1f1f;
}
.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-brand .pill {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime); color: var(--ink);
  padding: 4px 10px; border-radius: 6px;
  font-weight: 900; font-size: 13px; letter-spacing: 0.05em;
}
.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 28px;
  font-size: 13px;
}
.nav-links a { color: #fff; opacity: 0.85; text-decoration: none; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: #fff; color: var(--ink) !important;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 700; opacity: 1 !important;
  white-space: nowrap;
}

/* ----- HERO ----- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: flex;
  background-image:
    radial-gradient(ellipse 50% 60% at 18% 38%, rgba(91,212,242,0.12), transparent 60%),
    radial-gradient(ellipse 60% 70% at 28% 50%, rgba(0,0,0,0.85), transparent 70%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
.hero::before {
  /* circular ring decoration on left */
  content: "";
  position: absolute;
  left: -240px; top: 50%; transform: translateY(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 1px solid rgba(91,212,242,0.18);
  box-shadow:
    inset 0 0 120px rgba(91,212,242,0.08),
    0 0 60px rgba(91,212,242,0.05);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 32px;
  align-items: center;
}
.hero-left { padding-right: 24px; }
.hero-right {
  position: relative;
  align-self: stretch;
  /* 上下右ぴったり: heroの黒枠の角まで画像を伸ばす */
  margin-top: -64px;
  margin-bottom: -80px;
  margin-right: -24px;
}
.portrait-stage {
  position: relative;
  height: 100%;
  min-height: 100%;
}
.portrait-img {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.05);
}

.metallic {
  font-family: "Anton", "Oswald", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  color: transparent;
  display: inline-block;
  white-space: nowrap;
}
.metallic > span {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 28%, #b8b8b8 50%, #f8f8f8 56%, #d6d6d6 72%, #8a8a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(2px 4px 0 rgba(0,0,0,0.6)) drop-shadow(0 0 1px rgba(255,255,255,0.4));
  transform: skewX(-6deg);
  margin-right: 0.04em;
  padding: 0 0.06em;
}
.metallic-wrap { position: relative; display: inline-block; padding: 0 32px 16px 0; }

/* === FV / Footer Logo: original metallic image, used as-is === */
.logo-img {
  display: block;
  margin: 0 0 0;
  line-height: 0;
}
.logo-img img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  /* image is now properly transparent — no blend hack needed */
}

/* Final-section logo: same image, centered */
.final .logo-img {
  width: fit-content;
  margin: 0 auto 24px;
}
.final .logo-img img {
  max-width: 600px;
}
.final-mark { padding: 0 80px 22px 8px; }
.final-mark .metallic { font-size: clamp(56px, 8vw, 104px); white-space: nowrap; }
.metallic-wrap::after {
  content: "";
  position: absolute;
  left: -4px; right: -36px; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #fff, #cfcfcf 60%, #707070);
  transform: skewX(-22deg);
  border-radius: 1px;
  box-shadow: 0 2px 0 rgba(0,0,0,0.6);
}

.hero-eyebrow {
  margin-top: 4px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.hero-headline {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 900;
  margin: 8px 0 18px;
  letter-spacing: 0.005em;
}
.hero-headline em {
  font-style: normal;
}
.hero-body {
  color: #d8d8d8;
  font-size: 15px;
  line-height: 1.85;
  max-width: 480px;
  margin: 0 0 18px;
}
.hero-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.tag {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
}
.tag.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tag.cyan { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.tag.outline { background: transparent; color: #fff; }

.hero-cta-row {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 4px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--lime); color: var(--ink);
  border: none;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 800; font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(198,242,62,0.0), 0 0 40px rgba(198,242,62,0.55);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 0 60px rgba(198,242,62,0.85); }
.btn-cta .arrow {
  width: 18px; height: 18px;
}
.cta-note { font-size: 12px; color: #b6b6b6; }

.hero-hashes {
  margin-top: 56px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
  color: #d6d6d6;
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* portrait area */
.portrait-bg {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: center;
  pointer-events: none;
}
.portrait-bg .external {
  font-family: "Anton", "Oswald", sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 9vw, 128px);
  line-height: 0.95;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0.005em;
  white-space: pre;
  text-align: center;
  padding-top: 24px;
}
.portrait-dot {
  position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px var(--lime), 0 0 0 2px rgba(198,242,62,0.18);
  top: 18%; right: 12%;
  z-index: 3;
}
.portrait-card {
  position: absolute;
  z-index: 4;
  right: 38%;
  top: 48%;
  background: #0e0e0e;
  color: #fff;
  padding: 16px 18px 16px 22px;
  font-size: 13px; line-height: 1.7;
  font-weight: 700;
  border: 1px solid #2a2a2a;
  transform: rotate(-2.5deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.portrait-card::before {
  content: ""; position: absolute;
  left: -8px; top: -8px; width: 20px; height: 6px; background: var(--lime);
}
.portrait-card::after {
  content: ""; position: absolute;
  left: -10px; bottom: -10px; right: 32%; top: 12px;
  border-left: 4px solid var(--cyan);
  border-bottom: 4px solid var(--cyan);
  z-index: -1;
  transform: rotate(-2deg);
}
.portrait-card .stripe {
  position: absolute; left: -2px; top: 12px; width: 4px; height: 18px; background: var(--lime);
}
.portrait-frontdesk {
  display: none;
}

/* ----- SECTION SCAFFOLDING ----- */
.section {
  padding: 96px 0;
  background: var(--paper);
}
.section.alt { background: #fff; }
.section.dark { background: var(--ink); color: #fff; }
.section.dark.grid {
  background-image:
    linear-gradient(rgba(91,212,242,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,212,242,0.07) 1px, transparent 1px),
    radial-gradient(ellipse at 30% 0%, rgba(91,212,242,0.18), transparent 60%),
    var(--ink);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.eyebrow {
  color: var(--link);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  margin: 0 0 18px;
}
.eyebrow.lime { color: var(--lime); }

.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.005em;
  margin: 0 0 56px;
}
.section-title.tight { margin-bottom: 36px; }

/* ----- PROBLEMS SECTION ----- */
.problems-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.problems-head .sticker {
  position: relative;
  width: 140px; height: 110px;
  flex-shrink: 0;
}
.sticker .sq {
  position: absolute;
  width: 90px; height: 90px;
  border: 1.5px solid var(--ink);
}
.sticker .sq.a { background: #fff; left: 30px; top: 0; transform: rotate(8deg); }
.sticker .sq.b { background: var(--lime); left: 50px; top: 12px; transform: rotate(-2deg); }
.sticker .sq.c {
  background: var(--ink); left: 6px; top: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 22px;
  transform: rotate(-6deg);
}
.sticker .sparkle {
  position: absolute; left: -10px; top: -4px;
  color: var(--cyan); font-size: 22px; font-weight: 900;
  animation: sparkleSpin 4s linear infinite;
  transform-origin: center;
}
@keyframes sparkleSpin {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.2); }
  to   { transform: rotate(360deg) scale(1); }
}

/* Stickerの3つの四角がふわっと動く */
.sticker .sq.a { animation: sqFloat 3.5s ease-in-out infinite 0s; }
.sticker .sq.b { animation: sqFloat 3.5s ease-in-out infinite 0.4s; }
.sticker .sq.c { animation: sqFloat 3.5s ease-in-out infinite 0.8s; }
@keyframes sqFloat {
  0%, 100% { transform: rotate(var(--init-rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--init-rot, 0deg)) translateY(-6px); }
}
.sticker .sq.a { --init-rot: 8deg; }
.sticker .sq.b { --init-rot: -2deg; }
.sticker .sq.c { --init-rot: -6deg; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.problem-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 22px 24px;
  font-size: 14px;
  line-height: 1.85;
  min-height: 132px;
  display: flex;
  align-items: center;
}

.callout-band {
  margin-top: 48px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 36px 24px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.6;
  position: relative;
  border-top: 4px solid var(--lime);
  border-bottom: 4px solid var(--lime);
  box-shadow: 0 0 60px rgba(198, 242, 62, 0.25);
}
.callout-band::before {
  content: "✦";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 28px;
}
.callout-band::after {
  content: "✦";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lime);
  font-size: 28px;
}

/* ----- WHY SECTION (dark) ----- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 40px;
}
.why-body p {
  color: #d4d4d4;
  font-size: 15px;
  line-height: 1.95;
  margin: 0 0 20px;
}
.notepad {
  margin-top: 56px;
  width: 360px;
  position: relative;
}
.notepad-shadow {
  position: absolute; inset: 0;
  background: var(--cyan);
  transform: translate(10px, 10px);
  z-index: 0;
}
.notepad-card {
  position: relative;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  z-index: 1;
}
.notepad-bar {
  background: var(--lime);
  border-bottom: 1px solid var(--ink);
  display: flex; align-items: center;
  padding: 10px 14px;
  gap: 6px;
}
.notepad-bar .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.notepad-body {
  padding: 26px 28px 32px;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.6;
}
.notepad-body .brand {
  display: block;
  font-size: 26px;
  margin-bottom: 16px;
}
.notepad-body .lines {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}

/* ----- BEFORE / AFTER ----- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin: 8px 0 32px;
  position: relative;
  gap: 0;
}
.timeline .step {
  display: flex; align-items: center; gap: 12px;
  position: relative;
  justify-content: flex-start;
}
.timeline .step:last-child { justify-content: flex-end; }
.timeline .badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lime); border: 1px solid var(--ink);
  padding: 6px 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.04em;
  position: relative; z-index: 2;
}
.timeline .dash {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
}

/* スクロールで画面に入ったら左→右に順番に表示 */
.timeline > .step {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.timeline.in > .step:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.timeline.in > .step:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.35s; }
.timeline.in > .step:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.65s; }
.timeline.in > .step:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.95s; }

.ba-row {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  align-items: stretch;
  margin-bottom: 12px;
}
.ba-row .label {
  background: var(--paper-2);
  padding: 22px 20px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  display: flex; align-items: center;
}
.ba-row .before, .ba-row .after {
  padding: 22px 26px;
  font-size: 14px;
  line-height: 1.85;
}
.ba-row .after {
  border-left: 4px solid var(--cyan);
  font-weight: 600;
}

/* ----- 6 CARDS ----- */
.cards-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 56px;
  gap: 32px;
}
.stack {
  position: relative;
  width: 220px; height: 160px;
  overflow: visible;
}
.stack .card {
  position: absolute;
  width: 130px; height: 64px;
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: var(--ink);
  background: #fff;
  animation: cardSpotlight 12s ease-in-out infinite;
}
.stack .c1 { top: 0; left: 60px; background: var(--cyan); --rot: -4deg; transform: rotate(-4deg); animation-delay: 0s; }
.stack .c2 { top: 36px; left: 26px; background: var(--lime); --rot: 3deg; transform: rotate(3deg); animation-delay: 3s; }
.stack .c3 { top: 64px; left: 78px; background: #fff; --rot: -2deg; transform: rotate(-2deg); animation-delay: 6s; }
.stack .c4 { top: 96px; left: 50px; background: var(--ink); color: #fff; --rot: 2deg; transform: rotate(2deg); animation-delay: 9s; }

/* 1枚ずつ順番にスポットライト（前に飛び出して読みやすく） */
@keyframes cardSpotlight {
  0%, 30%, 100% {
    z-index: 1;
    transform: rotate(var(--rot, 0deg)) scale(1) translate(0, 0);
    box-shadow: none;
  }
  10%, 25% {
    z-index: 10;
    transform: rotate(0deg) scale(1.4) translate(15px, -8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  min-height: 320px;
}
.feature-num {
  color: var(--link);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.feature-title {
  font-size: 19px;
  line-height: 1.5;
  font-weight: 900;
  margin: 0 0 14px;
}
.feature-body {
  font-size: 13.5px;
  line-height: 1.85;
  color: #2c2c2c;
  margin: 0 0 22px;
}
.feature-tag {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
}

/* ----- COMPARE ----- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.compare-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 36px 36px 40px;
}
.compare-card.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.compare-card h3 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 900;
}
.compare-card.dark h3 {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  padding: 4px 12px;
}
.compare-card ul {
  margin: 0; padding: 0; list-style: none;
}
.compare-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 12px;
}
.compare-card li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink);
}
.compare-card.dark li::before { background: #fff; }
.compare-card.dark p {
  font-size: 14px;
  line-height: 1.95;
  margin: 0 0 16px;
  color: #e8e8e8;
}

/* ----- PRICE BAR ----- */
.price-band {
  background: linear-gradient(120deg, #C6F23E 0%, #B0E83C 50%, #DBFF60 100%);
  padding: 80px 0;
}
.price-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.price-eyebrow {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 16px;
}
.price-headline {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 28px;
}
.price-body {
  font-size: 14.5px;
  line-height: 1.95;
  margin: 0;
  max-width: 520px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--ink);
  padding: 32px 32px 28px;
  width: 320px;
  justify-self: end;
  box-shadow: 8px 8px 0 var(--ink);
}
.price-card .yen-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.price-card .yen {
  font-size: 56px; font-weight: 900; line-height: 1;
  margin: 6px 0 14px;
}
.price-card .yen .unit { font-size: 22px; font-weight: 800; margin-left: 4px; }
.price-card ul { padding: 0; margin: 14px 0 22px; list-style: none; }
.price-card li { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.price-card .btn-pricecard {
  display: block; width: 100%; text-align: center;
  background: var(--ink); color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  font-weight: 800; font-size: 13.5px;
  border: none; cursor: pointer;
  white-space: nowrap;
}

/* ----- FAQ ----- */
.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-q {
  width: 100%;
  background: transparent; border: none;
  text-align: left;
  padding: 22px 8px;
  font-size: 16px;
  font-weight: 800;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
}
.faq-q .marker {
  font-size: 14px;
  width: 14px;
  display: inline-flex; justify-content: center;
  transition: transform .2s ease;
}
.faq-item.open .faq-q .marker { transform: rotate(90deg); }
.faq-a {
  display: none;
  padding: 4px 32px 24px;
  font-size: 14px;
  line-height: 1.95;
  color: #333;
}
.faq-item.open .faq-a { display: block; }

.faq-foot {
  margin-top: 36px;
  font-size: 13px;
  font-weight: 700;
  color: var(--link);
}
.faq-foot a { color: var(--link); text-decoration: none; }

/* ----- FINAL CTA ----- */
.final {
  background: var(--ink);
  color: #fff;
  padding: 120px 0 100px;
  text-align: center;
}
.final { overflow: visible; }
.final .sub {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  margin: 24px 0 22px;
}
.final p {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 14px;
  line-height: 1.95;
  color: #c8c8c8;
}

/* ----- FOOTER ----- */
.footer {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid #1f1f1f;
  padding: 18px 0;
  font-size: 12px;
  color: #9b9b9b;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}

/* SP/PC専用改行 */
.sp-br { display: none; }
.pc-br { display: inline; }

/* responsiveness ----- */
@media (max-width: 880px) {
  /* === HERO SP: 人物画像を右側に絶対配置で全高、テキストは左で重ねる === */
  .hero { min-height: 0; overflow: hidden; position: relative; }
  .hero::before { display: none; }

  .hero-grid {
    display: block;
    grid-template-columns: none;
    padding: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
  }

  /* 人物画像: ヒーロー全幅に絶対配置、テキストを上に重ねる */
  .hero-right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    margin: 0;
    z-index: 1;
  }
  .portrait-stage { height: auto; min-height: 0; position: static; }
  .portrait-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
  }
  .portrait-card, .portrait-frontdesk, .portrait-dot { display: none; }
  .portrait-bg, .portrait-bg .external { display: none !important; }
  .portrait-card, .portrait-frontdesk, .portrait-dot { display: none; }
  .portrait-bg, .portrait-bg .external { display: none !important; }

  /* 全コンテンツのコンテナ: 縦flex、padding、人物より前面 */
  .hero-left {
    padding: 16px 16px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    width: 100%;
  }

  /* ロゴ: 大きめに */
  .hero-left .logo-img {
    max-width: 70%;
    margin: 8px 0 20px;
  }
  .hero-left .logo-img img { max-width: 100%; height: auto; }

  /* エイブロー: 1行で収まるように幅広め */
  .hero-left .hero-eyebrow {
    max-width: 100%;
    margin: 0 0 14px;
    font-size: 13px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  }

  /* ヘッドライン: メインなので最大級に大きく、黒パネル付き */
  .hero-left .hero-headline {
    font-size: 38px !important;
    line-height: 1.25;
    margin: 0 0 20px;
    max-width: 100%;
    letter-spacing: -0.025em;
    background: rgba(0, 0, 0, 0.6);
    padding: 14px 16px;
    width: fit-content;
    width: -moz-fit-content;
  }

  /* 本文: ヘッドラインと同じく黒パネル */
  .hero-left .hero-body {
    font-size: 13px !important;
    line-height: 1.85;
    max-width: 65%;
    margin: 0 0 24px;
    background: rgba(0, 0, 0, 0.55);
    padding: 12px 16px;
    width: fit-content;
    width: -moz-fit-content;
  }

  /* CTA: 本文の直後に表示（HTML順序ではタグが先だが、orderで入れ替え） */
  .hero-left .hero-cta-row {
    order: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 24px;
  }
  .hero-left .hero-cta-row .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 20px 28px;
    font-size: 16px;
  }
  .hero-left .hero-cta-row .cta-note {
    font-size: 13px !important;
    color: #b6b6b6;
    text-align: left;
  }

  /* タグ: orderで一番下に移動・5つで折り返し許可 */
  .hero-left .hero-tags {
    order: 2;
    margin: 0;
    gap: 8px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .hero-left .hero-tags .tag {
    flex: 0 1 auto;
    justify-content: center;
    padding: 8px 14px;
    font-size: 11px;
    min-width: 0;
  }
  .hero-left .hero-hashes { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem-grid, .feature-grid, .compare-grid, .price-row { grid-template-columns: 1fr; }
  .price-card { justify-self: start; width: 100%; }
  .ba-row { grid-template-columns: 90px 1fr; }
  .ba-row .after { grid-column: 2; border-left: 4px solid var(--cyan); }
  .nav-links a:not(.nav-cta) { display: none; }

  /* SP/PC専用改行の切り替え */
  .sp-br { display: inline; }
  .pc-br { display: none; }

  /* SPのコンテナ余白を最小化して文字スペース最大化 */
  .container { padding: 0 16px; }

  /* セクションタイトル: 改行位置を保ったまま画面いっぱいに */
  .section-title { font-size: 36px; line-height: 1.35; margin: 0 0 32px; letter-spacing: -0.02em; }
  .section-title.tight { font-size: 38px; margin-bottom: 24px; letter-spacing: -0.025em; }

  /* Before/After「迷う時間を、試す時間へ。」は最長6文字なので特大に */
  #receive .section-title { font-size: 52px; line-height: 1.25; }

  /* 価格バンド: 「わずか66円。」のインラインfont-sizeをSPで縮小 */
  .price-headline div { font-size: 44px !important; }
  .price-headline { font-size: 30px; line-height: 1.3; }

  /* 価格カード: 月額〜月末手続き〜の文を右寄せ */
  .price-card { text-align: right; }
  .price-card ul { padding: 0; }

  /* 最終CTA: ロゴ画像をセンター（左右paddingが効いてズレてたのをリセット） */
  .final-mark { padding: 0 0 22px; }
  .final .logo-img { margin: 0 auto 24px; padding: 0; }

  /* フッター: 縦積みでセンター */
  .footer-inner { flex-direction: column; text-align: center; gap: 6px; }

  /* Problems: タイトル下にステッカーを縦積み・センター */
  .problems-head { grid-template-columns: 1fr; gap: 24px; }
  .problems-head .sticker { margin: 0 auto; }

  /* SPでproblem-cardは内容に応じた高さで上下左右シンメトリーな余白 */
  .problem-card {
    display: block !important;
    min-height: 0 !important;
    padding: 20px 22px !important;
    line-height: 1.85;
  }

  /* Callout帯はSPで星マーク非表示・サイズダウン */
  .callout-band { font-size: 18px; padding: 24px 20px; line-height: 1.7; }
  .callout-band::before,
  .callout-band::after { display: none; }

  /* Why: ノートパッドを縦積み・センター */
  .notepad { width: 100%; max-width: 360px; margin: 32px auto 0; }

  /* Why: タイトル「AIは、一部の詳しい人」が最長10文字相当 */
  .why-title { font-size: 32px; line-height: 1.35; margin: 0 0 28px; letter-spacing: -0.02em; }

  /* 6カード: スタックも縦積み・センター */
  .cards-head { grid-template-columns: 1fr; gap: 24px; }
  .cards-head .stack { margin: 0 auto; }
}
