@charset "UTF-8";

/* ============================================================
   入園案内ページ（admission）完全リニューアル版
   ============================================================ */

.admission-page {
    background-color: #fcfaf5;
    color: #333;
    line-height: 1.8;
    font-family: 'Zen Maru Gothic', sans-serif;
    padding-top: 180px; /* ヘッダー対策 */
}

.container {
    max-width: 1000px; /* 少し絞って密度を上げる */
    margin: 0 auto;
    padding: 0 30px;
}

/* --- セクションタイトル（保育案内共通） --- */
.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: 24px;
    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: 12px;
    color: #08A66C;
    margin-top: 10px; 
    letter-spacing: 0.15em;
    font-weight: 700;
}

/* --- 資料ダウンロード（ヒーローセクション内） --- */
.admission-hero-section {
    padding-bottom: 100px;
}

.download-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 40px;
    padding: 50px;
    border: 2px solid #fff;
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.05);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-text {
    font-size: 18px;
    font-weight: bold;
    color: #4a3728;
    margin-bottom: 25px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #e67e22;
    color: #fff !important;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(230, 126, 34, 0.2);
}

.download-btn:hover {
    transform: translateY(-3px);
    background-color: #d35400;
    box-shadow: 0 12px 25px rgba(230, 126, 34, 0.3);
}

/* --- 入園の流れセクション（背景色で区切る） --- */
.admission-flow-section {
    background-color: #f5f0e6; /* 薄いベージュでコンテンツをまとめる */
    padding: 100px 0 120px;
    border-radius: 120px 120px 0 0; /* 上部に丸みをつけて柔らかく区切る */
}

.flow-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* 間隔を少し詰める */
    max-width: 850px;
    margin: 0 auto;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.02);
    position: relative;
    z-index: 2;
}

/* STEP同士を繋ぐ点線（PCのみ） */
@media screen and (min-width: 769px) {
    .flow-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 80px; /* step-labelの中央 */
        top: 100%;
        width: 2px;
        height: 40px; /* gap分 */
        background-image: linear-gradient(to bottom, #08A66C 50%, transparent 50%);
        background-size: 2px 10px;
    }
}

.step-label {
    flex: 0 0 80px;
    height: 80px;
    background-color: #08A66C;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}

.step-label .step-text { font-size: 10px; opacity: 0.9; }
.step-label .step-num { font-size: 24px; line-height: 1; }

.flow-content h3 {
    font-size: 22px;
    font-weight: 900;
    color: #4a3728;
    margin-bottom: 12px;
}

.flow-content p {
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

/* リンクとサブ情報 */
.tel-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #08A66C;
    text-decoration: none;
}

.arrow-link {
    display: inline-block;
    margin-top: 10px;
    color: #08A66C;
    font-weight: 900;
    text-decoration: none;
    border-bottom: 2px solid #08A66C;
}

.flow-sub-info {
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #fcfaf5;
    border-radius: 12px;
    border-left: 5px solid #08A66C;
}

.sub-title {
    display: block;
    font-size: 14px;
    color: #08A66C;
    font-weight: 900;
    margin-bottom: 3px;
}



/* ============================================================
   スマホ・タブレット用：レスポンシブ最適化
   ============================================================ */
@media screen and (max-width: 768px) {

    .admission-page {
        padding-top: 120px; /* ヘッダーの高さを考慮 */
    }

    .container {
        padding: 0 20px;
    }

    /* タイトルサイズ調整 */
    .section-title .title-inner {
        font-size: 20px;
        gap: 15px;
    }
    .section-title .title-inner::before,
    .section-title .title-inner::after {
        height: 24px;
        width: 5px;
    }

    /* 1. 資料ダウンロードエリア */
    .admission-hero-section {
        padding-bottom: 60px;
    }

    .download-box {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .download-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .download-btn {
        width: 100%; /* スマホでは横幅いっぱいで押しやすく */
        padding: 15px 20px;
        font-size: 16px;
        justify-content: center;
    }

    /* 2. 入園の流れセクション */
    .admission-flow-section {
        padding: 60px 0 80px;
        border-radius: 60px 60px 0 0; /* 角丸をスマホサイズに調整 */
    }

    .flow-list {
        gap: 30px;
    }

    .flow-item {
        flex-direction: column; /* 縦並びにして幅を確保 */
        align-items: center;
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
    }

    /* ステップ同士を繋ぐ点線（スマホ用中央配置） */
    .flow-item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        width: 2px;
        height: 30px; /* flow-listのgap分 */
        background-image: linear-gradient(to bottom, #08A66C 50%, transparent 50%);
        background-size: 2px 8px;
        z-index: 1;
    }

    .step-label {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
    }

    .step-label .step-num {
        font-size: 20px;
    }

    .flow-content h3 {
        font-size: 19px;
    }

    .flow-content p {
        font-size: 14px;
        line-height: 1.6;
        text-align: left; /* 本文は読みやすさ重視で左揃え */
    }

    /* リンク・サブ情報 */
    .tel-link {
        font-size: 20px;
        margin-top: 15px;
    }

    .flow-sub-info {
        text-align: left;
        padding: 15px;
    }

    .sub-title {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .download-text br {
        display: none; /* 改行を解除して詰まりを防ぐ */
    }
    
    .step-label {
        flex: 0 0 55px;
        width: 55px;
        height: 55px;
    }
}