@charset "UTF-8";

/* ── Design Tokens ── */
:root {
  --bg:            #141416;
  --surface:       #1c1c1e;
  --surface-2:     #242428;
  --surface-3:     #2e2e32;
  --border:        rgba(255,255,255,.10);
  --border-md:     rgba(255,255,255,.18);
  --border-strong: rgba(255,255,255,.28);
  --text:          #f2efe8;
  --text-sub:      rgba(242,239,232,.60);
  --text-mute:     rgba(242,239,232,.38);
  --mint:          #6ee2c2;
  --mint-dim:      rgba(110,226,194,.12);
  --yellow:        #f5e642;
  --red:           #ff3040;
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --shadow:        0 4px 24px rgba(0,0,0,.6);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.7);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin-inline: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input {
  font: inherit;
}

h1, h2, h3, h4, p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,12,12,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 20px;
  width: auto;
  display: block;
}

.header-cta {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--mint);
  color: #0c0c0c;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  letter-spacing: .01em;
}

/* ── Hero ── */
.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.hero-img {
  width: 100%;
  display: block;
  vertical-align: top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0 16px 24px;
}

/* ── CTA Keyframes ── */
@keyframes move-bg7234 {
  0%   { background-position: 31% 0%;   }
  50%  { background-position: 70% 100%; }
  100% { background-position: 31% 0%;   }
}
@keyframes btn-shimmer {
  0%   { transform: translateX(-160%) skewX(-18deg); }
  100% { transform: translateX(260%) skewX(-18deg); }
}
@keyframes btn-breathe {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(110,226,194,.35)); }
  50%       { filter: drop-shadow(0 0 22px rgba(255,217,122,.6)); }
}
/* 黒→グラデーション切り替えアニメ */
@keyframes btn-reveal {
  0%, 45%  { opacity: 1; }   /* 黒のまま */
  60%, 80% { opacity: 0; }   /* グラデーション全開 */
  100%     { opacity: 1; }
}
/* テキストも連動して色が変わる */
@keyframes btn-txt-reveal {
  0%, 45%  { color: #dffff5; }
  60%, 80% { color: #040c08; }
  100%     { color: #dffff5; }
}
@keyframes btn-sub-reveal {
  0%, 45%  { color: rgba(255,255,255,.5); }
  60%, 80% { color: rgba(4,12,8,.6); }
  100%     { color: rgba(255,255,255,.5); }
}

/* ══ CTA ボタン共通ベース（btn-fill / float-btn のみ） ══ */
.btn-fill,
.float-btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-45deg, #ffd97a, #6ee2c2, #b0f5e0, #ffd97a);
  background-size: 300% 300%;
  animation: move-bg7234 3s ease infinite, btn-breathe 3s ease-in-out infinite;
}

/* 黒フィル：clip-path で角のボーダーも均等に出す */
.btn-fill::before,
.float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #030c06;
  z-index: 0;
  animation: btn-reveal 5s ease-in-out infinite;
  clip-path: polygon(
    2px calc(var(--curve) + 2px),
    calc(var(--curve) + 2px) 2px,
    calc(100% - 2px) 2px,
    calc(100% - 2px) calc(100% - var(--curve) - 2px),
    calc(100% - var(--curve) - 2px) calc(100% - 2px),
    2px calc(100% - 2px)
  );
}

/* シャインスイープ */
.btn-fill::after,
.float-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  z-index: 1;
  animation: btn-shimmer 2.6s ease-in-out infinite 1s;
}

/* ── btn-fill（ヒーロー・gate など） ── */
.btn-fill {
  --curve: 0.5em;
  width: 100%;
  min-height: 70px;
  flex-direction: column;
  padding: 14px 20px;
  gap: 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .03em;
  clip-path: polygon(
    0% var(--curve), var(--curve) 0%,
    100% 0%, 100% calc(100% - var(--curve)),
    calc(100% - var(--curve)) 100%, 0% 100%
  );
}

/* btn-fill 内テキスト */
.btn-fill .btn-sub-text,
.btn-fill .btn-main-text {
  position: relative;
  z-index: 2;
  display: block;
  text-shadow: 0 0 10px #000, 0 1px 3px #000;
}
.btn-fill .btn-sub-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
}
.btn-fill .btn-main-text {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

/* float-btn のシングルテキストは z-index:2 */
.float-btn > span,
.float-btn > svg {
  position: relative;
  z-index: 2;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,1), 0 1px 3px rgba(0,0,0,.9);
}

.hero-actions {
  display: flex;
  gap: 10px;
}
.hero-actions .btn-fill {
  min-height: 80px;
  font-size: 16px;
}
.hero-actions .btn-fill .btn-sub-text {
  font-size: 12px;
}
.hero-actions .btn-fill .btn-main-text {
  font-size: 19px;
}


