*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Hiragino Sans","Yu Gothic",sans-serif;
    color:#333;
    background:#faf8f3;
    line-height:1.8;
    overflow-wrap:break-word;
}

html{
    scroll-behavior:smooth;
}

img,
video,
iframe{
    max-width:100%;
}

header{
    background:white;
    padding:15px 8%;
    border-bottom:1px solid #ddd;
}

.top-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
}

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

.logo-area-link{
    display:flex;
    align-items:center;
    color:inherit;
    text-decoration:none;
}

.logo-image{
    width:60px;
    height:60px;
    object-fit:contain;
    margin-right:12px;
}

.logo-text{
    font-size:24px;
    font-weight:bold;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    align-items:center;
}

nav a{
    margin-left:18px;
    text-decoration:none;
    color:#333;
}

nav a:hover,
nav a:focus-visible{
    color:#2f6417;
}

.hero{
    position:relative;
    height:auto;
    padding:56px 8%;
    background-image:
        linear-gradient(
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.35)
        ),
        url("images/1-1-hero-bg.jpg");
    background-size:cover;
    background-position:center bottom;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

.hero-content{
    max-width:900px;
    padding:12px 20px;
}

.hero h1{
    font-size:52px;
    margin-bottom:18px;
    line-height:1.3;
}

.hero p{
    font-size:24px;
    margin-bottom:0;
    line-break:strict;
}

.button{
    display:inline-block;
    padding:15px 30px;
    background:#3f7d20;
    color:white;
    text-decoration:none;
    border-radius:8px;
    margin:6px;
    font-size:18px;
}

.button-secondary{
    background:white;
    color:#333;
}

.button:hover{
    background:#2f6417;
}

.button-secondary:hover{
    background:#f4f4f4;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline:4px solid rgba(217,164,65,0.45);
    outline-offset:3px;
}

section{
    padding:70px 8%;
    background:white;
    margin-bottom:12px;
}

h2{
    text-align:center;
    font-size:32px;
    margin-bottom:18px;
}

.section-lead{
    max-width:760px;
    margin:0 auto 32px;
    text-align:center;
    color:#555;
    font-size:18px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.card{
    background:#fafafa;
    border:1px solid #ddd;
    border-radius:12px;
    overflow:hidden;
}

.highlight{
    border:3px solid #d9a441;
}

.card-image{
    width:100%;
    height:220px;
    object-fit:cover;
    object-position:center 28%;
}

.card-image.is-showa{
    object-position:center 68%;
}

.card-image.is-ikiiki{
    object-position:center 42%;
}

.card-image.is-ongaku{
    object-position:center 48%;
}

.card-content{
    padding:24px;
}

.card h3{
    color:#3f7d20;
    margin-bottom:10px;
    line-height:1.45;
}

.card a{
    display:inline-block;
    margin-top:10px;
}

.card-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:center;
    margin-top:16px;
}

.card-actions a{
    margin-top:0;
}

.card-apply{
    display:inline-block;
    padding:10px 18px;
    border-radius:8px;
    background:#3f7d20;
    color:white;
    font-weight:bold;
    text-decoration:none;
}

.card-apply:hover{
    background:#2f6417;
}

.flyer-box{
    max-width:860px;
    margin:auto;
    background:#f6fbf2;
    padding:28px;
    border-radius:12px;
}

.flyer-box p{
    text-align:center;
}

.flyer-note{
    margin-top:16px;
    color:#555;
    font-size:16px;
}

.flyer-help{
    margin-top:8px;
    color:#777;
    font-size:14px;
}

.flyer-link{
    display:block;
    margin:18px auto 0;
    max-width:640px;
    padding:12px;
    background:white;
    border:1px solid #d5e0cf;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(0,0,0,0.06);
}

.flyer-image{
    display:block;
    width:100%;
    height:auto;
    object-fit:contain;
}

.lightbox{
    display:none;
    position:fixed;
    inset:0;
    z-index:1000;
    padding:16px;
    overflow:auto;
    background:rgba(20,20,20,0.88);
}

.lightbox.is-open{
    display:block;
}

.lightbox-inner{
    width:min(960px, 100%);
    margin:0 auto 24px;
}

.lightbox-image{
    display:block;
    width:100%;
    height:auto;
    background:white;
    border-radius:8px;
}

