@charset "UTF-8";
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1a2540;
  --muted: #7a8499;
  --line: rgba(26,37,64,.07);
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  /* カードめくり */
  --mood-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --mood-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --mood-ease-lift: cubic-bezier(0.25, 0, 0.15, 1);
  --mood-ease-flip: cubic-bezier(0.4, 0, 0.2, 1);
  --mood-ease-shuffle: cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 430px;
  /* アクセント：青主軸 + オレンジ補助 */
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, .10);
  --accent-muted: rgba(37, 99, 235, .06);
  --accent-sub: #f97316;
  --accent-sub-soft: rgba(249, 115, 22, .10);
  /* LP用（旧 lp-accent を accent に統一） */
  --lp-accent: #2563eb;
  --lp-accent-soft: rgba(37, 99, 235, .09);
  --lp-cream: #f5f7fa;
  --stripe: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(26,37,64,.022) 4px,
    rgba(26,37,64,.022) 8px
  );
  /* ムード見出し（全セクション共通 .mood__title にも使用） */
  --section-title-size: clamp(18px, 4.4vw, 22px);
  --section-title-weight: 800;
  --section-title-lh: 1.35;
  --section-title-track: -0.03em;
  --mag-card-shadow: 0 12px 32px rgba(26, 37, 64, 0.09);
  --mag-card-shadow-hover: 0 16px 40px rgba(26, 37, 64, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font); font-weight: 500; letter-spacing: .02em; line-height: 1.35; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.page-shell {
  overflow-x: hidden;
}
@media (min-width: 480px) {
  body { background: #dde3ed; }
  .page-shell {
    max-width: var(--max-w);
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    box-shadow: 0 0 1px rgba(0,0,0,.06);
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  z-index: 900;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  transition: background .35s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand__logo { height: 20px; width: auto; opacity: .85; }
.header-hamburger {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
}
.header-hamburger span {
  display: block; width: 20px; height: 1px;
  background: var(--accent);
  transition: transform .25s var(--ease), opacity .2s;
}
.header-hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header-hamburger.is-open span:nth-child(2) { opacity: 0; }
.header-hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.2); z-index: 800;
  opacity: 0; transition: opacity .25s;
}
.nav-overlay.is-open { display: block; opacity: 1; }
.nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 252px; background: #fff;
  z-index: 850; transform: translateX(100%);
  transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.nav-drawer__header-label { font-size: 11px; color: var(--muted); font-weight: 400; }
.nav-drawer__close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--text); border-radius: 0; background: var(--bg);
}
.nav-drawer__list { list-style: none; padding: 8px 0; }
.nav-drawer__item { border-bottom: 1px solid var(--line); }
.nav-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-size: 14px; font-weight: 400;
}

/* ── LP（indexのコピー.html 相当：ヒーロー〜3ポイント） ── */
.section.lp {
  padding: 0;
  padding-top: 52px;
}
.lp-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.lp-shell > * + * {
  border-top: 10px solid #e4e9f2;
}
.lp-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.lp-hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.lp-hero__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px 18px 18px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10,20,50,.72) 0%, rgba(10,20,50,.18) 55%, transparent 100%);
}
.lp-hero__catch {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.lp-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .22em;
  color: rgba(255,255,255,.45);
}
.lp-hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
}
.lp-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.lp-hero__btn {
  position: absolute;
  left: 50%;
  top: 72%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 100%;
  pointer-events: auto;
  animation: lpBtnFloat 3.2s ease-in-out infinite;
}
.lp-hero__btn img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes lpBtnFloat {
  0%   { transform: translateX(calc(-50% +  0px)) translateY(  0px); }
  25%  { transform: translateX(calc(-50% +  6px)) translateY( -7px); }
  50%  { transform: translateX(calc(-50% +  0px)) translateY(-12px); }
  75%  { transform: translateX(calc(-50% -  6px)) translateY( -7px); }
  100% { transform: translateX(calc(-50% +  0px)) translateY(  0px); }
}

