@charset "UTF-8";
:root {
  --color-text: #333;
  --color-bg: #fff;
  --color-gray: #f9f9f9;
  --color-border: #e0e0e0;
  --text-gray: #888888;
  --pink-color: #ec4f61;
  --blue-color: #008dff;
  --green-color: #00c853;
  --gold-color: #bb9b32;
  --gold-color-dark: #9e8329;
  --font-base: "Noto Sans JP", sans-serif;
  --font-serif: "Noto serif JP", serif;
  --font-en: "Manrope", serif;
  --font-size16--18: clamp(1rem, 0.22vw + 0.95rem, 1.125rem);
  --font-size14--16: clamp(0.875rem, 0.22vw + 0.825rem, 1rem);
  --font-size12--14: clamp(0.75rem, 0.22vw + 0.7rem, 0.875rem);
  --font-size18--24: clamp(1.125rem, 0.5vw + 1rem, 1.5rem);
  --font-size20--32: clamp(1.25rem, 1vw + 1rem, 2rem);
  --font-size24--40: clamp(1.5rem, 1.4vw + 1.125rem, 2.5rem);
  --font-size32--56: clamp(2rem, 2vw + 1.5rem, 3.5rem);

  --color-item-1: var(--pink-color);
  --color-item-2: var(--green-color);
  --color-item-3: #8e44ad;
  --color-item-4: #f7941d;
  --color-item-5: var(--pink-color);
  --color-item-6: #4caf50;
  --color-item-7: #29b6f6;
}
/* ----------------------------------
   Reset & Base
---------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid #ea00ff; */
}

html {
  font-size: 100%;
  overflow-x: hidden;
  scrollbar-width: thin;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: #fff;
  line-height: 1.6;
  color: var(--color-text);
  font-family: var(--font-base);
  font-optical-sizing: auto;
  font-size: var(--font-size14--16);
  font-weight: 400;
  text-align: justify;
  /* text-justify: inter-ideograph; */
  transition: background-color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

/* 画像の基本設定 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* リストの基本設定 */
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* リンクのホバーエフェクト */
a {
  transition: opacity 0.5s;
  text-decoration: none;
  color: var(--blue-color);
}
a:hover {
  opacity: 0.7;
}

h1,
h2 {
  font-size: var(--font-size24--40);
  font-family: var(--font-serif);
  line-height: 1;
}

/* ----------------------------------
   Utilities
---------------------------------- */
main {
  flex: 1;
}
section {
  padding: 0 0 clamp(60px, 8vw, 80px) 0;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: clamp(60px, 8vw, 80px) auto 0;
  z-index: 1;
}
.section__inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}

.header__title {
  font-size: var(--font-size20--32);
  color: var(--gold-color);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1.4;
  /* 初期状態を「透明」かつ「少し上」に設定 */
  opacity: 0;
  visibility: hidden;
}
/* 英語/日本語サブタイトルの装飾 */
.subtitle-en,
.subtitle-jp {
  display: block;
  font-size: var(--font-size12--14);
  color: var(--gold-color);
  margin-top: 4px;
  font-weight: normal;
  letter-spacing: 0.02em;
}

.header__title--sub {
  font-size: var(--font-size16--18);
  color: var(--color-text);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.05em;
}
.header__title--txt {
  font-size: var(--font-size14--16);
  color: #666;
  text-align: left;
  margin-top: 16px;
  letter-spacing: 0.05em;
  text-align: center;
}

/* --- 下層ページ共通 メインビジュアル --- */
.page-mv {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 700px;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-top: 10%;
}
.contact__forms--greet .page-mv {
  background-position: center top;
  max-height: 500px;
}
/* 暗転用オーバーレイ */
.page-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1; /* 動画より上 */
  pointer-events: none; /* クリック操作などを妨げない */
}
.page-mv-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-mv-title {
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

.page-mv-text {
  position: relative;
  font-size: var(--font-size20--32); /* 画面幅に合わせて自動リサイズ */
  z-index: 2;
}

.page-mv-disc {
  position: relative;
  font-size: var(--font-size12--14);
  line-height: 1.8;
  color: #fff;
  z-index: 3;
}

.page-mv-disc span {
  color: var(--gold-color);
  font-family: var(--font-en);
  letter-spacing: 0.05em;
}

/* スマホ表示の微調整 */
@media (max-width: 768px) {
  .page-mv {
    padding-top: 25%;
    aspect-ratio: 4 / 5;
    max-height: 500px;
  }
}

.pinkColor {
  color: var(--pink-color);
}
.blueColor {
  color: var(--blue-color);
}
.greenColor {
  color: var(--green-color);
}

.br-pc {
  display: block;
}
.br-sp {
  display: none;
}
@media (max-width: 768px) {
  .header__title--txt {
    text-align: left;
  }
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
}
/* -------------------------
  Header
------------------------- */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  padding: 0 5%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent; /* 初期は透明 */
  /* 0.5秒かける */
  transition: all 0.5s ease;
  /* ヘッダー背景を少しぼかして視認性を上げる場合 */
  /* backdrop-filter: blur(15px); */
  z-index: 1050;
}

.logo,
.hamburger {
  position: relative; /* z-indexを有効にするため */
  z-index: 1100; /* メニュー(1100)より必ず上にくるように設定 */
}

.logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--color-bg);
}

.logo-black,
.logo-white {
  height: 60px; /* ロゴ画像の高さを調整 */
  width: auto;
}

#main-header .logo-black {
  display: none;
} /* 黒ロゴは隠しておく */
#main-header .logo-white {
  display: block;
}

.hamburger {
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff; /* 初期は白 */
  transition: all 0.4s;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 11px;
}
.hamburger span:nth-child(3) {
  top: 22px;
}
/* クラス active が付いた時の「X」への変形 */
.hamburger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0; /* 真ん中の線を消す */
  transform: translateX(-20px);
}
.hamburger.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}
/* 100pxスクロールした後に付与されるクラス */
#main-header.scrolled {
  background-color: rgba(255, 255, 255, 1); /* 白ベース */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影 */
  height: 80px; /* 少し低くしてスタイリッシュに */
}
/* ロゴを切り替える（白を消して黒を出す） */
#main-header.scrolled .logo-white,
#main-header.menu-open .logo-white {
  display: none;
}
#main-header.scrolled .logo-black,
#main-header.menu-open .logo-black {
  display: block;
}

/* ハンバーガーメニューを黒にする */
#main-header.scrolled .hamburger span {
  background-color: var(--color-text);
}

/* ハンバーガーもメニュー開閉に合わせて黒にする */
#main-header.scrolled .hamburger span,
#main-header.menu-open .hamburger span {
  background-color: var(--color-text);
}

@media screen and (min-width: 769px) {
  #main-header.menu-open .logo-white {
    display: block !important;
  }
  #main-header.menu-open .logo-black {
    display: none;
  }
}
/* --- SP版（768px以下）の制御 --- */
@media (max-width: 768px) {
  /* SPは全画面が白になるため、ロゴもボタンも両方黒にする */

  #main-header.menu-open .logo-white {
    display: none !important;
  }
  #main-header.menu-open .logo-black {
    display: block !important;
  }
  #main-header.menu-open .hamburger span {
    background-color: var(--color-text) !important;
  }
}

/* 詳細ページのヘッダー初期状態 */
#main-header.scrolled.is-single-header {
  background-color: #ffffff; /* 最初から白 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影をつけると境界がはっきりします */
}
/* 詳細ページではロゴの切り替えも最初から完了させておく */
#main-header.is-single-header .logo-white {
  display: none !important;
}
#main-header.is-single-header .logo-black {
  display: block !important;
}

/* ハンバーガーボタンも最初から黒に */
#main-header.is-single-header .hamburger span {
  background-color: var(--color-text) !important;
}

/* --- 【最重要】ドロワーメニューの設定 --- */
/* --- オーバーレイ（背景の暗幕） --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
}

/* --- 右スライドメニュー本体 --- */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%; /* PCは50% */
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1025;
  padding: 100px 60px 60px; /* 上に余白を空けてロゴ等と被らないように */
  box-sizing: border-box;
  overflow-y: auto;

  /* 初期状態：右側に隠す */
  transform: translateX(100%);
}

@media (max-width: 768px) {
  .nav-menu {
    width: 100%; /* スマホは100% */
    padding: 100px 30px 40px;
  }
}

/* --- リスト・階層の装飾 --- */
.nav-list {
  list-style: none;
  padding: 0; /* ブラウザ標準の左パディングをリセット */
  margin: 0;
}

.nav-item {
  margin-bottom: 25px;
  opacity: 0; /* JS依存 */
}

.nav-item > a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  /* transition: color 0.3s; */
}

.sub-menu {
  list-style: none;
  color: var(--color-text);
  padding: 10px 0 0 20px; /* インデントをつけて階層を表現 */
}

.sub-menu a {
  text-decoration: none;
  color: var(--color-text);
}

/* --- お問い合わせボタン --- */
.nav-footer {
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.btn-contact {
  display: block;
  text-align: center;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid var(--gold-color-dark);
  color: var(--gold-color-dark) !important;
  text-decoration: none;
  font-size: var(--font-size14--16);
  transition: all 0.3s;
}

.btn-gold {
  background: var(--gold-color-dark);
  color: #fff !important;
}

/* -------------------------
  MV Layout (Full Screen & Left Content)
------------------------- */
.mv-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: flex-start; /* 縦方向の中央に配置 */
  padding: 120px 5%; /* 左側に5%の余白を持たせる */
  box-sizing: border-box;
  overflow: hidden;
}
/* 暗転用オーバーレイ */
.mv-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1; /* 動画より上 */
  pointer-events: none; /* クリック操作などを妨げない */
}
/* ----------------------------------
   Media (Video)
---------------------------------- */
.hero-media {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0; /* 一番奥 */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* 基本は非表示 */
  z-index: 1;
}

/* 1つ目の動画だけJS読み込み前から表示しておく（必須） */
.hero-video:first-of-type {
  opacity: 1;
  z-index: 2;
}

/* 左寄せ・縦並びのコンテンツエリア */
.mv-content-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column; /* 縦置き */
  gap: 24px; /* 2つのコンテンツの隙間 */
  width: 100%;
  max-width: 400px; /* ボックスの最大幅（PC用） */
}

/* 透明度をつけたボックス（リンクとして機能） */
.pane-content {
  position: relative;
  display: block; /* <a>タグをブロック要素にする */
  padding: 32px 64px 32px 32px;
  text-decoration: none; /* リンクの下線を消す */
  color: var(--color-bg);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.pane-title {
  font-size: var(--font-size18--24);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.pane-comment {
  font-size: var(--font-size14--16);
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 8px 20px;
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  border-radius: 50px;
}

.arrow-icon {
  font-size: 24px;
  margin-left: 10px;
  line-height: 1;
  transition: transform 0.3s ease; /* ホバーアニメーション用 */
}

/* ▼ 新規追加: ホバー時に矢印だけ少し右にスライドさせる（クリック感の演出） ▼ */
.pane-content:hover .arrow-icon {
  transform: translateX(4px);
}

/* 左からフェードインするアニメーションの定義 */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px); /* 左に40pxずらした状態 */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* 元の位置に戻る */
  }
}

/* .pane-content 共通の設定 */
.pane-content {
  opacity: 0; /* アニメーション前は非表示にしておく */
  /* forwards を指定（opacity: 1）を維持 */
  animation: fadeInLeft 0.8s ease-out forwards;
}

/* 1つ目の要素（遅延なし、または少しだけ遅らせる） */
.pane-content:nth-child(1) {
  animation-delay: 0.2s;
}

