/* =========================================================
   全体設定（Global Settings）
========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #ffede3;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}

.section {
  padding: 80px 0;
}

.section h2 {
  width: 250px;
  margin: 0 auto 10px;
  padding: 0 0 5px;
  text-align: center;
  cursor: pointer;

  background-color: #fff;
  border: 3px solid #ffb28e;
  border-radius: 1rem;
  box-shadow: 10px 10px #ffb28e;
}

.section h2 span {
  display: block;
  margin-top: -10px;
  font-size: 16px;
  color: #ff8850;
}


/* =========================================================
   ヘッダー（Header）
========================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px 20px 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 9999;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

header nav a {
  text-decoration: none;
}

/* ▼ 左・中央・右ブロックを均等配置 */
.lefticon,
.logo,
.righticon {
  flex: 1;
  text-align: center;
}

/* ▼ 左右のアイコンを横並びに */
.lefticon,
.righticon {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ▼ アイコン画像 */
header .icon img {
  width: 90px;
  height: auto;
}

header .icon p {
  margin: -20px 0 0;
  font-size: 14px;
  font-weight: bold;
  color: #ff8850;
}

/* ▼ ロゴを下に飛び出させる */
header .logo {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
}

header .logo img {
  width: 120px;
  border-radius: 50%;
  transform: translateY(20px);
}

/* =========================================================
   ハンバーガーメニュー
========================================================= */

/* PCでは非表示 */
.sp-nav{
  display:none;
}

/* =========================================================
   キービジュアル（KV）
========================================================= */
#kv {
  width: 100%;
  min-height: 130vh;

  background-image: url(image/HPデスクトップ用.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: 5vw;
  align-items: flex-start;   /* ← タイトルを上に寄せる */
  padding-top: 40vh;         /* ← 上に余白を追加して位置を微調整 */
}

#kv .kv-title {
  font-size: clamp(20px, 2.5vw, 40px);
  line-height: 1.5;
  color: #545454;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.kv-message {
  position: absolute;
  top: 100vh;         /* ← 画面の高さの80%あたりに配置（調整可） */
  left: 8vw;         /* ← 左からの距離（調整可） */
  z-index: 2;        /* ← 背景より前面に表示 */
  color: #545454;
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  max-width: 470px;  /* ← 長すぎないように制限 */
}

/* =========================================================
   クラブ紹介（Introduction）
========================================================= */
#introduction {
  width: 100%;
  min-height: 120vh;

  background-image: url(image/クラブ紹介背景.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 120px 0;
}

.point {
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1400px;
}

.point-box {
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;

  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.point-box:hover {
  transform: translateY(-6px);
  opacity: 0.9;
}

.point-box img {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.point-box p {
  margin-top: 15px;
  padding: 10px 20px;

  width: 80%;
  text-align: center;

  font-size: 18px;
  font-weight: bold;
  color: #fff;

  background-color: #ff8850;
  border-radius: 2rem;
}


/* =========================================================
   お知らせ（News）
========================================================= */
#news {
  background-color: #ffede3;
}

#news h2 span {
  color: #ff8850;
}

.news_box {
  width: 80%;
  max-width: 900px;

  margin: 20px auto;
  padding: 20px 25px;

  display: flex;
  align-items: center;
  gap: 20px;

  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* ▼ 下線を完全に消す */
  text-decoration: none;
}

.news_box * {
  /* ▼ 念のため内部要素にも適用 */
  text-decoration: none;
}

.news_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.news_box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 1rem;
}

.news_box .topics {
  flex: 1;
  font-size: 18px;
  color: #444;
  line-height: 1.5;
}

.news_box .topics .title {
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  color: #444;

  padding-bottom: 4px;
  border-bottom: 3px dashed #ffb38a;
}

.news_box .topics p {
  margin-top: 10px;
  font-size: 15px;
  color: #666;
}

.news-more-btn {
  display: block;
  width: fit-content;
  margin: 25px auto 0;
  padding: 12px 22px;

  background-color: #ff8c42;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;

  transition: background-color 0.25s ease, transform 0.25s ease;
}

.news-more-btn:hover {
  background-color: #ff7a1f;
  transform: translateY(-2px);
}

.news-content img {
  width: 45%;
  height: auto;
  margin: 10px;
}


/* =========================================================
   イベント（Event）
========================================================= */
#event {
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

