@charset "UTF-8";
/* ============================================================
   御嶽の聲 — style.css
   構成: 1.トークン → 2.リセット/ベース → 3.レイアウト
        → 4.コンポーネント → 5.モーション → 6.停止ポリシー
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  --color-bg: #06070d;           /* 漆黒(夜の御嶽) */
  --color-deep: #0a1124;         /* 深い紺藍 */
  --color-surface: #0d152b;      /* 面(カード・フォーム) */
  --color-text: #e9e6dc;         /* 本文(月明かりの白) */
  --color-muted: #c9c6ba;        /* 補助テキスト(ダーク背景でも十分な明度) */
  --color-gold: #e2c27a;         /* 月光の金 */
  --color-gold-deep: #b8963f;
  --color-jade: #8fd8ba;         /* 翡翠 */
  --color-accent: var(--color-gold);
  --color-accent-ink: #171204;   /* 金の上の文字色 */
  --color-line: #2a3352;         /* 罫線(紺藍の淡) */

  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --space: 8px;
  --section-pad: clamp(80px, 14vw, 160px);
  --container: 1120px;
  --container-narrow: 720px;
  --radius: 2px;

  --z-header: 100;
  --z-nav: 200;
  --z-whiteout: 900;
  --z-modal: 1000;
  --z-loader: 2000;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-solemn: cubic-bezier(0.4, 0, 0.1, 1);
  --duration: 1.1s;
}

/* ---------- 2. リセット/ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 2.1;
  font-size: 16px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }
a:hover { opacity: 0.75; transition: opacity 0.3s; }

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

ruby rt { font-size: 0.5em; color: var(--color-jade); letter-spacing: 0.1em; }

::selection { background: rgba(226, 194, 122, 0.3); }

/* ---------- 3. レイアウト ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; position: relative; }
.container--narrow { width: min(var(--container-narrow), 100% - 48px); margin-inline: auto; position: relative; }

main { position: relative; z-index: 1; }

.section { padding-block: var(--section-pad); position: relative; }
.section p + p { margin-top: 1.6em; }

/* シグネチャー: 背景に沈む大きな一字(祈・道・御・縁) */
.section-head { margin-bottom: calc(var(--space) * 8); position: relative; }
.section-head__kanji {
  position: absolute;
  top: -0.55em; left: -0.18em;
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 220px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(226, 194, 122, 0.14);
  pointer-events: none;
  user-select: none;
}
.section-head__title {
  font-size: clamp(26px, 4.2vw, 42px);
  color: var(--color-gold);
  padding-top: calc(var(--space) * 4);
  transition: letter-spacing 1.6s var(--ease-solemn);
}
.section-head__title.is-inview { letter-spacing: 0.18em; }

/* ---------- 4. コンポーネント ---------- */

/* 空気レイヤー(canvas・光芒) — コンテンツの後ろ */
#atmos {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.godray { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.godray i {
  position: absolute; top: -20%; height: 140%;
  transform: rotate(18deg);
  filter: blur(26px);
  animation: ray 16s ease-in-out infinite alternate;
}
.godray i:nth-child(1) { left: 8%;  width: 10vw; background: linear-gradient(rgba(143, 216, 186, 0.09), transparent 70%); }
.godray i:nth-child(2) { left: 30%; width: 6vw;  background: linear-gradient(rgba(226, 194, 122, 0.10), transparent 68%); animation-delay: -5s; }
.godray i:nth-child(3) { left: 56%; width: 14vw; background: linear-gradient(rgba(226, 194, 122, 0.07), transparent 72%); animation-delay: -9s; opacity: 0.7; }
.godray i:nth-child(4) { left: 78%; width: 8vw;  background: linear-gradient(rgba(143, 216, 186, 0.07), transparent 70%); animation-delay: -12s; }
@keyframes ray { to { opacity: 0.35; transform: rotate(16deg) translateX(3vw); } }

