/*
Theme Name: REALIZE
Theme URI: https://example.com/realize
Author: Antigravity
Author URI: https://example.com/
Description: REALIZE Parkour School Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, full-width-template
Text Domain: realize
*/

/* =========================================
   Base & Custom Properties
   ========================================= */
:root {
    /* 繧ｯ繝ｼ繝ｫ縺ｪ繧ｫ繝ｩ繝ｼ繝代Ξ繝�ヨ (Accent: #E7674C, Base: #FEFFFA, Text: #444949) */
    --primary-color: #E7674C;
    --primary-hover: #d05940;
    --secondary-color: #5bc0de;
    --accent-color: #5cb85c;

    --text-main: #1a1a1a;
    --text-muted: #666666;
    --bg-main: #FFFFFF;
    /* 繧ｯ繝ｪ繝ｼ繝ｳ縺ｪ邏皮區 */
    --bg-soft: #f4f4f4;
    /* 縺上☆縺ｿ縺ｮ縺ｪ縺�Λ繧､繝医げ繝ｬ繝ｼ */

    --sapporo-color: #5c85d6;
    --teine-color: #4da674;

    --glass-bg: #ffffff;
    /* 螳悟�縺ｪ逋ｽ縺ｮ閭梧勹�医☆繧翫ぎ繝ｩ繧ｹ繝ｻ繧ｰ繝ｬ繝ｼ縺ｮ隗｣髯､�� */
    --glass-border: rgba(200, 200, 200, 0.3);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);

    /* Fonts (Sharp and Cool) */
    --font-head: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

/* Rest of original CSS starts here */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ... The rest of the CSS should be here ... */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Utility Classes
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.0rem;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-title.left-align {
    left: 0;
    transform: none;
    text-align: left;
    display: block;
}

@media (max-width: 768px) {
    .section-title {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 2rem !important;
    }
}

/* 繧ｪ繝ｬ繝ｳ繧ｸ邱壹・陬・｣ｾ繧貞炎髯､ */

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    margin-top: -1rem;
}

.soft-bg {
    background-color: var(--bg-soft);
}

.soft-bg-blue {
    background-color: rgba(0, 0, 0, 0.03);
    /* 縺斐￥阮・＞繧ｯ繝ｼ繝ｫ繧ｰ繝ｬ繝ｼ */
}

.soft-bg-green {
    background-color: #ffffff;
    /* 邏皮區 */
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

/* Animations (繝帙ヰ繝ｼ蜍穂ｽ懃┌蜉ｹ蛹・ */
.hover-lift {
    transition: box-shadow 0.4s ease;
}

.hover-lift:hover {
    box-shadow: var(--shadow-hover);
}

/* 遨ｺ縺ｮ繝ｫ繝ｼ繝ｫ繧貞炎髯､ */

/* =========================================
   Buttons
   ========================================= */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-family: var(--font-head);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 158, 128, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(255, 158, 128, 0.6);
}

