/* =====================================================================
   CONCEPT — 「WOL＝月」と「TEN PEOPLE, TEN COLORS」
   夜のヒーローで月が灯り、下は明るい色帯。虹は10本の色が順に描かれてできあがる
   各セクションは画面に入ると .is-lit（concept.js）
   ===================================================================== */

br.sp { display: none; }
@media (max-width: 599px) { br.sp { display: inline; } }

/* ---------- 星（ヒーローと同じ蛍光イエロー） ---------- */
.cx-stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cx-stars .ystar {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0;
  scale: 0.2;
  pointer-events: auto;
}
.cx-stars .ystar svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 5px rgba(246, 255, 0, 0.9)) drop-shadow(0 0 14px rgba(246, 255, 0, 0.5)); }
.cx-stars .ystar--pc { display: none; }
@media (min-width: 768px) { .cx-stars .ystar--pc { display: block; } }
.is-lit .cx-stars .ystar { animation: cxPop 0.8s var(--bounce) calc(0.4s + var(--k) * 0.14s) forwards; }
.is-lit .cx-stars .ystar svg { animation: cxTwinkle calc(2.6s + var(--k) * 0.3s) ease-in-out calc(1.4s + var(--k) * 0.14s) infinite; }
.cx-stars .ystar.is-poke svg { animation: cxSpin 0.9s var(--bounce); }
@keyframes cxPop { 0% { opacity: 0; scale: 0.2; rotate: -90deg; } 70% { opacity: 1; scale: 1.25; } 100% { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes cxTwinkle { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: 1.15; rotate: 12deg; } }
@keyframes cxSpin { from { rotate: 0deg; scale: 1.3; } to { rotate: 360deg; scale: 1; } }

/* ---------- HERO ---------- */
.cx-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: calc(var(--head-h) + 18px) 0 clamp(150px, 17vw, 220px);
  background:
    radial-gradient(ellipse 50% 40% at 50% 34%, rgba(255, 140, 220, 0.28), transparent 70%),
    linear-gradient(180deg, #1a1478, #2420b4 30%, #2f4fd8 58%, #3f8ae8 80%, #74c6f4);
}
.cx-hero-crumbs { position: relative; z-index: 3; }
.cx-hero .crumbs, .cx-hero .crumbs a { color: rgba(255, 255, 255, 0.85); }
.cx-hero-inner { position: relative; z-index: 2; padding: 0 20px; }
.cx-moon { display: block; width: clamp(150px, 20vw, 210px); margin: 18px auto 10px; overflow: visible; }
.nmoon .glass, .nmoon .tube, .nmoon .core { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nmoon .glass { stroke: rgba(255, 255, 255, 0.22); stroke-width: 9; }
.nmoon .tube, .nmoon .core { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nmoon .tube { stroke: #f6ff00; stroke-width: 9; }
.nmoon .core { stroke: #fff; stroke-width: 2.6; opacity: 0.85; }
.nmoon-g { filter: url(#neonGlow); transform-box: view-box; transform-origin: 300px 560px; }
.nsign-star { transform-box: fill-box; transform-origin: center; }
.cx-hero.is-lit .nmoon .moon { animation: cxDraw 1.3s cubic-bezier(0.5, 0, 0.3, 1) 0.2s forwards, cxMoonFill 0.8s ease 1.5s forwards; }
.cx-hero.is-lit .nmoon .s1 .star { animation: cxDraw 0.45s ease-out 1.4s forwards; }
.cx-hero.is-lit .nmoon .s2 .star { animation: cxDraw 0.4s ease-out 1.6s forwards; }
.cx-hero.is-lit .nmoon-g { animation: cxFlash 1s ease-out 1.45s, cxSwing 6s ease-in-out 2.6s infinite alternate; }
.cx-hero.is-lit .nsign-star.s1 { animation: cxTwinkle 2.4s ease-in-out 2.2s infinite; }
.cx-hero.is-lit .nsign-star.s2 { animation: cxTwinkle 2s ease-in-out 2.6s infinite; }
@keyframes cxDraw { to { stroke-dashoffset: 0; } }
@keyframes cxMoonFill { from { fill: rgba(246, 255, 0, 0); } to { fill: rgba(246, 255, 0, 0.12); } }
@keyframes cxFlash { 0% { filter: url(#neonGlow) brightness(1); } 30% { filter: url(#neonGlow) brightness(2.2); } 100% { filter: url(#neonGlow) brightness(1); } }
@keyframes cxSwing { from { rotate: -3deg; } to { rotate: 4deg; translate: 0 -6px; } }

.cx-kicker {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  color: #f6ff00;
  text-shadow: 0 0 8px rgba(246, 255, 0, 0.8);
  opacity: 0;
}
.cx-hero-title {
  margin-top: 14px;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 26px rgba(255, 45, 149, 0.6);
  opacity: 0;
}
.cx-moonword {
  color: #f6ff00;
  text-shadow: 0 0 8px rgba(246, 255, 0, 0.95), 0 0 24px rgba(246, 255, 0, 0.6), 0 0 50px rgba(255, 255, 255, 0.4);
  font-size: 1.25em;
}
.cx-hero-lead { margin-top: 22px; font-weight: 700; line-height: 2.1; font-size: clamp(0.92rem, 1.6vw, 1.05rem); opacity: 0; }
.cx-hero.is-lit .cx-kicker { animation: cxUp 0.8s ease 1.6s forwards; }
.cx-hero.is-lit .cx-hero-title { animation: cxUp 0.9s var(--bounce) 1.9s forwards; }
.cx-hero.is-lit .cx-hero-lead { animation: cxUp 0.9s ease 2.4s forwards; }
@keyframes cxUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cx-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 120px;
  translate: -50% 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0;
}
.cx-scroll::after { content: ""; display: block; width: 2px; height: 34px; margin: 8px auto 0; background: linear-gradient(#fff, transparent); animation: cxDrop 1.8s ease-in-out infinite; }
.cx-hero.is-lit .cx-scroll { animation: cxUp 0.8s ease 3s forwards; }
@keyframes cxDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 767px) { .cx-scroll { display: none; } }

/* ---------- ORIGIN ---------- */
.cx-origin { padding-top: clamp(60px, 8vw, 100px); }
.cx-origin-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .cx-origin-grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; } }
.cx-word {
  position: relative;
  width: min(80vw, 380px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: radial-gradient(circle at 38% 34%, #fffde0, #f6ff00 55%, #ffd400);
  border: var(--line);
  box-shadow: 0 10px 0 var(--ink), 0 0 50px rgba(246, 255, 0, 0.7);
  color: var(--ink);
}
.cx-word-ko { font-family: var(--font-jp); font-weight: 900; font-size: clamp(5rem, 15vw, 8.4rem); line-height: 1; }
.cx-word-eq { display: flex; align-items: baseline; gap: 10px; font-weight: 900; font-size: clamp(1.3rem, 3.4vw, 1.8rem); }
.cx-word-eq i { font-style: normal; color: var(--coral); }
.cx-word-eq b:last-child { font-family: var(--font-jp); }
/* 月のまわりを回る小さな星 */
.cx-word-ring { position: absolute; inset: -22px; border-radius: 50%; border: 2px dashed rgba(17, 17, 17, 0.25); animation: cxRot 30s linear infinite; }
.cx-word-ring::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  background: var(--coral);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 6px var(--coral));
}
@keyframes cxRot { to { rotate: 360deg; } }

.cx-h2 { margin: 18px 0 22px; font-family: var(--font-jp); font-weight: 900; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.5; letter-spacing: 0.05em; }
.cx-origin-text p:not(.pill-label) { line-height: 2.1; font-weight: 600; }
.cx-origin-text p + p { margin-top: 1em; }
@media (max-width: 899px) { .cx-origin-text { text-align: center; } }

.cx-wish {
  position: relative;
  max-width: 760px;
  margin: clamp(60px, 8vw, 96px) auto 0;
  padding: 40px 24px 34px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--coral), 0 0 40px rgba(255, 45, 149, 0.55);
}
@media (max-width: 599px) { .cx-wish { border-radius: 36px; margin-inline: 16px; } }
.cx-wish-label {
  position: absolute;
  top: -16px;
  left: 50%;
  translate: -50% 0;
  padding: 6px 18px;
  border-radius: 999px;
  background: #f6ff00;
  color: var(--ink);
  border: var(--line);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.cx-wish blockquote {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(1.25rem, 3.2vw, 1.9rem);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 20px #ff2d95, 0 0 40px rgba(255, 45, 149, 0.6);
}
.cx-wish blockquote::before { content: "「"; }
.cx-wish blockquote::after { content: "」"; }
.cx-wish figcaption { margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); }

/* ---------- OUR CONCEPT ---------- */
.cx-colors-head { text-align: center; }
.cx-ten {
  margin-top: 18px;
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #ff2d55, #ff7a1a, #ffc400, #c8f000, #00e0a0, #00c8ff, #1f6bff, #8a4dff, #ff4fd8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  filter: drop-shadow(0 5px 0 var(--ink));
}
.cx-ten span { display: inline-block; }
.cx-oshi { margin-top: 16px; font-family: var(--font-jp); font-weight: 900; font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
.cx-oshi b { color: var(--coral); }

.cx-rainbow-box { position: relative; max-width: 640px; margin: 40px auto 0; }
.cx-rainbow { display: block; width: 100%; height: auto; overflow: visible; }
.cx-rainbow .arc {
  fill: none;
  stroke: var(--c);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 5px var(--c));
  transition: opacity 0.3s, stroke-width 0.3s;
}
.cx-colors.is-lit .cx-rainbow .arc { animation: cxDraw 1.1s cubic-bezier(0.5, 0, 0.3, 1) calc(0.5s + var(--k) * 0.16s) forwards; }
.cx-rainbow.has-hl .arc { opacity: 0.18; }
.cx-rainbow.has-hl .arc.is-hl { opacity: 1; stroke-width: 20; }
.cx-rainbow-star { opacity: 0; transform-box: fill-box; transform-origin: center; }
.cx-rainbow-star use { filter: drop-shadow(0 0 8px rgba(246, 255, 0, 0.9)); }
.cx-colors.is-lit .cx-rainbow-star { animation: cxPop 0.9s var(--bounce) 2.4s forwards; }
.cx-rainbow-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2%;
  text-align: center;
  font-weight: 900;
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  letter-spacing: 0.2em;
  opacity: 0;
}
.cx-colors.is-lit .cx-rainbow-cap { animation: cxUp 0.8s ease 2.6s forwards; }

.cx-chips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 760px;
  margin: 34px auto 0;
}
.cx-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: clamp(0.68rem, 1.5vw, 0.86rem);
  text-align: center;
  cursor: default;
  outline: none;
  opacity: 0;
  transform: translate(calc((var(--k) - 4.5) * -14px), 60px) scale(0.4);
}
.cx-dot {
  width: clamp(40px, 8vw, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), transparent 40%), var(--c);
  border: var(--line);
  box-shadow: 0 5px 0 var(--ink), 0 0 18px var(--c);
  transition: translate 0.3s var(--bounce), box-shadow 0.3s;
}
@media (hover: hover) and (pointer: fine) { .cx-chip:hover .cx-dot, .cx-chip:focus-visible .cx-dot { translate: 0 -8px; box-shadow: 0 13px 0 var(--ink), 0 0 30px var(--c); } }
.cx-colors.is-lit .cx-chip { animation: cxChip 0.8s var(--bounce) calc(0.5s + var(--k) * 0.16s) forwards; }
@keyframes cxChip { to { opacity: 1; transform: none; } }

.cx-colors-text { max-width: 40em; margin: 46px auto 0; text-align: center; line-height: 2.1; font-weight: 600; }
.cx-colors-text p + p { margin-top: 1em; }
.cx-colors-text p:last-child { font-weight: 900; }

/* ---------- STATEMENT ---------- */
.cx-state { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cx-state-inner { position: relative; z-index: 2; }
.cx-state-big { font-family: var(--font-jp); font-weight: 900; font-size: clamp(1.6rem, 5vw, 3.2rem); line-height: 1.5; letter-spacing: 0.05em; }
.cx-line {
  display: block;
  color: rgba(255, 255, 255, 0.25);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}
.cx-state.is-lit .cx-line { animation: cxOn 1s linear calc(0.3s + var(--i) * 0.45s) forwards; }
@keyframes cxOn {
  0% { color: rgba(255, 255, 255, 0.25); text-shadow: none; }
  12%, 34%, 100% { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 26px rgba(246, 255, 0, 0.6); }
  20% { color: rgba(255, 255, 255, 0.35); text-shadow: none; }
}
/* 2行目は灯ったあと虹色に流れる */
.cx-line:nth-child(2) { animation: cxOn 1s linear 0.75s forwards, cxRainbowText 0.01s linear 1.8s forwards; }
@keyframes cxRainbowText { to { color: transparent; } }
.cx-line:nth-child(2) {
  background: linear-gradient(90deg, #f6ff00, #fff 30%, #00f5ff 55%, #f6ff00 80%, #fff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: none;
}
.cx-state.is-lit .cx-line:nth-child(2) { animation: cxOn 1s linear 0.75s forwards, cxShine 4s linear 1.8s infinite; }
@keyframes cxShine {
  from { background-position: 0 0; color: transparent; text-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
  to { background-position: -200% 0; color: transparent; text-shadow: 0 0 16px rgba(255, 255, 255, 0.35); }
}
.cx-state-mid {
  display: inline-block;
  margin-top: 34px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: var(--line);
  box-shadow: 0 5px 0 var(--ink);
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(0.92rem, 2.2vw, 1.2rem);
  opacity: 0;
}
.cx-state-end { margin-top: 26px; font-weight: 800; font-size: clamp(0.95rem, 2vw, 1.15rem); line-height: 1.9; color: #fff; opacity: 0; }
.cx-state.is-lit .cx-state-mid { animation: cxUp 0.8s var(--bounce) 1.7s forwards; }
.cx-state.is-lit .cx-state-end { animation: cxUp 0.8s ease 2.1s forwards; }

/* ---------- HOW ---------- */
.cx-how-grid { display: grid; gap: 22px; margin-top: 10px; }
@media (min-width: 860px) { .cx-how-grid { grid-template-columns: repeat(3, 1fr); } }
.cx-how-card {
  position: relative;
  padding: 30px 26px 26px;
  background: #fff;
  color: var(--ink);
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--ink), 0 0 30px color-mix(in srgb, var(--c) 70%, transparent);
  border-top: 14px solid var(--c);
}
.cx-how-num { font-weight: 900; font-size: 1.6rem; line-height: 1; }
.cx-how-num span { margin-left: 6px; font-size: 0.78rem; letter-spacing: 0.14em; vertical-align: middle; }
.cx-how-card h3 { margin: 14px 0 10px; font-family: var(--font-jp); font-weight: 900; font-size: 1.25rem; }
.cx-how-card p:not(.cx-how-num) { line-height: 1.95; font-weight: 600; font-size: 0.92rem; }
.cx-how-link { display: inline-block; margin-top: 16px; font-weight: 900; font-size: 0.88rem; border-bottom: 3px solid var(--c); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .cx-how-link:hover { color: var(--coral); } }

@media (prefers-reduced-motion: reduce) {
  .cx-hero *, .cx-colors *, .cx-state * { animation-duration: 0.01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
}
@media (max-width: 599px) { .cx-state-mid { border-radius: 26px; line-height: 1.6; } }
