/* 基本設定 & 「間」と「調和」のデザインテーマ */
:root {
    --primary-color: #FFC107; /* ひまわりイエロー */
    --secondary-color: #FF9800; /* オレンジ */
    --accent-color: #03A9F4; /* ブルー */
    --text-color: #3a3a3a; /* 柔らかい墨色 */
    --bg-color: #fdfcf7; /* 生成りがかった和紙の色 */
    --leaf-color: #558B2F; /* ひまわりの葉の色（落ち着いたオリーブグリーン） */
    --cardline-color: #c0c6c9; /*灰青*/
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 2.0; /* 行間を広げ、読みやすさと「間」を確保 */
    simple-button-webkit-font-smoothing: antialiased; /* 文字を滑らかに表示 */
    -moz-osx-font-smoothing: grayscale;
}

/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 影を少し柔らかく */
}

/* ロゴ全体のリンク設定 */
.logo-link {
    display: flex;
    align-items: center; /* 上下中央揃え */
    text-decoration: none; /* 下線を消す */
    color: var(--text-color); /* 文字色 */
    gap: 15px; /* 画像と文字の間隔 */
}

/* 画像の設定 */
.header-logo img { 
    height: 60px; /* 少し大きくして存在感を出す */
    width: auto; /* 比率を維持 */
}

/* 文字の設定 */
.logo-text {
    font-size: 1.5em; /* 文字サイズ */
    font-weight: bold; /* 太字 */
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 雰囲気に合う明朝体系 */
    letter-spacing: 0.05em; /* 文字間隔を少し広げる */
    white-space: nowrap; /* 改行させない */
}

/* スマートフォン対応（ロゴ調整） */
@media (max-width: 768px) {
    .header-logo img { 
        height: 40px; /* スマホでは少し小さく */
    }
    .logo-text {
        font-size: 1.2em; /* スマホでは文字も少し小さく */
    }
}

.header-nav ul { list-style: none; display: flex; gap: 20px; margin: 0; }
.header-nav a { text-decoration: none; color: var(--text-color); font-weight: bold; }

/* メインビジュアル（スライダー） */
.main-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.main-visual-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}
.main-visual h1 { font-size: 2.5em; margin: 0 0 10px 0; }
.main-visual p { font-size: 1.2em; margin-bottom: 30px; }

/* ボタン */
.cta-button {
    background-color: var(--leaf-color);
    color: white;
    padding: 15px 30px;
    border-radius: 12px; /* ← 50px から 12px に変更！ */
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    display: inline-flex; /* フレックスボックスに変更 */
    justify-content: center; /* 左右中央揃え */
    align-items: center; /* 上下中央揃え */
    text-align: center; /* 文字自体の整列 */
    min-height: 60px; /* 最低限の高さを確保 */
    line-height: 1.4; /* 行間を程よく */
    box-sizing: border-box; /* パディングを含めたサイズ計算 */
}
.cta-button:hover { transform: scale(1.05); }

.simple-button {
    background-color: white;
    color: var(--accent-color);
    padding: 10px 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
}

/* セクション共通スタイル & 余白の再設計 */
section {
    padding: 100px 40px; /* 上下の余白を大胆に取る */
    text-align: center;
}
section h2 { font-size: 2em; margin-bottom: 40px; }

/* h2の中にある画像とテキストをどちらも中央に寄せる */
h2 img, 
h2 span {
  vertical-align: middle;
}

/* 悩み共感エリア */
.empathy ul { list-style: none; padding: 0; max-width: 500px; margin: 0 auto 30px auto; text-align: left; }
.empathy li { margin-bottom: 10px; font-size: 1.1em; }
.empathy-message { font-weight: bold; font-size: 1.2em; }

/* 3つの魅力エリア */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto; }
.feature-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }

/* ▼▼▼ 3つの魅力エリア（タイトル修正版） ▼▼▼ */
.feature-item h3 {
    margin-top: 15px;
    color: var(--accent-color);
    
    /* 修正点：文字サイズを少し小さくして一行に収める */
    font-size: 1.1em; 
    
    /* 念のための保険：もし改行されても隣と高さを揃える設定 */
    min-height: 4em; 
    display: flex;
    align-items: center; /* 上下中央揃え */
    justify-content: center; /* 左右中央揃え */
}

