@charset "UTF-8";

/* =========================================
   子ども弁当ページ用CSS
========================================= */

/* アニメーションの追加 */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 1. 全体レイアウト */
.bento-section,
.bento-section * {
    box-sizing: border-box;
}

.bento-section {
    padding: 0 20px 80px;
    margin-top: -40px;
}

.bento-section .section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. タイトル装飾 */
.bento-section .page-header {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
}

.bento-section .page-title {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 0 0 15px;
    border-bottom: 2px solid #F7D070;
    color: #84D2E5;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.bento-section .page-desc {
    margin: 0 0 60px;
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.bento-section .sub-title {
    margin: 0 0 40px;
    color: #84D2E5;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-align: center;
}

/* 3. コンテンツブロック共通 */
.bento-block { 
    margin-bottom: 80px; 
}
.bento-block:last-child { 
    margin-bottom: 0; 
}

/* =========================================
   各セクションのデザイン
========================================= */

/* ▼ みかじり・学習支援と同じ概要エリア ▼ */
.bento-intro {
    margin-bottom: 80px; /* ここが説明文の下の余白（80px）です */
    display: block;
}
.intro-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin: 0;
}

/* 箇条書き（概要）のボックス */
.info-box {
    background: #fdfdfd;
    padding: 35px 40px;
    border-radius: 12px;
    border-left: 6px solid #84D2E5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-box li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}
.info-box li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.info-box strong {
    display: inline-block;
    width: 80px;
    color: #84D2E5;
}

/* 利用の流れ (3ステップ) */
.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}
.step {
    flex: 1;
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: relative;
    border: 1px solid #eee;
}
.step-num {
    background: #84D2E5;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 15px;
}
.step h4 {
    color: #333;
    font-size: 1.15rem;
    margin-bottom: 15px;
}
.step p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* 注意事項ボックス */
.notice-box {
    background: #fff5f5;
    border: 1px solid #ffcccc;
    padding: 30px;
    border-radius: 12px;
}
.notice-box h4 {
    color: #e74c3c;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.notice-box ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
}
.notice-box li {
    margin-bottom: 8px;
}

/* 店舗一覧グリッド */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}
.store-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #84D2E5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    font-weight: bold;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.4;
}
.store-card span {
    display: block;
    font-size: 0.85rem;
    color: #777;
    font-weight: normal;
    margin-top: 8px;
}

/* 支援・寄付のお願い */
.support-content {
    text-align: center;
    background: #fdfaf0;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #F7D070;
}
.support-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}
.support-content strong {
    color: #e67e22;
    font-size: 1.2rem;
}

/* =========================================
   チラシ画像ギャラリー・PDFダウンロード
========================================= */
.article-pdf-box {
    background-color: #f2fafd;
    border: 1px solid #84D2E5;
    padding: 35px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.article-pdf-box p {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
}

.flyer-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 35px;
}
.flyer-link {
    position: relative;
    display: block;
    flex: 1;
    max-width: 420px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}
.flyer-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(132, 210, 229, 0.95);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.flyer-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(132, 210, 229, 0.3);
    border-color: #84D2E5;
}
.flyer-link:hover img {
    opacity: 0.8;
}
.flyer-link:hover .zoom-icon {
    opacity: 1;
}

.btn-pdf {
    display: inline-block; 
    background: #F7D070; 
    color: #333; 
    padding: 15px 40px;
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(247, 208, 112, 0.4);
    transition: all 0.3s ease;
}
.btn-pdf:hover {
    transform: translateY(-2px);
    background-color: #e6be5c;
    box-shadow: 0 6px 15px rgba(247, 208, 112, 0.5);
}

/* =========================================
   お問い合わせ（CTA）ブロック
========================================= */
.cta-block {
    text-align: center;
    background: #fdfdfd;
    padding: 60px 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.cta-block p {
    font-size: 1.1rem; 
    line-height: 1.6; 
    color: #333; 
    margin-bottom: 40px;
}
.btn-wrap {
    display: flex;
    justify-content: center;
}
.btn-cta {
    display: inline-block; 
    background-color: #84D2E5; 
    color: #fff;
    text-decoration: none; 
    padding: 20px 80px; 
    font-size: 1.15rem;
    font-weight: bold; 
    border-radius: 50px; 
    transition: all 0.3s ease;
    letter-spacing: 0.1em; 
    box-shadow: 0 6px 15px rgba(132, 210, 229, 0.3);
}
.btn-cta:hover {
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(132, 210, 229, 0.4); 
    background-color: #72c1d4; 
}

/* =========================================
   レスポンシブ（スマホ対応）
========================================= */
@media screen and (max-width: 768px) {
    .bento-section {
        padding: 0 16px 60px;
        margin-top: -20px;
    }

    .bento-section .page-title {
        font-size: 2rem;
    }

    .bento-section .page-desc {
        margin-bottom: 40px;
        font-size: 1rem;
    }
    .sp-only { display: block; }
    .pc-only { display: none; }
    
    .bento-intro { margin-bottom: 60px; }
    .intro-content { padding: 25px 20px; }
    
    .flow-steps { flex-direction: column; }
    .step { margin-bottom: 10px; }
    
    .store-grid { grid-template-columns: 1fr; }
    
    .flyer-gallery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .flyer-link {
        width: 100%;
        max-width: 100%;
    }
    .article-pdf-box { padding: 25px 15px; }
    .btn-pdf { width: 100%; box-sizing: border-box; padding: 15px 20px; }
    
    .cta-block { padding: 40px 20px; }
    .btn-cta { padding: 15px 40px; font-size: 1rem; width: 100%; box-sizing: border-box; }
}

@media screen and (max-width: 480px) {
    .bento-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .bento-section .page-title {
        font-size: 1.8rem;
    }
}
    .store-note {
    text-align: center;
    margin-bottom: 30px;
}