    :root {
      --bg: #f4f7f7;
      --bg-soft: #eef8f7;
      --card: #ffffff;
      --text: #163235;
      --sub: #597174;
      --mint: #4ad9d1;
      --mint-deep: #22b5ae;
      --mint-soft: #dff8f6;
      --lavender: #f2eefa;
      --line: #d8e7e7;
      --shadow: 0 18px 40px rgba(35, 81, 82, 0.12);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max: 1120px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
      background: linear-gradient(180deg, #f8fbfb 0%, #f2f6f6 100%);
      color: var(--text);
      line-height: 1.75;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    .container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: blur(12px);
      background: rgba(248, 251, 251, 0.86);
      border-bottom: 1px solid rgba(216, 231, 231, 0.8);
    }
    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      font-weight: 800;
      font-size: 1.15rem;
    }
    .brand-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--mint), #73ece5);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 1.2rem;
      box-shadow: 0 10px 22px rgba(74, 217, 209, 0.28);
    }
    .nav {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
    }
    .nav a {
      color: var(--sub);
      font-weight: 700;
      font-size: 0.96rem;
    }
    .nav .cta-mini {
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--mint-soft);
      color: var(--mint-deep);
    }

    .hero {
      padding: 48px 0 24px;
    }
    .hero-shell {
      position: relative;
      overflow: hidden;
      border-radius: 38px;
      background:
        radial-gradient(circle at 14% 20%, rgba(255,255,255,0.95), rgba(255,255,255,0) 32%),
        radial-gradient(circle at 84% 18%, rgba(255,255,255,0.5), rgba(255,255,255,0) 18%),
        linear-gradient(135deg, #ddfbf8 0%, #f8fffe 52%, #edf8ff 100%);
      border: 1px solid #d8f2ef;
      box-shadow: var(--shadow);
      padding: 54px clamp(22px, 4vw, 54px);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 32px;
      align-items: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.88);
      border: 1px solid #d8efed;
      color: var(--mint-deep);
      font-weight: 800;
      letter-spacing: .03em;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 0.88rem;
      margin-bottom: 18px;
    }
    h1 {
      margin: 0 0 18px;
      font-size: clamp(2rem, 5vw, 3.7rem);
      line-height: 1.15;
      letter-spacing: -0.02em;
    }
    .hero p.lead {
      margin: 0;
      color: var(--sub);
      font-size: 1.03rem;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin: 28px 0 22px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 999px;
      padding: 14px 20px;
      font-weight: 800;
      transition: transform .2s ease;
    }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary {
      background: linear-gradient(135deg, var(--mint-deep), var(--mint));
      color: #fff;
      box-shadow: 0 14px 26px rgba(34, 181, 174, 0.22);
    }
    .btn-secondary {
      background: #fff;
      color: var(--text);
      border: 1px solid var(--line);
    }
    .hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
    }
    .hero-points span {
      background: rgba(255,255,255,0.86);
      color: var(--sub);
      border: 1px solid #dce8e8;
      border-radius: 999px;
      padding: 8px 12px;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .hero-visual {
      position: relative;
      min-height: 420px;
      display: grid;
      place-items: center;
    }
    .speech {
      position: absolute;
      top: 6px;
      left: 10px;
      max-width: 240px;
      background: rgba(255,255,255,0.95);
      border: 1px solid #daf0ef;
      padding: 14px 16px;
      border-radius: 18px;
      box-shadow: 0 12px 30px rgba(64, 111, 111, 0.12);
      color: var(--sub);
      font-size: 0.92rem;
      z-index: 2;
    }
    .mascot-stage {
      position: relative;
      width: 100%;
      min-height: 420px;
    }
    .shape {
      position: absolute;
      border-radius: 50%;
      filter: blur(2px);
      opacity: .65;
    }
    .shape.s1 { width: 170px; height: 170px; background: #cbf7f2; right: 18px; top: 6px; }
    .shape.s2 { width: 130px; height: 130px; background: #ece5ff; left: 12px; bottom: 56px; }
    .shape.s3 { width: 80px; height: 80px; background: #fff1c6; right: 100px; bottom: 20px; }
    .mascot-card {
      position: absolute;
      background: rgba(255,255,255,0.86);
      border: 1px solid #ddedec;
      border-radius: 28px;
      box-shadow: 0 18px 36px rgba(52, 102, 102, 0.14);
      padding: 16px;
    }
    .mascot-card img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
    .mascot-card small {
      display: block;
      margin-top: 8px;
      font-weight: 800;
      color: var(--sub);
      text-align: center;
    }
    .mascot-card.shiratama {
      width: 250px;
      left: 20px;
      top: 88px;
      transform: rotate(-6deg);
    }
    .mascot-card.tanuki {
      width: 250px;
      right: 16px;
      top: 132px;
      transform: rotate(7deg);
    }
    .mini-card {
      position: absolute;
      left: 42%;
      bottom: 14px;
      transform: translateX(-50%);
      width: min(310px, 74%);
      background: rgba(255,255,255,0.94);
      border: 1px solid #d8ebea;
      border-radius: 24px;
      padding: 16px 18px;
      box-shadow: 0 14px 30px rgba(63, 113, 113, 0.14);
    }
    .mini-card strong { display: block; margin-bottom: 4px; }
    .mini-card span { color: var(--sub); font-size: 0.94rem; }

    section { padding: 72px 0; }
    .section-head {
      margin-bottom: 26px;
    }
    .section-head .label {
      font-size: .84rem;
      letter-spacing: .08em;
      font-weight: 800;
      color: var(--mint-deep);
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .section-head h2 {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      line-height: 1.25;
      margin: 0 0 10px;
    }
    .section-head p {
      margin: 0;
      color: var(--sub);
      max-width: 760px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 24px;
    }
    .panel {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      padding: 28px;
    }
    .feature-list {
      display: grid;
      gap: 16px;
    }
    .feature-item {
      display: grid;
      grid-template-columns: 58px 1fr;
      gap: 16px;
      align-items: start;
      padding: 18px;
      background: #fbfefe;
      border: 1px solid #e1ecec;
      border-radius: 22px;
    }
    .num {
      width: 58px; height: 58px;
      border-radius: 18px;
      background: linear-gradient(135deg, var(--mint-soft), #f0fffe);
      color: var(--mint-deep);
      display: grid; place-items: center;
      font-weight: 900;
      font-size: 1.1rem;
    }
    .feature-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
    .feature-item p { margin: 0; color: var(--sub); font-size: 0.94rem; }

    .character-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
      margin-top: 20px;
    }
    .character-card {
      background: linear-gradient(180deg, #ffffff 0%, #fbffff 100%);
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .character-visual {
      padding: 24px;
      background: linear-gradient(180deg, #effbfa 0%, #f8fdfd 100%);
      display: grid;
      place-items: center;
      min-height: 320px;
    }
    .character-visual img {
      max-height: 290px;
      width: auto;
      object-fit: contain;
    }
    .character-body { padding: 22px 24px 26px; }
    .character-body h3 { margin: 0 0 8px; font-size: 1.3rem; }
    .character-body p { margin: 0; color: var(--sub); }
    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 14px;
    }
    .tag {
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--mint-soft);
      color: var(--mint-deep);
      font-size: .82rem;
      font-weight: 800;
    }

    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
    .step {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 26px 24px;
      box-shadow: var(--shadow);
    }
    .step .step-no {
      color: var(--mint-deep);
      font-weight: 900;
      letter-spacing: .06em;
      font-size: .82rem;
    }
    .step h3 { margin: 10px 0 10px; font-size: 1.15rem; }
    .step p { margin: 0; color: var(--sub); }

    .screens {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      align-items: start;
    }
    .screen-card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 30px;
      padding: 16px;
      box-shadow: var(--shadow);
    }
    .screen-card img {
      border-radius: 22px;
      width: 100%;
      height: auto;
      border: 1px solid #dfe8e8;
    }
    .screen-card h3 { margin: 16px 4px 6px; font-size: 1.08rem; }
    .screen-card p { margin: 0 4px; color: var(--sub); font-size: .94rem; }

    .course-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }
    .course-card {
      position: relative;
      overflow: hidden;
      border-radius: 28px;
      padding: 28px;
      min-height: 240px;
      color: #fff;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: end;
    }
    .course-card h3 { margin: 8px 0 8px; font-size: 1.5rem; }
    .course-card p { margin: 0; color: rgba(255,255,255,0.9); }
    .course-card small {
      display: inline-flex;
      width: fit-content;
      border-radius: 999px;
      padding: 6px 10px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.25);
      font-weight: 800;
      letter-spacing: .04em;
    }
    .course-koenji {
      background: linear-gradient(135deg, #36c0b9, #1d8f9b 70%);
    }
    .course-inokashira {
      background: linear-gradient(135deg, #8e7cf8, #5ea8d9 72%);
    }

    .legal-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      background: linear-gradient(135deg, #ffffff, #f7fdfc);
      border: 1px solid var(--line);
      border-radius: 30px;
      padding: 28px;
      box-shadow: var(--shadow);
    }
    .legal-box h3 { margin: 0 0 6px; font-size: 1.25rem; }
    .legal-box p { margin: 0; color: var(--sub); }
    .legal-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }
    .legal-links a {
      padding: 12px 16px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--line);
      font-weight: 800;
      color: var(--mint-deep);
      white-space: nowrap;
    }

    footer {
      padding: 36px 0 48px;
      color: var(--sub);
    }
    .footer-inner {
      border-top: 1px solid var(--line);
      padding-top: 28px;
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      justify-content: space-between;
      align-items: center;
    }
    .footer-brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      color: var(--text);
    }
    .footer-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-size: .94rem;
    }
    .footer-meta a { text-decoration: underline; text-underline-offset: 3px; }

    @media (max-width: 980px) {
      .hero-grid,
      .about-grid,
      .course-grid,
      .legal-box {
        grid-template-columns: 1fr;
      }
      .steps-grid,
      .screens,
      .character-grid { grid-template-columns: 1fr; }
      .hero-visual { min-height: 520px; }
      .legal-links { justify-content: flex-start; }
    }

    @media (max-width: 720px) {
      .header-inner { min-height: 70px; }
      .nav { display: none; }
      .hero-shell { padding: 26px 18px 24px; border-radius: 26px; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .btn { width: 100%; }
      .speech { position: static; max-width: 100%; margin-bottom: 14px; }
      .hero-visual { min-height: 560px; }
      .mascot-card.shiratama { left: 8px; width: 46%; top: 112px; }
      .mascot-card.tanuki { right: 8px; width: 46%; top: 160px; }
      .mini-card { left: 50%; bottom: 8px; width: 92%; }
      .panel,
      .legal-box,
      .step,
      .screen-card { padding: 20px; }
      section { padding: 58px 0; }
    }

/* 掲載版の追加改善: 可読性・アクセシビリティ・モバイル最適化 */
:focus-visible { outline: 3px solid #168d89; outline-offset: 3px; }
:target { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
@media (max-width: 720px) {
  .hero-visual { min-height: 490px; }
  .mascot-stage { min-height: 480px; }
  .mascot-card { padding: 9px; border-radius: 20px; }
  .mascot-card.shiratama { top: 80px; width: 48%; }
  .mascot-card.tanuki { top: 110px; width: 48%; }
  .mascot-card small { margin-top: 2px; font-size: .83rem; }
  .mini-card { bottom: 0; }
  .site-header .header-inner { gap: 8px; }
  .header-legal-link { font-size: .78rem; }
  .footer-meta { line-height: 1.9; }
}
@media (max-width: 380px) {
  .hero-visual { min-height: 420px; }
  .mascot-stage { min-height: 410px; }
  .mascot-card.shiratama { top: 80px; }
  .mascot-card.tanuki { top: 100px; }
}
.header-legal-link {
  display: none;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--mint-deep);
  border: 1px solid var(--line);
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 720px) { .header-legal-link { display: inline-flex; } }
/* JavaScriptが無効でもコンテンツを隠さない */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }


/* トップページの基本プレイ無料表示 */
.hero-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 20px;
}

.hero-price-free {
  display: inline-block;
  padding: 10px 20px;
  background: #19b5ac;
  color: #ffffff;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(25, 181, 172, 0.2);
}

.hero-price-note {
  color: #45666a;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 680px) {
  .hero-price {
    gap: 8px;
    margin: 8px 0 18px;
  }

  .hero-price-free {
    padding: 8px 14px;
    font-size: 15px;
  }

  .hero-price-note {
    font-size: 12px;
  }
}

