/* =========================================================
   FlowMinds://AI 紹介サイト
   テーマ: ネオンHUD × ダーク/ペーパー交互リズム
   ========================================================= */

:root {
  color-scheme: dark;
  --ink: #07090d;
  --ink-2: #0c1117;
  --panel: #141a22;
  --paper: #f4efe6;
  --paper-strong: #fffaf0;
  --paper-line: #d8cfc1;
  --text: #f7f3ea;
  --muted: #b9c0ca;
  --dark-muted: #59606a;
  --cyan: #34d2ff;
  --blue: #2f84ff;
  --lime: #a4ef55;
  --coral: #ff6a4a;
  --pink: #ff6799;
  --grad-hot: linear-gradient(135deg, #ff7a52 0%, #ff5a7d 100%);
  --grad-cool: linear-gradient(90deg, var(--cyan), var(--coral));
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --font-body: "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  --font-accent: "Chakra Petch", "Noto Sans JP", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto; /* width/height属性による縦横比の破綻を防ぐ（CSSでwidthのみ指定する箇所が多いため） */
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(255, 106, 74, 0.36);
  color: #fff;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0a0d12;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #0a0d12;
  border-radius: 8px;
  background: #2a323d;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a4450;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 900;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 4.6vw, 4.15rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.32rem;
  line-height: 1.34;
}

.sp-only {
  display: none;
}

/* =========================================================
   スクロール進捗バー
   ========================================================= */
.scroll-progress {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--grad-cool);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* =========================================================
   ヘッダー
   ========================================================= */
.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 12px 32px;
  background: rgba(7, 9, 13, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 9, 13, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.brand-name em {
  font-style: normal;
  color: var(--cyan);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  position: relative;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  color: rgba(247, 243, 234, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-cool);
}

/* =========================================================
   ボタン
   ========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  min-width: 168px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button.primary {
  position: relative;
  background: var(--grad-hot);
  color: #1a0b06;
  box-shadow: 0 12px 30px rgba(255, 106, 74, 0.38);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(255, 106, 74, 0.52);
}

.button-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.button.primary:hover .button-arrow {
  transform: translateX(4px);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.header-cta {
  min-width: auto;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(255, 106, 74, 0.32);
}

/* =========================================================
   eyebrow ラベル
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--coral);
  font-family: var(--font-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -5;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.96) 0%, rgba(6, 8, 12, 0.8) 42%, rgba(6, 8, 12, 0.32) 78%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.72) 0%, rgba(6, 8, 12, 0.04) 46%, rgba(6, 8, 12, 0.9) 100%);
}

.hero-grid {
  z-index: -3;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, #000 30%, transparent 78%);
}

.hero-orb {
  position: absolute;
  z-index: -2;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb--cyan {
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(52, 210, 255, 0.18) 0%, transparent 68%);
  animation: orb-drift 14s ease-in-out infinite alternate;
}

.hero-orb--coral {
  bottom: -240px;
  left: -160px;
  background: radial-gradient(circle, rgba(255, 106, 74, 0.16) 0%, transparent 68%);
  animation: orb-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-60px, 46px, 0) scale(1.12);
  }
}

.hero-inner {
  width: min(1220px, calc(100% - 48px));
  min-height: 92svh;
  margin: 0 auto;
  padding: 128px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 46px;
}

.hero h1 {
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

.grad-text {
  background: linear-gradient(100deg, #8fe8ff 0%, #4fc2ff 55%, #b9f0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text-warm {
  background: linear-gradient(100deg, #ffb39e 0%, #ff8fb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(247, 243, 234, 0.88);
  font-size: 1.12rem;
}

.lead strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.55);
  color: rgba(247, 243, 234, 0.85);
  font-size: 0.88rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* --- ヒーロー右: キャラ + ライブ会話デモ --- */
.hero-stage {
  position: relative;
  min-height: 660px;
}

.hero-character {
  position: absolute;
  right: 4%;
  bottom: -24px;
  z-index: 2;
  width: min(330px, 54%);
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.5));
  animation: character-float 7s ease-in-out infinite;
}

@keyframes character-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-character-mobile {
  display: none;
}

.hero-live-badge {
  position: absolute;
  z-index: 3;
  top: 54px;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(52, 210, 255, 0.4);
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.82);
  color: #bfeeff;
  font-family: var(--font-accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(52, 210, 255, 0.18);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.78);
  }
}