/* ▼ 波形デザイン */
.event-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 240px; /* ← 高さを調整（元は340px） */
  overflow: hidden;
  z-index: 1;
}

.event-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ▼ コンテンツを前面に */
#event h2,
#event .event_summary {
  position: relative;
  z-index: 2;
}

/* ▼ イベント一覧 */
.event_summary {
  margin: 50px auto;
  max-width: 1000px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* ▼ イベントカード */
.event_box {
  width: 250px;
  background: #fff;
  border-radius: 2rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  position: relative;
  padding-bottom: 60px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.event_box img {
  width: 100%;
  display: block;
  height: 180px;        /* ← 好きな高さに固定（例：150px） */
  object-fit: cover;    /* ← 画像をトリミングして枠に合わせる */
}

/* ▼ タイトル部分 */
.event_box .title {
  padding: 15px;
}

.event_box .title h4 {
  margin: 5px 0 6px;
  font-size: 1.1rem;
  color: #000;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event_box .title p {
  margin: 5px 0;
  color: #555;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ▼ 右下の丸ボタン */
.event_btn {
  position: absolute;
  bottom: 12px;
  right: 12px;

  width: 45px;
  height: 45px;

  background-color: #ff8850;
  color: #fff;
  border-radius: 50%;

  font-size: 20px;
  font-weight: 900;
  text-align: center;
  line-height: 45px;

  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}


/* =========================================================
   アクセス（Access）
========================================================= */
#access {
  background-color: #ffede3;
}

.access-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1100px;
  margin: 50px auto 0;
}

/* ▼ Google Map */
.map-container {
  position: relative;
  flex: 1 1 450px;
  min-width: 300px;
  aspect-ratio: 4 / 3;
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ▼ 住所・写真 */
.right-container {
  flex: 1 1 350px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
}

.address {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.address .main-address {
  font-size: 1.3rem;
  font-weight: bold;
}

.photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.photo img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* =========================================================
   会員さまの声（Voice）
========================================================= */
#voice {
  background-color: #ffede3;
  padding-bottom: 80px;
}

/* 一覧 */
.voice-list {
  max-width: 1200px;
  margin: 50px auto 0;

  display: flex;
  gap: 30px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 10px 20px 20px;

  scroll-snap-type: x mandatory;

  scrollbar-width: thin;
  scrollbar-color: #ffafdf #f5f5f5;
}

/* カード */
.voice-card {
  flex: 0 0 320px;

  background: #fff;
  border-radius: 28px;

  padding: 28px;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.08);

  scroll-snap-align: start;

  transition: all 0.3s ease;
}


.voice-card:hover {
  transform: translateY(-5px);
}

/* 上部 */
.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;

  flex-wrap: wrap;

  margin-bottom: 18px;
  padding-bottom: 14px;

  border-bottom: 2px dashed #eee;
}

/* クラス名 */
.voice-class {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;

  padding: 7px 16px;

  border-radius: 999px;
}

/* 年齢 */
.voice-age {
  color: #545454;

  font-size: 1rem;
  font-weight: 700;
}

/* 本文 */
.voice-comment {
  margin: 0;

  color: #545454;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* =========================
   クラス別カラー
========================= */

.voice-card.kids {
  border-top: 8px solid #ffafdf;
}

.voice-card.junior {
  border-top: 8px solid #86e584;
}

.voice-card.advanced {
  border-top: 8px solid #c9afff;
}

.voice-card.acrobat {
  border-top: 8px solid #5ce1e6;
}

.voice-card.mix {
  border-top: 8px solid #E894ff;
}

.voice-class.kids {
  background: #ffafdf;
}

.voice-class.junior {
  background: #86e584;
}

.voice-class.advanced {
  background: #c9afff;
}

.voice-class.acrobat {
  background: #5ce1e6;
}

.voice-class.mix {
  background: #E894ff;
}
/* =========================================================
   お問合せ（Inquiry）
========================================================= */
#inquiry {
  background-color: #ffede3; /* ← var(--bg-light) は未定義のため修正 */
}

.inquiry-bg {
  position: relative;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  z-index: 20;
}

.inquiry-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.inquiry-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.inquiry-title h2 {
  all: unset;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  line-height: 1.2;
  margin-top: 40px;
}

.inquiry-title h2 span {
  display: block;
  font-size: 0.5em;
  margin-top: 1px;  /* ←追加 */
}

