/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:       #f472b6;
  --pink-light: #fce7f3;
  --dark:       #1a1a1a;
  --gray:       #555555;
  --gray-light: #f8f8f8;
  --white:      #ffffff;
  --border:     #e8e8e8;
  --font-heading: 'Playfair Display', serif;
  --font-body:    'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.75;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== FADE-IN ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease var(--delay, 0s),
              transform 0.7s ease var(--delay, 0s);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--pink);
  transform: translateY(-2px);
}

.btn-hero {
  display: inline-block;
  padding: 16px 44px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-hero:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-yt {
  display: inline-block;
  padding: 9px 20px;
  background: #FF0000;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-yt:hover { opacity: 0.85; transform: translateY(-1px); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.07); }

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list a:not(.btn-yt) {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-list a:not(.btn-yt):hover { color: var(--pink); }
.nav-list li:last-child { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.hero-slider {
  position: relative;
  height: 350px;
}

.hero-set {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-set.active { opacity: 1; }

.hero-img-wrap {
  overflow: hidden;
  height: 350px;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 64px;
  left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 64px;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 24px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* ===== SECTION COMMON ===== */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== ABOUT ===== */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.about-card {
  padding: 36px 24px;
  text-align: center;
  border-top: 2px solid var(--border);
  transition: border-color 0.3s;
}
.about-card:hover { border-color: var(--pink); }

.about-card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== VIDEOS ===== */
.videos { background: var(--gray-light); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 337px));
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}

.video-card {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.video-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

/* ショート動画：9:16 縦長（高さ600px固定） */
.video-wrap {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-label {
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.03em;
}

.video-more { text-align: center; }

/* ===== GALLERY ===== */
.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  height: 400px;
  background: var(--gray-light);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 114, 182, 0);
  transition: background 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.gallery-item:hover::after {
  background: rgba(244, 114, 182, 0.08);
}

/* ===== CONTACT ===== */
.contact { background: var(--gray-light); }

.contact-box {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 40px;
  background: var(--white);
  border: 1px solid var(--border);
}

.contact-box h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--dark);
}

.contact-box p {
  font-size: 0.97rem;
  color: var(--gray);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-sns { display: flex; gap: 12px; }

.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: transform 0.2s, opacity 0.2s;
}
.sns-btn:hover { transform: scale(1.12); opacity: 0.85; }
.sns-btn.yt { background: #FF0000; color: var(--white); }

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  user-select: none;
}

/* 閉じるボタン */
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* 前後ボタン */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  user-select: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ページカウンター */
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* スマホ：矢印を小さめに */
@media (max-width: 768px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ---- Nav ---- */
  .nav-toggle { display: flex; }

  /* ナビロゴは常に表示（header-inner で既に左寄せ） */
  .logo { display: flex; }

  /* ドロップダウンメニュー */
  .nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 99;                          /* hero より手前に */
    background: var(--white);
    padding: 8px 0 20px;
    border-bottom: 2px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  }
  .nav.open { transform: translateY(0); }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* タップしやすい縦並びリンク */
  .nav-list a:not(.btn-yt) {
    display: block;
    padding: 14px 28px;
    font-size: 1rem;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-list a:not(.btn-yt):hover { color: var(--pink); background: none; }
  .nav-list li:last-child { margin-left: 0; margin-top: 12px; padding: 0 28px; }
  .nav-list li:last-child .btn-yt { display: block; text-align: center; }

  /* ---- Hero ---- */
  .hero { padding-top: 64px; }           /* ヘッダー高さ分の余白 */
  .hero-overlay { top: 64px; }
  .hero-content {
    top: 64px;
    padding: 16px 20px;
  }
  .hero-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .hero-sub   { font-size: 0.88rem; margin-bottom: 24px; }

  /* Watch the Channel ボタン：幅100%・白背景・黒テキスト */
  .btn-hero {
    display: block;
    width: 100%;
    max-width: 300px;
    background: var(--white);
    color: var(--dark);
    text-align: center;
    padding: 14px 20px;
    margin: 0 auto;
    font-weight: 800;
  }
  .btn-hero:hover {
    background: var(--pink);
    color: var(--white);
  }

  .hero-slider { height: 260px; }
  .hero-img-wrap { height: 260px; }
  .hero-set { grid-template-columns: 1fr; }
  .hero-img-wrap:nth-child(n+2) { display: none; }

  /* ---- Sections ---- */
  .section { padding: 70px 0; }
  .section-header { margin-bottom: 44px; }

  /* ---- About ---- */
  .about-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .about-card { border-top: 1px solid var(--border); border-left: none; }

  /* ---- Videos ---- */
  .video-grid { grid-template-columns: 1fr; }

  /* ---- Gallery ---- */
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-item { height: 300px; }

  /* ---- Contact ---- */
  .contact-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
}