.btn-outline {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: .01em;
  border: 1px solid var(--border-md);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

/* ── Section Base ── */
.sec {
  padding: 36px 16px 48px;
  border-bottom: none;
  position: relative;
}

/* セクション上部グラデーションライン（アクセントカラー連動） */
.sec::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--sec-accent, var(--mint)) 35%,
    var(--sec-accent, var(--mint)) 65%,
    transparent 100%
  );
  opacity: .3;
}

/* ── セクション別 背景・アクセントカラー ── */
#map      { --sec-accent: #6ee2c2; background: #141416; }
#ranking  { --sec-accent: #ffd97a; background: #191919; }
#free     { --sec-accent: #5dcfef; background: #141517; padding-top: 24px; padding-bottom: 0; }
#puzzle   {
  --sec-accent: #6ee2c2;
  background: radial-gradient(ellipse 80% 25% at 50% 0%, rgba(110,226,194,.08) 0%, transparent 70%), #111510;
}
#new      { --sec-accent: #b39dfa; background: #16161c; }
#special  {
  --sec-accent: #fb8c50;
  background: radial-gradient(ellipse 80% 20% at 50% 0%, rgba(251,140,80,.07) 0%, transparent 70%), #161413;
}
#recommend { --sec-accent: #f9c74f; background: #181512; }
#genres   { --sec-accent: #7dd3a8; background: #141814; }
#benefits { --sec-accent: #34d399; background: #131614; }

/* PUZZLE・FEATURE はより強い区切り */
#puzzle::before,
#special::before {
  height: 2px;
  opacity: .65;
  background: linear-gradient(90deg, transparent, var(--sec-accent), transparent);
}

/* パディング大（存在感のある主要セクション） */
#puzzle,
#special,
#benefits {
  padding-top: 44px;
  padding-bottom: 56px;
}


.sec-head {
  margin-bottom: 24px;
}


.sec-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sec-accent, var(--mint));
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sec-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sec-accent, var(--mint));
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--sec-accent, var(--mint));
}

.sec-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.12), transparent);
}

.sec-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.2;
  color: var(--text);
}

.sec-copy {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ── Section Visual (full-bleed illustration) ── */
.sec-visual {
  display: block;
  width: calc(100% + 32px);
  max-width: none;
  margin: 0 -16px 28px;
}

/* ── Entry Grid ── */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 98px;
  position: relative;
  overflow: hidden;
  transition: border-color .15s;
}

.entry-card:active {
  border-color: rgba(110,226,194,.35);
}

.entry-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mint-dim);
  border: 1px solid rgba(110,226,194,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mint);
  flex-shrink: 0;
}

.entry-icon svg {
  width: 18px;
  height: 18px;
}

.entry-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.entry-sub {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
  line-height: 1.4;
}

/* ── Rank List ── */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*
  ランクカード：
  - 上部ヘッダーバー（ランク番号 + ジャンル）で順位を明確に
  - 本体：サムネイル + タイトル + OPENボタン
  - 右上カット角（疑似クリップ）
  - スキャンライン地紋
*/
.rank-item {
  position: relative;
  overflow: hidden;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 3px,
    rgba(255,255,255,.012) 3px, rgba(255,255,255,.012) 4px
  );
  border: 1px solid var(--border);
}

/* 右上カット角 */
.rank-item::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  background: linear-gradient(225deg, var(--bg) 50%, transparent 50%);
  pointer-events: none;
  z-index: 3;
}

/* ── ヘッダーバー ── */
.rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid var(--border);
}

.rank-num {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.rank-meta {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .03em;
}

/* ランク別アクセント */
.rank-item:nth-child(1) {
  border-color: rgba(245,230,66,.28);
  background-color: #131209;
}
.rank-item:nth-child(1) .rank-header {
  border-bottom-color: rgba(245,230,66,.25);
  background: rgba(245,230,66,.05);
}
.rank-item:nth-child(1) .rank-num { color: var(--yellow); }

.rank-item:nth-child(2) { border-color: rgba(190,190,190,.2); }
.rank-item:nth-child(2) .rank-num { color: rgba(200,200,200,.65); }

.rank-item:nth-child(3) { border-color: rgba(160,95,40,.22); }
.rank-item:nth-child(3) .rank-num { color: rgba(185,115,50,.9); }

/* ── カード本体 ── */
.rank-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px;
}

.rank-thumb {
  width: 64px;
  aspect-ratio: 3 / 4;
  border-radius: 3px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.rank-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rank-item {
  text-decoration: none;
  color: inherit;
}

.rank-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 2px 0;
}

.rank-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  letter-spacing: -.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 平行四辺形ボタン（HUD風） */
.rank-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 12px 0 10px;
  background: rgba(110,226,194,.07);
  border: 1px solid rgba(110,226,194,.28);
  color: var(--mint);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: background .15s, border-color .15s;
}
.rank-btn:hover {
  background: rgba(110,226,194,.18);
  border-color: rgba(110,226,194,.6);
}