/* リズム帯（テキストマーキー） */
.lp-marquee {
  overflow: hidden;
  background: var(--lp-cream);
  border-top: 1px solid rgba(37, 99, 235, .12);
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 10px 0;
}
.lp-marquee__track {
  display: flex;
  width: max-content;
  animation: lpMarquee 22s linear infinite;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--accent);
  white-space: nowrap;
}
.lp-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}
.lp-marquee__group span {
  opacity: .85;
}
@keyframes lpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* About：LP内の紹介（会話調・柔らかい塊） */
.lp-nzokum {
  position: relative;
  padding: 0 0 32px;
  background:
    radial-gradient(ellipse 90% 50% at 80% 0%, var(--lp-accent-soft) 0%, transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--lp-cream) 100%);
}
.lp-nzokum__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 20px 8px;
}
.lp-nzokum__divider-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.lp-nzokum__divider-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,37,64,.12) 30%, rgba(26,37,64,.12) 70%, transparent);
}
.lp-nzokum__inner {
  padding: 12px 20px 0;
  max-width: 100%;
}
.lp-nzokum__hook {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 16px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(26,37,64,.06);
}
/* 吹き出しのしっぽ（下・写真方向） */
.lp-nzokum__hook::before {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -10px;
  border: 10px solid transparent;
  border-top-color: var(--line);
  border-bottom: 0;
  pointer-events: none;
}
.lp-nzokum__hook::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -7px;
  border: 8px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  pointer-events: none;
}
.lp-nzokum__figure {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  line-height: 0;
  background: #edf0f7;
  border: 1px solid var(--line);
}
.lp-nzokum__img {
  display: block;
  width: 100%;
  height: auto;
}
.lp-nzokum__panel {
  margin: 16px 0 0;
  padding: 0 2px 4px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.lp-nzokum__label {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--accent-soft);
  border-radius: 0;
}
.lp-nzokum__title {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--text);
}
.lp-nzokum__text {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 400;
  color: #5a6480;
  line-height: 1.85;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
/* Inside：コンパクト＋“選んでね”トーン */
.lp-grid-section {
  position: relative;
  padding: 22px 12px 20px;
  background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
  border-top: 1px solid rgba(37, 99, 235, .10);
}
.lp-grid-section__head {
  margin-bottom: 12px;
  padding: 0 4px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.lp-grid-section__hook {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  color: #6b7590;
}
.lp-grid-section__label {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.lp-grid-section__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.lp-grid--showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-box {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.lp-box__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  color: inherit;
}
.lp-box__media {
  flex: 0 0 188px;
  width: 188px;
  margin: 0;
  line-height: 0;
  background: #edf0f7;
  border-right: 1px solid var(--line);
  align-self: stretch;
}
.lp-box__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 152px;
  object-fit: cover;
}
.lp-box__body {
  flex: 1;
  min-width: 0;
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lp-grid--showcase {
  counter-reset: lp-box;
}
.lp-box__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  background: var(--accent);
  border-radius: 0;
  margin-bottom: 6px;
  counter-increment: lp-box;
}
.lp-box__num::before {
  content: counter(lp-box, decimal-leading-zero);
}
.lp-box__body h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -.01em;
}
.lp-box__body p {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #6b7590;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Showcase：01=画像左 / 02=画像右 / 03=画像左 … */
.lp-grid--showcase > .lp-box:nth-child(even) .lp-box__inner {
  flex-direction: row-reverse;
}
.lp-grid--showcase > .lp-box:nth-child(even) .lp-box__media {
  border-right: none;
  border-left: 1px solid var(--line);
}

/* Showcase：上記レイアウトに合わせて左右からスライドイン */
@keyframes lp-showcase-from-left {
  from {
    opacity: 0;
    transform: translate3d(-48px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes lp-showcase-from-right {
  from {
    opacity: 0;
    transform: translate3d(48px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.lp-grid--showcase > .lp-box.reveal {
  transition: none;
  opacity: 0;
}
.lp-grid--showcase > .lp-box.reveal:nth-child(odd) {
  transform: translate3d(-48px, 0, 0);
}
.lp-grid--showcase > .lp-box.reveal:nth-child(even) {
  transform: translate3d(48px, 0, 0);
}
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(odd) {
  animation: lp-showcase-from-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(even) {
  animation: lp-showcase-from-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(1) { animation-delay: 0.06s; }
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(2) { animation-delay: 0.22s; }
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(3) { animation-delay: 0.38s; }
.lp-grid--showcase > .lp-box.reveal.is-on:nth-child(n+4) { animation-delay: 0.5s; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-on { opacity: 1; transform: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Mood Draw
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mood {
  position: relative;
  margin: 0;
  border-radius: 0;
  padding: 28px 0 48px;
  /* 見出し〜カードまで同一の筐体風ダーク */
  background:
    repeating-linear-gradient(
      -45deg,
      #fbbf24,
      #fbbf24 5px,
      #1e293b 5px,
      #1e293b 10px
    ) 0 0 / 100% 7px no-repeat,
    linear-gradient(165deg, #1a2744 0%, #0f1628 52%, #121c32 100%);
  overflow: visible;
  --mood-theme: #2563eb;
  --mood-theme-soft: rgba(37,99,235,0.10);
  isolation: isolate;
  transition: background 0.8s var(--mood-ease-out);
}
/* テーマカラーの環境光（めくり後） */
.mood::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(110% 60% at 50% 0%, var(--mood-theme-soft) 0%, transparent 58%);
  transition: opacity 0.85s var(--mood-ease-out);
}
.mood.mood--draw-active::before { opacity: 1; }

/* ── JS で生成するキラキラ粒子（セクション全体） ── */
.mood-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s var(--mood-ease-out);
}
.mood-confetti.is-active { opacity: 1; }
.mood-confetti__piece {
  position: absolute;
  border-radius: 50%;
  will-change: opacity, transform;
  animation: mood-sparkle-blink var(--sp-dur, 1.8s) var(--sp-delay, 0s) ease-in-out infinite alternate;
}
@keyframes mood-sparkle-blink {
  0%   { opacity: 0;                    transform: scale(0.4); }
  45%  { opacity: var(--sp-peak, 0.85); transform: scale(1.1); }
  100% { opacity: 0.08;                 transform: scale(0.5); }
}
.mood__head {
  position: relative;
  z-index: 3;
  padding: 10px 0 6px;
  transition: opacity 0.55s var(--mood-ease);
}
.mood.mood--draw-active .mood__head { opacity: 0.55; }

.mood__head-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}
/* 赤青ランプ（装飾・中央） */
.mood__led-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.mood__led {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, .75);
  animation: mood-led-blink 1.2s steps(2, end) infinite;
}
.mood__led--b {
  animation-delay: 0.6s;
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, .75);
}
@keyframes mood-led-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.28; }
}

/* セクション見出し共通（ムード／ギャラリー以降すべて・中央寄せ） */
.mood__title {
  font-family: var(--font);
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-lh);
  letter-spacing: var(--section-title-track);
  margin: 0 0 20px;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0.35em 16px 0.7em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: var(--text);
  text-shadow: none;
}
.mood .mood__title {
  margin: 0;
  color: #f8fafc;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}
.mood__title-accent {
  color: #bae6fd;
  font-weight: 800;
}
.mood__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(72px, 38%);
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #38bdf8, #a5f3fc);
  pointer-events: none;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}
.mood__lead {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.mood__hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mood-stage {
  position: relative;
  z-index: 2;
  isolation: isolate;
  perspective: 1280px;
  perspective-origin: 50% 45%;
  padding: 16px 0 24px;
}
.mood-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 12px;
  overflow: visible;
  --mood-card-aspect: 55 / 88;
  transition: opacity 0.72s var(--mood-ease);
}
.mood-grid.is-locked { pointer-events: none; }
/* 奥行きは opacity のみ（重い blur を避ける） */
.mood-grid.is-hidden {
  display: none;
  pointer-events: none;
}
.mood-card.mood-card--hidden {
  display: none !important;
}
.mood-card {
  position: relative;
  aspect-ratio: var(--mood-card-aspect);
  width: 100%;
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: pointer;
  outline: none;
  --card-glow: rgba(255, 255, 255, 0.35);
  transition:
    opacity 0.75s var(--mood-ease-lift),
    transform 0.75s var(--mood-ease-lift),
    filter 0.75s var(--mood-ease-lift);
}
/* タップ直後の「縮み」 */
.mood-card.is-tapping .mood-card__lift {
  transform: rotateX(6deg) scale(0.95);
  transition: transform 0.08s ease-in;
}
.mood-card:focus-visible {
  border-radius: 0;
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}
/* デッキの厚み（コントラスト控えめ） */
.mood-card::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 9%;
  bottom: 9%;
  width: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.03));
  transform: translateZ(-2px) rotateY(10deg);
  transform-origin: left center;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}
.mood-card__lift {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(4deg) translateZ(0);
  transition: transform 0.72s var(--mood-ease-out);
}
.mood-card.is-shuffling .mood-card__lift {
  animation: mood-shuffle var(--shuffle-dur, 0.72s) var(--mood-ease-shuffle) both;
}
@keyframes mood-shuffle {
  0%, 100% { transform: rotateX(5deg) rotateZ(0deg) translate3d(0, 0, 0); }
  25% { transform: rotateX(5.5deg) rotateZ(calc(var(--sz, 1.5deg) * -0.9)) translate3d(calc(var(--sx, 3px) * 0.9), calc(var(--sy, -4px) * 0.8), 0); }
  50% { transform: rotateX(4.8deg) rotateZ(calc(var(--sz, 1.5deg) * 0.7)) translate3d(calc(var(--sx, 3px) * -0.7), calc(var(--sy, -4px) * -0.4), 0); }
  75% { transform: rotateX(5.2deg) rotateZ(calc(var(--sz, 1.5deg) * -0.3)) translate3d(calc(var(--sx, 3px) * 0.3), calc(var(--sy, -4px) * 0.2), 0); }
}
.mood-card.is-picked {
  z-index: 20;
}
/* 主役：手前・拡大 */
.mood-card.is-picked .mood-card__lift {
  transform: rotateX(2deg) translateZ(44px) scale(1.08);
  transition: transform 0.72s var(--mood-ease-out);
}
.mood-card.is-backstage {
  opacity: 0.28;
  pointer-events: none;
  transform: scale(0.95);
  filter: brightness(0.62);
  transition:
    opacity 0.72s var(--mood-ease-lift),
    transform 0.72s var(--mood-ease-lift),
    filter 0.72s var(--mood-ease-lift);
}
.mood-card__inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  position: relative;
  overflow: visible;
  transform-origin: center center;
  transition: none;
}
.mood-card.is-flipping .mood-card__inner {
  animation: mood-flip-draw 0.82s var(--mood-ease-out) forwards;
  will-change: transform;
}
/* 溜め→めくり（キーフレームは3点のみ） */
@keyframes mood-flip-draw {
  0% {
    transform: translateZ(6px) rotateY(0deg) rotateX(5deg);
  }
  12% {
    transform: translateZ(18px) rotateY(-8deg) rotateX(4deg);
  }
  100% {
    transform: translateZ(8px) rotateY(180deg) rotateX(5deg);
  }
}
.mood-card.is-flipped .mood-card__inner {
  transform: translateZ(8px) rotateY(180deg) rotateX(5deg);
  will-change: auto;
}
.mood-card.is-flipped .mood-card__inner.is-back-pop {
  animation: mood-back-pop 0.38s var(--mood-ease-out) both;
}
@keyframes mood-back-pop {
  0% { transform: translateZ(8px) rotateY(180deg) rotateX(5deg) scale(1); }
  50% { transform: translateZ(14px) rotateY(180deg) rotateX(4.5deg) scale(1.03); }
  100% { transform: translateZ(8px) rotateY(180deg) rotateX(5deg) scale(1); }
}
/* めくり後：縁のみ（発光アニメは使わない） */
.mood-card.is-reveal-glow .mood-card__face.mood-card__back {
  outline: 1px solid rgba(255, 255, 255, 0.28);
  outline-offset: -1px;
}
.mood-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  border-radius: 0;
  transform-style: preserve-3d;
  /* 影は1段＋縁取り程度（重ねすぎない） */
  border: 1px solid rgba(26,37,64,.06);
  box-shadow: none;
  transform: translateZ(0.5px);
}
.mood-card__front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #1a2540;
  background-image: url(/images/card.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mood-card__front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,20,50,.14);
  pointer-events: none;
  z-index: 0;
}
.mood-card__shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgba(255,255,255,.18) 49%,
    rgba(255,255,255,.28) 50%,
    rgba(255,255,255,.14) 51%,
    transparent 62%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  opacity: 0;
}
.mood-card:not(.is-locked):hover .mood-card__shimmer {
  animation: mood-shimmer-sweep 1.0s var(--mood-ease) forwards;
}
@keyframes mood-shimmer-sweep {
  0% { opacity: 0; background-position: 100% 0; }
  15% { opacity: 0.42; }
  100% { opacity: 0; background-position: -20% 0; }
}
/* hover */
.mood-card:not(.is-locked):not(.is-picked):not(.is-backstage):hover .mood-card__lift {
  transform: rotateX(3.5deg) translateZ(0) scale(1.025);
  transition: transform 0.38s var(--mood-ease-out);
}
/* 選択時も影は変えない（アニメ中のガタつき防止） */
.mood-card__icon {
  display: none;
}
.mood-card__label {
  position: relative;
  z-index: 2;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.mood-card__back {
  transform: rotateY(180deg) translateZ(0.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 8px;
  background: #1a2540;
}
.mood-card__back-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* 裏面：静かなトーン（filter アニメなし・派手な発光なし） */
.mood-card__back-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  pointer-events: none; /* クリックは JS の onActivate 経由で処理 */
}
.mood-card__back-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.10) 55%, rgba(0, 0, 0, 0.32) 100%),
    radial-gradient(90% 55% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
  opacity: 1;
}
.mood-card__back-tag {
  position: relative;
  z-index: 2;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.mood-card__back-title {
  position: relative;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: #fff;
  margin-top: 2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
/* ── 結果パネル（通常フロー：高さを親に含めて下と被らない） ── */
.mood-result {
  display: none;
  position: relative;
  z-index: 5;
  padding: 0 14px 20px;
  overflow: visible;
  pointer-events: none;
}
.mood-result.is-visible {
  display: block;
  pointer-events: auto;
}

/* ── 結果パネル ── */
.mood-result__celebrate { display: none; }

/* ── カード本体 ── */
.mood-result__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
}
.mood-result.is-visible .mood-result__card {
  animation: mood-result-card-in 0.55s var(--mood-ease-out) 0.1s both;
}
@keyframes mood-result-card-in {
  0%   { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

.mood-result__body {
  padding: 14px 14px 24px;
}

.mood-result__media {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
}
/* メディア上のシャイン */
.mood-result__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,.16) 0%, transparent 42%);
  pointer-events: none;
  opacity: 0;
}
.mood-result.is-visible .mood-result__media::after {
  animation: mood-shine 0.65s var(--mood-ease-out) 0.5s both;
}
@keyframes mood-shine {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}