.inquiry-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: -60px auto 0;
  padding: 30px 40px;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: clamp(16px, 2vw, 24px);
  text-align: center;
}

.contact-line {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.contact-icon {
  width: 50px;
  margin-right: 15px;
}

.contact-info {
  font-weight: bold;
}

.note-small {
  font-size: 0.7em;   /* ← 好みで 0.7em や 0.9em に調整できます */
  color: #666;        /* 少し薄めにすると案内文らしくなります */
}


/* =========================================================
   フッター（Footer）
========================================================= */
#footer {
  background-color: #fff;
  padding: 20px 0 10px;
  position: relative;
}

/* ▼ 上部のストライプ */
#footer::after {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 10px,
    transparent 10px,
    transparent 20px
  );
}

/* ▼ フッター内レイアウト */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 20px;
}

/* ▼ ロゴ */
.footer-logo {
  flex: 0 0 120px;
}

.footer-logo img {
  width: 120px;
}

/* ▼ 会社情報 */
.footer-info {
  flex: 1;
  min-width: 260px;
  padding-right: 25px;
  border-right: 1px solid #ccc;
}

.company-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.company-line.info-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  margin-bottom: 20px;
}

/* ▼ SNSアイコン */
.sns-icons {
  display: flex;
  gap: 15px;
}

.sns-icons img {
  width: 42px;
  height: 42px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sns-icons img:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

/* ▼ サイトマップ */
.sitemap {
  flex: 1;
  min-width: 220px;
  padding-left: 25px;
}

.sitemap h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 30px;
}

.sitemap li {
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid #f0f0f0;
  transition: border-color 0.25s ease;
}

.sitemap li:hover {
  border-left-color: #ffb84d;
}

.sitemap a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.sitemap a:hover {
  color: #ff8c42;
  padding-left: 3px;
}

/* ▼ サブ階層 */
.sitemap li a[href*="#schedule"],
.sitemap li a[href*="#pricing"] {
  padding-left: 1.2em;
  font-size: 14px;
  opacity: 0.9;
  border-left: none;
}


/* =========================================================
   固定ボタン（無料体験）
========================================================= */
.fixed-btn {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 9999;

  display: inline-block;
  padding: 14px 22px;

  background-color: #f9a7c8; /* 薄いピンク */
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;

  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);

  transition: transform 0.25s ease,
              background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.fixed-btn:hover {
  background-color: #ff8bb8; /* 濃いピンク */
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}



/* =========================================================
   クラスページ（CLASS PAGE）
========================================================= */

/* ---------------------------------------------------------
   1. ページ全体の背景・レイアウト
--------------------------------------------------------- */
.intro {
 background-color: #ffede3;
 padding: 120px 20px;
 position: relative;
}

.intro h1 {
 text-align: center;
 margin-bottom: 40px;
}

.intro-title {
 display: inline-block;
 position: relative;
 font-size: 50px;
 color: #545454;
 text-shadow: 2px 1px rgba(0,0,0,0.3);
}

.intro-title::after {
 content: "CLASS";
 position: absolute;
 right: -40px;
 bottom: -25px;
 font-size: 0.6em;
 color: rgba(0,0,0,0.18);
 font-weight: 180;
 transform: rotate(-15deg);
 pointer-events: none;
 font-family: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
}

/* ---------------------------------------------------------
   3. クラスカード全体の配置（レスポンシブ対応）
--------------------------------------------------------- */
.intro-file {
  display: grid;
  grid-template-columns: repeat(2, minmax(370px, 1fr)); /* 通常は2列で表示 */
  gap: 80px 20px; /* カード間の余白 */
  justify-items: center;
  align-items: start;
  width: 90%; /* 画面幅いっぱいに広げる */
  max-width: none; /* 固定幅を解除 */
  margin: 0 auto;
  padding-top: 100px; /* タイトルと重ならないように余白追加 */
}


/* ---------------------------------------------------------
   3. クラスカード（共通）
--------------------------------------------------------- */
.class-card {
  position: relative;
  width: 90%; /* 親要素に対して9割の幅 */
  max-width: 700px; /* 最大サイズを制限 */
  min-width: 370px;
  height: 350px;
  background: #fff;
  border-radius:2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px 30px 30px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  }

.class-card:hover {
  transform: scale(1.05);
}

/* ---------------------------------------------------------
   5. クラス画像（左上に配置）
--------------------------------------------------------- */
.class-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 50px;
  left: -20px;
  transform: translateX(-50%); /* 中央揃え */
  border: 4px solid #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