/* ── Comic Card ── */
.free-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.comic-card {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.comic-cover {
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.comic-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comic-cover-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

.cover-title {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.7);
}

.cards-3 .cover-title {
  font-size: 11px;
}

.cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.comic-info {
  padding: 10px 12px 12px;
}

.comic-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.cards-3 .comic-title {
  font-size: 10px;
}

.comic-meta {
  margin-top: 3px;
  font-size: 10px;
  color: var(--text-sub);
}

/* ── NEW section ── */
.new-featured {
  background:
    linear-gradient(135deg, rgba(110,226,194,.07) 0%, transparent 50%),
    #0c0c0c;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}
.new-featured-inner {
  display: flex;
  gap: 14px;
  padding: 16px;
  align-items: stretch;
}
.new-featured-cover {
  flex-shrink: 0;
  width: 80px;
  border-radius: 9px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.6);
  background: var(--surface-2);
}
.new-featured-cover img,
.new-item-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.new-featured-cover-text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 6px 7px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
}
.new-featured-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.new-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #4ecba8;
  margin-bottom: 7px;
}
.new-live-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: new-blink 1.1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes new-blink {
  0%,100% { opacity: .3; transform: scale(.75); }
  50%      { opacity: 1;  transform: scale(1.1); }
}
.new-featured-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.25;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.new-featured-meta {
  font-size: 10px;
  color: var(--text-sub);
  margin-bottom: 4px;
}
.new-featured-date {
  font-size: 10px;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.new-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 13px;
  background: rgba(110,226,194,.1);
  border: 1px solid rgba(110,226,194,.3);
  border-radius: 8px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  align-self: flex-start;
  white-space: nowrap;
}

/* 新着リスト */
.new-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.new-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.new-item:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,.1);
}
.new-item-cover {
  flex-shrink: 0;
  width: 48px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,.5);
}
.new-item-body {
  flex: 1;
  min-width: 0;
}
.new-item-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.new-item-badge {
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(110,226,194,.1);
  border: 1px solid rgba(110,226,194,.22);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.new-item-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.3;
  margin-bottom: 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.new-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.new-item-meta {
  font-size: 10px;
  color: var(--text-sub);
}
.new-item-date {
  font-size: 10px;
  color: var(--text-mute);
}
.new-item-arrow {
  flex-shrink: 0;
  color: var(--text-mute);
  margin-left: 6px;
}

/* ── Feature section ── */
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card {
  --fc: 107,48,212;
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--surface-2);
  border: 1px solid rgba(var(--fc),.30);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  min-height: 112px;
}

/* 左アクセントバー */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: rgba(var(--fc),1);
  border-radius: 14px 0 0 14px;
}

/* 左ゆらぎグロー */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at 0% 50%, rgba(var(--fc),.12) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card--night  { --fc: 107,48,212; }
.feature-card--visual { --fc: 196,76,16;  }

.feature-card-content {
  flex: 1;
  padding: 14px 12px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.feature-card-thumb {
  width: 74px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0 14px 14px 0;
  background: var(--surface-3);
}
.feature-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* バッジ */
.feature-badge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  border-radius: 4px;
  background: rgba(var(--fc),.75);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  align-self: flex-start;
  margin-bottom: 6px;
}

/* タイトル */
.feature-card-title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.25;
  flex: 1;
}

/* フッター */
.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.feature-card-mood {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}
.feature-card-cta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(var(--fc),1);
  letter-spacing: .04em;
}

/* ── Recommend section ── */
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rec-card {
  display: flex;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.rec-card:active { border-color: rgba(110,226,194,.3); }

/* 右上にカット角 */
.rec-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--bg);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.rec-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 28px; height: 28px;
  background: rgba(110,226,194,.18);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.rec-cover {
  width: 68px;
  height: 91px;
  flex-shrink: 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.rec-cover-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 6px;
}
.rec-cover-title {
  font-size: 8px;
  font-weight: 800;
  color: rgba(255,255,255,.8);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.rec-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rec-top {}
.rec-pick {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rec-num {
  opacity: .6;
}
.rec-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -.03em;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-genre {
  font-size: 9px;
  color: rgba(255,255,255,.38);
  margin-bottom: 7px;
}
.rec-comment {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-footer {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
}

/* ── Free Gate（登録前プレビュー） ── */
.free-gate {
  position: relative;
  margin-top: 14px;
}

.free-gate-blur {
  filter: blur(5px);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

.free-gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 4px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(12,12,12,.85) 40%,
    #0c0c0c 72%
  );
}

.gate-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 4px;
}

.gate-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: 10px;
  text-align: center;
}

.gate-cta {
  width: 100%;
  flex: none;
  border-radius: 10px;
}

