/* ============================================================
   AIris LP - 2026-07 フル刷新
   コンセプト: 画面が、一日を語る。
   外部リソースはGoogle Fontsのみ / 画像ファイル参照ゼロ
   ============================================================ */

/* ========== 1. カスタムプロパティ ========== */
:root {
  --bg-0: #100e1e;
  --bg-1: #1b1834;
  --bg-2: #262148;
  --text: rgba(255, 255, 255, .92);
  --text-soft: #C4C3D0;
  --text-dim: #8A8A9E;
  --accent: #9A8FE8;
  --accent-rgb: 154, 143, 232;
  --accent-light-rgb: 185, 173, 255;
  --pink-rgb: 194, 131, 143;
  --accent-light: #B9ADFF;
  --accent-fill: linear-gradient(135deg, #6B5FE0, #9D8FFF);
  --on-accent: #fff;
  --pink: #C2838F;
  --pink-soft: #E8B4B8;
  --platinum: #8A95A8;
  --platinum-light: #A0AABB;
  --app-purple: #5A4FCF;
  --app-purple-light: #7B6FE0;
  --card: rgba(154, 143, 232, .08);
  --line: rgba(154, 143, 232, .14);
  --border: rgba(154, 143, 232, .24);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --ease-quiet: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== 2. リセット・ベース ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  background-color: var(--bg-0);
  background-image: linear-gradient(180deg, var(--bg-0), var(--bg-1) 60%, var(--bg-2));
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg {
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: rgba(var(--accent-rgb), .35);
  color: #fff;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

/* ========== 3. タイポグラフィ ========== */
h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(28px, 5.5vw, 52px);
  line-height: 1.6;
  letter-spacing: .08em;
}

h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  margin-top: .6rem;
}

/* 見出しの改行はフレーズ境界のみに制御 */
.nw {
  white-space: nowrap;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent);
  text-align: center;
}

/* ========== 4. レイアウト共通 ========== */
.wrap {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

section {
  padding-block: clamp(96px, 14vh, 160px);
}

/* ========== 5. リビール(IntersectionObserver) ========== */
/* 初期透明はhtmlに.jsが付与された時のみ — JS無効でも全コンテンツ可視 */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease-quiet), transform .9s var(--ease-quiet);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

html.js .rd-1 { transition-delay: 80ms; }
html.js .rd-2 { transition-delay: 160ms; }
html.js .rd-3 { transition-delay: 240ms; }

/* ========== 6. ボタン・CTA ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2.5em;
  border-radius: 999px;
  background: var(--accent-fill);
  color: var(--on-accent);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .06em;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), .25);
  transition: filter .4s var(--ease-quiet);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5em;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background .4s var(--ease-quiet);
}

.btn-ghost:hover {
  background: rgba(var(--accent-rgb), .12);
}

.cta-block {
  text-align: center;
  margin-top: clamp(64px, 10vh, 96px);
}

.cta-lead {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--text-soft);
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--text-dim);
  margin-top: 14px;
}

.sub-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 6px;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(var(--accent-rgb), .4);
  transition: color .3s var(--ease-quiet);
}

.sub-cta:hover {
  color: var(--accent-light);
}

/* シャンパンヘアライン */
.hairline {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2.8rem;
  transform-origin: center;
}

html.js .reveal .hairline {
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-quiet) .25s;
}

html.js .reveal.in .hairline {
  transform: scaleX(1);
}

/* ========== 7. ヘッダー ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background .4s var(--ease-quiet), border-color .4s var(--ease-quiet);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 18, .7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}

.header-inner {
  max-width: 1040px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .2em;
  color: var(--text);
  text-decoration: none;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: .38em;
}

.brand-mark {
  height: 34px;
  width: auto;
  display: block;
}

.brand-lockup {
  height: 30px;
  width: auto;
  display: block;
}

.footer-logo .brand-lockup {
  height: 44px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .9em;
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .3s var(--ease-quiet);
}

.header-login:hover {
  color: var(--accent-light);
}

/* ========== 8. iPhoneモック(CSS製) ========== */
.phone {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 54px;
  border: 1px solid rgba(var(--accent-light-rgb), .25);
  background: #0a0a12;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
  padding: 10px;
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 37%;
  height: 24px;
  border-radius: 999px;
  background: #000;
  z-index: 6;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a12, #1a1a2e);
}