/* ---------------------------------------------------------
   6. テキスト部分（右側にタイトル＋年齢、説明文は中央寄せ）
--------------------------------------------------------- */
.class-content {
  position: relative;
  margin-left: calc(200px + 1.5vw); /* 画像サイズ＋少し余白を相対指定 */
  margin-left: 100px; /* 画像の右側に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 80%; /* ← これを追加 */
}

/* クラス名と対象年齢をカード上部に */
.class-content h3 {
  margin: 0 0 20px 0;
  /* font-size: 2.1em; */
  font-size: clamp(1.6em, 2.2vw, 2.2em); /* 画面幅に応じて可変 */
  font-weight: 700;
}

.class-content .title {
  color: #545454;
  text-shadow: 2px 1px rgba(0,0,0,0.3);
}

.class-content .age {
  display: block;
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1.1;
  margin-top: 4px;
}

/* 説明文を中央寄せ＋少し左にずらす */
.class-content p {
  text-align: left;
  margin: 10px 0 0 -100px; /* 左に少しずらす */
  font-size: 1.4em;
  line-height: 1.5;
}


/* ---------------------------------------------------------
   7. クラスごとの色（年齢表示）
--------------------------------------------------------- */
.kids .age { color: #ffafdf; }
.junior .age { color: #86e584; }
.advanced .age { color: #c9afff; }
.acrobat .age { color: #5ce1e6; }
.mix .age { color: #E894ff; }

/* ---------------------------------------------------------
   9. クラスごとの画像枠線（色付き）
   ※ transform が大きいのでスマホでは調整推奨
--------------------------------------------------------- */
.kids .class-img {
  border-radius: 50%;
  border: 6px solid #ffafdf;
  transform: translate(-20px, -100px);
}

.junior .class-img {
  border-radius: 50%;
  border: 6px solid #86e584;
  transform: translate(-20px, -100px);
}

.advanced .class-img {
  border-radius: 50%;
  border: 6px solid #c9afff;
  transform: translate(-20px, -100px);
}

.acrobat .class-img {
  border-radius: 50%;
  border: 6px solid #5ce1e6;
  transform: translate(-20px, -100px);
}

.mix .class-img {
  border-radius: 50%;
  border: 6px solid #E894ff;
  transform: translate(-20px, -100px);
}

/* ---------------------------------------------------------
   10. カード外の注釈
--------------------------------------------------------- */
.level-note {
  width: 100%;
  margin: 20px 0 40px;
  padding-right: 5%;
  text-align: right;

  color: #545454;
  line-height: 1.4;

  white-space: nowrap;
  font-size: clamp(0.6rem, 2vw, 1.2rem);
}


/* ---------------------------------------------------------
   11. セクション区切り線
--------------------------------------------------------- */
.section-divider {
  border: none;
  border-top: 8px dashed #fff;
  background: none;
  margin: 30px auto;
}


/* ---------------------------------------------------------
   12. スケジュール・料金表・クラス選びマップ（共通）
--------------------------------------------------------- */
.schedule,
.pricing,
.classmap {
  background-color: #ffede3;
  padding: 80px 20px;
  text-align: center;
}

.schedule h2,
.pricing h2,
.classmap h2 {
  font-size: 3em;
  font-weight: bold;
  color: #545454;
  margin-bottom: 40px;
  text-shadow: 2px 1px rgba(0,0,0,0.2);
  font-family: 'Gen Jyuu Gothic', sans-serif;
}

.responsive-img {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 60px;
}





/* =========================================================
   コーチページ（COACH PAGE）
========================================================= */

/* ---------------------------------------------------------
   1. ページ全体
--------------------------------------------------------- */
.coach-section {
  background-color: #ffede3;
  padding: 120px 20px;
  font-family: "Helvetica", "Noto Sans JP", sans-serif;
}

/* ---------------------------------------------------------
   2. 見出し（タイトル）
--------------------------------------------------------- */
.coach-section h1 {
  text-align: center;
  margin-bottom: 40px;
}

.coach-title {
  display: inline-block;
  position: relative;
  font-size: 50px;
  color: #545454;
  text-shadow: 2px 1px rgba(0,0,0,0.3);
}

/* ▼ タイトル右下の英字装飾 */
.coach-title::after {
  content: "COACH";
  position: absolute;
  right: -40px;
  bottom: -25px;
  font-size: 0.6em;
  color: rgba(0,0,0,0.18);
  font-weight: 180;
  transform: rotate(-15deg);
  pointer-events: none;
  font-family: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive;
}


/* ---------------------------------------------------------
   3. コーチカード（1人分）
--------------------------------------------------------- */
.coach-card {
  display: flex;
  flex-wrap: wrap;

  background-color: #fff;
  border-radius: 1rem 1rem 2rem 2rem; /* 下側を少し広げて優しい形 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
}

/* ▼ コーチ写真 */
.coach-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
}

/* ▼ コーチ情報（右側） */
.coach-info {
  flex: 1;
  min-width: 250px;
}

/* ---------------------------------------------------------
   4. 名前（h2）
--------------------------------------------------------- */
.coach-info h2 {
  font-size: 30px;
  color: #545454;
  margin-bottom: 10px;
  position: relative;
}

/* ▼ 名前下のライン */
.coach-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 210px;
  height: 4px;
  background-color: #ffb38a;
  border-radius: 2px;
}


/* ---------------------------------------------------------
   5. 担当クラス（楕円タグ）
--------------------------------------------------------- */
.class-tags {
  margin: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 14px;
  border-radius: 2rem;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
}

/* ▼ クラスごとの色 */
.tag.kids    { background-color: #ffafdf; }
.tag.junior  { background-color: #86e584; }
.tag.advance { background-color: #c9afff; }
.tag.acrobat { background-color: #5ce1e6; }


/* ---------------------------------------------------------
   6. プロフィール・資格
--------------------------------------------------------- */
.bio {
  font-size: 16px;
  color: #545454;
  margin-bottom: 20px;
  line-height: 1.6;
}

.qualifications {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.qualifications li {
  font-size: 14px;
  color: #545454;
  padding-left: 1em;
  text-indent: -1em; /* 行頭に記号を揃える */
}





/* =========================================================
   イベント詳細ページ（EVENT DETAIL PAGE）
========================================================= */


/* ---------------------------------------------------------
   1. 全体レイアウト
--------------------------------------------------------- */
#event-detail {
  max-width: 900px;
  margin: 120px auto 50px; /* ヘッダーに隠れないよう余白 */
  padding: 0 20px;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #444;
}


/* ---------------------------------------------------------
   2. タイトル・投稿日
--------------------------------------------------------- */
.event-header {
  margin-bottom: 40px;
}

.event-title {
  font-size: 32px;
  font-weight: 700;
  color: #ff7f50;
  margin: 0 0 10px;
  border-bottom: 3px solid #ff7f50;
}

.event-date {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}


/* ---------------------------------------------------------
   3. チラシ画像
--------------------------------------------------------- */
.event-flyer {
  text-align: center;
  margin-bottom: 50px;
}

.event-flyer img {
  max-width: 80%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ---------------------------------------------------------
   4. 開催情報（重要事項）
--------------------------------------------------------- */
.event-info {
  background: #fff7f2;
  border-left: 10px solid #ffb38a;
  padding: 10px 30px;
  border-radius: 15px;
  margin-bottom: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.event-info h2 {
  font-size: 24px;
  margin: 0 0 10px;
  color: #ff7f50;
}

.event-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-info li {
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed #ffc7a8;
}

.event-info li:last-child {
  border-bottom: none;
}


/* ---------------------------------------------------------
   5. イベント概要・詳細
--------------------------------------------------------- */
.event-description {
  background: #fff;
  padding: 10px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.event-description h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ff7f50;
}

.event-description p {
  font-size: 16px;
  line-height: 1.8;
}


/* ---------------------------------------------------------
   6. 戻るボタン
--------------------------------------------------------- */
.event-back-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 40px;
  padding: 12px 24px;

  background-color: #ff8c42;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;

  transition: background-color 0.25s ease, transform 0.25s ease;
}

.event-back-btn:hover {
  background-color: #ff7a1f;
  transform: translateY(-2px);
}





/* =========================================================
   お知らせ一覧ページ（NEWS LIST）
========================================================= */

/* ---------------------------------------------------------
   1. レイアウト全体
--------------------------------------------------------- */
.news-list-wrapper {
  width: 90%;
  max-width: 900px;
  margin: 100px auto 0; /* ヘッダーと重ならないよう余白 */
  padding: 0 10px;
}

/* ---------------------------------------------------------
   2. 一覧アイテム（1件分）
--------------------------------------------------------- */
.news-item {
  display: block;
  padding: 15px 10px;
  border-bottom: 1px solid #e0e0e0;
  text-decoration: none;
  color: #333;
  text-align: left;
  transition: background-color 0.2s ease;
}

.news-item:hover {
  background-color: #f7f7f7;
}

/* 横並びレイアウト */
.news-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* 投稿日 */
.news-date {
  font-size: 0.85rem;
  color: #888;
  white-space: nowrap;
}

/* タイトル */
.news-title {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  margin: 0;
  white-space: nowrap;
}

/* 説明文（1行で省略） */
.news-excerpt {
  font-size: 0.9rem;
  color: #555;
  margin: 0;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}


/* =========================================================
   お知らせ詳細ページ（NEWS DETAIL）
========================================================= */

/* ---------------------------------------------------------
   1. レイアウト全体
--------------------------------------------------------- */
#news-detail {
  max-width: 900px;
  margin: 120px auto 50px;
  padding: 0 20px;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #444;
}

/* ---------------------------------------------------------
   2. タイトル・投稿日
--------------------------------------------------------- */
#news-detail .news-header {
  margin-bottom: 40px;
}

#news-detail .news-title {
  font-size: 22px;
  font-weight: 700;
  color: #ff7f50;
  margin: 0 0 10px;
  padding-bottom: 5px;
  border-bottom: 3px solid #ff7f50;
}

#news-detail .news-date {
  font-size: 14px;
  color: #777;
}

/* ---------------------------------------------------------
   3. 本文
--------------------------------------------------------- */
#news-detail .news-content p {
  white-space: pre-line; /* 改行を反映 */
  line-height: 1.2;      /* 読みやすい行間に修正 */
  font-size: 16px;
  margin-bottom: 40px;
}

/* ---------------------------------------------------------
   4. 戻るボタン（詳細ページ専用）
--------------------------------------------------------- */
#news-detail .back-button {
  text-align: center;
  margin-top: 40px;
}

#news-detail .back-button a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ff7f50;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#news-detail .back-button a:hover {
  background-color: #ff9966;
}

/* ---------------------------------------------------------
   5. 一覧ページに戻るボタン（別用途）
--------------------------------------------------------- */
.back-btn {
  display: inline-block;
  margin: 20px 0 10px 5%;
  padding: 10px 18px;

  background-color: #ff8c42;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;

  transition: background-color 0.25s ease, transform 0.25s ease;
}

.back-btn:hover {
  background-color: #ff7a1f;
  transform: translateY(-2px);
}

/* お知らせ一覧ページの戻るボタン */
.back-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 60px; /* ← 下に余白をつけてフッターと重ならないようにする */
  padding: 12px 25px;

  background-color: #ff7f50;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;

  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background-color: #ff9966;
  transform: translateY(-2px);
}


/* =========================================================
   スマホ（〜768px）専用デザイン
   ※ キービジュアルの重なり対策を含む
========================================================= */
@media screen and (max-width: 768px) {

  /* ---------------------------------------------------------
     1. キービジュアル（人物とタイトルの重なり防止）
  --------------------------------------------------------- */
  #kv {
    align-items: flex-end;
    justify-content: center;
    padding: 18vh 0 0;
    text-align: center;
    background-position: center bottom;
    position: relative;
  }
    

  #kv .kv-title {
    position: relative;
    z-index: 2;
    font-size: clamp(18px, 5vw, 28px);
    line-height: 1.5;
    padding: 0 20px;
  }
  
  .kv-message {
    position: static;        /* ← 絶対配置を解除して通常の流れに戻す */
    margin-top: 20px;        /* ← タイトルとの間に余白 */
    text-align: center;      /* ← 中央揃え */
    padding: 0 20px;         /* ← 横の余白を確保して読みやすく */
    font-size: clamp(16px, 4vw, 22px); /* ← スマホ向けに少し大きめ */
  }
  /* ---------------------------------------------------------
     2. セクション共通
  --------------------------------------------------------- */
  .section {
    padding: 50px 15px;
  }

  .section h2 {
    padding: 10px 15px;
    font-size: 20px;
  }

  .section h2 span {
    font-size: 14px;
  }


  /* ---------------------------------------------------------
     3. ヘッダー
  --------------------------------------------------------- */
 
  
  .lefticon,
  .righticon{
    display:none !important;
  }

  header nav{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80px;
  }

  header .logo{
    position:static;
    flex:0 0 auto;
    transform:none;
    text-align:center;
  }

  header .logo img{
    width:70px;
    transform:none;
    display:block;
    margin:0 auto;
  }

  /* ハンバーガーメニュー */