.feature-item p { text-align: left; }

/* 講師紹介 */
.instructor { background-color: white; }
.instructor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    text-align: center;
}
.instructor-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ▼▼▼ ここから下が追加・変更部分 ▼▼▼ */
    background-color: white; /* 背景を白く */
    padding: 40px; /* 内側に余白を作って窮屈にならないように */
    border-radius: 15px; /* 角を丸く */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* ふんわりとした影（網掛け効果） */
    border-top: 5px solid var(--primary-color); /* 上にひまわりイエローのライン */
    transition: transform 0.3s; /* 動く準備 */
    height: 100%; /* 2つのカードの高さを揃える */
    box-sizing: border-box; /* 枠線を含めたサイズ計算 */
}


.instructor-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.instructor-text h3 { margin: 0; font-size: 1.5em; }
.instructor-text .instructor-title { color: var(--accent-color); font-weight: bold; margin-top: 5px; }
.instructor-text p { text-align: left; }

/* クラス案内 */
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 800px; margin: 0 auto; }
.class-item { border: 2px solid var(--primary-color); padding: 30px; border-radius: 10px; }
.class-buttons { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }

/* お問い合わせ */
.contact { background-color: #fff9e6; }
.contact-line { max-width: 600px; margin: 0 auto; }
.qr-code { width: 150px; margin: 20px 0; }

/* フッター */
.footer { 
    background-color: #333; 
    color: white; 
    padding: 60px 20px; 
}

.footer-content { 
    display: flex; 
    justify-content: space-between; /* ロゴ情報とリンク集を左右に離す */
    max-width: 1000px; 
    margin: 0 auto; 
    align-items: flex-start; /* 上揃えにする */
}

/* ▼▼▼ ここが今回の修正ポイント ▼▼▼ */
.footer-links {
    display: flex; /* これで2つのリストが横並びになります */
    gap: 60px; /* 左の列と右の列の間隔を広めに取る */
}
/* ▲▲▲ ここまで ▲▲▲ */

.footer-links ul { 
    list-style: none; 
    padding: 0; 
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px; /* 項目ごとの間隔 */
}

.footer-links a { 
    color: white; 
    text-decoration: none; 
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright { 
    text-align: center; 
    margin-top: 60px; 
    font-size: 0.8em; 
    opacity: 0.6;
}

/* スマートフォン対応（フッター修正版） */
@media (max-width: 768px) {
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
        gap: 40px;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column; /* スマホではリンク集も縦並びに戻す */
        gap: 30px;
        text-align: center;
    }
}

/* スマートフォン対応 (レスポンシブデザイン) */
@media (max-width: 768px) {
    section { padding: 60px 20px; }
    .header { flex-direction: column; gap: 10px; }
    .header-nav ul { flex-direction: column; gap: 10px; text-align: center; padding: 0; }
    .main-visual h1 { font-size: 1.8em; }
    .cta-button {
        padding: 12px 20px; /* 余白を少し調整 */
        width: 80%; /* 横幅を画面の80%に設定 */
        max-width: 300px; /* ただし最大幅は300pxまで */
    }
    .features-grid { grid-template-columns: 1fr; }
    .instructor-grid { grid-template-columns: 1fr; }
    .instructor-text { text-align: center; }
    .instructor-text p { text-align: center; }
    .class-grid { grid-template-columns: 1fr; }
    .class-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 30px;}
}

/* 静かなアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ▼▼▼ サブページ共通スタイル ▼▼▼ */

/* ▼▼▼ サブページ共通スタイル（写真背景版） ▼▼▼ */
.page-hero {
    position: relative; /* 背景画像配置の基準 */
    padding: 100px 20px; /* 高さを出して写真を広く見せる */
    text-align: center;
    background-color: #333; /* 画像がない時の予備色 */
    background-size: cover; /* 画像を枠いっぱいに広げる */
    background-position: center; /* 画像の中央を表示 */
    color: white; /* 文字色を白に */
    overflow: hidden;
    margin-bottom: 60px; /* 下のコンテンツとの余白 */
}

/* 写真の上に薄暗いフィルターをかけて文字を読みやすくする */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 黒の40%透明 */
    z-index: 1;
}

/* 文字をフィルターの上に表示させる */
.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 2.8em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* 文字に影をつけて視認性アップ */
    letter-spacing: 0.05em;
}