.phone-sm {
  border-radius: 44px;
  padding: 8px;
}

.phone-sm::before {
  top: 18px;
  height: 18px;
}

.phone-sm .phone-screen {
  border-radius: 36px;
}

/* ---- モック内部UI(アプリ実トークン) ---- */
.mock-home {
  position: absolute;
  inset: 0;
  padding: 58px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .15em;
}

.mock-greet {
  font-size: 10px;
  color: var(--text-dim);
}

.mock-search {
  background: rgba(255, 255, 255, .06);
  border-radius: 16px;
  padding: 8px 12px;
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: .05em;
}

.mock-remind {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.mock-remind-badge {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(var(--accent-rgb), .2);
  color: var(--accent-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mock-remind-badge svg {
  width: 12px;
  height: 12px;
}

.mock-remind-text {
  font-size: 10px;
  color: var(--text-soft);
}

.mock-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 12px;
}

.mock-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.mock-name {
  font-size: 11px;
  font-weight: 400;
}

.mock-meta {
  font-size: 8px;
  color: var(--text-dim);
  white-space: nowrap;
}

.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chip {
  font-size: 8px;
  letter-spacing: .05em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(90, 79, 207, .2);
  color: var(--app-purple-light);
}

.chip-plain {
  background: rgba(255, 255, 255, .08);
  color: var(--text-soft);
}

.chip-pink {
  background: rgba(var(--pink-rgb), .25);
  color: var(--pink-soft);
}

.mock-tabbar {
  margin-top: auto;
  margin-inline: -16px;
  display: flex;
  justify-content: space-around;
  padding: 10px 8px 20px;
  background: rgba(18, 18, 32, .85);
  border-top: 1px solid var(--line);
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  color: var(--text-dim);
}

.mock-tab svg {
  width: 14px;
  height: 14px;
}

.mock-tab.active {
  color: var(--app-purple-light);
}

.avatar-gold {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .2);
  border: 1px solid rgba(var(--accent-light-rgb), .4);
  color: var(--accent-light);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 顧客カード詳細画面 */
.mock-detail {
  height: 100%;
  padding: 58px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-detail-name {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .08em;
}

.mock-info {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-soft);
  padding: 7px 2px;
  border-bottom: 1px solid var(--line);
}

.mock-info span:first-child {
  color: var(--text-dim);
}

.mock-memo {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 9px;
  line-height: 1.7;
  color: var(--text-soft);
}

.mock-visit {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-dim);
  padding: 7px 2px;
  border-bottom: 1px solid var(--line);
}

.mock-visit span:last-child {
  color: var(--text-soft);
}

/* AI提案モーダル画面 */
.mock-ai {
  height: 100%;
  padding: 58px 14px 0;
  display: flex;
  flex-direction: column;
}

.mock-ai .mock-modal {
  margin: auto 0;
}

.mock-ai .mock-tabbar {
  margin-inline: -14px;
}

.mock-modal {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-chips {
  margin-top: 0;
}

.mock-seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 8px;
}

.mock-seg span {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  color: var(--text-dim);
}

.mock-seg .sel {
  background: rgba(90, 79, 207, .25);
  color: var(--text);
}

.mock-draft {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 0 2px;
}

.skel {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .12);
}

.skel-caret-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.caret {
  display: inline-block;
  width: 0;
  height: 12px;
  border-right: 1px solid var(--accent-light);
  animation: blink 1.1s steps(1, end) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.mock-ghost-btn {
  align-self: center;
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--accent-light);
  border: 1px solid rgba(var(--accent-light-rgb), .4);
  border-radius: 999px;
  padding: 6px 18px;
}