.mood-result__tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mood-theme, var(--accent));
  margin-bottom: 7px;
  opacity: 0;
}
.mood-result.is-visible .mood-result__tag {
  animation: mood-result-in 0.42s var(--mood-ease-out) 0.36s both;
}
.mood-result__title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  opacity: 0;
}
.mood-result.is-visible .mood-result__title {
  animation: mood-result-in 0.46s var(--mood-ease-out) 0.48s both;
}
.mood-result__lead {
  margin-top: 5px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  opacity: 0;
}
.mood-result.is-visible .mood-result__lead {
  animation: mood-result-in 0.44s var(--mood-ease-out) 0.6s both;
}

@keyframes mood-result-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mood-result__actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
}
.mood-result.is-visible .mood-result__actions {
  animation: mood-result-in 0.44s var(--mood-ease-out) 0.76s both;
}
.mood-result__link {
  display: block;
  text-align: center;
  padding: 13px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 0;
  color: #fff;
  background: var(--mood-theme, var(--accent));
  border: none;
  letter-spacing: .01em;
  transition: transform 0.28s var(--mood-ease-out), opacity 0.2s;
  position: relative;
  overflow: hidden;
}
/* ボタンのシャイン */
.mood-result__link::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg);
  animation: mood-btn-shine 1.2s var(--mood-ease-out) 1.0s both;
}
@keyframes mood-btn-shine {
  0%   { left: -60%; opacity: 0; }
  20%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.mood-result__link:active { transform: scale(0.985); }
.mood-result__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.28s var(--mood-ease-out);
}
.mood-result__reset:hover { background: var(--bg); }
.mood-result__reset:active { transform: scale(0.992); }
.mood-result__reset-icon { font-size: 14px; line-height: 1; opacity: 0.75; }

