/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
  z-index: 1000;
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
}

.logo span {
  color: #ff6a00;
}

/* =========================
   NAV - PC
========================= */
nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #f5f5f5;
  position: relative;
  font-size: 14px;
  letter-spacing: 2px;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff6a00;
  transition: 0.4s ease;
}

nav a:hover::after {
  width: 100%;
}

/* PCはそのまま右揃え */
nav {
  display: flex;
  gap: 40px;
}

.hamburger {
  display: none; /* PCでは非表示 */
}

/* =========================
   モバイル（スマホ対応）
========================= */
@media (max-width: 768px) {

  /* ハンバーガー */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 中央揃え */
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
    width: 30px;
    height: 24px;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* ハンバーガーが✕に変化 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 0);
    position: absolute;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0; /* 真ん中の線は消す */
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0, 0);
    position: absolute;
  }

  /* ナビメニュー */
  nav {
    position: absolute;
    top: 100%; /* headerの下に */
    left: 0;
    width: 100%;
    background: rgba(10,10,10,0.95);
    flex-direction: column;
    transform: translateY(-110%); /* 完全に隠す */
    transition: transform 0.3s ease, height 0.3s ease;
    z-index: 1000;
    overflow: hidden; /* はみ出し防止 */
    height: 0; /* 初期は高さ0 */
  }

  nav.active {
    transform: translateY(0);
    height: auto; /* 開いたら自動高さ */
    padding-bottom: 20px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px 0 0 0;
    margin: 0;
  }

  nav ul li {
    text-align: center;
    margin: 10px 0;
  }

}



/* =========================
   HERO
========================= */
.hero-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #000;
}

.hero {
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 16 / 9;
  background: url("/images/hero.png") center / cover no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.8s ease, transform 1.8s ease;
  position: relative;
}

.hero.show {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 1;
  transition: opacity 2s ease;
}

.hero.show::after {
  opacity: 0;
}

/* =========================
   スクロール矢印（固定表示）
========================= */
/* 矢印ラッパー */
.scroll-wrapper {
  position: relative;  /* hero内で絶対配置 */
  top: 10px;       /* heroの下端から少し下 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 矢印本体 */
.scroll-down svg {
  width: 180px;
  height: 120px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

/* SCROLL文字アニメーション */
.scroll-letter {
  opacity: 0;
  display: inline-block;
  animation: scrollLetterAnim 2.5s infinite;
  font-size: 30px;
  font-weight: 700;
  color: #ff6a00;
}

.scroll-letter:nth-child(1) { animation-delay: 0s; }
.scroll-letter:nth-child(2) { animation-delay: 0.2s; }
.scroll-letter:nth-child(3) { animation-delay: 0.4s; }
.scroll-letter:nth-child(4) { animation-delay: 0.6s; }
.scroll-letter:nth-child(5) { animation-delay: 0.8s; }
.scroll-letter:nth-child(6) { animation-delay: 1s; }

@keyframes scrollLetterAnim {
  0%   { opacity: 0; transform: translateY(-3px); }
  20%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-3px); }
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .scroll-down svg { width: 120px; height: 90px; }
  .scroll-letter { font-size: 25px; }
}


/* =========================
   SECTION 共通
========================= */
/* セクション共通 */
section {
  padding: 140px 8% 100px; /* PC向け */
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(120px);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 小さい画面用 */
@media (max-width: 768px) {
  section {
    padding: 70px 5% 50px;  /* 上下の余白を縮小 */
  }
}


.section-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5vw;
}


section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  letter-spacing: 4px;
  text-align: left;
}

section:not(.fade-section) {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   NEWS
========================= */
.news {
  background: #0a0a0a;
}

.news-inner {
  max-width: 100%;
  margin: 0 auto;
}

.news-list {
  border-top: 1px solid #222;
}

.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #222;
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s;
}

.news-item:hover {
  background: rgba(255,255,255,0.02);
}

.news-meta {
  display: flex;
  gap: 12px;
}

.news-date {
  font-size: 13px;
  color: #888;
}

.news-category {
  font-size: 12px;
  color: #ff6a00;
  letter-spacing: 2px;
}

.news-title {
  font-size: 18px;
  line-height: 1.6;
}

.news-more {
  margin-top: 40px;
  text-align: right;
}

.more-link {
  text-decoration: none;
  color: #ff6a00;
  letter-spacing: 2px;
  font-size: 14px;
  position: relative;
}

.more-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff6a00;
  transition: 0.3s ease;
}

.more-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 0;
  }

  .news-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
  }

  .news-title {
    font-size: 14px;
  }
}


/* =========================
   MOVIE
========================= */

.movie-section {
   padding: 50px 8% 30px;
}

.movie-swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.swiper {
  overflow: visible;
  --swiper-pagination-color: #ff6a00;
  --swiper-pagination-bullet-inactive-color: #333;
  --swiper-pagination-bullet-inactive-opacity: 1;
}

