/*
Theme Name: Kokoronomori
Description: 病児保育室 こころのもり オリジナルテーマ
Author: Web Engineer
Version: 1.0.10
*/

/* =========================================
   基本設定 (Base)
========================================= */
:root {
    --color-primary: #86C186; /* 森の優しいグリーン */
    --color-secondary: #FFF3B0; /* 木漏れ日のイエロー */
    --color-text: #5D4D43; /* 温かいブラウン（黒の代わりに） */
    --color-bg: #FAFCFA; /* 背景（わずかに緑がかった白） */
    --color-white: #FFFFFF;
    --color-accent: #FFA69E; /* アクセントの優しいピンク */
    --color-orange: #F26A00; /* 温かいオレンジ */
}

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション共通 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* =========================================
   ヘッダー (Header)
========================================= */
header {
    background-color: var(--color-white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.header-logo-img {
    height: 60px;
    width: auto;
    display: block;
    border-radius: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.global-nav {
    display: flex;
    align-items: center;
}

.global-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.global-nav a {
    color: var(--color-text);
    font-weight: 500;
}

.global-nav a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
}

/* 予約ボタン (Header) */
.btn-reserve {
    background-color: var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(242, 106, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-reserve:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-reserve-icon {
    display: flex;
    align-items: center;
}

.btn-reserve-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-reserve-main {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.btn-reserve-sub {
    background-color: var(--color-white);
    color: var(--color-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    line-height: 1;
    letter-spacing: 1px;
}

/* =========================================
   メインビジュアル (Hero)
========================================= */
.hero {
    background-color: var(--color-secondary);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.hero::before { content: '🍃'; position: absolute; top: 20px; left: 10%; font-size: 40px; opacity: 0.5; }
.hero::after { content: '☀️'; position: absolute; bottom: 30px; right: 15%; font-size: 50px; opacity: 0.5; }

.hero-copy {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-sub {
    font-size: 18px;
    margin-bottom: 40px;
}

.hero-image {
    max-width: 800px;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(134, 193, 134, 0.2);
    overflow: hidden;
    position: relative;
}

/* 修正：10枚用にアニメーション秒数を50秒に変更 */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: heroFade 50s infinite ease-in-out;
}

/* 修正：10枚が5秒間隔で切り替わるように設定 */
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }
.hero-slide:nth-child(6) { animation-delay: 25s; }
.hero-slide:nth-child(7) { animation-delay: 30s; }
.hero-slide:nth-child(8) { animation-delay: 35s; }
.hero-slide:nth-child(9) { animation-delay: 40s; }
.hero-slide:nth-child(10) { animation-delay: 45s; }

/* 修正：10枚用のアニメーション割合の再計算 */
@keyframes heroFade {
    0% { opacity: 0; transform: scale(1); }
    3% { opacity: 1; }
    10% { opacity: 1; }
    13% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.05); }
}

/* =========================================
   各セクション
========================================= */
.concept-bg { background-color: var(--color-bg); }
.concept-box { background-color: var(--color-white); padding: 50px; border-radius: 30px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); text-align: center; position: relative; }

.concept-icon { 
    position: absolute; 
    top: -40px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 80px; 
    height: auto; 
    border-radius: 0;
    animation: fuwaFloat 3.5s ease-in-out infinite; 
}
@keyframes fuwaFloat {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
    100% { transform: translateX(-50%) translateY(0); }
}

.concept-title { font-size: 24px; color: var(--color-primary); margin-bottom: 30px; }
.concept-text { text-align: left; margin-bottom: 30px; font-size: 16px; }
.concept-strong { color: var(--color-accent); font-weight: 700; }

/* 無限ループ スライドギャラリー */
.gallery-slider {
    margin-top: 60px;
    width: 100%;
    overflow: hidden;
    background-color: transparent;
    padding: 40px 0;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 30px;
    animation: scrollGallery 50s linear infinite;
    width: calc(450px * 16 + 30px * 16);
}

.gallery-track img {
    width: 450px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-track img:hover {
    transform: scale(1.02);
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-480px * 8)); }
}

/* 施設長プロフィール */
.director-wrap {
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
}
.director-img {
    flex-shrink: 0;
    width: 150px;
}
.director-img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}
.director-table-wrap {
    flex-grow: 1;
}
.director-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.director-table th, .director-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    text-align: left;
}
.director-table tr:last-child th, .director-table tr:last-child td {
    border-bottom: none;
}
.director-table th {
    width: 100px;
    font-weight: bold;
    color: var(--color-primary);
    background-color: #F4F9F4;
    white-space: nowrap;
}
.director-table td {
    color: var(--color-text);
    line-height: 1.8;
}
.director-role {
    font-size: 13px;
    font-weight: normal;
    color: var(--color-text);
}
.director-cert-list {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
    line-height: 1.6;
}

