@charset "UTF-8";

/* =========================================================
   宇宙はいいぞ — 共通スタイル
   配色は :root のカスタムプロパティで一括変更できます
   ========================================================= */

:root {
  /* 背景（深宇宙） */
  --bg-deep:    #05060f;
  --bg-panel:   #0d1024;
  --bg-panel-2: #141a35;

  /* テキスト */
  --text:       #e8ecf8;
  --text-muted: #9aa3c4;

  /* アクセント（星雲のグラデーション） */
  --accent:     #7b8cff;
  --accent-2:   #56e1d4;
  --accent-3:   #c77dff;

  /* ブランド色 */
  --youtube:    #ff0033;

  --border: rgba(255, 255, 255, 0.10);
  --radius: 14px;
  --maxw:   960px;

  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg-deep);
  /* 星空：微細な光点と星雲を重ねて奥行きを出す */
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, .80), transparent),
    radial-gradient(1px 1px at 70% 12%, rgba(255, 255, 255, .60), transparent),
    radial-gradient(1px 1px at 45% 78%, rgba(255, 255, 255, .70), transparent),
    radial-gradient(2px 2px at 88% 62%, rgba(190, 210, 255, .50), transparent),
    radial-gradient(1px 1px at 12% 85%, rgba(255, 255, 255, .50), transparent),
    radial-gradient(900px 600px at 80% -10%, rgba(123, 140, 255, .18), transparent 70%),
    radial-gradient(700px 500px at 0% 20%, rgba(199, 125, 255, .14), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-2); }

h1, h2, h3 { line-height: 1.4; letter-spacing: .02em; }

/* ---------- レイアウト ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 72px; }

.section-title {
  font-size: 1.5rem;
  margin: 0 0 8px;
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 32px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(5, 6, 15, .72);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.site-logo .mark { font-size: 1.2rem; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .92rem;
  transition: color .2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

/* ---------- ヒーロー ---------- */
.hero {
  padding-block: 96px 80px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0 0 20px;
  background: linear-gradient(100deg, var(--accent-2), var(--accent), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background-color .18s, border-color .18s;
}

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

.btn-youtube {
  background: var(--youtube);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 0, 51, .28);
}

.btn-youtube:hover { box-shadow: 0 12px 30px rgba(255, 0, 51, .38); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-3));
  color: #0a0b18;
  box-shadow: 0 8px 24px rgba(123, 140, 255, .30);
}

.btn-primary:hover { box-shadow: 0 12px 30px rgba(123, 140, 255, .42); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, border-color .2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 140, 255, .45);
}

.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .93rem; }

/* ---------- チャンネル紹介 ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.about-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: .85rem;
  text-align: center;
  padding: 16px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about p { color: var(--text-muted); }

/* ---------- SNS ---------- */
.sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
  transition: border-color .2s, transform .18s, background-color .2s;
}

.sns-link:hover {
  border-color: var(--accent-2);
  background: rgba(86, 225, 212, .08);
  transform: translateY(-2px);
}

/* ---------- CTA バナー ---------- */
.cta {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(123, 140, 255, .20), transparent 70%),
    linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  padding: 56px 24px;
}

.cta h2 { margin: 0 0 12px; font-size: 1.5rem; }
.cta p { margin: 0 0 28px; color: var(--text-muted); }

/* ---------- 問い合わせページ ---------- */
.contact-box {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-panel), var(--bg-panel-2));
  padding: 48px 28px;
}

.contact-box h2 { margin: 0 0 16px; font-size: 1.35rem; }
.contact-box p { color: var(--text-muted); margin: 0 0 28px; }

.contact-note {
  max-width: 640px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: .9rem;
}

.contact-note li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}

.contact-note li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--accent-2);
}

.form-hint {
  margin: 20px 0 0;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 32px;
  color: var(--text-muted);
  font-size: .85rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

/* ---------- アクセシビリティ ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--accent);
  color: #0a0b18;
  padding: 10px 16px;
  border-radius: 8px;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .site-nav ul { gap: 14px; }
  .hero { padding-block: 64px 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
