:root {
  color-scheme: light;
  --bg: #f7f1e7;
  --bg-2: #efe3d1;
  --ink: #2d231a;
  --muted: #6b5b48;
  --accent: #c44c2b;
  --accent-2: #d9a33a;
  --panel: #fffaf2;
  --border: #e7d7c1;
  --shadow: 0 18px 40px rgba(60, 40, 20, 0.15);
  --radius: 20px;
  --max: 960px;
}

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

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  min-height: 100svh;
  background:
    radial-gradient(850px 380px at 10% -10%, #fde8c8 0%, transparent 60%),
    radial-gradient(720px 320px at 90% 5%, #f5d8b5 0%, transparent 60%),
    linear-gradient(180deg, #fff8ee 0%, var(--bg) 45%, var(--bg-2) 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle at 20% 20%,
    rgba(255, 255, 255, 0.45),
    transparent 55%
  );
  opacity: 0.5;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 20px 36px;
  position: relative;
  z-index: 1;
}

.hero {
  text-align: center;
  padding: 20px 16px 8px;
  animation: rise 0.8s ease both;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #e0703a);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  margin: 16px 0 8px;
}

h1 {
  font-size: clamp(2rem, 3vw + 1.4rem, 3.4rem);
  letter-spacing: 0.08em;
}

h2 {
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  letter-spacing: 0.04em;
}

p {
  margin: 0;
  line-height: 1.7;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
}

.lead-sub {
  color: var(--muted);
  margin-bottom: 18px;
}

.content {
  display: grid;
  gap: 20px;
  margin-top: 18px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  animation: rise 0.9s ease both;
}

.panel + .panel {
  animation-delay: 0.1s;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.video-card {
  background: #fffdf7;
  border-radius: 16px;
  border: 1px solid #f0e2cf;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #2a221a;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

video {
  width: 100%;
  border-radius: 12px;
  background: #2a221a;
}

.caption {
  color: var(--muted);
  font-size: 0.9rem;
}

.meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.noscript {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent-2);
  background: rgba(217, 163, 58, 0.12);
  border-radius: 10px;
  color: #55432e;
  font-size: 0.85rem;
}

.mono {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
}

.footer {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.divider {
  color: var(--accent-2);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 36px 16px 28px;
  }

  .panel {
    padding: 22px 18px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .panel {
    animation: none;
  }
}