/* ── Jigsaw Puzzle ── */

.puzzle-ui { margin-top: 0; }

/* ─── 画面切り替え ─── */
.pz-screen--hidden { display: none !important; }

/* ══════════════════════════════════════════
   スタート画面
══════════════════════════════════════════ */

@keyframes pz-cover-in {
  from { opacity: 0; transform: translateY(24px) scale(.88); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes pz-title-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pz-cover-glow-pulse {
  0%,100% { box-shadow:
    0 0 0 3px #080808,
    0 0 0 4.5px rgba(110,226,194,.3),
    0 18px 55px rgba(0,0,0,.95),
    0 0 50px rgba(110,226,194,.12); }
  50% { box-shadow:
    0 0 0 3px #080808,
    0 0 0 4.5px rgba(110,226,194,.65),
    0 18px 55px rgba(0,0,0,.95),
    0 0 70px rgba(110,226,194,.28); }
}
@keyframes pz-btn-glow {
  0%,100% { box-shadow: 0 4px 22px rgba(110,226,194,.45), 0 0 0 0 rgba(110,226,194,0); }
  50%      { box-shadow: 0 6px 36px rgba(110,226,194,.8),  0 0 0 6px rgba(110,226,194,.08); }
}
@keyframes pz-dot-blink {
  0%,100% { opacity: .2; transform: scale(.7); }
  50%      { opacity: 1;  transform: scale(1.15); }
}
@keyframes pz-diff-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pz-badge-rock {
  0%,100% { transform: rotate(4deg); }
  50%      { transform: rotate(7deg) scale(1.05); }
}
@keyframes pz-shine-sweep {
  0%   { transform: translateX(-120%) skewX(-20deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(260%) skewX(-20deg); opacity: 0; }
}

/* ── 外枠 ── */
.pz-start {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(110,226,194,.2);
  background:
    radial-gradient(ellipse 110% 60% at 50% 0%, rgba(110,226,194,.09) 0%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(110,226,194,.04) 0%, transparent 70%),
    #090909;
  padding-bottom: 22px;
}

/* スキャンライン */
.pz-start::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent, transparent 3px,
    rgba(0,0,0,.12) 3px, rgba(0,0,0,.12) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── ゲームブランディング（上部） ── */
.pz-start-hero {
  text-align: center;
  padding: 22px 20px 4px;
  position: relative;
  z-index: 1;
}
.pz-start-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 7px;
  opacity: .8;
}
.pz-start-hero-line {
  flex: 1;
  max-width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  display: block;
}
.pz-start-hero-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.04em;
  line-height: 1.25;
}

/* ── カバーステージ ── */
.pz-start-stage {
  padding: 22px 0 4px;
  text-align: center;
  position: relative;
  z-index: 1;
  /* スピードライン＋スポットライト → background で確実に中央配置 */
  background:
    radial-gradient(ellipse 200px 150px at 50% 10px, rgba(255,255,255,.04) 0%, transparent 100%),
    repeating-conic-gradient(rgba(110,226,194,.06) 0deg 2deg, transparent 2deg 5deg)
      50% 50% / 260px 260px no-repeat;
}

/* カバーフレーム: inline-block で text-align: center に乗る */
.pz-start-cover-frame {
  display: inline-block;
  position: relative;
  vertical-align: top;
}

/* コーナーブラケット */
.pz-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-style: solid;
  border-color: rgba(110,226,194,.7);
  z-index: 2;
}
.pz-corner--tl { top: -5px; left: -5px;  border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.pz-corner--br { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }

/* カバー画像: 固定 160px（%幅は親の確定を待つのでNG） */
.pz-start-cover {
  display: block;
  width: 160px;
  height: 213px;     /* 160 × 4/3 */
  border-radius: 10px;
  background: var(--surface-3);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  animation: pz-cover-in .5s .05s cubic-bezier(.34,1.22,.64,1) both,
             pz-cover-glow-pulse 3s 1.2s ease-in-out infinite;
}

/* シャイン */
.pz-start-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 35%;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.4) 50%, transparent 75%);
  animation: pz-shine-sweep 3.2s 1s ease-in-out 1;
}

/* PUZZLEバッジ */
.pz-start-cover-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  background: linear-gradient(135deg, #6ee2c2, #4ecba8);
  color: #000;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .18em;
  padding: 5px 9px;
  border-radius: 4px;
  animation: pz-badge-rock 2.5s 2s ease-in-out infinite;
  box-shadow: 0 3px 10px rgba(110,226,194,.55);
  z-index: 3;
  white-space: nowrap;
}

/* 床グロー: inline-block で text-align: center に乗る */
.pz-start-floor {
  display: block;
  width: 80px;
  height: 16px;
  margin: -4px auto 0;
  background: radial-gradient(ellipse at center, rgba(110,226,194,.28) 0%, transparent 68%);
  filter: blur(6px);
}

