@charset "UTF-8";
/* CSS Document */

@import "common.css";

/* EDUCATION */

.contents-header {
    background: url("../education/images/header-img.jpg") center/cover no-repeat;
    height: 280px;
}
#contents {
    background-color: var(--sub-color);
}
#contents p {
    line-height: 1.8;
}
.lead {
    width: 86%;
    max-width: 1000px;
    margin: auto;
    padding-bottom: 60px;
}
.toggle {
    display: none;
}
section {
    position: relative;
    margin-bottom: 40px;
    width: 86%;
    max-width: 1000px;
    margin: 0 auto 60px;
}
h4 {
    font-size: 2.6rem;
    font-family: 'Kiwi Maru', serif;
    font-weight: 400;
}
.en-sup {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}
.title,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
.title {
    background-color: #ECF9DB;
    border-radius: 10px;
    padding: 20px 20px;
    color: #307D3E;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}
.title::before {
    content:url("../education/images/icon01.svg");
    position: absolute;
    left: 40px;
    width: 60px;
}
.title::after {
    content:url("../education/images/arrow.svg");
    position: absolute;
    right: 30px;
    width: 8px;
    height: 14px;
    transition: all 0.3s;
    transform: rotate(90deg);
    filter: invert(39%) sepia(30%) saturate(888%) hue-rotate(79deg) brightness(95%) contrast(90%);
}
#school-pg .title {
    background-color: #E4EEFB;
    color: #083392;
}
#school-pg .title::before {
    content:url("../education/images/icon02.svg");
}
#school-pg .title::after {
    filter: invert(16%) sepia(31%) saturate(7105%) hue-rotate(218deg) brightness(87%) contrast(101%);
}
#tools .title {
    background-color: #F8E8DC;
    color: #512600;
}
#tools .title::before {
    content:url("../education/images/icon03.svg");
}
#tools .title::after {
    filter: invert(17%) sepia(18%) saturate(4986%) hue-rotate(12deg) brightness(97%) contrast(106%);
}
.content {
    max-height: 0;
    overflow: hidden;
}
.content p {
    margin: 0;
    line-height: 1.8;
    font-size: 1.4rem;
    margin-bottom: 30px;
}
.toggle + .title + .content {
    max-height: 0;
    transition: all 1.0s;
}
.toggle:checked + .title + .content {
    max-height: 10000px;
    transition: all 0.5s;
}
.toggle:checked + .title::after {
    transform: rotate(270deg) !important;
}
figure {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto 60px;
}
figure img {
    width: 40%;
}
figcaption {
    font-size: 1.2rem;
    line-height: 1.8;
    width: 52%;
}
h5 {
    font-size: 2.2rem;
    font-family: 'Kiwi Maru', serif;
    font-weight: 400;
    color: #307D3E;
    margin-bottom: 30px;
    line-height: 1;
}
.number {
    font-size: 2.6rem;
    position: relative;
    top: 3px;
}
#school-pg h5 {
    color: #083392;
    text-align: center;
    border-bottom: 5px solid #E4EEFB;
    display: block;
    width: 350px;
    margin: auto;
    padding-bottom: 5px;
}
#tools h5 {
    color: #512600;
    font-family: var(--gothic-font);
    font-size: 1.8rem;
}
#school-pg h6 {
    color: #083392;
    font-size: 1.8rem;
    font-weight: 500;
    margin: 60px 0 30px 0;
}
#tools h6 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.greyline {
    border: 3px solid var(--palegrey-color);
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 500;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}
dl {
    font-size: 1.4rem;
    text-align: left;
}
.target {
    display: inline-block;
    width: 12%;
    white-space: nowrap;
}
dd {
    width: 88%;
}
.content .supplement {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
#school-pg .content .supplement {
    color: #083392;
    text-align: left;
}
#btn-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px
}
#btn-area p {
    margin-bottom: 0;
}
.green-btn a {
    background-color: #307D3E;
    color: var(--sub-color);
    width: 280px;
}
.green-btn a::after {
    color: var(--sub-color);
    filter: none;
}
.btn-grey {
    width: 280px;
}
h7 {
    font-size: 1.6rem;
    font-weight: 500;
}
table {
    margin: 30px 0;
    border-top: 1px solid #CBCBCB;
}
th {
    background-color: #E4EEFB;
    padding: 20px 40px;
    width: 280px;
    vertical-align: middle;
    color: #093392;
    border-bottom: 1px solid #CBCBCB;
}
td {
    padding: 20px 0 20px 40px;
    vertical-align: middle;
    border-bottom: 1px solid #CBCBCB;
}
.content td p {
    margin-bottom: 0;
}
td .supplement {
    margin-top: 10px;
}
.pdf a {
    text-decoration: none;
    background: var(--palegrey-color);
    border-radius: 10px;
    padding: 25px 80px 25px 25px;
    display: block;
    width: 100%;
    font-weight: 700;
    position: relative;
    margin: 20px 0;
    text-align: left;
}
.pdf a:hover {
    opacity: 0.6;
}
.pdf a::after {
    content: "";
    background-image: url("../common/images/pdf-icon.svg");
    width: 40px;
    height: 44px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
}
#contents p.pdf-close {
    text-decoration: none;
    background: var(--palegrey-color);
    border-radius: 10px;
    padding: 25px 80px 25px 25px;
    display: block;
    width: 100%;
    font-weight: 700;
    position: relative;
    margin: 20px 0;
    text-align: left;
    opacity: 0.5;
}
#contents p.pdf-close a {
    pointer-events: none;
    text-decoration: none;
}
.pdf-close::after {
    content: "";
    background-image: url("../common/images/pdf-icon.svg");
    width: 40px;
    height: 44px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
}
.address-type {
    background-color: #093392;
    color: var(--sub-color);
    padding: 0 7px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 400;
    margin-right: 5px;
    width: 40px;
    display: inline-block;
    text-align: center;
}
address {
    font-weight: 500;
}
.tel {
    font-weight: 500;
    font-size: 1.6rem;
}
#tools .content {
    display: flex;
    justify-content: space-around;
}
#tools .content figure {
    display: block;
    width: 45%;
}
#tools .content figure img {
    width: 60%;
    margin-bottom: 20px;
}
#tools .content figcaption {
    width: 100%;
    text-align: left;
}
#tools .content p {
    margin-bottom: 20px;
}
#inq {
    background-color: var(--palegrey-color);
    padding: 40px 60px;
    margin: 0 auto;
    max-width: 1000px;
    width: 86%;
    line-height: 1.8;
    font-size: 1.4rem;
}
#inq h3 {
    margin: 0 0 30px 0;
    font-size: 1.6rem;
    text-align: left;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 20px;
    display: block;
    font-weight: 400;
}
#inq h4 {
    font-size: 1.4rem;
    padding-bottom: 20px;
    color: var(--main-color);
    margin: 40px 0 0;
}
#inq address .address {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 10px;
}
#inq p {
    font-size: 1.4rem;
}
#inq .tel {
    font-weight: 500;
    font-size: 1.6rem;
}
address img {
    vertical-align: middle;
}

