/* LunaTaro — brand design system
   Palette adopted from the brand kit. Backgrounds stay LIGHT (cream/paper),
   indigo + gold used as accents. Mobile-first. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Serif+JP:wght@500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --ink: #211B3E;        /* deep indigo — text & dark accents */
  --ink-soft: #4A4270;
  --grape: #8E79BE;      /* purple */
  --grape-soft: #C9BCE6; /* light lavender */
  --grape-tint: #EFEAF8; /* faint lavender wash */
  --gold: #D9B679;
  --gold-deep: #B9924A;
  --cream: #F4EEE0;      /* base background */
  --paper: #FFFDF9;      /* card / surface */

  /* five elements (muted, on-palette) */
  --el-wood: #6FB98F;
  --el-fire: #E08A7B;
  --el-earth: #D9B679;
  --el-metal: #B9BEC7;
  --el-water: #7FA6D9;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(33, 27, 62, .10);
  --shadow-sm: 0 3px 12px rgba(33, 27, 62, .08);
  --maxw: 960px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  line-height: 1.75;
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 188, 230, .45), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(217, 182, 121, .18), transparent 55%),
    radial-gradient(2px 2px at 20% 30%, rgba(217,182,121,.5), transparent),
    radial-gradient(2px 2px at 70% 20%, rgba(142,121,190,.5), transparent),
    radial-gradient(1.5px 1.5px at 40% 60%, rgba(142,121,190,.4), transparent);
  background-attachment: fixed;
}

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(40px, 8vw, 76px); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.stack > * + * { margin-top: 14px; }

/* ---------- typography ---------- */
.display { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; letter-spacing: .5px; }
h1, h2, h3 { font-family: 'Noto Serif JP', serif; line-height: 1.4; color: var(--ink); }
.hero-title {
  font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: clamp(28px, 6vw, 46px); line-height: 1.3; margin: 0;
}
.hero-title .accent { color: var(--grape); }
.eyebrow {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin: 0 0 10px;
}
.lead { font-size: clamp(15px, 2.6vw, 18px); color: var(--ink-soft); }

/* ---------- hero brand lockup (brand sits high) ---------- */
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 6px; }
.hero-brand .mascot.sm { width: clamp(172px, 38vw, 244px); }
.logo-lg { font-family: 'Cormorant Garamond', 'Noto Serif JP', serif; font-weight: 700;
  font-size: clamp(36px, 8.5vw, 56px); line-height: 1; color: var(--ink); letter-spacing: .5px; }
.logo-lg b { color: var(--grape); font-weight: 700; }
.brand-tag { font-size: 13px; letter-spacing: 1px; color: var(--ink-soft); margin: 4px 0 0; }
.brand-tag b { color: var(--gold-deep); }
.hero-copy { max-width: 620px; margin: 12px auto 0; }
.hero-form { max-width: 520px; margin: 22px auto 0; }

/* ---------- brand header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 253, 249, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(142, 121, 190, .18);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark .logo-img { height: 68px; width: auto; mix-blend-mode: multiply; }
.wordmark .logo-text {
  font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 26px;
  color: var(--ink); letter-spacing: .5px;
}
.wordmark .logo-text b { color: var(--grape); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 16px;
  border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--grape) 0%, var(--ink) 100%);
  box-shadow: 0 10px 24px rgba(142, 121, 190, .35), inset 0 0 0 1px rgba(217,182,121,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(142,121,190,.45), inset 0 0 0 1px rgba(217,182,121,.7); }
.btn-gold { color: var(--ink); background: linear-gradient(135deg, #F0D699, var(--gold)); box-shadow: 0 8px 20px rgba(217,182,121,.4); }
.btn-ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--grape-soft); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid rgba(142, 121, 190, .22); box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px);
}
.card-soft { background: linear-gradient(180deg, var(--paper), var(--grape-tint)); }

/* ---------- price pill ---------- */
.pill-price {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--ink); color: var(--gold); font-weight: 700;
  padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pill-price .yen { font-size: 15px; }