.sp-nav{
  display:block;
  position:absolute;
  left:15px;
  top:20px;
  transform:none;
  z-index:10000;
}

.sp-nav summary{
  list-style:none;
  cursor:pointer;
  font-size:30px;
  color:#ff8850;
  font-weight:bold;
}

.sp-nav summary::-webkit-details-marker{
  display:none;
}

.sp-nav ul{
  list-style:none;
  margin-top:10px;
  padding:15px;
  width:220px;

  background:#fff;
  border-radius:10px;
  box-shadow:0 4px 15px rgba(0,0,0,.15);
}

.sp-nav li{
  margin-bottom:10px;
  padding-left:8px;
  border-left:3px solid #f0f0f0;
}

.sp-nav a{
  color:#333;
  text-decoration:none;
  font-size:15px;
  display:block;
}

.sp-nav a[href*="#schedule"],
.sp-nav a[href*="#pricing"]{
  padding-left:1.2em;
  font-size:14px;
  opacity:.9;
}



  /* ---------------------------------------------------------
     4. クラブ紹介（ポイント）
  --------------------------------------------------------- */
  .point {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    text-align: center;
    gap: 15px;
    padding: 0 10px;
  }

  .point-box {
    width: 100%;
  }

  .point-box img {
    width: 180px;
    height: 180px;
  }


  /* ---------------------------------------------------------
     5. News（お知らせ）
  --------------------------------------------------------- */
  .news_box img {
    display: none; /* スマホは画像非表示 */
  }

  .news_box {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
  }

  .topics .title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
  }

  .topics p {
    font-size: 0.95em;
    color: #444;
  }


  /* ---------------------------------------------------------
     6. イベント（横スクロール）
  --------------------------------------------------------- */
  #event {
    padding: 30px 0;
  }

  .swipe-arrow {
    text-align: left;
    padding-left: 15px;
    font-size: 14px;
    color: #ff8850;
    margin-bottom: 10px;
  }

  .event_summary {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 15px;
    scroll-snap-type: x mandatory;
  }

  .event_summary::-webkit-scrollbar {
    display: none;
  }

  .event_box {
    min-width: 220px;
    flex-shrink: 0;
    border-radius: 1.5rem;
    scroll-snap-align: start;
  }

  .event_box .title h4 {
    font-size: 16px;
  }

  .event_box .title p {
    font-size: 14px;
  }

  .event_btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
    line-height: 38px;
  }

  /* ▼ 3つ目のイベントを非表示（スマホで見やすくするため） */
  .event_summary .event_box:nth-child(3) {
    display: none;
  }


  /* ---------------------------------------------------------
     7. アクセス
  --------------------------------------------------------- */
  .access-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .map-container iframe {
    width: 100%;
    border-radius: 8px;
  }

  .right-container {
    text-align: left;
  }


  /* ---------------------------------------------------------
     8. お問い合わせ
  --------------------------------------------------------- */

  /* 背景画像を最前面に */
  .inquiry-bg {
    aspect-ratio: auto;
    height: 200px;
    position: relative;
    z-index: 20;
  }

  .inquiry-bg img {
    object-fit: cover;
  }

  /* タイトル文字を小さくしない */
  .inquiry-title h2 {
    font-size: 36px; /* ← 調整OK */
  }

  /* 白いボックスは背景より後ろへ */
  .inquiry-content {
    padding: 50px 15px 20px;
    font-size: 16px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
  }

  .contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin: 0;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .contact-info {
    white-space: nowrap;
    font-size: 0.95em;
  }


