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



body {}

.outer,
.in {
    width: 93.75%;
}

.outer {
    margin: auto;
}

.pc {
    display: none;
}

h2 {
    font-size: calc(1.5rem + ((1vw - 3.2px) * 2.0089));
    min-height: 0vw;
}

h3 {
    font-size: calc(1.125rem + ((1vw - 3.2px) * 0.7722));
    min-height: 0vw;
}

/* ========= header ========= */
.header_list li:not(.button_mypage) {
    display: none;
}

.header_wrapper h1 {
    font-size: calc(0.875rem + ((1vw - 3.2px) * 0.4464));
    min-height: 0vw;
}

/* ハンバーガー内メニュー */
.hamb_menu_top {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    row-gap: 30px;
    text-align: center;
}

.hamb_contact_link_wrapper {
    width: 100%;
}

.hamb_contact_link {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hamb_menu_fot {
    margin-top: 5%;
}

.hamb_menu_list.main01,
.hamb_menu_other_list {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em 2em;
}

.hamb_menu_list.main02 {
    margin-top: 20px;
    text-align: left;
}

.hamb_menu_list.main02 a {
    margin-top: 5px;
}

/* ========= footer ========= */
.footer_logo img {
    width: 25vw;
    min-width: 120px;
}

/* ========= TOP ========= */
.global_content .in,
.top_content .in {
    padding: 10% 0 12%;
}

.hed_img,
.img_top_town_wrapper img {
    width: 100%;
    height: 21vw;
    height: calc(100vw* 0.1918240609421829);
    object-fit: cover;
    object-position: 60% 50%;
}

/* TOP NEWS */
.news_listbox .news_list,
.top_news_wrapper .news_list {
    margin-top: 35px;
    margin-bottom: 40px;
}

.global_content .card_wrapper {
    display: grid;
    grid-auto-rows: 1fr;
}

.card_complex {
    grid-template-rows: auto auto 1fr auto;
}

.card_complex .img_square {
}

.card_complex .img_square img {
    width: 100%;
    height: auto;
}

/* 各社サービス一覧 */
.top_content.service_content .in {
    padding: 10% 0 0;
}

.banner_list {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.home .global_content .card_wrapper {
    margin-bottom: 12%;
}

/* ========= swiper ========= */
.topmv {
    padding-bottom: 30px;
}

.swiper_for {
    width: 100%;
    max-height: 675px;
    aspect-ratio: 720/675;
}

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

.swiper_for .swiper-pagination {
    bottom: 0;
}

.swiper_for .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.swiper_for .swiper-pagination-bullet-active {
    background: #df8daf;
}

/* swiper_card */
.swiper_card .slide_title {
    font-size: calc(1rem + ((1vw - 3.2px) * 1.3393));
    min-height: 0vw;
}

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

.global_content .outer {
    width: 83%;
}

.card_title {
    font-size: calc(1rem + ((1vw - 3.2px) * 1.3393));
    min-height: 0vw;
}

.card_title_eng {
    font-size: calc(1.125rem + ((1vw - 3.2px) * 6.1776));
    min-height: 0vw;
}

@media (max-width: 320px) {
    .link_detail {
        font-size: calc(0.9375rem + ((1vw - 3.2px) * 0.8929));
        min-height: 0vw;
    }

    .banner_list {
        grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    }
}

/* 固定ページ */
.obento_list ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    flex-wrap: wrap;
}

.obento_list ul li {
    width: 42%;
    min-width: 180px;
    margin-bottom: 20px;
}

/* ========= バックナンバー ========= */
.backnumber_list ul {
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.backnumber_list ul li {
    width: 30%;
    min-width: 130px;
    margin: 10px 1%;
}

/* 最後のコンテンツを左寄せにする指定 */
.backnumber_list ul:after {
    content: "";
    display: block;
    /* .boxに指定したwidthと同じ幅を指定する */
    width: 30%;
    min-width: 130px;
    margin: 10px 1%;
    height: 0;
}

.backnumber_list_side {
    margin-bottom: 20px;
}

.backnumber_list_side ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.backnumber_list_side ul li {
    width: 30%;
}

.backnumber_list_side .current-menu-item a i {
    transform: rotate(90deg);
}

/* ========= 問合せフォーム ========= */
.form_table>table,
.form_table>table>tbody,
.form_table>table>tbody>tr,
.form_table>table>tbody>tr>th,
.form_table>table>tbody>tr>td ,
.birthday_table :is(table,tbody,td){
    display: block;
}

.form_table>table>tbody>tr {
    padding: 10px 0;
}
.birthday_table td {
    width: auto;
	padding: 0 !important;
}
.birthday_table tr{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 8em), 1fr));
	grid-gap: 0.5em;
}

/* ========= お知らせ詳細 ========= */
.content_nav ul li a {
    font-size: calc(1.375rem + ((1vw - 3.2px) * 1.8605));
}
/* ========= マイページ ========= */
.mypage_procedure li{
	flex-wrap:wrap;
}
.procedure_text{
	width:100%;
}
.mypage_procedure li:not(:last-child) .procedure_text::before{
	display:none;
}
/* ========= 学校用品 ========= */
.youhin_img{
	text-align:center;
}

