/* =========================================
   CSS変数 (配色・フォント管理)
   ========================================= */
:root {
    /* カラーパレット */
    --color-bg-white: #ffffff;
    --color-bg-light-pink: #FEF3F8;
    --color-main-pink: #EBB5C6;
    --color-deep-pink: #D48EA3;
    --color-gold: #C5A059;
    --color-gold-light: #E8D5B5;
    --color-text-main: #444444;
    --color-text-light: #888888;
    --color-accent-blue: #92B4D6;

    /* フォント */
    --font-serif: 'Zen Old Mincho', serif;
    --font-sans: 'Zen Kaku Gothic New', sans-serif;

    /* 共通設定 */
    --border-radius: 12px;
    --section-padding: 100px 20px;
}

/* リセット & 基本設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ユーティリティ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .container {
        padding: 0;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 60px;
    position: relative;
    line-height: 1.2;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--color-main-pink);
    font-family: var(--font-sans);
    font-weight: bold;
    margin-top: 5px;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-gold-light);
    margin: 20px auto 0;
}

.text-center {
    text-align: center;
}

/* ボタン */
.btn-primary {
    display: inline-block;
    background-color: var(--color-main-pink);
    color: white;
    padding: 12px 35px;
    /* パディングを少し調整 */
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(235, 181, 198, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    /* ボタン内改行防止 */
}

.btn-primary:hover {
    background-color: var(--color-deep-pink);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 181, 198, 0.7);
}

.cal-observation {
    background-color: var(--color-accent-blue);
    color: white;
    font-weight: bold;
    border-radius: 50%;
}

/* =========================================
   ヘッダー
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    /* 上下の余白を少し確保 */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    /* 少しサイズ調整 */
    color: var(--color-text-main);
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
    /* ロゴ改行防止 */
}

.logo span {
    color: var(--color-main-pink);
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
}

.logo .branch-tag {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background: white;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    letter-spacing: 0.08em;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
    top: -1px;
}

.nav-menu {
    margin: 0 20px;
    flex-shrink: 1;
}

/* メニューエリアの伸縮設定 */
.nav-menu ul {
    display: flex;
    gap: 20px;
    /* 間隔を適度に */
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    font-size: 0.9rem;
    /* 文字サイズを少し抑えてスッキリさせる */
    font-weight: 500;
    position: relative;
    display: block;
    padding: 5px 0;
    white-space: nowrap;
    /* メニュー改行防止 */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-main-pink);
    transition: 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ヘッダーCTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    /* 縮小させない */
}



.header-btn {
    font-size: 0.8rem;
    padding: 10px 20px;
}

.header-instagram {
    display: flex;
    align-items: center;
    color: #333;
    transition: opacity 0.3s;
}

.header-instagram:hover {
    opacity: 0.7;
}

.header-instagram svg {
    width: 24px;
    height: 24px;
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-gold);
}

/* PC画面幅が狭いとき（タブレット手前）の調整 */
@media (max-width: 1100px) {
    header {
        padding: 15px 20px;
    }

    .nav-menu ul {
        gap: 15px;
    }

    .logo {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {

    /* スマホでロゴの英語サブテキストを非表示にし、ブランチ名を改行して表示 */
    .logo span:not(.branch-tag) {
        display: none;
    }

    .logo .branch-tag {
        display: block;
        margin-left: 0;
        margin-top: 2px;
        background: transparent;
        border: none;
        padding: 0;
        color: var(--color-text-main);
        font-size: 0.8rem;
    }
}

@media (max-width: 950px) {

    /* モバイルナビ背面（オーバーレイ） */
    .nav-menu {
        display: block;
        /* 常にDOMには存在するが非表示 */
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        /* 背景を暗く */
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        padding: 0;
        /* padding削除、内部のulで調整 */
        pointer-events: none;
        /* 閉じている時はクリック無効 */
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* メニュードロワー（白い部分） */
    .nav-menu ul {
        position: absolute;
        top: 0;
        right: -300px;
        /* 右からスライドイン */
        width: 300px;
        height: 100%;
        background: white;
        flex-direction: column;
        gap: 25px;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        margin: 0;
        /* リセット */
    }

    .nav-menu.active ul {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.1rem;
        color: var(--color-text-main);
    }

    .header-cta {
        display: flex;
        margin-left: auto;
        margin-right: 15px;
    }

    .header-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    /* ハンバーガーアイコン */
    .hamburger {
        display: block;
        margin-left: 0;
        width: 24px;
        height: 18px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
        /* メニューより手前に */
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-gold);
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 8px;
    }

    .hamburger span:nth-child(3) {
        bottom: 0;
    }

    /* ×印アニメーション */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 8px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 8px;
    }
}

/* =========================================
   メインビジュアル (FV)
   ========================================= */
/* =========================================
   メインビジュアル (FV)
   ========================================= */
/* =========================================
   メインビジュアル (FV)
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* 動画背景用のスタイル */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画面いっぱいに広げる */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 動画の粗さを隠すためのドットパターン（網点）を追加 */
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4)),
        radial-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 100% 100%, 3px 3px;
    /* 密度を高めに設定 */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 50px 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-width: 1000px;
    /* 横幅を広げて2行に収まりやすくする */
    width: 90%;
}

