/* ===========================================================
   WEB.STUDIO LP — Stylesheet (Light & Minimal)
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; color: inherit; font: inherit; }
ul, ol { list-style: none; }

/* ------- Tokens ------- */
:root {
  --bg: #fafafa;          /* 白基調（少しグレー寄りで目に優しい） */
  --bg-alt: #f4f4f3;       /* セクション交互背景 */
  --surface: #ffffff;      /* カード純白 */
  --border: #e7e5e0;
  --border-strong: #c8c5be;

  --text: #0a0a0a;          /* 純黒に近い */
  --text-mute: #4a4a48;
  --text-dim: #8a8884;

  --accent: #0a0a0a;        /* 黒（CTAボタン等） */
  --accent-soft: #1a1a1a;
  --highlight: #f97316;     /* オレンジ：差し色 */
  --highlight-soft: rgba(249, 115, 22, 0.18);  /* タイトルマーカーや帯に */
  --highlight-deep: #ea580c; /* ホバー強調 */

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;

  --container: 1140px;
  --container-narrow: 820px;

  --t-fast: 0.2s ease;
  --t-med: 0.4s cubic-bezier(.4,0,.2,1);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 0.02em;
}
body { overflow-x: hidden; }

::selection { background: var(--text); color: var(--bg); }

/* ------- Container ------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ------- Header ------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: background var(--t-fast), border-color var(--t-fast);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom-color: var(--border);
}
.header__logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.header__nav {
  display: none;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--text-mute);
}
.header__nav a { transition: color var(--t-fast); }
.header__nav a:hover { color: var(--text); }
.header__cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast);
}
.header__cta:hover { background: var(--accent-soft); transform: translateY(-1px); }

/* ハンバーガーボタン（モバイル時のみ） */
.header__menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  margin-left: 8px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.header__menu:hover { background: var(--bg-alt); border-color: var(--text); }
.header__menu span {
  display: block;
  margin: 0 auto;
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.header__menu span:nth-child(2) { width: 12px; }
body.is-menu-open .header__menu span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
body.is-menu-open .header__menu span:nth-child(2) {
  opacity: 0;
}
body.is-menu-open .header__menu span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  width: 16px;
}

@media (min-width: 880px) {
  .header { padding: 22px 40px; }
  .header__nav { display: flex; }
  .header__menu { display: none; }
}

/* モバイルメニュー（フルスクリーンドロワー） */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: var(--bg);
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
body.is-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}
body.is-menu-open { overflow: hidden; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu__num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  font-weight: 400;
}
.mobile-menu__cta {
  margin-top: 28px;
  justify-content: center !important;
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: 100px;
  border-bottom: 0 !important;
  padding: 18px 24px !important;
  font-size: 1rem !important;
}
.mobile-menu__foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

@media (min-width: 880px) {
  .mobile-menu { display: none; }
}

/* ------- Hero ------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  width: 52vw;
  max-width: 640px;
  aspect-ratio: 1 / 1;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}
@media (max-width: 880px) {
  .hero__canvas {
    width: 80vw;
    max-width: 460px;
    right: -12%;
    top: 92px;
    transform: none;
    opacity: 0.4;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero__text { max-width: 640px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text);
  padding: 6px 18px 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero__badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--highlight);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
  animation: badgeDot 2.4s ease-in-out infinite;
}
@keyframes badgeDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  font-feature-settings: "palt";
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero__title-nb {
  white-space: nowrap;
}
/* 狭い画面では「決めれる」と「WEB制作。」の間で改行させる */
@media (max-width: 520px) {
  .hero__title-nb { display: block; }
}
.hero__title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 10px;
  background: var(--highlight);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
}

.hero__lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 2;
  color: var(--text-mute);
  margin-bottom: 40px;
}
.hero__lead b { color: var(--text); font-weight: 700; }

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 48px;
}

.hero__points {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mute);
}
.hero__points li {
  position: relative;
  padding-left: 22px;
}
.hero__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--text);
}
.hero__points b { color: var(--text); font-weight: 700; }