/* ── 結果非表示時 ── */
.mood-result:not(.is-visible) .mood-result__card,
.mood-result:not(.is-visible) .mood-result__tag,
.mood-result:not(.is-visible) .mood-result__title,
.mood-result:not(.is-visible) .mood-result__lead,
.mood-result:not(.is-visible) .mood-result__actions { opacity: 0; }

.text-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid rgba(37, 99, 235, 0.22);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--accent);
  border-bottom-color: rgba(37, 99, 235, 0.45);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LP / カード以降：雑誌的コンテンツ（セクションごとにUIを分離）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.mag-areas__head,
.mag-read__head,
.mag-pick__head,
.mag-hints__head,
.mag-check__head,
.mag-themes__head {
  text-align: center;
  position: relative;
  padding: 0 16px 16px;
  margin-bottom: 4px;
}

/* ギャラリー ? 2段・16:9・左右逆方向マーキー */
.mag-air {
  padding: 36px 0 40px;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(37, 99, 235, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #fbfcfe 0%, var(--surface) 55%);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  text-align: center;
}
.mag-air__bands {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
}
.mag-air__strip {
  overflow: hidden;
  width: 100%;
}
.mag-air__track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}
.mag-air__track--left {
  animation: mag-air-left 36s linear infinite;
}
.mag-air__track--right {
  animation: mag-air-right 30s linear infinite;
}
@keyframes mag-air-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes mag-air-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.mag-air__group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  padding: 0 4px;
}
.mag-air__slide {
  flex: 0 0 auto;
  width: clamp(200px, 55vw, 300px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4e9f2;
  border-radius: 0;
}
.mag-air__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mag-air__more {
  text-align: center;
  margin-top: 18px;
  padding: 0 20px;
}

/* 話題のエリア ? 特集バナー（大きめ） */
.mag-areas {
  padding: 48px 0 52px;
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f0f4fb 0%, var(--surface) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.mag-areas__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 12px;
}
.mag-areas__banner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  overflow: hidden;
  background: #dde3ed;
  border-radius: 0;
  outline: none;
}
.mag-areas__banner:focus-visible {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent);
}
.mag-areas__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 37, 64, 0.78) 0%,
    rgba(26, 37, 64, 0.28) 38%,
    transparent 62%
  );
  pointer-events: none;
}
.mag-areas__meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}
.mag-areas__chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 0;
}
.mag-areas__banner--seoul .mag-areas__chip {
  background: #3d5a9e;
  box-shadow: 0 2px 8px rgba(26, 37, 64, 0.35);
}
.mag-areas__banner--busan .mag-areas__chip {
  background: #c45c3e;
  box-shadow: 0 2px 8px rgba(26, 37, 64, 0.35);
}
.mag-areas__city {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.mag-areas__sub {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.mag-areas__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.mag-areas__banner:hover .mag-areas__img { transform: scale(1.02); }
.mag-areas__more { text-align: center; margin-top: 28px; padding: 0 20px; }
@media (min-width: 640px) {
  .mag-areas__list {
    padding: 0 16px;
  }
  .mag-areas__banner {
    aspect-ratio: 16 / 7;
    min-height: 220px;
  }
}
@media (min-width: 900px) {
  .mag-areas__banner {
    aspect-ratio: 16 / 6;
    min-height: 260px;
  }
}

/* 最新コラム ? 1本目ヒーロー + リスト */
.mag-read {
  padding: 40px 0 48px;
  background:
    var(--stripe),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.mag-read__hero {
  display: block;
  margin: 0 16px 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(26, 37, 64, 0.09);
  box-shadow: var(--mag-card-shadow);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.mag-read__hero:hover {
  box-shadow: var(--mag-card-shadow-hover);
}
.mag-read__hero-media {
  aspect-ratio: 16/9;
  background: #edf0f7;
  overflow: hidden;
}
.mag-read__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.mag-read__hero:hover .mag-read__hero-media img { transform: scale(1.02); }
.mag-read__hero-body {
  padding: 14px 16px 18px;
}
.mag-read__hero-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  letter-spacing: -0.02em;
}
.mag-read__list {
  padding: 0 20px;
}
.mag-read__row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mag-read__row:first-of-type { border-top: 1px solid var(--line); }
.mag-read__row-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: #edf0f7;
}
.mag-read__row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mag-read__row-title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
}
.mag-read__more { text-align: center; margin-top: 20px; padding: 0 20px; }

/* おすすめスポット ? 3列グリッド */
.mag-pick {
  padding: 40px 0 48px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 42%),
    var(--bg);
}
.mag-pick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 0 12px;
}
.mag-pick__cell {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #dde3ed;
  box-shadow: 0 4px 14px rgba(26, 37, 64, 0.06);
  transition: box-shadow 0.3s var(--ease);
}
.mag-pick__cell:hover,
.mag-pick__cell:focus-visible {
  box-shadow: 0 8px 22px rgba(26, 37, 64, 0.11);
}
.mag-pick__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.mag-pick__cell:hover img,
.mag-pick__cell:focus-visible img { transform: scale(1.06); }
.mag-pick__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(26, 37, 64, 0.65), transparent);
}
.mag-pick__more { text-align: center; margin-top: 22px; padding: 0 20px; }

