:root {
  --bg: #0c0a12;
  --bg-elevated: rgba(21, 18, 31, 0.7);
  --text: #f4f0ff;
  --muted: #a89ec4;
  --accent-yt: #ff4d6d;
  --accent-tt: #25f4ee;
  --accent-x: #ffffff;
  --accent-ig: #e1306c;
  --accent-gold: #ffc93a;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --font: "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

/* 背景グラデーション */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 77, 109, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(37, 244, 238, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(255, 201, 58, 0.08), transparent),
    var(--bg);
}

a {
  color: inherit;
}

.container {
  width: min(960px, 92vw);
  margin-inline: auto;
}

/* ヘッダー */
.site-header {
  padding: 1rem 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 10, 18, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.3);
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--text);
}

/* モバイルメニューボタン */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 4vw 1rem;
}

.nav-panel[hidden] {
  display: none;
}

.nav-panel a {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-panel-cta {
  text-align: center;
  font-weight: 600 !important;
}

.nav-panel-cta-yt { background: var(--accent-yt); color: #fff !important; }
.nav-panel-cta-tt { background: linear-gradient(135deg, #25f4ee, #fe2c55); color: #0c0a12 !important; }

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* ヒーローセクション */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-logo {
  width: min(160px, 40vw);
  height: auto;
  border-radius: 24px;
  margin-bottom: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  border: 1px solid rgba(255, 201, 58, 0.35);
  background: rgba(255, 201, 58, 0.08);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 30%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 0 auto 2rem;
  max-width: 28em;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-yt), #c9184a);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.35);
}

/* セクション共通 */
.section {
  padding: 3rem 0;
}

.section-title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.about-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}

.highlights {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .highlights { grid-template-columns: repeat(3, 1fr); }
}

.highlight {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.highlight h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--accent-gold);
}

.highlight p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* プラットフォームカード (2列・レスポンシブ) */
.platforms {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .platforms { grid-template-columns: repeat(2, 1fr); }
}

.platform-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.2s;
}

.platform-card:hover {
  transform: translateY(-3px);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.platform-stat {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.platform-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.platform-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 各SNSのアクセントカラー */
.platform-card.youtube { border-color: rgba(255, 77, 109, 0.3); }
.platform-card.tiktok { border-color: rgba(37, 244, 238, 0.3); }
.platform-card.x-twitter { border-color: rgba(255, 255, 255, 0.2); }
.platform-card.instagram { border-color: rgba(225, 48, 108, 0.3); }

.btn-youtube { background: var(--accent-yt); color: #fff; }
.btn-tiktok { background: linear-gradient(135deg, #25f4ee, #fe2c55); color: #0c0a12; }
.btn-x { background: #ffffff; color: #000000; }
.btn-instagram { background: linear-gradient(135deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); color: #fff; }

/* 動画エリア（ショート特化に修正） */
.latest-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.latest-youtube {
  width: 100%;
  text-align: center;
}

.latest-label { margin: 0 0 0.5rem; font-size: 0.95rem; color: var(--muted); }
.latest-title { margin: 0 0 1rem; font-weight: 600; }
.latest-link { display: inline-block; margin-top: 0.75rem; color: var(--accent-yt); font-size: 0.9rem; }
.latest-note a { color: var(--accent-tt); }

.video-frame {
  aspect-ratio: 9 / 16; /* 縦型に修正 */
  max-width: 320px;     /* PCで見ても巨大化しないように制限 */
  margin: 0 auto;       /* 中央寄せ */
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* フッター */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}