.hero__alt {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.88rem;
  color: var(--text-mute);
}
.hero__alt a {
  color: var(--text);
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 2px;
  margin-left: 4px;
  transition: color var(--t-fast);
}
.hero__alt a:hover { color: var(--highlight); }
.hero__alt i {
  font-style: normal;
  display: inline-block;
  transition: transform var(--t-fast);
}
.hero__alt a:hover i { transform: translateX(3px); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--highlight);
  color: var(--highlight);
  transform: translateY(-1px);
}
.btn--full { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ------- Section / Section head ------- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.section-head__num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.section-head__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-head__lead {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-mute);
  max-width: 580px; margin: 0 auto;
}
.section-head__lead small { font-size: 0.85em; color: var(--text-dim); }

/* ------- Reveal ------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------- Strength ------- */
.strength__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .strength__grid { grid-template-columns: repeat(3, 1fr); }
}
.strength__card {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-med), border-color var(--t-med);
}
.strength__card:hover {
  transform: translateY(-4px);
  border-color: var(--highlight);
  box-shadow: 0 12px 30px -18px rgba(249, 115, 22, 0.2);
}
.strength__num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.strength__card h3 {
  font-size: 1.35rem;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.strength__card p {
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.95;
}

/* ------- Stats ------- */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stats__item { text-align: center; }
.stats__num {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.stats__label {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.08em;
}

/* ------- Price ------- */
.price__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 880px) { .price__grid { grid-template-columns: 1.05fr 0.95fr; } }
.price__card {
  position: relative;
  padding: 44px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
}
.price__card--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.price__ribbon {
  position: absolute; top: 20px; right: 20px;
  background: var(--highlight);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}
.price__tag {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.price__card--featured .price__tag {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.15);
}
.price__amount {
  margin-bottom: 32px;
  display: flex; flex-direction: column; gap: 4px;
}
.price__old {
  font-family: var(--font-en);
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-dim);
}
.price__card--featured .price__old { color: rgba(255,255,255,0.5); }
.price__main {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-en);
}
.price__yen { font-size: 1.3rem; font-weight: 600; }
.price__big {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price__unit { font-size: 0.88rem; color: var(--text-mute); }
.price__card--featured .price__unit { color: rgba(255,255,255,0.6); }
.price__campaign {
  font-size: 0.78rem;
  color: var(--highlight);
  margin-top: 4px;
}
.price__campaign--mute { color: var(--text-dim); }

.price__list {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  flex: 1;
}
.price__list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-mute);
  line-height: 1.8;
}
.price__card--featured .price__list li { color: rgba(255,255,255,0.85); }
.price__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--text-dim);
}
.price__card--featured .price__list li::before { background: var(--highlight); }
.price__list li b { color: var(--text); font-weight: 700; }
.price__card--featured .price__list li b { color: var(--bg); }

.price__note {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--r-sm);
  line-height: 1.8;
}
.price__card--featured .price__note {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.price__card--featured .btn--primary {
  background: var(--bg);
  color: var(--text);
}
.price__card--featured .btn--primary:hover { background: #fff; }

.price__remark {
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.price__remark h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.price__remark p {
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.95;
}
.price__remark b { color: var(--text); }

/* ------- Options ------- */
.option__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .option__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .option__grid { grid-template-columns: repeat(3, 1fr); } }
.option__item {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.option__item:hover {
  transform: translateY(-3px);
  border-color: var(--highlight);
}
.option__item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.option__item p {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.85;
  margin-bottom: 14px;
}
.option__item p b { color: var(--text); }
.option__price {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ------- Flow ------- */
.flow__list {
  position: relative;
  display: flex; flex-direction: column;
}
.flow__list::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 24px; bottom: 24px;
  width: 1px;
  background: var(--border);
}
@media (max-width: 768px) {
  .flow__list::before { left: 28px; }
}
.flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.flow__item:last-child { border-bottom: 0; }
@media (max-width: 768px) {
  .flow__item { grid-template-columns: 80px 1fr; }
}
.flow__item::before {
  content: '';
  position: absolute;
  left: 76px; top: 50px;
  width: 9px; height: 9px;
  background: var(--bg);
  border: 2px solid var(--text);
  border-radius: 50%;
  z-index: 1;
}
@media (max-width: 768px) {
  .flow__item::before { left: 24px; }
}
.flow__step {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  padding-top: 4px;
}
.flow__body h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.flow__body p {
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.95;
}
.flow__body b { color: var(--text); font-weight: 700; }

/* ------- Works ------- */
/* ------- Works headline (年間〇本以上 風) ------- */
.works__headline {
  text-align: center;
  margin: 24px auto 36px;
}
.works__headline-num {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-en);
  color: var(--text);
}
.works__headline-num strong {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--highlight);
  letter-spacing: -0.02em;
  line-height: 1;
}
.works__headline-num span {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text);
}
.works__headline-sub {
  margin-top: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}