/* 2つ目の要素（1つ目より遅らせて時間差を作る） */
.pane-content:nth-child(2) {
  animation-delay: 0.5s;
}
/* -------------------------
  Responsive (スマートフォン用: 768px以下)
------------------------- */
@media screen and (max-width: 768px) {
  .logo img {
    height: 40px; /* ロゴ画像の高さを調整 */
    width: auto;
  }
  .mv-container {
    height: auto;
    min-height: 100svh;
    padding: 100px 20px; /* スマホでは上下の余白をしっかり取る */
    justify-content: flex-start;
  }

  .mv-content-wrapper {
    max-width: 100%;
    margin-top: 80px;
    gap: 40px;
  }
}

/* --- Swiper エリア全体の調整 --- */
.swiper-slide {
  overflow: hidden; /* 中のリンクが外にはみ出さない */
  position: relative;
}

.swiper-area {
  position: relative;
  padding: 40px 0;
}

.l-inner {
  max-width: 1025px; /* スライダーの最大幅 */
  margin: 0 auto;
  position: relative;
  padding: 0 54px; /* 矢印ボタン用のスペース */
}

/* --- カード（news-item）の装飾 --- */
.news-item {
  background: #fff;
  border: 1px solid rgba(187, 155, 50, 0.5);
  transition: transform 0.3s ease;
  height: auto;
}

/* 画像の高さを統一する */
.img-cover a {
  display: block;
  aspect-ratio: 16 / 9; /* 16:9で統一 */
  overflow: hidden;
}

.img-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* --- コンテンツ部分 --- */
.slide-content {
  padding: 20px;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.slide-date {
  color: var(--text-gray);
}
.slide-tag {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
}

.slide-title {
  font-size: var(--font-size12--14);
  display: block;
  white-space: nowrap; /* 改行を禁止 */
  overflow: hidden; /* はみ出しを隠す */
  text-overflow: ellipsis; /* 3点リーダーを表示 */

  /* 以前の2行設定（もし残っていれば）をリセット */
  height: auto !important;

  margin-bottom: 10px;
  line-height: 1.4;
  width: 100%; /* 100%幅で判定させる */
}
.slide-title a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.slide-excerpt {
  /* 1行に固定してはみ出しを隠す設定 */
  display: block;
  white-space: nowrap; /* 改行させない */
  overflow: hidden; /* はみ出した分を隠す */
  text-overflow: ellipsis; /* 末尾を「...」にする */

  /* レイアウト調整 */
  margin-bottom: 15px;
  font-size: 0.75rem;
  width: 100%; /* 幅を確定させる */
}

.slide-excerpt a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
}

.read-more {
  color: var(--color-text);
  text-decoration: underline;
  font-size: 0.75rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* --- カスタム矢印ボタンのデザイン --- */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--gold-color);
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.swiper-button-prev-custom:after,
.swiper-button-next-custom:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--gold-color);
  border-right: 2px solid var(--gold-color);
}

.swiper-button-prev-custom {
  left: 0;
}
.swiper-button-prev-custom:after {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.swiper-button-next-custom {
  right: 0;
}
.swiper-button-next-custom:after {
  transform: rotate(45deg);
  margin-right: 4px;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: var(--gold-color);
}
.swiper-button-prev-custom:hover:after,
.swiper-button-next-custom:hover:after {
  border-color: #fff;
}
@media (max-width: 768px) {
  /* スライド自体のクリッピングを防ぐ */
  .swiper-slide {
    overflow: visible !important;
  }

  /* カード本体の設定 */
  .news-item {
    box-sizing: border-box; /* ボーダーを幅に含める */
    width: 99%;
    margin: 0 auto; /* 中央に寄せて右線を表示させる */
  }
}

/* メソッド案内 */
/* --- PC用：デフォルトのスタイル --- */
.top__contents {
  max-width: 1025px;
  width: 100%;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.top__text-area {
  flex: 0 0 70%; /* 幅を70%に固定 */
  padding-right: 30px;
}
.children .top__text-area {
  padding-left: 30px;
}

.top__image-area {
  flex: 0 0 30%; /* 幅を30%に固定 */
  flex-direction: column;
}

.top__image-area img {
  width: 100%;
  height: auto;
  display: block;
}
.top__item:not(:last-child) {
  margin-bottom: 30px; /* セット間の余白（PC） */
}

/* 小見出しのデザイン（一括管理） */
.top__item-ttl {
  font-size: var(--font-size16--18);
  font-weight: bold;
  margin-bottom: 10px; /* 見出しと本文の間の余白 */
  display: flex;
  align-items: center; /* アイコンと文字を上下中央揃え */
  gap: 8px; /* アイコンと文字の間隔 */
}
.top__item-ttl--adult {
  color: var(--green-color);
}
.top__item-ttl--child {
  color: var(--pink-color);
}
.top__item-ttl--adult.-icon01::before {
  font-family: "Font Awesome 6 Free";
  content: "\f5dc";
  font-weight: 900;
  /* color: #3498db;  アイコンの色*/
  margin-right: 10px;
}
.top__item-ttl--adult.-icon02::before {
  font-family: "Font Awesome 6 Free";
  content: "\f51c";
  font-weight: 700;
  /* color: #3498db;  アイコンの色 */
  margin-right: 10px;
}
.top__item-ttl--adult.-icon03::before {
  font-family: "Font Awesome 6 Free";
  content: "\f05a";
  font-weight: 700;
  /* color: #3498db;  アイコンの色*/
  margin-right: 10px;
}
.top__item-ttl--child.-icon04::before {
  font-family: "Font Awesome 6 Free";
  content: "\f001";
  font-weight: 700;
  /* color: #3498db;  アイコンの色*/
  margin-right: 10px;
}
.top__item-ttl--child.-icon05::before {
  font-family: "Font Awesome 6 Free";
  content: "\e53d";
  font-weight: 700;
  /* color: #3498db;  アイコンの色 */
  margin-right: 10px;
}
.top__item-ttl--child.-icon06::before {
  font-family: "Font Awesome 6 Free";
  content: "\e098";
  font-weight: 700;
  /* color: #3498db;  アイコンの色*/
  margin-right: 10px;
}
/* 本文のデザイン（一括管理） */
.top__item-txt {
  line-height: 1.6;
  color: #555;
}

/* --- スマホ時の調整 --- */
@media (max-width: 768px) {
  .top__contents {
    flex-direction: column; /* 縦並びに変更 */
    gap: 20px;
  }
  .adult .top__contents {
    flex-direction: column-reverse;
  }
  .top__text-area,
  .top__image-area {
    flex: 0 0 100%; /* 幅をいっぱいにする */
    width: 100%;
    padding-right: 0; /* PC用の余白をリセット */
  }
  .children .top__text-area,
  .children .top__image-area {
    flex: 0 0 100%; /* 幅をいっぱいにする */
    width: 100%;
    padding-left: 0; /* PC用の余白をリセット */
  }
  .top__item:not(:last-child) {
    margin-bottom: 20px; /* スマホでは余白を少し詰める */
  }
}

/* 講師紹介 */
.music-bg {
  position: relative;
  height: 280px; /* 名前がはみ出さないように高さを少し拡張 */
  margin-top: 40px;
  overflow: hidden;

  background:
    linear-gradient(#f0d478, #f0d478) left 80px/100% 2px no-repeat,
    linear-gradient(#f0d478, #f0d478) left 100px/100% 2px no-repeat,
    linear-gradient(#f0d478, #f0d478) left 120px/100% 2px no-repeat,
    linear-gradient(#f0d478, #f0d478) left 140px/100% 2px no-repeat,
    linear-gradient(#f0d478, #f0d478) left 160px/100% 2px no-repeat;
}

.music-bg::before {
  content: "𝄞";
  position: absolute;
  left: 20px;
  top: 25px;
  font-size: 100px;
  color: #f0d478;
  opacity: 0.6;
}

.music-inner {
  /* max-width: 1025px; */
  width: 100%;
  margin: 0 auto;
  height: 100%;
}

.teacher-swiper {
  height: 100%;
  padding-top: 30px;
}

.teacher {
  text-align: center;
}

/* 画像と名前の距離を調整するためのフレックス設定 */
.teacher-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* ここで画像と名前の距離をコントロール */
  text-decoration: none;
  /* color: #333; リンクのテキスト色 */
}

/* 5枚並べるために画像サイズを少し調整 */
.teacher img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #f0d478;
  margin: 0; /* ブラウザ依存の余白を消去 */
}

/* pタグのデフォルトマージンを消して距離を詰める */
.teacher-name {
  margin: 0;
  font-weight: 400;
}

.teacher:nth-child(odd) {
  transform: translateY(-20px);
}

.teacher:nth-child(even) {
  transform: translateY(20px);
}

.teacher-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

@media (max-width: 768px) {
  .music-bg {
    height: 220px;
  }

  .teacher img {
    width: 100px; /* スマホ時のサイズ */
    height: 100px;
  }
}

/* バナーエリア */
.banner-section {
  position: relative;
  padding: clamp(60px, 8vw, 80px) 0;
  /* background-image: url("../images/moyou.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
  background-color: var(--color-gray);
  z-index: 5;
}
.banner-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 4列 */
  gap: 30px; /* バナー間の隙間 */
  z-index: 10;
}
.banner-item {
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.banner-item img {
  width: 100%;
  max-width: 435px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- バナーが1つの時の中央寄せ設定 --- */
.banner-container.is-single-banner {
  display: flex; /* Gridを解除してFlexboxに変更 */
  justify-content: center; /* 左右中央に配置 */
}

/* 1つの時でも、2列で並んでいた時のサイズ感をキープする */
.banner-container.is-single-banner .banner-item {
  width: 100%;
  /* 900pxのコンテナで2列＋隙間30pxの場合、バナー1枚の最大幅は約585pxになります */
  max-width: 435px;
}

/* GSAP読み込み前のチラつき防止（初期状態は透明） */
.gsap-fade {
  visibility: hidden;
  opacity: 0;
}

/* 万が一JavaScriptがオフの環境でも画像が見えるようにする工夫（推奨） */
.no-js .gsap-fade {
  opacity: 1;
}

/* スマホでは1列 */
@media (max-width: 768px) {
  .banner-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .banner-container.is-single-banner {
    gap: 0;
  }
}

/* ========================================================
   講座情報 アーカイブ（一覧）ページ
======================================================== */

/* --- 絞り込みフィルター（プルダウン） --- */
.archive-filter {
  margin-bottom: 40px;
  display: flex;
  justify-content: flex-end; /* 右寄せにする場合 */
}
.filter-form {
  display: flex;
  gap: 15px;
}
.filter-form select {
  padding: 10px 40px 10px 15px;
  font-size: var(--font-size14--16);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  appearance: none; /* デフォルトの矢印を消す */
  /* オリジナルの矢印アイコン（SVG）を背景に設定 */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207.41L0%201.41L1.41%200Z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 10px;
}
.filter-form select:focus {
  outline: none;
  border-color: var(--gold-color); /* フォーカス時の色 */
}

/* --- カードグリッド（3列） --- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.archive-item {
  display: flex; /* 高さ揃え用 */
}
.archive-item .news-item {
  width: 100%; /* グリッドの中で幅を100%にする */
  height: 100%;
}
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  color: var(--text-gray);
}

/* --- ページネーション --- */
.archive-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.archive-pagination ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
  align-items: center;
}
.archive-pagination li a,
.archive-pagination li span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.archive-pagination li a:hover {
  background: #f9f9f9;
  border-color: #ccc;
}
/* 現在のページ */
.archive-pagination li span.current {
  background: var(--gold-color);
  border-color: var(--gold-color);
  color: #fff;
}
/* 「前へ」「次へ」ボタンの幅を広げる */
.archive-pagination li a.prev,
.archive-pagination li a.next {
  width: auto;
  padding: 0 15px;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
  }
}
@media (max-width: 600px) {
  .archive-filter {
    justify-content: center;
  }
  .filter-form {
    width: 100%;
    flex-direction: column; /* スマホはプルダウンを縦並び */
  }
  .filter-form select {
    width: 100%;
  }
  .archive-grid {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 20px;
  }
}

/* --- 記事詳細の基本レイアウト --- */
.single-post {
  background: #fff;
}

.l-inner-narrow {
  max-width: 820px; /* 読みやすい幅に制限 */
  margin: 0 auto;
  padding: 0 4%;
}
.entry {
  padding: 120px 0;
}
.entry-header {
  text-align: left;
  margin-bottom: 30px;
}

.entry-date {
  display: block;
  font-size: var(--font-size12--14);
  color: var(--text-gray);
  letter-spacing: 0.1em;
}

.entry-title {
  font-size: var(--font-size24--40);
  line-height: 1.4;
  color: var(--color-text);
  margin: 0;
}

.entry-img {
  margin-bottom: 40px;
}

.entry-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.entry-content {
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 80px;
}

/* --- ページャーのデザイン --- */
.entry-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 40px;
}

.entry-pager div a {
  text-decoration: none;
  color: #333;
  font-size: var(--font-size14--16);
  transition: color 0.3s;
  position: relative;
}

/* 一覧に戻るボタン（中央） */
.pager-back a {
  color: var(--gold-color);
  padding: 10px 25px;
  border: 1px solid var(--gold-color);
  border-radius: 30px;
  transition: all 0.3s;
}

/* 前後リンクの矢印装飾 */
.pager-prev a::before {
  content: "← ";
}
.pager-next a::after {
  content: " →";
}

.entry-pager div a:hover {
  color: var(--gold-color);
}

.pager-back a:hover {
  background: var(--gold-color);
  color: #fff !important;
}

@media (max-width: 768px) {
  .entry-pager {
    flex-direction: column;
    gap: 25px;
  }
  .pager-prev,
  .pager-next {
    width: 100%;
    text-align: center;
  }
  .pager-back {
    order: 3;
  } /* スマホでは一番下に一覧ボタン */
}

/* --- 望月メソッド --- */
.mz-simple-sec {
  width: 100%;
  padding: 80px 20px; /* 上下の内側余白（MVとの外側余白marginはゼロです） */

  /* 背景画像の設定 */
  background-size: contain;
  background-position: left top;
  background-repeat: repeat-x;
}

/* 全体を中央に寄せるためのインナー */
.mz-simple-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: center; /* 左右中央揃え */
}

/* アイコンとテキストを横並びにする */
.mz-simple-flex {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  gap: 30px; /* アイコンとテキストの隙間 */
}

/* ピアノアイコンのサイズ */
.mz-simple-icon img {
  width: 100px;
  height: auto;
  display: block;
}

/* テキストエリア */
.mz-simple-text {
  text-align: left;
}

.mz-simple-lead {
  color: var(--gold-color);
  font-weight: bold;
  font-size: var(--font-size14--16);
  margin: 0 0 10px 0;
}

.mz-simple-heading {
  color: #111;
  font-size: var(--font-size18--24);
  line-height: 1.8; /* 行間を少し開ける */
  margin: 0;
  font-weight: bold;
}

/* 文字に沿った下線（折り返し対応） */
.mz-simple-heading .mz-underline {
  display: inline;
  text-decoration: underline; /* 下線を引く */
  text-decoration-thickness: 2px; /* 下線の太さ */
  text-underline-offset: 6px; /* 文字と下線の隙間（ */
  text-decoration-color: #222; /* 下線の色 */
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-simple-sec {
    padding: 0 20px;
  }
  .mz-simple-flex {
    flex-direction: column; /* スマホでは縦並びに変更 */
    text-align: center;
    gap: 20px;
  }
  .mz-simple-text {
    text-align: center; /* スマホ時はテキスト全体も中央揃え */
  }
  .mz-simple-lead {
    font-size: 13px;
  }
  .mz-simple-heading {
    line-height: 1.6;
  }
}

/* --- 「どんなもの？」セクション --- */
.mz-about-sec {
  padding: 80px 20px;
  background-color: #fff;
}

.mz-about-inner {
  max-width: 1024px;
  margin: 0 auto;
}

/* 見出し（ピンク色・中央寄せ） */
.mz-about-heading {
  text-align: center;
  color: var(--color-item-5);
  font-size: var(--font-size18--24);
  font-weight: bold;
  margin-bottom: 50px;
}

/* 左右のカラム配置（Flexbox） */
.mz-about-content {
  display: flex;
  gap: 50px; /* テキストと画像の間の隙間 */
  align-items: flex-start;
}

/* 左側：テキストエリア */
.mz-about-text {
  flex: 1; /* 残りの幅をすべて使う */
  font-size: var(--font-size14--16);
  line-height: 1.8;
  color: #333;
}

.mz-about-text p {
  margin-bottom: 25px; /* 段落ごとの余白 */
}

/* 赤文字の装飾 */
.mz-text-red {
  color: #d32f2f; /* 赤色 */
}
.mz-large-red {
  font-size: 1.2em; /* 「光の音」の部分だけ少し大きくする */
}

/* 右側：画像エリア */
.mz-about-images {
  width: 32%; /* 画像エリアの幅 */
  display: flex;
  flex-direction: column;
  gap: 20px; /* 画像同士の縦の隙間 */
}

.mz-about-images img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 少しだけ影をつけて立体感を出します */
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-about-sec {
    padding: 50px 20px;
  }
  .mz-about-heading {
    margin-bottom: 30px;
  }
  .mz-about-content {
    flex-direction: column; /* スマホでは縦並びに変更 */
    gap: 40px;
  }
  .mz-about-images {
    width: 100%; /* スマホでは画像も横幅いっぱいにする */
    flex-direction: column;
    gap: 10px;
  }
  /* .mz-about-images img {
    width: calc(50% - 5px); 
  } */
}

