/*
Theme Name: OGS
Description: OGS Template
Author: kashimura co.ltd..
*/


.in {
    /* width: 1200px; */
}

.mob {
    display: none;
}

/* ========= header ========= */
.is-hamburger-open .header_list {
    visibility: hidden;
    opacity: 0;
}

.hamb_menu_top {
    display: grid;
    grid-template-columns: auto minmax(auto, 300px);
}

.hamb_menu_list_wrapper {
    display: grid;
    grid-template-columns: auto auto;
}

.hamb_menu_fot {
    width: 100%;
    padding-top: 25px;
    margin-top: 60px;
    border-top: solid 1px #e5e5e5;
}

.hamb_menu_other_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    column-gap: 2em;
    row-gap: 5px;
}

.hamb_menu_list.main02 {
    display: flex;
    flex-direction: column;
    height: 300px;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 20px;
    margin-left: 30px;
}

.hamb_menu_list.main01 li:not(:first-child),
.hamb_menu_list .sub-menu>li:not(:first-child) {
    margin-top: 8px;
}

/* ========= TOP ========= */

/* ========= swiper ========= */
.topmv {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.22);
}

.swiper_nav .swiper-wrapper {
    display: grid;
    grid-auto-rows: 1fr;
}

/* swiper_card */
.swiper.swiper_card {
    padding: 50px 20px 70px;
}

.swiper_card .swiper-slide {
    padding: 3% 10px;
}

/* TOP NEWS */
.top_news_wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 5%;
}

.top_news_wrapper .heading_area {
    grid-row: 1;
    grid-column: 1
}

.top_news_wrapper .news_list {
    grid-row: 1/3;
    grid-column: 2
}

.top_news_wrapper .link_detail_wrapper {
    grid-row: 2;
    grid-column: 1
}

.card_wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, 30%);
    justify-content: space-between;
}

.global_content .card_wrapper {
    grid-template-columns: repeat(5, 1fr);
}

.card_complex {
    grid-row: span 4;
    grid-template-rows: subgrid;
}

/* 固定ページ */
.obento_list li {
    float: left;
    margin-left: 5%;
    width: 30%;
}

.obento_list ul li:nth-child(3n+1) {
    margin-left: 0;
}

.obento_list ul::after {
    content: "";
    display: block;
    clear: both;
}

/* ========= バックナンバー ========= */
.backnumber_list_wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-direction: row-reverse;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.backnumber_list_main {
    width: 80%;
}

.backnumber_list_side {
    width: 17%;
}

.backnumber_list ul li {
    width: 23.1%;
    margin-left: 2.5%;
}

/* 最後のコンテンツを左寄せにする指定 */
.backnumber_list ul:before {
    content: "";
    display: block;
    width: 23.1%;
    /* .boxに指定したwidthと同じ幅を指定する */
    height: 0;
    order: 1;
    /* 疑似要素beforeの順番を必ず指定する*/
}

.backnumber_list ul:after {
    content: "";
    display: block;
    /* .boxに指定したwidthと同じ幅を指定する */
    width: 23.1%;
    height: 0;
}

.backnumber_list ul li:nth-child(4n + 1) {
    margin-left: 0;
}

.backnumber_list ul li:nth-child(4)~li {
    margin-top: 20px;
}

/* ========= 問合せフォーム ========= */
.form_table>table>tbody>tr>th {
    padding: 13px 10px;
}

.form_table>table>tbody>tr>td {
    padding: 10px;
}

.form_table>table>tbody>tr>th {
    width: 13em;
}
/* ========= 学校用品 ========= */

.youhin{
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.youhin:nth-child(2n + 1) .youhin_img{
	 -webkit-order: -1;
    order: -1;
}
.youhin .youhin_text{
	width: 55%;
}
.youhin .youhin_img{
	width: 40%;
}