/* メインタイトル (H1) */
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

/* タグライン (H1内 span) */
.hero-tagline {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 auto 20px auto;
    /* センタリング */
    display: table;
    /* ブロック要素っぽく振る舞いつつ中身に合わせる（fit-contentの代替としても安全） */
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text-main);
    padding: 8px 16px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-shadow: none;
    /* タグラインには影をつけない */
}

.hero p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero {
        height: 98vh;
    }

    .hero-content {
        padding: 40px 20px;
        text-align: left;
        /* 左寄せ */
        width: 96%;
    }

    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.6;
        white-space: normal;
    }

    .hero-tagline {
        font-size: 0.85rem;
        padding: 6px 12px;
        margin-bottom: 15px;
        width: 100%;
        display: block;
        background-color: rgba(255, 255, 255, 0.85);
        border-radius: 10px;
        margin-left: 0;
        /* スマホは左寄せ */
        margin-right: 0;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    /* ボタンをセンタリング */
    .hero .btn-primary {
        display: table;
        margin: 0 auto;
    }
}

/* =========================================
   About (レイアウト変更：写真＋テキスト)
   ========================================= */
.about {
    padding: var(--section-padding);
    background-color: var(--color-bg-white);
    background-image: radial-gradient(var(--color-bg-light-pink) 20%, transparent 20%);
    background-size: 20px 20px;
}

/* About用コンテナレイアウト */
.about-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    max-width: 1000px;
    margin: 0 auto;
}

.about-image-col {
    flex: 1;
    min-width: 300px;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* 少し傾けたりしておしゃれに */
    transform: rotate(-2deg);
    box-shadow: 10px 10px 0 var(--color-bg-light-pink);
    transition: 0.3s;
}

.about-image+.about-image {
    margin-top: 40px;
}

.about-image:hover {
    transform: rotate(0deg);
    box-shadow: 5px 5px 0 var(--color-main-pink);
}

.about-text-col {
    flex: 1.2;
    text-align: left;
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 25px;
    display: block;
    line-height: 1.5;
    border-bottom: 2px solid var(--color-bg-light-pink);
    padding-bottom: 15px;
    display: inline-block;
}

.about p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

@media (max-width: 900px) {
    .about-layout {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .about-image {
        transform: rotate(0deg);
        margin-bottom: 10px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        display: block;
        box-shadow: 5px 5px 0 var(--color-bg-light-pink);
    }

    .about-text-col {
        text-align: left;
        width: 100%;
    }
}

/* =========================================
   Features (交互レイアウト) - 修正済
   ========================================= */
.features {
    padding: var(--section-padding);
    background: white;
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

/* 偶数番目は画像を右に (row-reverse) */
/* これを効かせるためHTMLは全て Img -> Text の順にする */
.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-img img {
    width: 100%;
    height: 100%;
    transition: 0.5s;
}

.feature-img:hover img {
    transform: scale(1.05);
}

.feature-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1;
    pointer-events: none;
}

.feature-text {
    flex: 1;
}

.feature-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-bg-light-pink);
    font-weight: bold;
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: -1;
    -webkit-text-stroke: 1px var(--color-gold);
}

.feature-text h3 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 20px;
    background: linear-gradient(transparent 70%, var(--color-bg-light-pink) 70%);
    display: inline-block;
}

.feature-text p {
    font-size: 1.05rem;
    color: #666;
}

@media (max-width: 900px) {

    /* モバイルでは常に縦並び（画像→テキスト） */
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .feature-img {
        width: 100%;
        height: 250px;
    }

    .feature-text {
        text-align: center;
    }

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

/* =========================================
   Class / Price
   ========================================= */
.classes {
    padding: var(--section-padding);
    background: white;
}

.price-card-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
}

