:root {
    --font-primary: "游明朝", "YuMincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    --font-second: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "MS Pゴシック", "MS PGothic", sans-serif;
}

#chintai-heiyo header,
#chintai-heiyo footer {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, Arial, Helvetica, Verdana, sans-serif;
}

#chintai-heiyo {
    font-family: var(--font-primary);
    background: #f2f2f2;
}

.kv-wrap {
    display: flex;
}

.kv-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url(../img/chintai-heiyo/mv-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    color: #ffffff;
    padding: 0 20px;
}

.kv-title {
    font-size: min(4vw, 45px);
}

.kv-heading {
    font-size: min(5vw, 63px);
    display: inline-flex;
    margin: 15px 0;
}

.kv-heading span {
    width: min(8vw, 90px);
    height: min(8vw, 90px);
    border: 1px solid white;
    margin-left: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.kv-heading span:first-child {
    margin-left: 0;
}

.kv-subtitle {
    font-size: min(2vw, 22px);
    font-family: "a-otf-ryumin-pr6n", serif;
    letter-spacing: 2px;
}

.kv-img {
    width: 50%;
}

.about {
    margin-top: min(9vw, 85px);
}

.m-title {
    font-size: min(3vw, 34px);
    color: #006663;
    text-align: center;
    margin-bottom: min(5vw, 50px);
    font-weight: 500;
    line-height: 1;
}

.m-title .en {
    display: block;
    text-align: center;
    font-size: 0.5882em;
    margin-bottom: min(2vw, 15px);
    color: #006663;
    font-weight: normal;
}

.m-desc {
    color: #333333;
    font-size: min(2vw, 19px);
    text-align: center;
    font-weight: 500;
}

.about-wrap {
    padding: 0 20px;
}

.about-outer {
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../img/chintai-heiyo/about-bg.jpg) no-repeat center center / cover;
    padding: min(12vw, 156px) 0 min(10vw, 120px);
    margin-top: min(9vw, 90px);
}

.about-inner .m-title--border {
    padding: 11px min(5vw, 50px);
}

.m-title--border {
    font-size: min(3vw, 33px);
    color: #ffffff;
    font-weight: 500;
    padding: 11px min(5vw, 32px);
    margin: 0 auto;
    text-align: center;
    border: 1px solid #fff;
    width: fit-content;
}

.about-inner {
    max-width: 1345px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.about-list {
    margin: min(6vw, 75px) auto 0;
    display: flex;
    justify-content: space-between;
}

.about-item {
    width: 23.3%;
    background: rgba(255, 255, 255, .9);
    border-radius: 10px;
    padding: min(2vw, 25px);
    box-shadow: 2px 2px 10px #000;
}

.about-item-img {
    margin-bottom: min(1.5vw, 20px);
}

.about-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-item-title {
    font-size: min(2vw, 22px);
    color: #006663;
    text-align: center;
    margin-bottom: min(1.5vw, 15px);
    font-weight: 500;
    line-height: 1.5;
}

.about-item-desc {
    color: #006663;
    font-size: 15px;
    font-weight: 300;
    font-family: var(--font-second);
}

.exp {
    padding: min(11vw, 130px) 0 min(13vw, 155px);
    background: #006663;
}

.exp-wrap {
    max-width: 1660px;
    margin: 0 auto;
}

.exp-heading {
    width: calc(100% - 40px);
    margin: 0 auto;
}

.exp-outer {
    display: flex;
    justify-content: flex-start;
    gap: min(4vw, 58px);
    max-width: 1540px;
    margin-top: min(7vw, 85px);
}

.exp-img {
    width: 57.369%;
}

.exp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-list {
    width: 38.487%;
    margin-right: 20px;
}

.exp-item:not(:last-child) {
    padding-bottom: min(5vw, 50px);
    margin-bottom: min(5vw, 45px);
    border-bottom: 1px solid #fff;
}

.exp-item-title {
    font-size: min(2.8vw, 31px);
    color: #ded6a6;
    font-weight: 500;
    line-height: 1;
}

.exp-item-title .en {
    font-weight: normal;
    display: block;
    margin-bottom: 10px;
    font-size: 0.451612em;
}

.exp-item-desc {
    font-size: 15px;
    margin-top: min(3vw, 30px);
    color: #fff;
    font-family: var(--font-second);
    font-weight: 300;
}

.exam {
    padding: min(13vw, 150px) 0;
    background-image: url(../img/chintai-heiyo/exam-bg.jpg);
    background-repeat: repeat;
}

.exam-wrap {
    width: calc(100% - 40px);
    margin: 0 auto;
    max-width: 1100px;
}

.exam-outer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.exam-content {
    width: 46%;
    color: #006663;
}

.exam .m-title--border {
    color: #006663;
    border: 1px solid #006663;
    padding: min(1vw, 10px) min(3vw, 32px);
    margin: 0 0 min(5vw, 50px) 0;
}

.exam-title {
    font-size: min(3vw, 31px);
    font-weight: 500;
    line-height: 1.5;
}

.exam-desc {
    font-size: 18px;
    margin: min(3vw, 30px) 0 min(5vw, 50px);
    font-weight: 500;
}

.exam-note {
    padding-top: 20px;
    border-top: 2px dotted #006663;
}

.exam-cap {
    font-size: 16px;
    margin-bottom: 5px;
    font-family: var(--font-second);
    font-weight: 400;
}

.exam img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exam-list-img {
    width: 50.3637%;
}

.exam-list-img figure:not(:last-child) {
    margin-bottom: 20px;
}

.contact {
    background: #006663;
    padding: min(7vw, 65px) 0 min(10vw, 100px);
}

.contact-wrap {
    width: calc(100% - 40px);
    max-width: 985px;
    margin: 0 auto;
}

.contact-title {
    color: #fff;
    font-size: min(3vw, 31px);
    text-align: center;
    line-height: 1;
    font-weight: 500;
}

.contact-title .en {
    font-size: 0.645161em;
    display: block;
    margin-bottom: min(3vw, 25px);
}

.contact-btn {
    margin-top: min(5vw, 50px);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: min(3vw, 30px);
}

.btn-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48.224%;
    max-width: 475px;
    padding: min(3vw, 23px) min(3vw, 30px) min(3vw, 23px) min(4vw, 55px);
    background: #fff;
    gap: min(3vw, 25px);
}