.rooms-wrap { display: flex; gap: 30px; justify-content: center; }
.room-card { background-color: var(--color-white); flex: 1; padding: 40px 30px; border-radius: 20px; text-align: center; border-top: 8px solid var(--color-primary); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.room-card.komorebi { border-top-color: var(--color-secondary); }
.room-icon { font-size: 50px; margin-bottom: 15px; }
.room-name { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: var(--color-text); }
.room-desc { font-size: 15px; text-align: left; }

.room-img-wrapper {
    margin-top: 25px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 100%;
    aspect-ratio: 4 / 3;
    line-height: 0;
}

.room-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
    display: block;
}

.image-note {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--color-white);
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 1;
}

.features-bg { background-color: #F4F9F4; border-radius: 40px; margin: 0 20px; }
.feature-intro { text-align: center; margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-item { background-color: var(--color-white); padding: 30px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.02); position: relative; }
.feature-number { position: absolute; top: -15px; left: -15px; background-color: var(--color-secondary); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 700; font-size: 20px; color: var(--color-text); }
.feature-title { font-size: 18px; color: var(--color-primary); margin-bottom: 15px; font-weight: 700; padding-left: 10px; }
.feature-text { font-size: 14px; }

/* =========================================
   ご利用案内・テーブル共通
========================================= */
.info-table { width: 100%; border-collapse: separate; border-spacing: 0; background-color: var(--color-white); border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 40px; }
.info-table th, .info-table td { padding: 20px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.info-table th { background-color: rgba(134, 193, 134, 0.1); width: 30%; font-weight: 500; color: var(--color-primary); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.price-list { background-color: #fafafa; padding: 15px; border-radius: 10px; margin-top: 10px; }
.price-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed #ccc; padding: 8px 0; }
.price-list li:last-child { border-bottom: none; }
.medical-care-badge { display: inline-block; background-color: var(--color-accent); color: var(--color-white); padding: 5px 15px; border-radius: 20px; font-size: 14px; margin-top: 10px; }

.btn-more-wrap { text-align: center; margin-top: 40px; }
.btn-more { display: inline-block; background-color: var(--color-primary); color: var(--color-white); padding: 15px 50px; border-radius: 30px; font-size: 18px; font-weight: bold; box-shadow: 0 5px 15px rgba(134, 193, 134, 0.3); transition: all 0.3s ease; }
.btn-more:hover { opacity: 0.8; color: var(--color-white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(134, 193, 134, 0.4); }

/* 下層ページ共通スタイル */
.page-header { background-color: var(--color-secondary); padding: 50px 20px; text-align: center; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; margin-bottom: 40px; }
.page-title { font-size: 32px; color: var(--color-primary); margin: 0; }

.azukaru-box { background-color: var(--color-white); border: 4px solid var(--color-orange); border-radius: 20px; padding: 50px; text-align: center; margin-bottom: 50px; box-shadow: 0 5px 15px rgba(242, 106, 0, 0.1); }
.azukaru-title { font-size: 22px; color: var(--color-orange); margin-bottom: 15px; }
.azukaru-text { font-size: 16px; margin-bottom: 30px; }

.btn-azukaru-large { display: inline-flex; align-items: center; justify-content: center; gap: 15px; background-color: var(--color-orange); color: var(--color-white); padding: 20px 40px; border-radius: 40px; font-size: 20px; font-weight: bold; box-shadow: 0 5px 15px rgba(242, 106, 0, 0.3); transition: all 0.3s ease; }
.btn-azukaru-large:hover { opacity: 0.9; color: var(--color-white); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(242, 106, 0, 0.4); }

/* =========================================
   TeOTe（テオテ） 3ステップ用スタイル
========================================= */
.azukaru-steps {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed #ddd;
    text-align: center;
}
.azukaru-logo {
    width: 75%;
    max-width: 225px;
    margin-bottom: 10px;
}
.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 40px;
    margin-bottom: 10px;
}
.step-desc {
    font-size: 16px;
    margin-bottom: 30px;
}
.step-banner {
    width: 50%;
    max-width: 350px;
    display: inline-block;
    margin-bottom: 20px;
}
.step-item {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
}
.step-title-text {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}
.step-item p {
    margin-bottom: 20px;
}
.step-btn-img {
    width: 50%;
    max-width: 300px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
}
.step-map-img {
    width: 50%;
    max-width: 300px;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================================
   お知らせ（News）一覧・詳細用スタイル
========================================= */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}
.cat-link {
    display: inline-block;
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}
.cat-link:hover,
.cat-link.is-active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.news-list-wrap {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-item {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #ddd;
    padding: 20px 0;
}
.news-item:last-child {
    border-bottom: none;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 220px;
    flex-shrink: 0;
}
.news-date {
    font-size: 16px;
    color: var(--color-text);
    font-weight: 500;
}
.news-cat {
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}
.news-title {
    font-size: 18px;
    margin: 0;
    flex-grow: 1;
}
.news-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}
.news-title a:hover {
    color: var(--color-primary);
}

.news-detail-wrap {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.news-detail-header {
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.news-detail-title {
    font-size: 28px;
    color: var(--color-primary);
    margin: 15px 0 0 0;
    line-height: 1.4;
}
.news-detail-content {
    font-size: 16px;
    line-height: 2;
}
.news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
}
.pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* =========================================
   フッター (Footer)
========================================= */
footer { background-color: var(--color-primary); color: var(--color-white); text-align: center; padding: 50px 20px 30px; margin-top: 80px; border-top-left-radius: 50px; border-top-right-radius: 50px; }

.footer-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 0;
}

.footer-address { font-size: 16px; margin-bottom: 20px; line-height: 1.6; }
.footer-tel { font-size: 22px; font-weight: 700; margin-bottom: 30px; }
.footer-tel a { color: var(--color-white); text-decoration: underline; }
.footer-tel a:hover { color: var(--color-secondary); text-decoration: none; }
.copyright { font-size: 14px; opacity: 0.8; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 20px; }

/* =========================================
   レスポンシブ (スマホ表示対応)
========================================= */
@media (max-width: 768px) {
    .header-logo-img { height: 40px; }
    
    .header-right { gap: 15px; }

    .btn-reserve { padding: 8px 10px; gap: 6px; }
    .btn-reserve-icon svg { width: 20px; height: 30px; }
    .btn-reserve-main { font-size: 13px; margin-bottom: 4px; }
    .btn-reserve-sub { font-size: 9px; padding: 2px 8px; }

    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 200;
        cursor: pointer;
        padding: 0;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-primary);
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 10px; }
    .menu-toggle span:nth-child(3) { top: 20px; }

    .menu-toggle.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(250, 252, 250, 0.98);
        z-index: 150;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .global-nav ul li a {
        font-size: 20px;
        font-weight: 700;
    }

    .hero-copy { font-size: 24px; }
    
    .rooms-wrap { flex-direction: column; }
    .info-table th, .info-table td { display: block; width: 100%; }
    .info-table th { border-bottom: none; padding-bottom: 5px; }
    section { padding: 50px 0; }
    .azukaru-box { padding: 20px; }
    .btn-azukaru-large { width: 100%; box-sizing: border-box; font-size: 16px; padding: 15px; }
    .azukaru-logo, .step-banner, .step-btn-img, .step-map-img { width: 80%; }
    
    .category-filter { gap: 10px; }
    .cat-link { font-size: 12px; padding: 6px 16px; }

    .news-list-wrap { padding: 20px; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-meta { width: 100%; }
    .news-title { font-size: 16px; }
    .news-detail-wrap { padding: 30px 20px; }
    .news-detail-title { font-size: 22px; }

    .director-wrap {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .director-img {
        width: 240px;
    }
    .director-img img {
        width: 240px;
        height: 240px;
    }
    .director-table th, .director-table td {
        display: block;
        width: 100%;
        padding: 10px 15px;
        box-sizing: border-box;
    }
    .director-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .director-cert-list {
        text-align: left;
        display: inline-block;
    }
    
    /* スマホ時のスライドギャラリー調整 */
    .gallery-track img {
        width: 280px; 
        height: 200px;
    }
    .gallery-track {
        width: calc(280px * 16 + 20px * 16);
        animation: scrollGalleryMobile 40s linear infinite;
    }
}

@keyframes scrollGalleryMobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 8)); }
}

