@charset "utf-8";
/*--京junior_high_school.css--*/
/* ##########PC########## */
/*学校生活*/
.page_body .timetable table{
}

    .page_body .timetable table th,
    .page_body .timetable table td{
        border: 1px solid rgba(255,255,255,0) !important;
        border-bottom-color: rgba(0,0,0,0.1) !important;
    }

    .page_body .timetable table th{
        width: 8em !important;
        text-align: center;
    }

    .page_body .timetable table td{
        width: auto !important;
    }

.wp-block-group.photos{
    margin-top: 2em;
}

.wp-block-group.photos .wp-block-group__inner-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

    .wp-block-group.photos .wp-block-group__inner-container figure{
        margin-bottom: 0;
    }

    .wp-block-group.photos .wp-block-group__inner-container figure figcaption{
        margin: 0;
        font-size: 0.9em;
    }

.club_list{
    display: flex;
    gap: 1em;
}

    .club_list dl{
        width: calc((100% - 2em) / 3);
        background: rgba(0, 103, 176, 0.05);
        padding: 1em;
        border-radius: 1rem 0.25rem 0.25rem 0.25rem;
    }

        .club_list dl dt{
            text-align: center;
            font-weight: 500;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            margin-bottom: 0.75em;
            color: var(--base_color2);
        }

    .club_list ul{
        margin: 0;
        padding: 0 0.5em;
    }

.koukun_mokuhyo{
    margin: 0 3em;
}

.koukun_mokuhyo dl{
    display: flex;
    align-items: center;
    font-family: var(--font_family2);
    margin-bottom: 0.8em;
}

    .koukun_mokuhyo dl dt{
        font-size: 1.1em;
        width: 10em;
    }

    .koukun_mokuhyo dl dd{
        font-size: 2em;
    }

.page_body .jugyojikan_week{
    width: 100%;
    text-align: center;
    border-top: none;
}

    .page_body .jugyojikan_week thead th{
        text-align: center !important;
        background: #666a69;
        color: #fff;
        padding-top: 0.1em;
        padding-bottom: 0.1em;
    }

    .page_body .jugyojikan_week thead tr:nth-child(1) th{
        font-family: var(--font_family2);
        font-size: 1.1em;
    }

    .page_body .jugyojikan_week tbody tr td{
        border-bottom-color: rgba(255,255,255,0) !important;
        background: none;
    }

    .page_body .jugyojikan_week tbody tr:nth-child(even){
        background: #f5f6f9;
    }

    .page_body .jugyojikan_week tbody tr td:nth-child(1){
        background: #0067b0;
        color: #fff;
        font-family: var(--font_family2);
        border-bottom-color: #ccc !important;
    }





.seifuku{
    display: flex;
    gap: 2em;
}

    .seifuku dl{
        width: calc((100% - 2em) / 2);
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .seifuku dl dd{
        border-radius: 0.5rem;
        overflow: hidden;
    }

.page_body .jhs_timetable > ul{
    display: flex;
    flex-wrap: wrap;
    gap: 4em 0;
    position: relative;
    padding-top: 2em;
    padding-bottom: 2em;
}

.page_body .jhs_timetable > ul::before{
    content: "";
    display: block;
    width: 0;
    height: calc(100% + 2rem);
    border-left: 4px dotted #aaa;
    position: absolute;
    top: 0;
    left: calc(50% - 2px);
}

    .page_body .jhs_timetable > ul > li{
        margin: 0;
        padding: 0;
        width: 50%;
    }

    .page_body .jhs_timetable > ul > li:nth-child(2n){
        transform: translateY(3em);
    }


    .page_body .jhs_timetable > ul > li::before{
        content: none;
    }

    .page_body .jhs_timetable > ul > li > dl{
    }

        .page_body .jhs_timetable > ul > li > dl > dt{
            color: var(--base_color2);
            font-weight: 600;
            font-size: 1.1em;
            margin-bottom: 0.7em;
            border-bottom: 2px dotted #aaa;
            padding: 0.2em 1.6em;
            position: relative;
            display: flex;
            gap: 1em;
        }

        .page_body .jhs_timetable > ul > li > dl > dt::after{
            content: "";
            display: inline-block;
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background: var(--base_color2);
            position: absolute;
            right: -0.5rem;
            bottom: -0.5rem;
        }

        .page_body .jhs_timetable > ul > li:nth-child(even) > dl > dt::after{
            left: -0.5rem;
            right: auto;
        }

        .page_body .jhs_timetable > ul > li > dl > dd{
            padding: 0 2.5em;
        }

        .page_body .jhs_timetable > ul > li > dl > dd p{
            margin-bottom: 0.5em;
        }

        .page_body .jhs_timetable > ul > li > dl > dd p:last-child{
            margin-bottom: 0;
        }

        .page_body .jhs_timetable > ul > li > dl > dd p:has(img){
            border-radius: 1rem;
            overflow: hidden;
        }
    
.page_body table.yearly_event{
    width: 100%;
    border-bottom: 2px solid #7f7f7f;
}

    .page_body table.yearly_event th{
        width: 5em;
        text-align: center;
    }

.itsutsunohashira{
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
}

.page_body .itsutsunohashira ol{
    margin: 0;
    padding: 1.5rem;
    background: rgba(0, 103, 176, 0.07);
}

.hashira .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page_body h4.hdg_hashira{
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}

.page_body h4.hdg_hashira::before{
    content: none;
}

.hashira .wp-block-group__inner-container ol{
    background: rgba(0, 103, 176, 0.07);
    padding: 1.5em 3em;
    font-family: var(--font_family2);
    font-size: 1.1em;
}

/*カリキュラムのテーブル*/
.curriculum_data_wrapper > .wp-block-group__inner-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1em 3em;
}