/* 分析画面 */
.mock-analytics {
  height: 100%;
  padding: 58px 16px 0;
  display: flex;
  flex-direction: column;
}

.mock-tabs {
  display: flex;
  gap: 14px;
  font-size: 9px;
  color: var(--text-dim);
}

.mock-tabs .sel {
  color: var(--text);
  border-bottom: 2px solid var(--app-purple);
  padding-bottom: 3px;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  margin-top: 22px;
}

.bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--app-purple-light), var(--app-purple));
}

.bar.gold {
  background: linear-gradient(180deg, #D4B87A, #C4A265);
}

.b1 { height: 38%; }
.b2 { height: 52%; }
.b3 { height: 44%; }
.b4 { height: 60%; }
.b5 { height: 70%; }
.b6 { height: 84%; }

.mock-months {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.mock-months span {
  flex: 1;
  text-align: center;
  font-size: 7px;
  color: var(--text-dim);
}

.mock-legend {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mock-legend .skel {
  height: 8px;
}

/* 幅ユーティリティ(スケルトン・走り書き線) */
.w32 { width: 32%; }
.w40 { width: 40%; }
.w48 { width: 48%; }
.w56 { width: 56%; }
.w64 { width: 64%; }
.w72 { width: 72%; }
.w88 { width: 88%; }
.w92 { width: 92%; }
.w100 { width: 100%; }

/* ========== 9. hero ========== */
.hero {
  position: relative;
  min-height: 100vh; /* svh非対応ブラウザ用フォールバック */
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 96px;
}

.hero-inner {
  display: grid;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  text-align: center;
}

.hero-sub {
  margin-top: 2.2rem;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .04em;
  color: var(--text-soft);
}

.cta-block-hero {
  margin-top: 3rem;
}

.cta-block-hero .sub-cta {
  display: block;
  margin-inline: auto;
  width: fit-content;
}

.hero-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone-wrap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(1200px, 140vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .12), transparent 70%);
  pointer-events: none;
}

.phone-hero {
  width: min(320px, 78vw);
  transform: perspective(1200px) rotateY(-6deg);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-6deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-6deg) translateY(-8px); }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform-origin: top;
  animation: scrollPulse 2.8s var(--ease-quiet) infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(.15); opacity: 0; }
  45% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(.15); opacity: 0; }
}

/* モバイル: フォンは上半分のみ・下端フェード */
@media (max-width: 899.98px) {
  .hero-phone-wrap {
    max-height: 400px;
    overflow: clip;
    -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 97%);
    mask-image: linear-gradient(180deg, #000 58%, transparent 97%);
  }

  /* クリップ矩形の内側でグローのフェードが完結するよう径を絞る(直線エッジ防止) */
  .hero-phone-wrap::before {
    width: min(360px, 90vw);
    background: radial-gradient(circle, rgba(var(--accent-rgb), .10), transparent 62%);
  }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 55fr 45fr;
  }

  /* 2カラム時はコピー原稿の改行位置を保てるサイズに調整
     (55%カラム内で「お客様一人ひとりを、」10文字が1行に収まる上限) */
  .hero h1 {
    font-size: clamp(30px, 3.4vw, 44px);
  }

  .hero-copy {
    text-align: left;
  }

  .cta-block-hero {
    text-align: left;
  }

  .cta-block-hero .sub-cta {
    margin-inline: 0;
  }
}

/* ========== 10. empathy ========== */
.empathy {
  padding-block: clamp(96px, 14vh, 140px);
}

.empathy-wrap {
  max-width: 840px;
}

.scenes {
  max-width: 560px;
  margin: clamp(40px, 6vh, 56px) auto 0;
}

.scene {
  border-left: 1px solid rgba(var(--accent-light-rgb), .3);
  padding-left: 24px;
  padding-block: 6px;
}

.scene + .scene {
  margin-top: 44px;
}

.scene h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .08em;
  line-height: 1.7;
}

.scene p {
  margin-top: 12px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: .04em;
  color: var(--text-soft);
}

