/* ======================================
   RESET（基本リセット）
====================================== */

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
  line-height:1.8;
  color:#333;
  background:#fff;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:#6b4c9a;
  text-decoration:none;
  transition:.2s;
}

a:hover{
  opacity:.8;
  text-decoration:underline;
}


/* ======================================
   カラー変数（統一管理）
====================================== */

:root{
  --main:#8a6d3b;
  --sub-bg:#faf7f3;
  --accent:#6b4c9a;
  --text:#333;
}


/* ======================================
   HEADER（安定版）
====================================== */

.site-header{
  background:var(--sub-bg);
  border-bottom:1px solid #e5e5e5;
  position:sticky;
  top:0;
  z-index:9999;
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:16px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}


/* サイトタイトル */

.site-title{
  font-size:18px;
  font-weight:bold;
  margin:0;
  writing-mode:horizontal-tb;
  white-space:nowrap;
}


/* ======================================
   ナビ（PC）
====================================== */

.global-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:20px;
  align-items:center;
}

.global-nav a{
  font-size:15px;
  color:#333;
  white-space:nowrap;
}


/* CTA */

.nav-cta{
  background:var(--main);
  color:#fff!important;
  padding:8px 16px;
  border-radius:24px;
  font-weight:600;
}


/* ======================================
   ハンバーガー
====================================== */

.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:26px;
  cursor:pointer;
}


/* ======================================
   hero
====================================== */

.hero{
  position:relative;
  overflow:hidden;
}

/* スライダー高さ */
.hero-slider{
  height:520px;
  position:relative;
}

/* テキスト中央 */
.hero-text{
  position:absolute;
  z-index:2;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:85%;
  max-width:760px;

  background:rgba(250,247,243,0.9);
  padding:30px 24px;
  border-radius:16px;
  text-align:center;
}

/* ===== スライダー画像制御（必須）===== */

.slider{
  position:absolute;
  inset:0;
  z-index:1;
}

.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease;
}

.slide.active{
  opacity:1;
}


/* ======================================
   PAGE TITLE
====================================== */

.page-title{
  background:var(--sub-bg);
  padding:40px 20px;
  text-align:center;
  border-bottom:1px solid #eee;
}

.page-title h1{
  margin:0;
  font-size:26px;
}

.page-title p{
  margin-top:8px;
  color:#666;
}


/* ======================================
   MAIN
====================================== */

main{
  max-width:1100px;
  margin:auto;
  padding:40px 20px;
}

section{
  margin-bottom:60px;
}

h1{font-size:28px;}

h2{
  font-size:22px;
  border-left:4px solid var(--main);
  padding-left:12px;
  margin-top:40px;
}

h3{font-size:18px;}


/* ======================================
   CARD
====================================== */

.card-area{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.card{
  border:1px solid #ddd;
  padding:24px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,0.05);
}


/* ======================================
   BUTTON
====================================== */

.btn-main{
  display:inline-block;
  padding:14px 36px;
  background:var(--main);
  color:#fff;
  border-radius:30px;
  font-weight:bold;
}

.btn-card{
  display:inline-block;
  margin-top:14px;
  padding:10px 22px;
  border:1px solid var(--main);
  color:var(--main);
  border-radius:20px;
  font-size:14px;
}

.btn-main:hover{
  opacity:.85;
}


/* ======================================
   FOOTER
====================================== */

footer{
  background:var(--sub-bg);
  padding:30px 20px;
  text-align:center;
  font-size:14px;
}


/* ======================================
   モバイル最適化
====================================== */

@media(max-width:768px){

  .header-inner{
    flex-wrap:wrap;
  }

  /* ハンバーガー表示 */
  .nav-toggle{
    display:block;
  }

  /* メニュー非表示 */
  .global-nav{
    display:none;
    width:100%;
  }

  /* JSでopen付与 */
  .global-nav.open{
    display:block;
  }

  .global-nav ul{
    flex-direction:column;
    gap:14px;
    border-top:1px solid #ddd;
    padding-top:16px;
    margin-top:16px;
  }

  .global-nav a{
    font-size:16px;
  }

  h1{font-size:24px;}
  h2{font-size:20px;}
}


/* ======================================
   印刷用
====================================== */

@media print{

  header,
  footer,
  .nav-toggle{
    display:none!important;
  }

  body{
    font-size:11pt;
  }
}
/* ======================================
   レッスンの流れ（統一版）
====================================== */

.lesson-flow{
  padding-left:20px;
}

.lesson-flow li{
  margin-bottom:18px;
  background:#faf6f1;
  padding:16px 18px;
  border-radius:10px;
  line-height:1.8;
}

/* イメージリンク */
.lesson-image-link{
  text-align:center;
  margin:24px 0;
}

.lesson-image-link img{
  max-width:220px;
  border-radius:12px;
}

.lesson-image-link p{
  margin-top:8px;
  color:var(--main);
  font-weight:600;
  text-decoration:underline;
}

/* 補足 */
.note{
  font-size:15px;
  background:#f3eee7;
  padding:14px 16px;
  border-radius:10px;
  color:#6b5a4a;
}

/* ===== シニアページ画像統一 ===== */
.card{
  border:1px solid #e6e0d8;
  padding:28px 26px;
  border-radius:14px;
  background:#faf7f3; /* ←ここ重要 */
  box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

/* ======================================
   ハープクラブ専用hero（ページ専用）
====================================== */

.club-hero{
  position:relative;
  width:100%;
  max-width:none;
  margin:0;
  padding:60px 20px;
  text-align:center;
  overflow:visible;
}
/* ======================================
   ハープクラブ hero 修正（最終）
====================================== */

.club-hero{
  position:relative;
  width:100%;
  max-width:1100px;
  margin:40px auto;
  text-align:center;
}

/* 画像 */
.club-hero img{
  width:100%;
  border-radius:12px;
  display:block;
}

/* テキストボックス */
.club-hero .hero-text{
  position:absolute;
  left:50%;
  bottom:40px;
  transform:translateX(-50%);
  background:rgba(255,255,255,0.9);
  padding:20px 30px;
  border-radius:16px;
  max-width:600px;
}
/* クラブページだけhero-text解除 */
.club-hero .hero-text{
  position:static;
  transform:none;
  margin:20px auto 0;
  max-width:600px;
}
@media(max-width:768px){

  .nav-toggle{
    display:block;
    position:relative;
    z-index:10000;
  }

  .global-nav{
    display:none;
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    padding:20px;
    z-index:9999;
  }

  .global-nav.open{
    display:block;
  }

}