/* =========================================
   New Schedule & Price Table Styles
   ========================================= */
.subsection-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin: 40px 0 20px;
    font-family: var(--font-serif);
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.schedule-table,
.price-list-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* スマホでスクロールさせるため */
    background: white;
}

.schedule-table th,
.schedule-table td,
.price-list-table th,
.price-list-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.6;
}

.schedule-table thead th,
.price-list-table thead th {
    background-color: var(--color-bg-light-pink);
    color: var(--color-text-main);
    font-weight: bold;
    border-bottom: 2px solid var(--color-main-pink);
}

.schedule-table tbody th,
.price-list-table tbody th {
    background-color: #fffcfd;
    /* 非常に薄いピンク */
    font-weight: bold;
    color: var(--color-gold);
}

.schedule-table td small,
.price-list-table td small {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* 時間割のセル内レイアウト調整 */
.schedule-cell {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.schedule-row {
    display: block;
    white-space: nowrap;
}

.schedule-row.va {
    color: #666;
    font-size: 0.9em;
    margin-top: 2px;
}

.va-label {
    display: inline-block;
    min-width: 24px;
    /* Vaは揃えつつ、長いラベルは省略しない */
    color: var(--color-main-pink);
    font-weight: bold;
}

.class-desc {
    text-align: left;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 16px;
}

#kids .kids-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    #kids .kids-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* 2列化するとテーブルが横にはみ出しやすいので、Kidsだけ最小幅を解除 */
#kids .price-list-table {
    min-width: 0;
}

#kids .subsection-title {
    text-align: left;
    margin: 0 0 12px;
}

#kids .table-scroll {
    margin-bottom: 0;
}

.price-meta {
    color: var(--color-text-light);
    font-size: 0.88em;
    margin-left: 4px;
    white-space: nowrap;
}

.cell-left {
    text-align: left;
    padding-left: 20px;
}

.price-list-table td.cell-left,
.schedule-table td.cell-left {
    text-align: left;
    padding-left: 20px;
}

.price-tax,
.price-unit {
    color: var(--color-text-light);
    font-size: 0.88em;
    white-space: nowrap;
}

@media (max-width: 600px) {
    #kids .kids-grid {
        gap: 16px;
    }

    #kids .subsection-title {
        font-size: 1.25rem;
        margin: 0 0 8px;
    }

    #kids .class-desc {
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0 0 10px;
    }

    #kids .price-list-table th,
    #kids .price-list-table td {
        padding: 10px;
        font-size: 0.88rem;
        line-height: 1.5;
    }
}

.note {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    margin-top: -20px;
    margin-bottom: 30px;
}

/* =========================================
   Instructors - 前回のまま
   ========================================= */
.instructors {
    padding: var(--section-padding);
    background: var(--color-bg-light-pink);
}

.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.instructor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    cursor: pointer;
    position: relative;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-main-pink);
}

.instructor-card::after {
    content: 'View Detail ➜';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-main-pink);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    opacity: 0;
    transition: 0.3s;
    transform: translateY(100%);
}

.instructor-card:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.inst-img {
    height: 350px;
    background: #eee;
}

.inst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.inst-info {
    padding: 20px;
    text-align: center;
    padding-bottom: 30px;
}

.inst-name {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 5px;
}

.inst-role {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.inst-desc-short {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 15px;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-main-pink);
}

.modal-body {
    padding: 40px;
    display: flex;
    gap: 40px;
}

.modal-img {
    width: 35%;
    flex-shrink: 0;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.modal-text {
    width: 65%;
}

.modal-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin: 0;
    color: var(--color-text-main);
}

.modal-role {
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}

