@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Mincho&display=swap');


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


:root{
  --maincolor : rgba(255, 222, 0, 1);
  --translucent : rgba(255, 222, 0, 0.94);
  --maincolor : #ffde00;
  --subcolor : #f15c91;
  --accentcolor : rgba(42, 191, 161,1);
  --bgmaincolor : rgba(255, 222, 0, 0.08);
  --bggray : #f8f9fa;
  --fontcolor: #333;
  --bordercolor: #efefef;
  box-sizing: border-box;
}
html{
  font-size: calc((100vw - 320px) / 220 + 16px);
  margin: 0;
}

body {
  font-family: 'Sawarabi Mincho', serif;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height: 1.85;
  font-feature-settings: "palt";
	-webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  color: var(--fontcolor);
}

/*スマホの時だけ改行させるクラス*/
.br-sp {
    display: none;
}

@media (max-width: 600px) {
    .br-sp {
        display: block;
    }
}

/*ナビゲーション*/
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.2rem 0px;
    background-color: var(--translucent);
    z-index: 9;
    display: flex; /* フレックスボックスで配置 */
    justify-content:space-between; /* 左右の要素を分ける */
    align-items: center; /* 垂直方向に中央揃え */
}  

.nav-menu ul {
    list-style: none; /* リストスタイルを削除 */
    margin: 0 1rem 0 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    display: flex; /* 横並びにする */
}

.nav-menu ul li {
    margin-left: 20px; /* リストアイテム間のスペース */
}

.nav-menu ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}
.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--subcolor );;
  transition: width 0.3s ease;
}
.nav-menu ul li a:hover::after {
  width: 100%;
}
.nav-menu ul li a.active {
  color: var(--subcolor );
}
.nav-menu ul li a.active::after {
  width: 100%;
}

.logo {
  font-size: 1.3rem; /* タイトルのフォントサイズ */
  margin-left: 2rem;
}

.hamburger {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
}
/* モバイル表示時 */
@media (max-width: 768px) {
    .nav-menu ul {
        display: none; /* 初期状態では非表示 */
        flex-direction: column; /* 縦並び */
        position: absolute; /* 絶対位置 */
        top: 60px; /* ハンバーガーメニューの下に配置 */
        left: 0;
        right: 0;
        background-color: var(--translucent); /* 背景色 */
        z-index: 1000; /* 前面に表示 */
    }

    .nav-menu.active ul {
        display: flex; /* アクティブ時に表示 */
        flex-direction: column; /* 縦並び */
    }

    .hamburger {
        display: flex; /* モバイル時に表示 */
    }
}
#nav-links.active a {
    animation: linkFadeIn 0.5s ease forwards;
}

@keyframes linkFadeIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 表示 */
p.notice {
  font-size: 0.8em;
  font-weight: bold;
}

p.notice::before {
  content: "※";
  margin-right: 0.4em; /* 米印と本文の間隔 */
}

/*メインビュー*/
.main-view {
    position: relative;
    width: 100%;
    padding-top:55px;
    /*padding-left:3%;*/
    overflow: hidden;
}
.slides {
    width: 100%;
    overflow: hidden; /* スライドがはみ出ないようにする */
}

#slides-container {
  position: relative;
  height: 80vh; /* コンテナの高さ */
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 初期状態は透明 */
    transition: opacity 1s ease-in-out; /* フェードイン・フェードアウトのトランジション */
    object-fit: cover; /* 追加: 画像がコンテナにフィットするように */
}
.slide.active {
    opacity: 1; /* アクティブなスライドは不透明 */
}
@media screen and (max-width: 600px) {
    #slides-container {
        height: 50vh; /* 画面が小さくなったときの高さを調整 */
    }
    
    .slide {
        height: 100%; /* スライドの高さを100%に保つ */
    }
}