/* =========================================
   スクロール連動 やさしいアニメーション
========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   画像拡大表示（ライトボックス）用スタイル
========================================= */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    display: block; 
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 35px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 10000;
}

.lightbox-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 45px;
    cursor: pointer;
    padding: 20px;
    z-index: 10000;
    transition: opacity 0.3s;
}
.lightbox-btn:hover {
    opacity: 0.6;
}
.lightbox-prev { left: 3%; }
.lightbox-next { right: 3%; }

@media (max-width: 768px) {
    .lightbox-btn { font-size: 30px; padding: 10px; }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; }
    .lightbox-close { top: 15px; right: 15px; font-size: 30px; }
}
/*
Theme Name: Kokoronomori
Description: 病児保育室 こころのもり オリジナルテーマ
Author: Web Engineer
Version: 1.0.11
*/

/* --- 既存のスタイルはそのまま --- */

/* =========================================
   ご利用案内（TeOTe）ページ専用スタイル
========================================= */
.teote-page-container {
    padding: 0 0 80px 0;
    background-color: #fff;
}

.teote-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページヘッダー */
.teote-header {
    background-color: #fdfaf0;
    text-align: center;
    padding: 60px 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 60px;
}
.teote-header h1 {
    color: #1e824c;
    font-size: 32px;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    font-weight: 700;
}
.teote-header p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