/* --- 夢の実現 セクション --- */
.mz-dream-sec {
  background-color: #fff;
}

.mz-dream-inner {
  max-width: 1024px;
  margin: 0 auto;
}

/* 左右のカラム配置（Flexbox） */
.mz-dream-content {
  display: flex;
  gap: 50px; /* 画像とテキストの隙間 */
  align-items: flex-start; /* 上端で揃える */
}

/* 左側：画像エリア */
.mz-dream-img {
  width: 40%; /* 画像の横幅割合 */
}

.mz-dream-img img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 少しだけ影をつけて写真を際立たせます */
}

/* 右側：テキストエリア */
.mz-dream-text {
  width: 60%; /* テキストの横幅割合 */
  font-size: var(--font-size14--16);
  line-height: 1.8;
  color: var(--color-text);
}

.mz-dream-text p {
  margin-bottom: 25px; /* 段落ごとの余白 */
}

/* 最後の段落は下の余白をなくす */
.mz-dream-text p:last-child {
  margin-bottom: 0;
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-dream-sec {
    padding: 40px 20px 60px;
  }
  .mz-dream-content {
    flex-direction: column; /* スマホでは縦並びに変更 */
    gap: 30px;
  }
  .mz-dream-img,
  .mz-dream-text {
    width: 100%; /* スマホでは両方とも横幅いっぱいにする */
  }
}

/* --- 講座メニュー セクション --- */
.mz-course-sec {
  background-color: #fff;
}

.mz-course-inner {
  max-width: 1024px;
  margin: 0 auto;
}

/* 見出し部分 */
.mz-course-header {
  text-align: center;
  margin-bottom: 60px;
}

.mz-course-heading {
  color: var(--color-item-5); /* ピンク */
  font-size: var(--font-size18--24);
  font-weight: bold;
  margin-bottom: 25px;
}

/* カラフルな5色の線 */
.mz-course-line {
  display: flex;
  justify-content: center;
  gap: 6px; /* 線と線の間の白スキマ */
  max-width: 400px; /* 線の全体の幅 */
  margin: 0 auto;
}
.mz-course-line span {
  height: 4px;
  flex: 1; /* 5分割して同じ幅にする */
}
.mz-course-line span:nth-child(1) {
  background-color: #8bc34a;
} /* 緑 */
.mz-course-line span:nth-child(2) {
  background-color: #ffeb3b;
} /* 黄 */
.mz-course-line span:nth-child(3) {
  background-color: #ff9800;
} /* オレンジ */
.mz-course-line span:nth-child(4) {
  background-color: #f44336;
} /* 赤 */
.mz-course-line span:nth-child(5) {
  background-color: #00bcd4;
} /* 水色 */

/* 左右コンテナ（Flexbox） */
.mz-course-content {
  display: flex;
  gap: 72px; /* 左右の隙間 */
  align-items: flex-start;
}

/* --- 左側カラム（講座の進め方） --- */
.mz-course-left {
  width: 60%;
}

.mz-course-subheading {
  font-size: var(--font-size18--24);
  font-weight: bold;
  margin-bottom: 30px;
  color: #111;
}

/* 点線付きの区切りテキスト */
.mz-step-divider {
  display: flex;
  align-items: center;
  color: #d32f2f; /* 赤文字 */
  font-weight: bold;
  font-size: var(--font-size14--16);
  margin: 40px 0 30px;
}
.mz-step-divider::before,
.mz-step-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed #d32f2f; /* 赤い点線 */
}
.mz-step-divider::before {
  margin-right: 15px;
}
.mz-step-divider::after {
  margin-left: 15px;
}

/* ステップのリスト */
.mz-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mz-step-list li {
  text-align: center; /* 矢印を真ん中に寄せるため */
  margin-bottom: 25px;
}