.page-hero p {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9); /* 白の少し透明 */
    margin: 10px 0 0 0;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase; /* 英語を大文字に */
}

/* ▼▼▼ 各ページの背景画像設定 ▼▼▼ */
.hero-about { background-image: url('images/hero-about.png'); }
.hero-instructor { background-image: url('images/hero-instructor.png'); }
.hero-class { background-image: url('images/hero-class.png'); }
.hero-schedule { background-image: url('images/hero-schedule.png'); }
.hero-access { background-image: url('images/hero-access.png'); }
.hero-gallery { background-image: url('images/hero-gallery.png'); }
.page-hero h1 {
    font-size: 2.5em;
    margin: 0;
}
.page-hero p {
    font-size: 1em;
    color: var(--secondary-color);
    margin: 5px 0 0 0;
}

/* はじめての方へページ専用スタイル */
.lead-message {
    background-color: white;
}
.catch-copy {
    font-size: 2.2em;
    line-height: 1.6;
}
.lead-message p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-sub {
    background-color: var(--bg-color); /* 和紙の色 */
}

.qa {
    background-color: white;
}
.qa-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.qa-list dt {
    background-color: #fff9e6;
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    font-weight: bold;
    margin-top: 20px;
}
.qa-list dt::before {
    content: 'Q.';
    color: var(--primary-color);
    margin-right: 10px;
}
.qa-list dd {
    padding: 20px 15px;
    margin-left: 0;
    border-bottom: 1px solid #eee;
}
.qa-list dd::before {
    content: 'A.';
    color: var(--secondary-color);
    margin-right: 10px;
    font-weight: bold;
}

.trial-flow {
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
}
.trial-flow ol {
    padding-left: 20px;
}
.trial-flow li {
    margin-bottom: 20px;
}
.final-push {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 40px;
}

/* ▼▼▼ 講師紹介ページ（詳細）専用スタイル ▼▼▼ */

.instructor-detail-section {
    background-color: var(--bg-color); /* 和紙の色 */
}

.instructor-card {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    margin: 0 auto 60px auto; /* カード間の余白 */
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* 浮き上がるような柔らかな影 */
}

.card-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.card-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #eee; /* 写真の周りに繊細な枠線 */
}

.card-info h3 {
    font-size: 1.8em;
    margin: 0 0 10px 0;
}

.en-name {
    font-size: 0.6em;
    color: var(--secondary-color);
    font-weight: normal;
    margin-left: 10px;
}

.card-title {
    color: var(--accent-color);
    font-weight: bold;
    margin: 0 0 15px 0;
}

.card-specs {
    list-style: none;
    padding: 0;
    font-size: 0.95em;
    color: #666;
    display: inline-block; /* リストを文字の長さに合わせた「塊」にする */
    text-align: left;      /* 塊の中の文字は「左揃え」にする */
}
.card-specs li {
    margin-bottom: 5px;
}
.card-specs li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 8px;
}

.card-body h4 {
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 2px;
}

/* Q&Aリストの微調整（講師ページ用） */
.instructor-qa dt {
    background-color: transparent; /* 背景色をなくしてシンプルに */
    border-left: none;
    border-bottom: 2px solid var(--primary-color); /* 下線に変更 */
    padding: 10px 0;
    margin-top: 30px;
    font-size: 1.1em;
}
.instructor-qa dd {
    border-bottom: none;
    padding: 15px 0;
}

.next-step {
    background-color: white;
}

/* スマートフォン対応（講師ページ） */
@media (max-width: 768px) {
    .instructor-card {
        padding: 30px 20px;
    }
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .card-specs {
        text-align: left;
        display: inline-block; /* 中央揃えの中で左揃えにするテクニック */
    }
}

/* ▼▼▼ クラス紹介ページ専用スタイル ▼▼▼ */

/* 独自の指導法エリア */
.teaching-style {
    background-color: var(--bg-color); /* 和紙の色 */
}
.style-content {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--primary-color); /* ひまわり色の枠線 */
    padding: 40px;
    border-radius: 10px;
    background-color: white;
}