.chat-demo {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 30px;
  width: min(350px, 64%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 22, 30, 0.94), rgba(11, 15, 21, 0.9));
  box-shadow: var(--shadow), 0 0 0 1px rgba(52, 210, 255, 0.06);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.chat-demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.chat-demo__title {
  font-size: 0.86rem;
  font-weight: 800;
}

.chat-demo__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fe8ff;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chat-demo__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 208px;
  padding: 14px 16px;
}

.chat-bubble {
  max-width: 88%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
  animation: bubble-in 0.35s ease both;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble--ai {
  align-self: flex-start;
  border: 1px solid rgba(52, 210, 255, 0.22);
  border-bottom-left-radius: 4px;
  background: rgba(37, 55, 74, 0.6);
  color: #ecf6ff;
}

.chat-bubble--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--grad-hot);
  color: #24100a;
  font-weight: 700;
}

.chat-bubble--typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 34px;
}

.chat-bubble--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fe8ff;
  animation: typing-dot 1.1s ease-in-out infinite;
}

.chat-bubble--typing i:nth-child(2) {
  animation-delay: 0.18s;
}

.chat-bubble--typing i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes typing-dot {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

.chat-demo__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 11, 16, 0.6);
}

.chat-demo__wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.chat-demo__wave i {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: var(--coral);
  animation: wave-bar 1s ease-in-out infinite;
}

.chat-demo__wave i:nth-child(2) {
  animation-delay: 0.12s;
}

.chat-demo__wave i:nth-child(3) {
  animation-delay: 0.24s;
}

.chat-demo__wave i:nth-child(4) {
  animation-delay: 0.36s;
}

.chat-demo__wave i:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes wave-bar {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 16px;
  }
}

.chat-demo__note {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

/* --- スクロール誘導 --- */
.hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(247, 243, 234, 0.6);
  font-family: var(--font-accent);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
}

.hero-scroll__mouse {
  position: relative;
  width: 22px;
  height: 34px;
  border: 2px solid rgba(247, 243, 234, 0.4);
  border-radius: 12px;
}

.hero-scroll__mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--cyan);
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* =========================================================
   マーキー帯
   ========================================================= */
.marquee {
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(52, 210, 255, 0.06), rgba(255, 106, 74, 0.06)),
    #0a0e14;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(247, 243, 234, 0.55);
}

.marquee__group i {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--coral);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   PROOF 帯
   ========================================================= */
.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  color: #11151a;
}

.proof-item {
  position: relative;
  min-height: 128px;
  padding: 26px 30px;
  background: linear-gradient(180deg, #fffdf8 0%, #f5efe2 100%);
}

.proof-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-cool);
}

.proof-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: rgba(255, 106, 74, 0.1);
  color: var(--coral);
}

.proof-icon svg {
  width: 24px;
  height: 24px;
}

.proof-item strong,
.proof-item > span:not(.proof-icon) {
  display: block;
}

.proof-item strong {
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.proof-item > span:not(.proof-icon) {
  color: var(--dark-muted);
  font-size: 0.93rem;
}

/* =========================================================
   セクション共通
   ========================================================= */
.section {
  padding: 108px 0;
}

.section-light {
  background:
    radial-gradient(720px 420px at 92% -4%, rgba(255, 106, 74, 0.07), transparent 60%),
    var(--paper);
  color: #101419;
}

.section-paper {
  background:
    radial-gradient(720px 420px at 6% -4%, rgba(52, 210, 255, 0.06), transparent 60%),
    #fff7ea;
  color: #11151a;
}

.section-ink {
  background:
    radial-gradient(860px 540px at 8% -10%, rgba(52, 210, 255, 0.12), transparent 58%),
    radial-gradient(720px 520px at 100% 6%, rgba(255, 106, 74, 0.1), transparent 56%),
    linear-gradient(180deg, #11161d 0%, #080b0f 100%);
  color: var(--text);
}

.section-use {
  background:
    radial-gradient(820px 520px at 92% 0%, rgba(255, 106, 74, 0.1), transparent 58%),
    #182025;
  color: var(--text);
}

.section-grid,
.wide-split,
.start-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 56px;
}

.section-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
}