/* ── タイトル・ヒント ── */
.pz-start-meta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 18px 0;
  animation: pz-title-in .48s .32s ease-out both;
}
.pz-start-title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.3;
  margin-bottom: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pz-start-hint {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .04em;
}

/* ── 難易度 ── */
.pz-start-diff-wrap {
  position: relative;
  z-index: 1;
  padding: 16px 16px 0;
  animation: pz-diff-in .44s .46s ease-out both;
}
.pz-diff-label-txt {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
  text-align: center;
}
.pz-diff-row { display: flex; gap: 5px; }

.pd-btn {
  flex: 1;
  height: 54px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  color: var(--text-mute);
  border-radius: 12px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .1s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: inherit;
  padding: 0;
}
.pd-btn:active { transform: scale(.95); }

.pd-btn-num {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}
.pd-btn-sub {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .45;
  line-height: 1;
}
.pd-btn-lv {
  font-size: 6.5px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  line-height: 1;
  transition: opacity .2s;
}

/* 難易度ごとのカラーテーマ */
.pd-btn[data-d="6"].pd-active  { background: rgba(78,203,168,.12); border-color: rgba(78,203,168,.45); color: #4ecba8; }
.pd-btn[data-d="12"].pd-active { background: rgba(96,165,250,.12); border-color: rgba(96,165,250,.45); color: #60a5fa; }
.pd-btn[data-d="20"].pd-active { background: rgba(251,146,60,.12);  border-color: rgba(251,146,60,.45);  color: #fb923c; }
.pd-btn[data-d="36"].pd-active { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.45); color: #f87171; }
.pd-btn.pd-active { box-shadow: 0 0 18px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06); }
.pd-btn.pd-active .pd-btn-lv { opacity: .9; }
.pd-btn[data-d="6"].pd-active  .pd-btn-lv { color: #4ecba8; }
.pd-btn[data-d="12"].pd-active .pd-btn-lv { color: #60a5fa; }
.pd-btn[data-d="20"].pd-active .pd-btn-lv { color: #fb923c; }
.pd-btn[data-d="36"].pd-active .pd-btn-lv { color: #f87171; }

/* ── アクション ── */
.pz-start-action {
  position: relative;
  z-index: 1;
  padding: 14px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pz-start-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #6ee2c2 0%, #3db89a 100%);
  color: #000;
  font-size: 16px;
  font-weight: 900;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  letter-spacing: .05em;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  animation: pz-btn-glow 2.4s 1.4s ease-in-out infinite;
}
/* ボタンシャイン */
.pz-start-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 28%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  animation: pz-shine-sweep 3.5s 1.8s ease-in-out infinite;
}
.pz-start-btn svg { flex-shrink: 0; position: relative; z-index: 1; }
.pz-start-btn span { position: relative; z-index: 1; }

.pz-shuffle-btn {
  width: 100%;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.35);
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color .15s, border-color .15s;
}
.pz-shuffle-btn:hover { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }

/* ─── ゲーム画面ヘッダー ─── */
.pz-ghdr {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-bottom: 8px;
}
.pz-back-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pz-ghdr-title {
  flex: 1;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-sub);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: -.01em;
}
.pz-ghdr-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pz-counter {
  font-size: 12px;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: .04em;
}
.pz-reset-btn {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ─── ゲームコンテナ ─── */
.pz-game {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  border: 1.5px solid #1c1c1c;
  background: #040404;
  box-shadow:
    0 0 0 1px rgba(110,226,194,.06),
    0 8px 28px rgba(0,0,0,.65);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.pz-board {
  position: absolute;
  display: block;
}
.pz-tray-sep {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(110,226,194,.1);
  pointer-events: none;
}

/* ─── クリアモーダル ─── */

/* インゲームオーバーレイ（COMPLETE テキスト） */
@keyframes pz-board-pulse {
  from { box-shadow: 0 0 0 2px rgba(110,226,194,.8), 0 0 40px rgba(110,226,194,.4); }
  to   { box-shadow: 0 0 0 3px rgba(110,226,194,1),  0 0 80px rgba(110,226,194,.7), 0 0 120px rgba(110,226,194,.2); }
}
@keyframes pz-star-spin {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.3); }
  to   { transform: rotate(360deg) scale(1); }
}
@keyframes pz-complete-pop {
  0%   { opacity: 0; transform: scale(.5) translateY(12px); letter-spacing: .08em; }
  55%  { opacity: 1; transform: scale(1.12) translateY(-4px); }
  75%  { transform: scale(.97); }
  100% { transform: scale(1); letter-spacing: .22em; }
}
@keyframes pz-sub-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pz-modal-in {
  from { opacity: 0; transform: scale(.82) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pm-shine {
  0%   { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(230%) skewX(-18deg); }
}
@keyframes pm-cover-glow {
  0%,100% { box-shadow: 0 8px 28px rgba(0,0,0,.6); }
  50%      { box-shadow: 0 8px 28px rgba(0,0,0,.6), 0 0 0 3px rgba(110,226,194,.5), 0 0 40px rgba(110,226,194,.25); }
}

.pz-co-star {
  font-size: 28px;
  animation: pz-star-spin 1.4s ease-in-out forwards;
  color: #6ee2c2;
  filter: drop-shadow(0 0 12px rgba(110,226,194,.8));
}
.pz-co-complete {
  font-size: clamp(26px, 8vw, 38px);
  font-weight: 900;
  letter-spacing: .22em;
  color: #6ee2c2;
  text-shadow:
    0 0 20px rgba(110,226,194,.8),
    0 0 50px rgba(110,226,194,.4),
    0 2px 0 rgba(0,0,0,.5);
  animation: pz-complete-pop .6s .1s cubic-bezier(.34,1.36,.64,1) both;
}
.pz-co-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.75);
  animation: pz-sub-fade .5s .55s ease-out both;
}

/* モーダルオーバーレイ */
.pm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.pm-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.pm-modal {
  background: linear-gradient(160deg, #141414 0%, #0d0d0d 100%);
  border: 1px solid rgba(110,226,194,.28);
  border-radius: 22px;
  padding: 28px 22px 24px;
  width: 100%;
  position: relative;
}

.pm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.pm-close:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
  max-width: 340px;
  text-align: center;
  animation: pz-modal-in .55s cubic-bezier(.34,1.18,.64,1) both;
  box-shadow:
    0 0 0 1px rgba(110,226,194,.1),
    0 0 80px rgba(110,226,194,.15),
    0 24px 72px rgba(0,0,0,.8);
  position: relative;
  overflow: hidden;
}
.pm-modal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 40% at 50% -5%, rgba(110,226,194,.12) 0%, transparent 70%);
  pointer-events: none;
}
.pm-complete {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(110,226,194,.08);
  border: 1px solid rgba(110,226,194,.2);
  border-radius: 20px;
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.pm-headline {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.pm-copy-txt {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.pm-cover {
  position: relative;
  width: 110px;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  margin: 0 auto 16px;
  background: var(--surface-3);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.1);
  animation: pm-cover-glow 2s 1s ease-in-out infinite;
  overflow: hidden;
}
.pm-cover::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  animation: pm-shine 2.4s 1.2s ease-in-out 1;
}
.pm-series-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.025em;
  margin-bottom: 22px;
  line-height: 1.35;
  padding: 0 4px;
}
.pm-actions { display: flex; flex-direction: column; gap: 9px; }
.pm-btn-read {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background: linear-gradient(135deg, #6ee2c2 0%, #4ecba8 100%);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  box-shadow: 0 4px 20px rgba(110,226,194,.35);
}
.pm-btn-replay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 700;
  border-radius: 11px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.pm-btn-replay:hover { background: var(--surface-3); color: var(--text); }
/* ── Genres ── */
/* ── Genres section ── */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.genre-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  padding: 15px 14px 13px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 70% at 0% 0%, var(--gc-glow, rgba(110,226,194,.12)) 0%, transparent 65%),
    rgba(14,14,18,1);
  border: 1px solid var(--gc-bd, rgba(255,255,255,.09));
  transition: filter .2s;
}
.genre-card:active { filter: brightness(1.2); }
.genre-card-name {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.genre-card-count {
  font-size: 10px;
  color: var(--gc, rgba(110,226,194,.7));
  font-weight: 800;
  letter-spacing: .02em;
}

/* search bar */
.search-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.search-wrap {
  position: relative;
  margin-bottom: 4px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-mute);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 0 50px 0 42px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.search-input::placeholder { color: var(--text-mute); }
.search-input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(110,226,194,.1);
}
.search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--mint);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
}