/* ピンクの丸＋テキスト */
.mz-step-text {
  position: relative;
  text-align: left;
  padding-left: 1.2em; /* 丸アイコンの分のスペース */
  font-size: var(--font-size14--16);
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
}
.mz-step-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em; /* 文字の高さに合わせる */
  width: 8px;
  height: 8px;
  background-color: var(--color-item-5); /* ピンクの丸 */
  border-radius: 50%;
}
.mz-step-note {
  font-size: var(--font-size12--14);
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

/* 下向き矢印（FontAwesome） */
.mz-step-arrow {
  color: var(--color-item-5); /* ピンク */
  font-size: 38px;
}

/* --- 右側カラム（テキスト説明） --- */
.mz-course-right {
  width: 40%;
  font-size: var(--font-size14--16);
  line-height: 1.8;
  color: #333;
}
.mz-course-right p {
  margin-bottom: 25px;
}
.mz-course-right p:last-child {
  margin-bottom: 0;
}

.mz-course-end-txt {
  text-align: center;
  margin-top: 30px;
  font-size: var(--font-size16--18);
}

.mz-course-flow {
  margin-bottom: 30px;
  background: #fff9fa; /* ほんのりピンク背景のボックス */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #ffd1d9;
}

.mz-flow-title {
  color: var(--color-item-5);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px dashed #ffb6c1;
  padding-bottom: 10px;
}

.mz-flow-title i {
  margin-right: 8px;
}

/* 各ステップの共通ブロック */
.mz-flow-step {
  background: #fff;
  border: 2px solid var(--color-item-5);
  color: var(--color-item-5);
  font-weight: bold;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  font-size: var(--font-size14--16);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

/* 最終ゴール（認定講師）を強調 */
.mz-flow-step.final {
  background: var(--color-item-5);
  color: #fff;
  font-size: var(--font-size16--18--16);
}

/* 認定講師のサブテキスト */
.mz-flow-small {
  font-size: var(--font-size12--14);
  font-weight: normal;
  display: block;
  margin-top: 5px;
  opacity: 0.9;
}

/* 下向きの矢印 */
.mz-flow-arrow {
  text-align: center;
  color: var(--color-item-5);
  font-size: 28px;
  margin: 8px 0;
  line-height: 1;
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-course-sec {
    padding: 50px 20px;
  }
  .mz-course-content {
    flex-direction: column; /* スマホでは縦に並べる */
    gap: 40px;
  }
  .mz-course-left,
  .mz-course-right {
    width: 100%; /* スマホ時は横幅いっぱいに */
  }
  /* .mz-course-heading {
    font-size: 24px;
  }
  .mz-step-divider {
    font-size: 13px;
  } */
}

/* --- 講座概要 セクション --- */
.mz-overview-sec {
  padding: 80px 20px;
  background-color: #fff5f6; /* 背景を極薄いピンクにしてセクションを区切る */
}
.mz-overview-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.mz-sec-title {
  margin-bottom: 30px;
  font-size: var(--font-size18--24);
  text-align: center;
  color: var(--color-item-5);
}

/* ① 基礎・応用グリッド（PC時は左右並び） */
.mz-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* 共通カードデザイン */
.mz-course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #ffeef0;
}
.mz-card-header {
  background: #ffb6c1; /* 優しいピンク */
  color: var(--color-item-5);
  text-align: center;
  padding: 15px;
  font-size: var(--font-size18--24);
  font-weight: bold;
  margin: 0;
}
.mz-card-header.applied {
  background: var(--color-item-5); /* 応用はテーマカラーの濃いピンクで強調 */
  color: #fff;
}
.mz-card-body {
  padding: 30px;
}

/* 受講条件バッジ */
.mz-condition-badge {
  background: #fff3cd;
  color: var(--gold-color-dark);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
  border: 1px solid #ffeeba;
}

/* 受講タイプ（対面/DVD）の見出し */
.mz-type-title {
  font-size: var(--font-size16--18);
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 15px;
  margin-top: 30px;
}
.mz-type-title:first-child {
  margin-top: 0;
}
.mz-type-title i {
  color: var(--color-item-5);
  margin-right: 5px;
}
.mz-type-note {
  font-size: var(--font-size12--14);
  color: #666;
  font-weight: normal;
  margin-left: 10px;
}

/* 情報リスト（dl, dt, dd） */
.mz-spec-row {
  display: flex;
  margin-bottom: 12px;
  font-size: var(--font-size14--16);
  align-items: baseline;
}
.mz-spec-row dt {
  width: 5em; /* 見出しの幅を固定して揃える */
  font-weight: bold;
  color: var(--color-item-5);
}
.mz-spec-row dd {
  margin: 0;
  flex: 1;
  color: #333;
  line-height: 1.5;
}

/* 金額の強調 */
.mz-price {
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: #111;
}
.mz-price span {
  font-size: var(--font-size12--14);
  font-weight: normal;
}
.mz-shipping {
  font-size: var(--font-size12--14);
  color: #666;
}

/* ② 資格取得講座（プレミアムカード） */
.mz-premium-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(250, 71, 92, 0.15); /* ピンク系の影で特別感 */
  border: 2px solid var(--color-item-5);
}
.mz-premium-header {
  background: var(--color-item-5);
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  margin: 0;
  font-size: var(--font-size18--24);
  font-weight: bold;
  line-height: 1.4;
}
.mz-premium-sub {
  font-size: var(--font-size14--16);
  font-weight: normal;
  opacity: 0.9;
  margin-bottom: 12px;
}
.mz-premium-days {
  font-size: var(--font-size14--16);
  background: #fff;
  color: var(--color-item-5);
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 10px;
}

.mz-premium-body {
  padding: 40px;
  display: flex;
  gap: 50px;
}
.mz-premium-specs {
  width: 50%;
}
.mz-premium-benefits {
  width: 50%;
}
.mz-premium-benefits h4 {
  color: var(--color-item-5);
  font-size: var(--font-size16--18);
  margin-bottom: 15px;
  border-bottom: 1px dashed var(--color-item-5);
  padding-bottom: 10px;
}

/* チェックリスト */
.mz-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mz-check-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 12px;
  font-size: var(--font-size14--16);
  line-height: 1.6;
}
.mz-check-list li::before {
  content: "\f00c"; /* FontAwesomeのチェックマーク */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-item-5);
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-overview-sec {
    padding: 60px 20px;
  }
  .mz-overview-grid {
    grid-template-columns: 1fr; /* スマホでは1列の縦積みに */
  }
  .mz-premium-body {
    flex-direction: column; /* スマホではスペックとメリットを縦に */
    padding: 25px 20px;
    gap: 30px;
  }
  .mz-premium-specs,
  .mz-premium-benefits {
    width: 100%;
  }
  .mz-premium-days {
    display: block;
    width: fit-content;
    margin: 10px auto 0;
  }
  .mz-card-body {
    padding: 20px;
  }
}

/* --- 資格取得講座カリキュラム セクション --- */
.mz-curriculum-sec {
  padding-top: 80px;
  background-color: #fff; /* 背景を白に戻す */
}
.mz-curriculum-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.mz-curriculum-sec .mz-sec-title {
  font-size: var(--font-size18--24);
  color: var(--color-item-5);
}
/* 見出しの「3日間」を少し小さくする調整 */
.mz-small-text {
  font-size: 0.7em;
  color: #666;
  display: inline-block;
  margin-left: 10px;
}

/* 3カラムグリッド（PC時は3枚横並び） */
.mz-curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* 1日ごとのカードデザイン */
.mz-day-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column; /* 中身の高さが違ってもボタン等を下に揃えやすくする */
  transition: transform 0.3s ease;
}

/* カードの上部（DAYバッジとタイトル） */
.mz-day-head {
  background: #fff9fa;
  padding: 30px 20px 20px;
  text-align: center;
  border-bottom: 2px dashed #ffb6c1; /* ピンクの点線で区切る */
  position: relative;
  border-radius: 12px 12px 0 0;
}
.mz-day-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-item-5);
  color: #fff;
  font-weight: bold;
  font-size: var(--font-size14--16);
  padding: 5px 20px;
  border-radius: 20px;
  letter-spacing: 2px;
  box-shadow: 0 3px 8px rgba(250, 71, 92, 0.3);
}
.mz-day-title {
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: var(--color-item-5);
  line-height: 1.5;
  margin: 0;
  margin-top: 10px;
}

/* カードの下部（リスト） */
.mz-day-body {
  padding: 25px 20px;
  flex: 1; /* 高さを揃える */
}
.mz-day-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mz-day-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 15px;
  font-size: var(--font-size14--16);
  line-height: 1.7;
  color: #333;
}
/* カスタムのリストマーク（FontAwesomeの矢印） */
.mz-day-list li::before {
  content: "\f0da"; /* 右向きの小さな三角矢印 */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--color-item-5);
}

.mz-day-list li strong {
  color: #eb2222; /* 重要なキーワードを少し濃い赤に */
}

/* 補足テキスト（カッコ書きなど） */
.mz-note {
  font-size: var(--font-size12--14);
  color: #666;
  display: block;
  margin-top: 3px;
}

/* --- スマホ表示の調整 --- */
@media (max-width: 960px) {
  .mz-curriculum-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(280px, 1fr)
    ); /* タブレットサイズでは2列などに可変 */
  }
}
@media (max-width: 700px) {
  .mz-curriculum-sec {
    padding: 50px 20px;
  }
  .mz-curriculum-grid {
    grid-template-columns: 1fr; /* スマホでは完全に縦1列 */
    gap: 40px;
  }
  .mz-day-number {
    top: -12px; /* スマホの時はバッジの位置を少し調整 */
  }
}

/* --- ご案内・注意事項 セクション --- */
.mz-notice-sec {
  /* padding: 0 20px;  */
  background-color: #fff;
}

.mz-notice-inner {
  max-width: 900px; /* 文章が読みやすいように少しだけ幅を絞る */
  margin: 0 auto;
}

/* インフォメーションボックス */
.mz-notice-box {
  background: #fffafb; /* 極めて薄いピンク系の白 */
  border: 1px solid #ffeef0;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ボックスのタイトル */
.mz-notice-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-item-5);
  margin-bottom: 25px;
  border-bottom: 1px solid #ffd1d9;
  padding-bottom: 15px;
}
.mz-notice-title i {
  margin-right: 8px;
  font-size: 1.2em;
}

/* ご案内リスト */
.mz-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mz-notice-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
.mz-notice-list li:last-child {
  margin-bottom: 0;
}

/* リスト内のアイコン */
.mz-notice-icon {
  color: var(--color-item-5);
  font-size: 20px;
  width: 35px; /* アイコンの幅を固定してテキストの開始位置を揃える */
  flex-shrink: 0; /* アイコンが潰れないようにする */
  padding-top: 2px;
}

/* リスト内のテキスト */
.mz-notice-text {
  flex: 1;
}
.mz-notice-text strong {
  color: #eb2222; /* 重要なキーワードを強調 */
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-notice-sec {
    padding: 0 20px 60px;
  }
  .mz-notice-box {
    padding: 25px 20px;
  }
  .mz-notice-title {
    font-size: 18px;
  }
  .mz-notice-list li {
    font-size: 15px;
  }
  .mz-notice-icon {
    width: 30px;
    font-size: 18px;
  }
}

/* --- よくある質問（FAQ）セクション --- */
.mz-faq-sec {
  padding-top: 80px;
  background-color: #fffafb; /* 背景をほんのりピンクにして区切る */
}
.mz-faq-inner {
  max-width: 900px; /* 読みやすさを重視して幅を少し絞る */
  margin: 0 auto;
}

/* アコーディオン全体の枠 */
.mz-faq-list {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #ffeef0;
  overflow: hidden; /* 角丸を効かせるため */
}

/* 各項目の区切り線 */
.mz-faq-item {
  border-bottom: 1px solid #ffeef0;
}
.mz-faq-item:last-child {
  border-bottom: none;
}

/* --- 質問部分（クリック領域） --- */
.mz-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: #333;
  transition: background-color 0.3s;
}
.mz-faq-q:hover {
  background-color: #fff5f6; /* ホバーで少し色を変える */
}

/* Qの文字 */
.mz-faq-q-icon {
  color: var(--color-item-5);
  font-size: var(--font-size18--24);
  margin-right: 15px;
  font-family: Arial, sans-serif;
}
/* 質問テキスト */
.mz-faq-q-text {
  flex: 1;
  padding-right: 20px;
  line-height: 1.5;
}
/* 開閉用の矢印 */
.mz-faq-toggle {
  color: #ccc;
  font-size: var(--font-size16--18);
  transition: transform 0.4s ease; /* 回転アニメーション */
}

/* 開いている時の状態（クラス付与時） */
.mz-faq-item.is-open .mz-faq-q {
  background-color: #fff5f6;
  color: var(--color-item-5);
}
.mz-faq-item.is-open .mz-faq-toggle {
  transform: rotate(180deg); /* 矢印を上に向ける */
  color: var(--color-item-5);
}

/* --- 回答部分（スライドして現れるエリア） --- */
/* 最新のCSSトリック：gridを使って高さを0からautoへ滑らかにアニメーション */
.mz-faq-a-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}
.mz-faq-item.is-open .mz-faq-a-wrapper {
  grid-template-rows: 1fr;
}

.mz-faq-a {
  overflow: hidden; /* 閉じている時は中身を隠す */
}

/* 回答の中身のレイアウト */
.mz-faq-a-inner {
  display: flex;
  padding: 0 25px 30px;
  align-items: flex-start;
}

