@charset "UTF-8";
body.school a {
    color: initial;
    text-decoration: underline;
}
/* -----------------
 Page Title
----------------- */
.pagettl {
    background: url(../images/banner.webp) no-repeat 0 40%;
    background-size: cover;
    height: 300px;
    position: relative;
}
.pagettl .ttl {
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
    top: 50%;
    padding: 20px 40px;
    position: absolute;
    width: 100%;
    z-index: 2;
}
.pagettl .ttl h1 {
    color: #002d69;
    font-size: 37px;
    font-weight: bold;
    display: inline-block;
    padding: 0 15px; 
    text-transform: uppercase;
}
.pagettl .ttl h1 span {
    display: block;
    font-size: 20px;
    padding: 0 30px;
}

@media screen and (max-width: 750px) {
.pagettl {
    background: url(../images/banner.webp) no-repeat center;
   /*background: url(banner.webp) no-repeat center; */
    background-size: cover;
    height: 130px;
}
.pagettl .ttl h1 {
    color: #002d69;
    font-size: 20px;
}
.pagettl .ttl h1 span {
    font-size: 14px;
}
}

/* -----------------
List
----------------- */
body.school main {
    color: initial;
    font-size: min(1.69vw, 16px);
}

body.school main h2 {
    color: initial;
    font-size: 28px
}
.group_block {
    margin: auto;
    max-width: 1100px;
}

.group_wrap_in {
    padding: 0 50px 20px;
}

.group_wrap_in .toc_block {
    position: relative;
    padding: 30px 0 10px;
    z-index: 10;
}
.group_wrap_in .toc_block ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 030px;
}
.group_wrap_in .toc_block ul li {
    font-size: min(1.34vw, 22px);
    position: relative;
    margin: 0 10px 0 0;
    padding-left: 20px;
    position: relative;
}
.group_wrap_in .toc_block ul li::before {
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: transparent transparent transparent #df2143;
    border-width: 7px 0 7px 10px;
	content: "";
	left: 0;
	height: 0;
	position: absolute;
	top: 7px;
	width: 0;

}

body.school .group_block {
    margin: 80px auto;
    max-width: 1100px;
}
.group_wrap_in h2 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ddd;
}
.group_wrap_in h2::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #df2143;
    left: 0;
    bottom: -3px;
    width: 20%;
    transition: 0.3s;
}
.school_block {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.school_block a.school_box {
    align-items: start;
    display: grid;
    color: #000;
    gap: 0;
    grid-template-rows: subgrid;
    grid-row: span 5;
    padding-bottom: 10px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
}
.school_block .image {
    height: 180px;
}
.school_block .image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.school_block .image h3 {
    padding: 0;
    margin: 0;
}
.school_block .school_box:hover {
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
    transform: translateY(-4px);
}

.school_block .school_box h3 {
    margin: 10px;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #df2143;
}
.school_block .school_box p {
    padding: 5px 10px;
}
.school_block .school_box p span {
    display: block;
    font-weight: bold;
}
.school_block .school_box p.access {
    background: none;
}
.school_area_block [id] {
    padding-top: 60px;
    margin-top: -60px;
}

@media screen and (max-width: 480px) {
    body.school .group_block {
        margin: 40px auto 80px;
    }
    .school_area_block [id] {
        padding-top: 0;
        margin-top: 0;
    }
    .group_wrap_in {
        padding: 0 20px;
    }
    .school_block {
        display: block
    }
    body.school main h2 {
        font-size: 24px;
    }
    .school_block .school_box p {
        font-size: 16px;
    }
    
    .school_block .school_box {
        margin-bottom: 30px;
    }
}

.contact-logo {
    margin-bottom: 50px;
    text-align: center;
}

@media screen and (max-width: 750px) {
    body.school .nav-desc {
        color: initial;
        text-align: left;
    }
    body.school .nav-desc a {
        display: block;
    }
}

/* -----------------
 Menu
----------------- */
.nav-menu {
    background: #e02244;
        /*background: #0537ba;*/
    padding: 10px 0;
}
.nav-menu a {
    text-decoration: underline;
}
body.school .nav-menu {
    background: #0537ba;
}
.nav-menu li a {
    color: #fff;
    font-size: 16px;
}
.hamburger {
    display: none;
}
@media screen and (max-width: 750px) {
    /*Over write */
    .nav {
        height: 60px;
    }
    .nav-head {
        justify-content: start;
    }
    .nav-desc {
        margin-left: 15px;
        width: 52vw;
    }

    /* Menu */
    .nav-menu {
        bottom: 0;
        display: none;
        height: 15vh;
        left: 0;
        opacity: 0;
        padding: 50px 1.5rem 0;
        position: fixed;
        right: 0;
        top: -15%;
        transform: translateY(100%);
        transition: ease .4s;
        width: 100vw;
    }
    .nav-menu.active {
        display: block;
        margin-top: 60px;
        opacity: 0.95;
        transform: translateY(100%);
        z-index: 10;
    }
    header ul {
        display: none
    }
    header .nav-menu.active ul {
        display: block;
    }


    .hamburger {
        border-color: transparent;
        display: block;

    display: none;
        height: 60px;
        padding: 0 18px;
        position: absolute;
        right: 0;
        top: 5px;
        width: 60px;
        z-index: 555;
    }
    body.school .hamburger {
        top: 0;
    }
    .hamburger:hover {
        opacity: 1;
    }
    .hamburger span {
        height: 3px;
        background-color: #fff;
        position: relative;
        transition: ease .4s;
        display: block;
    }
    .hamburger span:nth-child(1) {
        top: 0px;
    }
    .hamburger span:nth-child(2) {
        margin: 5px 0;
    }
    .hamburger span:nth-child(3) {
        top: 0px;
    }
    .hamburger.active span:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        top: -9px;
        transform: rotate(-45deg);
    }

    body.school .hamburger span {
        background: #000;
        height: 2px;
    }
    body.school .nav-menu {
        background: #0537ba;
        padding: 10px 0;
    }
    body.school .nav-menu ul li  {
        padding-top: 30px;
    }
}
