/* ===== 共通 ===== */
body{
  margin:0;
  font-family: "Helvetica Neue", sans-serif;
  background:#f3f3f3;
  color:#111;
}

.br-sp{ display:none; }
@media (max-width:768px){
  .br-sp{ display:inline; }
}

.kpop-main{
  padding-bottom: 80px;
}

/* ===== HERO ===== */
.kpop-hero{
  position: relative;
  background: radial-gradient(circle at 20% 10%, rgba(255,120,210,0.25), transparent 45%),
              radial-gradient(circle at 80% 20%, rgba(120,200,255,0.22), transparent 45%),
              linear-gradient(180deg, #0b0b14 0%, #121225 60%, #0b0b14 100%);
  color:#fff;
  overflow:hidden;
  padding: 56px 20px 44px;
}

.kpop-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align:center;
  position: relative;
  z-index: 2;
}

.kpop-badge{
  display:inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.55);
  letter-spacing: 0.15em;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.kpop-title{
  margin: 0 0 12px;
  font-size: 2.3rem;
  letter-spacing: 0.04em;
}

.kpop-lead{
  margin: 0 auto 18px;
  max-width: 780px;
  line-height: 1.8;
  opacity: 0.92;
}

.kpop-sparkle{
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 35%),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.14), transparent 40%),
    radial-gradient(circle at 60% 70%, rgba(255,255,255,0.12), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10), transparent 45%);
  filter: blur(2px);
  opacity: 0.9;
  z-index: 1;
  pointer-events:none;
}