/* 散らばったメモ -> 整った一枚(背景演出) */
.empathy-visual {
  position: relative;
  height: 400px;
  max-width: 460px;
  margin: clamp(48px, 8vh, 72px) auto;
}

.memo-card {
  position: absolute;
  width: 180px;
  padding: 16px 14px;
  background: #14141f;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  opacity: .55;
}

.memo-line {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
  margin: 9px 0;
}

.m1 {
  top: 0;
  left: 4%;
  transform: rotate(-3.5deg);
}

.m2 {
  top: 34px;
  right: 2%;
  transform: rotate(2.5deg);
}

.m3 {
  top: 128px;
  left: 22%;
  transform: rotate(4deg);
}

.tidy-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 272px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .35), 0 0 40px rgba(var(--accent-rgb), .08);
}

.tidy-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tidy-card .mock-chips {
  margin-top: 12px;
}

.tidy-card .frag-skels {
  margin-top: 14px;
}

/* スクロール進入で収束(JS有効時のみ初期を散らす) */
html.js .empathy-visual .memo-card,
html.js .empathy-visual .tidy-card {
  transition: transform 1.3s var(--ease-quiet), opacity 1.3s var(--ease-quiet);
}

html.js .empathy-visual .m2 { transition-delay: .1s; }
html.js .empathy-visual .m3 { transition-delay: .2s; }
html.js .empathy-visual .tidy-card { transition-delay: .45s; }

html.js .empathy-visual:not(.in) .m1 {
  transform: rotate(-9deg) translate(-32px, -26px);
  opacity: .8;
}

html.js .empathy-visual:not(.in) .m2 {
  transform: rotate(7deg) translate(30px, -18px);
  opacity: .8;
}

html.js .empathy-visual:not(.in) .m3 {
  transform: rotate(10deg) translate(-18px, 22px);
  opacity: .8;
}

html.js .empathy-visual:not(.in) .tidy-card {
  opacity: 0;
  transform: translate(-50%, 20px);
}

.empathy-turn {
  text-align: center;
  margin-top: clamp(56px, 8vh, 80px);
}

.turn-lines {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(17px, 2.6vw, 20px);
  line-height: 2.2;
  letter-spacing: .06em;
}

.turn-close {
  margin-top: 2.6rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .12em;
  color: var(--accent-light);
}

/* ========== 11. day ========== */
.day-layout {
  margin-top: clamp(48px, 8vh, 88px);
}

.day-phone-sticky {
  display: none;
}

.day-phone {
  width: 280px;
  margin-inline: auto;
}

.day-phone .day-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s ease;
}

.day-phone .day-screen.active {
  opacity: 1;
}

.day-block + .day-block {
  margin-top: clamp(88px, 14vh, 120px);
}

.day-time {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--accent);
}

.day-time .time {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 64px);
  line-height: 1.1;
  letter-spacing: .04em;
}

.day-time .time-label {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .25em;
  color: var(--accent-light);
}

.day-block h3 {
  margin-top: 22px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: .07em;
  line-height: 1.6;
}

.day-body {
  margin-top: 18px;
  max-width: 480px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.day-fragment {
  margin-top: 44px;
  max-height: 300px;
  overflow: clip;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 98%);
}

.day-fragment .phone {
  width: min(260px, 72vw);
  margin-inline: auto;
}

/* 切り抜きフラグメント内ではモーダルを上寄せ(可視域に収める) */
.day-fragment .mock-ai {
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .day-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
  }

  .day-phone-sticky {
    display: block;
    position: sticky;
    top: max(96px, calc(50vh - 320px));
  }

  .day-blocks {
    display: block;
  }

  .day-block {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .day-block + .day-block {
    margin-top: 0;
  }

  .day-fragment {
    display: none;
  }
}

/* ========== 12. features ========== */
.feature-rows {
  margin-top: clamp(40px, 6vh, 64px);
}

.feature-row {
  display: grid;
  gap: 40px;
  padding-block: clamp(48px, 8vh, 72px);
  align-items: center;
}