/* ダンス種目リスト */
.dance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.dance-category h3 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    color: var(--text-color);
}
.category-desc {
    font-size: 0.9em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.dance-category ul {
    list-style: none;
    padding: 0;
    text-align: left;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}
.dance-category li {
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}
.dance-category li:last-child {
    border-bottom: none;
}

/* 料金表エリア */
.price-list {
    background-color: #fdfdfd;
}
.price-card-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    flex-wrap: wrap; /* スマホで折り返す */
}

.price-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
}
.price-card:nth-child(2) {
    border-top: 5px solid var(--primary-color); /* 個人レッスンカード*/
}

.price-title {
    font-size: 1.5em;
    margin: 0 0 10px 0;
}
.price-sub {
    font-size: 0.7em;
    font-weight: normal;
    color: #666;
}
.price-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 30px;
}

.price-detail dt {
    font-size: 0.9em;
    color: #888;
    margin-top: 15px;
}
.price-detail dd {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.price-detail dd.free {
    color: var(--accent-color);
}
.price-detail dd.highlight {
    font-size: 1.8em;
    color: var(--text-color);
}
.price-detail .small {
    font-size: 0.6em;
    font-weight: normal;
}

.price-note {
    font-size: 0.8em;
    color: #888;
    text-align: left;
    margin-top: 10px;
}

.price-note2 {
    font-size: 0.7em;
    color: #888;
    text-align: center;
    margin-top: 10px;
}


.place-info {
    margin-top: 30px;
    text-align: left;
    background-color: #fffbef; /* 薄い黄色 */
    padding: 20px;
    border-radius: 8px;
}
.place-info h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: var(--secondary-color);
}
.place-info ul {
    padding-left: 20px;
    margin: 0;
    font-size: 0.9em;
}
.place-info li {
    margin-bottom: 10px;
}

/* 体験レッスン情報 */
.trial-info-box {
    background-color: var(--primary-color);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}
.trial-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}
.trial-item {
    background-color: white;
    padding: 15px 30px;
    border-radius: 10px;
    width: 40%;
}
.trial-item h4 {
    margin: 0 0 5px 0;
    font-size: 1em;
}
.trial-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #e91e63; /* 目立つピンク */
    margin: 0;
}

   
/* ▼▼▼ スローガンのフォント設定（修正版） ▼▼▼ */
.slogan {
    /*font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif; /* 親しみやすいフォント */
    /* Comic Neueを指定 */
    font-family: 'Comic Neue', cursive;
    
    /* ★追加：太さを700（太字）に指定する★ */
    font-weight: 700; 

    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

/* スマートフォン対応（クラスページ） */
@media (max-width: 768px) {
    .dance-grid {
        grid-template-columns: 1fr;
    }
    .price-card-container {
        flex-direction: column;
        align-items: center;
    }
    .trial-grid {
        flex-direction: column;
        gap: 15px;
    }
    .trial-item {
        width: auto;
    }
}

/* ▼▼▼ クラス紹介ページの最後のアクションエリア修正 ▼▼▼ */

/* ボタンを縦並びにする */
.next-step .class-buttons {
    flex-direction: column; /* 縦並び指定 */
    align-items: center; /* 中央揃え */
    gap: 25px; /* ボタンとボタンの間隔 */
}

/* 縦並びの時は、LINEボタンを少し大きく目立たせる */
.next-step .cta-button {
    width: 100%; /* スマホなどでは幅いっぱいに */
    max-width: 400px; /* ただし広がりすぎないように制限 */
    font-size: 1.1em; /* 文字を少し大きく */
}

/* スケジュールボタンのデザイン微調整 */
.next-step .simple-button {
    margin-top: 0; /* 不要な余白を削除 */
    min-width: 250px; /* 幅をある程度確保 */
}

/* ▼▼▼ スケジュールページ専用スタイル ▼▼▼ */

/* 重要なお知らせエリア */
.news-section {
    padding-bottom: 20px; /* 下の余白を少し詰める */
}
.news-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fffbef; /* 薄い黄色で注意を引く */
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
}
.news-container h3 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    color: var(--text-color);
    display: flex;
    align-items: center;
}
.news-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    font-weight: bold;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap; /* スマホで折り返し */
    gap: 15px;
}
.news-list li:last-child {
    border-bottom: none;
}
.news-date {
    font-weight: bold;
    color: var(--secondary-color);
}

/* スケジュール・お便り画像エリア */
.schedule-image-section,
.newsletter-section {
    background-color: var(--bg-color); /* 和紙の色 */
}