.lightbox-close{
    display:block;
    width:100%;
    min-height:52px;
    margin:0 0 14px;
    border:0;
    border-radius:8px;
    background:white;
    color:#222;
    font:inherit;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
}

.lightbox-close:last-child{
    margin:14px 0 0;
}

.media-stack{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
}

.activity-block{
    display:grid;
    align-content:start;
    gap:12px;
    padding:20px;
    background:#fafafa;
    border:1px solid #ddd;
    border-radius:16px;
}

.activity-block h3{
    font-size:20px;
    margin-bottom:0;
    color:#3f7d20;
    line-height:1.4;
}

.activity-lead{
    color:#555;
}

.media-label{
    margin-top:8px;
    font-size:16px;
    font-weight:bold;
}

.slider-track{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    gap:16px;
}

.slider-track:has(.slide:only-child){
    max-width:none;
    grid-template-columns:minmax(0,1fr);
}

.slide{
    background:white;
    border:1px solid #ddd;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(0,0,0,0.06);
}

.slide a{
    display:block;
    color:inherit;
    text-decoration:none;
    cursor:zoom-in;
}

.slide-media{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    object-position:center 28%;
    display:block;
    background:#000;
}

.slide-media.is-showa{
    object-position:center 68%;
}

.media-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:16/9;
    padding:24px;
    background:#2a2a2a;
    color:#f3f3f3;
    text-align:center;
    font-size:16px;
    line-height:1.7;
}

.slide-caption{
    padding:16px 18px 18px;
}

.slide-caption strong{
    display:block;
    font-size:16px;
    color:#3f7d20;
    margin-bottom:6px;
}

.slide-caption p{
    font-size:14px;
    color:#666;
    line-height:1.7;
}

.testimonials{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:18px;
}

.testimonial{
    background:white;
    border:1px solid #ddd;
    border-radius:14px;
    padding:24px;
}

.testimonial p{
    color:#444;
    margin-bottom:16px;
}

.testimonial cite{
    font-style:normal;
    font-size:14px;
    color:#666;
}

.detail-layout{
    max-width:860px;
    margin:auto;
}

.detail-layout h3{
    margin:28px 0 10px;
    color:#3f7d20;
    font-size:24px;
}

.detail-layout p,
.detail-layout li{
    font-size:18px;
}

.detail-layout ul{
    margin:0 0 8px 1.3em;
}

.detail-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.schedule-wrap{
    margin-top:18px;
    overflow-x:auto;
    border:1px solid #d5e0cf;
    border-radius:12px;
    background:#f6fbf2;
}

.schedule-table{
    width:100%;
    border-collapse:collapse;
    font-size:17px;
}

.schedule-table caption{
    padding:16px 16px 8px;
    caption-side:top;
    text-align:left;
    font-weight:bold;
    color:#2f6417;
}

.schedule-table th,
.schedule-table td{
    padding:12px 14px;
    text-align:left;
    border-top:1px solid #d8e2d2;
    vertical-align:top;
}

.schedule-table thead th{
    background:#e7f2e0;
    font-size:16px;
}

.schedule-table tbody th{
    width:4.5em;
    color:#2f6417;
    white-space:nowrap;
}

.schedule-group th{
    width:auto;
    background:#e7f2e0;
    font-size:18px;
}

.schedule-lead{
    margin:0 0 8px;
    font-size:20px;
    font-weight:bold;
    color:#2f6417;
}

.schedule-note{
    margin:0 0 16px;
    color:#555;
    font-size:16px;
}

.schedule-legend{
    margin:0 0 18px;
    color:#666;
    font-size:15px;
}

.schedule-class + .schedule-class{
    margin-top:16px;
}

.schedule-month{
    display:grid;
    grid-template-columns:5.5em minmax(0,1fr);
    gap:10px 14px;
    align-items:start;
    padding:12px 0;
    border-top:1px solid #d8e2d2;
}

.schedule-month:first-of-type{
    border-top:0;
    margin-top:12px;
}

.schedule-month strong{
    display:block;
    padding-top:6px;
    color:#2f6417;
    font-size:17px;
}

.schedule-dates{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
}