.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}

.feature-copy h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 22px;
  letter-spacing: .08em;
  line-height: 1.6;
}

.plan-note {
  display: inline-block;
  margin-left: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--accent-light);
  border: 1px solid rgba(var(--accent-light-rgb), .35);
  border-radius: 999px;
  padding: 2px 10px;
  vertical-align: middle;
}

.feature-copy p {
  margin-top: 14px;
  max-width: 420px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.ui-fragment {
  width: min(320px, 100%);
  background: #1a1a2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35), 0 0 48px rgba(var(--accent-rgb), .07);
}

.ui-fragment .mock-chips {
  margin-top: 2px;
}

.frag-skels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.gold-badge {
  align-self: flex-start;
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--accent-light);
  background: rgba(var(--accent-rgb), .2);
  padding: 4px 10px;
  border-radius: 999px;
}

.frag-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.frag-notice-text {
  flex: 1;
  font-size: 10px;
  color: var(--text-soft);
}

.gold-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mini-bars {
  height: 80px;
  max-width: 200px;
  margin-top: 4px;
}

.gb1 { height: 40%; }
.gb2 { height: 58%; }
.gb3 { height: 48%; }
.gb4 { height: 76%; }

.frag-alert {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 2px solid var(--pink-soft);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 12px;
}

.frag-alert-name {
  font-size: 11px;
}

.frag-alert-meta {
  font-size: 9px;
  color: var(--text-dim);
}

.soft-label {
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--pink-soft);
}

.frag-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.frag-calendar span {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
}

.frag-calendar .dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C4A265;
}

.frag-event {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 10px;
  color: var(--text-soft);
}

.frag-event-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent-light);
}

@media (min-width: 800px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
  }

  .feature-row:nth-child(even) .feature-visual {
    order: -1;
  }
}

/* ========== 13. ai ========== */
.ai {
  position: relative;
}

.ai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -30%);
  width: min(520px, 90vw);
  height: 420px;
  border-radius: 50%;
  background: rgba(var(--pink-rgb), .1);
  filter: blur(90px);
  pointer-events: none;
}

.ai::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 40%);
  width: min(600px, 95vw);
  height: 380px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .08);
  filter: blur(90px);
  pointer-events: none;
}

.ai .wrap {
  position: relative;
  z-index: 1;
}

.ai-lead {
  margin-top: 1.8rem;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: clamp(16px, 2.4vw, 18px);
  line-height: 2;
  letter-spacing: .08em;
  color: var(--text-soft);
}

.ai-layout {
  display: grid;
  gap: 48px;
  margin-top: clamp(48px, 8vh, 80px);
  align-items: center;
}

.ai-col {
  max-width: 480px;
  margin-inline: auto;
}

.ai-col p {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.ai-col p + p {
  margin-top: 1.6em;
}

.ai-col .plan-note {
  margin-left: 8px;
}

.phone-ai {
  width: min(300px, 80vw);
  margin-inline: auto;
}

.mock-draft-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 2px;
}

.draft-line {
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-soft);
}

html.js .ai .draft-line {
  opacity: 0;
}

html.js .ai .ai-phone-wrap.in .draft-line {
  animation: draftIn .9s var(--ease-quiet) forwards;
}

html.js .ai .ai-phone-wrap.in .draft-line:nth-child(1) { animation-delay: .3s; }
html.js .ai .ai-phone-wrap.in .draft-line:nth-child(2) { animation-delay: .75s; }
html.js .ai .ai-phone-wrap.in .draft-line:nth-child(3) { animation-delay: 1.25s; }

@keyframes draftIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .ai-layout {
    grid-template-columns: 1fr 300px 1fr;
    gap: clamp(40px, 5vw, 64px);
  }
}

/* 独立表示ブロック: 送信ボタンはありません */
.ai-declaration {
  max-width: 680px;
  margin: clamp(100px, 14vh, 140px) auto;
  padding-block: clamp(48px, 7vh, 64px);
  border-top: 1px solid rgba(var(--accent-light-rgb), .35);
  border-bottom: 1px solid rgba(var(--accent-light-rgb), .35);
  text-align: center;
}