/*キャッチコピーエリア*/
.copy-area {
    position: absolute;
    top: 4%;
    left: 3%;
    width: 33.33%;
    min-height: 25vw;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 768px) {
  .copy-area {
      top: 15%;
      left: 3%;
  }
}
.pink-square, .yellow-square {
    position: absolute;
    width: 100%;
    height: 100%;
}
.pink-square {
    background-color: var(--subcolor );
    transform: rotate(7deg);
    box-shadow: 10px 10px 30px rgba(18, 47, 61, 0.5),
        inset -10px -10px 30px transparent;
}
.yellow-square {
    background-color: var(--maincolor );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.subtitle, .title, .highlight {
    margin: 5px 0;
}
.bubble {
    color: var(--subcolor );;
    font-size:2rem;
    font-weight: bold;
}
.highlight {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

/* 黄色い帯 */
.yellow-band {
    position: absolute; /* 絶対位置 */
    bottom: 0; /* 下端に配置 */
    left: 0; /* 左端に配置 */
    width: 100%; /* 幅を100%に設定 */
    background-color: var(--maincolor); /* 黄色の背景色 */
    display: flex;
    justify-content: center; /* テキストを中央揃え */
    align-items: center; /* 垂直方向の中央揃え */
    padding: 5px;
}
.yellow-band p {
    margin: 0.5rem; /* マージンをリセット */
    font-weight: bold;
    text-align: center; /* テキストを中央揃え */
    font-size: 1.4rem;
}

/* 左右の画像スタイル */
.side-image {
    position: absolute;
}
.left-image {
    left: 0;
    bottom: 0; 
    width: 13%;
}
.right-image {
    right: 0; 
    bottom: 0;
    width: 13%;
}
@media (max-width: 600px) {
  .left-image,.right-image {
    width: 20%;
  }
}

/*セクションエリア*/
section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
  font-family: "游ゴシック体", "Yu Gothic", "YuGothic", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
}
.section-container{
  max-width: 1000px;
  margin: 0 auto;  
}

/*Section背景を交互に*/
section:nth-of-type(odd) {
  position: relative;
  width: 100%;
  overflow: hidden;
}

section:nth-of-type(odd)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  right: -50%;
  bottom: 0;
  background-color: var(--bgmaincolor);
  z-index: -1;
}

/*Section見出し*/
section h2 {
  position: relative;
  padding-bottom: 0.5rem;
  text-align: center;
  color: #666;
  font-size: 1.5rem;
}
section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 66%;
  height: 3px;
  background: linear-gradient(to right, var(--maincolor ), var(--subcolor ));
}

/*カードを並べる*/
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.feature {
    flex: 1 1 calc(23% - 2rem);
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    padding: 1%;
}
@media (max-width: 1024px) {
  .feature {
    flex-basis: calc(50% - 20px);
  }
}
@media (max-width: 600px) {
  .feature {
    flex-basis: 100%;
  }
}
/*カード内のスタイリング*/
.feature-icon {
    font-size: 1.6rem;
    color: var(--subcolor );
    margin-bottom: 0.5rem;
}
.feature h3 {
  color: var(--subcolor );
  font-size: 1.2rem;
  font-weight: bold;
}
.feature img{
  max-width:100%;
  
}
/* ホバー時に少し持ち上げる */
.feature:hover {
  transform: translateY(-5px); 
}

/* パーソナルレッスン告知 */
/* --- プロモーション全体のスタイル --- */
.personal-lesson-promo {
  width: 80%;
  background-color: var(--bgmaincolor); /* メインカラーの薄い黄色を背景に */
  border: 2px solid var(--maincolor); /* メインカラーの黄色で縁取り */
  border-radius: 15px;
  padding: 15px 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-lesson-promo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* --- テキスト関連のスタイル --- */
.promo-catchphrase {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--fontcolor); /* 基本のフォントカラー */
  margin-bottom: 15px;
  line-height: 1.5;
}

.promo-description {
  font-size: 1em;
  color: var(--fontcolor);
  margin-bottom: 30px;
  line-height: 1.7;
}

/* --- ボタンのスタイル (サブカラーを強調) --- */
.promo-button {
  display: inline-block;
  background: var(--subcolor); /* サブカラーのピンクを背景色に */
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(241, 92, 145, 0.4); /* ボタンの色に合わせた影 */
  transition: all 0.3s ease;
}

.promo-button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 92, 145, 0.5);
  filter: brightness(1.1); /* ホバー時に少し明るくする */
}