/* ------- Works iPhone Carousel ------- */
.works__carousel {
  position: relative;
  margin: 0 auto;
  padding: 30px 0 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
}
.works__rail {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px clamp(20px, 8vw, 100px) 30px;
  perspective: 1200px;
}
.works__rail::-webkit-scrollbar { display: none; }

.works__item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 220px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.45s ease;
}
@media (min-width: 720px) { .works__item { width: 240px; } }
.works__item:hover { transform: translateY(-8px); }

/* iPhone frame */
.works__phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: #0a0a0a;
  border-radius: 38px;
  padding: 8px;
  box-shadow:
    0 28px 60px -20px rgba(10,10,10,0.45),
    0 0 0 1.5px #2a2a2a,
    inset 0 0 0 1px #333;
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}
.works__item:hover .works__phone {
  box-shadow:
    0 36px 80px -18px rgba(249,115,22,0.4),
    0 0 0 1.5px #2a2a2a,
    inset 0 0 0 1px #333;
}
/* Notch (Dynamic Island風) */
.works__phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  background: #0a0a0a;
  border-radius: 100px;
  z-index: 3;
}
/* Side button shines */
.works__phone::after {
  content: "";
  position: absolute;
  left: -1.5px;
  top: 90px;
  width: 3px;
  height: 28px;
  background: #2a2a2a;
  border-radius: 0 2px 2px 0;
}

/* Screen */
.works__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
}
.works__screen svg,
.works__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* Status bar (top) */
.works__status {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-family: var(--font-en, "Inter", sans-serif);
  font-size: 9px;
  font-weight: 700;
  color: #0a0a0a;
  z-index: 2;
}
.works__status-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.04em;
}
.works__status-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
}
.works__status-bars i {
  display: block;
  width: 2px;
  background: #0a0a0a;
  border-radius: 0.5px;
}
.works__status-bars i:nth-child(1) { height: 3px; }
.works__status-bars i:nth-child(2) { height: 5px; }
.works__status-bars i:nth-child(3) { height: 7px; }
.works__status-bars i:nth-child(4) { height: 9px; }
.works__status-bat {
  width: 18px;
  height: 8px;
  border: 1px solid #0a0a0a;
  border-radius: 2px;
  position: relative;
  padding: 1px;
}
.works__status-bat::after {
  content: "";
  display: block;
  width: 80%;
  height: 100%;
  background: #0a0a0a;
  border-radius: 0.5px;
}
.works__status-bat::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  width: 1.5px;
  height: 3px;
  background: #0a0a0a;
  border-radius: 0 1px 1px 0;
}

/* Home bar (bottom) */
.works__home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 4px;
  background: #0a0a0a;
  border-radius: 100px;
  z-index: 3;
  opacity: 0.85;
}

/* Caption under phone */
.works__caption-row {
  margin-top: 14px;
  text-align: center;
}
.works__tag {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--highlight);
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 4px;
}
.works__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}
.works__title small {
  font-size: 0.7em;
  color: var(--text-dim);
  font-weight: 400;
  margin-left: 4px;
}
.works__no {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--text-mute);
}

/* Carousel nav arrows */
.works__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px -8px rgba(10,10,10,0.2);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  z-index: 5;
  color: var(--text);
  font-size: 1.4rem;
  font-family: var(--font-en);
}
.works__nav:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.works__nav--prev { left: 8px; }
.works__nav--next { right: 8px; }
@media (max-width: 640px) {
  .works__nav { display: none; }
}

.works__caption {
  margin-top: 60px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
}
.works__caption p {
  color: var(--text-mute);
  font-size: 0.92rem;
  line-height: 2;
}

/* ------- FAQ ------- */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast);
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] { border-color: var(--highlight); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 28px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--text);
  font-weight: 300;
  transition: transform var(--t-fast);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--highlight); }
.faq__a {
  padding: 0 28px 24px;
  color: var(--text-mute);
  font-size: 0.9rem;
  line-height: 1.95;
}
.faq__a b { color: var(--text); }

