@charset "UTF-8";

/* ============================================================
   保育案内ページ（childcare）全体設定
   ============================================================ */
html {
    scroll-behavior: smooth;
}

.childcare-page {
    background-color: #fcfaf5;
    color: #333;
    line-height: 1.8;
    font-family: 'Zen Maru Gothic', sans-serif;
    padding: 120px 0 80px; /* ヘッダー被り対策 */
}

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

/* --- セクション共通設定 --- */
.childcare-section {
    padding: 80px 0; 
    scroll-margin-top: 100px;
}

/* --- セクションタイトル --- */
.section-title {
    text-align: center;
    margin-bottom: 50px; /* 余白を適正化 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title .title-inner {
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    gap: 30px;
    font-size: 26px;
    font-weight: 900;
    color: #4a3728;
    line-height: 1;
}

.section-title .title-inner::before,
.section-title .title-inner::after {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 32px;
    background-color: #08A66C;
    border-radius: 10px;
}

.section-title span:not(.title-inner) {
    display: block;
    font-size: 13px;
    color: #08A66C;
    margin-top: 12px; 
    letter-spacing: 0.2em;
    font-weight: 700;
}

/* --- ガラス風ボックス背景 --- */
.glass-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 60px 40px;
    border: 2px solid #fff;
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.05);
}

/* ============================================================
   保育活動（クラス紹介）
   ============================================================ */
.activity-simple-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.simple-class-item {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    align-items: flex-start;
}

.simple-photo {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
}

.simple-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.simple-label {
    display: block;
    color: #08A66C;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 5px;
}

.simple-name {
    font-size: 22px;
    font-weight: 900;
    color: #4a3728;
    margin: 0 0 10px 0;
    display: inline-block;
    border-bottom: 2px solid #08A66C;
}

.simple-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    font-weight: bold;
}

/* ============================================================
   1日の流れ（Daily Program）
   ============================================================ */
/* タイトル直下の余白を詰めるための調整 */
.flow-page-section {
    padding-bottom: 0; 
}

.daily-program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 80px;
}

.program-col {
    background: #fff;
    border-radius: 40px;
    padding: 0 0 40px 0; /* 下部にのみ余白 */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.program-photo {
    width: 100%;
    height: 220px;
    margin-bottom: 25px;
}

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

.program-type-title {
    font-size: 24px;
    font-weight: 900;
    color: #4a3728;
    text-align: center;
    margin-bottom: 5px;
}

.program-subtitle {
    text-align: center;
    color: #08A66C;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 25px;
}

.timeline-list {
    padding: 0 30px;
}

.timeline-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-top: 1px dashed #eee;
}

.time-label {
    flex: 0 0 90px;
    font-weight: 900;
    color: #e67e22;
    font-size: 17px;
}

.event-desc {
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

/* ============================================================
   年間行事（Annual Schedule）
   ============================================================ */
.schedule-section {
    padding-top: 40px;
}

.schedule-list {
    display: flex;
    flex-direction: column;
}

.month-group {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px dashed #d1c7bc;
    align-items: center;
}

.month-group:last-child {
    border-bottom: none;
}

.m-label {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
}

.month-group ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    flex: 1;
    padding: 0;
    margin: 0;
}

.month-group li {
    font-size: 17px;
    font-weight: 800;
    color: #333;
    display: flex;
    align-items: center;
}

/* 季節ごとの色分け */
.month-group:nth-child(-n+3) .m-label { background-color: #ff99ab; } /* 春 */
.month-group:nth-child(n+4):nth-child(-n+6) .m-label { background-color: #08A66C; } /* 夏 */
.month-group:nth-child(n+7):nth-child(-n+9) .m-label { background-color: #e67e22; } /* 秋 */
.month-group:nth-child(n+10) .m-label { background-color: #5da9e9; } /* 冬 */

/* 行事の強調 */
.event-strong { color: #d35400 !important; font-size: 19px !important; }

/* 遠足の詳細テキスト */
.event-trip {
    width: 100%;
    font-size: 14px !important;
    color: #666 !important;
    line-height: 1.5;
    margin-top: 5px;
}

/* ============================================================
   スマホ・タブレット用レスポンシブ
   ============================================================ */
@media screen and (max-width: 768px) {
    .childcare-page { padding-top: 100px; }
    .childcare-section { padding: 50px 0; }
    
    .section-title { margin-bottom: 30px; }
    .section-title .title-inner { font-size: 22px; gap: 15px; }
    .section-title .title-inner::before, .section-title .title-inner::after { height: 24px; width: 5px; }

    /* 保育活動：1列 */
    .activity-simple-list { grid-template-columns: 1fr; gap: 20px; }
    .simple-class-item { padding: 20px; gap: 15px; }
    .simple-photo { flex: 0 0 70px; width: 70px; height: 70px; }
    .simple-name { font-size: 18px; }

    /* 1日の流れ：縦並び */
    .daily-program-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
    .program-col { padding-bottom: 30px; border-radius: 30px; }
    .program-photo { height: 180px; }
    .time-label { flex: 0 0 75px; font-size: 15px; }
    .event-desc { font-size: 14px; }

    /* 年間行事：スマホ最適化 */
    .glass-box { padding: 30px 20px; border-radius: 30px; }
    .month-group { gap: 20px; padding: 20px 0; }
    .m-label { flex: 0 0 55px; width: 55px; height: 55px; font-size: 18px; }
    .month-group ul { gap: 8px 15px; }
    .month-group li { font-size: 15px; }
    .event-trip { font-size: 12px !important; }
}

@media screen and (max-width: 480px) {
    .month-group { align-items: flex-start; }
    .m-label { margin-top: 5px; }
}