@charset "UTF-8";

/* ================ */
/* mobile */
/* ================ */

@media only screen and (max-width: 760px)
{

    .visible_m
    .visible_tm{
        display: block;
    }
    .visible_p,
    .visible_t,
    .visible_pt{
        display: none !important;
    }

    .col-2{ grid-template-columns: 1fr; }
    /* .col-3{ grid-template-columns: repeat(3, 1fr); } */
    .col-4{ grid-template-columns: repeat(2, 1fr); }
    /* .col-5{ grid-template-columns: repeat(5, 1fr); } */

    main.page .page-area
    {
        padding: 30px 10px 150px !important;
    }
    main.page .page-area .contents {
        padding: 25px 20px;
    }

    /* header */
    header .header-area h1 {
        /* width: 320px; */
        width: 270px;
        padding: 0 13px;
    }
    header h1 img.cloud {
        /* top: 0px; */
        top: -5px;
    }
    header h1 a {
        /* padding: 25px 5px; */
        padding: 20px 5px;
    }

    /* footer */
    .footer-menu .footer-bg-area .back {
        width: 50%;
    }
    .page_top-area {
        position: fixed;
        bottom: 5px;
        right: 5px;
        width: 50px;
        height: 50px;
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }
    #page_top {
        width: 45px;
        height: 45px;
    }
    .footer-menu .footer-nav {
        padding: 0 0 20px;
    }
    footer .link-submenu {
        grid-template-columns: repeat(2, 1fr);
    }
    footer .access {
        grid-template-columns: 1fr;
    }
    footer .access .info {
        width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 30px;
        gap: 20px;
    }
    footer .access iframe {
        border-radius: 0 0 20px 20px;
    }
    .footer-menu.hidden {
        display: block;
        animation: none;
    }
    .footer-menu.animation {
        animation: none;
    }
    .footer-menu ul {
        width: 96%;
        margin: 0 auto;
        align-items: center;
    }
    .footer-menu ul li {
        width: 33.3%;
        font-size: 0.8em;
        /* line-height: inherit; */
    }
    footer .tokai-link {
        grid-template-columns: 1fr;
    }

    /* top */
    #top .top-vi {
        padding: 10px;
    }
    #top .top-vi .text{
        bottom: 15px;
        width: 70%;
        height: auto;
        object-fit: contain;
        object-position: center;
        text-align: center;
        z-index: 1;
    }
    #top .top-slider .slide{
        height: 45vh;
    }
    #top .top-slider .slick-prev,
    #top .top-slider .slick-next {
        width: 20px;
        height: 20px;
        top: 60%;
        transform: translate(0, -50%);
    }
    #top .top-slider .slick-prev:before,
    #top .top-slider .slick-next:before {
        width: 20px;
        height: 20px;
    }
    #top .top-slider .slick-next {
        right: 5px;
    }
    #top .top-slider .slick-prev {
        left: 5px;
    }

    /* TOP-上部（お知らせ、ムービーチャンネル等） */
    #top .top-contents .ab-img.ab01 { display: none; }
    #top .top-contents .top_column {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    #top .top-contents .movie.relative{
        display: grid;
        justify-content: center;
    }
    #top .top-contents .movie.relative .cloud-header {
        top: 0;
        left: 0;
    }
    #top .top-contents .movie.relative .thumb {
        margin-bottom: 0;
        margin-top: 70px;
        max-width: max-content;
    }
    #top .top-contents .top_column .news ul.news-list {
        padding: 35px 15px 15px;
    }
    #top .top-contents .top_column .news ul.news-list .news-block {
        grid-template-columns: auto 100px;
        padding-left: 0;
    }
    #top .one-point {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* TOP-園について */
    #top .about .ab-img.ab01 { display: none; }
    #top .about ul.about-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 0;
    }
    #top .about ul.about-list li {
        background-color: #6CAE6F;
        padding: 20px;
        border-radius: 10px;
        position: inherit;
    }
    #top .about ul.about-list .img-trim {
        position: inherit;
        max-width: 300px;
        top: -150px;
        right: 0;
        left: 0;
        margin: 0 auto 20px;
    }
    #top .about ul.about-list .text {
        padding: 0;
        background: transparent;
    }
    #top .about ul.about-list li{
        display: block;
    }
    #top .about ul.about-list li p{
        margin-bottom: 0;
    }
    /* #top .one-point {
        width: 90%;
    } */
    #top .one-point a{
        /* grid-template-columns: 60px 1fr; */
        padding: 10px;
    }

    /* TOP-園の生活 */
    #top .life .ab-img.ab01 { display: none; }
    #top .life .ab-img.ab02 { display: none; }
    #top .life .ab-img.ab03 { display: none; }
    #top .life .ab-img.ab04 { display: none; }
    #top .life .ab-img.ab05 { display: none; }
    #top .life ul {
        gap: 30px;
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    #top .life .img-trim.radius {
        height: 250px;
    }

    /* TOP-入園をお考えのみなさまへ */
    #top .enter {
        /* padding: 60px 0 0; */
    }
    #top .enter .ab-img.ab01 { display: none; }
    #top .enter .ab-img.ab02 { display: none; }
    #top .enter .ab-img.ab03 { display: none; }
    #top .enter ul.enter-list.top,
    #top .enter ul.enter-list.bottom {
        display: block;
        width: 100%;
        margin: auto 0 20px;
    }
    #top .enter ul.enter-list li:not(:last-child){
        margin-bottom: 20px;
    }
    #top .enter ul.enter-list li a{
        display: flex;
        align-items: center;
        justify-content: left;
        flex-direction: row;
        gap: 30px;
    }
    #top .enter ul.enter-list.top li a{
        flex-direction: row-reverse;
    }
    #top .enter ul.enter-list li .img img{
        width: 70px !important;
    }

    /* ムービーチャンネル */
    main #movie .col-1 .post-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* ================ */
    /* 固定ページ        */
    /* ================ */
    /* 建学の精神 */
    #education .spirit .bottom{
        grid-template-columns: 1fr;
    }

    /* 本園の特色 */
    #feature .features {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 10px;
        justify-content: center;
    }
    #feature .feature-row.nth-2n {
        flex-direction: unset;
        justify-content: unset;
    }
    #feature .feature-row {
        flex-direction: column !important;
    }
    #feature .feature-row .feature-item-content {
        text-align: center;
        padding: 13px 5px 0 5px;
    }
    #feature .feature-row p.feature-item-text{
        text-align: left;
    }
    #feature h5.feature-item-title {
        width: fit-content;
        margin: 0 auto 10px;
    }
    #feature .feature-row .img-container {
        margin: 0 auto;
        min-width: unset;
        width: 100%;
    }

    /* 学校評価 */
    #hyouka .accordion-header {
        padding: 12px 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    #hyouka .survey-title {
        font-size: 16px;
        line-height: 1.3;
        flex: 1;
        margin-bottom: 0;
    }
    #hyouka .accordion-icon {
        font-size: 14px;
        flex-shrink: 0;
    }
    #hyouka .survey-table {
        font-size: 14px;
        margin: 10px 0;
        min-width: 600px;
        width: 100%;
    }
    #hyouka .survey-table th,
    #hyouka .survey-table td {
        padding: 10px 8px;
        white-space: nowrap;
    }
    #hyouka .survey-table th:nth-child(2),
    #hyouka .survey-table td:nth-child(2) {
        white-space: normal;
        min-width: 200px;
        max-width: 250px;
    }
    #hyouka .accordion-content {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #hyouka .survey-scale ul {
        flex-direction: column;
        gap: 10px;
    }
    #hyouka .survey-scale ul li{
        margin: 0;
    }

    /* お問い合わせ */
    .contact .page-title-area {
        height: 120px;
        margin: 16px 10px;
        border-radius: 30px;
        height: 180px;
    }
    .contact .page-title {
        font-size: 26px;
    }
    .contact main.page .page-area {
        padding: 0;
    }
    .contact main.page .page-area .contents {
        padding: 15px 10px;
        margin: 0 10px;
    }
    .contact .contact-container {
        padding: 15px 0;
    }
    .contact .contact-section h2 {
        font-size: 20px;
        font-weight: bold;
    }
    .contact .phone-contact {
        padding: 15px;
    }
    .contact .phone-number a {
        font-size: 22px;
    }
    .contact .contact-intro {
        margin-bottom: 20px;
    }
    .contact .contact-form {
        padding: 15px;
    }
    .contact .form-group {
        margin-bottom: 15px;
    }
    .contact .form-group input[type="text"],
    .contact .form-group input[type="email"],
    .contact .form-group input[type="tel"],
    .contact .form-group select,
    .contact .form-group textarea {
        padding: 8px;
        font-size: 14px;
    }
    .contact .radio-group {
        flex-direction: column;
        gap: 8px;
    }
    .contact .privacy-box {
        padding: 12px;
    }
    .contact .privacy-content {
        height: 120px;
    }
    .contact .form-submit {
        margin-top: 25px;
    }
    .contact .form-submit button {
        padding: 10px 25px;
        font-size: 15px;
        width: 100%;
    }
    .contact .response-content {
        padding: 15px;
    }
    .contact .response-content h3 {
        font-size: 18px;
    }

    .nav-mobile {
        display: flex;
    }

    #sitemap .col-4{
        grid-template-columns: 1fr;
    }

    #resolution .box .step-area{
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 600px)
{
    .events-semester .events-month-list {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-bottom: 20px;
    }
    footer .tokai-link .list{
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 480px) {
    .nav-mobile .nav-item-circle {
    padding-left: 7px !important;
    padding-right: 7px !important;
    }
    .nav-mobile .nav-item-img {
    height: 24px;
    }
    .nav-mobile .nav-item-title {
    font-size: 14px;
    }

    /* 学校評価  */
    #hyouka .accordion-header {
        padding: 10px 12px;
    }
    #hyouka .survey-title {
        font-size: 14px;
        line-height: 1.2;
    }
    #hyouka .accordion-icon {
        font-size: 12px;
    }
    #hyouka .survey-table {
        min-width: 550px;
        font-size: 13px;
    }
    #hyouka .survey-table th,
    #hyouka .survey-table td {
        padding: 8px 6px;
    }
    #hyouka .survey-table th:nth-child(2),
    #hyouka .survey-table td:nth-child(2) {
        min-width: 180px;
        max-width: 220px;
    }
}