.nav-contact-link {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.nav-contact-link:hover {
    background-color: var(--primary-hover);
}

.nav-contact-link::after {
    display: none !important;
    /* 荳狗ｷ壹お繝輔ぉ繧ｯ繝医ｒ辟｡蜉ｹ蛹・*/
}

.btn-micro {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0; /* 修正: 余白を削除 */
    border: none;
    cursor: pointer;
    vertical-align: middle;
}

.btn-micro:hover {
    background-color: var(--primary-hover);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: #000000;
    padding: 10px 0;
    /* 繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ蠕後→蜷医ｏ縺帙ｋ */
    box-sizing: border-box;
}

.header.scrolled {
    background: #000000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    padding: 10px 0;
    /* padding繧貞ｰ代＠邨槭ｋ縺後∵ｨｪ譁ｹ蜷代・縺・§繧峨↑縺・*/
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
}

.nav-logo {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
    margin-left: 80px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

/* 蜍輔￥荳狗ｷ壹・繝舌・繧貞ｾｩ蟶ｰ */


.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* slightly zoomed to allow subtle animation */
    filter: blur(2px) opacity(0.85);
    /* 繧・ｏ繧峨°縺上☆繧九◆繧√・繝悶Λ繝ｼ縺ｨ騾乗・蠎ｦ */
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 證悶°縺・が繝ｼ繝舌・繝ｬ繧､ */
    background: linear-gradient(to bottom, rgba(253, 250, 246, 0.4), rgba(253, 250, 246, 0.8));
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.hero-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-box {
    position: relative;
    background: var(--glass-bg);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.logo-box img {
    max-height: 80px;
    object-fit: contain;
}

.badge {
    position: absolute;
    top: -12px;
    right: -10px;
    padding: 4px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    font-family: var(--font-head);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.sapporo-box .badge {
    background-color: var(--sapporo-color);
}

.teine-box .badge {
    background-color: var(--teine-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 500;
}

.btn-sns {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: #E1306C;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(225, 48, 108, 0.2);
}

.btn-sns:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.2);
    background: #fffafa;
}

.scroll-down {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-down::after {
    content: '';
    display: block;
    width: 2px;
    height: 40px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* =========================================
   About (繝代Ν繧ｯ繝ｼ繝ｫ縺ｨ縺ｯ・・
   ========================================= */
.about-card {
    padding: 40px;
    text-align: left;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.1;
    text-align: left;
    margin: 0;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 158, 128, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.subsection-title {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    display: block;
    max-width: 800px;
    /* Aboutカードと幅を合わせる */
    margin: 0 auto 2rem auto;
    /* 中央寄せしつつ、内側で左寄せ */
}

.merit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 40px;
    max-width: 800px;
    /* Aboutカードと幅を合わせて左端を揃える */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1000px) {
    .merit-grid {
        max-width: 90%;
        /* 画面幅が狭い場合も左右余白を維持 */
    }
}

.merit-card {
    background: white;
    padding: 30px; /* PC用 */
    border-radius: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .merit-card {
        padding: 15px 20px !important; /* 上下は極力詰め、左右も20pxでタイトに */
        gap: 15px !important;
    }
    .merit-grid {
        max-width: 800px !important;
        margin: 30px auto 0 auto !important; /* 上の余白も少し詰める */
    }
}

.merit-icon {
    font-size: 2.8rem;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: var(--bg-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.merit-content {
    flex-grow: 1;
}

.merit-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.merit-desc {
    font-size: 1.1rem;
    line-height: 1.1; /* index.htmlに合わせてタイトに */
    text-align: left;
    margin: 0;
}

/* =========================================
   Features (蠖捺蕗螳､縺ｫ縺､縺・※)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px; /* 1000px に戻してPC版の幅を広くする */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important; /* 隙間を詰める */
        padding: 0 !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }

    .feature-item {
        padding: 15px 15px !important; /* index.htmlの凝縮感を再現 */
        gap: 10px !important; /* 隙間をさらに詰める */
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

.feature-item {
    background: white;
    border-radius: 20px;
    padding: 35px 20px; /* 以前の30pxから20pxに絞って凝縮 */
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: flex-start;
    gap: 15px; /* 以前の25pxから15pxに短縮 */
    box-shadow: var(--shadow-soft);
}

.feature-number {
    font-size: 3.5rem;
    width: 80px;
    height: 80px;
    /* 高さを明示的に指定して中央配置を安定させる */
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-img-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .feature-number {
        font-size: 3.5rem; /* サイズを以前の大きさに復元 */
        width: 70px; /* 絵文字サイズに合わせて領域も確保 */
        height: 70px;
    }

    .feature-img-icon {
        width: 65px; /* 北海道イラストも以前の迫力に復元 */
        height: 65px;
    }
}

/* アイコン位置の微調整用コメントを整理 */

.feature-content h3 {
    font-size: 1.3rem; /* 元デザインのサイズに復元 */
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 0.95rem; /* 元デザインのサイズに復元 */
    line-height: 1.6; /* 行間を元デザインに忠実に調整 */
}

/* =========================================
   Courses (繧ｳ繝ｼ繧ｹ邏ｹ莉・
   ========================================= */
.trial-link {
    color: #1a73e8 !important; /* 鮮やかな青色 */
    text-decoration: underline !important;
    font-weight: bold !important;
    margin-left: 0; /* PC版: テキストとの隙間を削除 */
    transition: opacity 0.2s;
}

.trial-link:hover {
    opacity: 0.7;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding-bottom: 0 !important; /* 余白をゼロまで削る */
}

.course-header {
    padding: 25px 30px;
    color: white;
    position: relative;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.course-header h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.target-age {
    font-size: 1.1rem;
    display: block;
    margin-top: 5px;
    white-space: nowrap;
    opacity: 0.9;
    font-family: var(--font-head);
}



.course-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* 繧ｯ繝ｼ繝ｫ縺ｪ繝｢繝弱ヨ繝ｼ繝ｳ繧ｰ繝ｩ繝・・繧ｷ繝ｧ繝ｳ縺ｨ繧ｪ繝ｬ繝ｳ繧ｸ縺ｮ繧｢繧ｯ繧ｻ繝ｳ繝・*/
.color-1 {
    /* 菴馴ｨ・(繧ｪ繝ｬ繝ｳ繧ｸ) */
    background: #ff8080
}

.color-2 {
    background: #ffd24d
}

.color-3 {
    background: #66cc66
}

.color-4 {
    background: #66cccc
}

.color-5 {
    background: #ff9933
}

.color-6 {
    background: #9966cc
}

/* =========================================
   Schedule & Price
   ========================================= */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn,
.tab-btn-link {
    padding: 12px 40px;
    border: none;
    background: white;
    border-radius: 30px;
    font-size: 1.1rem;
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tab-btn:hover,
a.tab-btn:hover,
.tab-btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 158, 128, 0.4);
}

/* PC版画像幅の調整 */
@media (min-width: 769px) {
    .schedule-price .image-wrapper,
    .price-section .image-wrapper {
        max-width: 850px;
        margin: 0 auto;
    }
}

.tab-content {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Schedule Grid (Timetable) */
.schedule-container {
    overflow-x: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 50px repeat(7, minmax(100px, 1fr));
    min-width: 800px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
}

.grid-header {
    background-color: var(--bg-soft);
    padding: 10px 5px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-head);
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.grid-header.time-col {
    background-color: #fafafa;
}

.grid-header.sunday {
    background-color: #ffebee;
    color: #e53935;
}

.grid-header.saturday {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.grid-header.holiday {
    background-color: #f5f5f5;
    color: #9e9e9e;
}

.class-item {
    font-size: 0.85rem;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    line-height: 1.4;
    color: var(--text-main);
}

.class-item.closed {
    background-color: #f5f5f5;
    color: var(--text-muted);
    font-weight: bold;
    padding: 15px 8px;
}

/* Pricing Style */
.price-tables {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card-group {
    display: flex;
    gap: 30px;
}

.price-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
}

/* 逋ｽ譁・ｭ礼畑繝繝ｼ繧ｯ繧ｫ繝ｼ繝峨せ繧ｿ繧､繝ｫ */
.price-card.dark-card {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.price-header {
    padding: 20px;
    text-align: center;
}

.price-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
}

.dark-card .price-list li {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list li span {
    color: var(--text-muted);
}

.dark-card .price-list li span {
    color: rgba(255, 255, 255, 0.9);
}

.price-list li strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.dark-card .price-list li strong {
    color: white;
    font-size: 1.3rem;
}

.price-list li small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dark-card .price-list li small {
    color: rgba(255, 255, 255, 0.7);
}

/* 莉･蜑阪・逕ｻ蜒上Λ繝・ヱ繝ｼ邉ｻCSS・亥ｿｵ縺ｮ轤ｺ谿九☆縺九∬ｪｿ謨ｴ・・*/
.tab-note {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.image-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Store Information
   ========================================= */

.info-area {
    padding: 60px 0;
    /* 蜈ｨ菴薙・80px繧医ｊ蟆代＠迢ｭ縺上☆繧・*/
}

.info-header {
    text-align: center;
    /* 繧ｿ繧､繝医Ν繧剃ｸｭ螟ｮ縺ｫ蟇・○繧・*/
    margin-bottom: 20px;
}

.info-header .section-title {
    position: static;
    transform: none;
    margin-bottom: 0;
}

.store-badge {
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    font-family: var(--font-head);
    letter-spacing: 1px;
}

.store-badge.sapporo {
    background-color: var(--sapporo-color);
}

.store-badge.teine {
    background-color: var(--teine-color);
}

.info-split {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.info-split.reverse {
    flex-direction: row-reverse;
}

.info-details {
    flex: 1;
    padding: 40px;
}

.info-map {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    min-height: 350px;
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.info-row h4 {
    margin-bottom: 8px;
    color: var(--text-main);
}

.info-row ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-row ul li {
    margin-bottom: 5px;
}

.holiday {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

.placeholder-map {
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.map-dummy {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-head);
}

/* =========================================
   Contact CTA
   ========================================= */
.contact-cta {
    background-color: var(--bg-soft);
    /* 閭梧勹繧偵げ繝ｬ繝ｼ縺ｫ */
    padding: 100px 0;
    text-align: center;
}

.line-card {
    max-width: 600px;
    /* PC迚医・縺ｿ蟆代＠迢ｭ縺上☆繧・*/
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: #ffffff;
    /* 譫�縺ｮ荳ｭ繧堤悄縺｣逋ｽ縺ｫ */
}

.line-card h2 {
    font-size: 2rem;
    margin: 20px 0;
}

.line-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: #06C755;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(6, 199, 85, 0.3);
    margin-bottom: 20px;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-line {
    background-color: #06C755;
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-line.teine {
    background-color: #05a044;
    /* slightly darker for distinction */
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #ffffff;
    /* 逋ｽ閭梧勹縺ｫ螟画峩 */
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

/* =========================================
   Media Queries (Responsive)
   ========================================= */
@media (max-width: 992px) {
    .subsection-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .merit-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 35px;
    }

    .merit-grid .merit-card:first-child {
        width: 100%;
    }

    .merit-card {
        padding: 20px;
        gap: 12px;
    }

    .merit-icon {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }

    .merit-title {
        font-size: 1.05rem;
        margin-bottom: 5px;
    }

    .merit-desc {
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .course-trial-btn {
        right: 8px !important;
        top: 8px !important;
        transform: none !important;
        margin: 0 !important;
        padding: 2px 6px !important;
        font-size: 0.55rem !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        border-radius: 10px !important;
    }

    .target-age {
        font-size: 0.8rem;
    }

    .info-split,
    .info-split.reverse {
        flex-direction: column;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-logo-img {
        height: 40px;
        margin-top: 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .section-padding {
        padding: 30px 0;
    }

    .scroll-down {
        bottom: 50px;
    }

    .hamburger {
        display: block !important;
        width: 24px;
        /* 蜈・・繧ｵ繧､繧ｺ縺ｫ謌ｻ縺・*/
        height: 18px;
        /* 蜈・・繧ｵ繧､繧ｺ縺ｫ謌ｻ縺・*/
        background: transparent !important;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 9999 !important;
        position: absolute !important;
        right: 20px;
        /* 蜈・・菴咲ｽｮ縺ｫ謌ｻ縺・*/
        top: 17px;
        /* 蜈・・菴咲ｽｮ縺ｫ謌ｻ縺・*/
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #ffffff !important;
        /* 3譛ｬ邱壹ｒ逋ｽ縺上☆繧・*/
        transition: all 0.3s linear;
        border-radius: 2px;
        position: absolute;
        left: 0;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 7px;
    }

    .hamburger span:nth-child(3) {
        top: 14px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        width: 75%;
        height: 100dvh;
        /* dvh繧剃ｽｿ逕ｨ縺励※繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ譎ゅ・蟠ｩ繧後ｒ髦ｲ豁｢ */
        top: 0;
        bottom: 0;
        overflow-y: auto;
        /* 逕ｻ髱｢縺悟ｰ上＆縺・�ｴ蜷医↓繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ縺ｧ縺阪ｋ繧医≧縺ｫ縺吶ｋ */
        right: -100%;
        /* 蛻晄悄菴咲ｽｮ繧貞承蛛ｴ螟悶↓ */
        left: auto;
        background-color: #666666;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        transform: none;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        /* 蠖ｱ繧偵▽縺代※豬ｮ縺咲ｫ九◆縺帙ｋ */
    }

    .nav-links.active {
        right: 0;
        /* 螻暮幕譎ゅ・蜿ｳ遶ｯ縺ｫ縺ｴ縺｣縺溘ｊ蜷医ｏ縺帙ｋ */
        left: auto;
    }

    .nav-links a {
        font-size: 1.2rem;
        margin: 8px 0;
        color: #ffffff;
    }

    .nav-contact-link {
        display: inline-block !important;
        padding: 10px 24px;
        margin-top: 15px;
        font-size: 1.1rem;
        background-color: var(--primary-color) !important;
        color: white !important;
        border-radius: 30px;
    }

    .hero-logos {
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        width: 100%;
    }

    .logo-box {
        width: 48% !important;
        max-width: 180px;
        padding: 8px 10px;
        background: var(--glass-bg);
        border-radius: 15px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-box img {
        max-height: 48px;
        width: 100%;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }

    .btn-sns {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-content {
        padding-top: 15vh;
        padding-bottom: 5vh;
        margin-top: 0;
    }

    .badge {
        font-size: 0.6rem;
        padding: 2px 6px;
        top: -8px;
        right: -5px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-group {
        flex-direction: column;
    }

    /* Merits (3縺､縺ｮ繝｡繝ｪ繝・ヨ) */
    .merit-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .merit-card {
        padding: 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .merit-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .merit-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .merit-card p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0;
    }

    /* About and Features - Very compact to fit 4 on screen */
    .about-card {
        padding: 15px;
        margin-bottom: 30px;
    }

    .about-text {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        padding: 10px;
    }

    .feature-number {
        font-size: 2.5rem;
        /* 邨ｵ譁・ｭ励・繧ｵ繧､繧ｺ繧定ｪｿ謨ｴ */
        min-width: 60px;
        /* 繧｢繧､繧ｳ繝ｳ鬆伜沺縺ｮ蟷・ｒ蝗ｺ螳壹＠縺ｦ繝・く繧ｹ繝医・髢句ｧ倶ｽ咲ｽｮ繧呈純縺医ｋ */
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    /* 繧ｳ繝ｼ繝∫ｵｵ譁・ｭ励・蟾ｦ蜿ｳ繝舌Λ繝ｳ繧ｹ繧剃ｿｮ豁｣・亥ｷｦ縺ｫ謌ｻ縺呻ｼ・*/
    .feature-item:nth-child(2) .feature-number {
        padding-left: 4px;
    }

    .feature-img-icon {
        width: 52px;
        /* 蟆代＠蟆上＆縺剰ｪｿ謨ｴ */
        height: 52px;
        object-fit: contain;
        transform: translateY(4px);
        /* 荳九↓荳九￡縺吶℃縺ｪ縺・ｈ縺・ｽ咲ｽｮ繧剃ｸ翫￡繧・*/
    }

    .feature-content h3 {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .feature-content p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin: 0;
    }

    /* Courses - Compact */
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .course-header {
        padding: 10px;
    }

    .course-header h3 {
        font-size: 0.9rem;
    }

    .target-age {
        font-size: 0.8rem;
    }

    .course-body {
        padding: 10px;
    }

    .course-body p {
        font-size: 0.75rem;
        margin: 0;
        line-height: 1.5;
    }

    .trial-link {
        margin-left: 0 !important;
        display: inline !important;
        font-size: 0.68rem !important; /* スマホ版: 1行に収めるため少し小さく */
    }
    
    .pc-only-inline {
        display: none !important; /* スマホ版では「から」を非表示 */
    }
    
    /* .course-trial-btn 削除済み */

    /* Schedule - 7 Columns on mobile */
    .tabs {
        flex-direction: row;
        gap: 5px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tab-btn,
    .tab-btn-link {
        width: auto;
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .tab-content {
        padding: 10px;
    }

    .schedule-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }

    .day-header {
        padding: 4px 2px;
        font-size: 0.6rem;
    }

    .day-body {
        padding: 2px;
        gap: 2px;
    }

    .class-item {
        font-size: 0.5rem;
        padding: 2px;
        line-height: 1.2;
    }

    .class-item.closed {
        padding: 5px 2px;
        font-size: 0.55rem;
    }

    /* Pricing - More compact */
    .price-tables {
        gap: 10px;
    }

    .price-card-group {
        flex-direction: row;
        gap: 10px;
    }

    .price-header {
        padding: 10px;
    }

    .price-header h3 {
        font-size: 0.9rem;
    }

    .price-list li {
        padding: 8px;
        font-size: 0.75rem;
    }

    .price-list li strong {
        font-size: 0.85rem;
    }

    /* Store Info - 2 Columns (Side by side) */
    .info-area.section-padding {
        padding: 30px 10px;
    }

    .info-split {
        flex-direction: column;
        gap: 20px;
    }

    .info-split.reverse {
        flex-direction: column;
    }

    .info-details {
        padding: 10px;
        flex: 1;
        font-size: 0.7rem;
    }

    .info-header {
        margin-bottom: 15px;
    }

    .info-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    .info-icon {
        font-size: 1.2rem;
    }

    .info-row h4 {
        font-size: 0.8rem;
        margin-bottom: 2px;
    }

    .info-row p,
    .info-row li {
        font-size: 0.7rem;
        margin: 0;
        line-height: 1.4;
    }

    .info-row ul {
        padding: 0;
        margin: 0;
    }

    .info-map {
        flex: 1;
        min-height: 150px;
        height: auto;
        border-radius: 8px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-links {
        justify-content: center;
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.fade-bottom {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(50px);
}

.fade-right {
    transform: translateX(-50px);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* スマホ・PC切り替え用 */
.sp-only { display: none; }
.pc-only-inline { display: inline; }

@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only-inline { display: none; }
}