.promo-button::after {
  content: '→';
  margin-left: 10px;
}


/* 講師紹介セクション */
.instructors-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.instructor-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--accentcolor);
}
.instructor-name .real-name {
  font-size: 1rem;
  font-weight: normal;
  color: #777;
}
.instructor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: none; /* 影をなくす */
  padding: 1rem;
  width: 320px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.instructor-card:hover {
  transform: scale(1.03);
}

.instructor-photo-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 80px;
  overflow: visible; /* 重ねる要素がはみ出してもOKに */
}

.instructor-photo {
  display: block;  /* 行間をなくす */
  width: 100%;     /* 親コンテナいっぱいに */
  height: 100%;
  object-fit: cover;
  display: block;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  position: relative;
  z-index: 2; /* 前面 */
}

/* 写真の下に重ねる四角 */
.photo-overlay {
  position: absolute;
  bottom: -60px; /* 下に20pxずらす */
  right: 30px; /* 左に40pxずらす */
  width: 100%;
  height: 300px;
  background-color: #222;
  z-index: 1; /* 背面 */
  pointer-events: none; /* 重ね四角をクリック不可 */
}
/* 名前テキストを黒背景の上に重ねる */
.name-overlay {
  font-family: "Zen Kurenaido", sans-serif;
  white-space: nowrap;
  font-size: 1.3rem;
  font-weight: 800;
  font-style: normal;
  position: absolute;
  bottom: -60px; /* 黒背景と同じ縦位置 */
  left: -15px;    /* 黒背景と同じ横位置 */
  z-index: 5;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  padding: 0.2rem 0.6rem;
  user-select: none;
  pointer-events: none;
}


.instructor-name {
  color: #000; /* 文字も黒ベースに */
  font-weight: 700;
  font-size: 1.1rem;
}

.instructor-card h4 {
  color: #111;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 5px solid #222;
}

.instructor-card .real-name {
  color: #555;
  font-weight: normal;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.instructor-card ul {
  color: #222;
  font-size: 0.8rem;
  padding-left: 1rem;
  border-left: 1px solid #ccc;
}
.instructor-card ul li {
  list-style: none;
}


.instructor-card .bio {
  font-size: 0.85rem;
  line-height: 1.8; 
  color: #333;
  padding-left: 1rem;
  margin-left: 4px; 
  border-left: 1px solid #ccc;
}


/* レスポンシブ */
@media (max-width: 768px) {
  .instructors-container {
    flex-direction: column;
    align-items: center;
  }
  .instructor-card {
    width: 90%;
  }
}

/*レッスンまでの流れ*/
.flow-chart {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}
.category {
    margin-bottom: 40px;
}
.flow-category h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--subcolor);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--subcolor);
    padding-bottom: 10px;
}
.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    bottom: -30px;
    width: 4px;
    background-color: var(--subcolor);
}
.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: var(--subcolor);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 20px;
}
.step-content {
    background-color: var(--bggray);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-grow: 1;
}
.step-content h4 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #2c3e50;
}
.step-content p {
    margin-bottom: 0;
    color: #34495e;
}

/* ===============================================
   スケジュールカレンダー
   =============================================== */

/* タブボタン */
.tab-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.tab-button {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  background: #eee;
  border-radius: 4px 4px 0 0;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 1rem;
}

/* 相模原タブのスタイル */
.sagamihara-tab.active {
  background: var(--accentcolor);
  color: white;
}