.ai-decl-intro {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--accent-light);
}

.ai-decl-main {
  margin-top: 1.8rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  /* 375px以下でも「AIrisに送信ボタンはありません。」が1行に収まる可変サイズ */
  font-size: clamp(17px, 5vw, 20px);
  line-height: 1.9;
  letter-spacing: .1em;
}

.ai-decl-body {
  margin-top: 1.6rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .05em;
  color: var(--text-soft);
}

/* プラン別回数(小さな表) */
.ai-counts {
  text-align: center;
  color: var(--text-dim);
}

.ai-counts-title {
  font-size: 12px;
  letter-spacing: .25em;
  margin-bottom: 1.4rem;
}

.ai-counts-grid {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 7vw, 72px);
}

.ai-count {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  letter-spacing: .05em;
}

.ai-count-plan {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .2em;
}

/* ========== 14. trust ========== */
.trust {
  background: #0c0c16;
}

.trust-lead {
  max-width: 640px;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.trust-grid {
  display: grid;
  gap: 64px 56px;
  margin-top: clamp(56px, 9vh, 96px);
}

.trust-item {
  position: relative;
  padding-top: 40px;
}

.trust-hair {
  position: absolute;
  top: 0;
  left: 1px;
  width: 1px;
  height: 24px;
  background: rgba(160, 170, 187, .4);
}

.trust-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 19px;
  letter-spacing: .1em;
  line-height: 1.7;
}

.trust-item p {
  margin-top: 12px;
  max-width: 420px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.trust-note {
  margin-top: clamp(56px, 8vh, 72px);
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

.trust-note a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .3s var(--ease-quiet);
}

.trust-note a:hover {
  color: var(--accent-light);
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ステルスモード ミニデモ(CSSのみ・6s周期) */
.stealth-demo {
  position: relative;
  width: 120px;
  aspect-ratio: 9 / 16;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #101018;
}

.stealth-screen {
  position: absolute;
  inset: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stealth-a {
  background: linear-gradient(180deg, #0a0a12, #1a1a2e);
  animation: stealthA 6s ease-in-out infinite;
}

.stealth-b {
  background: #2a2a30;
  opacity: 0;
  animation: stealthB 6s ease-in-out infinite;
}

@keyframes stealthA {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes stealthB {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}

.s-card {
  background: rgba(255, 255, 255, .07);
  border-radius: 8px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-card .skel {
  height: 5px;
  border-radius: 3px;
}

.s-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.s-tabbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
}

.calc-display {
  text-align: right;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  padding: 8px 4px 4px;
}

.calc-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.calc-grid span {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, .08);
  font-size: 9px;
  color: rgba(255, 255, 255, .7);
}

/* ========== 15. pricing ========== */
.pricing {
  scroll-margin-top: 72px;
}

.pricing-lead {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.campaign-slot[hidden] {
  display: none;
}

.plan-grid {
  display: grid;
  gap: 24px;
  margin-top: clamp(48px, 7vh, 80px);
}

.plan {
  position: relative;
  border: 1px solid rgba(var(--accent-light-rgb), .18);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.plan-badge {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--accent-light);
  border: 1px solid rgba(var(--accent-light-rgb), .45);
  border-radius: 999px;
  padding: 3px 12px;
}

.plan-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: .15em;
}

.plan-price {
  margin-top: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: .02em;
}

.plan-price .yen,
.plan-price .per {
  font-size: 13px;
  color: var(--text-soft);
}

.plan-tagline {
  margin-top: 1.4rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--text-soft);
}

.plan-list {
  list-style: none;
  margin-top: 1.8rem;
}

.plan-list li {
  padding: 13px 2px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--text-soft);
}

.plan-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.pricing-foot {
  margin-top: 3rem;
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
  color: var(--text-dim);
}

@media (min-width: 860px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
  }
}

/* ========== 16. faq ========== */
.faq-wrap {
  max-width: 840px;
}

.faq-list {
  max-width: 640px;
  margin-inline: auto;
  margin-top: clamp(40px, 6vh, 64px);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 1.5em 44px 1.5em 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
  transition: transform .35s var(--ease-quiet);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/* 開閉: grid-template-rows 0fr->1fr(対応ブラウザのみアニメーション) */
.faq-item::details-content {
  content-visibility: visible;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-quiet);
}

.faq-item[open]::details-content {
  grid-template-rows: 1fr;
}

.faq-a {
  min-height: 0;
  overflow: hidden;
}

.faq-a-inner {
  margin-bottom: .5em;
  padding: 0 0 1.6em 24px;
  border-left: 1px solid rgba(var(--accent-light-rgb), .25);
}

.faq-a-inner p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .7);
}