.schedule-dates li{
    display:inline-flex;
    min-width:3.2em;
    min-height:40px;
    padding:6px 10px;
    align-items:center;
    justify-content:center;
    border:1px solid #d5e0cf;
    border-radius:8px;
    background:white;
    font-size:17px;
    font-weight:bold;
}

.schedule-dates .is-off{
    background:#ececec;
    border-color:#c8c8c8;
    color:#555;
}

.schedule-dates .is-notice{
    color:#a23d2b;
    border-color:#d4b0a8;
}

.schedule-dates .is-carry{
    background:#fff6d6;
    border-color:#d9a441;
}

.classroom-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    margin:16px 0 8px;
}

.classroom-card,
.fee-box,
.content-panel,
.park-contact{
    padding:20px;
    border:1px solid #d5e0cf;
    border-radius:12px;
    background:#f6fbf2;
}

.classroom-card h4,
.fee-box h4,
.content-panel h4,
.park-contact h4{
    margin:0 0 10px;
    color:#3f7d20;
    font-size:20px;
}

.classroom-card p,
.fee-box p,
.content-panel p,
.park-contact p{
    margin-bottom:8px;
}

.fee-box{
    margin-top:18px;
}

.fee-list{
    display:grid;
    gap:14px;
    margin:12px 0 16px;
}

.fee-item strong{
    display:block;
    margin-bottom:6px;
}

.fee-item ul{
    margin:0 0 0 1.2em;
}

.fee-notes{
    display:grid;
    gap:10px;
    margin-top:8px;
    font-size:16px;
    color:#444;
}

.content-stack{
    display:grid;
    gap:16px;
    margin:16px 0 8px;
}

.park-contact .text-link{
    color:#2f6417;
    font-weight:bold;
}

.blog-filters{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 18px;
    margin:4px 0 18px;
    padding-bottom:12px;
    border-bottom:1px solid #d5e0cf;
}

.blog-filter{
    color:#222;
    font-size:16px;
    font-weight:bold;
    text-decoration:none;
    white-space:nowrap;
}

.blog-filter.is-active{
    color:#3f7d20;
    text-decoration:underline;
    text-underline-offset:5px;
}

.blog-filter-more{
    position:relative;
}

.blog-filter-more summary{
    color:#222;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    list-style:none;
}

.blog-filter-more summary::-webkit-details-marker{
    display:none;
}

.blog-filter-more summary::after{
    content:" ▾";
}

.blog-filter-more[open] summary::after{
    content:" ▴";
}

.blog-filter-menu{
    position:absolute;
    z-index:2;
    top:calc(100% + 8px);
    right:0;
    min-width:220px;
    padding:8px 0;
    border:1px solid #d5e0cf;
    border-radius:10px;
    background:#fff;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.blog-filter-menu .blog-filter{
    display:block;
    padding:10px 16px;
}

.blog-category{
    margin:0 0 8px;
    color:#3f7d20;
    font-size:15px;
    font-weight:bold;
}

.blog-category a{
    color:#3f7d20;
    font-weight:bold;
    text-decoration:none;
}

.blog-empty{
    margin:8px 0 0;
    color:#555;
}

.blog-list{
    display:grid;
    gap:18px;
    margin-top:8px;
}

a.blog-post{
    display:block;
    color:inherit;
    text-decoration:none;
}

.blog-post[hidden]{
    display:none;
}

a.blog-post:hover,
a.blog-post:focus-visible{
    border-color:#3f7d20;
}

.blog-post{
    padding:20px;
    border:1px solid #d5e0cf;
    border-radius:12px;
    background:#f6fbf2;
}

.blog-post h3{
    margin:0 0 12px;
    color:#3f7d20;
    font-size:22px;
    line-height:1.45;
}

.blog-media{
    display:block;
    width:100%;
    margin:0 0 14px;
    border-radius:10px;
    background:#fff;
}

.blog-post img.blog-media{
    width:auto;
    max-width:100%;
    max-height:480px;
}

.blog-post video.blog-media{
    background:#111;
}

.blog-meta{
    display:flex;
    flex-wrap:wrap;
    gap:4px 16px;
    margin-bottom:12px;
    color:#666;
    font-size:15px;
}

.blog-post p:last-child{
    margin-bottom:0;
}

.blog-more{
    margin-top:12px;
    color:#2f6417;
    font-weight:bold;
}