/* ── Benefits ── */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 18px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: var(--bi-bg, rgba(14,16,14,1));
  border: 1px solid var(--bi-bd, rgba(110,226,194,.18));
}
/* 左上グロー */
.benefit-item::before {
  content: '';
  position: absolute;
  top: -30px; left: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--bi-glow, rgba(110,226,194,.2)) 0%, transparent 65%);
  pointer-events: none;
}
/* 右下に薄いステップ番号ウォーターマーク */
.benefit-item::after {
  content: attr(data-step);
  position: absolute;
  bottom: -6px; right: 12px;
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,.04);
  line-height: 1;
  letter-spacing: -.05em;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.benefit-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bi-icon-bg, rgba(110,226,194,.1));
  border: 1px solid var(--bi-bd, rgba(110,226,194,.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bi-color, var(--accent));
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px var(--bi-glow, rgba(110,226,194,.3)));
}
.benefit-icon-wrap svg { width: 26px; height: 26px; }
.benefit-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.benefit-step {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--bi-color, var(--accent));
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 5px;
}
.benefit-label {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.benefit-desc {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}


/* ── More Link ── */
.more {
  margin-top: 14px;
  text-align: center;
}

.more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-md);
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
}

/* ── Final CTA ── */
/* ── Final CTA ── */
@keyframes final-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110,226,194,.6), 0 6px 40px rgba(110,226,194,.4); }
  50%       { box-shadow: 0 0 0 14px rgba(110,226,194,.0), 0 6px 40px rgba(110,226,194,.7); }
}
@keyframes final-shine {
  0%   { transform: translateX(-130%) skewX(-20deg); }
  100% { transform: translateX(230%) skewX(-20deg); }
}
@keyframes star-twinkle {
  0%, 100% { opacity: .95; transform: scale(1) rotate(0deg); }
  40%       { opacity: .15; transform: scale(.4) rotate(60deg); }
  70%       { opacity: .6;  transform: scale(1.2) rotate(90deg); }
}
@keyframes ring-breathe {
  0%, 100% { opacity: .18; transform: translateX(-50%) scale(1); }
  50%       { opacity: .32; transform: translateX(-50%) scale(1.06); }
}
@keyframes ray-rotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

