/* 星の子クラブ — hoshinokoclub.hexanest.org
   Soft twilight + warm stars for a local after-school kids club */

:root {
  --bg: #0f1424;
  --bg-card: #171e33;
  --bg-soft: #1c2540;
  --ink: #eef2ff;
  --ink-muted: #a8b3d4;
  --star: #ffd56a;
  --star-deep: #f4a62a;
  --sky: #6c8cff;
  --sky-deep: #4b6fe8;
  --mint: #7dd3c7;
  --line: rgba(238, 242, 255, 0.1);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;
  --font: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --display: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(108, 140, 255, 0.28), transparent 55%),
    radial-gradient(700px 360px at 92% 8%, rgba(255, 213, 106, 0.14), transparent 50%),
    var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--star);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 2rem, 720px);
}

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 2rem;
}

/* Decorative stars */
.sky {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  opacity: 0.55;
}

.s1 { top: 12%; left: 8%; }
.s2 { top: 22%; left: 78%; width: 2px; height: 2px; opacity: 0.4; }
.s3 { top: 48%; left: 18%; width: 2px; height: 2px; }
.s4 { top: 68%; left: 88%; }
.s5 { top: 36%; left: 52%; width: 2px; height: 2px; opacity: 0.35; }

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 36, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffe29a, var(--star-deep));
  color: #2a1f08;
  box-shadow: 0 0 22px rgba(255, 213, 106, 0.35);
  font-size: 1.15rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.logo-text small {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.nav {
  display: flex;
  gap: 1.05rem;
  align-items: center;
}

.nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--star), var(--star-deep));
  color: #2a1f08 !important;
  box-shadow: 0 8px 24px rgba(244, 166, 42, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--ink) !important;
}

.btn-block {
  width: 100%;
}

.header-cta {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(108, 140, 255, 0.18);
  color: #c7d4ff;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.3;
  margin: 0 0 1.1rem;
  letter-spacing: 0.01em;
}

.lead {
  max-width: 38rem;
  font-size: 1.06rem;
  color: var(--ink-muted);
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 720px;
}

.hero-stats li {
  background: rgba(23, 30, 51, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--star);
  line-height: 1.2;
}

.hero-stats span {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(28, 37, 64, 0.55), rgba(15, 20, 36, 0.2));
}

.section-label {
  margin: 0 0 0.4rem;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.section-intro,
.section p {
  color: var(--ink-muted);
}

.section-intro {
  max-width: 40rem;
  margin: 0 0 1.8rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 213, 106, 0.12);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.feature h3,
.contact-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--ink);
}

.feature p,
.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* Day visual */
.day-visual {
  border-radius: calc(var(--radius) + 6px);
  min-height: 300px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 213, 106, 0.22), transparent 40%),
    linear-gradient(160deg, #2a3a72, #1a2342 55%, #12182b);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.day-badge {
  display: inline-block;
  background: rgba(255, 213, 106, 0.16);
  color: var(--star);
  border: 1px solid rgba(255, 213, 106, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.day-title {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.day-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.day-timeline li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(238, 242, 255, 0.12);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.day-timeline li:last-child {
  border-bottom: 0;
}

.day-timeline span {
  color: var(--star);
  font-weight: 700;
  font-size: 0.88rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
}

.check-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.8rem;
  color: var(--ink-muted);
}

.check-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0.45rem;
  color: var(--star);
  font-size: 0.85rem;
}

.callout {
  background: rgba(108, 140, 255, 0.1);
  border: 1px solid rgba(108, 140, 255, 0.22);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.callout strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #c7d4ff;
}

.callout p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-box {
  margin: 1.4rem 0 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 213, 106, 0.1), rgba(108, 140, 255, 0.12));
  border: 1px solid var(--line);
}

.contact-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.contact-mail {
  display: inline-block;
  margin: 0.25rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  color: var(--star);
  text-decoration: none;
  word-break: break-all;
}

.contact-mail:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.plain-list {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.plain-list li {
  margin: 0.35rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0e1a;
  color: rgba(238, 242, 255, 0.88);
  padding: 2.4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: rgba(238, 242, 255, 0.65);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--star);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  text-align: right;
}

.footer-meta .copy {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2,
  .cards-3,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 20, 36, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-cta {
    display: none;
  }

  .footer-meta {
    text-align: left;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
