@charset "UTF-8";
/* ==========================================================
   月詠 燈 - 占い師デモLP（夜の世界観）
   ベース: SPファースト / BP 768px / ダークテーマ
   ========================================================== */

:root {
  --c-bg: #131A2E;
  --c-bg-alt: #1D2440;
  --c-bg-dawn: #232C4E;
  --c-gold: #C9A96A;
  --c-gold-bright: #D4AF6A;
  --c-text: #EAE6DC;
  --c-sub: #9BA0B5;
  --f-mincho: "Shippori Mincho", serif;
  --f-gothic: "Zen Kaku Gothic New", sans-serif;
  --f-serif-en: "Playfair Display", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-gothic);
  font-weight: 300;
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  background: var(--c-bg);
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.br-sp { display: inline; }
.br-pc { display: none; }
.pc-only { display: none; }
.br-xs { display: none; }
@media (max-width: 359px) { .br-xs { display: inline; } }
@media (min-width: 768px) {
  .br-sp { display: none; }
  .br-pc { display: inline; }
  .pc-only { display: inline; }
}

/* ---------- layout ---------- */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }

.section { padding: 56px 0; position: relative; overflow: hidden; /* 見出し魔法陣の隣接セクションへのはみ出しをクリップ */ }
.section--alt { background: var(--c-bg-alt); }
.section--dawn { background: var(--c-bg-dawn); }
@media (min-width: 768px) { .section { padding: 96px 0; } }

/* ---------- common ---------- */
.sec-title {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 36px;
  color: var(--c-text);
}
@media (min-width: 768px) {
  .sec-title { font-size: 34px; margin-bottom: 52px; }
}

/* 見出し背景の魔法陣オーナメント（ユーザー支給・線画） */
.sec-title {
  position: relative;
  z-index: 0;
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -54%);
  width: 200px;
  aspect-ratio: 466 / 452;
  background: url("../img/circle-ornament.png") center / contain no-repeat;
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 768px) {
  .sec-title::before { width: 280px; }
}

/* 見出し下の星座線は2026-07-17削除（魔法陣オーナメントに一本化） */

.btn {
  display: inline-block;
  font-family: var(--f-gothic);
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  transition: opacity .3s, transform .3s, box-shadow .3s;
}
.btn:hover { opacity: .9; transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, #E0C185 0%, var(--c-gold-bright) 45%, #B8935A 100%);
  color: #1A1408;
  font-size: 15px;
  padding: 18px 36px;
  line-height: 1.6;
  box-shadow: 0 6px 24px rgba(201, 169, 106, 0.35);
}
.btn__note {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
}

.u-gold { color: var(--c-gold); }

/* 画像CTAボタン（ユーザー支給） */
.cta-img-btn {
  display: block;
  width: min(86%, 400px);
  margin: 0 auto;
  transition: opacity .3s, transform .3s;
  filter: drop-shadow(0 6px 24px rgba(201, 169, 106, 0.35));
}
.cta-img-btn:hover { opacity: .9; transform: translateY(-2px); }
.cta-img-btn img { width: 100%; height: auto; display: block; }

.fv__price-note {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-sub);
  text-align: center;
  margin-top: 12px;
}

/* ---------- FV ---------- */
.fv {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* ChatGPT生成の夜空（元から暗いのでオーバーレイは薄めに） */
  background:
    linear-gradient(180deg, rgba(14, 21, 38, 0.35) 0%, rgba(19, 26, 46, 0.3) 55%, rgba(29, 36, 64, 0.5) 100%),
    url("../img/fv-bg.jpg") center / cover no-repeat,
    #131A2E;
}

.fv__stars, .cta__stars {
  position: absolute; inset: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #EAE6DC;
  opacity: .5;
}
.star--gold { background: var(--c-gold); }
.star--twinkle { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

.fv__moon {
  position: absolute;
  top: 48px; right: 20px;
  width: 88px; height: 88px;
  opacity: .9;
}
@media (min-width: 768px) {
  .fv__moon { top: 80px; right: 8%; width: 140px; height: 140px; }
}

.fv__inner {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 28px 88px;
}

.fv__brand {
  font-family: var(--f-serif-en);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--c-gold);
  margin-bottom: 40px;
}
.fv__brand-sub {
  display: block;
  font-family: var(--f-gothic);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--c-sub);
  margin-top: 6px;
}