/* Aの文字（ピンクの丸背景） */
.mz-faq-a-icon {
  background-color: var(--color-item-5);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size14--16);
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

/* 回答テキスト */
.mz-faq-a-text {
  color: #333;
  line-height: 1.8;
  font-size: var(--font-size14--16);
}
.mz-faq-a-text p {
  margin: 20px 0;
}
.mz-faq-a-text p:last-child {
  margin-bottom: 0;
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .mz-faq-sec {
    padding-top: 60px;
  }

  .mz-faq-q {
    padding: 20px 15px;
  }
  .mz-faq-q-icon {
    margin-right: 10px;
  }
  .mz-faq-a-inner {
    padding: 0 15px 25px;
  }
  .mz-faq-a-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
}

/* --- よくある質問（FAQ）セクション ピアノde脳活版 --- */
.nk-faq-sec {
  padding: 80px 0;
  background-color: #f4fbfa; /* 背景 */
}
.nk-faq-inner {
  max-width: 900px; /* 読みやすさを重視して幅を少し絞る */
  margin: 0 auto;
  padding: 0 20px;
}

/* アコーディオン全体の枠 */
.nk-faq-list {
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  overflow: hidden; /* 角丸を効かせるため */
}

/* 各項目の区切り線 */
.nk-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.nk-faq-item:last-child {
  border-bottom: none;
}

/* --- 質問部分（クリック領域） --- */
.nk-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: var(--color-text);
  transition: background-color 0.3s;
}
.nk-faq-q:hover {
  background-color: #e8f5e9; /* ホバーで薄い緑にする */
}

/* Qの文字 */
.nk-faq-q-icon {
  color: var(--green-color);
  font-size: var(--font-size18--24);
  margin-right: 15px;
  font-family: Arial, sans-serif;
}
/* 質問テキスト */
.nk-faq-q-text {
  flex: 1;
  padding-right: 20px;
  line-height: 1.5;
}
/* 開閉用の矢印 */
.nk-faq-toggle {
  color: #ccc;
  font-size: var(--font-size16--18);
  transition: transform 0.4s ease; /* 回転アニメーション */
}

/* 開いている時の状態（クラス付与時） */
.nk-faq-item.is-open .nk-faq-q {
  background-color: #e8f5e9;
  color: var(--green-color);
}
.nk-faq-item.is-open .nk-faq-toggle {
  transform: rotate(180deg); /* 矢印を上に向ける */
  color: var(--green-color);
}

/* --- 回答部分（スライドして現れるエリア） --- */
.nk-faq-a-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-out;
}
.nk-faq-item.is-open .nk-faq-a-wrapper {
  grid-template-rows: 1fr;
}

.nk-faq-a {
  overflow: hidden; /* 閉じている時は中身を隠す */
}

/* 回答の中身のレイアウト */
.nk-faq-a-inner {
  display: flex;
  padding: 0 25px 30px;
  align-items: flex-start;
}

/* Aの文字（緑の丸背景） */
.nk-faq-a-icon {
  background-color: var(--green-color);
  color: var(--color-bg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size14--16);
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  margin-top: 20px;
}

/* 回答テキスト */
.nk-faq-a-text {
  color: var(--color-text);
  line-height: 1.8;
  font-size: var(--font-size14--16);
}
.nk-faq-a-text p {
  margin: 20px 0;
}
.nk-faq-a-text p:last-child {
  margin-bottom: 0;
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .nk-faq-sec {
    padding: 60px 0;
  }
  .nk-faq-q {
    padding: 20px 15px;
  }
  .nk-faq-q-icon {
    margin-right: 10px;
  }
  .nk-faq-a-inner {
    padding: 0 15px 25px;
  }
  .nk-faq-a-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
  }
}

/* ========================================================
   ピアノde脳活 専用スタイル (Prefix: nk-)
======================================================== */

/* 共通設定 */
.nk-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}
.nk-inner .text-center {
  text-align: center;
}
.nk-mb-20 {
  margin-bottom: 20px;
}
.nk-mb-40 {
  margin-bottom: 40px;
}
.nk-mt-20 {
  margin-top: 20px;
}
.nk-note {
  font-size: var(--font-size12--14);
  color: var(--text-gray);
  display: block;
  margin-top: 5px;
}
.nk-small {
  font-size: var(--font-size12--14);
  color: var(--text-gray);
}

/* セクションタイトル */
.nk-sec-title {
  text-align: center;
  font-size: var(--font-size18--24);
  font-weight: bold;
  color: var(--green-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.nk-sec-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--green-color);
  border-radius: 2px;
}

/* グリッドレイアウト */
.nk-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* --- About セクション --- */
.nk-about-sec {
  padding: 80px 0;
  background: var(--color-bg);
}

.nk-lead-box {
  margin-bottom: 50px;
  font-size: var(--font-size16--18);
  line-height: 1.8;
  font-weight: bold;
  color: var(--color-text);
}

.nk-feature-card {
  padding: 30px;
}

.nk-feature-image-area img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.nk-card-title {
  color: #009624; /* 視認性確保のための少し濃い緑 */
  font-size: var(--font-size16--18);
  margin-bottom: 20px;
  border-bottom: 2px dashed #a5d6a7;
  padding-bottom: 10px;
}
.nk-card-title i {
  margin-right: 8px;
}

/* リストスタイル */
.nk-list-check,
.nk-list-dot {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nk-list-check li,
.nk-list-dot li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: var(--font-size14--16);
  color: var(--color-text);
}
.nk-list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--green-color);
}
.nk-list-dot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background-color: var(--green-color);
  border-radius: 50%;
}
.nk-list-dot.small li {
  font-size: var(--font-size12--14);
}

/* シニアの方への応援メッセージ */
.nk-cheer-box {
  margin-top: 50px;
  border: 2px solid var(--green-color);
  border-radius: 12px;
  overflow: hidden;
}
.nk-cheer-title {
  background: var(--green-color);
  color: var(--color-bg);
  text-align: center;
  padding: 15px;
  font-size: var(--font-size18--24);
  margin: 0;
}
.nk-cheer-content {
  padding: 30px;
  display: flex;
  gap: 50px;
  align-items: center;
}
.nk-cheer-text {
  flex: 1;
  font-size: var(--font-size14--16);
  line-height: 1.8;
  color: var(--color-text);
}
.nk-cheer-text strong {
  color: #009624;
  font-size: var(--font-size16--18);
  display: block;
  margin-bottom: 10px;
}

/* ピアノが脳に良い理由 */
.nk-reason-box {
  margin-top: 50px;
  text-align: left;
  /* background: var(--color-gray); */
  padding: 40px;
  border-radius: 12px;
}
.nk-reason-box h3 {
  color: var(--green-color);
  font-size: var(--font-size18--24);
  margin-bottom: 20px;
}
.nk-reason-box p {
  font-size: var(--font-size16--18);
  line-height: 1.8;
  margin: 0;
  color: var(--color-text);
}
.nk-reason-box strong {
  color: var(--pink-color);
} /* 赤の強調部分は登録済みのピンクを使用 */

/* 指導者の先生方へ */
.nk-message-box {
  margin-top: 60px;
  padding: 40px;
  background: #f1f8e9;
  border-left: 6px solid var(--green-color);
}
.nk-msg-title {
  font-size: var(--font-size18--24);
  color: #009624;
  margin-bottom: 20px;
}
.nk-message-box p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: var(--font-size14--16);
  color: var(--color-text);
}
.nk-msg-strong {
  font-size: var(--font-size18--24);
  font-weight: bold;
  color: #009624;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0 !important;
}

/* --- ギャラリー セクション --- */
.nk-gallery-sec {
  padding: 80px 0;
  background: var(--color-gray);
  color: var(--color-text);
}

/* --- 講座について セクション --- */
.nk-course-sec {
  padding: 80px 0;
  background: var(--color-bg);
  color: var(--color-text);
}

.nk-course-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  overflow: hidden;
}
.nk-course-head {
  background: #e8f5e9;
  padding: 20px;
  text-align: center;
  position: relative;
}
.nk-course-card.premium .nk-course-head {
  background: var(--green-color);
  color: var(--color-bg);
}
.nk-course-head h3 {
  margin: 0;
  font-size: var(--font-size18--24);
  padding-top: 15px;
}
.nk-course-card.premium .nk-course-head h3 {
  color: var(--color-bg);
}

.nk-step-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: #009624;
  color: var(--color-bg);
  padding: 4px 20px;
  font-size: var(--font-size12--14);
  font-weight: bold;
  border-radius: 0 0 8px 8px;
}
.nk-course-card.premium .nk-step-badge {
  background: var(--color-bg);
  color: var(--green-color);
}
.nk-head-sub {
  font-size: var(--font-size14--16);
  font-weight: normal;
}

.nk-course-body {
  padding: 40px;
}
.nk-course-desc {
  text-align: center;
  font-size: var(--font-size16--18);
  font-weight: bold;
  margin-bottom: 30px;
}

/* DLリスト */
.nk-dl-list {
  width: 100%;
  /* border-top: 1px solid var(--color-border); */
}
.nk-dl-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: 15px 0;
  font-size: var(--font-size14--16);
}
.nk-dl-row dt {
  width: 100px;
  font-weight: bold;
  color: #009624;
  flex-shrink: 0;
}
.nk-dl-row dd {
  margin: 0;
  flex: 1;
  line-height: 1.6;
}
.nk-price {
  font-size: var(--font-size18--24);
  font-weight: bold;
  color: var(--color-text);
}
.nk-price span {
  font-size: var(--font-size12--14);
  font-weight: normal;
}

.nk-arrow-down {
  text-align: center;
  font-size: 40px;
  color: var(--green-color);
  margin-bottom: 30px;
}
.nk-condition {
  background: #fff3cd;
  color: #856404;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 30px;
  font-size: var(--font-size14--16);
}
.nk-sub-title {
  font-size: var(--font-size16--18);
  color: #009624;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.nk-ol-list {
  padding-left: 1.5em;
  line-height: 1.8;
  font-weight: bold;
  font-size: var(--font-size14--16);
}
.nk-cert-box {
  margin-top: 40px;
  background: var(--color-gray);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.nk-cert-box h4 {
  color: var(--gold-color);
  font-size: var(--font-size16--18);
  margin-bottom: 15px;
}
.nk-cert-box p {
  font-size: var(--font-size14--16);
}

/* --- 教室開講サポート セクション --- */
.nk-support-sec {
  padding: 80px 0;
  background: #f4fbfa;
  color: var(--color-text);
}
.nk-support-intro {
  text-align: center;
  margin-bottom: 50px;
  font-size: var(--font-size14--16);
  line-height: 1.8;
}
.nk-support-example {
  background: var(--color-bg);
  display: inline-block;
  text-align: left;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin: 30px 0;
}
.nk-support-example h4 {
  color: #009624;
  margin-bottom: 15px;
  text-align: center;
  font-size: var(--font-size16--18);
}
.nk-strong-text {
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: #009624;
}

.nk-report-box {
  background: var(--color-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 60px;
  font-size: var(--font-size14--16);
}
.nk-report-box h3 {
  font-size: var(--font-size18--24);
  color: var(--green-color);
  margin-bottom: 20px;
  text-align: center;
}
/* ========================================================
   YouTube動画のレスポンシブ埋め込み（16:9を維持）
======================================================== */
.nk-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px; /* 動画の最大幅 */
  margin: 30px auto; /* 中央寄せ */
  aspect-ratio: 16 / 9; /* 黄金比である16:9を強制維持 */
  overflow: hidden;
  border-radius: 12px;
  background-color: #000; /* 読み込み前の黒背景 */
}

/* 中のiframeを親要素にピッタリ合わせる */
.nk-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- ギャラリー グリッド（PC: 5列） --- */
.nk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-top: 40px;
}
.nk-gallery-item {
  aspect-ratio: 4 / 3; /* 画像の比率を横4:縦3で統一 */
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  visibility: hidden; /* GSAPが動く前のチラつき防止 */
}
.nk-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 枠に合わせてトリミング */
  transition: transform 0.3s ease;
}
.nk-gallery-item:hover img {
  transform: scale(1.05); /* マウスホバーで少しズーム */
}