/* ------- Contact ------- */
.contact {
  padding: 120px 0;
  background: var(--accent);
  color: var(--bg);
}
.contact__inner {
  text-align: center;
}
.contact__badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  color: var(--highlight);
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  margin-bottom: 28px;
}
.contact__title {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.contact__lead {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-size: 0.95rem;
  line-height: 2;
}
.contact__cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 24px;
}
.contact .btn--primary {
  background: var(--bg);
  color: var(--text);
}
.contact .btn--primary:hover { background: #fff; }
.contact .btn--ghost {
  border-color: rgba(255,255,255,0.25);
  color: var(--bg);
}
.contact .btn--ghost:hover { border-color: var(--bg); }
.contact__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ------- Footer ------- */
.footer {
  padding: 80px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 50px;
}
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1fr 2fr; } }
.footer__logo {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-block;
}
.footer__brand p { color: var(--text-mute); font-size: 0.88rem; }
.footer__operator {
  margin-top: 10px;
  font-size: 0.78rem !important;
  color: var(--text-dim) !important;
}
.footer__operator a {
  color: var(--text-mute);
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer__operator a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__nav h5 {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer__nav a {
  display: block;
  padding: 3px 0;
  font-size: 0.85rem;
  color: var(--text-mute);
  transition: color var(--t-fast);
}
.footer__nav a:hover { color: var(--text); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* ------- Legal pages ------- */
.legal {
  padding: 140px 0 80px;
  min-height: 80vh;
}
.legal__head {
  margin-bottom: 60px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal__back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 24px;
  transition: color var(--t-fast);
}
.legal__back a:hover { color: var(--text); }
.legal h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.legal__updated {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}
.legal__intro {
  margin-bottom: 48px;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--text-mute);
}
.legal__sec {
  margin-bottom: 40px;
}
.legal__sec h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.legal__sec p,
.legal__sec ul {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-mute);
}
.legal__sec ul {
  padding-left: 0;
  margin-top: 8px;
}
.legal__sec li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 4px;
}
.legal__sec li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.95em;
  width: 12px; height: 1px;
  background: var(--text-dim);
}
.legal__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 24px 0;
}
@media (min-width: 600px) {
  .legal__list { grid-template-columns: 220px 1fr; }
}
.legal__list dt {
  padding: 16px 0 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.legal__list dd {
  padding: 8px 0 16px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-mute);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
  .legal__list dt {
    padding: 18px 16px 18px 0;
    border-bottom: 1px solid var(--border);
  }
  .legal__list dd {
    padding: 18px 0;
    border-top: 1px solid var(--border);
  }
}
.legal__list dd a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--t-fast);
}
.legal__list dd a:hover { border-bottom-color: var(--text); }
.legal__list dd small {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.legal__note {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--text-mute);
}

/* ============================================================
   FreeDesign — 「まず¥0で見せる」訴求ブロック (3プランの前)
   ============================================================ */
.freedesign {
  margin-bottom: 56px;
  padding: 40px 28px 32px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}
.freedesign::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(249, 115, 22, 0.18), transparent 60%),
    radial-gradient(40% 30% at 0% 100%, rgba(249, 115, 22, 0.10), transparent 60%);
  pointer-events: none;
}
.freedesign > * { position: relative; z-index: 1; }

.freedesign__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.18);
}
@media (min-width: 760px) {
  .freedesign__head {
    grid-template-columns: auto 1fr;
    gap: 36px;
    text-align: left;
  }
}

.freedesign__zero {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--highlight);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}
.freedesign__zero b {
  font-size: 1.3em;
  display: inline-block;
  margin-left: -0.05em;
}

.freedesign__title {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 8px;
  color: var(--bg);
}
.freedesign__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(249, 115, 22, 0.45) 62%);
  padding: 0 4px;
  color: #fff;
}
.freedesign__lead {
  font-size: 0.88rem;
  line-height: 1.95;
  color: rgba(250, 250, 247, 0.78);
  margin: 0;
}
.freedesign__lead b {
  color: var(--highlight);
  font-weight: 700;
}

.freedesign__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .freedesign__steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
  }
  .freedesign__arrow {
    align-self: center;
    color: var(--highlight);
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 0 14px;
  }
}
@media (max-width: 759px) {
  .freedesign__arrow { display: none; }
}

