:root {
    /* パステル＆ポップなカラーパレット */
    --primary-color: #e60012; /* コーラルピンク（元気でかわいい） */
    --secondary-color: #f7a8b8; /* ポップなイエロー */
    --accent-color: #06C755; /* LINE */
    --text-main: #333333; /* 少し柔らかいダークグレー */
    --text-muted: #555555;
    --white: #ffffff;
    
    /* 背景色 */
    --bg-color: #fce4ec; /* ベースのクリーム色 */
    --bg-alt: #ffebee; /* やや濃いクリーム（オレンジ寄り） */
    --bg-blue: #ffffff; /* パステルブルー */
    --bg-pink: #ffffff; /* パステルピンク */
    
    /* 影（柔らかく丸みのある影） */
    --shadow-sm: 0 4px 0px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(230, 0, 18, 0.15);
    --shadow-hover: 0 12px 20px rgba(230, 0, 18, 0.2);
    --shadow-card: 0 10px 0px rgba(0, 0, 0, 0.04); /* 立体感のある影 */
    
    /* 角丸（限界まで丸く） */
    --radius-md: 1.5rem;
    --radius-lg: 2.5rem;
    --radius-pill: 50px;
    
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* バウンス・トランジション */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; }
body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ポップなタイポグラフィ群 */
.font-pop { font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800; letter-spacing: 0.02em; }
.font-cute { font-family: 'Kiwi Maru', serif; font-weight: 500; letter-spacing: 0.05em; }
.font-eng { font-family: 'Fredoka', sans-serif; font-weight: 700; letter-spacing: 0.05em; }