.section-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.image-frame {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 5px;
    transition: transform 0.3s;
}
.image-frame:hover {
    transform: scale(1.02); /* マウスを乗せると少し拡大 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* 将来用のGoogleカレンダーエリア */
.google-calendar-section {
    background-color: white;
}
.google-calendar-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 75%; /* アスペクト比 4:3 を維持 */
    height: 0;
    overflow: hidden;
    border: 1px solid #ddd;
}
.google-calendar-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ▼▼▼ アクセスページ専用スタイル ▼▼▼ */

.location-list {
    background-color: var(--bg-color); /* 和紙の色 */
}

.location-card {
    background-color: white;
    border-radius: 10px;
    margin: 0 auto 60px auto;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex; /* 横並びにする */
    overflow: hidden; /* 角丸を維持 */
}

/* 左側：情報エリア */
.location-info {
    padding: 40px;
    flex: 1; /* 幅の割合 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info h3 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    color: var(--secondary-color);
}
.place-name {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--text-color);
    margin-top: 5px;
}

.access-detail dt {
    font-size: 0.9em;
    color: #888;
    margin-top: 15px;
}
.access-detail dd {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.map-link-button {
    display: inline-block;
    margin-top: 30px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.2s;
    align-self: center; /* 中央構え */
}
.map-link-button:hover {
    background-color: #f0f8ff;
}

/* 右側：マップエリア */
.map-container {
    flex: 1; /* 情報エリアと同じ幅 */
    min-height: 400px; /* 最低限の高さを確保 */
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* マップ下の余白を削除 */
}

/* スマートフォン対応（アクセスページ） */
@media (max-width: 768px) {
    .location-card {
        flex-direction: column; /* スマホでは縦並び */
    }
    .map-container {
        /*height: 300px; /* スマホでの地図の高さ */
        width: 100%;
        aspect-ratio: 1 / 1; /* ★正方形にする（見やすくなります！） */
    }
    .map-link-button {
        align-self: stretch; /* ボタンを幅いっぱいに */
    }
}

/* ▼▼▼ ギャラリーページ専用スタイル ▼▼▼ */

/* YouTube動画エリア */
.movie-section {
    background-color: var(--bg-color);
}
.video-container-wrapper {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 映画館のような影 */
    border-radius: 10px;
    overflow: hidden;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9のアスペクト比を維持 */
    height: 0;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* フォトアルバムエリア */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 自動で列数を調整 */
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3; /* 写真の比率を4:3に固定 */
    cursor: pointer; /* クリックできることを示す指マーク */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠いっぱいにトリミング */
    transition: transform 0.5s ease;
}

/* ホバー時のエフェクト */
.gallery-item:hover img {
    transform: scale(1.1); /* 少し拡大 */
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3); /* 薄暗いカバー */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* 最初は隠す */
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1; /* ホバー時に表示 */
}
.view-text {
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9em;
}

/* ▼▼▼ 拡大表示（ライトボックス）用スタイル ▼▼▼ */
.modal {
    display: none; /* 普段は非表示 */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* 背景を黒く */
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: var(--primary-color);
}

/* ▼▼▼ スローガン横のアイコン調整 ▼▼▼ */
.slogan-icon {
    height: 1.5em; /* 文字の高さの1.5倍（ちょうど良いバランス） */
    width: auto; /* 横幅は自動調整 */
    vertical-align: middle; /* 文字の高さの中央に画像を揃える */
    margin-left: 10px; /* 文字と画像の間隔 */
    margin-bottom: 5px; /* 位置の微調整 */
    display: inline-block;
}

/* ▼▼▼ トップページ・ヒーローセクションのボタン特別装飾 ▼▼▼ */
.main-visual .cta-button {
    /* 1. 存在感を出すためにサイズアップ */
    font-size: 1.3em; 
    padding: 20px 50px; 
    min-width: 300px; 

    /* ★修正点：上下に30px、左右は自動(auto)にして中央揃えにする★ */
    margin: 30px auto 0 auto; 

    /* 2. 背景に埋もれないための白い枠線 */
    border: 3px solid white; 
    
    /* 3. 影を少し強めにして浮き上がらせる */
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); 
}