.faq-a-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--accent-light);
  margin-right: 2px;
}

.faq-a-inner a {
  color: rgba(255, 255, 255, .7);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .3s var(--ease-quiet);
}

.faq-a-inner a:hover {
  color: var(--accent-light);
}

/* ========== 17. final-cta ========== */
.final-cta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-0);
  overflow: hidden; /* clip非対応ブラウザ用フォールバック */
  overflow: clip;
  padding-block: clamp(96px, 14vh, 160px);
}

/* 夜明け前の光(下端中央の半円) */
.final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 55%);
  width: min(1000px, 150vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .2), transparent 60%);
  pointer-events: none;
}

/* 画面オフのフォンシルエット(一日の終わり) */
.final-phone-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 22%);
  width: 280px;
  opacity: .15;
  pointer-events: none;
}

.phone-final .phone-screen {
  background: #0a0a12;
}

.final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.final-inner h2 {
  font-size: clamp(28px, 6vw, 44px);
  margin-top: 0;
}

.final-body {
  margin-top: 2.4rem;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: .05em;
  color: var(--text-soft);
}

.final-body + .final-body {
  margin-top: 2rem;
}

.final-cta .cta-block {
  margin-top: 3.5rem;
}

/* ========== 18. footer ========== */
.site-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding-block: 4rem 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .2em;
  display: inline-flex;
  align-items: center;
  gap: .38em;
}

.footer-logo .brand-mark {
  height: 40px;
}

.footer-tagline {
  margin-top: 14px;
  max-width: 340px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--text-dim);
}

.footer-company {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .3s var(--ease-quiet);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-copy {
  margin-top: 3rem;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-dim);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
  }
}

/* ========== 19. prefers-reduced-motion ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  /* 即時表示 */
  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  html.js .empathy-visual:not(.in) .m1 { transform: rotate(-3.5deg); opacity: .55; }
  html.js .empathy-visual:not(.in) .m2 { transform: rotate(2.5deg); opacity: .55; }
  html.js .empathy-visual:not(.in) .m3 { transform: rotate(4deg); opacity: .55; }
  html.js .empathy-visual:not(.in) .tidy-card { opacity: 1; transform: translateX(-50%); }

  html.js .ai .draft-line {
    opacity: 1;
  }

  .caret {
    display: none;
  }

  /* ステルスミニデモは電卓画面で静止(「電卓として動作」を静的に伝える) */
  .stealth-a {
    opacity: 0;
  }

  .stealth-b {
    opacity: 1;
  }

  .scroll-indicator {
    display: none;
  }
}


/* 狭幅ではデスクトップ向けの改行を解除し、自然な折返しに任せる */
@media (max-width: 480px) {
  .hero-sub br,
  .scene p br,
  .turn-lines br,
  .final-body br {
    display: none;
  }
}


/* 狭幅ではメモカードの散らばり幅を抑え、ビューポート外へのはみ出しを防ぐ */
@media (max-width: 599.98px) {
  .m1 { left: 0; }
  .m2 { right: 0; }

  html.js .empathy-visual:not(.in) .m1 {
    transform: rotate(-9deg) translate(-10px, -18px);
  }

  html.js .empathy-visual:not(.in) .m2 {
    transform: rotate(7deg) translate(10px, -12px);
  }

  html.js .empathy-visual:not(.in) .m3 {
    transform: rotate(10deg) translate(-8px, 14px);
  }
}