/* 吉祥寺タブのスタイル（必要に応じて明示） */
.kichijoji-tab.active {
  background: var(--subcolor);
  color: white;
}
/* タブのコンテンツエリア本体 */
.tab-content {
  display: none; /* デフォルト非表示 */
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tab-content.active {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;      /* 折り返し禁止で横並び3枚まで */
  gap: 1rem;
  padding-bottom: 1rem;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

/* 案内表示 */
.lesson-info {
  font-weight: bold;
  font-size: 1rem;
  color: #444;
}

/* モダール */
.lessonModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff; /* 黒より少し柔らかい */
  border: 2px solid #444;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 10000;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  font-family: 'Yu Gothic', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴシック', Meiryo, sans-serif;
}

.lessonModal h3 {
  margin-top: 0;
  font-weight: normal;
  font-size: 1.3rem;
}

.lessonModal ul {
  padding-left: 1.3rem;
  font-size: 1rem;
  margin-bottom: 0;
}

.lessonModal ul li {
  margin-bottom: 0.5rem;
  line-height: 1.4;
  list-style: none;
}

.lessonModal button {
  margin-top: 1rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  background-color: #444;
  border: none;
  border-radius: 5px;
  color: #eee;
  font-weight: normal;
  transition: background-color 0.3s ease;
}

.lessonModal button:hover {
  background-color: #555;
}

.lessonModal button:focus {
  outline: none;
  box-shadow: 0 0 5px #aaa;
}



/* カレンダー枠 (カード風) */
.calendar-block {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--bordercolor);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 0 0;             /* 等比3分割+はみ出し防止 */
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}


/* カレンダーテーブル */
.calendar {
  width: 100%;
  table-layout: fixed;
  font-size: 0.78rem;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.calendar thead th {
  color: #fff;
  padding: 4px 0;
  text-align: center;
  font-size: 0.91rem;
}
.sagamihara-calendar thead th {
  background-color: var(--accentcolor);
}
.kichijoji-calendar thead th {
  background-color: var(--subcolor);
}
.calendar td {
  border: 1px solid #ddd;
  padding: 4px 0;
  text-align: center;
  vertical-align: middle;
}

/* スクール開催日マーカー */
.calendar td[title="スクール開催日"] {
  font-weight: bold;
  border-radius: 50%;
}

/* 曜日見出し */
.calendar tr:nth-child(2) td {
  font-weight: bold;
}



/* レスポンシブ：900px以下は縦並び */
@media (max-width: 600px) {
  .tab-content.active {
    flex-direction: column;
    gap: 1.2rem;
  }
  .calendar-block {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    transition: none;
  }
}

/* パーソナルレッスン */
/* --- セクション全体の基本スタイル --- */
#personal-lesson {
  padding: 80px 0; /* セクション上下に十分な余白を確保 */
  background-color: var(--bggray); /* 背景を薄いグレーに設定 */
}

#personal-lesson h2 {
  text-align: center;
  font-size: 2em; /* 見出しを大きく */
  color: var(--fontcolor);
  margin-bottom: 40px;
  position: relative;
  display: inline-block; /* 中央揃えのために必要 */
  left: 50%;
  transform: translateX(-50%);
}

/* 見出しの下線アニメーション */
#personal-lesson h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--maincolor), var(--subcolor)); /* 黄色→ピンクのグラデーション線 */
  margin: 8px auto 0;
  transition: width 0.3s ease;
}

#personal-lesson h2:hover::after {
  width: 100%;
}


/* --- コンテンツエリアのレイアウト --- */
.personal-lesson-content {
  display: flex; /* Flexboxで横並びレイアウトを作成 */
  align-items: center; /* 中央で垂直揃え */
  gap: 40px; /* テキストと画像の間の隙間 */
  max-width: 1100px; /* 最大幅を設定 */
  margin: 0 auto;
  padding: 0 20px;
}

/* --- テキストエリアのスタイル --- */
.personal-lesson-text {
  flex: 1.2; /* 画像より少しテキストエリアを広めに取る */
}

.personal-lesson-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--fontcolor);
  margin-bottom: 30px;
}

.personal-lesson-text ul {
  list-style-type: none; /* デフォルトの黒丸を消す */
  padding: 0;
  border: 1px solid var(--bordercolor); /* リスト全体を枠線で囲む */
  border-radius: 10px;
  overflow: hidden; /* 角丸を効かせるため */
}

.personal-lesson-text li {
  padding: 20px;
  font-size: 1em;
  line-height: 1.7;
  border-bottom: 1px solid var(--bordercolor);
  display: flex; /* アイコンを配置するためFlexboxを使用 */
  align-items: flex-start; /* 上揃え */
}

.personal-lesson-text li:last-child {
  border-bottom: none; /* 最後の項目の下線を消す */
  background-color: var(--bgmaincolor); /* 申し込み部分は背景色を変えて強調 */
  font-weight: bold;
  color: #555;
}