.section-grid.reverse {
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.wide-split {
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.section-copy p {
  color: inherit;
}

.section-copy > p:not(.eyebrow) {
  color: rgba(16, 20, 25, 0.76);
  font-size: 1.05rem;
}

.section-ink .section-copy > p:not(.eyebrow),
.section-use .section-copy > p:not(.eyebrow),
.section-demo .demo-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.section-heading {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto 52px;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.truth-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.truth-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--coral);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.truth-list p:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(24, 26, 31, 0.12);
}

/* =========================================================
   ウィンドウフレーム（スクショの額縁）
   ========================================================= */
.window-frame {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0e1319;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.window-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 96px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.window-frame--light {
  border-color: rgba(17, 21, 26, 0.2);
  box-shadow: 0 28px 80px rgba(24, 26, 31, 0.26);
}

.window-frame--light:hover {
  box-shadow: 0 38px 96px rgba(24, 26, 31, 0.34);
}

.window-frame__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #161c25, #10151c);
}

.window-frame__dots {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.window-frame__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-frame__dots i:nth-child(1) {
  background: var(--coral);
}

.window-frame__dots i:nth-child(2) {
  background: var(--cyan);
}

.window-frame__dots i:nth-child(3) {
  background: var(--lime);
}

.window-frame__title {
  overflow: hidden;
  color: rgba(247, 243, 234, 0.6);
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.window-frame__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.window-frame__chip--rec {
  border: 1px solid rgba(255, 106, 74, 0.45);
  background: rgba(255, 106, 74, 0.12);
  color: #ffc9ba;
}

.window-frame__chip--rec .live-dot {
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}

.window-frame img {
  width: 100%;
  height: auto;
}

.window-frame__caption {
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b0f15;
  color: var(--muted);
  font-size: 0.85rem;
}

.window-frame--light .window-frame__caption {
  color: #9aa2ad;
}

.zoomable {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.zoomable::after {
  content: "⤢";
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(8, 11, 16, 0.72);
  color: #cfe6ff;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.zoomable:hover::after {
  opacity: 1;
}

/* =========================================================
   DEMO セクション
   ========================================================= */
.section-demo {
  background:
    radial-gradient(900px 560px at 88% -8%, rgba(255, 106, 74, 0.16), transparent 56%),
    radial-gradient(760px 520px at 0% 30%, rgba(52, 210, 255, 0.1), transparent 58%),
    linear-gradient(180deg, #0c1117 0%, #090d12 100%);
  color: var(--text);
}

.demo-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.18fr);
  align-items: center;
  gap: 48px;
}

.demo-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.demo-points li {
  position: relative;
  padding: 12px 16px 12px 44px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.demo-points li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--cyan);
  font-weight: 900;
}

.demo-visual__stage {
  position: relative;
}

.demo-visual__play {
  position: absolute;
  top: 52%;
  left: 27%; /* キャラクターの顔と重ならない左側の空き領域に置く */
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding-left: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 106, 74, 0.92);
  color: #160b07;
  font-size: 1.6rem;
  box-shadow: 0 0 0 10px rgba(255, 106, 74, 0.18), var(--shadow);
  animation: play-pulse 2.6s ease-in-out infinite;
}

@keyframes play-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(255, 106, 74, 0.16), var(--shadow);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(255, 106, 74, 0.06), var(--shadow);
  }
}

/* =========================================================
   EXPERIENCE
   ========================================================= */
.experience-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.experience-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 315px;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.experience-item:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 210, 255, 0.3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.experience-item > img {
  width: 160px;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

.experience-item--shot {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

.experience-shot {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.experience-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  aspect-ratio: 16 / 11;
}

.exp-index {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.experience-item p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   CUSTOMIZE
   ========================================================= */
.character-showcase {
  position: relative;
  min-width: 0;
  min-height: 620px;
}

.character-showcase .showcase-screen {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 86%;
}

.showcase-character {
  position: absolute;
  z-index: 2;
  right: -10px;
  bottom: 0;
  width: 210px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.32));
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 48px;
  padding: 12px 16px 12px 42px;
  border: 1px solid rgba(17, 21, 26, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.54);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 3px;
  background: var(--grad-hot);
}

.feature-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(24, 26, 31, 0.12);
}

/* =========================================================
   PLUGINS
   ========================================================= */
.plugin-visual {
  position: relative;
  min-width: 0;
  min-height: 540px;
}

.plugin-visual .plugin-screen {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86%;
}

.plugin-character {
  position: absolute;
  z-index: 2;
  left: -6px;
  top: 0;
  width: 230px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
  /* 上半身素材のため、切れる下端をフェードで馴染ませる */
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
}