/* ---------------------------------------------------------
   9. クラス紹介ページ（1列表示）
--------------------------------------------------------- */
/* タイトル */
  .intro-title {
    font-size: 2.6em;
    margin: 40px auto 0;
    text-align: center;
    left: 0;
  }

  /* CLASS の位置（タイトル右下） */
  .intro-title::after {
    top: 20px;
    bottom: -25px;
    right: -40px;
  }

  /* カード全体：1列表示 */
  .intro-file {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 150px;
    max-width: 100%;
  }

  /* カード：中央揃えの基準を作る */
  .class-card {
    position: relative;         /* ← 画像の中央揃えの基準 */
    width: 92%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
    padding: 60px 24px 24px;    /* ← 左右均等の余白 */
    text-align: center;         /* ← テキスト中央揃え */
    min-width: auto;
  }

  /* 画像：left:50% を使わず margin で中央揃え */
  .class-img {
    position: static;           /* ← absolute をやめる */
    display: block;
    margin: -30px auto 12px;    /* ← 上に飛び出しつつ左右中央 */
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  /* PC版の transform を完全に打ち消す */
  .kids .class-img,
  .junior .class-img,
  .advanced .class-img,
  .acrobat .class-img,
  .mix .class-img
   {
    transform: none !important;
  }

  /* テキスト部分：PC版の margin-left を打ち消す */
  .class-content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0;
    font-size: 1.2em;
    text-align: left;
    width: 100%; /* ← これを追加 */
  }

  .class-content h3 {
    font-size: 1.4em;
    margin: 4px 0 8px;
  }

  /* 説明文：PC版の負の margin を打ち消す */
  .class-content p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 0.95em;
    margin: 10px auto 0;
    width: 92%;
    line-height: 1.6;
    text-align: center;
    word-break: break-word;
  }