.fv__catch {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.9;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.fv__catch-line { display: block; }
.fv__catch-em { font-style: normal; color: var(--c-gold); }

.fv__sub {
  font-size: 13px;
  line-height: 2.2;
  color: var(--c-text);
  margin-bottom: 40px;
}

/* FV人物写真: 枠なし・端をぼかして夜空に馴染ませる。SPはキャッチとサブの間 */
.fv__photo {
  position: relative;
  width: min(78%, 300px);
  aspect-ratio: 3 / 4;
  margin: 0 auto 16px;
  background: url("../img/fv-portrait.jpg") center top / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 52%, transparent 82%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 52%, transparent 82%);
}


@media (min-width: 768px) {
  .fv__catch { font-size: 48px; }
  .fv__sub { font-size: 15px; }
  .fv__inner {
    position: relative;
    padding: 96px 40px 110px;
  }
  .fv__content { max-width: 56%; }
  /* PC: 右側に絶対配置（DOM上はキャッチ直後のまま） */
  .fv__photo {
    position: absolute;
    right: 40px; top: 110px;
    width: 340px;
    margin: 0;
  }
}

/* ---------- FV内 実績（横並び・直線装飾なし） ---------- */
.fv__stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 360px;
  margin: 28px auto 0;
}
.fv__stats-item {
  flex: 1;
  text-align: center;
  padding: 32px 0;
  /* ダイヤ装飾（暗色加工・α焼き込み済みPNG）。containで上下見切れ防止 */
  background: url("../img/diamond-deco.png") center / contain no-repeat;
}
.fv__stats-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-sub);
}
.fv__stats-num {
  display: block;
  font-family: var(--f-serif-en);
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-gold);
}
.fv__stats-num small {
  font-size: 12px;
  font-family: var(--f-gothic);
  color: var(--c-text);
  margin-left: 2px;
}
@media (min-width: 768px) {
  .fv__stats { max-width: 460px; margin: 36px 0 0; gap: 16px; }
  .fv__stats-num { font-size: 26px; }
}