.final {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: 4px;
}

/* 画像エリア */
.final-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.final-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
/* 下端フェード */
.final-visual::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent 0%, rgba(8,10,8,1) 100%);
}

/* 輝く星スパーク */
.final-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.fsp {
  position: absolute;
  display: block;
  animation: star-twinkle 2s ease-in-out infinite;
}
.fsp::before, .fsp::after {
  content: '';
  position: absolute;
  border-radius: 2px;
}
.fsp::before {
  width: 2px; height: 12px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(110,226,194,.9);
  box-shadow: 0 0 6px 2px rgba(110,226,194,.6);
}
.fsp::after {
  width: 12px; height: 2px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(110,226,194,.9);
  box-shadow: 0 0 6px 2px rgba(110,226,194,.6);
}
/* 小さいスパーク */
.fsp-s::before { width: 1px; height: 7px; box-shadow: 0 0 4px 1px rgba(255,220,100,.7); background: rgba(255,220,100,.9); }
.fsp-s::after  { width: 7px; height: 1px; box-shadow: 0 0 4px 1px rgba(255,220,100,.7); background: rgba(255,220,100,.9); }

.fsp-1 { top: 18%; left: 7%;  animation-duration: 2.1s; animation-delay: 0s; }
.fsp-2 { top: 28%; right: 9%; animation-duration: 1.7s; animation-delay: .5s; }
.fsp-3 { top: 12%; right: 20%; animation-duration: 2.6s; animation-delay: .9s; width:8px; height:8px; }
.fsp-4 { top: 55%; left: 12%; animation-duration: 1.9s; animation-delay: 1.3s; }
.fsp-5 { top: 40%; right: 5%;  animation-duration: 2.4s; animation-delay: 0.4s; width:8px; height:8px; }
.fsp-6 { top: 70%; right: 14%; animation-duration: 2.8s; animation-delay: .7s; }
.fsp-7 { top: 22%; left: 28%; animation-duration: 1.5s; animation-delay: 1.6s; }
.fsp-8 { top: 65%; left: 22%; animation-duration: 2.2s; animation-delay: .2s; }

/* コンテンツエリア */
.final-box {
  position: relative;
  z-index: 2;
  padding: 8px 24px 64px;
  text-align: center;
  background: rgba(8,10,8,1);
  overflow: hidden;
}
/* 放射状ライン背景 */
.final-box::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 600px; height: 600px;
  transform: translateX(-50%);
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg, transparent 11.5deg,
    rgba(110,226,194,.025) 11.5deg, rgba(110,226,194,.025) 12deg
  );
  border-radius: 50%;
  pointer-events: none;
  animation: ray-rotate 80s linear infinite;
}
/* 光輪 */
.final-ring {
  position: absolute;
  left: 50%; top: 40px;
  width: 320px; height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(110,226,194,.14) 0%, rgba(110,226,194,.04) 50%, transparent 70%);
  animation: ring-breathe 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* アイブロウ */
.final-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .24em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
}
.final-eyebrow-line {
  display: block;
  width: 32px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  opacity: .7;
}
.final-eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* タイトル */
.final-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  text-shadow: 0 0 40px rgba(110,226,194,.25);
}
.final-title em {
  font-style: normal;
  background: linear-gradient(100deg, #6ee2c2 0%, #b0fff0 40%, #ffe999 80%, #6ee2c2 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: final-shine 4s linear infinite;
}

/* コピー */
.final-copy {
  font-size: 12px;
  color: rgba(255,255,255,.48);
  line-height: 1.85;
  margin-bottom: 26px;
  position: relative;
}

/* 区切り */
.final-divider {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.final-divider-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,226,194,.5));
}
.final-divider-line:last-child {
  background: linear-gradient(90deg, rgba(110,226,194,.5), transparent);
}
.final-divider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px 3px rgba(110,226,194,.7), 0 0 20px 4px rgba(110,226,194,.3);
}
.final-divider-diamond {
  width: 6px; height: 6px;
  background: rgba(255,220,100,.8);
  transform: rotate(45deg);
  box-shadow: 0 0 8px 2px rgba(255,220,100,.6);
}