.freedesign__step {
  position: relative;
  padding: 22px 20px;
  background: rgba(250, 250, 247, 0.06);
  border-radius: var(--r-sm);
  border: 1px solid rgba(250, 250, 247, 0.12);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.freedesign__step--highlight {
  background: rgba(249, 115, 22, 0.18);
  border-color: var(--highlight);
  box-shadow: 0 12px 30px -10px rgba(249, 115, 22, 0.5);
}
.freedesign__step-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--highlight);
  text-transform: uppercase;
}
.freedesign__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  line-height: 1.4;
}
.freedesign__step--highlight .freedesign__step-title {
  font-size: 1.1rem;
  color: var(--highlight);
}
.freedesign__step-desc {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(250, 250, 247, 0.7);
}
.freedesign__step-desc b {
  color: var(--highlight);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.15em;
  margin: 0 2px;
}

/* ============================================================
   Plans — 3-tier (Light / Standard / Unlimited)
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 720px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

/* 1プラン構成 (オールインクルーシブ) */
.plans--single {
  grid-template-columns: 1fr !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.plan--single {
  padding: 48px 40px 36px;
  transform: none;
}
.plan--single:hover { transform: translateY(-4px); }
.plan--single .plan__big { font-size: clamp(3rem, 6vw, 4rem); }
.plan--single .plan__rev { padding: 28px 16px; }
.plan--single .plan__rev-num { font-size: clamp(3rem, 6vw, 4.2rem); }
.plan__list--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 600px) {
  .plan__list--cols { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .plan__list--cols li { border-bottom: 1px solid rgba(250, 250, 247, 0.12); }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 0.3s cubic-bezier(.3,1,.4,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: var(--text);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
}

.plan--featured {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(249, 115, 22, 0.45);
}
.plan--featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 36px 72px -25px rgba(249, 115, 22, 0.55);
  border-color: var(--highlight);
}

.plan__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  background: var(--highlight);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
}

.plan__tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--highlight);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.plan--featured .plan__tag { color: var(--highlight); }

.plan__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.plan__price {
  font-family: var(--font-en);
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--border);
}
.plan--featured .plan__price { border-bottom-color: rgba(250, 250, 247, 0.2); }
.plan__price-yen { font-size: 1.5rem; font-weight: 700; }
.plan__big {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.plan__price small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.7;
  font-family: var(--font-jp);
}