/* ---------- 悩み（タロット枠カード） ---------- */
.worry__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto 44px;
}
.worry__card {
  position: relative;
  border: 1px solid rgba(201, 169, 106, 0.55);
  border-radius: 18px;
  padding: 28px 22px 24px;
  background: rgba(19, 26, 46, 0.5);
}
/* タロット枠: 内側にもう1本細い線 */
.worry__card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(201, 169, 106, 0.22);
  border-radius: 13px;
  pointer-events: none;
}
/* カード上部の写真（昼の写真のため紺トーンを重ねて夜に馴染ませる） */
.worry__photo {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.8) brightness(0.92);
  overflow: hidden;
}
.worry__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19, 26, 46, 0.18), rgba(19, 26, 46, 0.42));
}
.worry__photo--1 { background-image: url("../img/worry1.jpg"); }
.worry__photo--2 { background-image: url("../img/worry2.jpg"); }
.worry__photo--3 { background-image: url("../img/worry3.jpg"); }
.worry__theme {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.worry__list {
  list-style: none;
}
.worry__list li {
  position: relative;
  padding: 9px 0 9px 22px;
  font-size: 13px;
  line-height: 1.8;
  border-bottom: 1px solid rgba(201, 169, 106, 0.18);
}
.worry__list li:last-child { border-bottom: none; }
.worry__list li::before {
  content: "";
  position: absolute; left: 4px; top: 17px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
}
.worry__closing {
  font-family: var(--f-mincho);
  font-weight: 500;
  text-align: center;
  font-size: 16px;
  line-height: 2.3;
}
@media (min-width: 768px) {
  .worry__cards { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
  .worry__card { padding: 36px 28px 30px; }
  .worry__closing { font-size: 19px; }
}

/* ---------- スタンス ---------- */
.stance { overflow: hidden; }
/* 星座盤があるため見出しの魔法陣は非表示（装飾の重複回避） */
.stance .sec-title::before { display: none; }
.stance__moon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  border-radius: 50%;
  /* 星座盤（ユーザー支給PNG）+うっすら光 */
  background:
    url("../img/zodiac-wheel.png") center / contain no-repeat,
    radial-gradient(circle, rgba(201, 169, 106, 0.1), transparent 68%);
  opacity: 0.3;
  pointer-events: none;
}
.stance__text { margin-bottom: 24px; }
.stance__text--em {
  font-family: var(--f-mincho);
  font-weight: 500;
  font-size: 17px;
  text-align: center;
  line-height: 2.3;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .stance__moon { width: 640px; height: 640px; }
  .stance__text { text-align: center; }
  .stance__text--em { font-size: 21px; }
}

/* ---------- 選ばれる理由 ---------- */
.reason__item {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(201, 169, 106, 0.2);
}
.reason__item:last-child { border-bottom: none; }
.reason__num {
  font-family: var(--f-serif-en);
  font-size: 34px;
  line-height: 1;
  color: var(--c-gold);
  flex: 0 0 auto;
  padding-top: 4px;
}
.reason__title {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.reason__text { font-size: 14px; color: var(--c-text); }
@media (min-width: 768px) {
  .reason__item { gap: 32px; padding: 36px 0; }
  .reason__num { font-size: 44px; }
  .reason__title { font-size: 21px; }
  .reason__text { font-size: 15px; }
}

/* ---------- 声 ---------- */
.voice__grid { display: grid; gap: 20px; max-width: 720px; margin: 0 auto; }
.voice__card {
  position: relative;
  background: var(--c-bg-alt);
  border: 1px solid rgba(201, 169, 106, 0.28);
  border-radius: 14px;
  padding: 30px 26px 26px;
}
/* コーナー飾り（ユーザー支給PNG）: 左上+右下の対角 */
.voice__card::before,
.voice__card::after {
  content: "";
  position: absolute;
  width: 48px; height: 46px;
  background: url("../img/corner-flourish.png") center / contain no-repeat;
  opacity: .85;
  pointer-events: none;
}
.voice__card::before { top: 8px; left: 8px; }
.voice__card::after { bottom: 8px; right: 8px; transform: rotate(180deg); }
.voice__meta {
  font-size: 12px;
  color: var(--c-gold);
  letter-spacing: 0.12em;
  margin: 0 0 10px 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.25);
}
.voice__text { font-size: 14px; }
.voice__note {
  text-align: center;
  font-size: 11px;
  color: var(--c-sub);
  margin-top: 20px;
}
@media (min-width: 768px) {
  .voice__grid { max-width: none; grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* ---------- プロフィール ---------- */
.profile__kana { font-size: .6em; letter-spacing: .08em; color: var(--c-sub); }
.profile__row { max-width: 880px; margin: 0 auto; }
/* 写真差し替えフック: background-image（カードを引く手元） */
.profile__photo {
  width: 200px; height: 200px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, 0.6);
  box-shadow: 0 0 0 8px rgba(201, 169, 106, 0.08);
  /* FVポートレートの顔まわりをクロップ */
  background: url("../img/fv-portrait.jpg") center 22% / 150% no-repeat;
}
.profile__text { margin-bottom: 20px; font-size: 14px; }
@media (min-width: 768px) {
  .profile__row { display: flex; gap: 56px; align-items: center; }
  .profile__photo { flex: 0 0 240px; width: 240px; height: 240px; margin: 0; }
  .profile__text { font-size: 15px; }
}

/* ---------- 鑑定メニュー ---------- */
.menu__lead {
  text-align: center;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--c-gold);
  margin: -20px 0 32px;
}
.menu__first {
  position: relative;
  border: 1px solid var(--c-gold);
  border-radius: 16px;
  background: var(--c-bg-alt);
  padding: 34px 24px 28px;
  text-align: center;
  margin-bottom: 28px;
}
.menu__first::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(201, 169, 106, 0.28);
  border-radius: 11px;
  pointer-events: none;
}
/* コーナー飾り（声カードと同じ装飾言語で対角に） */
.menu__first::after {
  content: "";
  position: absolute;
  top: 12px; left: 12px;
  width: 52px; height: 50px;
  background: url("../img/corner-flourish.png") center / contain no-repeat;
  opacity: .9;
  pointer-events: none;
}
.menu__first-corner {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 52px; height: 50px;
  background: url("../img/corner-flourish.png") center / contain no-repeat;
  opacity: .9;
  transform: rotate(180deg);
  pointer-events: none;
}
.menu__first-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #1A1408;
  background: var(--c-gold);
  padding: 4px 18px;
  margin-bottom: 14px;
}
.menu__first-name {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 6px;
}
.menu__first-price { margin-bottom: 16px; }
.menu__first-num {
  font-family: var(--f-serif-en);
  font-size: 42px;
  color: var(--c-gold-bright);
  line-height: 1.2;
}
.menu__first-tax { font-size: 13px; color: var(--c-sub); }
.menu__tags {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-width: 340px;
  margin: 0 auto;
}
.menu__tag {
  display: block;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  border: 1px solid rgba(201, 169, 106, 0.5);
  padding: 6px 4px;
}
.menu__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.menu__table th, .menu__table td {
  padding: 16px 8px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.2);
  font-weight: 300;
  text-align: left;
}
.menu__table td {
  text-align: right;
  font-family: var(--f-serif-en);
  font-size: 17px;
  color: var(--c-gold);
  white-space: nowrap;
}
.menu__note { font-size: 12px; color: var(--c-sub); margin-top: 14px; }
@media (min-width: 768px) {
  .menu__first { padding: 44px 36px 36px; }
  .menu__first-name { font-size: 23px; }
  .menu__first-num { font-size: 52px; }
  .menu__tags { grid-template-columns: repeat(4, 1fr); max-width: 560px; }
}