/* スマホ等レスポンシブ（タブレット3列、スマホ2列） */
@media (max-width: 900px) {
  .nk-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .nk-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* --- モーダル（拡大表示） --- */
.nk-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.nk-modal.is-active {
  opacity: 1;
  visibility: visible;
}
.nk-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* 黒の半透明背景 */
  cursor: pointer;
}
.nk-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  z-index: 10000;
}
.nk-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}
.nk-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.nk-modal-close:hover {
  opacity: 0.7;
}

/* --- サポート料金 セクション --- */
.nk-price-sec-title {
  font-size: var(--font-size18--24);
  color: var(--green-color);
  margin-bottom: 40px;
  text-align: center;
}

/* 縦積みのコンテナ */
.nk-price-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

/* 横長カードのベース（PC時） */
.nk-plan-card {
  background: var(--color-bg);
  border: 2px solid #e8f5e9;
  border-radius: 12px;
  display: flex;
  flex-direction: row; /* 横並びにする */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* 左側：タイトルエリア */
.nk-plan-head {
  background: #e8f5e9;
  width: 280px; /* PC時のタイトル幅を固定 */
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 縦方向の中央寄せ */
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}
.nk-plan-num {
  display: block;
  font-size: var(--font-size24--40);
  color: var(--green-color);
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1;
}
.nk-plan-head h4 {
  margin: 0;
  font-size: var(--font-size16--18);
  line-height: 1.5;
  color: #009624;
}

/* 右側：コンテンツエリア（テキストと料金） */
.nk-plan-body {
  padding: 35px 30px;
  flex: 1;
  display: flex;
  flex-direction: row; /* テキストと料金をさらに左右に並べる */
  gap: 40px;
  align-items: center; /* 縦の中央で揃える */
}

/* 中央：テキストエリア */
.nk-plan-content {
  flex: 1;
}
.nk-plan-content p {
  font-size: var(--font-size14--16);
}

/* 右端：料金エリア */
.nk-plan-prices {
  width: 280px; /* 料金エリアの幅を固定 */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px; /* 料金箱の間の隙間 */
}

.nk-plan-price {
  padding: 20px 15px;
  background: var(--color-gray);
  text-align: center;
  border-radius: 8px;
  font-size: var(--font-size16--18);
  font-weight: bold;
}
.nk-plan-price.highlight {
  background: #fff8e1;
  color: var(--pink-color);
  border: 1px solid #ffe082;
}
.nk-plan-price .nk-label {
  font-size: var(--font-size12--14);
  font-weight: normal;
  color: var(--text-gray);
  display: block;
  margin-bottom: 8px;
}

/* --- レスポンシブ対応（画面が狭い時やスマホの時） --- */
@media (max-width: 900px) {
  /* 全体を縦積みに変更 */
  .nk-plan-card {
    flex-direction: column;
  }
  .nk-plan-head {
    width: 100%;
    padding: 20px;
  }
  .nk-plan-body {
    flex-direction: column;
    gap: 25px;
    padding: 25px 20px;
    align-items: stretch;
  }
  .nk-plan-prices {
    width: 100%;
  }
}

.nk-after-support {
  background: var(--green-color);
  color: var(--color-bg);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}
.nk-after-support h4 {
  font-size: var(--font-size18--24);
  margin-bottom: 15px;
  color: var(--color-bg);
}
.nk-after-support h5 {
  font-size: var(--font-size16--18);
  margin-bottom: 15px;
  color: #e8f5e9;
}
.nk-after-support p {
  font-size: var(--font-size14--16);
}

/* --- お問い合わせ セクション --- */
.mz-contact-sec,
.nk-contact-sec {
  padding: 80px 0;
  background: var(--color-bg);
  color: var(--color-text);
}
.nk-contact-box {
  max-width: 768px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: 50px;
  border-radius: 12px;
  text-align: center;
}
.nk-contact-title {
  font-size: var(--font-size20--32);
  color: var(--green-color);
  margin-bottom: 20px;
}
.nk-contact-box p {
  font-size: var(--font-size14--16);
}
.nk-contact-info {
  margin-top: 30px;
  background: var(--color-gray);
  padding: 30px;
  border-radius: 8px;
}
.nk-corp {
  font-size: var(--font-size18--24);
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-text);
}
.nk-tel {
  font-size: var(--font-size24--40) !important;
  font-weight: bold;
  color: var(--green-color);
  margin-bottom: 10px;
}
.nk-mail {
  font-size: var(--font-size16--18);
  color: var(--text-gray);
}

/* --- お問い合わせリンクのスタイル --- */
.nk-tel a,
.nk-mail a {
  color: inherit; /* 文字色を親要素に合わせる */
  text-decoration: none; /* 下線を消す */
  transition: opacity 0.3s;
}

/* メールリンクはホバーで少し透過させる */
.nk-mail a:hover {
  opacity: 0.7;
}

/* --- SNSリンクエリア --- */
.nk-sns-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* アイコン同士の隙間 */
  margin-top: 35px;
  padding-top: 35px;
  border-top: 1px dashed var(--color-border); /* 上に区切り線を引く */
}

/* 丸型アイコンの共通設定 */
.nk-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* 完全な丸にする */
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ホバー時の浮き上がりアクション */
.nk-sns-icon:hover {
  transform: translateY(-5px); /* 上に5px浮く */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  color: #fff; /* ホバー時もアイコンは白をキープ */
}

/* 各SNSのブランドカラー */
.sns-insta {
  /* Instagramの美しいグラデーション */
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.sns-fb {
  background: #1877f2; /* Facebookブルー */
}
.sns-line {
  background: #06c755; /* LINEグリーン */
}
.sns-yt {
  background: #ff0000; /* YouTubeレッド */
}

/* --- スマホ表示の調整 --- */
@media (max-width: 768px) {
  .nk-sns-links {
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
  }
  .nk-sns-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* --- PC表示時の電話発信 無効化 --- */
@media (min-width: 769px) {
  .nk-tel a {
    pointer-events: none; /* クリックを完全に無効化 */
    cursor: default; /* マウスカーソルを指マークにしない */
  }
}

/* --- スマホ表示時の電話発信 有効化 --- */
@media (max-width: 768px) {
  /* スマホではタップできることを分かりやすく */
  .nk-tel a:active,
  .nk-tel a:hover {
    opacity: 0.7;
  }
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .nk-grid-2 {
    grid-template-columns: 1fr;
  }
  .nk-cheer-content {
    flex-direction: column;
  }
  .nk-course-body {
    padding: 25px 20px;
  }
  .nk-dl-row {
    flex-direction: column;
  }
  .nk-dl-row dt {
    margin-bottom: 5px;
  }
  .nk-price-grid {
    grid-template-columns: 1fr;
  }
  .nk-contact-box {
    padding: 30px 20px;
  }
  .nk-gallery-sec .text-center {
    text-align: left;
  }
}

/* ========================================================
   代表あいさつ セクション
======================================================== */
.greeting-sec {
  padding: 80px 0;
  background-color: var(--color-bg);
  color: var(--color-text);
}
.greeting-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトル */
.greeting-sec-title {
  text-align: center;
  font-size: var(--font-size24--40);
  font-weight: bold;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
  font-family: var(--font-serif); /* 落ち着いた明朝体などに */
  color: var(--gold-color-dark); /* 高級感のあるゴールド */
}
.greeting-sec-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--gold-color);
}

/* コンテンツ（Flexboxで左右分割） */
.greeting-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* --- 左側：プロフィールエリア --- */
.greeting-profile {
  width: 35%;
  flex-shrink: 0;
  position: sticky; /* スクロール追従の魔法 */
  top: 100px; /* ヘッダーの高さに合わせて適宜調整してください */
}
.greeting-img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.greeting-img img {
  width: 100%;
  height: auto;
  display: block;
}
.greeting-name {
  font-size: var(--font-size20--32);
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-text);
  font-family: var(--font-serif);
}
.greeting-title {
  font-size: var(--font-size12--14);
  font-weight: normal;
  color: var(--text-gray);
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-base);
}

/* --- 右側：テキストエリア --- */
.greeting-text {
  flex: 1;
  font-size: var(--font-size14--16);
  line-height: 1.9;
}
.greeting-text p {
  margin-bottom: 25px;
}
.greeting-lead {
  font-size: var(--font-size16--18);
  font-weight: bold;
  margin-bottom: 40px !important;
  color: var(--gold-color-dark);
}
.greeting-text strong {
  color: var(--pink-color); /* 重要なキーワード */
}

/* 教室リンク */
.greeting-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-color);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.3s;
}
.greeting-link:hover {
  opacity: 0.7;
}
.mt-10 {
  margin-top: 10px;
}

/* 小見出し */
.greeting-sub-title {
  font-size: var(--font-size18--24);
  color: var(--color-text);
  border-left: 4px solid var(--gold-color);
  padding-left: 15px;
  margin: 60px 0 25px;
}

/* ハイライト（音づくりは、生き方づくり） */
.greeting-highlight {
  font-size: var(--font-size18--24);
  font-weight: bold;
  color: var(--pink-color);
  text-align: center;
  padding: 30px 0;
  margin: 40px 0 !important;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-serif);
}

/* メリットまとめボックス */
.greeting-box {
  background: var(--color-gray);
  padding: 35px;
  border-radius: 8px;
  margin: 50px 0;
  text-align: center;
  border: 1px solid var(--color-border);
}
.greeting-box h4 {
  font-size: var(--font-size16--18);
  color: var(--color-text);
  margin-bottom: 20px;
}
.greeting-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}
.greeting-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}
.greeting-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--gold-color);
}
.greeting-box-arrow {
  font-size: 24px;
  color: var(--text-gray);
  margin: 20px 0;
}
.greeting-box-result {
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: var(--pink-color);
  margin-bottom: 20px !important;
}
.greeting-box-lead {
  font-size: var(--font-size14--16);
  margin-bottom: 0 !important;
  text-align: left;
}

/* 結びの言葉 */
.greeting-conclusion {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 2px solid var(--color-border);
  text-align: left;
}
.greeting-vision {
  font-size: var(--font-size16--18);
  font-weight: bold;
  color: var(--gold-color-dark);
  line-height: 1.8;
  margin: 40px 0 !important;
  font-family: var(--font-serif);
}
.greeting-sign {
  font-size: var(--font-size18--24);
  font-family: var(--font-serif);
  /* margin-top: 40px !important; */
  text-align: right;
}

/* --- レスポンシブ（スマホ等） --- */
@media (max-width: 768px) {
  .greeting-sec {
    padding: 60px 0;
  }
  .greeting-content {
    flex-direction: column-reverse; /* スマホでは縦並びに */
    gap: 40px;
  }
  .greeting-profile {
    width: 100%;
    position: static; /* 追従を解除 */
    text-align: center;
  }
  .greeting-img {
    max-width: 400px;
    margin: 0 auto 20px;
  }
  .greeting-box {
    padding: 25px 20px;
  }
  .greeting-sign {
    text-align: center;
  }
}