.modal-description {
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.timeline {
    border-left: 2px solid #eee;
    padding-left: 20px;
    margin-left: 5px;
}

.timeline-item {
    display: flex;
    margin-bottom: 15px;
    align-items: baseline;
}

.timeline-year {
    font-weight: bold;
    color: var(--color-gold);
    width: 80px;
    flex-shrink: 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.timeline-detail {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .instructor-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .modal-img {
        width: 100%;
        height: 400px;
        margin-bottom: 0;
    }

    .modal-text {
        width: 100%;
    }
}

.instructor-data {
    display: none;
}

/* =========================================
   Schedule & Q&A & Access & Contact - 前回のまま
   ========================================= */
.schedule {
    padding: var(--section-padding);
    background: var(--color-bg-light-pink);
    text-align: center;
}

.schedule-frame {
    background: white;
    width: 100%;
    max-width: 1100px;
    height: auto;
    padding: 60px 20px;
    margin: 0 auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: #ccc;
}

.qa {
    padding: var(--section-padding);
    background: white;
}

.qa-container {
    max-width: 1100px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.qa-item summary {
    padding: 20px 30px;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: 0.2s;
    position: relative;
    list-style: none;
}

.qa-item summary::-webkit-details-marker {
    display: none;
}

.qa-item summary:hover {
    background: var(--color-bg-light-pink);
}

.qa-q {
    color: var(--color-main-pink);
    font-size: 1.2rem;
    margin-right: 15px;
    font-family: var(--font-serif);
}

.qa-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-gold);
}

.qa-item[open] summary::after {
    content: '-';
}

.qa-content {
    padding: 20px 30px;
    background: var(--color-bg-light-pink);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.access {
    padding: var(--section-padding);
    text-align: center;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    background: #eee;
    margin: 0 auto 30px;
}

.access-info {
    font-size: 1rem;
    line-height: 2;
}

/* Contact CSS Update for new Form */
.contact {
    padding: var(--section-padding);
    background: var(--color-bg-light-pink);
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
}

/* 埋め込みフォーム用のスタイル調整 */
.pera1-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.control-label {
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--color-text-main);
    width: 100%;
    margin-bottom: 8px;
}

/* お問い合わせフォーム テーブルスタイル */
.contact-table {
    width: 100%;
    margin-bottom: 30px;
    border-top: 2px solid var(--color-main-pink);
    border-collapse: collapse;
    background: #fff;
}

.contact-table th,
.contact-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

.contact-table th {
    width: 30%;
    background-color: #fafafa;
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.contact-table td {
    width: 70%;
}

.contact-table .required {
    background: #ff5555;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: normal;
}

.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table select,
.contact-table textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
}

.contact-table input:focus,
.contact-table select:focus,
.contact-table textarea:focus {
    outline: none;
    border-color: var(--color-main-pink);
    background: #fffcfd;
}

.contact-table textarea {
    height: 150px;
}

.tel-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tel-fields input {
    width: 100px !important;
}

.radio-inline {
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}

.radio-inline input {
    margin-right: 5px;
    width: auto !important;
}

/* 送信ボタンのカスタムスタイル */
.btn-customform-submit {
    background-color: var(--color-main-pink) !important;
    color: white;
    padding: 16px 60px;
    border-radius: 50px;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
    border: none;
    font-size: 1.1rem;
}

.btn-customform-submit:hover {
    background-color: var(--color-deep-pink) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 181, 198, 0.7);
}

.c-btn {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 767px) {

    .contact-table th,
    .contact-table td {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .contact-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: #fdfdfd;
    }

    .contact-table td {
        padding-top: 5px;
    }

    .tel-fields input {
        width: 30% !important;
    }
}

/* =========================================
   Achievements (実績紹介)
   ========================================= */
.achievements {
    padding: var(--section-padding);
    background: white;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.achievement-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.achievement-img {
    height: 220px;
    overflow: hidden;
    background: #eee;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-main-pink);
}

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

.achievement-info {
    padding: 20px;
    text-align: center;
}

.achievement-title {
    font-size: 1.05rem;
    color: var(--color-text-main);
    margin-bottom: 8px;
    font-weight: bold;
    line-height: 1.4;
}

.achievement-year {
    font-size: 0.85rem;
    color: var(--color-gold);
    font-family: var(--font-sans);
    font-weight: bold;
}

.competition-list {
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 30px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
}

.competition-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-main);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid var(--color-bg-light-pink);
    display: inline-block;
    padding-bottom: 5px;
}

.competition-item {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.6;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
}

.competition-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.competition-year {
    width: 80px;
    font-weight: bold;
    color: var(--color-main-pink);
    flex-shrink: 0;
}

.competition-content {
    flex-grow: 1;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .competition-item {
        flex-direction: column;
    }

    .competition-year {
        margin-bottom: 4px;
    }
}

@media (max-width: 900px) {
    .achievement-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .achievement-img {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .achievement-grid {
        grid-template-columns: 1fr;
    }

    .achievement-info {
        padding: 15px;
    }
}

.achievement-guest-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    text-align: left;
}

.class-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 25px;
}