/* ===== CTAボタン ===== */
.kpop-cta{
  display:flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* K-POPっぽいピンク寄り */
.btn-primary{
  background: linear-gradient(90deg, #ff4fd8, #8c7bff);
  color:#fff;
}

.btn-primary:hover{
  filter: brightness(1.05);
}

.btn-ghost{
  background: rgba(255,255,255,0.14);
  color:#fff;
  border: 1px solid rgba(255,255,255,0.55);
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.20);
}

/* ===== セクション共通 ===== */
.kpop-section{
  max-width: 1100px;
  margin: 34px auto 0;
  padding: 0 20px;
}

.section-head{
  text-align: center;
  margin-bottom: 18px;
}

.section-head h2{
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.section-head p{
  margin: 0;
  color: #444;
}

/* ===== 3カード ===== */
.kpop-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  background:#fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.05);
}

.card h3{
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p{
  margin: 0;
  color:#444;
  line-height: 1.7;
}



/* ===== YouTube ===== */
.video-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.video-card{
  background:#fff;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.video-embed{
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* ===== 下CTA ===== */
.kpop-bottom .bottom-box{
  background: linear-gradient(90deg, rgba(255,79,216,0.12), rgba(140,123,255,0.12));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 22px 18px;
  text-align:center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.bottom-box h2{
  margin: 0 0 6px;
  font-size: 1.4rem;
}
.bottom-box p{
  margin: 0;
  color:#444;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px){
  .kpop-cards{ grid-template-columns: 1fr; }
  .kpop-gallery{ grid-template-columns: repeat(2, 1fr); }
  .video-grid{ grid-template-columns: 1fr; }
  .gallery-item img{ height: 200px; }
}

@media (max-width: 768px){
  .kpop-title{ font-size: 1.9rem; }
  .btn{ width: 100%; }
}

/* ====== ヘッダー（PCデフォルト表示） ====== */
.site-header {
  background-color: #222;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.site-header .logo {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  background: white;
  height: 3px;
  margin: 4px 0;
  width: 25px;
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav a {
    padding: 10px 0;
  }
}

/* サイトマップ */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  color: #fff;
  background: #111;
}

.footer-sitemap h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  letter-spacing: 0.07em;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap li {
  margin-bottom: 6px;
}

.footer-sitemap a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-sitemap a:hover {
  text-decoration: underline;
  color: #ffd768; /* ホバーを少し黄色にして統一感UP */
}

@media (max-width: 768px) {
  .footer-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: 25px 10px;
  }
}

/* PC共通 */
.hamburger {
  display: none;              /* PCでは非表示 */
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: white;
  height: 3px;
  margin: 4px 0;
  width: 25px;
}

/* ★スマホ用の切り替え */
@media (max-width: 768px) {
  .hamburger {
    display: flex;            /* スマホでは表示 */
  }

  .main-nav {
    display: none;            /* 初期状態ではメニュー非表示 */
    flex-direction: column;
    background: #222;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
  }

  .main-nav.active {
    display: flex;            /* toggleMenu() で表示切替 */
  }

  .main-nav a {
    padding: 10px 0;
  }
}

/* ===== スケジュール（レベル別） ===== */
.kpop-schedule{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.schedule-box{
  background:#fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.05);
}

.schedule-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.schedule-head h3{
  margin:0;
  font-size: 1.1rem;
}

.schedule-badge{
  display:inline-block;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: .12em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* 色味（K-POPっぽく） */
.schedule-box.beginner{
  background: linear-gradient(90deg, rgba(255,79,216,0.10), rgba(140,123,255,0.10));
}
.schedule-box.advanced{
  background: linear-gradient(90deg, rgba(120,200,255,0.10), rgba(255,255,255,0.00));
}

.schedule-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.schedule-list li{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
}

.schedule-studio{
  font-weight: 800;
  color:#111;
}

.schedule-day{
  font-weight: 900;
  color:#111;
  opacity: .9;
  white-space: nowrap;
}

.schedule-time{
  font-weight: 900;
  color:#111;
  white-space: nowrap;
}

.schedule-cta{
  margin-top: 12px;
  text-align: right;
}

.text-link{
  color:#222;
  text-decoration: none;
  font-weight: 800;
}

.text-link:hover{
  text-decoration: underline;
}

.schedule-note{
  margin: 12px 0 0;
  color:#555;
  font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 900px){
  .kpop-schedule{
    grid-template-columns: 1fr;
  }
}

/* CTAボタン共通 */
.kpop-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* スケジュールを見る（サブ） */
.kpop-cta .btn-schedule {
  background: linear-gradient(135deg, #8f6cff, #c77dff);
  color: #fff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(140, 100, 255, 0.35);
}

/* ★ 主役：体験予約・お問い合わせ */
.kpop-cta .btn-contact {
  background: linear-gradient(135deg, #ff3f8f, #ff6f61);
  color: #fff;
  font-weight: 900;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 80, 130, 0.45);
  transform: translateY(0);
  transition: all 0.25s ease;
}

.kpop-cta .btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 80, 130, 0.6);
}

.kpop-section-title{
  text-align:center;
  font-size:1.6rem;
  letter-spacing:.06em;
  margin:28px 0 14px;
}

.kpop-gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top:18px;
}

.kpop-item{
  grid-column: span 4;   /* 3列ベース */
  margin:0;
  position:relative;
}

.kpop-item img{
  width:100%;
  display:block;
  border-radius:16px;
  aspect-ratio: 4 / 3;
  max-height: 360px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
  cursor: zoom-in;
}

.kpop-item img:hover{
  transform: scale(1.03);
  box-shadow: 0 16px 36px rgba(255, 120, 200, 0.45);
  filter: saturate(1.05);
}

/* ★ 1枚目（メイン）だけ横長＆主役にする */
.kpop-item--featured{
  grid-column: span 12;
}

.kpop-item--featured img{
  aspect-ratio: 16 / 9;
}

/* メイン画像にコピーを重ねる */
.kpop-featured-copy{
  position:absolute;
  inset:auto 0 0 0;
  padding:18px 18px 16px;
  border-radius: 0 0 16px 16px;
  color:#fff;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.10));
  display:flex;
  flex-direction:column;
  gap:4px;
  text-shadow: 0 3px 14px rgba(0,0,0,.55);
}

.kpop-featured-sub{
  font-size:.95rem;
  opacity:.95;
}

.kpop-featured-main{
  font-size:1.35rem;
  font-weight:900;
  letter-spacing:.03em;
}

.kpop-featured-note{
  font-size:.9rem;
  opacity:.9;
}

/* レスポンシブ */
@media (max-width: 900px){
  .kpop-item{ grid-column: span 6; }  /* 2列 */
}

@media (max-width: 600px){
  .kpop-item{ grid-column: span 12; } /* 1列 */
  .kpop-item img{ aspect-ratio: 16 / 10; }
  .kpop-item--featured img{ aspect-ratio: 16 / 10; }
}


.image-modal{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.92);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding: 18px;
}

.image-modal.is-open{
  display:flex;
}

.image-modal img{
  max-width: 96vw;
  max-height: 86vh;
  width:auto;
  height:auto;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}

.image-modal-close{
  position:absolute;
  top: 10px;
  right: 14px;
  font-size: 36px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor:pointer;
}

.image-modal-close:active{
  transform: scale(0.98);
}

/* モーダル表示中に背景スクロールを止める */
body.modal-open{
  overflow:hidden;
}


.kpop-movie-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.kpop-embed{
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  background:#000;
  position: relative;
  aspect-ratio: 16 / 9;
}

.kpop-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

@media (max-width: 768px){
  .kpop-movie-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .kpop-gallery{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 14px;                  /* ← 左右paddingは0にする */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    /* ✅ 重要：中央寄せは justify-content でやらない */
    justify-content: flex-start;
  }
  .kpop-gallery::-webkit-scrollbar{ display:none; }

  /* ✅ 左右に“センター用余白”を作る（1枚目/最後も中央に寄る） */
  .kpop-gallery::before,
  .kpop-gallery::after{
    content:"";
    flex: 0 0 9vw;                          /* ← (100-82)/2 = 9vw */
  }

  /* スクロールバー消す */
  .kpop-gallery::-webkit-scrollbar{ display:none; }
  .kpop-gallery{ scrollbar-width: none; }

  .kpop-item,
  .kpop-item.kpop-item--featured{
    flex: 0 0 82vw;
    width: 82vw;
    scroll-snap-align: center;
    margin: 0;
  }

  /* 通常カード：スマホは“ちょい見え”する幅に */
  .kpop-item:not(.kpop-item--featured){
    width: 72vw;              /* 70〜78vwで調整 */
  }


  .kpop-item img,
  .kpop-item--featured img{
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: none;
    object-fit: cover;
    border-radius: 14px;
  }

}


/* =========================
   📱 スマホ：発表会フォト（横スクロール・同サイズ統一）
========================= */
@media (max-width: 768px){

  .kpop-gallery{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;   /* ← center禁止 */
  }
  .kpop-gallery::-webkit-scrollbar{ display:none; }

  /* 左右の余白（中央に止まる見え方） */
  .kpop-gallery::before,
  .kpop-gallery::after{
    content:"";
    flex: 0 0 9vw;
  }

  /* 全部同じサイズ */
  .kpop-item{
    flex: 0 0 82vw;
    width: 82vw;
    scroll-snap-align: center;
    margin: 0;
  }

  .kpop-item img{
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    max-height: none;
  }

  /* スマホではコピーは邪魔なら消す（出すなら display:flex に消す場合はnone） */
  .kpop-featured-copy{
    display: flex;
  }
}