/* マウスを乗せた時の動き（反転させてオシャレに） */
.main-visual .cta-button:hover {
    background-color: white; /* 背景を白に */
    color: var(--leaf-color); /* 文字を緑に */
    transform: scale(1.05) translateY(-3px); /* 少し拡大して浮く */
}

/* スマホでの微調整 */
@media (max-width: 768px) {
    .main-visual .cta-button {
        font-size: 1em; /* スマホでは大きすぎないように */
        padding: 15px 30px;
        width: 80%; /* 横幅は画面に合わせる */
        border-width: 2px; /* 枠線を少し細く */
    }
}

/* ▼▼▼ 悩みリストの装飾（チェックアイコン＋マーカー） ▼▼▼ */

/* リスト全体の調整 */
.empathy ul { 
    list-style: none; /* 元の点を消す */
    padding: 0; 
    max-width: 500px; 
    margin: 0 auto 30px auto; 
    text-align: left; 
}

/* 各項目の調整 */
.empathy li { 
    margin-bottom: 20px; /* 間隔を少し広げてゆったりと */
    font-size: 1.2em; /* 文字を少し大きく */
    position: relative; /* アイコン配置の基準 */
    padding-left: 2.2em; /* 左側にアイコン用のスペースを空ける */
    line-height: 1.6;
}

/* イラスト風のチェックアイコンを作る */
/* ▼▼▼ 修正版：確実に白いチェックを表示する設定 ▼▼▼ */