.class-target-tag {
    display: inline-block;
    background-color: var(--color-bg-light-pink);
    color: var(--color-text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 8px;
    border: 1px solid var(--color-main-pink);
}

.class-target-label {
    margin-right: 4px;
    color: #666;
}

.guest-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.guest-group {
    margin-bottom: 10px;
}

.guest-org {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 4px;
}

.guest-person {
    display: block;
    margin-left: 0;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.guest-role {
    font-size: 0.8rem;
    color: var(--color-gold);
    font-weight: bold;
    margin-right: 6px;
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
}

.guest-name {
    color: var(--color-main-pink);
    font-weight: bold;
    font-family: var(--font-serif);
}

/* =========================================
   Common Note Section (共通注意事項)
   ========================================= */
.common-note-section {
    margin-top: 40px;
    text-align: left;
    width: 100%;
}

.common-note-title {
    font-size: 1.15rem;
    color: var(--color-main-pink);
    margin-bottom: 15px;
    margin-top: 30px;
    font-weight: bold;
    border-bottom: 2px solid var(--color-bg-light-pink);
    padding-bottom: 8px;
    display: inline-block;
}

.common-note-text {
    font-size: 0.95rem;
    line-height: 2.0;
    /* Increased line-height for readability */
    color: var(--color-text-main);
    margin-bottom: 25px;
}

.common-note-highlight {
    background: #fff5f5;
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #ffe0e0;
}

.common-note-highlight-title {
    color: var(--color-main-pink);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    font-size: 1.0rem;
}

.common-note-underline {
    font-weight: bold;
    background: linear-gradient(transparent 70%, #ffe066 70%);
    /* Marker-like underline */
    padding-bottom: 2px;
}

/* Schedule Note Wrapper Update */
.schedule-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
    text-align: left;
}

footer {
    background: #333;
    color: white;
    padding: 60px 20px;
    text-align: center;
    font-size: 0.8rem;
}

footer .logo {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: block;
}

.footer-content {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
    border-top: 1px solid #555;
    padding-top: 40px;
}

.footer-company-info dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.footer-company-info dt {
    width: 100px;
    font-weight: bold;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.footer-company-info dd {
    width: calc(100% - 100px);
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.business-details {
    margin-top: 20px;
}

.business-details h4 {
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.business-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-details ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
}

.business-details ul li::before {
    content: "・";
    position: absolute;
    left: 0;
}

@media (max-width: 600px) {
    .footer-company-info dt {
        width: 100%;
        margin-bottom: 4px;
    }

    .footer-company-info dd {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* =========================================
   Calendar Styles
   ========================================= */
.calendar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-sans);
}

.calendar-header {
    text-align: center;
    margin-bottom: 50px;
}

.calendar-header h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-text-main);
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 768px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.calendar-month {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* ほんのり影をつける */
    border: 1px solid #f0f0f0;
}

.month-label {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    color: var(--color-gold);
    /* 月名をゴールドにして上品に */
    border-bottom: 2px solid var(--color-bg-light-pink);
    padding-bottom: 10px;
}

.cal-table {
    width: 100%;
    border-collapse: separate;
    /* ボーダーラディウスのためにseparateに変更 */
    border-spacing: 2px;
    /* セル間の隙間を少し空ける */
    table-layout: fixed;
}

.cal-table th,
.cal-table td {
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    vertical-align: middle;
    height: 40px;
    border-radius: 4px;
    /* セルの角を少し丸く */
}

.cal-table th {
    background: transparent;
    font-weight: bold;
    color: var(--color-text-light);
    border-bottom: 1px solid #eee;
}

/* 日・土の色 */
.cal-table th:nth-child(1) {
    color: #D48EA3;
}

/* ピンクっぽい赤 */
.cal-table th:nth-child(7) {
    color: #8AB6D6;
}

/* 柔らかい青 */

/* セルの基本スタイル */
.cal-table td {
    border: 1px solid #eee;
    /* 薄い枠線 */
}

/* 状態クラス */
.cal-holiday {
    background-color: #f8d7da !important;
    /* 優しい赤背景 */
    color: #721c24 !important;
    font-weight: bold;
    border-color: #f5c6cb !important;
}

.cal-event {
    background-color: #fff3cd !important;
    /* 優しい黄色背景 */
    color: #856404 !important;
    font-weight: bold;
    border-color: #ffeeba !important;
}

.cal-inactive {
    background-color: #fafafa !important;
    color: #ccc !important;
    border-color: #f0f0f0 !important;
}

.cal-day {
    color: var(--color-text-main);
    background-color: white;
}

.cal-wrapper-note {
    margin-top: 40px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 2;
    color: #666;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px dashed #ddd;
    display: inline-block;
}