/* ---------- 講座 ---------- */
.course__lead {
  text-align: center;
  font-family: var(--f-mincho);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--c-gold);
  margin: -20px 0 28px;
}
.course__card {
  border: 1px solid rgba(201, 169, 106, 0.45);
  border-radius: 16px;
  padding: 28px 24px;
  background: rgba(19, 26, 46, 0.45);
}
.course__text { font-size: 14px; margin-bottom: 18px; }
.course__spec {
  list-style: none;
  margin-bottom: 22px;
}
.course__spec li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 13px;
  border-bottom: 1px solid rgba(201, 169, 106, 0.16);
}
.course__spec li:last-child { border-bottom: none; }
.course__spec li::before {
  content: "";
  position: absolute; left: 4px; top: 15px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
}
.course__link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: rgba(201, 169, 106, 0.6);
}
@media (min-width: 768px) {
  .course__card { padding: 40px 44px; }
  .course__text { font-size: 15px; }
}

/* ---------- FAQ ---------- */
.faq__item {
  background: rgba(19, 26, 46, 0.55);
  border: 1px solid rgba(201, 169, 106, 0.25);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__q {
  font-family: var(--f-mincho);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  padding: 18px 30px 18px 42px;
  position: relative;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q.";
  position: absolute; left: 14px; top: 18px;
  font-family: var(--f-serif-en);
  color: var(--c-gold);
  font-size: 16px;
}
.faq__q::after {
  content: "+";
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--c-gold);
  font-size: 20px;
  transition: transform .3s;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding: 0 20px 18px 46px;
  font-size: 13px;
  color: var(--c-text);
}

/* ---------- CTA ---------- */
.cta {
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #1D2440 0%, #0E1526 100%);
}
.cta__inner { position: relative; }
.cta__title {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 21px;
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.cta__text { font-size: 14px; margin-bottom: 36px; }
.cta__btn { font-size: 16px; padding: 20px 44px; }

/* 流れ星 */
.cta__shooting {
  position: absolute;
  top: 18%; left: -80px;
  width: 90px; height: 1.5px;
  background: linear-gradient(to right, transparent, #EAE6DC);
  opacity: 0;
  transform: rotate(18deg);
  pointer-events: none;
}
@media (min-width: 768px) {
  .cta__title { font-size: 32px; }
  .cta__text { font-size: 15px; }
}

/* ---------- footer ---------- */
.footer {
  background: #0B111F;
  text-align: center;
  padding: 36px 24px;
}
.footer__brand {
  font-family: var(--f-mincho);
  font-size: 16px;
  letter-spacing: 0.24em;
  color: var(--c-gold);
  margin-bottom: 10px;
}
.footer__links { font-size: 12px; color: var(--c-sub); margin-bottom: 8px; }
.footer__links a { color: var(--c-sub); text-underline-offset: 3px; }
.footer__copy { font-size: 11px; color: var(--c-sub); opacity: .8; }

/* ---------- SP追従CTA ---------- */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 21, 38, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(110%);
  transition: transform .4s ease;
  z-index: 100;
}
.fixed-cta.is-show { transform: translateY(0); }
.fixed-cta__btn {
  display: block;
  font-size: 14px;
  padding: 13px 16px;
}
@media (min-width: 768px) { .fixed-cta { display: none; } }

/* ---------- 360px未満: 文字縮小 ---------- */
@media (max-width: 359px) {
  .fv__catch { font-size: 26px; }
  .sec-title { font-size: 19px; }
  .worry__theme { font-size: 14px; }
  .worry__list li { font-size: 12px; }
  .reason__title { font-size: 15px; }
  .menu__first-name { font-size: 17px; }
  .faq__q { font-size: 12.5px; }
  .cta__title { font-size: 18px; }
}

/* ---------- GSAP初期状態 / JS無効フォールバック ---------- */
.js-reveal, .js-voice { opacity: 0; }
.no-js .js-reveal, .no-js .js-voice { opacity: 1; }