.btn-link.long {
    width: 100%;
    max-width: 100%;
}

.btn-link span {
    padding: min(1.8vw, 19px) min(3vw, 30px) min(1.8vw, 19px) 0;
    color: #006663;
    font-size: min(2vw, 25px);
    font-weight: 500;
    border-right: 2px solid #006663;
    line-height: 1;
}

.btn-link::after {
    content: "";
    display: block;
    background-image: url(../img/chintai-heiyo/arrow.svg);
    background-repeat: no-repeat;
    width: 40px;
    height: 24px;
    position: relative;
    transition: all .2s linear;
}

.btn-link:hover::after {
    transform: translateX(10px);
}

/*animate*/
.fade {
    opacity: 0;
    filter: blur(10px);
}

.fade_fadeIn {
    opacity: 1;
    transition: 0.5s ease-in-out;
    filter: blur(0px);
}

.zoom {
    transform: scale(.8);
    opacity: 0;
}

.zoom_fadeIn {
    transform: scale(1);
    transition: .5s ease-out;
    opacity: 1;
}

@media screen and (max-width:750px) {
    .kv-wrap {
        flex-direction: column;
    }

    .kv-content {
        width: 100%;
        padding: 60px 20px;
    }

    .kv-img {
        width: 100%;
        order: -1;
    }

    .kv-title {
        font-size: min(8vw, 30px);
    }

    .kv-heading span {
        width: min(14vw, 80px);
        height: min(14vw, 80px);
    }

    .kv-heading {
        font-size: min(9vw, 50px);
    }

    .kv-subtitle {
        font-size: min(3.5vw, 18px);
        text-align: center;
    }

    .m-title {
        font-size: min(7vw, 24px);
    }

    .m-desc {
        font-size: min(3.22vw, 16px);
    }

    .m-title--border {
        font-size: min(4vw, 20px);
    }

    .about-list {
        flex-wrap: wrap;
        gap: 2%;
    }

    .about-item {
        width: 49%;
        padding: min(3vw, 15px);
        margin-bottom: 2%;
    }

    .about-item-title {
        font-size: min(3vw, 18px);
    }

    .about-item-desc {
        font-size: min(2.8vw, 14px);
    }

    .exp-outer {
        flex-direction: column;
        gap: 25px;
    }

    .exp-img {
        width: 100%;
    }

    .exp-list {
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .exp-item-title {
        font-size: min(5vw, 24px);
    }

    .exp-item-desc {
        font-size: min(3vw, 14px);
    }

    .exam-outer {
        flex-direction: column;
        gap: 20px;
    }

    .exam-content {
        width: 100%;
    }

    .exam-title {
        font-size: min(5vw, 25px);
    }

    .exam-desc {
        font-size: min(3vw, 16px);
    }

    .exam-cap {
        font-size: min(3vw, 16px);
    }

    .exam-list-img {
        width: 100%;
    }

    .contact-title {
        font-size: min(5vw, 20px);
    }

    .contact-btn {
        flex-direction: column;
        align-items: center;
    }

    .btn-link,
    .btn-link.long {
        width: 100%;
        max-width: 300px;
        justify-content: space-around;
    }

    .btn-link span {
        font-size: min(4.5vw, 16px);
    }

    .btn-link img {
        width: 37px;
    }

    .btn-link::after {
        width: 26px;
        height: 16px;
    }
}