.plugin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.plugin-tags span {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, #1a212b, #0e1318);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plugin-tags span:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 210, 255, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   USE CASES
   ========================================================= */
.use-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use-grid article {
  position: relative;
  min-height: 240px;
  padding: 30px;
  border-radius: 16px;
  background: var(--paper);
  color: #11151a;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.use-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-cool);
}

.use-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.use-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.use-grid p {
  margin: 0;
  color: var(--dark-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.section-faq {
  background:
    radial-gradient(720px 460px at 50% -12%, rgba(52, 210, 255, 0.1), transparent 60%),
    #11161d;
  color: var(--text);
}

.faq-list {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-list details[open] {
  border-color: rgba(255, 106, 74, 0.4);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--coral);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

/* =========================================================
   START
   ========================================================= */
.section-start {
  background:
    radial-gradient(760px 460px at 86% -6%, rgba(255, 106, 74, 0.38), transparent 60%),
    radial-gradient(620px 460px at 0% 100%, rgba(255, 90, 125, 0.2), transparent 58%),
    linear-gradient(160deg, #1b100b 0%, #130b0f 55%, #0b0e15 100%);
  color: #fff3ea;
}

.start-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
}

.section-start .eyebrow {
  color: var(--coral);
}

.start-inner p {
  color: rgba(255, 243, 234, 0.82);
}

.start-edition {
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 106, 74, 0.42);
  border-radius: 10px;
  background: rgba(255, 106, 74, 0.14);
  color: #ffd9cc;
  font-size: 0.92rem;
  font-weight: 800;
}

.start-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.start-cta-note {
  color: rgba(255, 243, 234, 0.66);
  font-size: 0.85rem;
  font-weight: 700;
}

.start-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.start-steps li {
  position: relative;
  min-height: 150px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  counter-increment: step;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.start-steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 74, 0.4);
}

.start-steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--coral);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.start-steps strong,
.start-steps span {
  display: block;
}

.start-steps strong {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.start-steps span {
  color: rgba(255, 243, 234, 0.72);
}

/* =========================================================
   MATERIALS（社内用）
   ========================================================= */
.section-materials {
  padding: 40px 0 72px;
  background: #0a0d12;
}

.materials-fold {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: #0e1219;
}

.materials-fold summary {
  cursor: pointer;
  padding: 16px 20px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
}

.materials-fold summary::-webkit-details-marker {
  display: none;
}

.materials-fold summary::before {
  content: "▸ ";
  color: var(--cyan);
}

.materials-fold[open] summary::before {
  content: "▾ ";
}

.materials-fold__badge {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #160b07;
  font-size: 0.72rem;
  font-weight: 900;
}

.materials-fold__body {
  padding: 4px 20px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.materials-fold__body a {
  color: #cfe6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.materials-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.86rem;
}

.materials-table th,
.materials-table td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.materials-table th {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 243, 234, 0.85);
  font-weight: 800;
  white-space: nowrap;
}

.materials-table code {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #cfe6ff;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8em;
  word-break: break-all;
}

.materials-table em {
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.st-done {
  color: var(--lime);
}

.st-todo {
  color: var(--coral);
}

.st-opt {
  color: var(--muted);
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer {
  padding: 44px 32px 26px;
  background: #06080b;
  color: rgba(247, 243, 234, 0.68);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto 26px;
}

.footer-brand p {
  max-width: 340px;
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 6px;
}

.footer-links a {
  color: rgba(247, 243, 234, 0.7);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 243, 234, 0.4);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* =========================================================
   ライトボックス
   ========================================================= */
.lightbox {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(4, 6, 9, 0.92);
  backdrop-filter: blur(6px);
  animation: lightbox-in 0.22s ease;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(20, 26, 34, 0.8);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 106, 74, 0.85);
  transform: rotate(90deg);
}

/* =========================================================
   リビール（スクロール表示）
   ========================================================= */
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.js-enabled [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-enabled [data-reveal],
  .js-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-orb--cyan,
  .hero-orb--coral,
  .hero-character,
  .marquee__track,
  .live-dot,
  .chat-demo__wave i,
  .chat-bubble,
  .demo-visual__play,
  .hero-scroll__mouse::after {
    animation: none;
  }

  .button,
  .window-frame,
  .experience-item,
  .use-grid article,
  .truth-list p,
  .feature-list li,
  .plugin-tags span,
  .start-steps li {
    transition: none;
  }

  .button.primary:hover,
  .button.secondary:hover,
  .window-frame:hover,
  .experience-item:hover,
  .use-grid article:hover,
  .start-steps li:hover {
    transform: none;
  }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1080px) {
  .site-header {
    padding: 12px 20px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }

  .hero-inner,
  .section-grid,
  .section-grid.reverse,
  .wide-split,
  .start-inner,
  .demo-inner {
    grid-template-columns: 1fr;
  }

  .demo-inner {
    gap: 32px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-character {
    right: 6%;
    width: 280px;
  }

  .chat-demo {
    width: min(360px, 60%);
  }

  .proof-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid,
  .use-grid,
  .start-steps {
    grid-template-columns: 1fr;
  }

  .character-showcase,
  .plugin-visual {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .sp-only {
    display: inline;
  }

  .site-header {
    position: sticky;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .header-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .header-cta {
    display: none; /* モバイルはヒーロー内CTAがあるため非表示 */
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .site-nav a {
    min-width: max-content;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(560px, calc(100% - 32px));
    min-height: auto;
    padding: 44px 0 56px;
    gap: 26px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 8, 12, 0.94) 0%, rgba(6, 8, 12, 0.72) 52%, rgba(6, 8, 12, 0.92) 100%),
      linear-gradient(90deg, rgba(6, 8, 12, 0.82) 0%, rgba(6, 8, 12, 0.3) 100%);
  }

  .hero-orb {
    width: 380px;
    height: 380px;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: auto;
  }

  .hero-character {
    display: none;
  }

  .hero-character-mobile {
    display: block;
    width: 210px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
    animation: character-float 7s ease-in-out infinite;
  }

  .hero-live-badge {
    position: static;
    order: -1;
    align-self: center;
  }

  .chat-demo {
    position: static;
    width: 100%;
  }

  .chat-demo__body {
    min-height: 190px;
  }

  .hero-scroll {
    display: none;
  }

  .marquee__group {
    gap: 22px;
    padding-right: 22px;
    font-size: 0.76rem;
  }

  .proof-band {
    grid-template-columns: 1fr 1fr;
  }

  .proof-item {
    min-height: 108px;
    padding: 18px;
  }

  .proof-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .section-grid,
  .wide-split,
  .start-inner,
  .section-heading,
  .experience-grid,
  .use-grid,
  .demo-inner {
    width: min(560px, calc(100% - 32px));
  }

  .experience-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 18px;
  }

  .experience-item > img {
    width: 86px;
    max-height: 150px;
  }

  .experience-item--shot {
    grid-template-columns: 1fr;
  }

  .experience-shot img {
    aspect-ratio: 16 / 9;
  }

  .character-showcase,
  .plugin-visual {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: auto;
  }

  .character-showcase .showcase-screen,
  .plugin-visual .plugin-screen {
    position: static;
    width: 100%;
    order: 1;
  }

  .showcase-character,
  .plugin-character {
    display: none;
  }

  .faq-list {
    width: min(560px, calc(100% - 32px));
  }

  .materials-fold {
    width: min(560px, calc(100% - 32px));
  }

  .materials-table,
  .materials-table thead,
  .materials-table tbody,
  .materials-table tr,
  .materials-table th,
  .materials-table td {
    display: block;
  }

  .materials-table thead {
    display: none;
  }

  .materials-table tr {
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
  }

  .materials-table td {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 8px 12px;
  }

  .materials-table td:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
  }

  .site-footer {
    padding: 32px 18px 20px;
  }
}

@media (max-width: 430px) {
  .proof-band {
    grid-template-columns: 1fr;
  }

  .hero-character-mobile {
    width: 188px;
  }

  .chat-demo__body {
    min-height: 200px;
  }
}

/* =========================================================
   動画ベース化（2026-08-11）: ループ動画・機能ギャラリー・台詞引用
   ========================================================= */

.loop-video {
  display: block;
  width: 100%;
  height: auto;
}

.experience-shot.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 11;
}

.video-stage {
  position: relative;
}

.sound-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.72);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sound-toggle:hover {
  background: rgba(7, 9, 13, 0.9);
  border-color: var(--cyan);
}

.sound-toggle[aria-pressed="true"] {
  background: var(--grad-hot);
  border-color: transparent;
}

.demo-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.78);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.demo-play:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background: rgba(7, 9, 13, 0.94);
}