/* 修正回数 — 巨大表示 */
.plan__rev {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.plan--featured .plan__rev {
  background: rgba(249, 115, 22, 0.18);
}
.plan__rev-label {
  font-size: 0.85rem;
  color: var(--text-mute);
  font-weight: 500;
}
.plan--featured .plan__rev-label { color: rgba(250, 250, 247, 0.75); }
.plan__rev-num {
  font-family: var(--font-en);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.plan--featured .plan__rev-num { color: var(--highlight); }
.plan__rev-unit {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
.plan--featured .plan__rev-unit { color: var(--bg); }

.plan__hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.plan--featured .plan__hint {
  color: var(--highlight);
  font-weight: 700;
}

.plan__list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.84rem;
  line-height: 1.85;
}
.plan__list li {
  position: relative;
  padding: 6px 0 6px 22px;
  border-bottom: 1px solid var(--border);
}
.plan--featured .plan__list li { border-bottom-color: rgba(250, 250, 247, 0.12); }
.plan__list li:last-child { border-bottom: none; }
.plan__list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  color: var(--highlight);
  font-weight: 700;
  font-size: 0.85rem;
}

.plan .btn--full {
  margin-top: auto;
}
.plan--featured .btn--ghost {
  border-color: var(--bg);
  color: var(--bg);
}
.plan--featured .btn--ghost:hover {
  background: var(--bg);
  color: var(--text);
}

/* ============================================================
   Compare — 他社比較表
   ============================================================ */
.compare {
  margin: 56px 0 48px;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.compare__title {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.compare__title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, var(--highlight-soft) 60%);
  padding: 0 4px;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare__table th,
.compare__table td {
  padding: 16px 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.compare__table thead th {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  padding-bottom: 18px;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.compare__table tbody td:first-child {
  font-weight: 700;
  color: var(--text-mute);
  background: var(--bg-alt);
  text-align: left;
  font-size: 0.85rem;
  padding-left: 18px;
}
.compare__table .compare__us {
  background: var(--text);
  color: var(--highlight);
  font-weight: 800;
  font-size: 1rem;
  position: relative;
}
.compare__table thead .compare__us {
  color: var(--highlight);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
}
.compare__table tbody .compare__us {
  color: #fff;
}
.compare__table tbody .compare__us b {
  color: var(--highlight);
  font-weight: 800;
}

@media (max-width: 600px) {
  .compare { padding: 28px 14px; }
  .compare__table { font-size: 0.82rem; }
  .compare__table th, .compare__table td { padding: 12px 8px; }
  .compare__table tbody td:first-child { font-size: 0.78rem; padding-left: 10px; }
}

/* ============================================================
   Maintenance card (separated below)
   ============================================================ */
.maintenance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 32px 28px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  align-items: center;
}
@media (min-width: 720px) {
  .maintenance { grid-template-columns: 1fr auto; gap: 32px; padding: 36px 40px; }
}
.maintenance__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.maintenance__body h3 b {
  color: var(--highlight);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 4px;
}
.maintenance__body p {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.85;
  margin: 0;
}

/* ===== Mystery Box ===== */
.mystery {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 24px clamp(60px, 10vw, 110px);
  background: linear-gradient(180deg, #fafaf7 0%, #f1efe9 100%);
  overflow: hidden;
  isolation: isolate;
}
.mystery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249,115,22,0.05), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(10,10,10,0.04), transparent 50%);
  z-index: -1;
  pointer-events: none;
}
.mystery__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.mystery__title {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: normal;
}
.mystery__title em {
  font-style: normal;
  color: var(--accent, #f97316);
}
.mystery__lead {
  font-size: 0.95rem;
  color: var(--text-mute);
  margin: 0 0 40px;
  letter-spacing: 0.08em;
}
.mystery__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 320px;
  max-width: 420px;
  margin: 0 auto 36px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 55%, #fff 0%, #f5f3ee 70%, transparent 100%);
}
@supports not (aspect-ratio: 1 / 1) {
  .mystery__stage { height: 380px; }
}
#mysteryCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}
.mystery__cosmos {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(249,115,22,0.18) 0%, transparent 28%),
    radial-gradient(ellipse at 50% 50%, #1a0a2e 0%, #0a0a18 45%, #000 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.mystery__cosmos.is-open {
  opacity: 1;
}
/* 中央フラッシュ */
.mystery__cosmos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.85) 0%, rgba(255,200,150,0.3) 6%, transparent 14%);
  opacity: 0;
  transform-origin: center;
  pointer-events: none;
}
.mystery__cosmos.is-open::before {
  animation: cosmosFlash 1.6s ease-out forwards;
}
/* 銀河の渦 */
.mystery__cosmos::after {
  content: '';
  position: absolute;
  inset: -30%;
  background:
    conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(249,115,22,0.08) 60deg,
      transparent 120deg,
      rgba(139,92,246,0.08) 180deg,
      transparent 240deg,
      rgba(96,165,250,0.06) 300deg,
      transparent 360deg);
  opacity: 0;
  pointer-events: none;
}
.mystery__cosmos.is-open::after {
  animation: cosmosSpiral 16s linear infinite, cosmosFadeIn 2.2s ease-out 0.4s forwards;
}
@keyframes cosmosFlash {
  0%   { opacity: 0; transform: scale(0.3); }
  18%  { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(3); }
}
@keyframes cosmosSpiral {
  to { transform: rotate(360deg); }
}
@keyframes cosmosFadeIn {
  to { opacity: 1; }
}
@keyframes cosmosStarTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.35); }
}
.cosmos-meteor {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff, 0 0 16px rgba(255,255,255,0.6);
  opacity: 0;
}
.cosmos-meteor::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  width: 110px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.85));
  transform: translateY(-50%);
  border-radius: 1px;
}
.mystery__cosmos.is-open .cosmos-meteor {
  animation: cosmosMeteor 2.6s linear infinite;
}
@keyframes cosmosMeteor {
  0%   { transform: translate(0, 0)       rotate(35deg); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(520px, 520px) rotate(35deg); opacity: 0; }
}
.mystery__hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--text-mute);
  opacity: 0.65;
  pointer-events: none;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
  animation: mysteryHintBlink 2.4s ease-in-out infinite;
}
@keyframes mysteryHintBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}
.mystery__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 56px;
  border: 1.5px solid var(--text);
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(10,10,10,0.12);
}
.mystery__btn:hover {
  transform: translateY(-2px);
  background: var(--accent, #f97316);
  border-color: var(--accent, #f97316);
  box-shadow: 0 8px 30px rgba(249,115,22,0.35);
}
.mystery__btn-en {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  padding-left: 0.35em;
}
.mystery__btn-jp {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
}

/* ------- Reduced motion ------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