.pill-price .amt { font-family: 'Cormorant Garamond', serif; font-size: 26px; letter-spacing: .5px; }

/* ---------- decorative ---------- */
.hairline-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin: 26px auto; max-width: 220px; }
.twinkle::before { content: "✦"; color: var(--gold); margin-inline: 8px; font-size: .8em; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--grape-tint); color: var(--ink-soft);
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; }

/* ---------- mascot placeholder ---------- */
.brand-ph {
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, var(--grape-soft), var(--grape-tint));
  border-radius: 50%; box-shadow: var(--shadow-sm);
  width: 1.6em; height: 1.6em; line-height: 1; font-size: inherit;
}
.mascot { width: clamp(150px, 40vw, 240px); margin-inline: auto; }
.mascot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(33,27,62,.16)); }
/* framed illustration cards (for artwork with a filled background) */
.mascot img.illus { border-radius: 18px; border: 1.5px solid var(--gold); box-shadow: 0 14px 30px rgba(33,27,62,.22); filter: none; }

/* ---------- ルナ相談 chat ---------- */
.chat-log { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.chat-msg.user { align-self: flex-end; background: var(--grape); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.luna { align-self: flex-start; background: var(--grape-tint); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-input { display: flex; gap: 8px; }
.chat-input input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--grape-soft); border-radius: 10px; font-size: 14px; }
.chat-input input:disabled { background: #f2f0f6; }
.chat-cards { align-self: flex-start; display: flex; gap: 8px; margin: 4px 0 2px; }
.chat-cards .tflip { width: 66px; }

/* ---------- flip tarot cards (paid ritual + chat) ---------- */
.ritual-deck { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.ritual-deck .tflip { width: clamp(80px, 22vw, 98px); cursor: pointer; }
.tflip { perspective: 1000px; }
.tflip .fin { position: relative; width: 100%; padding-top: 175%; transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.75,.2,1); }
.tflip.on .fin { transform: rotateY(180deg); }
.tflip .face { position: absolute; inset: 0; border-radius: 12px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: 0 8px 20px rgba(33,27,62,.28); }
.tflip .back { background: #211B3E center/cover no-repeat url('../img/tarocard/cards/back.jpg');
  border: 2px solid var(--gold); }
.tflip .front { transform: rotateY(180deg); background: linear-gradient(165deg, #fffdf8, #efe8ff);
  border: 2px solid var(--gold); padding: 6px; }
.tflip .front .tc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
/* reversed cards stay upright (label shows 逆位置) — rotating flips the printed name/number and looks broken */
.tflip .front .tc-img.rev { transform: none; }
.tflip .front .tc-badge { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); z-index: 2;
  background: rgba(33,27,62,.82); color: var(--gold); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 8px; white-space: nowrap; }
.tflip .front .tc-pos { font-size: 10px; color: var(--gold-deep); font-weight: 700; }
.tflip .front .tc-name { font-family: 'Noto Serif JP', serif; font-weight: 700;
  font-size: clamp(13px, 3.4vw, 18px); color: var(--ink); margin: 5px 2px; line-height: 1.25; }
.tflip .front .tc-orient { font-size: 10px; color: var(--ink-soft); }
.tflip .front.rev .tc-name { color: var(--grape); }
.tcard .tface-img { display: block; width: 100%; border-radius: 8px; }
.tcard .tface-img.rev { transform: none; }
.tflip.on .front { animation: cardGlow 1.4s ease .3s; }
@keyframes cardGlow { 0%,100% { box-shadow: 0 8px 20px rgba(33,27,62,.28); }
  45% { box-shadow: 0 0 26px 4px rgba(217,182,121,.75); } }
.reveal-note { margin: 10px 0 0; font-size: 14px; line-height: 1.7; }
.reveal-note b { color: var(--gold-deep); }
.omamori-img { max-width: 240px; height: auto; border-radius: 14px; box-shadow: 0 10px 24px rgba(33,27,62,.25); }
.omamori-label { margin: 14px auto 0; max-width: 340px; }
.omamori-theme {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--grape); background: rgba(142,121,190,.12);
  border: 1px solid rgba(142,121,190,.28); border-radius: 999px; padding: 3px 12px;
}
.omamori-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.omamori-bless { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 6px 0 0; }

.sound-toggle { position: fixed; right: 14px; bottom: 14px; z-index: 50; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid var(--grape-soft); background: rgba(255,253,249,.9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(33,27,62,.2); line-height: 1; }
.sound-toggle:hover { background: #fff; }
.sound-card { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 560px; margin: 20px auto 0; }
.sound-info-img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 10px 26px rgba(33,27,62,.16); }
.sound-btn2 { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  padding: 6px 18px 6px 6px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 16px rgba(33,27,62,.14); transition: box-shadow .15s ease, color .15s ease; }
.sound-btn2 img { width: 46px; height: 46px; display: block; }
.sound-btn2:hover { box-shadow: 0 8px 20px rgba(33,27,62,.2); }
.sound-btn2.is-on { color: var(--gold-deep); box-shadow: 0 0 0 2px var(--gold), 0 8px 22px rgba(217,182,121,.45); }

/* ---------- card-drawing ritual ---------- */
.deck-fan { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.deck-card { width: 52px; height: 82px; border-radius: 9px; border: 1.5px solid var(--gold);
  background: linear-gradient(160deg, var(--ink), #3a3266); color: var(--gold); font-size: 22px;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.deck-card:hover:not(.used) { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(33,27,62,.3); }
.deck-card.used { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.mascot .brand-ph { width: 100%; aspect-ratio: 1; font-size: clamp(64px, 18vw, 120px); }

/* ---------- feature list ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; }
.check-list li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; margin-top: 2px; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .num { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 700;
  display: grid; place-items: center; font-size: 18px; }

.reading-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.reading-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  background: var(--paper); border: 1px solid rgba(142,121,190,.2); border-radius: var(--radius-sm); }
.reading-item .ic { font-size: 22px; }

/* ---------- 命式 table ---------- */
.meishiki { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pillar { text-align: center; padding: 12px 6px; border-radius: var(--radius-sm);
  background: var(--paper); border: 1px solid var(--gold); box-shadow: var(--shadow-sm); }
.pillar .plabel { font-size: 12px; color: var(--ink-soft); }
.pillar .pgan, .pillar .pzhi { font-family: 'Noto Serif JP', serif; font-size: clamp(22px, 6vw, 30px); font-weight: 700; line-height: 1.15; }
.pillar .pgan { color: var(--ink); }
.pillar .pzhi { color: var(--grape); }
.pillar.unknown .pgan { color: var(--ink-soft); font-size: 18px; }

/* ---------- 五行 bars ---------- */
.wuxing { display: grid; gap: 8px; }
.wuxing-row { display: grid; grid-template-columns: 24px 1fr 28px; align-items: center; gap: 10px; }
.wuxing-row .wl { font-family: 'Noto Serif JP', serif; font-weight: 700; }
.wuxing-row .wv { text-align: right; font-size: 13px; color: var(--ink-soft); }
.wuxing-bar { height: 12px; border-radius: 999px; background: var(--grape-tint); overflow: hidden; }
.wuxing-bar > span { display: block; height: 100%; border-radius: 999px; }
.w-wood > span { background: var(--el-wood); }
.w-fire > span { background: var(--el-fire); }
.w-earth > span { background: var(--el-earth); }
.w-metal > span { background: var(--el-metal); }
.w-water > span { background: var(--el-water); }

/* ---------- today ribbon ---------- */
.today {
  background: linear-gradient(135deg, var(--ink), #342c5e); color: var(--paper);
  border-radius: var(--radius); padding: 16px 20px; text-align: center; box-shadow: var(--shadow);
}
.today .t-label { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.today .t-text { font-family: 'Noto Serif JP', serif; font-size: clamp(16px, 3.6vw, 20px); }

/* ---------- paywall ---------- */
.paywall { text-align: center; }
.paywall .veil { position: relative; }
.paywall-list {
  list-style: none; margin: 14px auto 0; padding: 16px 18px; max-width: 440px;
  text-align: left; background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(243,239,251,.5));
  border: 1px solid rgba(142,121,190,.22); border-radius: 16px;
}
.paywall-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.55; color: var(--ink); padding: 7px 0;
}
.paywall-list li + li { border-top: 1px dashed rgba(142,121,190,.18); }
.paywall-list .pw-ic { flex: 0 0 auto; font-size: 18px; line-height: 1.4; }
.paywall-list b { color: var(--grape); font-weight: 700; }

/* ---------- premium (paid intro on index) ----------
   The heading and the 13回 pitch stay real text: the artwork sheet only has
   1536px to spend, and spending it on the six cards keeps them legible. */
.premium {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FBF7FF 0%, #F3EEFB 100%);
  border: 1px solid rgba(142,121,190,.18);
  padding-top: 34px;
}
.ribbon {
  display: block; width: max-content; margin: 0 auto 18px;
  font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 15px; letter-spacing: .12em;
  color: var(--gold-deep); background: linear-gradient(180deg,#FFFDF9,#F7EFDE);
  border: 1px solid var(--gold); border-radius: 8px; padding: 8px 26px; position: relative;
  box-shadow: 0 4px 12px rgba(185,146,74,.18);
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 50%; width: 20px; height: 2px; background: var(--gold); }
.ribbon::before { left: -20px; } .ribbon::after { right: -20px; }
.prem-title { font-size: clamp(22px,5vw,30px); margin: 0 0 12px; }
.prem-sub { max-width: 560px; margin: 0 auto; font-size: 15px; }
.prem-empathy { max-width: 600px; margin: 18px auto 0; color: var(--grape); font-size: 14.5px; font-weight: 600; line-height: 1.7; }
.value13 {
  margin: 22px auto 4px; max-width: 620px; text-align: center;
  background: linear-gradient(135deg, rgba(217,182,121,.14), rgba(142,121,190,.12));
  border: 1px solid rgba(217,182,121,.4); border-radius: 18px; padding: 18px 20px;
}
.value13-head { font-family:'Noto Serif JP',serif; font-weight:700; font-size:17px; color:var(--ink); display:flex; align-items:center; justify-content:center; gap:10px; }
.v13-badge {
  display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%;
  background:var(--ink); color:var(--gold); font-family:'Cormorant Garamond',serif; font-weight:700; font-size:22px;
}
.value13-body { margin: 10px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); }
.value13-body b { color: var(--grape); }
.prem-closing { margin: 26px 0 14px; color: var(--gold-deep); font-weight: 700; letter-spacing: .05em; }

/* ---------- menu cards ----------
   The card copy is real text rather than baked into the artwork: on a phone
   the sheets rendered it at 4-6px. Only the icons stay as images, and the
   gold frame / lavender wash follow the sheets they came from. */
.mcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; }
.mcard {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px; text-decoration: none;
  background: linear-gradient(160deg, #FCF9FF 0%, #F2EBFB 100%);
  border: 1.5px solid var(--gold); border-radius: 18px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.75), var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mcard:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 3px rgba(255,255,255,.75), 0 10px 24px rgba(142,121,190,.3); }
/* the icons don't share one aspect ratio, so the box is fixed and the art
   is contained inside it — that keeps the text column starting at one x */
.mcard-ico { flex: 0 0 auto; width: 96px; height: 74px; }
.mcard-ico img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mcard h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.35; color: var(--ink); }
.mcard h3::before, .mcard h3::after { content: "✦"; color: var(--gold); font-size: .7em; vertical-align: .12em; }
.mcard h3::before { margin-right: .45em; } .mcard h3::after { margin-left: .45em; }
.mcard p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--ink-soft); }

/* the premium intro (title + 13回 pitch) is one artwork */
.prem-head { display: block; max-width: 100%; margin: 0 auto 6px; line-height: 0; }
.prem-head img { display: block; width: 100%; height: auto; }

/* premium cards: everything centred on the axis, at every width */
.pcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 18px 0 6px; }
.pcard {
  display: block; padding: 18px 18px 20px; text-decoration: none; text-align: center;
  background: linear-gradient(160deg, #FFFDFA 0%, #F4EDFC 100%);
  border: 1.5px solid var(--gold); border-radius: 18px;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pcard:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 3px rgba(255,255,255,.8), 0 12px 26px rgba(142,121,190,.3); }
.pcard-ico { display: block; width: 148px; margin: 0 auto 10px; line-height: 0; }
.pcard-ico img { display: block; width: 100%; height: auto; }
.pcard h3 { margin: 0 0 7px; font-size: 17.5px; line-height: 1.35; color: var(--ink); }
.pcard h3::before { content: "♛"; color: var(--gold-deep); margin-right: .4em; }
.pcard-lead { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--ink-soft); }
.pcard-rule { border: 0; height: 1px; margin: 13px auto 11px; max-width: 240px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }
/* the list is centred as a block, but its lines stay left-aligned so the
   bullets form a single column instead of a ragged zigzag */
.pcard ul { list-style: none; margin: 0; padding: 0; display: inline-block; text-align: left; }
.pcard li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.8; color: var(--ink); }
.pcard li::before { content: "✦"; flex: 0 0 auto; color: var(--gold-deep); }
.pcard-note { margin: 18px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }

/* ---------- illustrated blocks ----------
   Whole sections are single transparent PNGs (命式 intro, consult menu,
   ルナのリンク, premium menu). They sit straight on the page background —
   no card, no frame — because each artwork carries its own. */
.art-block, .art-link { display: block; margin: 0 auto; max-width: 100%; line-height: 0; }
.art-link { text-decoration: none;
  transition: transform .15s ease, filter .15s ease; }
.art-link:hover { transform: translateY(-3px); filter: drop-shadow(0 12px 24px rgba(33,27,62,.18)); }
/* each artwork is a <picture> (webp + png fallback) */
.art-link picture { display: block; }
.art-block img, .art-link img { display: block; width: 100%; height: auto; }
.art-link + .art-link { margin-top: 18px; }
.prem-cta { box-shadow: 0 8px 22px rgba(142,121,190,.35); }

/* ---------- tarot ---------- */
.tarot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tcard { text-align: center; padding: 16px 8px; border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--paper), var(--grape-tint)); border: 1px solid var(--grape-soft); box-shadow: var(--shadow-sm); }
.tcard .tpos { font-size: 12px; color: var(--gold-deep); font-weight: 700; }
.tcard .tface { font-size: 40px; margin: 6px 0; }
.tcard .tname { font-family: 'Noto Serif JP', serif; font-weight: 700; }
.tcard .torient { font-size: 12px; color: var(--ink-soft); }
.tcard.rev .tface { transform: rotate(180deg); }