.blog-article .blog-media{
    width:100%;
    max-height:none;
    height:auto;
}

.blog-article video.blog-media{
    background:#111;
}

.blog-embed{
    display:block;
    width:100%;
    aspect-ratio:16/9;
    margin:0 0 14px;
    border:0;
    border-radius:10px;
    background:#111;
}

.blog-caption{
    margin-top:-4px;
    color:#555;
    font-size:16px;
}

.page-placeholder{
    max-width:760px;
    margin:0 auto;
    padding:24px;
    border:1px solid #ddd;
    border-radius:12px;
    background:#fafafa;
    text-align:center;
}

footer a{
    color:#fff;
}

.footer-nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 22px;
    margin-bottom:14px;
}

.direct-contact .text-link{
    color:#2f6417;
}

.info-box{
    max-width:800px;
    margin:auto;
    background:#f6fbf2;
    padding:30px;
    border-radius:12px;
}

.contact-section{
    background:#f6fbf2;
}

.contact-intro{
    max-width:760px;
    margin:0 auto 28px;
    text-align:center;
    font-size:18px;
}

.contact-form{
    max-width:800px;
    margin:auto;
    padding:34px;
    background:white;
    border:1px solid #d8e2d2;
    border-radius:14px;
    box-shadow:0 10px 28px rgba(45,86,27,0.08);
}

.form-field{
    margin-bottom:24px;
}

.form-field label,
.form-legend{
    display:block;
    margin-bottom:8px;
    font-size:18px;
    font-weight:bold;
}

.required{
    display:inline-block;
    margin-left:8px;
    padding:1px 8px;
    border-radius:999px;
    background:#a23d2b;
    color:white;
    font-size:13px;
    vertical-align:middle;
}

.optional{
    color:#666;
    font-size:14px;
    font-weight:normal;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    width:100%;
    min-height:54px;
    padding:12px 14px;
    border:2px solid #aeb9a9;
    border-radius:8px;
    background:white;
    color:#222;
    font:inherit;
    font-size:18px;
}

.contact-form textarea{
    min-height:150px;
    resize:vertical;
}

.form-help{
    margin-top:6px;
    color:#666;
    font-size:14px;
}

.contact-submit{
    width:100%;
    min-height:58px;
    border:0;
    border-radius:8px;
    background:#3f7d20;
    color:white;
    font:inherit;
    font-size:19px;
    font-weight:bold;
    cursor:pointer;
}

.contact-submit:hover{
    background:#2f6417;
}

.form-status{
    display:none;
    margin-top:18px;
    padding:16px;
    border-radius:8px;
    background:#eef7e8;
    color:#285814;
    font-weight:bold;
}

.form-status.is-visible{
    display:block;
}

.direct-contact{
    max-width:800px;
    margin:22px auto 0;
    text-align:center;
}

.access-section{
    background:white;
}

.access-box{
    max-width:800px;
    margin:auto;
    padding:30px;
    border:1px solid #ddd;
    border-radius:12px;
    text-align:center;
}

.map-placeholder{
    min-height:320px;
    margin-top:20px;
    overflow:hidden;
    border:1px solid #c8c8c8;
    border-radius:10px;
    background:#f7f7f4;
}

.map-placeholder iframe{
    display:block;
    width:100%;
    min-height:320px;
    border:0;
}

footer{
    background:#333;
    color:white;
    text-align:center;
    padding:30px;
}

@media(max-width:1100px){
    .hero h1{
        font-size:44px;
    }

    .card h3{
        font-size:20px;
    }
}