.video-stage iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ポスター遅延読み込み中も高さを確保してレイアウトずれ（CLS）を防ぐ */
.video-stage video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* --- 機能ギャラリー --- */

.section-features .section-heading p {
  color: var(--muted);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1240px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.loop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.loop-card__media {
  position: relative;
  background: #000;
}

.loop-card__media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.loop-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
}

.loop-card__body h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 19px;
}

.loop-card__body > p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* --- フロウの台詞引用 --- */

.flow-quote {
  margin: 6px 0 0;
  padding: 10px 14px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 10px 10px 0;
  background: rgba(52, 210, 255, 0.08);
}

.flow-quote p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text);
}

.flow-quote cite {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
}

.flow-quote--start {
  max-width: 560px;
  margin-top: 14px;
}

.section-start .flow-quote--start p {
  color: var(--text);
}

@media (max-width: 1020px) {
  .loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .loop-grid {
    grid-template-columns: 1fr;
  }
}

/* hidden属性をクラスのdisplay指定より優先させる（YouTube未設定時は▶を出さない） */
.demo-play[hidden],
.sound-toggle[hidden] {
  display: none;
}

/* #demo（ダーク面）に移設した truth-list の配色調整 */
.section-demo .truth-list p {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

/* 統合セクション（体験×実機録画）のグループ見出し */
.loop-group {
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.loop-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 4px;
}

.loop-group__head .exp-index {
  flex-shrink: 0;
}

.loop-group__head h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 24px;
}