@media screen and (max-width: 1200px) {
    
    #tools .content figure img {
        width: 90%;
    }
    .target {
        width: 18%;
    }
    dd {
        width: 82%;
    }
}
@media screen and (max-width: 767px) {
    
    #contents {
        padding-bottom: 0;
    }
    .contents-header h2 {
        margin-bottom: 0;
    }
    #contents h3 {
    }
    section {
        width: 100%;
        margin: 0 auto;
    }
    h4 {
        font-size: 2.0rem;
        position: relative;
        left: 90px;
    }
    .en-sup {
        font-size: 1.2rem;
        position: relative;
        left: -60px;
    }
    #school-pg .en-sup, #tools .en-sup {
        position: relative;
        top: 10px;
    }
    .title {
        border-radius: 0;
        padding: 20px 0px 20px 0;
        margin-bottom: 40px;
        text-align: left;
        height: 130px;
        justify-content: flex-start;
    }
    .title::before {
        content: "";
        background-image:url("../education/images/icon01.svg");
        background-size: contain;
        background-repeat: no-repeat;
        left: 30px;
        top: 30px;
        width: 45px;
        height: 40px;
    }
    #school-pg .title::before {
        content: "";
        background-image:url("../education/images/icon02.svg");
        height: 38px;
    }
    #tools .title::before {
        content: "";
        background-image:url("../education/images/icon03.svg");
        width: 34px;
        height: 41px;
    }
    .title::after {
        right: 20px;
    }
    .content {
        width: 86%;
        margin: auto;
    }
    figure {
        flex-direction: column;
        margin: 0 auto 40px;
    }
    figure img {
        width: 100%;
        margin-bottom: 20px;
    }
    figcaption {
        font-size: 1.2rem;
        width: 100%;
    }
    h5 {
        text-align: center;
    }
    #school-pg h5 {
        width: 100%;
    }
    #school-pg h6 {
        font-size: 1.8rem;
        margin: 60px 0 30px 0;
    }
    #school-pg h6.top-h6 {
        text-align: center;
        margin-top: 40px;
    }
    .content p.greyline {
        margin-bottom: 0;
    }
    #school-pg .supplement {
        margin-top: 10px;
    }
    #btn-area {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }
    #btn-area p {
        margin-bottom: 0;
    }
    .green-btn a {
        background-color: #307D3E;
        color: var(--sub-color);
        max-width: 330px;
    }
    .btn-grey {
        max-width: 330px;
    }
    h7 {
        font-size: 1.4rem;
    }
    table {
        margin-bottom: 0;
    }
    th {
        padding: 20px;
        width: 100%;
        display: block;
    }
    td {
        padding: 20px 0 30px 0;
        width: 100%;
        display: block;
    }
    .content td p {
        margin-bottom: 0;
    }
    td .supplement {
        margin-top: 10px;
    }
    td.noborder {
        border-bottom: none;
    }
    .tel {
        font-weight: 500;
        font-size: 1.6rem;
    }
    #tools .content {
        flex-direction: column;
    }
    #tools .content figure {
        display: block;
        width: 100%;
    }
    #tools .content figure img {
        width: 90%;
        margin-bottom: 20px;
    }
    #tools .content figcaption {
        width: 100%;
        text-align: left;
    }
    #tools .content p {
        margin-bottom: 20px;
    }
    #inq {
        padding: 40px 30px;
        max-width: 1000px;
        width: 100%;
    }
    #inq address .address {
        text-align: left;
    }
}

@media screen and (max-width: 280px) {
    
    h4 {
        font-size: 1.8rem;
        position: relative;
        left: 20px;
    }
    .en-sup {
        left: 0;
    }
    .title::before {
        display: none;
    }
}