/* おすすめスポット ? 横並びリスト */
.mag-pick__list {
  list-style: none;
  margin: 0;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mag-pick__item {
  border-bottom: 1px solid var(--line);
}
.mag-pick__item:first-child {
  border-top: 1px solid var(--line);
}
.mag-pick__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.mag-pick__row:hover,
.mag-pick__row:focus-visible {
  background: rgba(37, 99, 235, 0.04);
  outline: none;
}
.mag-pick__row-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  background: #dde3ed;
}
.mag-pick__row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.mag-pick__row:hover .mag-pick__row-thumb img {
  transform: scale(1.06);
}
.mag-pick__row-title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* 韓国旅行アレコレ ? 2列カード */
.mag-hints {
  padding: 40px 0 48px;
  background:
    radial-gradient(80% 50% at 100% 0%, rgba(249, 115, 22, 0.04) 0%, transparent 45%),
    var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.mag-hints__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px;
}
.mag-hints__card {
  display: block;
  background: var(--surface);
  border: 1px solid rgba(26, 37, 64, 0.08);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(26, 37, 64, 0.07);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.mag-hints__card:hover {
  box-shadow: var(--mag-card-shadow-hover);
}
.mag-hints__pic {
  aspect-ratio: 5/4;
  overflow: hidden;
  background: #e4e9f2;
}
.mag-hints__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.mag-hints__card:hover .mag-hints__pic img { transform: scale(1.03); }
.mag-hints__body { padding: 12px 10px 14px; }
.mag-hints__card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
}
.mag-hints__more { text-align: center; margin-top: 22px; padding: 0 20px; }