@media(max-width:900px){
    header{
        padding:12px 5%;
    }

    .top-nav{
        flex-direction:column;
        align-items:stretch;
    }

    nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        width:100%;
        margin-top:12px;
    }

    nav a{
        display:flex;
        min-height:48px;
        margin:0;
        padding:8px 10px;
        align-items:center;
        justify-content:center;
        border-radius:7px;
        background:#f2f6ef;
        text-align:center;
        font-size:15px;
        line-height:1.35;
    }

    .top-nav nav a.nav-wide{
        grid-column:1 / -1;
    }

    nav a:last-child{
        background:#e3efdc;
        font-weight:bold;
    }

    .cards{
        grid-template-columns:1fr;
        max-width:680px;
        margin-inline:auto;
    }

    .media-stack{
        grid-template-columns:1fr;
    }

    .testimonials{
        grid-template-columns:1fr;
    }

    .slider-track{
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:14px;
    }

    .hero{
        padding:44px 20px;
    }

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:20px;
    }

    section{
        padding:52px 6%;
    }

    .contact-form,
    .flyer-box,
    .activity-block{
        padding:24px 18px;
    }

    .detail-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .detail-actions .button{
        margin:0;
        text-align:center;
    }

    .schedule-table{
        font-size:16px;
    }

    .classroom-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){
    .logo-area,
    .logo-area-link{
        justify-content:center;
    }

    .logo-image{
        width:48px;
        height:48px;
        margin-right:9px;
    }

    .logo-text{
        font-size:20px;
    }

    .hero{
        padding:36px 16px;
        background-position:center bottom;
    }

    .hero-content{
        width:100%;
        padding:0;
    }

    .hero h1{
        font-size:26px;
        margin-bottom:12px;
    }

    .hero p{
        font-size:16px;
        line-height:1.65;
    }

    .button{
        display:block;
        width:100%;
        max-width:340px;
        min-height:54px;
        margin:10px auto;
        padding:11px 18px;
        text-align:center;
    }

    section{
        padding:42px 16px;
        margin-bottom:8px;
    }

    h2{
        font-size:27px;
        line-height:1.4;
        margin-bottom:16px;
    }

    .section-lead{
        margin-bottom:24px;
        text-align:left;
        font-size:16px;
    }

    .cards{
        gap:18px;
    }

    .card-image{
        height:190px;
    }

    .card-content,
    .testimonial,
    .info-box,
    .flyer-box,
    .activity-block{
        padding:20px;
    }

    .card-actions{
        display:grid;
        grid-template-columns:1fr;
    }

    .card-actions a{
        width:100%;
        min-height:48px;
        padding:9px 14px;
        border:1px solid #b9c6b3;
        border-radius:8px;
        text-align:center;
    }

    .card-actions .card-apply{
        border-color:#3f7d20;
    }

    .media-stack{
        gap:22px;
    }

    .activity-block h3{
        font-size:21px;
    }

    .slider-track{
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:12px;
    }

    .slide-caption{
        padding:14px 16px 16px;
    }

    .schedule-table,
    .schedule-table tbody,
    .schedule-table tbody tr,
    .schedule-table tbody th,
    .schedule-table tbody td{
        display:block;
        width:100%;
    }

    .schedule-table{
        font-size:16px;
    }

    .schedule-table thead{
        display:none;
    }

    .schedule-table caption{
        display:block;
        padding:16px 16px 4px;
    }

    .schedule-table tbody tr{
        padding:12px 16px 14px;
        border-top:1px solid #d8e2d2;
    }

    .schedule-table tbody th,
    .schedule-table tbody td{
        padding:2px 0;
        border:0;
    }

    .schedule-table tbody td::before{
        content:attr(data-label) "：";
        color:#666;
    }

    .schedule-group th{
        padding:12px 16px 4px;
        background:transparent;
        border:0;
    }

    .schedule-month{
        grid-template-columns:1fr;
        gap:6px;
    }

    .schedule-dates li{
        min-height:44px;
        font-size:18px;
    }

    .classroom-card,
    .fee-box,
    .content-panel,
    .park-contact{
        padding:18px 16px;
    }

    .contact-intro{
        margin-bottom:22px;
        text-align:left;
        font-size:16px;
    }

    .contact-intro br{
        display:none;
    }

    .contact-form{
        padding:22px 16px;
        border-radius:10px;
    }

    .form-field{
        margin-bottom:20px;
    }

    .form-field label,
    .form-legend{
        font-size:17px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea{
        font-size:16px;
    }

    .direct-contact{
        text-align:left;
    }

    .access-box{
        padding:20px 14px;
        text-align:left;
    }

    .map-placeholder,
    .map-placeholder iframe{
        min-height:260px;
    }

    footer{
        padding:24px 16px;
    }
}

@media(max-width:360px){
    nav{
        grid-template-columns:1fr;
    }

    nav a:last-child{
        grid-column:auto;
    }

    .hero h1{
        font-size:27px;
    }

    .slider-track{
        grid-template-columns:1fr;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }
}