/* 横方向の視覚はみ出しがレイアウトビューポートを広げないようにする安全網。
   overflow-x:hidden はスクロールコンテナ化でposition:stickyを壊すためclipを使う */
@supports (overflow: clip) {
  html, body {
    overflow-x: clip;
  }
}


/* ============================================================
   Amethyst Night — 「派手だが上品」仕上げレイヤー
   ============================================================ */

/* 夜空に漂う紫のオーロラ(2光源+微速ドリフト) */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

body::before {
  width: 62vw;
  height: 62vw;
  top: -20vw;
  right: -18vw;
  background: radial-gradient(circle, rgba(107, 95, 224, .20), transparent 65%);
  animation: aurora-a 36s ease-in-out infinite alternate;
}

body::after {
  width: 52vw;
  height: 52vw;
  bottom: -16vw;
  left: -14vw;
  background: radial-gradient(circle, rgba(160, 100, 200, .12), transparent 65%);
  animation: aurora-b 44s ease-in-out infinite alternate;
}

@keyframes aurora-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6vw, 5vw) scale(1.12); }
}

@keyframes aurora-b {
  from { transform: translate(0, 0) scale(1.08); }
  to { transform: translate(5vw, -4vw) scale(1); }
}

/* H1の決めフレーズを宝石のグラデーションに */
.grad-text {
  background: linear-gradient(100deg, #B9ADFF 0%, #E4DEFF 45%, #9D8FFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #B9ADFF; /* clip非対応フォールバック */
}

/* CTAを発光させる(押しの強さはここに集約) */
.btn-primary {
  box-shadow: 0 8px 32px rgba(107, 95, 224, .45), 0 0 64px rgba(157, 143, 255, .22);
}

.btn-primary:hover {
  box-shadow: 0 10px 40px rgba(107, 95, 224, .6), 0 0 80px rgba(157, 143, 255, .3);
  filter: brightness(1.06);
}

/* シャンパンヘアライン → アメジストの光条 */
.hairline,
.trust-hair {
  background: linear-gradient(90deg, transparent, #B9ADFF 50%, transparent);
}

.hairline { width: 64px; }

/* dayセクションの時刻数字を光らせる */
.time {
  background: linear-gradient(120deg, #9D8FFF, #E4DEFF 55%, #8B7FF0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #9D8FFF;
}

/* Proパネルに宝石のリング(グラデーション枠) */
.plan:last-child {
  position: relative;
  border-color: transparent;
}

.plan:last-child::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(107, 95, 224, .9), rgba(228, 222, 255, .5) 45%, rgba(107, 95, 224, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* trustアイコン撤去後の余白調整: 縦ヘアラインを主役にした静かな組版 */
.trust-item h3 {
  margin-top: 1.1rem;
}

/* ヒーローのフォン光源を少し強く */
.hero-phone-wrap::before {
  background: radial-gradient(circle, rgba(var(--accent-rgb), .17), transparent 68%);
}

/* 選択テキストもブランド色に */
::selection {
  background: rgba(107, 95, 224, .45);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}


/* 共感の転換直後の静かなCTA */
.empathy-cta {
  text-align: center;
  margin-top: 2.6rem;
}

/* 機能セクション: 補助機能の2x2グリッド */
.feature-grid {
  display: grid;
  gap: 48px 72px;
  margin-top: clamp(48px, 8vh, 72px);
  padding-top: clamp(40px, 6vh, 56px);
  border-top: 1px solid var(--line);
}

.feature-cell .feature-copy h3 {
  font-size: 18px;
}

.feature-cell .feature-copy p {
  font-size: 14px;
}

.feature-cell .feature-visual {
  margin-top: 18px;
}

.feature-cell .ui-fragment {
  max-width: 300px;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