/* お役立ち情報 ? 番号付きカードリスト */
.mag-check {
  position: relative;
  padding: 40px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(37, 99, 235, 0.09) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 100%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f0f3f9 0%, var(--bg) 45%, #eef1f7 100%);
}
.mag-check::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--stripe);
  opacity: 0.45;
  pointer-events: none;
}
.mag-check__surface {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.mag-check__deck {
  margin: -4px 0 18px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}
.mag-check__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: mag-check;
}
.mag-check__list li { margin: 0; }
.mag-check__list a {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  justify-items: start;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px 12px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(26, 37, 64, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px rgba(26, 37, 64, 0.06);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.2s;
}
.mag-check__list a::before {
  counter-increment: mag-check;
  content: counter(mag-check, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--accent) 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}
.mag-check__list a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  justify-self: end;
  opacity: 0.55;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.mag-check__list li:nth-child(3n + 2) a::before {
  background: linear-gradient(145deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
}
.mag-check__list li:nth-child(3n) a::before {
  background: linear-gradient(145deg, var(--accent-sub) 0%, #ea580c 100%);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.mag-check__list a:hover,
.mag-check__list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 14px 32px rgba(26, 37, 64, 0.1);
  outline: none;
}
.mag-check__list a:hover::after,
.mag-check__list a:focus-visible::after {
  transform: rotate(-45deg) translate(2px, -2px);
  opacity: 0.9;
}
.mag-check__more {
  text-align: center;
  margin-top: 24px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* カテゴリ一覧 ? タイルカード */
.mag-themes {
  position: relative;
  padding: 40px 0 52px;
  overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.mag-themes::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 35%);
  pointer-events: none;
}
.mag-themes__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.mag-themes__deck {
  margin: -4px 0 20px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
}
.mag-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mag-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100px;
  padding: 20px 14px 16px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(26, 37, 64, 0.09);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 10px 28px rgba(26, 37, 64, 0.07);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.25s;
}
.mag-chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--chip-accent, linear-gradient(90deg, var(--accent), #38bdf8));
  opacity: 0.95;
}
/* 画像なし：番号バッジのみ（カテゴリはテキストで統一） */
.mag-chip__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  background: var(--chip-accent, linear-gradient(145deg, var(--accent), #1d4ed8));
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(26, 37, 64, 0.12);
  flex-shrink: 0;
}
.mag-chip__kicker {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.mag-chip__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.mag-chip__go {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.mag-chip--read   { --chip-accent: linear-gradient(90deg, #2563eb, #60a5fa); }
.mag-chip--area   { --chip-accent: linear-gradient(90deg, #0ea5e9, #22d3ee); }
.mag-chip--spot   { --chip-accent: linear-gradient(90deg, #10b981, #34d399); }
.mag-chip--visual { --chip-accent: linear-gradient(90deg, #f97316, #fb923c); }
/* nth-child による自動色分け（genre_cdクラス不要） */
.mag-chip:nth-child(6n+1) { --chip-accent: linear-gradient(90deg, #2563eb, #60a5fa); }
.mag-chip:nth-child(6n+2) { --chip-accent: linear-gradient(90deg, #0ea5e9, #22d3ee); }
.mag-chip:nth-child(6n+3) { --chip-accent: linear-gradient(90deg, #10b981, #34d399); }
.mag-chip:nth-child(6n+4) { --chip-accent: linear-gradient(90deg, #f97316, #fb923c); }
.mag-chip:nth-child(6n+5) { --chip-accent: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.mag-chip:nth-child(6n+6) { --chip-accent: linear-gradient(90deg, #ec4899, #f472b6); }
.mag-chip:hover,
.mag-chip:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 16px 40px rgba(26, 37, 64, 0.12);
  outline: none;
}
.mag-chip:hover .mag-chip__go,
.mag-chip:focus-visible .mag-chip__go {
  opacity: 1;
  transform: translate(3px, -1px);
}
.mag-themes__more {
  text-align: center;
  margin-top: 24px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* フッター（footer_wrap / footer_menu / #footer ? 本番PHPとクラス名共通） */
.footer_wrap {
  margin-top: 0;
  padding: 20px 0 28px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.04) 0%, transparent 42%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.footer_menu {
  list-style: none;
  margin: 0;
  padding: 8px 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.footer_menu li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 37, 64, 0.07);
}
.footer_menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px 8px 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10'%3E%3Cpath fill='%237a8499' d='M1 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat right 4px center;
  background-size: 5px auto;
  transition: color 0.2s, background-color 0.2s;
}
.footer_menu a:hover,
.footer_menu a:focus-visible {
  color: var(--accent);
  outline: none;
}
#footer {
  margin-top: 20px;
  padding: 16px 24px 0;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: 0.02em;
}
#footer br { display: block; content: ""; margin-top: 0.35em; }

.spacer-section { height: 32px; background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-grid--showcase > .lp-box.reveal,
  .lp-grid--showcase > .lp-box.reveal.is-on {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lp-hero__btn { animation: none !important; transform: translateX(-50%) !important; }
  .lp-marquee__track { animation: none !important; transform: none !important; }
  .mood-card.is-shuffling .mood-card__lift { animation-duration: 0.15s !important; }
  .mood-card.is-flipping .mood-card__inner { animation-duration: 0.35s !important; }
  .mood-card.is-flipped .mood-card__inner.is-back-pop { animation: none !important; }
  .mood-result.is-visible .mood-result__media,
  .mood-result.is-visible .mood-result__title,
  .mood-result.is-visible .mood-result__lead,
  .mood-result.is-visible .mood-result__link,
  .mood-result.is-visible .mood-result__reset {
    animation-duration: 0.25s !important;
    animation-delay: 0.04s !important;
  }
  .mood.mood--draw-active .mood__head { opacity: 0.6 !important; }
  .mood-result__card { animation: none !important; opacity: 1 !important; }
  .mood-result__tag, .mood-result__title, .mood-result__lead, .mood-result__actions { animation: none !important; opacity: 1 !important; }
  .mood-result__link::after { animation: none !important; }
  .mood-card:not(.is-locked):hover .mood-card__shimmer { animation: none !important; }
  .mood-card:not(.is-locked):not(.is-picked):not(.is-backstage):hover .mood-card__lift { transform: rotateX(4deg) !important; }
  .mood-confetti, .mood-confetti__piece { animation: none !important; opacity: 0 !important; }
  .mood__led { animation: none !important; opacity: 1 !important; }
  .mag-check__list a,
  .mag-check__list a:hover,
  .mag-check__list a:focus-visible {
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
  .mag-check__list a::after,
  .mag-check__list a:hover::after,
  .mag-check__list a:focus-visible::after {
    transform: rotate(-45deg) !important;
    opacity: 0.55 !important;
  }
  .mag-chip,
  .mag-chip:hover,
  .mag-chip:focus-visible,
  .mag-chip__go,
  .mag-chip:hover .mag-chip__go,
  .mag-chip:focus-visible .mag-chip__go {
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
  .mag-air__track--left,
  .mag-air__track--right { animation: none !important; transform: none !important; }
  .mag-air__strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── 追従：会員登録はこちら（一定量スクロール後に表示） ── */
.float-reg-cta {
  position: fixed;
  z-index: 10000;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.45s var(--ease, cubic-bezier(.2, .8, .2, 1)),
    opacity 0.35s ease,
    visibility 0.35s;
  pointer-events: none;
}
.float-reg-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.float-reg-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent, #2563eb), #1d4ed8);
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}
.float-reg-cta__link:hover {
  filter: brightness(1.05);
}
.float-reg-cta__link:active {
  transform: scale(0.98);
}
@media (min-width: 480px) {
  .float-reg-cta {
    right: calc(50% - (min(var(--max-w, 430px), 100vw) / 2) + 12px);
    bottom: 22px;
  }
}
