@charset "UTF-8";

/* =========================================
   1. ベース設定 & カラーパレット
   ========================================= */
:root {
    --pop-yellow: #fff9c4; /* 背景用：クリームイエロー */
    --pop-orange: #ffab40; /* 強調：元気なオレンジ */
    --pop-blue: #4dd0e1;   /* 清潔感：水色 */
    --pop-green: #aed581;  /* 安心感：若草色 */
    --pop-pink: #f48fb1;   /* アクセント：ピンク */
    --text-brown: #5d4037; /* 文字色：優しい茶色 */
    --white: #ffffff;
    --gray-bg: #f9f9f9;
}

body {
    font-family: 'Zen Maru Gothic', sans-serif; /* 丸文字フォント */
    color: var(--text-brown);
    background-color: var(--white);
    line-height: 1.8;
    margin: 0;
    padding-bottom: 80px; /* スマホ用固定フッターの分を確保 */
    overflow-x: hidden;
}

/* 画像のはみ出し防止 & 角丸 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    vertical-align: bottom;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* =========================================
   2. 共通レイアウト & タイトル
   ========================================= */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    padding: 60px 0;
    position: relative;
}

/* セクションタイトル */
.section-head {
    text-align: center;
    margin-bottom: 40px;
}
.section-head h2 {
    font-size: 1.8rem;
    color: var(--pop-orange);
    display: inline-block;
    background: linear-gradient(transparent 70%, #fff3e0 70%);
    margin-bottom: 10px;
}
.section-head p {
    font-size: 0.95rem;
    color: #888;
    font-weight: bold;
}

/* 背景バリエーション */
.bg-pop-pattern {
    background-color: #fff8e1;
    background-image: radial-gradient(#ffe0b2 2px, transparent 2px);
    background-size: 20px 20px;
}
.bg-cloud {
    background-color: #e1f5fe;
    border-radius: 50px 50px 0 0;
    padding-top: 80px;
    margin-top: 40px;
}
.bg-yellow {
    background-color: var(--pop-yellow);
    border-radius: 30px;
    margin: 20px 0;
}
.bg-light-yellow {
    background-color: #fffde7;
}
.bg-white {
    background-color: #fff;
}

/* バッジ類 */
.parents-badge, .kids-badge {
    background: var(--pop-blue);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}
.kids-badge { background: var(--pop-orange); }

/* =========================================
   3. ヘッダー & ナビ
   ========================================= */
#header {
    background: #fff;
    border-bottom: 5px solid var(--pop-blue);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area h1 a {
    color: var(--pop-blue);
    font-size: 1.2rem;
    line-height: 1.2;
    display: block;
    font-weight: 900;
}
.logo-area span { font-size: 0.8rem; color: var(--pop-orange); }
.tag-area { font-size: 0.7rem; color: #999; margin: 0; }

.pc-only { display: none; } /* スマホでは非表示 */

.btn-reservation {
    background: var(--pop-orange);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 4px 0 #e65100;
}
.btn-reservation:active { box-shadow: none; transform: translateY(4px); }

/* 目次ナビ */
.toc-nav {
    padding: 15px 0;
    background: #f0f4f8;
    border-bottom: 1px solid #ddd;
}
.toc-title { text-align: center; font-weight: bold; margin-bottom: 10px; color: var(--text-brown); }
.toc-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.toc-list a {
    background: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--pop-blue);
    border: 1px solid var(--pop-blue);
    display: block;
}

/* =========================================
   4. ヒーローエリア
   ========================================= */
#hero {
    background: linear-gradient(180deg, #e0f7fa 0%, #ffffff 100%);
    text-align: center;
    padding-bottom: 60px;
    border-radius: 0 0 50% 50% / 40px;
}
.badge-pop {
    background: var(--pop-orange);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}
.marker-yellow { background: linear-gradient(transparent 60%, #ffeb3b 60%); }
.hero-content h2 {
    font-size: 2rem;
    color: var(--pop-blue);
    line-height: 1.4;
    background: none;
    margin: 10px 0 20px;
}
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    align-items: center;
}
.btn-yellow, .btn-blue {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-yellow { background: #ffeb3b; color: var(--text-brown); border: 2px solid var(--text-brown); font-size: 1.1rem; }
.btn-blue { background: #fff; color: var(--pop-blue); border: 2px solid var(--pop-blue); }

.floating {
    margin-top: 30px;
    animation: float 3s ease-in-out infinite;
}
.floating img {
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    max-width: 90%;
}

/* =========================================
   5. キッズゾーン (画像重視レイアウト)
   ========================================= */
.kids-block {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 3px solid var(--pop-blue);
    box-shadow: 5px 5px 0 #b2ebf2;
}
.kids-block h3 { color: var(--pop-blue); font-size: 1.3rem; margin-top: 0; }
.kids-img img { border-radius: 15px; margin-bottom: 15px; }

.kids-message-box {
    background: #fff9c4;
    padding: 20px;
    border-radius: 15px;
    border: 2px dashed var(--pop-orange);
    text-align: center;
    margin-top: 30px;
}

/* タイムスケジュール */
.schedule-grid {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto; /* スマホで横スクロール */
    padding-bottom: 10px;
}
.schedule-item {
    flex: 0 0 120px; /* 固定幅 */
    background: #fff;
    padding: 15px 10px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #eee;
}
.schedule-item.active {
    border-color: var(--pop-orange);
    background: #fff8e1;
    position: relative;
}
.schedule-item.active::after {
    content: 'OK!';
    position: absolute;
    top: -10px; right: -5px;
    background: var(--pop-orange);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

/* =========================================
   6. 親御様向け：チェック & メカニズム
   ========================================= */
.check-intro-box {
    background: #f0f4f8;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid var(--pop-blue);
}

.habit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}
.habit-card {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #eee;
    box-shadow: 0 4px 0 #eee;
}
.habit-card h3 { font-size: 1rem; margin: 10px 0 5px; color: var(--text-brown); }
.habit-card p { font-size: 0.85rem; color: #666; line-height: 1.5; }

/* メカニズム図解 */
.mechanism-visual {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    text-align: center;
}
.mech-box {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f9f9f9;
}
.mech-box.bad { border: 2px solid #ddd; }
.mech-box.good { border: 2px solid var(--pop-orange); background: #fff3e0; }
.arrow-mech {
    font-size: 1.5rem; color: var(--pop-orange); font-weight: bold; margin: 10px 0;
    display: block; transform: rotate(90deg); /* スマホは縦並びなので矢印を下へ */
}

/* ステップ */
.step-item {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.step-num {
    background: var(--pop-blue);
    color: #fff;
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 15px;
}

/* タイプ紹介 */
.type-area { padding: 20px; border-radius: 20px; border: 2px solid #eee; text-align: center; margin-top: 30px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.tag-blue { background: var(--pop-blue); color:#fff; padding:3px 8px; border-radius:5px; font-size:0.8rem; }
.tag-green { background: var(--pop-green); color:#fff; padding:3px 8px; border-radius:5px; font-size:0.8rem; }
.tag-pink { background: var(--pop-pink); color:#fff; padding:3px 8px; border-radius:5px; font-size:0.8rem; }

/* =========================================
   7. 比較 & 症例 & MFT
   ========================================= */
/* 比較カード（スマホ横スクロール） */
.compare-visual-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}
.comp-card {
    min-width: 260px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 2px solid #eee;
}
.comp-card.best { border: 4px solid var(--pop-orange); transform: scale(1.02); }
.badge-rec { background: var(--pop-orange); color: #fff; display: inline-block; padding: 5px 12px; border-radius: 15px; font-size: 0.8rem; margin-bottom: 10px; font-weight: bold; }
.comp-card h3 { margin-top: 0; color: var(--text-brown); }
.comp-card ul { margin-top: 15px; }
.comp-card li { margin-bottom: 10px; border-bottom: 1px dashed #eee; padding-bottom: 5px; font-size: 0.9rem; }
.comp-card .icon { font-size: 1.2rem; margin-right: 5px; }

/* 症例（大写真） */
.case-big-card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.case-comment {
    background: #fff9c4;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-brown);
}

/* MFT（4コマ風） */
.mft-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}
.mft-step {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #eee;
}
.mft-step span { display: block; font-weight: bold; margin-top: 5px; color: var(--pop-orange); }

/* =========================================
   8. スタッフ & 料金 & フッター
   ========================================= */
.staff-box {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 2px dashed var(--pop-orange);
    text-align: center;
}
.staff-img img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--pop-yellow); object-fit: cover; margin-bottom: 15px; }
.fukidashi {
    background: var(--pop-pink); color: #fff; padding: 10px; border-radius: 20px;
    margin-bottom: 15px; position: relative; display: inline-block;
}
.fukidashi::after {
    content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
    border-width: 10px 10px 0; border-style: solid; border-color: var(--pop-pink) transparent;
}
.fukidashi h3 { font-size: 1rem; margin: 0; background: none; color: #fff; }

/* 料金表 */
.info-grid { display: grid; gap: 20px; }
.price-area, .access-area { background: #fff; padding: 20px; border-radius: 20px; border: 2px solid #eee; }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #ddd; }
.main-price { color: var(--pop-orange); font-weight: bold; font-size: 1.1rem; border-bottom: none; }

/* フッター */
footer {
    background: var(--pop-blue); color: #fff; text-align: center;
    padding: 40px 20px 80px 20px; border-radius: 40px 40px 0 0;
}
.footer-btns { display: flex; flex-direction: column; gap: 15px; max-width: 300px; margin: 20px auto; }
.f-tel, .f-web {
    background: #fff; color: var(--pop-blue); padding: 15px; border-radius: 50px; font-weight: bold; text-decoration: none;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1);
}
.f-web { background: var(--pop-orange); color: #fff; box-shadow: 0 4px 0 #e65100; }

/* スマホ用固定フッター */
.sticky-footer {
    position: fixed; bottom: 0; left: 0; width: 100%;
    display: flex; z-index: 2000; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.sticky-tel, .sticky-web {
    flex: 1; text-align: center; padding: 15px; color: #fff; font-weight: bold; font-size: 0.9rem;
}
.sticky-tel { background: #333; }
.sticky-web { background: var(--pop-orange); }

/* =========================================
   9. PC用レスポンシブ (768px以上)
   ========================================= */
@media (min-width: 768px) {
    .pc-only { display: block; }
    
    .hero-container { display: flex; align-items: center; justify-content: space-between; text-align: left; }
    .hero-content { width: 50%; }
    .hero-image { width: 45%; }
    .hero-btns { flex-direction: row; }

    .kids-block { display: flex; align-items: center; gap: 30px; }
    .kids-block.reverse { flex-direction: row-reverse; }
    .kids-img, .kids-text { flex: 1; }
    
    .habit-grid, .mft-images { grid-template-columns: repeat(4, 1fr); }
    .schedule-grid { justify-content: center; overflow: visible; }
    
    .mechanism-visual { display: flex; gap: 20px; align-items: stretch; }
    .arrow-mech { transform: rotate(0deg); align-self: center; }

    .compare-visual-grid { justify-content: center; overflow: visible; }
    .comp-card { width: 45%; }
    
    .case-grid, .info-grid { grid-template-columns: 1fr 1fr; }
    
    .staff-box { display: flex; text-align: left; align-items: flex-start; gap: 30px; }
    .staff-img { flex-shrink: 0; }
    .fukidashi::after { left: -10px; bottom: auto; top: 15px; border-width: 10px 10px 10px 0; border-color: transparent var(--pop-pink) transparent transparent; }

    .footer-btns { flex-direction: row; }
    .sticky-footer { display: none; }
    body { padding-bottom: 0; }
}

/* アニメーション定義 */
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }


/* --- 新規追加：アイキャッチスライダー --- */
.eyecatch-slider-area {
    margin-top: -30px; /* ヒーローの波線に少し重ねる */
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.slider-scroller {
    display: flex;
    gap: 15px;
    overflow-x: auto; /* 横スクロール */
    padding: 10px 5px 20px 5px; /* 下に影用の余白 */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.slide-item {
    min-width: 260px; /* 画像の幅 */
    flex-shrink: 0;
    scroll-snap-align: center;
    position: relative;
    text-align: center;
}

.slide-item img {
    width: 100%;
    height: 180px; /* 画像の高さ */
    object-fit: cover;
    border-radius: 15px;
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.slide-caption {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-brown);
    font-weight: bold;
}

.slider-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--pop-blue);
    font-weight: bold;
    margin-top: -10px;
}

/* PC調整 */
@media (min-width: 768px) {
    .slider-scroller {
        justify-content: center; /* 画像が少ない時は中央寄せ */
        gap: 20px;
    }
    .slide-item { width: 300px; }
    .slide-item img { height: 200px; }
}