/* リストのアイコン設定 */
.personal-lesson-text li::before {
  content: '✔'; /* チェックマークのアイコン */
  color: var(--accentcolor); /* アクセントの緑色 */
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 15px;
  margin-top: -2px;
}

.personal-lesson-text li:last-child::before {
  content: '📱'; /* LINEを想起させるアイコン */
  font-size: 1.5em;
  margin-right: 12px;
  margin-top: -5px;
}

.personal-lesson-text li strong {
  color: var(--subcolor); /* 強調テキストはサブカラーのピンクに */
  margin-right: 8px;
}

/* --- 画像エリアのスタイル --- */
.personal-lesson-image {
  flex: 1; /* 比率設定 */
}

.personal-lesson-image img {
  width: 100%;
  height: auto;
  border-radius: 15px; /* 画像の角を丸くする */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* 画像に影をつけて立体感を出す */
  transition: transform 0.4s ease;
}

.personal-lesson-image img:hover {
  transform: scale(1.03); /* ホバー時に少し拡大 */
}


/* --- スマートフォン向けのレスポンシブ対応 --- */
@media (max-width: 768px) {
  #personal-lesson {
    padding: 60px 0;
  }

  .personal-lesson-content {
    flex-direction: column; /* 縦積みに変更 */
  }

  #personal-lesson h2 {
    font-size: 1.6em;
  }
}

/*よくある質問*/

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  background-color: var(--bggray);
  padding: 10px;
  padding-left: 3rem;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 10px;
  transition: transform 0.3s ease;
}

.faq-question::before {
    content: "？"; /* 表示する文字 */
    background-color: var(--maincolor); /* メインカラー */
    color: var(--subcolor); /* サブカラー */
    font-weight: bold; /* 太字 */
    font-size: 1.4rem; /* フォントサイズ */
    position: absolute; /* 絶対位置 */
    left: 0.5rem; /* 左側に配置（適宜調整） */
    top: 50%; /* 垂直中央に配置 */
    transform: translateY(-50%); /* 垂直中央揃えのための調整 */
    border-radius: 50%; /* 丸くする場合は追加 */
    width: 32px; /* 幅を指定（適宜調整） */
    height: 32px; /* 高さを指定（適宜調整） */
    display: flex; /* フレックスボックスで中央揃え */
    align-items: center; /* 垂直中央揃え */
    justify-content: center; /* 水平中央揃え */
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
    background-color: #fff;
    color: #777;
    padding: 10px 10px 16px 3rem;
    max-height: 0; /* 初期状態で高さを0 */
    overflow: hidden; /* はみ出した部分を隠す */
    opacity: 0; /* 初期状態は透明 */
    transition: max-height 0.5s ease, opacity 0.8s ease; /* スライドとフェード効果のトランジション */
}

.faq-answer.show {
    max-height: 200px; /* 最大高さを設定（適宜調整） */
    opacity: 1; /* 不透明にする */
}

/*CTAセクション*/


/* CTAボタンのスタイル */
#ctaButton {
    background-color: #f15c91; /* ボタンの背景色 */
    color: white; /* ボタンの文字色 */
    border: none; /* ボーダーなし */
    padding: 15px 30px; /* パディング */
    font-size: 16px; /* フォントサイズ */
    border-radius: 5px; /* ボタンの角を丸くする */
    cursor: pointer; /* カーソルをポインターに変更 */
    animation: kodou 1.5s infinite; /* 鼓動アニメーションを適用 */
}

@keyframes kodou {
    0% { transform: scale(1.05); }
    50% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.option-button {
    background-color: #f15c91; /* 選択肢ボタンの背景色 */
    color: white; /* 選択肢ボタンの文字色 */
    border: none; 
    padding: 10px 20px; 
    margin-top: 10px; 
    border-radius: 5px; 
    cursor: pointer; 
}


.cta-area {
    position: fixed; /* 固定表示 */
    bottom: 0; /* 画面下部に配置 */
    left: 0; /* 左端に配置 */
    width: 100%; /* 幅を100%に設定 */
    background-color: var(--translucent);
    padding: 0.3rem 0; /* 内側の余白を調整 */
    text-align: center; /* テキストを中央揃え */
    z-index: 1000; /* 他の要素よりも前面に表示 */
}

#cta{
    width: 100%; /* 幅を100%に設定 */
    background-color: var(--translucent);
    text-align: center; /* テキストを中央揃え */
    z-index: 1000; /* 他の要素よりも前面に表示 */
}

