/* ====== 共通スタイル ====== */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #d0d0d0;
  color: #333;
}

/************************************************
  ジャンル紹介ページ専用 CSS
*************************************************/

/* セクション全体 */
.genre-section {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px 40px;
}

/* アコーディオン全体 */
.genre-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 1つのアイテム */
.accordion-item {
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}

/* ================================
   ヘッダー（閉じている時のボタン）
   背景にジャンル画像＋左側黒グラデ
================================ */

.accordion-header {
  position: relative;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;

  /* 高さと余白をしっかり取る */
  padding: 38px 34px;
  min-height: 200px;

  text-align: left;
  color: #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}

/* 黒のグラデーションオーバーレイ（左濃い→右薄い） */
.accordion-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.78) 22%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.00) 85%
  );
  z-index: 1;
}

/* テキストブロック（前面） */
.accordion-header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 60%;   /* 左側に収める（右は写真を見せる） */
}

/* タイトルとサブライン */
.genre-name {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.1;
}

.genre-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.95;
}

/* ホバー時少しだけ浮く */
.accordion-header:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

/* ================================
   中身（開いた部分）
================================ */

.accordion-content {
  display: none;         /* JSで開閉 */
  background: #ffffff;
  border-radius: 0 0 14px 14px;
  margin-top: -6px;      /* ヘッダーと自然につなぐため少し重ねる */
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* 内側レイアウト：写真＋テキスト */
.genre-inner {
  display: flex;
  gap: 22px;
  padding: 20px 20px 22px;
  align-items: stretch;
}

/* 写真部分 */
.genre-photo {
  flex: 0 0 42%;
  margin: 0;
}

.genre-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

/* テキスト部分 */
.genre-description {
  flex: 1;
}

.genre-description h2 {
  font-size: 1.4rem;
  margin: 4px 0 10px;
  color: #222;
}

.genre-description p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #555;
}

/* ポイント箇条書き */
.genre-points {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.genre-points li {
  margin-bottom: 4px;
}

/* ================================
   各ジャンルごとの背景画像指定
   （ここに2枚目みたいな写真を指定）
================================ */

.genre-hiphop {
  background-image: url("../images/genres/hiphop/header.jpg");
}

.genre-middle {
  background-image: url("../images/genres/middle/header.jpg");
}

.genre-jazzfunk {
  background-image: url("../images/genres/jazzfunk/header.jpg");
}

.genre-jazz {
  background-image: url("../images/genres/jazz/header.jpg");
}

.genre-pop {
  background-image: url("../images/genres/pop/header.jpg");
}

.genre-breakin {
  background-image: url("../images/genres/breakin/header.jpg");
}

.genre-kpop {
  background-image: url("../images/genres/kpop/header.jpg");
}


/* ================================
   スマホ調整
================================ */

@media (max-width: 768px) {

  .genre-section {
    margin: 30px auto 60px;
    padding: 0 14px 30px;
  }

  .accordion-header {
    padding: 22px 16px;
    min-height: 150px;
    border-radius: 12px;
  }

  .accordion-header-inner {
    max-width: 100%;
  }

  .genre-name {
    font-size: 1.7rem;
  }

  .genre-tagline {
    font-size: 0.95rem;
  }

  .genre-inner {
    flex-direction: column;
    padding: 16px 14px 18px;
  }

  .genre-photo {
    flex: 0 0 auto;
  }

  .genre-photo img {
    max-height: 220px;
  }

  .genre-description h2 {
    font-size: 1.2rem;
    margin-top: 6px;
  }

  .genre-description p,
  .genre-points {
    font-size: 0.9rem;
  }
}


/* ====== ヘッダー（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;
}

/* ====== スマホ用調整 ====== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger span {
    background: white;
    height: 3px;
    margin: 4px 0;
    width: 25px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #222;
    flex-direction: column;
    text-align: center;
    z-index: 1000;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    margin: 10px 0;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    margin: 20px 10px;
  }

  .slider {
    gap: 6px;
  }

  .slider a {
    flex: 0 0 33.3%;
  }

  .slider img {
    max-width: 140px;
  }
}


/* サイトマップ */
.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;
  }
}


/* ===== ジャンル紹介：下部CTA ===== */
.genre-cta-section{
  max-width: 1100px;
  margin: 34px auto 80px;
  padding: 0 20px;
}

.genre-cta-inner{
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
}

.genre-cta-title{
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #111;
}

.genre-cta-lead{
  margin: 0 0 16px;
  color: #444;
  line-height: 1.7;
}

/* ボタン列：中央配置 */
.genre-cta-buttons{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== ボタン共通（キャンペーンっぽい丸ボタン） ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  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;
  min-width: 260px;        /* ← “大きめ” */
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}

/* 赤（スケジュール） */
.btn-primary{
  background: #e02727;
  color: #fff;
}
.btn-primary:hover{
  background: #ff3a3a;
}

/* 青（体験予約・お問い合わせ） */
.btn-blue{
  background: #1f66d1;
  color: #fff;
}
.btn-blue:hover{
  background: #2f7bff;
}

/* スマホ：縦並びでドン！ */
@media (max-width: 768px){
  .genre-cta-inner{
    padding: 22px 16px;
  }
  .btn{
    width: 100%;
    min-width: auto;
  }
}