/* 開幕ローダー */
#loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: #030308;
  display: grid; place-content: center; text-align: center;
  cursor: pointer;
  transition: opacity 1.4s var(--ease-solemn), visibility 1.4s;
}
#loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__glow {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0;
}
.loader__glow--jade {
  width: 60vmax; height: 60vmax; left: -18vmax; top: -18vmax;
  background: radial-gradient(circle, rgba(143, 216, 186, 0.16), transparent 62%);
  animation: loaderGlow 3.2s var(--ease-solemn) forwards;
}
.loader__glow--gold {
  width: 70vmax; height: 70vmax; right: -22vmax; bottom: -22vmax;
  background: radial-gradient(circle, rgba(226, 194, 122, 0.18), transparent 62%);
  animation: loaderGlow 3.2s 0.5s var(--ease-solemn) forwards;
}
@keyframes loaderGlow { to { opacity: 1; } }
.loader__name {
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 72px);
  letter-spacing: 0.3em; text-indent: 0.3em;
  color: var(--color-text);
  position: relative;
}
.loader__name .ch {
  display: inline-block; opacity: 0;
  animation: loaderCh 1.6s var(--ease-solemn) forwards;
}
.loader__name .ch:nth-child(1) { animation-delay: 0.5s; }
.loader__name .ch:nth-child(2) { animation-delay: 0.85s; }
.loader__name .ch:nth-child(3) { animation-delay: 1.2s; }
.loader__name .ch:nth-child(4) { animation-delay: 1.55s; }
@keyframes loaderCh {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.loader__sub {
  margin-top: calc(var(--space) * 2);
  font-size: 12px; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--color-jade);
  opacity: 0; animation: loaderCh 1.4s 2s var(--ease-solemn) forwards;
}
.loader__skip {
  position: absolute; bottom: 28px; left: 0; right: 0;
  font-size: 11px; letter-spacing: 0.2em; color: var(--color-muted);
  opacity: 0; animation: loaderCh 1s 2.6s forwards;
}

/* ホワイトアウト(鑑定遷移) */
#whiteout {
  position: fixed; inset: 0; z-index: var(--z-whiteout);
  background: radial-gradient(circle at 50% 60%, #fff8e8 0%, #f4e6c2 45%, #e9d7a8 100%);
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease-solemn), visibility 0.9s;
  pointer-events: none;
}
#whiteout.is-active { opacity: 1; visibility: visible; }