/* 共通テキスト・カラー装飾 */
.text-white { color: var(--white); }
.text-light { color: rgba(255,255,255,0.8); }
.highlight-text { background: linear-gradient(transparent 60%, var(--secondary-color) 40%); padding: 0 0.2rem; font-weight: 700; color: #4a4a4a; }
.highlight { color: var(--primary-color); display: inline-block; margin-top: 0.5rem; font-weight: 800; text-shadow: 2px 2px 0px #fff; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
strong { color: var(--primary-color); font-weight: 800; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: inline; } }

/* 背景カラーユーティリティ */
.bg-white { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overscroll-behavior: contain; }
.bg-alt { background-color: var(--bg-alt); }
.bg-blue { background-color: var(--bg-blue); }
.bg-yellow { background-color: var(--secondary-color); }
.bg-pink { background-color: #ff9a9e; }
.bg-orange { background-color: #fecfef; }

/* 波線SVG */
.hero-wave, .section-wave-top, .section-wave-bottom, .footer-wave {
    width: 100%; height: 50px; display: block; position: absolute; left: 0; z-index: 1; pointer-events: none;
}
@media (min-width: 768px) { .hero-wave, .section-wave-top, .section-wave-bottom, .footer-wave { height: 80px; } }
.hero-wave { bottom: -1px; }
.section-wave-top { top: -1px; transform: rotate(180deg); }
.section-wave-bottom { bottom: -1px; }
.footer-wave { top: -1px; transform: rotate(180deg); }
.section { position: relative; padding: 6rem 0; }

/* ヘッダー */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 4px solid var(--bg-alt); transition: var(--transition);
}
.header-container {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.8rem 5%; max-width: 1200px; margin: 0 auto;
}
.logo { font-size: 1.6rem; color: var(--primary-color); }
.nav { display: none; }

@media (min-width: 992px) {
    .nav { display: flex; align-items: center; gap: 2rem; }
    .nav-list { display: flex; gap: 1.5rem; align-items: center; }
    .nav-list a { font-weight: 700; font-size: 0.95rem; color: #666; position: relative; }
    .nav-list a:hover { color: var(--primary-color); transform: translateY(-2px); display: inline-block;}
    .btn-contact-header {
        background-color: var(--primary-color); color: var(--white);
        padding: 0.6rem 1.5rem; border-radius: var(--radius-pill); font-weight: 800;
        box-shadow: 0 4px 0 #e06c6c;
    }
    .btn-contact-header:hover { background-color: #ff6b6b; transform: translateY(2px); box-shadow: 0 2px 0 #e06c6c; color: var(--white); }
    .sns-links { display: flex; gap: 1rem; align-items: center; border-left: 2px dashed #ccc; padding-left: 1rem; }
    .sns-links a { color: var(--primary-color); }
}

/* ハンバーガー */
.hamburger {
    display: block; cursor: pointer; border: none; background: transparent;
    width: 32px; height: 24px; position: relative; z-index: 1001;
}
.hamburger span {
    display: block; width: 100%; height: 4px; background-color: var(--primary-color);
    position: absolute; left: 0; transition: var(--transition); border-radius: 4px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

@media (min-width: 992px) { .hamburger { display: none; } }

/* モバイルメニュー */
.mobile-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overscroll-behavior: contain; padding-top: 100px; transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999; display: flex; flex-direction: column; align-items: center;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-nav-list { width: 100%; text-align: center; }
.mobile-nav-list li { margin: 1.5rem 0; }
.mobile-nav-list a { font-size: 1.3rem; font-weight: 800; display: block; color: var(--primary-color); }
.mobile-nav-list a.btn-contact-mobile {
    background-color: var(--primary-color); color: var(--white);
    padding: 1rem 2.5rem; border-radius: var(--radius-pill); display: inline-block; margin-top: 1rem; box-shadow: 0 5px 0 #e06c6c;
}
.mobile-sns-links { display: flex; gap: 1.5rem; margin-top: 3rem; }
.mobile-sns-links a { color: var(--primary-color); font-weight: 800; padding: 0.5rem 1.5rem; background: var(--bg-alt); border-radius: 2rem; }

/* アニメーション・ユーティリティ */
.bounce-hover { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s; }
@media (hover: hover) {
    .bounce-hover:hover { transform: scale(1.05) translateY(-5px); }
}

.pop-in { opacity: 0; transform: scale(0.8) translateY(30px); transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.pop-in.visible { opacity: 1; transform: scale(1) translateY(0); }

/* シール風バッジ */
.sticker-badge {
    display: inline-block; padding: 0.4rem 1.5rem; border-radius: var(--radius-pill);
    font-weight: 800; font-size: 0.95rem; border: 3px solid var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); position: relative; z-index: 2;
}
.sticker-badge.yellow { background-color: var(--secondary-color); color: var(--primary-color); }
.sticker-badge.pink { background-color: #f48fb1; color: var(--white); }
.sticker-badge.blue { background-color: #ce93d8; color: var(--white); }
.sticker-badge.orange { background-color: #ffb347; color: var(--white); }
.sticker-badge.purple { background-color: #cda4ff; color: var(--white); }
.tilt-left { transform: rotate(-4deg); }
.tilt-right { transform: rotate(4deg); }

/* ヒーローセクション */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 5% 4rem; overflow: hidden; background-color: var(--bg-blue);
}
.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background-size: cover; background-position: center; opacity: 0.3; filter: blur(2px); z-index: 0;
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.6) 0%, rgba(252,228,236,1) 100%); z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
@keyframes popIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.4; color: #4a4a4a;
    margin-bottom: 1.5rem; text-shadow: 2px 2px 0px #ffffff;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem); margin-bottom: 2.5rem;
    line-height: 1.8; font-weight: 700; background: rgba(255,255,255,0.8);
    display: inline-block; padding: 0.5rem 1.5rem; border-radius: var(--radius-pill);
    border: 2px dashed var(--primary-color);
}
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    display: inline-block; padding: 1.2rem 2.5rem; border-radius: var(--radius-pill); font-weight: 800; font-size: 1.15rem;
    box-shadow: 0 6px 0px rgba(0,0,0,0.1); border: 3px solid var(--white);
}
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0px rgba(0,0,0,0.1); }
.btn-secondary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-secondary:active { transform: translateY(4px); box-shadow: 0 2px 0px rgba(0,0,0,0.1); }

/* セクションタイトル */
.section-title {
    font-size: 3rem; color: var(--primary-color); text-align: center; margin-bottom: 3.5rem;
    position: relative; text-shadow: 2px 2px 0px #fff;
}
.section-title .ja { display: block; font-size: 1.2rem; color: var(--text-main); margin-top: 0.5rem; text-shadow: none; }

/* お知らせ */
.news-section { padding: 4rem 0 2rem; }
.news-list {
    max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-md);
    padding: 1.5rem 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
    border: 3px dashed var(--primary-color); box-shadow: var(--shadow-sm);
}
.news-date { color: var(--primary-color); font-size: 1.1rem; }
.news-text { flex: 1; min-width: 250px; font-weight: 700; font-size: 1rem; }

/* 強み (Features) */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
    background: var(--white); padding: 3rem 2rem 2rem; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); text-align: center; position: relative;
    border: 4px solid var(--bg-alt); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.feature-number {
    font-size: 4rem; color: var(--secondary-color); position: absolute; top: -30px; left: 50%;
    transform: translateX(-50%); background: var(--white); width: 80px; height: 80px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 4px solid var(--bg-alt); box-shadow: 0 4px 0 rgba(0,0,0,0.05); line-height: 1;
}
.feature-card:hover .feature-number { border-color: var(--primary-color); transform: translateX(-50%) scale(1.1) rotate(10deg); }
.feature-title { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 1rem; line-height: 1.5; margin-top: 1rem; }
.feature-desc { font-size: 0.95rem; font-weight: 500; }

/* ご挨拶 */
.greeting-container { display: flex; flex-direction: column; gap: 4rem; align-items: center; }
@media (min-width: 992px) { .greeting-container { flex-direction: row; align-items: center; } }
.greeting-image { flex: 1; width: 100%; max-width: 450px; position: relative; }
.greeting-image img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); border: 8px solid var(--bg-alt); box-shadow: var(--shadow-card); }
.award-badge {
    position: absolute; bottom: -20px; right: -20px; background: var(--secondary-color); color: #8c7300;
    padding: 1.5rem; border-radius: 50%; width: 160px; height: 160px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; box-shadow: 0 8px 15px rgba(0,0,0,0.1); border: 4px dashed var(--white);
}
.award-icon { font-size: 2.5rem; margin-bottom: 0.2rem; }
.award-badge strong { font-size: 1.3rem; margin-top: 0.2rem; display: block; line-height: 1.2; color: #e65100; }
.greeting-content { flex: 1.5; background: var(--white); padding: 3rem; border-radius: var(--radius-lg); border: 4px solid var(--bg-blue); box-shadow: var(--shadow-card); position: relative; }
.greeting-content::before { content: '💬'; position: absolute; top: -20px; left: 30px; font-size: 3rem; }
.greeting-title { font-size: 1.6rem; color: var(--primary-color); margin-bottom: 1.5rem; text-align: center; }
.greeting-text p { margin-bottom: 1rem; font-size: 1.05rem; font-weight: 500; }

/* 特別コース */
.special-courses-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .special-courses-grid { grid-template-columns: repeat(3, 1fr); } }
.special-card { background: var(--white); padding: 3rem 2rem; border-radius: var(--radius-lg); text-align: center; border: 4px solid var(--white); box-shadow: var(--shadow-card); }
.special-card:hover { border-color: var(--primary-color); transform: scale(1.03) rotate(-1deg); }
.special-icon { font-size: 4rem; margin-bottom: 1rem; display: inline-block; background: var(--bg-blue); width: 100px; height: 100px; line-height: 100px; border-radius: 50%; }
.special-title { font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary-color); }
.special-desc { font-weight: 500; }