.curriculum_data_wrapper > .wp-block-group__inner-container .curriculum_data{
    flex: 1;
}

.curriculum_data_wrapper > .wp-block-group__inner-container table{
    text-align: center;
    border-top: none;    
}

    .curriculum_data_wrapper > .wp-block-group__inner-container table thead th{
        font-family: var(--font_family2);
        background: #666a69;
        color: #fff;
        padding-top: 0.1em;
        padding-bottom: 0.1em;
    }

    .curriculum_data_wrapper > .wp-block-group__inner-container table tbody tr:nth-child(even){
        background: #f5f6f9;
    }

    .curriculum_data_wrapper > .wp-block-group__inner-container table tbody tr td{
        border-bottom-color: rgba(255, 255, 255, 0) !important;
        background: none;
    }

    .curriculum_data_wrapper > .wp-block-group__inner-container table tbody tr td:nth-child(1){
        background: #0067b0;
        color: #fff;
        font-family: var(--font_family2);
        border-bottom-color: #ccc !important;
    }

    .curriculum_data_wrapper > .wp-block-group__inner-container table tbody tr:last-child td:nth-child(1){
        border-bottom: none !important;
    }

.jugyojikansu{
    width: 100%;
    table-layout: fixed;
}

.curriculum_data_wrapper > .wp-block-group__inner-container table.jugyojikansu tbody tr td,
.curriculum_data_wrapper > .wp-block-group__inner-container table.jikanwari tbody tr td{
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    line-height: 1.4;
}

.fig_hikaku_data{
    width: 22rem;
}


.curriculum_data_wrapper > .wp-block-group__inner-container .data_jikanwari{
    width: 100%;
    flex: initial;
}

.curriculum_data_wrapper > .wp-block-group__inner-container .data_jikanwari .jikanwari{
    width: 100%;
    table-layout: fixed;
}

.introduction_imgs{
    gap: 2em;
}

    .introduction_imgs figure{
        border-radius: 0.5rem;
        overflow: hidden;
    }

figure.seifuku{
    border-radius: 1rem;
    overflow: hidden;
}




/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px) {
    .koukun_mokuhyo{
        margin: 0 1em;
    }

    .koukun_mokuhyo dl dt{
        width: 9em;
    }

    .curriculum_data_wrapper > .wp-block-group__inner-container{
        flex-direction: column;
        gap: 0;
    }

    .introduction_imgs{
        gap: 1em;
    }

}

/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:575px) {
    .koukun_mokuhyo{
        margin: 0;
    }

    .koukun_mokuhyo dl{
        flex-direction: column;
    }

    .koukun_mokuhyo dl dt{
        width: auto;
    }

    .koukun_mokuhyo dl dd{
        font-size: 1.6em;
    }

    .page_body .jugyojikan_week thead th{
        padding-left: 0.3em;
        padding-right: 0.3em;
    }

    .page_body .jugyojikan_week tbody tr td{
        padding: 0.3em;
    }

    .page_body .jhs_timetable > ul{
        padding-top: 1em;
    }

    .page_body .jhs_timetable > ul::before{
        border-left-width: 3px;
    }

    .page_body .jhs_timetable > ul > li > dl > dt{
        padding-left: 1em;
        padding-right: 1em;
        flex-wrap: wrap;
        gap: 0 1em;
        line-height: 1.4;
    }


    .page_body .jhs_timetable > ul > li > dl > dd{
        padding: 0 1em;
    }

    .page_body .jhs_timetable > ul > li > dl > dd p:has(img){
        border-radius: 0.5rem;
    }

    .hashira .wp-block-group__inner-container ol{
        padding: 1.5em;
    }

    .seifuku{
        gap: 1em;
    }

    .seifuku dl {
        width: calc((100% - 1em) / 2);
    }


}


/* ##########印刷用########## */
@media print {}