.loop-group__lead {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.loop-group .loop-grid {
  margin-top: 20px;
  padding: 0;
}

/* TALKグループ（カード1枚）の単独表示 */
.loop-grid--solo {
  grid-template-columns: minmax(0, 660px);
  justify-content: start;
}

/* =========================================================
   機能5セクション化（2026-08-12・Codexレビュー反映）
   ========================================================= */

.feature-sec {
  padding-top: 72px;
  padding-bottom: 84px;
}

.feature-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.feature-head .exp-index {
  font-size: 15px;
}

.feature-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.35;
}

.feature-lead {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 15px;
}

.feature-sec--light h2 {
  color: #1d2027;
}

.feature-sec--light .feature-lead {
  color: #4c5361;
}

.feature-sec--dark .feature-lead {
  color: var(--muted);
}

.feature-sec .loop-grid {
  margin-top: 34px;
}

.loop-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

/* 04 のサブ見出し（関係が育つ／姿も自分らしく） */
.feature-sub {
  max-width: 1240px;
  margin: 44px auto 0;
  padding: 0 24px;
}

.feature-sub__title {
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid var(--coral);
  font-family: var(--font-head);
  font-size: 19px;
}

.feature-sec--light .feature-sub__title {
  color: #1d2027;
}

.feature-sub + .loop-grid {
  margin-top: 20px;
}

/* イントロの 01-05 ジャンプナビ */
.feature-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.feature-jump a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-jump a:hover {
  color: var(--text);
  border-color: var(--cyan);
  background: rgba(52, 210, 255, 0.08);
}

/* 05 の拡張カタログ */
.plugin-extra {
  max-width: 1080px;
  margin: 36px auto 0;
  padding: 0 24px;
}

.plugin-extra .plugin-tags {
  margin-top: 14px;
}

.plugin-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: #4c5361;
}

@media (max-width: 760px) {
  .loop-grid--two {
    grid-template-columns: 1fr;
  }
}

/* 明背景セクション内でもカード内タイトルはカードの暗色パネル基準で明色に固定 */
.loop-card__body h3 {
  color: var(--text);
}

/* ヒーロー背景の実機モンタージュ動画（静止画の上に重ね、モバイル・reduced-motionでは出さない） */
.hero-bg--video {
  z-index: -5;
}

@media (max-width: 760px), (prefers-reduced-motion: reduce) {
  .hero-bg--video {
    display: none;
  }
}

/* ヒーロー調整（2026-08-12）: 下端の黒つぶれを緩めて背景動画を最下部まで見せる＋立ち絵拡大 */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.96) 0%, rgba(6, 8, 12, 0.8) 42%, rgba(6, 8, 12, 0.32) 78%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.72) 0%, rgba(6, 8, 12, 0.04) 46%, rgba(6, 8, 12, 0.38) 100%);
}

.hero-character {
  width: min(430px, 58%);
}

/* フッターのモデル・衣装クレジット */
.footer-credits {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credits h4 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-credits p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: var(--dark-muted);
}

/* 多言語対応の案内帯（2026-08-12） */
.section-intl {
  background: var(--ink-2);
  padding-top: 56px;
  padding-bottom: 56px;
}

.intl-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.intl-inner h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 24px;
}

.intl-lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

.intl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.intl-list li {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.intl-list li strong {
  color: var(--text);
  margin-right: 6px;
}

.intl-list a {
  color: var(--cyan);
  text-decoration: underline;
}