/* 1. オレンジ色の丸を描く（文字は入れない） */
.empathy li::before {
    content: ''; /* 文字は空っぽにする */
    position: absolute;
    left: 0;
    top: 2px;
    width: 1.6em;
    height: 1.6em;
    background-color: var(--secondary-color); /* オレンジ背景 */
    border-radius: 50%; /* 丸くする */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* 2. その上に白い線でチェックマークを描く */
.empathy li::after {
    content: '';
    position: absolute;
    left: 0.55em; /* 位置の微調整 */
    top: 0.4em; /* 位置の微調整 */
    width: 0.4em; /* チェックの横幅 */
    height: 0.7em; /* チェックの縦幅 */
    border: solid white; /* 白い実線 */
    border-width: 0 2px 2px 0; /* 右と下だけに線を引く */
    transform: rotate(45deg); /* 45度回転させてチェックの形にする */
}

/* テキストの下にマーカー線を引く */
.empathy li span {
    /* グラデーションを使って「下半分」だけに色をつける技術 */
    background: linear-gradient(transparent 65%, rgba(255, 193, 7, 0.3) 65%); 
    padding-bottom: 3px;
    display: inline; /* 改行されても線が続くように */
}

/* ▼▼▼ 見出しのマーカー線デザイン ▼▼▼ */
section h2 span {
    /* 下半分（65%より下）に、薄いオレンジ色（#FF9800の30%）を敷く */
    background: linear-gradient(transparent 65%, rgba(255, 152, 0, 0.3) 65%);
    
    /* 左右にほんの少し余白を入れて、線が文字より少しだけ長く見えるように */
    padding: 0 5px;
    
    /* 改行された時も、行ごとにきれいに線を引くためのおまじない */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* ▼▼▼ スマホ表示のはみ出し防止修正 ▼▼▼ */
@media (max-width: 768px) {
    
    /* 1. サイト全体の横スクロールを強制的に禁止する（保険） */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    /* 2. クラス紹介ページのカード等の余白をスマホ用に小さくする */
    /* （PCでは40px取っていた余白を、スマホでは20pxに減らします） */
    .style-content, 
    .price-card, 
    .dance-category ul,
    .place-info,
    .trial-info-box {
        padding: 20px !important; /* 強制的に余白を狭く */
        width: 100%; /* 幅を画面いっぱいに */
        box-sizing: border-box; /* 枠線や余白を幅に含める計算にする */
    }

    /* 3. コンテナ自体の幅も画面に合わせる */
    .price-card-container,
    .dance-grid {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* 4. 長い単語やURLがあっても強制的に折り返す */
    p, li, dd {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ▼▼▼ 体験レッスンの流れ（番号デコレーション修正） ▼▼▼ */

/* 1. リスト全体の数字を消して、カウンターをセットする */
.trial-flow ol {
    list-style: none; /* 元々の「1.」を消す */
    counter-reset: flow-counter; /* 「flow-counter」という名前のカウンターを0にする */
    padding-left: 0; /* 左の余白をリセット */
}

/* 2. 各項目の設定 */
.trial-flow li {
    position: relative; /* 数字アイコンの基準位置 */
    padding-left: 2.5em; /* 左側に数字アイコン分のスペースを空ける */
    margin-bottom: 25px; /* 項目ごとの間隔を少し広げる */
    counter-increment: flow-counter; /* カウンターを1つ進める */
}

/* 3. 丸い数字アイコンを作る */
.trial-flow li::before {
    content: counter(flow-counter); /* 現在の番号を表示する */
    position: absolute;
    left: 0;
    top: 0; /* 位置の微調整（必要なら数値を変更） */
    width: 1.8em;
    height: 1.8em;
    background-color: var(--secondary-color); /* ひまわりオレンジ */
    color: white; /* 数字の色は白 */
    border-radius: 50%; /* 丸くする */
    text-align: center;
    line-height: 1.8em; /* 数字を上下中央に */
    font-weight: bold;
    font-family: 'Comic Neue', sans-serif; /* 数字も可愛いフォントに */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* ほんのり影 */
}

/* 4. 見出し（LINEで簡単申し込み 等）を目立たせる */
.trial-flow li strong {
    font-size: 1.1em;
    color: var(--text-color);
    border-bottom: 2px solid var(--primary-color); /* 黄色の下線 */
    display: inline-block;
    margin-bottom: 5px;
}

/* ▼▼▼ ご挨拶・活動紹介セクションのデザイン ▼▼▼ */

.greeting-section {
    background-color: white; /* 清潔感のある白背景 */
}

.greeting-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.greeting-lead {
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center; /* リード文は中央揃え */
}

/* 活動リストの枠組み */
.activity-list-box {
    background-color: var(--bg-color); /* 和紙色 */
    border: 2px solid var(--primary-color); /* 黄色の枠 */
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
}

.activity-list-box h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 30px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

.activity-list-box ul {
    list-style: none;
    padding: 0;
}

.activity-list-box li {
    margin-bottom: 25px;
    padding-left: 1.5em;
    position: relative;
}

/* リストの頭にひまわり色の点を打つ */
.activity-list-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.activity-list-box strong {
    color: var(--text-color);
    font-size: 1.1em;
    display: block; /* 項目名を改行して強調 */
    margin-bottom: 5px;
    border-bottom: 2px solid rgba(255, 193, 7, 0.3); /* マーカー風 */
    display: inline; /* マーカーのためにインラインに戻す */
}

/* 日付を目立たせる */
.highlight-date {
    background-color: #fff9c4; /* 薄い黄色背景 */
    font-weight: bold;
    padding: 0 5px;
    color: var(--text-color);
}

/* 下部のスローガンエリア */
.greeting-footer {
    text-align: center;
    margin-top: 40px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}
.welcome-msg {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--leaf-color); /* 緑色で歓迎 */
    margin-top: 10px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .activity-list-box {
        padding: 20px;
    }
}

/* ▼▼▼ ギャラリー：ピックアップ写真エリアのデザイン ▼▼▼ */

.featured-photo-area {
    max-width: 800px; /* グリッドより少し幅を絞って上品に */
    margin: 0 auto 60px auto; /* 下のグリッドとの間隔を空ける */
}

/* 大きな写真の設定 */
.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* 角丸を少し大きく */
    aspect-ratio: 16 / 9; /* 横長のワイド比率で見せる（4:3よりドラマチック） */
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); /* 浮き上がるような影 */
    margin-bottom: 20px; /* コメントとの間隔 */
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ホバー時の拡大効果（既存のギャラリーと合わせる） */
.featured-item:hover img {
    transform: scale(1.05);
}
.featured-item:hover .gallery-overlay {
    opacity: 1;
}

/* コメントのデザイン */
.featured-comment {
    text-align: left; /* 文章は左揃え */
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-color);
    background-color: white; /* 白背景で強調 */
    padding: 20px 30px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color); /* 左にひまわり色のライン */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .featured-item {
        aspect-ratio: 4 / 3; /* スマホでは少し縦長に戻して見やすく */
    }
    .featured-comment {
        font-size: 1em;
        padding: 15px;
    }
}