/* スライド */
.swiper-slide {
  position: relative; /* 必須 */
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

/* 真ん中のスライド */
.swiper-slide-active {
  opacity: 1;
}

/* 画像 */
.thumb {
  width: 95%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.8s ease;

  /* 再生ボタン中央配置 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* タイトル */
.movie-name {
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
}

/* 再生ボタン */
.play-btn {
  width: 60px;           /* PC用 */
  height: 60px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  flex-shrink: 0;
  position: relative;
}

/* 三角形 */
.play-btn::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid black;   /* 三角の幅 */
  border-top: 10px solid transparent; /* 上下の余白 */
  border-bottom: 10px solid transparent;
  
  /* 丸の中央に寄せる */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   ポップアップ
========================= */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

/* 動画枠 */
.popup-inner {
  width: 70%;           /* PCは70% */
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: visible;    /* クローズボタンはみ出し許可 */
}

/* iframe */
.popup-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* クローズボタン */
.popup-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* =========================
   レスポンシブ（スマホ）
========================= */
@media (max-width: 768px) {
  /* ポップアップ幅 */
  .popup-inner {
    width: 90%;
  }

  /* クローズボタン */
  .popup-close {
    width: 36px;
    height: 36px;
    font-size: 20px;
    top: -10px;
    right: -10px;
  }

  /* 再生ボタン */
  .play-btn {
    width: 50px;
    height: 50px;
  }

  .play-btn::after {
    border-left: 14px solid black;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

}


/* =========================
   PAGINATION（棒固定）
========================= */

.swiper-pagination {
  position: absolute;
  left: 0;
  text-align: left;
}

.swiper-pagination-bullet {
  width: 40px !important;
  height: 4px !important;
  border-radius: 3px !important;
  background: #333 !important;
  opacity: 1 !important;
  margin-right: 10px;
}

.swiper-pagination-bullet-active {
  background: #ff6a00 !important;
  width: 70px !important;
}


/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  background: #141414;
  padding: 40px;
  border-bottom: 2px solid #ff6a00;
  transition: 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255,106,0,0.25);
}

/* =========================
   BUTTON
========================= */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid #ff6a00;
  color: #ff6a00;
  text-decoration: none;
  transition: 0.4s ease;
  letter-spacing: 2px;
}

.btn:hover {
  background: #ff6a00;
  color: #0a0a0a;
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 40px 5%;
  text-align: center;
  border-top: 1px solid #222;
  color: #888;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.sns-icon {
  width: 30px;      /* 幅だけ固定 */
  height: auto;     /* 高さは自動で調整 */
  transition: transform 0.3s;
}


.sns-icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* 必要なら背景色 */
}

.sns-icon-wrapper img {
  max-width: 90%;   /* アイコンを少し余白をもたせて収める */
  max-height: 90%;
}


.sns-icon:hover {
  transform: scale(1.2);
}

.footer-contact-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6a00, #ff8a33);
  color: #ffffff;
  border: none;
  border-radius: 25px;       /* 角を丸く */
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;           /* 少し太字で目立たせる */
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.footer-contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #ff8a33, #ffa366); /* ホバーでグラデーション変化 */
}

.footer-copy {
  color: #f5f5f5;
  font-size: 15px;
}

/* PC表示: SNSアイコン + © + お問い合わせ 全て横並び */
@media (min-width: 769px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .sns-group {
    display: flex;
    gap: 15px; /* アイコン間のスペース */
  }

  .footer-right {
    display: flex;
    align-items: center;
    gap: 30px; /* コピーライトとボタン間のスペース */
  }
}

/* スマホ表示: SNSは2×2、右にボタンとコピーライト */
@media (max-width: 768px) {
  .sns-group {
    display: grid;
    grid-template-columns: repeat(2, 50px); /* 2列 */
    gap: 10px;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }
}


/* =========================
   HEADER OFFSET
========================= */
body::before {
  content: "";
  display: block;
  height: 80px;
}

/* =========================
   NEWS ページネーション
========================= */
#pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

#pagination button {
  background: #141414;
  border: 1px solid #ff6a00;
  color: #ff6a00;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#pagination button:hover {
  background: #ff6a00;
  color: #0a0a0a;
}

#pagination button.active {
  background: #ff6a00;
  color: #0a0a0a;
  font-weight: bold;
  cursor: default;
}

#pagination span {
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 14px;
  color: #888;
}

/* =========================
   NEWS FILTER
========================= */
.news-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.news-filters select {
  padding: 8px 12px;
  background: #141414;
  color: #f5f5f5;
  border: 1px solid #222;
  border-radius: 5px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.news-filters select:hover {
  border-color: #ff6a00;
}

.news-filters select:focus {
  outline: none;
  border-color: #ff6a00;
  box-shadow: 0 0 5px rgba(255,106,0,0.5);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .news-filters {
    flex-direction: column;
    gap: 10px;
  }
}

.top-music-icon {
  display: flex;
  justify-content: center;
  gap: 80px;       /* アイコン間のスペース */
  margin: 50px 0;
  flex-wrap: wrap;   /* アイコンがはみ出すと折り返す */
}

.music-icon {
  height: 65px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

/* スマホ用：画面幅600px以下で縦並びにする */
@media (max-width: 768px) {
  .top-music-icon {
    flex-direction: column;
    gap: 40px;  /* 縦の間隔 */
    align-items: center; /* 中央揃え */
  }

  .music-icon {
    height: 60px; /* 必要に応じてサイズ調整 */
  }
}


.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 60px;
  padding: 20px;
}

.music-card {
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s ease;
}

.music-card img {
  width: 100%;
  border-radius: 10px;
}

.music-card p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 20px;
}

.music-card:hover {
  transform: scale(1.15);
}