/* TeOTe導入枠 */
.teote-intro-box {
    border: 2px solid #f05a28;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
    background-color: #fff;
}
.teote-intro-text h2 {
    color: #f05a28;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.teote-intro-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}
.teote-intro-logo img {
    width: 160px;
    height: auto;
}

/* ステップ共通 */
.teote-step-row {
    display: flex;
    margin-bottom: 80px;
}
.teote-step-number {
    background-color: #1e824c;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}
.teote-step-content {
    flex: 1;
}
.teote-step-content h3 {
    color: #1e824c;
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.4;
}
.teote-red { color: #e60012; }

.teote-info-box {
    background-color: #eef9f0;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
}
.teote-info-box strong {
    color: #1e824c;
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}
.teote-info-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.teote-step-image {
    width: 320px;
    flex-shrink: 0;
    margin-left: 40px;
}
.teote-dummy-img {
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bbb;
    font-size: 14px;
    text-align: center;
}
.teote-dummy-phone {
    width: 180px;
    height: 360px;
    border-radius: 30px;
    border: 8px solid #333;
    margin: 0 auto;
}
.teote-dummy-illust {
    width: 100%;
    height: 200px;
    border-radius: 15px;
}

/* 予約確定枠 */
.teote-reservation-box {
    background-color: #fff9f5;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin: 60px 0;
}
.teote-reservation-box h3 {
    font-size: 20px;
    margin: 0 0 30px 0;
    font-weight: 700;
}
.teote-btn-reserve-large {
    display: inline-block;
    background-color: #f05a28;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(240, 90, 40, 0.3);
    transition: all 0.3s ease;
}
.teote-btn-reserve-large:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

/* 医師の意見書 */
.teote-doctor-note {
    background-color: #fff0f0;
    border-radius: 15px;
    padding: 25px 25px 25px 70px;
    position: relative;
}
.teote-note-icon {
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: #e60012;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
}
.teote-doctor-note h4 {
    color: #e60012;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
}
.teote-doctor-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.teote-doctor-note li {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .teote-header { padding: 40px 20px; }
    .teote-header h1 { font-size: 26px; }
    .teote-intro-box { flex-direction: column; text-align: center; }
    .teote-intro-logo { margin-top: 25px; }
    .teote-step-row { flex-direction: column; }
    .teote-step-number { margin: 0 auto 20px; }
    .teote-step-content { text-align: center; }
    .teote-step-image { margin: 30px auto 0; width: 100%; }
    .teote-btn-reserve-large { font-size: 18px; padding: 15px 30px; width: 100%; box-sizing: border-box; }
    .teote-doctor-note { padding: 25px 20px 25px 20px; text-align: center; }
    .teote-note-icon { position: static; margin: 0 auto 15px; }
}
/*
Theme Name: Kokoronomori
Description: 病児保育室 こころのもり オリジナルテーマ
Author: Web Engineer
Version: 1.0.12
*/

/* --- 既存のスタイル（1.0.11以前）はそのまま --- */

/* =========================================
   ご利用案内（TeOTe）ページ専用スタイル
========================================= */
.teote-page-container {
    padding: 0 0 80px 0;
    background-color: #fff;
}

.teote-content-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ページヘッダー */
.teote-header {
    background-color: #fdfaf0;
    text-align: center;
    padding: 60px 20px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 60px;
}
.teote-header h1 {
    color: #1e824c;
    font-size: 32px;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    font-weight: 700;
}
.teote-header p {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

/* TeOTe導入枠 */
.teote-intro-box {
    border: 2px solid #f05a28;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 70px;
    background-color: #fff;
}
.teote-intro-text h2 {
    color: #f05a28;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 700;
}
.teote-intro-text p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}
.teote-intro-logo img {
    width: 160px;
    height: auto;
}

/* ステップ共通 */
.teote-step-row {
    display: flex;
    margin-bottom: 80px;
    align-items: center; /* 縦方向を中央に */
}
.teote-step-number {
    background-color: #1e824c;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 30px;
}
.teote-step-content {
    flex: 1;
}
.teote-step-content h3 {
    color: #1e824c;
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.4;
}
.teote-red { color: #e60012; }

.teote-info-box {
    background-color: #eef9f0;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
}
.teote-info-box strong {
    color: #1e824c;
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}
.teote-info-box p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* 画像レイアウト調整 */
.teote-step-image {
    width: 320px;
    flex-shrink: 0;
    margin-left: 40px;
    text-align: center;
}

/* スマホ画面枠の調整 (218x442px画像用) */
.teote-phone-frame {
    display: inline-block;
    border: 6px solid #333; /* 枠を少し細くしてバランス調整 */
    border-radius: 24px;
    overflow: hidden;
    line-height: 0;
    background-color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.teote-guide-img {
    width: 218px;
    height: auto;
}

/* Step3イラストの調整 (444x239px画像用) */
.teote-illust-img {
    width: 100%;
    max-width: 444px;
    height: auto;
    border-radius: 15px;
}

/* 予約確定枠 */
.teote-reservation-box {
    background-color: #fff9f5;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin: 60px 0;
}
.teote-reservation-box h3 {
    font-size: 20px;
    margin: 0 0 30px 0;
    font-weight: 700;
}
.teote-btn-reserve-large {
    display: inline-block;
    background-color: #f05a28;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(240, 90, 40, 0.3);
    transition: all 0.3s ease;
}
.teote-btn-reserve-large:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: #fff;
}

/* 医師の意見書 */
.teote-doctor-note {
    background-color: #fff0f0;
    border-radius: 15px;
    padding: 25px 25px 25px 70px;
    position: relative;
}
.teote-note-icon {
    position: absolute;
    left: 25px;
    top: 25px;
    background-color: #e60012;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
}
.teote-doctor-note h4 {
    color: #e60012;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
}
.teote-doctor-note ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.teote-doctor-note li {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .teote-header { padding: 40px 20px; }
    .teote-header h1 { font-size: 26px; }
    .teote-intro-box { flex-direction: column; text-align: center; }
    .teote-intro-logo { margin-top: 25px; }
    .teote-step-row { flex-direction: column; }
    .teote-step-number { margin: 0 auto 20px; }
    .teote-step-content { text-align: center; }
    .teote-step-image { margin: 30px auto 0; width: 100%; }
    .teote-btn-reserve-large { font-size: 18px; padding: 15px 30px; width: 100%; box-sizing: border-box; }
    .teote-doctor-note { padding: 25px 20px 25px 20px; text-align: center; }
    .teote-note-icon { position: static; margin: 0 auto 15px; }
}