/* クラス選びマップ */
#classmap h2{
  font-size: 28px;
}

/* レッスンスケジュール */
#schedule h2{
  font-size: 28px;
}

/* コース別料金表 */
#pricing h2{
  font-size: 28px;
}

    /* カード全体を縦並びにする */
  .coach-card {
    flex-direction: column;
    align-items: center; /* 中央揃え */
    text-align: center;  /* テキストも中央揃え */
  }

  /* 写真を中央に */
  .coach-card img {
    margin: 0 auto 20px;
  }

  /* コーチ名を中央に */
  .coach-info h2 {
    text-align: center;
    margin-bottom: 14px;
  }

  /* コーチ名下のラインを中央に */
  .coach-info h2::after {
    left: 50%;                 /* 中央基準に変更 */
    transform: translateX(-50%); /* 中央揃え */
    width: 210px;              /* 必要なら調整可能 */
  }

  /* タグも中央揃え */
  .class-tags {
    justify-content: center;
  }


  
  /* ---------------------------------------------------------
     カード全体：縦並び＋中央揃え
  --------------------------------------------------------- */
  .coach-card {
    flex-direction: column;   /* 写真 → 名前 → 説明 の縦並び */
    align-items: center;      /* 写真・名前を中央揃え */
    text-align: center;       /* 上部のテキストを中央揃え */
    padding: 30px 20px;
  }

  /* ---------------------------------------------------------
     写真：中央揃え
  --------------------------------------------------------- */
  .coach-card img {
    margin: 0 auto 20px;
    width: 180px;
    height: 180px;
  }

  /* ---------------------------------------------------------
     コーチ名（h2）：中央揃え
  --------------------------------------------------------- */
  .coach-info h2 {
    text-align: center;
    margin-bottom: 14px;
    font-size: 26px;
  }

  /* ▼ コーチ名下のラインも中央揃え */
  .coach-info h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 180px; /* スマホ用に少し短くしてもOK */
  }

  /* ---------------------------------------------------------
     クラスタグ：中央揃え
  --------------------------------------------------------- */
  .class-tags {
    justify-content: center;
  }

  /* ---------------------------------------------------------
     説明文・資格：左揃えに戻す（重要）
  --------------------------------------------------------- */
  .bio,
  .qualifications {
    text-align: left;   /* ← 左揃えに戻す */
    width: 100%;        /* ← カード幅いっぱいに広げる */
    margin: 0 auto 20;     /* ← 中央揃えの影響を受けないように */
  }

  .qualifications li {
    text-align: left;
  }

  /* ---------------------------------------------------------
     カードの余白調整（スマホで読みやすく）
  --------------------------------------------------------- */
  .coach-info {
    width: 100%;
    margin-top: 10px;
  }

  /* ---------------------------------------------------------
     10. フッター
  --------------------------------------------------------- */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 20px 15px;
  }

  .footer-info {
    border: none;
    padding: 0;
  }

  .sitemap {
    display: none; /* スマホは非表示 */
  }

  .sns-icons {
    justify-content: center;
    margin-top: 10px;
  }
}
