/* 縦割り保育セクション */
        .mixed-age-section {
            text-align: center;
        }

        .mixed-age-text {
            line-height: 1.8;
            margin: 20px 0;
            text-align: left;
        }

        /* 一日の流れセクション */
        .schedule-section {
        }

        /* タブスタイル */
        .tab-container {
            margin: 30px 0;
        }

        .tab-buttons {
            display: flex;
            justify-content: center;
            gap: 30px;
            /* margin-bottom: 30px; */
        }

        .tab-button {
            background: #bbb;
            color: white;
            border: none;
            padding: 12px 24px;
            cursor: pointer;
            font-weight: 500;
            font-family: 'Zen Maru Gothic', sans-serif;
            transition: background-color 0.3s ease;
            border-radius: 8px 8px 0 0;
        }

        .tab-button:first-child {
            background: #FFB6C1;
        }

        .tab-button.active {
            background: #FFB6C1;
        }

        .tab-button:not(.active) {
            background: #bbb;
        }

        /* スケジュール表示エリア */
        .schedule-content {
            background: white;
            border: 3px solid #FFB6C1;
            border-radius: 20px;
            padding: 50px 50px 0px 50px;
            display: flex;
            gap: 40px;
            align-items: flex-start;
        }

        .schedule-tabs {
            flex: 1;
        }

        .schedule-list {
        }

        .schedule-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 2px dashed #ddd;
        }
        .schedule-item:last-child {
            border-bottom: none;
        }

        .schedule-time {
            color: #e04f54;
            font-weight: 700;
            min-width: 80px;
            margin-right: 20px;
        }

        .schedule-activity {
            flex: 1;
            font-weight: 500;
        }

        .schedule-detail {
            color: #666;
            margin-left: 10px;
        }

        /* イラストエリア */
        .schedule-illustrations {
            flex: 0 0 200px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }

        .illustration {
            width: 150px;
            height: 150px;
            border-radius: 8px;
            overflow: hidden;
        }

        .illustration img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* タブコンテンツ */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* 年間行事セクション */
        .annual-events-section {
            text-align: center;
        }

        .events-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            max-width: 1100px;
            margin: 30px auto;
        }

        .event-card {
            width: 100%;
            height: auto;
            border-radius: 15px;
            overflow: hidden;
        }

        .event-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* 園の特色セクション */
        .features-section {
            text-align: center;
        }

        .features-subtitle {
            color: #e04f54;
            font-size: 1.5em;
            font-weight: 600;
            margin: 20px 0;
        }

        .features-text {
            line-height: 1.8;
            margin: 30px 0;
            text-align: left;
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .features-image {
            text-align: center;
            margin-top: 40px;
        }

        .features-image img {
            max-width: 100%;
            height: auto;
            border-radius: 15px;
            max-width: 800px;
        }

        /* 小学校就学に向けた学習セクション */
        .elementary-prep-section {
        }

        .elementary-prep-text {
            line-height: 1.8;
            margin: 30px 0;
            text-align: left;
            margin-left: auto;
            margin-right: auto;
        }

        /* スライダー */
        .image-slider {
            position: relative;
            width: 100%;
            margin: 40px auto;
            overflow: hidden;
        }

        .slider-container {
            display: flex;
            transition: transform 0.5s ease;
            padding: 0 calc(100% / 2);
        }

        .slide {
            min-width: calc(100% / 3);
            flex-shrink: 0;
            padding: 0 10px;
        }

        .slide img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 15px;
        }

        /* スライダーコントロール */
        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .nav-dot.active {
            background: #e04f54;
        }

        .nav-dot:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        /* 前へ/次へボタン - 削除 */
        /* 学習項目セクション */
        .learning-items {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 50px 0;
            flex-wrap: wrap;
            background: #F8F1E7;
            border-radius: 20px;
            padding: 30px 20px 20px 20px
        }

        .learning-item {
            text-align: center;
            text-decoration: none;
            color: #333;
            transition: transform 0.3s ease;
            flex: 1;
        }

        .learning-item:hover {
            transform: translateY(-5px);
        }

        .learning-item img {
            object-fit: cover;
            margin-bottom: 15px;
        }

        .learning-item-text {
            font-size: 1.5rem;
            font-weight: 600;
            color: #333;
        }

        /* 学習項目詳細セクション */
        .learning-detail-section {
            padding: 60px 0;
            max-width: 1180px;
            margin: 0 auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .learning-detail {
            display: flex;
            gap: 40px;
            margin-bottom: 80px;
            align-items: center;

        }

        .learning-detail.reverse {
            flex-direction: row-reverse;
        }

        .learning-detail-content {
            flex: 1;
        }

        .learning-detail-title {
            display: flex;
            align-items: center;
            gap: 30px;
            margin-bottom: 10px;
        }

        .learning-detail-title img {
            width: 120px;
            height: 120px;
            object-fit: cover;
        }

        .learning-detail-title h3 {
            font-size: 3rem;
            font-weight: 700;
            color: #e04f54;
            text-align: left;
        }

        .learning-detail-subtitle {
            display: block;
            font-size: 2rem;
            font-weight: 600;
            margin-top: 10px;
            color: #333;
        }

        .learning-detail-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #333;
        }

        .learning-detail-images {
            flex: 0 0 400px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .learning-image-main {
            height: 480px;
            border-radius: 10px;
        }

        .learning-image-sub {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 10px;
        }
        .learning-detail-text{
            padding: 2rem 0;
        }
        .learning-detail-text p{
                font-size: 1.8rem;
                text-align: left;
            }


        .learning-images-bottom {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .learning-images-bottom .learning-image-sub {
            flex: 1;
        }

        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .tab-buttons {
                justify-content: flex-start;
                gap: 5px;
                overflow-x: auto !important;
                margin: 0 20px;
            }

            .tab-button {
                margin-bottom: 0;
                padding: 10px 16px;
                white-space: nowrap;
                font-size: 16px;
            }

            .tab-content {
                max-height: 400px;
                                overflow-y: auto;

            }

            .schedule-content {
                display: block;
                gap: 20px;
                padding: 15px;

            }

            .schedule-item{
                display: block;
            }
            .schedule-tabs {
                display: block;
            }

            .schedule-illustrations {
              display: flex;
              flex-direction: row;
            }

            .illustration {
                width: 33%;
                height: auto;
                text-align: center;
            }
            .illustration img{
                width: 80%;
            }

            .mixed-age-text {
                text-align: left;
                padding: 0 10px;
            }

            .events-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                max-width: 400px;
            }

            .image-slider {
                margin: 20px auto;
            }

            .slide img {
                height: 250px;
            }

            .learning-items {
                gap: 20px;
                margin-top: 30px;
            }

            .learning-item {
                min-width: 150px;
                max-width: 180px;
            }

            .learning-item img {
                width: 150px;
            }

            .learning-item-text {
                font-size: 1rem;
            }

            .learning-detail-section {
                padding: 40px 20px;
            }

            .learning-detail {
                flex-direction: column;
                gap: 30px;
                margin-bottom: 60px;
            }

            .learning-detail.reverse {
                flex-direction: column;
            }

            .learning-detail-images {
                flex: none;
                max-width: 100%;
            }
            .learning-image-main {
            height: auto;
        }

            .learning-detail-title h3 {
                font-size: 1.5rem;
            }

            .learning-detail-subtitle {
                font-size: 2rem;
                padding-left: 0;
            }

            .learning-detail-text {
                padding-left: 0;
            }
            
            .learning-images-bottom {
                flex-direction: column;
            }

            .features-image img {
                max-width: 100%
            }
        }