/* ========================================================
   プロフィール・経歴 セクション (独立版)
======================================================== */
.ceo-profile-sec {
  padding-bottom: 80px; /* 上のセクションと自然に繋げるため上余白は無し or 少なめに */
  background-color: var(--color-bg);
}
.ceo-profile-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* プロフィールの大きな囲み */
.ceo-profile-box {
  background: var(--color-gray);
  padding: 50px 60px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

/* タイトル */
.ceo-profile-title {
  font-size: var(--font-size20--32);
  color: var(--gold-color-dark);
  margin-bottom: 30px;
  font-family: var(--font-serif);
  text-align: center;
  border-bottom: 1px dashed var(--gold-color);
  padding-bottom: 15px;
}

/* 経歴リスト */
.ceo-profile-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.ceo-profile-list li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 15px;
  font-size: var(--font-size14--16);
  line-height: 1.8;
  color: var(--color-text);
}
/* リストの先頭のアクセント */
.ceo-profile-list li::before {
  content: "\f00c"; /* チェックマーク */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--gold-color);
  font-size: 1em;
  top: 0.1em;
}

/* --- 指導実績科目（タグ風デザイン） --- */
.ceo-subjects {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}
.ceo-subjects-title {
  font-size: var(--font-size18--24);
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: center;
}
.ceo-subjects-note {
  font-size: var(--font-size12--14);
  font-weight: normal;
  color: var(--text-gray);
}
.ceo-subjects-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center; /* タグを中央寄せにする */
}
.ceo-subjects-tags span {
  background: #fdfaf2; /* ほんのりゴールドがかった背景 */
  border: 1px solid #f2e6c8;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: var(--font-size12--14);
  font-weight: bold;
  color: var(--gold-color-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s;
}
.ceo-subjects-tags span:hover {
  transform: translateY(-2px);
}
.ceo-subjects-tags .tag-etc {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--text-gray);
}

/* --- スマホ用の微調整 --- */
@media (max-width: 768px) {
  .ceo-profile-box {
    padding: 30px 20px;
  }
  .ceo-profile-list li {
    padding-left: 1.5em;
  }
  .ceo-subjects {
    padding: 20px 15px;
  }
  .ceo-subjects-tags {
    justify-content: flex-start; /* スマホでは左寄せで読みやすく */
  }
}

/* --- 講師一覧全体レイアウト --- */
/* --- 講師一覧 メインビジュアル --- */
.prof-mv {
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9の比率を維持 */
  max-height: 700px; /* PC画面で大きくなりすぎるのを防ぐ（お好みで調整） */

  /* ↓ ここにWordPressにアップロードした背景画像のURLを入れてください ↓ */
  background-image: url("../images/mv_teacher.jpg");

  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: flex-start; /* テキストを上寄りに配置 */
  padding-top: 10%; /* 上からの位置調整 */
}
/* 暗転用オーバーレイ */
.prof-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1; /* 動画より上 */
  pointer-events: none; /* クリック操作などを妨げない */
}
/* テキストの位置をコンテンツ幅に合わせるためのインナー */
.prof-mv-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトルのスタイル */
.prof-mv-title {
  position: relative;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
  z-index: 2;
}