/* ヘッダー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px clamp(20px, 4vw, 48px);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled {
  background: rgba(6, 7, 13, 0.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-line);
}
.site-header__logo {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-decoration: none;
}

.global-nav ul { display: flex; gap: calc(var(--space) * 4); list-style: none; padding: 0; }
.global-nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.14em; color: var(--color-text); }
.global-nav a:hover { color: var(--color-gold); opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--color-gold); transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: var(--z-nav);
    background: rgba(5, 6, 10, 0.96);
    display: grid; place-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; text-align: center; gap: calc(var(--space) * 4); }
  .global-nav a { font-size: 20px; font-family: var(--font-display); }
}

/* ═══ ヒーロー ═══ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0 calc(var(--space) * 14);
}
.hero__layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero__layer--moon::before {
  content: "";
  position: absolute; top: 9%; right: 12%;
  width: clamp(90px, 14vw, 190px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #f4e3b2 0%, #e2c27a 55%, rgba(226, 194, 122, 0) 72%);
  filter: blur(2px);
  opacity: 0.85;
}
.hero__layer--tree { display: flex; align-items: flex-end; }
.hero__layer--tree svg { width: 100%; height: auto; opacity: 0.9; }

/* 御嶽を守る龍神(本画像) — 夕焼けの空を舞う金龍。縁を霧に溶かして馴染ませる */
.hero__layer--dragonimg { z-index: 0; }
.hero__layer--dragonimg picture,
.hero__layer--dragonimg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 32%;
}
.hero__layer--dragonimg img {
  filter: saturate(0.88) brightness(0.92) contrast(1.02);
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 74% 34%, #000 38%, transparent 76%);
  mask-image: radial-gradient(ellipse 62% 68% at 74% 34%, #000 38%, transparent 76%);
}
.hero__layer--dragonimg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, #06070d 6%, rgba(6,7,13,0.88) 26%, rgba(6,7,13,0.32) 50%, rgba(6,7,13,0.4) 72%, #06070d 100%),
    linear-gradient(to top, #06070d 0%, rgba(6,7,13,0.05) 30%, transparent 55%),
    linear-gradient(to bottom, #06070d 0%, transparent 22%);
}
@media (max-width: 767px) {
  .hero__layer--dragonimg img { object-position: 66% 30%; }
  .hero__layer--dragonimg::after {
    background:
      linear-gradient(160deg, #06070d 10%, rgba(6,7,13,0.85) 30%, rgba(6,7,13,0.3) 52%, rgba(6,7,13,0.55) 78%, #06070d 100%),
      linear-gradient(to top, #06070d 0%, rgba(6,7,13,0.05) 26%, transparent 50%),
      linear-gradient(to bottom, #06070d 0%, transparent 20%);
  }
}

/* 御嶽を守る龍神 — はっきりとした線画で空を這う */
/* 本物の龍神画像(.hero__layer--dragonimg)をメインビジュアルとして採用したため、
   別の姿・別の位置になる線画版は視覚的に競合するので非表示にする(データ・JSは残置) */
.hero__layer--dragon { display: none; }
.hero__layer--dragon svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero__layer--dragon .dragon-body {
  fill: none;
  stroke: url(#dragonBodyGrad);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(226, 194, 122, 0.55)) drop-shadow(0 0 10px rgba(143, 216, 186, 0.3));
}
.hero__layer--dragon .dragon-body-glow {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.2;
  filter: blur(4px);
  vector-effect: non-scaling-stroke;
}
.hero__layer--dragon .dragon-horn {
  fill: none;
  stroke: url(#dragonBodyGrad);
  stroke-width: 3.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero__layer--dragon .dragon-whisker {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2.1;
  stroke-linecap: round;
  opacity: 0.85;
  vector-effect: non-scaling-stroke;
}
.hero__layer--dragon .dragon-mane {
  fill: none;
  stroke: var(--color-jade);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
  vector-effect: non-scaling-stroke;
}
.hero__layer--dragon .dragon-leg {
  fill: none;
  stroke: url(#dragonBodyGrad);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero__layer--dragon .dragon-cloud {
  fill: none;
  stroke: var(--color-jade);
  stroke-width: 1.8;
  opacity: 0.75;
}
.hero__layer--dragon .dragon-spike {
  fill: url(#dragonBodyGrad);
  opacity: 0.92;
  filter: drop-shadow(0 0 3px rgba(226, 194, 122, 0.5));
}
.hero__layer--dragon .dragon-head {
  fill: #0a0e1a;
  stroke: url(#dragonBodyGrad);
  stroke-width: 3.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px rgba(226, 194, 122, 0.6));
}
.hero__layer--dragon .dragon-tooth { fill: #fdf6e3; }
.hero__layer--dragon .dragon-eye {
  fill: var(--color-gold);
  stroke: none;
  animation: dragonEye 3.4s ease-in-out infinite;
}
.hero__layer--dragon .dragon-pearl {
  fill: url(#dragonPearlGrad);
  animation: dragonPearl 2.6s ease-in-out infinite;
}
@keyframes dragonEye {
  0%, 100% { opacity: 0.5; filter: none; }
  50% { opacity: 1; filter: drop-shadow(0 0 6px var(--color-gold)); }
}
@keyframes dragonPearl {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(244,227,178,.8)) drop-shadow(0 0 12px rgba(244,227,178,.4)); }
  50% { filter: drop-shadow(0 0 9px rgba(244,227,178,1)) drop-shadow(0 0 20px rgba(244,227,178,.6)); }
}
@media (max-width: 767px) {
  .hero__layer--dragon { opacity: 0.78; }
  /* モバイルでは頭部(顔)が確実に画面内に収まるようJSでpreserveAspectRatioをxMax寄せに切替える */
}
html.is-motion-off .hero__layer--dragon path,
html.is-motion-off .hero__layer--dragon .dragon-eye,
html.is-motion-off .hero__layer--dragon .dragon-pearl,
html.is-motion-off .hero__layer--dragon .dragon-extra { animation: none !important; opacity: 1 !important; }
.hero__fog {
  position: absolute; left: -10%; right: -10%; bottom: -6%;
  height: 40%;
  background: radial-gradient(ellipse at 30% 100%, rgba(143, 216, 186, 0.07), transparent 60%),
              radial-gradient(ellipse at 75% 100%, rgba(120, 140, 190, 0.09), transparent 55%);
  pointer-events: none;
  will-change: transform;
}
.hero__inner { z-index: 2; }
.hero__eyebrow {
  font-size: 13px; letter-spacing: 0.34em;
  color: var(--color-jade);
  margin-bottom: calc(var(--space) * 4);
}
.hero__title {
  font-size: clamp(42px, 8.4vw, 100px);
  line-height: 1.32;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-shadow: 0 0 60px rgba(226, 194, 122, 0.18);
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__lead {
  margin-top: calc(var(--space) * 5);
  max-width: 36em;
  color: var(--color-muted);
  font-size: 15px;
}
.hero__cta {
  display: inline-block;
  margin-top: calc(var(--space) * 6);
  padding: 15px 38px;
  font-size: 14px; letter-spacing: 0.18em;
  color: var(--color-gold);
  text-decoration: none;
  border: 1px solid rgba(226, 194, 122, 0.5);
  border-radius: 999px;
  transition: background 0.5s, color 0.5s, box-shadow 0.5s;
}
.hero__cta:hover {
  background: rgba(226, 194, 122, 0.12);
  box-shadow: 0 0 32px rgba(226, 194, 122, 0.25);
  opacity: 1;
}
.scroll-cue {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  z-index: 2;
}
.scroll-cue__label { font-size: 10px; letter-spacing: 0.4em; text-indent: 0.4em; color: var(--color-muted); }
.scroll-cue__line {
  width: 1px; height: 56px;
  background: linear-gradient(var(--color-gold), transparent);
  overflow: hidden; position: relative;
}
.scroll-cue__line::after {
  content: "";
  position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: #fff;
  animation: cueDrop 2.2s var(--ease-solemn) infinite;
}
@keyframes cueDrop { to { top: 110%; } }

/* ヒーロー開幕用(JS有効時のみ隠す → GSAPで登場) */
html.js .op-target { opacity: 0; }
html.js .op-target.op-shown, html.no-js .op-target { opacity: 1; }

/* ユタの祈りの映像(縁をふわっと闇に溶かすマスク) */
.about__media {
  margin-top: calc(var(--space) * 7);
}
.about__media video {
  width: 100%; height: auto; display: block;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.about__media figcaption {
  margin-top: calc(var(--space) * 1);
  text-align: center;
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--color-muted);
}

/* ═══ 鑑定の流れ ═══ */
.flow__list {
  list-style: none; padding: 0;
  display: grid; gap: calc(var(--space) * 5);
  grid-template-columns: repeat(3, 1fr);
}
.flow__step {
  position: relative;
  padding: calc(var(--space) * 5) calc(var(--space) * 4);
  background: linear-gradient(160deg, rgba(13, 21, 43, 0.9), rgba(8, 12, 26, 0.9));
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.flow__step::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 42px; height: 1px;
  background: var(--color-gold);
}
.flow__num {
  font-family: var(--font-display);
  font-size: 40px; line-height: 1;
  color: var(--color-gold);
  display: block;
  margin-bottom: calc(var(--space) * 3);
}
.flow__title { font-size: 20px; margin-bottom: calc(var(--space) * 2); color: var(--color-text); }
.flow__step p { font-size: 14px; color: var(--color-muted); line-height: 2; }

@media (max-width: 767px) {
  .flow__list { grid-template-columns: 1fr; }
}

/* ═══ 無料鑑定 ═══ */
.uranai__note {
  color: var(--color-jade);
  font-size: 14px; letter-spacing: 0.2em;
  margin-bottom: calc(var(--space) * 6);
}
.uranai__form {
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(170deg, rgba(13, 21, 43, 0.85), rgba(6, 8, 16, 0.95));
  border: 1px solid rgba(226, 194, 122, 0.28);
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(226, 194, 122, 0.05);
}

.form { display: grid; gap: calc(var(--space) * 4); }
@media (min-width: 768px) {
  .form--grid { grid-template-columns: 1fr 1fr; column-gap: calc(var(--space) * 4); }
  .form--grid .form__field--full, .form--grid .oracle-button { grid-column: 1 / -1; }
}
.form__field { display: grid; gap: calc(var(--space) * 1); min-width: 0; }
.form__field label { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--color-text); }
.form__field .required { color: var(--color-gold); font-size: 11px; margin-left: 0.6em; border: 1px solid currentColor; padding: 1px 6px; border-radius: 2px; }
.form input, .form select {
  font: inherit; color: var(--color-text);
  width: 100%; max-width: 100%; min-width: 0;
  padding: 14px 16px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid var(--color-line); border-radius: var(--radius);
  letter-spacing: 0.06em;
}
/* iOS Safariの日付入力は独自の幅・高さを持つため明示的に整える */
.form input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
  display: block;
  text-align: left;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-gold) 50%), linear-gradient(135deg, var(--color-gold) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus { border-color: var(--color-gold); outline: none; box-shadow: 0 0 0 1px rgba(226, 194, 122, 0.4); }
.form input::-webkit-calendar-picker-indicator { filter: invert(0.85); }
.form [aria-invalid="true"] { border-color: #d98a7f; }
.form__error { color: #e8a79d; font-size: 13px; min-height: 1.2em; line-height: 1.5; }
.form__hp { position: absolute; left: -9999px; }

/* メール講座登録フォーム */
.mail__form {
  display: flex; flex-wrap: wrap; gap: calc(var(--space) * 2);
  max-width: 560px; margin: calc(var(--space) * 5) auto 0;
}
.mail__input {
  flex: 1 1 260px; min-width: 0;
  font: inherit; color: var(--color-text);
  padding: 14px 18px;
  background: rgba(6, 7, 13, 0.8);
  border: 1px solid var(--color-line); border-radius: var(--radius);
  letter-spacing: 0.04em;
}
.mail__input:focus { border-color: var(--color-gold); outline: none; box-shadow: 0 0 0 1px rgba(226, 194, 122, 0.4); }
.mail__submit {
  flex: 0 0 auto;
  font: inherit; font-weight: 700; letter-spacing: 0.08em;
  padding: 14px 28px;
  background: var(--color-gold); color: var(--color-accent-ink);
  border: none; border-radius: var(--radius);
  cursor: pointer; transition: opacity 0.2s var(--ease-out);
}
.mail__submit:hover { opacity: 0.85; }
.mail__note {
  text-align: center; margin-top: calc(var(--space) * 3);
  font-size: 13px; color: var(--color-muted);
}
@media (max-width: 480px) {
  .mail__form { flex-direction: column; }
  .mail__input { flex: 0 0 auto; }
  .mail__submit { width: 100%; }
}

/* お告げボタン(波紋) */
.oracle-button {
  position: relative;
  justify-self: center;
  white-space: nowrap;
  margin-top: calc(var(--space) * 3);
  padding: 20px clamp(28px, 8vw, 64px);
  max-width: 100%;
  font-family: var(--font-display);
  font-size: 18px; letter-spacing: 0.3em; text-indent: 0.3em;
  color: var(--color-accent-ink);
  background: linear-gradient(160deg, #f0d597, var(--color-gold) 55%, var(--color-gold-deep));
  border: none; border-radius: 999px;
  cursor: pointer;
  transition: box-shadow 0.6s, transform 0.6s;
}
.oracle-button:hover, .oracle-button:focus-visible {
  box-shadow: 0 0 46px rgba(226, 194, 122, 0.45);
  transform: translateY(-2px);
}
.oracle-button:disabled { opacity: 0.6; cursor: wait; }
.oracle-button__label { position: relative; z-index: 1; }
.oracle-button__ring {
  position: absolute; inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(226, 194, 122, 0.8);
  opacity: 0;
  pointer-events: none;
}
.oracle-button:hover .oracle-button__ring,
.oracle-button:focus-visible .oracle-button__ring {
  animation: ripple 2s var(--ease-out) infinite;
}
.oracle-button .oracle-button__ring:nth-of-type(2) { animation-delay: 1s; }
@keyframes ripple {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* ═══ 御告げ(結果) ═══ */
.result__card {
  padding: clamp(32px, 6vw, 64px);
  background: linear-gradient(170deg, rgba(13, 21, 43, 0.92), rgba(5, 6, 10, 0.96));
  border: 1px solid rgba(226, 194, 122, 0.45);
  border-radius: 4px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 120px rgba(226, 194, 122, 0.08);
}
.result__card::before, .result__card::after {
  content: "";
  position: absolute; width: 22px; height: 22px;
  border-color: var(--color-gold); border-style: solid;
}
.result__card::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.result__card::after { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }
.result__to { font-size: 14px; letter-spacing: 0.2em; color: var(--color-jade); }
.result__heading {
  font-size: clamp(30px, 5vw, 44px);
  color: var(--color-gold);
  letter-spacing: 0.5em; text-indent: 0.5em;
  margin: calc(var(--space) * 2) 0 calc(var(--space) * 5);
}
.result__message {
  text-align: left;
  font-size: 17px; line-height: 2.4;
  max-width: 34em; margin-inline: auto;
}
.result__extra {
  margin-top: calc(var(--space) * 4);
  font-size: 14px; line-height: 2.2;
  color: var(--color-jade);
  max-width: 34em; margin-inline: auto;
  text-align: left;
}
.result__kotoba {
  margin-top: calc(var(--space) * 7);
  padding: calc(var(--space) * 4);
  border-block: 1px solid rgba(226, 194, 122, 0.3);
}
.result__kotoba-label { font-size: 12px; letter-spacing: 0.24em; color: var(--color-muted); }
.result__kotoba-word {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  color: var(--color-gold);
  margin-top: calc(var(--space) * 2);
  letter-spacing: 0.14em;
}
.result__kotoba-std {
  font-size: 15px; color: var(--color-jade);
  letter-spacing: 0.08em;
  margin-top: calc(var(--space) * 2);
}
.result__kotoba-mean { font-size: 14px; color: var(--color-muted); margin-top: calc(var(--space) * 1); }
.result__omens {
  display: flex; justify-content: center; gap: calc(var(--space) * 8);
  margin-top: calc(var(--space) * 5);
  flex-wrap: wrap;
}
.result__omens dt { font-size: 12px; letter-spacing: 0.24em; color: var(--color-muted); }
.result__omens dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; color: var(--color-jade); }
.result__share { margin-top: calc(var(--space) * 6); }
.result__share-label { font-size: 12px; letter-spacing: 0.24em; color: var(--color-muted); margin-bottom: calc(var(--space) * 2); }
.result__share-btns { display: flex; justify-content: center; gap: calc(var(--space) * 2); flex-wrap: wrap; }
.share-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 13px; letter-spacing: 0.12em;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.4s, box-shadow 0.4s;
}
.share-btn--x { color: var(--color-gold); border: 1px solid rgba(226, 194, 122, 0.55); }
.share-btn--x:hover { background: rgba(226, 194, 122, 0.12); box-shadow: 0 0 24px rgba(226, 194, 122, 0.2); opacity: 1; }
.share-btn--threads { color: var(--color-jade); border: 1px solid rgba(143, 216, 186, 0.55); }
.share-btn--threads:hover { background: rgba(143, 216, 186, 0.1); box-shadow: 0 0 24px rgba(143, 216, 186, 0.18); opacity: 1; }

/* 結果直下の本格鑑定CTA */
.result__pro {
  margin-top: calc(var(--space) * 6);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  border: 1px solid rgba(226, 194, 122, 0.4);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.9), rgba(8, 12, 26, 0.94));
  box-shadow: 0 0 60px rgba(226, 194, 122, 0.07);
}
.result__pro-copy { font-size: 15px; line-height: 2.2; margin-bottom: calc(var(--space) * 4); }
a.oracle-button--link {
  display: inline-block; text-decoration: none;
  font-size: 16px; letter-spacing: 0.14em; text-indent: 0.14em;
  white-space: normal; line-height: 1.9;
}
a.oracle-button--link:hover { opacity: 1; }
.result__pro-note { margin-top: calc(var(--space) * 3); font-size: 12px; color: var(--color-muted); }
.result__pro-note a { color: var(--color-jade); }

.result__again {
  margin-top: calc(var(--space) * 6);
  padding: 12px 32px;
  font: inherit; font-size: 13px; letter-spacing: 0.2em;
  color: var(--color-text);
  background: none;
  border: 1px solid var(--color-line); border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.4s, color 0.4s;
}
.result__again:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* ═══ 本格鑑定(広告) ═══ */
.pro-card {
  display: block;
  margin-top: calc(var(--space) * 5);
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(160deg, rgba(13, 21, 43, 0.9), rgba(8, 12, 26, 0.92));
  border: 1px solid var(--color-line);
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}
.pro-card:hover {
  border-color: rgba(226, 194, 122, 0.6);
  box-shadow: 0 12px 48px rgba(226, 194, 122, 0.12);
  transform: translateY(-3px);
  opacity: 1;
}
.pro-card--featured { border-color: rgba(226, 194, 122, 0.5); box-shadow: 0 0 60px rgba(226, 194, 122, 0.07); }
.pro-card__badge {
  position: absolute; top: -12px; left: 24px;
  padding: 3px 14px;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--color-accent-ink);
  background: var(--color-gold);
  border-radius: 999px;
}
.pro-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  color: var(--color-gold);
  letter-spacing: 0.1em;
}
.pro-card__desc { display: block; margin-top: calc(var(--space) * 2); font-size: 14px; color: var(--color-muted); line-height: 2; }
.pro-card__cta {
  display: inline-block;
  margin-top: calc(var(--space) * 3);
  font-size: 14px; letter-spacing: 0.14em;
  color: var(--color-jade);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.pro__pr { margin-top: calc(var(--space) * 4); font-size: 12px; color: var(--color-muted); }

/* ═══ 映像で聴く ═══ */
.shorts__lead { color: var(--color-muted); margin-bottom: calc(var(--space) * 5); }
.shorts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.shorts__card {
  background: linear-gradient(160deg, rgba(13, 21, 43, 0.9), rgba(8, 12, 26, 0.92));
  border: 1px solid var(--color-line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
}
.shorts__card:hover {
  border-color: rgba(226, 194, 122, 0.5);
  box-shadow: 0 12px 40px rgba(226, 194, 122, 0.1);
  transform: translateY(-3px);
}
.shorts__card video { width: 100%; aspect-ratio: 9 / 16; max-height: 480px; display: block; background: #000; object-fit: cover; }
.shorts__card figcaption {
  padding: 14px 16px 18px;
  font-size: 13px; line-height: 1.6;
  color: var(--color-text);
}

/* フッター */
.site-footer {
  position: relative; z-index: 1;
  padding: calc(var(--space) * 8) 0 calc(var(--space) * 5);
  border-top: 1px solid var(--color-line);
  font-size: 13px; color: var(--color-muted);
  text-align: center;
  background: rgba(4, 5, 9, 0.6);
}
.site-footer__note { font-size: 12px; line-height: 2; margin-bottom: calc(var(--space) * 3); }
.site-footer__links {
  display: flex; justify-content: center; align-items: center;
  gap: calc(var(--space) * 3);
  flex-wrap: wrap;
  margin-bottom: calc(var(--space) * 4);
  font-size: 13px;
}
.site-footer__links-label { color: var(--color-gold); letter-spacing: 0.2em; font-size: 12px; }
.site-footer__links a { color: var(--color-muted); text-decoration: none; border-bottom: 1px solid var(--color-line); padding-bottom: 2px; }
.site-footer__links a:hover { color: var(--color-gold); opacity: 1; }

/* ═══ 記事ページ(コラム) ═══ */
.article-page { padding-top: calc(var(--space) * 14); }
.article-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(6, 7, 13, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-line);
}
.article-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px clamp(12px, 2.5vw, 28px); }
.article-nav a { font-size: 12px; letter-spacing: 0.1em; color: var(--color-text); text-decoration: none; white-space: nowrap; }
.article-nav a:hover { color: var(--color-gold); opacity: 1; }
@media (max-width: 640px) {
  .article-header .site-header__logo { font-size: 15px; letter-spacing: 0.1em; white-space: nowrap; }
  .article-nav a { font-size: 11px; }
}
.breadcrumb { padding-block: calc(var(--space) * 2); font-size: 12px; color: var(--color-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.6em; list-style: none; padding: 0; margin: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.6em; }
.breadcrumb a { text-decoration: none; color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-gold); opacity: 1; }
.article { font-size: 15.5px; }
.article__title { font-size: clamp(26px, 4.6vw, 40px); color: var(--color-gold); line-height: 1.6; margin-bottom: calc(var(--space) * 2); }
.article__meta { font-size: 12px; color: var(--color-muted); letter-spacing: 0.14em; margin-bottom: calc(var(--space) * 7); }
.article h2 {
  font-size: clamp(20px, 3vw, 26px);
  color: var(--color-text);
  margin: calc(var(--space) * 8) 0 calc(var(--space) * 3);
  padding-left: calc(var(--space) * 2);
  border-left: 3px solid var(--color-gold);
}
.article h3 { font-size: 17px; color: var(--color-jade); margin: calc(var(--space) * 5) 0 calc(var(--space) * 2); }
.article ul, .article ol { padding-left: 1.6em; }
.article li + li { margin-top: 0.5em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: calc(var(--space) * 3) 0; }
.table-scroll .article__table { margin: 0; min-width: 560px; }
.table-hint { display: none; font-size: 12px; color: var(--color-jade); letter-spacing: 0.1em; margin-bottom: 4px; }
.article__table { width: 100%; border-collapse: collapse; margin: calc(var(--space) * 3) 0; font-size: 14px; line-height: 1.9; }
.article__table th, .article__table td { border: 1px solid var(--color-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.article__table th { background: rgba(13, 21, 43, 0.9); color: var(--color-gold); white-space: nowrap; }
.article__table td:first-child, .article__table th:first-child { white-space: nowrap; }
/* スマホでは表を縦積みカード型に変える（横スクロールさせない） */
@media (max-width: 640px) {
  .table-scroll { overflow-x: visible; }
  .table-scroll .article__table { min-width: 0; }
  .article__table, .article__table tbody, .article__table tr, .article__table td { display: block; width: 100%; }
  .article__table tr:first-child { display: none; }
  .article__table tr { border: 1px solid var(--color-line); border-radius: 4px; overflow: hidden; }
  .article__table tr + tr { margin-top: calc(var(--space) * 3); }
  .article__table td { border: none; white-space: normal; }
  .article__table td + td { border-top: 1px solid var(--color-line); }
  .article__table td:first-child { background: rgba(13, 21, 43, 0.9); color: var(--color-gold); letter-spacing: 0.08em; padding: 10px 14px; }
  .article__table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--color-jade); letter-spacing: 0.1em; margin-bottom: 4px; }
}
.article__cta {
  margin: calc(var(--space) * 8) 0;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  border: 1px solid rgba(226, 194, 122, 0.4);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.9), rgba(8, 12, 26, 0.94));
}
.article__cta p { margin-bottom: calc(var(--space) * 3); }
.article__pr { font-size: 12px; color: var(--color-muted); margin-bottom: calc(var(--space) * 4); }
.article a { color: #a9ead0; text-decoration: underline; text-underline-offset: 4px; }
.article a.oracle-button--link {
  color: var(--color-accent-ink);
  text-decoration: none;
  font-weight: 600;
}
.kotoba-item {
  margin: calc(var(--space) * 4) 0;
  padding: calc(var(--space) * 4);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  background: rgba(13, 21, 43, 0.6);
}
.kotoba-item h3 { margin-top: 0; color: var(--color-gold); }
.kotoba-item p { font-size: 14px; color: var(--color-muted); }

/* 記事末尾: 電話占いへの控えめなCTAカード */
.article-advise {
  margin: calc(var(--space) * 8) 0;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  border: 1px solid rgba(226, 194, 122, 0.4);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.9), rgba(8, 12, 26, 0.94));
  box-shadow: 0 0 60px rgba(226, 194, 122, 0.07);
}
.article-advise__copy { font-size: 15px; line-height: 2.2; margin-bottom: calc(var(--space) * 4); color: var(--color-text); }
.article-advise__note { margin-top: calc(var(--space) * 3); font-size: 12px; color: var(--color-muted); }
.article-advise__note a { color: var(--color-jade); }

/* 記事末尾: 関連記事(内部リンク) */
.related-articles {
  margin: calc(var(--space) * 8) 0 calc(var(--space) * 5);
  padding-top: calc(var(--space) * 5);
  border-top: 1px solid var(--color-line);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: calc(var(--space) * 2) calc(var(--space) * 3);
  font-size: 13px;
}
.related-articles__label { color: var(--color-gold); letter-spacing: 0.16em; font-size: 12px; width: 100%; margin-bottom: 2px; }
.related-articles a { color: #a9ead0; text-decoration: none; border-bottom: 1px solid var(--color-line); padding-bottom: 2px; }
.related-articles a:hover { color: var(--color-gold); opacity: 1; border-color: var(--color-gold); }

/* ---------- 5. モーション基盤 ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease-solemn), transform var(--duration) var(--ease-solemn);
}
.js-reveal.is-inview { opacity: 1; transform: none; }
.js-reveal[data-delay="1"] { transition-delay: 0.15s; }
.js-reveal[data-delay="2"] { transition-delay: 0.3s; }
.js-reveal[data-delay="3"] { transition-delay: 0.45s; }

/* 一文字ずつ煙のように浮かび上がる(split-chars) */
.split-chars .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(7px);
  transition: opacity 1s var(--ease-solemn), transform 1s var(--ease-solemn), filter 1s var(--ease-solemn);
  transition-delay: calc(var(--ci, 0) * 70ms);
}
.split-chars.is-inview .ch { opacity: 1; transform: none; filter: blur(0); }

/* 結果カードの登場 */
.result__card {
  opacity: 0; transform: translateY(30px) scale(0.985);
  transition: opacity 1.4s var(--ease-solemn), transform 1.4s var(--ease-solemn);
}
.result.is-revealed .result__card { opacity: 1; transform: none; }

/* 「上へ戻る」ボタン */
.page-top {
  position: fixed; right: 16px; bottom: 72px; z-index: var(--z-header);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(226, 194, 122, 0.5);
  background: rgba(6, 7, 13, 0.85);
  color: var(--color-gold);
  font-size: 18px; font-family: var(--font-body);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background 0.4s, box-shadow 0.4s;
}
.page-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.page-top:hover {
  background: rgba(226, 194, 122, 0.15);
  box-shadow: 0 0 22px rgba(226, 194, 122, 0.3);
}

/* 記事末尾の「もどる」ボタン */
.article__back { margin-top: calc(var(--space) * 8); text-align: center; }
.article__back a {
  display: inline-block;
  padding: 14px 40px;
  font-size: 14px; letter-spacing: 0.16em;
  color: var(--color-gold); text-decoration: none;
  border: 1px solid rgba(226, 194, 122, 0.5);
  border-radius: 999px;
  transition: background 0.4s, box-shadow 0.4s;
}
.article__back a:hover {
  background: rgba(226, 194, 122, 0.12);
  box-shadow: 0 0 24px rgba(226, 194, 122, 0.2);
  opacity: 1;
}

/* ---------- 6. モーション停止(削除禁止) ---------- */
.motion-stop {
  display: none;
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-modal);
  padding: 10px 16px; font-size: 12px; font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: 999px; cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .motion-stop { display: block; }
}
html.is-motion-off *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-motion-off .js-reveal,
html.is-motion-off .split-chars .ch,
html.is-motion-off .op-target { opacity: 1 !important; transform: none !important; filter: none !important; }
html.is-motion-off #loader { display: none; }
html.is-motion-off #atmos, html.is-motion-off .godray { display: none; }