/* 年齢別コース */
.courses-intro { text-align: center; max-width: 700px; margin: 0 auto 3rem; font-size: 1.15rem; font-weight: 700; }
.courses-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .courses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .courses-grid { grid-template-columns: repeat(4, 1fr); } }
.course-card { background: var(--white); padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-card); border-bottom: 6px solid var(--secondary-color); }
.course-card:nth-child(2) { border-bottom-color: #ff9a9e; }
.course-card:nth-child(3) { border-bottom-color: #76c6ff; }
.course-card:nth-child(4) { border-bottom-color: #cda4ff; }
.course-icon { font-size: 4rem; margin-bottom: 1rem; }
.course-name { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 1rem; }
.course-desc { font-size: 0.95rem; font-weight: 500; }

/* 実績・イベント */
.events-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-banner {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: var(--shadow-card); border: 4px solid var(--bg-alt);
}
.event-banner:hover { transform: translateY(-8px); border-color: var(--secondary-color); }
.event-banner-icon { width: 100%; padding: 2rem; font-size: 4rem; border-bottom: 4px dashed var(--white); }
.event-banner-content { padding: 2rem 1.5rem; }
.event-title { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 1rem; }
.event-desc { font-weight: 500; font-size: 0.95rem; }

/* 保護者・生徒の声 */
.voices-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .voices-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }
.voice-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 3px solid var(--bg-pink); position: relative; }
.voice-card:hover { transform: scale(1.02); border-style: dashed; border-color: var(--primary-color); }
.voice-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.voice-avatar { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; border: 3px solid var(--white); box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.voice-meta { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start;}
.stars { color: #ffcc00; font-size: 1.2rem; letter-spacing: 0.1em; text-shadow: 1px 1px 0px #e65100; }
.voice-text { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); font-weight: 700; background: var(--bg-pink); padding: 1.5rem; border-radius: var(--radius-md); position: relative; }
.voice-text::before { content: ''; position: absolute; top: -10px; left: 20px; border-width: 0 10px 10px 10px; border-style: solid; border-color: transparent transparent var(--bg-pink) transparent; }

/* FAQ */
.faq-accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.faq-item { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 4px solid var(--bg-alt); transition: var(--transition); }
.faq-item:hover { border-color: var(--primary-color); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 2rem; font-size: 1.15rem; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq-icon { font-size: 2rem; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.faq-item.active .faq-icon { transform: scale(1.2) rotate(15deg); }
.faq-item.active { border-color: var(--secondary-color); background: var(--bg-alt); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: var(--white); border-radius: 0 0 calc(var(--radius-lg) - 4px) calc(var(--radius-lg) - 4px); }
.faq-answer p { padding: 0 2rem 2rem; font-size: 1rem; font-weight: 500; border-top: 2px dashed var(--bg-alt); margin-top: 0; padding-top: 1.5rem; }

/* 無料体験の流れ */
.flow-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .flow-container { flex-direction: row; justify-content: space-between; align-items: stretch; } }
.flow-step { background: var(--white); padding: 2.5rem 2rem; border-radius: 50%; text-align: center; flex: 1; max-width: 280px; aspect-ratio: 1/1; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 6px solid var(--bg-blue); box-shadow: var(--shadow-card); }
.flow-number { color: var(--white); background: var(--primary-color); padding: 0.3rem 1rem; border-radius: 2rem; font-weight: 800; font-size: 1.1rem; margin-bottom: 1rem; box-shadow: 0 3px 0 #e06c6c; }
.flow-title { color: var(--primary-color); font-size: 1.3rem; margin-bottom: 0.5rem; }
.flow-desc { font-size: 0.95rem; font-weight: 500; }
.flow-arrow { color: var(--secondary-color); font-size: 3rem; font-weight: 800; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
@media (min-width: 768px) { .flow-arrow { transform: rotate(-90deg); align-self: center; } }

/* 教室一覧 */
.classrooms-grid { margin-top: 2rem; }
@media (max-width: 767px) {
    .classrooms-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .classrooms-grid .classroom-card {
        width: 100%;
    }
}
@media (min-width: 768px) {
    .classrooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
}
.classroom-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; border: 4px solid var(--bg-alt); transition: var(--transition); }
.classroom-card:hover { transform: translateY(-8px); border-color: var(--secondary-color); }
.classroom-img { width: 100%; height: 220px; object-fit: cover; }
.classroom-content { padding: 2rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.classroom-name { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 0.5rem; text-align: center; }
.classroom-feature { font-size: 1rem; color: #e65100; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.5; text-align: center; background: var(--secondary-color); padding: 0.5rem; border-radius: 1rem;}
.classroom-address, .classroom-time { font-size: 0.95rem; margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 500; }
.classroom-actions { margin-top: auto; padding-top: 1.5rem; display: flex; gap: 1rem; }
.btn-primary-small, .btn-map-small { padding: 0.8rem; border-radius: var(--radius-pill); text-align: center; font-weight: 800; font-size: 0.95rem; flex: 1; box-shadow: 0 4px 0px rgba(0,0,0,0.1); border: 2px solid var(--white); }
.btn-primary-small { background: var(--primary-color); color: var(--white); }
.btn-primary-small:hover { transform: translateY(2px); box-shadow: 0 2px 0px rgba(0,0,0,0.1); color: var(--white);}
.btn-map-small { background: var(--secondary-color); color: #8c7300; }
.btn-map-small:hover { transform: translateY(2px); box-shadow: 0 2px 0px rgba(0,0,0,0.1); }

/* お問い合わせ */
.contact-section { background-color: var(--bg-color); padding: 6rem 0; }
.contact-card { background: var(--white); border: 6px solid var(--primary-color); border-radius: var(--radius-lg); padding: 3rem 2rem; max-width: 800px; margin: 0 auto; text-align: center; box-shadow: var(--shadow-md); position: relative; }
.contact-card::before { content: ''; position: absolute; top: -20px; left: -20px; width: 60px; height: 60px; background: var(--secondary-color); border-radius: 50%; z-index: -1; }
.contact-card::after { content: ''; position: absolute; bottom: -20px; right: -20px; width: 80px; height: 80px; background: var(--bg-blue); border-radius: 50%; z-index: -1; }
.contact-desc { margin-bottom: 3rem; font-size: 1.2rem; font-weight: 800; color: var(--primary-color); }
.primary-contact { margin-bottom: 3rem; }
.btn-line-giant {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
    background: var(--accent-color); color: var(--white); padding: 1.2rem 3rem;
    border-radius: var(--radius-pill); font-weight: 800; font-size: 1.4rem; box-shadow: 0 8px 0 #04923e;
    width: 100%; max-width: 450px; border: 4px solid var(--white);
}
.btn-line-giant:active, .btn-line-giant:hover { background: #05b04a; transform: translateY(4px); box-shadow: 0 4px 0 #04923e; color: var(--white); }
.btn-line-giant .icon { font-size: 2rem; }
.line-note { font-size: 0.95rem; font-weight: 700; color: var(--text-muted); margin-top: 1rem; }
.secondary-contacts { display: flex; flex-direction: column; gap: 2rem; background: var(--bg-color); padding: 2rem; border-radius: var(--radius-md); }
@media (min-width: 768px) { .secondary-contacts { flex-direction: row; justify-content: center; gap: 4rem; } }
.contact-method { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.method-icon-wrap { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: var(--shadow-sm); }
.method-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.method-value { font-size: 1.3rem; font-weight: 800; color: var(--text-main); transition: color 0.2s; }
.method-value:hover { color: var(--primary-color); }

/* フッター */
.footer { background: var(--bg-alt); padding: 6rem 0 2rem; position: relative; margin-top: -2rem; z-index: 0; }
.footer-container { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-container { flex-direction: row; justify-content: space-between; } }
.footer-info { flex: 1; max-width: 400px; text-align: center; }
@media (min-width: 768px) { .footer-info { text-align: left; } }
.footer-logo { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }
.footer-desc { font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer-sns { display: flex; gap: 1.5rem; justify-content: center; }
@media (min-width: 768px) { .footer-sns { justify-content: flex-start; } }
.footer-sns a {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.6rem 1.5rem; border-radius: var(--radius-pill); background: var(--white);
    color: var(--primary-color); font-weight: 800; box-shadow: 0 4px 0 rgba(0,0,0,0.05);
}
.footer-links { flex: 2; display: flex; flex-wrap: wrap; gap: 3rem; justify-content: center; text-align: center;}
@media (min-width: 768px) { .footer-links { justify-content: flex-end; text-align: left; gap: 5rem; } }
.link-col h4 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 1.5rem; font-weight: 800; background: var(--white); padding: 0.5rem 1rem; border-radius: 1rem; display: inline-block;}
.link-col ul { display: flex; flex-direction: column; gap: 1rem; }
.link-col a { font-size: 1rem; font-weight: 700; color: #666; transition: color 0.2s; }
.link-col a:hover { color: var(--primary-color); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 3px dashed var(--white); padding-top: 2rem; margin-top: 2rem;}
.copyright { font-size: 0.9rem; font-weight: 700; color: #888; }

/* Smart Floating LINE */
.floating-line {
    position: fixed; bottom: 20px; right: 20px; background-color: var(--accent-color);
    color: var(--white); border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 0 #04923e; z-index: 990; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1rem; width: 64px; height: 64px; border: 3px solid var(--white);
    overflow: hidden;
}
.floating-line-text {
    max-width: 0; opacity: 0; white-space: nowrap; font-size: 1.15rem; margin-left: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
body.scroll-up .floating-line,
body.at-top .floating-line {
    width: auto; padding: 1rem 1.8rem;
}
body.scroll-up .floating-line-text,
body.at-top .floating-line-text {
    max-width: 150px; opacity: 1; margin-left: 0.5rem;
}
.floating-line:hover { transform: scale(1.05) translateY(-5px); background-color: #05b04a; color: var(--white); box-shadow: 0 10px 0 #04923e; }
@media (min-width: 768px) {
    .floating-line { bottom: 30px; right: 30px; }
}

/* お母様向け安心改修用追加スタイル */
.teacher-message {
    position: relative; margin: 0 auto 25px auto; background: var(--white); padding: 1.2rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-hover); border: 4px solid var(--primary-color); z-index: 10; width: 95%; max-width: 320px;
    transform: rotate(-2deg); font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--text-main); text-align: center;
}
.teacher-message::after {
    content: ''; position: absolute; bottom: -15px; left: 50%; margin-left: -7px;
    border-width: 15px 15px 0 0; border-style: solid; border-color: var(--primary-color) transparent transparent transparent;
}
.teacher-message::before {
    content: ''; position: absolute; bottom: -8px; left: 50%; margin-left: -5px;
    border-width: 10px 10px 0 0; border-style: solid; border-color: var(--white) transparent transparent transparent; z-index: 2;
}
.classroom-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; margin-bottom: 1rem; }
.classroom-gallery img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius-md); border: 3px solid var(--bg-alt); }
@media (min-width: 768px) { .classroom-gallery img { height: 160px; } }
.discount-badge { background: #ffebee; color: #d32f2f; display: inline-block; padding: 0.2rem 0.8rem; border-radius: 1rem; font-size: 0.85rem; font-weight: 800; border: 2px solid #ffcdd2; margin-left: 0.5rem; vertical-align: middle; }
.security-badge { display: flex; align-items: center; gap: 0.5rem; background: #e8f5e9; color: #2e7d32; padding: 0.5rem 1rem; border-radius: var(--radius-pill); font-weight: 800; border: 2px solid #c8e6c9; margin-top: 1rem; justify-content: center; width: fit-content; margin-inline: auto;}

/* Removed PC absolute positioning for teacher-message to prevent overlap */