/* --- MVのアンカーリンク設定 --- */
.mv-mochizuki,
.mv-nokatsu {
  display: flex; /* ブロック要素として縦積みにする */
  width: fit-content; /* 横幅をテキストの長さに合わせる（ホバー範囲の最適化） */
  align-items: center; /* アイコンとテキストを縦方向の中央で揃える */

  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

/* ホバー時に少し透明にしてクリックできることを強調 */
.mv-mochizuki:hover,
.mv-nokatsu:hover {
  opacity: 0.7;
}

.mv-mochizuki {
  font-size: var(--font-size18--24);
  margin-bottom: 40px;
}

.mv-nokatsu {
  font-size: var(--font-size18--24);
}

/* FontAwesomeアイコンの余白とサイズ調整 */
.mv-mochizuki i,
.mv-nokatsu i {
  margin-left: 10px; /* テキストとの隙間 */
  font-size: 1.1em; /* アイコンを少し大きめに */
}

/* --- スクロール着地点のズレ防止 --- */
.prof-category-title {
  /* 固定ヘッダーがある場合、この数値分だけ上でスクロールが止まります（適宜調整してください） */
  scroll-margin-top: 100px;
}
/* --- スマホ表示の微調整 --- */
@media (max-width: 768px) {
  .prof-mv {
    padding-top: 25%; /* スマホでは少し下げる */
    aspect-ratio: 4 / 5;
    min-height: 500px;
  }
  .mv-mochizuki {
    margin-bottom: 20px;
  }
  .mv-nokatsu {
    margin-bottom: 20px;
  }
}

/* --- アーカイブ全体の枠組み --- */
.prof-archive-wrap {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

/* スマホ用の余白調整 */
@media (max-width: 768px) {
  .prof-archive-wrap {
    padding: 20px 15px;
  }
}
/* カテゴリごとのセクション */
.prof-category-section {
  margin-bottom: 0;
}
.prof-category-title {
  font-size: var(--font-size18--24);
  border-bottom: 2px solid #f0d478;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
/* 望月メソッド用のタイトル色（ピンク） */
.prof-category-title.title-mochizuki {
  color: #fa475c;
  border-bottom-color: #fa475c; /* 下線も同じ色に合わせる */
}

/* 脳活用用のタイトル色（緑） */
.prof-category-title.title-nokatsu {
  color: #00c853;
  border-bottom-color: #00c853; /* 下線も同じ色に合わせる */
}
/* フィルター部分 */
.prof-filter {
  margin: 40px 0;
  text-align: right;
}
.pref-select {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  min-width: 250px;
  cursor: pointer;
}

/* グリッドレイアウト（一覧） */
.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* --- スマホ表示（768px以下）の微調整 --- */
@media (max-width: 768px) {
  .prof-grid {
    /* 強制的に2列（1frを2つ）に変更 */
    grid-template-columns: repeat(2, 1fr);

    /* ※必要に応じてスマホの時は隙間を少し狭くすると綺麗に収まります */
    gap: 15px;
  }
}

/* カードのデザイン */
.prof-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.prof-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.prof-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.no-img {
  background: #eee;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.prof-card-body {
  padding: 15px;
}
.prof-card-name {
  font-size: 18px;
  margin: 0 0 10px 0;
}
.prof-card-school {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 5px 0;
  color: #555;
}
.prof-card-address {
  font-size: 12px;
  color: #777;
  margin: 0;
}

/* --- 講師詳細全体レイアウト --- */
.prof-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 20px 40px; /* ヘッダー分80pxの余白を確保 */
  line-height: 1.8;
  color: #333;
}
/* .prof-section {
  margin-bottom: 60px;
} */

/* --- セクション1：メインプロフィール --- */
.prof-main {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}
.prof-img {
  flex: 0 0 320px;
}
.prof-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.prof-data {
  flex: 1;
  width: 100%;
}
/* --- バッジ（目立つように調整） --- */
.badge-list {
  margin-bottom: 20px;
  text-align: left;
}

/* 講師名 */
.prof-name {
  font-size: var(--font-size20--32);
  margin: 0 0 24px;
  text-align: left;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.badge-item {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: var(--font-size14--16);
  font-weight: bold;
  margin-right: 10px;
  color: #fff; /* 文字は白抜き */
  /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); */
}
/* 望月-ピンク */
.badge-mochizuki {
  background-color: #fa475c;
}
/* 脳活-緑 */
.badge-nokatsu {
  background-color: #00c853;
}
/* その他デフォルト */
.badge-default {
  background-color: #888;
}

/* 教室情報リスト */
.info-table dt {
  font-weight: bold;
  width: 120px;
  float: left;
  clear: both;
  margin-bottom: 12px;
  padding-bottom: 8px;
  color: #555;
  border-bottom: 1px dotted #888888;
}
.info-table dd {
  margin-left: 130px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #888888;
}

/* --- セクションタイトル --- */
.section-title {
  font-size: var(--font-size16--18);
  border-left: 6px solid #fa475c; /* 望月ピンクをアクセントに */
  padding-left: 18px;
  margin: 50px 0 25px;
  font-weight: bold;
}

/* --- 受講の感想 --- */
.review-box {
  background: #fdfdfd;
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #eee;
  white-space: pre-wrap;
}

/* --- ギャラリー --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
  .prof-filter {
    margin: 30px 0;
    text-align: center;
  }
  .prof-wrap {
    padding-top: 60px;
  } /* スマホ用余白 */
  .prof-main {
    flex-direction: column;
    text-align: center;
  }
  .badge-item {
    margin-bottom: 8px;
  }
  .prof-img {
    flex: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  .info-table dt {
    border-bottom: none;
  }
  .info-table dt {
    float: none;
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
  }
  .info-table dd {
    margin-left: 0;
    text-align: left;
    margin-bottom: 15px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* フッター全体のベース設定 */
.site-footer {
  background-color: #ececec; /* 薄いグレーの背景色 */
  color: var(--color-text);
  font-family: sans-serif;
  font-size: var(--font-size14--16);
  line-height: 1.8;
}
.site-footer a {
  text-decoration: none;
  transition: opacity 0.3s;
}
.site-footer a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* 3カラムレイアウト（最大幅1200px） */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; /* スマホ用に折り返し許可 */
}

/* 各カラムの幅設定 */
.footer-col {
  flex: 1;
  min-width: 300px;
}
.footer-info {
  flex: 1.3; /* エリアを少し広めに */
}

/* 左カラム：情報エリア */
.footer-logo {
  margin-bottom: 20px;
}
.footer-logo img {
  max-width: 240px; /* ロゴのサイズ調整 */
  height: auto;
}
.company-details p {
  margin: 0 0 15px 0;
}
.footer-tel {
  font-size: var(--font-size18--24);
  font-weight: bold;
  color: var(--blue-color);
  margin-bottom: 5px !important;
}
.tel-link {
  letter-spacing: 1px;
  color: inherit; /* 親要素（.footer-tel）の青色を引き継ぐ */
  text-decoration: none; /* リンクの下線を消す */
  pointer-events: none; /* ★PCではクリックを無効化する */
  cursor: default; /* ★カーソルも指マークにならないようにする */
}
.footer-mail {
  color: #666;
}

/* 中央カラム：商標エリア */
.tm-heading {
  margin: 0 0 15px 0;
}
.tm-block {
  margin-bottom: 25px;
}
.tm-block p {
  margin: 0;
}

/* 右カラム：リンクエリア */
.nav-list,
.sub-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-list > li {
  margin-bottom: 12px;
}
/* 下階層のインデント */
.sub-nav-list {
  /* padding-left: 1em; */
  margin-top: 8px;
}
.sub-nav-list li {
  margin-bottom: 8px;
}
/* 上の余白 */
.blog-link,
.privacy-link {
  margin-top: 30px !important;
}

/* コピーライト */
.footer-bottom {
  background-color: #111;
  color: #fff;
  padding: 15px 20px;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

/* --- トップへ戻るボタン --- */
.back-to-top {
  position: fixed; /* 画面の右下に固定で追従させる */
  bottom: 60px; /* 下からの距離 */
  right: 30px; /* 右からの距離 */
  width: 45px;
  height: 45px;
  background-color: #111; /* 黒背景 */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99; /* 他の要素より手前に表示 */
  text-decoration: none;

  /* フェードイン（ふわっと出る）ための初期設定 */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background-color 0.3s ease;
}
a.back-to-top {
  color: #fff;
}
/* ホバー時の設定 */
.back-to-top:hover {
  background-color: #555; /* マウスオーバーで少し明るくする */
}

/* JSで付与される表示用クラス */
.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* スマホ閲覧時（768px以下）の調整 */
@media screen and (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }
  .tel-link {
    pointer-events: auto;
  }

  .tel-link {
    text-decoration: underline;
  }

  .back-to-top {
    right: 0; /* スマホ時のボタン位置調整 */
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Button */
/* ========================================================
   2つのボタンを並べるレイアウト（PC横並び / SP縦並び）
======================================================== */
.buttonsBox.is-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  /* 右に伸びる装飾線（40px）が重ならないように、隙間を広めに取る */
  gap: 60px;
}

.buttonsBox--wrap {
  margin: 0 auto;
}

.buttonsBox {
  width: 100%;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}
.buttonsBox__sub {
  width: 100%;
  display: flex;
  justify-content: center;
  /* margin-bottom: 60px; */
}

.button01 {
  text-align: center;
}

.button01 a {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  border: 1px solid var(--gold-color-dark);
  border-radius: 6px;
  color: var(--gold-color-dark);
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
}

/* 右に伸びるライン */
.button01 a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 40px;
  height: 1px;
  background: var(--gold-color-dark);

  transform: translateY(-50%) scaleX(1);
  transform-origin: right center;

  transition: transform 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
  pointer-events: none;
}

/* hover */
.button01 a:hover {
  background: var(--gold-color-dark);
  border-color: var(--gold-color-dark);
  color: #fff;
}

.button01 a:hover::before {
  transform: translateY(-50%) scaleX(0);
}

.button02 {
  text-align: center;
}

.button02 a {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  border: 1px solid var(--pink-color); /* 色をピンクに変更 */
  border-radius: 6px;
  color: var(--pink-color); /* 色をピンクに変更 */
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
}

/* 右に伸びるライン */
.button02 a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 40px;
  height: 1px;
  background: var(--pink-color); /* 色をピンクに変更 */

  transform: translateY(-50%) scaleX(1);
  transform-origin: right center;

  transition: transform 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
  pointer-events: none;
}

/* hover */
.button02 a:hover {
  background: var(--pink-color); /* 色をピンクに変更 */
  border-color: var(--pink-color); /* 色をピンクに変更 */
  color: #fff;
}

.button02 a:hover::before {
  transform: translateY(-50%) scaleX(0);
}

.button03 {
  text-align: center;
}

.button03 a {
  display: inline-block;
  padding: 16px 40px;
  background: #fff;
  border: 1px solid var(--green-color);
  border-radius: 6px;
  color: var(--green-color);
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
}

/* 右に伸びるライン */
.button03 a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 40px;
  height: 1px;
  background: var(--green-color);

  transform: translateY(-50%) scaleX(1);
  transform-origin: right center;

  transition: transform 0.4s cubic-bezier(0.3, 0.4, 0.1, 1);
  pointer-events: none;
}

/* hover */
.button03 a:hover {
  background: var(--green-color);
  border-color: var(--green-color);
  color: #fff;
}

.button03 a:hover::before {
  transform: translateY(-50%) scaleX(0);
}

/* ========================================================
   スマホ表示の調整（縦並びに切り替え）
======================================================== */
@media (max-width: 768px) {
  .buttonsBox.is-flex {
    flex-direction: column; /* 縦並びにする */
    gap: 30px; /* 縦並びの時は隙間を少し狭くする */
  }
}

/* --- 折り返し対応のドット下線 --- */
.mz-dotted-line {
  text-decoration: underline; /* 下線を引く */
  text-decoration-style: dotted; /* 線をドット（点線）にする */
  text-decoration-color: var(--color-text); /* ドットの色（お好みの色に） */
  text-decoration-thickness: 2px; /* ドットの太さ */
  text-underline-offset: 5px; /* 文字とドットの隙間 */
}

/* ========================================================
   Snow Monkey Forms 共通の装飾
======================================================== */

/* --- 必須バッジの装飾（ベースは望月メソッド用のピンク） --- */

.smf-item__label__required,
.smf-required {
  background-color: var(--pink-color);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 10px;
  display: inline-block; /* 形状を安定させる */
  vertical-align: middle;
  white-space: nowrap; /* バッジの中身を絶対に折り返さない */
  line-height: 1;
}

/* --- 望月メソッド（ピンク）のボタン装飾 --- */
/* ※親要素に .mz-contact-sec などのクラスがついている想定です */
.mz-contact-sec .smf-button {
  background-color: var(--pink-color);
  border-color: var(--pink-color);
  color: #fff; /* 文字を白に指定 */
}
.mz-contact-sec .smf-button:hover {
  background-color: #d84556; /* ホバー時は少し濃いピンクに */
  border-color: #d84556;
}

/* --- 確認画面でのみ、プライバシーポリシーの案内文を非表示にする --- */
[data-screen="confirm"] .policy-text {
  display: none;
}

/* ========================================================
   ピアノde脳活 フォーム専用のカラー上書き（緑色）
======================================================== */

/* 必須バッジを緑に上書き */
.nk-contact-sec .smf-item__label__required,
.nk-contact-sec .smf-required {
  background-color: var(--green-color);
}

/* 送信ボタンなどを緑に上書き */
.nk-contact-sec .smf-button {
  background-color: var(--green-color);
  border-color: var(--green-color);
  color: #fff; /* 文字を白に指定 */
}
.nk-contact-sec .smf-button:hover {
  background-color: #009624; /* ホバー時は少し濃い緑に */
  border-color: #009624;
}

.mz-contact-sec .text-center,
.nk-contact-sec .text-center {
  text-align: center;
  margin: 30px 0;
  padding: 0 30px;
}

/* ========================================================
   Snow Monkey Forms テーブル風レイアウト
======================================================== */
.contact__forms .page-mv {
  max-height: 500px;
}
/* フォーム全体を中央に配置し、幅を少し絞る（調整） */
.smf-form {
  max-width: 900px;
  margin: 0 auto;
}
.mz-form-wrapper .policy-text,
.nk-form-wrapper .policy-text {
  margin: 30px 0;
}
/* --- 各項目の行（PCでは横並び） --- */
.smf-item {
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px dashed #b3b3b3; /* 画像のような破線 */
}
/* 一番上の線も引きたい場合は追加 */
.smf-item:first-child {
  border-top: 1px dashed #b3b3b3;
}

/* --- 左側：ラベルエリア --- */

.smf-item__label {
  width: 40%;
  min-width: 300px; /* ★これ以上幅を縮めない（縦書き防止の要） */
  flex-shrink: 0; /* ★右側の入力欄に押し潰されるのを絶対に防ぐ */
  padding-right: 20px;
  font-weight: bold;
  color: var(--color-text);
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

/* ========================================================
   必須バッジの自動生成（is-req クラスを付けた項目）
======================================================== */
/* is-req を付けたブロックのラベルの「右側(::after)」にバッジを作り出す */
.is-req .smf-item__label::after {
  content: "必須";
  background-color: var(--pink-color); /* 望月メソッド（ピンク） */
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal;
  white-space: nowrap; /* バッジ内の文字の改行を禁止 */
}

/* ピアノde脳活（緑色）のバッジカラー上書き */
.nk-contact-sec .is-req .smf-item__label::after {
  background-color: var(--green-color);
}

.smf-item__col .smf-item__col--controls {
  flex: 1;
}
/* --- 右側：入力エリア --- */
/* 入力欄の横幅割合 */
/* .smf-item__controls {
  width: 60%;
} */
.smf-item__controls {
  max-width: 100%;
}
.smf-item__controls > * {
  width: 600px;
  max-width: 100%;
}
/* --- 入力欄（テキスト・メール・電話番号・テキストエリア）のデザイン --- */
.smf-item__controls .smf-text-control__control,
.smf-item__controls .smf-email-control__control,
.smf-item__controls .smf-tel-control__control,
.smf-item__controls .smf-number-control__control,
.smf-item__controls .smf-textarea-control__control,
.smf-item__controls .smf-select-control__control {
  width: 90% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 15px !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #fff;
  font-size: var(--font-size14--16);
  font-family: var(--font-base);
  color: var(--color-text);
  box-shadow: none;
  transition: border-color 0.3s;
}

/* --- 入力欄をクリック（フォーカス）した時の枠線の色 --- */
.smf-form .smf-text-control__control:focus,
.smf-form .smf-email-control__control:focus,
.smf-form .smf-tel-control__control:focus,
.smf-form .smf-number-control__control:focus,
.smf-form .smf-textarea-control__control:focus,
.smf-form .smf-select-control__control:focus {
  outline: none;
  border-color: var(--pink-color); /* デフォルトはピンク */
}

/* --- ピアノde脳活 フォーム専用のカラー上書き（緑色） --- */
.nk-contact-sec .smf-form .smf-text-control__control:focus,
.nk-contact-sec .smf-form .smf-email-control__control:focus,
.nk-contact-sec .smf-form .smf-tel-control__control:focus,
.nk-contact-sec .smf-form .smf-number-control__control:focus,
.nk-contact-sec .smf-form .smf-textarea-control__control:focus,
.nk-contact-sec .smf-form .smf-select-control__control:focus {
  border-color: var(--green-color);
}
/* テキストエリアは少し高さを出しておく */
.smf-item__control textarea {
  min-height: 180px;
  resize: vertical; /* 縦方向にのみリサイズ可能にする */
}

/* --- 送信ボタンエリア（中央寄せ） --- */
.smf-action {
  margin-top: 50px;
  text-align: center;
}
/* ボタンを少し大きめに（以前のCSSに上書き/追加されます） */
.smf-button {
  min-width: 280px;
  padding: 18px 40px;
  font-size: var(--font-size16--18);
  border-radius: 50px; /* 画像は四角ですが、サイトに合わせて丸くしています */
}

/* ========================================================
   ピアノde脳活 フォーム専用のカラー上書き（追加）
======================================================== */
/* 脳活ページで入力欄をクリックした時は緑色にする */
.nk-contact-sec .smf-item__control input:focus,
.nk-contact-sec .smf-item__control textarea:focus,
.nk-contact-sec .smf-item__control select:focus {
  border-color: var(--green-color);
}

/* ========================================================
   スマホ表示（768px以下）の調整
======================================================== */
@media (max-width: 768px) {
  .contact__forms .page-mv,
  .contact__forms--greet .page-mv {
    max-height: 400px;
  }
  .mz-contact-sec .text-center,
  .nk-contact-sec .text-center {
    text-align: left;
  }

  .smf-form {
    padding: 20px;
  }
  .smf-action {
    margin-top: 30px;
  }

  /* 1. 行を綺麗な縦並び（ブロック）に変更 */
  .smf-item {
    display: block !important;
    padding: 20px 0 !important; /* 上下の余白をスマホ用に少し狭める */
  }

  /* 2. ラベルエリア（お名前などの文字）の制限を解除 */
  .smf-item__label {
    width: 100% !important;
    min-width: auto !important; /* PC用の「200px以下にしない」を解除 */
    padding-right: 0 !important;
    margin-bottom: 10px !important; /* ラベルと入力欄の間に少し隙間を空ける */
  }

  /* 3. 右側の入力エリアを横幅100%に */
  .smf-item__controls {
    width: 100% !important;
  }
  .smf-item__controls > * {
    width: 100% !important; /* PC用の「600px」を解除 */
  }

  /* 4. 入力フィールド（白い箱）の90%設定を100%に上書き */
  .smf-item__controls .smf-text-control__control,
  .smf-item__controls .smf-email-control__control,
  .smf-item__controls .smf-tel-control__control,
  .smf-item__controls .smf-number-control__control,
  .smf-item__controls .smf-textarea-control__control,
  .smf-item__controls .smf-select-control__control {
    width: 100% !important;
  }
}