/* ---------- reading sections ---------- */
.reading-sec { margin-top: 18px; }
.reading-sec h3 { display: flex; align-items: center; gap: 8px; color: var(--ink);
  border-bottom: 1px solid var(--grape-soft); padding-bottom: 6px; margin-bottom: 8px; }
.reading-sec p { margin: 0; white-space: pre-wrap; }

/* ---------- faq ---------- */
.faq details { background: var(--paper); border: 1px solid rgba(142,121,190,.2); border-radius: var(--radius-sm); padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "＋"; color: var(--grape); margin-right: 10px; }
.faq details[open] summary::before { content: "－"; }
.faq details > p { margin: 0 0 14px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--grape-soft); margin-top: 40px; }
.site-footer .container { padding-block: 32px; }
.site-footer a { color: var(--grape-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.footer-copy { font-size: 13px; opacity: .7; }

/* ---------- goods teaser (dark luxe) ---------- */
.dark-band {
  background: linear-gradient(160deg, #17122b 0%, var(--ink) 55%, #2a2350 100%);
  color: var(--paper);
}
.dark-band .eyebrow { color: var(--gold); }
.dark-band h1, .dark-band h2, .dark-band h3 { color: var(--paper); }
.dark-band .lead { color: rgba(255, 253, 249, .78); }
.dark-band .muted { color: rgba(255, 253, 249, .6); }
.badge-soon {
  display: inline-block; background: rgba(217, 182, 121, .12); color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 6px 16px;
  font-weight: 700; font-size: 13px; letter-spacing: 2px;
}
.goods-photo { width: 100%; height: auto; border-radius: var(--radius); display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.goods-hero { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.set-list { list-style: none; padding: 0; margin: 18px 0 0; }
.set-list li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,253,249,.12); }
.set-list li::before { content: "✦"; color: var(--gold); }
.interest-card { max-width: 520px; margin: 0 auto; text-align: center; }
.thanks { color: var(--gold-deep); font-weight: 700; }
@media (min-width: 760px) {
  .goods-hero { grid-template-columns: 1.05fr .95fr; gap: 36px; }
  .goods-hero.rev .goods-copy { order: 2; }
}

/* ---------- legal / info pages ---------- */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(24px, 5vw, 32px); }
.legal .updated { color: var(--ink-soft); font-size: 13px; margin-top: -6px; }
.legal h2 { font-size: 18px; margin-top: 30px; border-bottom: 1px solid var(--grape-soft); padding-bottom: 6px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal dl { margin: 18px 0; }
.legal dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(142,121,190,.2); }
.legal dt { font-weight: 700; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
.todo { background: #FFF6E6; border: 1px dashed var(--gold-deep); color: #8a6d2f; padding: 1px 8px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.admin-note { background: #FFF6E6; border: 1px dashed var(--gold-deep); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; font-size: 13px; color: #8a6d2f; }
@media (min-width: 600px) { .legal dl > div { grid-template-columns: 210px 1fr; gap: 16px; align-items: start; } }

/* ---------- form ---------- */
.field { margin-bottom: 14px; text-align: left; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--grape-soft); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--grape); outline-offset: 1px; border-color: var(--grape); }

/* ---------- reading-scene photo band ---------- */
.scene-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(142,121,190,.22); }
.scene-photo .scene-img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.scene-photo.noimg { min-height: clamp(200px, 42vw, 360px); display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, var(--grape-tint), var(--cream)); }
.scene-photo.noimg::after { content: "🔮  リーディング写真がここに入ります\A（public/assets/img/luna-reading.jpg）"; white-space: pre;
  text-align: center; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.scene-caption { font-family: 'Noto Serif JP', serif; font-size: clamp(15px,3vw,19px); color: var(--ink); margin-top: 16px; }

.premium-note { margin: 0 0 12px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--grape-tint); border: 1px solid var(--grape-soft);
  font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.premium-note b { color: var(--grape); }
.premium-note a { color: var(--ink-soft); font-size: 12.5px; }
.form-error { color: #b0453a; font-size: 14px; margin: 8px 0 0; min-height: 1.2em; }
.microcopy { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

/* spinner */
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .reading-grid { grid-template-columns: 1fr 1fr; }
  /* on wide screens each artwork is capped so it doesn't dominate the page.
     the caps differ by aspect: the portrait sheets read fine narrow, while
     the landscape consult menu needs width to keep its 10 cards legible. */
  .art-block, .art-link { max-width: 560px; }   /* 命式 intro (portrait) */
  .luna-link    { max-width: 760px; }           /* ルナのリンク (wide banner) */
  .mcards, .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; }
  .hero-inner .mascot-wrap { order: 2; }
}
@media (max-width: 380px) {
  .meishiki { grid-template-columns: repeat(2, 1fr); }
}