/* ボタン群 */
.final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* ── btn-fill-lg（Final CTA 大サイズ・完全独立） ── */
.btn-fill-lg {
  --curve: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100px;
  padding: 20px 28px;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 0;
  clip-path: polygon(
    0 var(--curve), var(--curve) 0,
    100% 0, 100% calc(100% - var(--curve)),
    calc(100% - var(--curve)) 100%, 0 100%
  );
  background: linear-gradient(-45deg, #ffd97a, #6ee2c2, #b0f5e0, #ffd97a);
  background-size: 300% 300%;
  animation: move-bg7234 3s ease infinite, btn-breathe 3s ease-in-out infinite;
}
/* 黒フィル：clip-path で角のボーダーも均等に出す */
.btn-fill-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #030c06;
  z-index: 0;
  animation: btn-reveal 5s ease-in-out infinite;
  clip-path: polygon(
    2px calc(var(--curve) + 2px),
    calc(var(--curve) + 2px) 2px,
    calc(100% - 2px) 2px,
    calc(100% - 2px) calc(100% - var(--curve) - 2px),
    calc(100% - var(--curve) - 2px) calc(100% - 2px),
    2px calc(100% - 2px)
  );
}
/* テキストは z-index: 1 で黒フィルの上に確定 */
.btn-fill-lg .btn-sub-text,
.btn-fill-lg .btn-main-text {
  position: relative;
  z-index: 1;
  display: block;
}
.btn-fill-lg .btn-sub-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 10px #000, 0 1px 3px #000;
}
.btn-fill-lg .btn-main-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .03em;
  color: #fff;
  text-shadow: 0 0 12px #000, 0 1px 4px #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost-lg {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(110,226,194,.2);
  color: rgba(255,255,255,.5);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
}

/* 角装飾 */
.final-deco {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.final-deco--tl {
  top: 14px; left: 14px;
  width: 36px; height: 36px;
  border-top: 1.5px solid rgba(110,226,194,.55);
  border-left: 1.5px solid rgba(110,226,194,.55);
}
.final-deco--tr {
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-top: 1.5px solid rgba(110,226,194,.55);
  border-right: 1.5px solid rgba(110,226,194,.55);
}

/* ── Footer Space ── */
.footer-space {
  height: 96px;
}

/* ── Floating Bar ── */
.floatbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  /* 初期は非表示 */
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.floatbar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floatinner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  border-radius: 16px;
  background: rgba(18,18,18,.97);
  border: 1px solid var(--border-md);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0,0,0,.7);
}

.float-text strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}

.float-text span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-sub);
}

.float-btn {
  --curve: 0.45em;
  flex-shrink: 0;
  height: 42px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
  clip-path: polygon(
    0% var(--curve), var(--curve) 0%,
    100% 0%, 100% calc(100% - var(--curve)),
    calc(100% - var(--curve)) 100%, 0% 100%
  );
}

/* ══ Site Footer ══ */
.cm-footer {
  background: #0f0f10;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 40px 16px 32px;
}

.cm-footer-inner {
  max-width: 480px;
  margin: 0 auto;
}

/* ロゴ＆キャッチ */
.cm-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.cm-footer-logo {
  height: 18px;
  width: auto;
  display: block;
  opacity: .85;
}

.cm-footer-catch {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .04em;
  font-weight: 500;
}

/* ナビリスト */
.cm-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cm-footer-item {
  border-bottom: 1px solid rgba(255,255,255,.05);
}

/* グループ区切り */
.cm-footer-divider {
  height: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin: 4px 0;
  pointer-events: none;
}

.cm-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .2s;
}

.cm-footer-link::after {
  content: '\203A';
  font-size: 15px;
  color: rgba(255,255,255,.2);
  transition: color .2s, transform .2s;
}

.cm-footer-link:hover {
  color: rgba(255,255,255,.85);
}

.cm-footer-link:hover::after {
  color: var(--mint);
  transform: translateX(3px);
}

/* 会員削除（危険色） */
.cm-footer-item--danger .cm-footer-link,
.cm-footer-link--danger {
  color: rgba(220,80,80,.6);
  font-size: 12px;
}

.cm-footer-link--danger::after {
  display: none;
}

/* コピーライト */
.cm-footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.2);
  letter-spacing: .06em;
}