/* 体験レッスンバッジ */
/* バッジがゆっくりと脈打つようなアニメーション */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
  }
}

/* ふわふわ揺れる雲アニメーション */
@keyframes floating-cloud {
  0% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(8px);
  }
}
.badge {
    position: absolute;
    top: -60px;   /* ボタンより上に浮かせる */
    right: calc(50% - 200px);
    width: 120px; /* 必要に応じて調整 */
    height: 120px;
    z-index: 1050; /* ボタンより前面表示 */
}

.trial-lesson-badge {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #6b4e38, #b08968); /* ココアブラウン系グラデーション */
    color: #fdf5e6; /* アイボリー系文字色で上品＆見やすい */
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: 'Sawarabi Mincho', sans-serif;
    animation: floating-cloud 1.8s ease-in-out infinite alternate-reverse;
    cursor: default;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative; /* ::after のため */
}

/* 吹き出しのしっぽ部分 */
.trial-lesson-badge::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 0 0;
  border-color: #9c7b5a transparent transparent transparent; /* 中間色に変更 */
  opacity: 0.9;
  transform: rotate(30deg);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}



/* 上段のラベル ("体験レッスン") */
.trial-lesson-badge .label {
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    /* 文字を読みやすくするため、わずかに影を追加 */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 下段の価格全体 ("¥1,600") */
.trial-lesson-badge .price {
    /* emではなくpxで直接フォントサイズを指定 */
    font-size: 34px;
    line-height: 1;
    /* flexboxで通貨記号と数字の位置を細かく調整 */
    display: flex;
    align-items: baseline; /* ¥と数字の下端を揃える */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 通貨記号 ("¥") のスタイルを明確に指定 */
.trial-lesson-badge .price .currency {
    /* ここでフォントサイズを個別に指定します */
    font-size: 20px;
    margin-right: 3px; /* 数字との間に少し余白を設ける */
    font-weight: normal; /* 数字より少し細くしてバランスを取る */
}


/* スマートフォン用の表示調整 */
@media (max-width: 768px) {
    .trial-lesson-badge {
        width: 100px;
        height: 100px;
        bottom: 15px;
        right: 15px;
    }

    .trial-lesson-badge .label {
        font-size: 0.75rem;
    }

    .trial-lesson-badge .price {
        font-size: 1.1rem;
    }

    .trial-lesson-badge .price .currency {
        font-size: 0.8rem;
    }
}
.qr-code {
    display: none; /* 初期状態ではQRコードを非表示 */
}
@media (max-width: 768px) {
    .qr-code {
    display: none; /* スマホではQRコード非表示 */
    }
    .line-button {
        display: block; /* スマホではLINEボタン表示 */
    }
}
@media (min-width: 769px) {
    .qr-code {
        display: block; /* PCではQRコード表示 */
    }
    .line-button {
        display: none; /* PCではLINEボタン非表示 */
    }
}

/* 公式ライン登録モーダル */
.modal {
    display: none; /* モーダルは初期状態で非表示 */
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative; /* 相対位置を設定 */
    top: calc(100% + 20px); /* 初期位置を画面下に設定（20pxは余白） */
    opacity: 0; /* 初期状態で透明 */
    transition: top 0.5s ease, opacity 0.5s ease; /* トランジション設定 */
}
.modal.show .modal-content {
    display: block; /* 表示時にブロックにする */
    top: calc(60% - 300px); /* モーダルの高さ（300px）を考慮して位置を調整 */
    opacity: 1; /* 完全に不透明 */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

footer a {
  color: var(--maincolor );
}

@media (max-width: 768px) {
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu li {
    margin-bottom: 0.5rem;
  }
}

