@charset "utf-8";

:root {
    --delay: 0s;
    --Roboto: 'Roboto', 'ZenKakuGothicNew', 'Noto Sans', 'メイリオ';
    --Mincho: 'ZenOldMincho', 'Noto Sans', 'メイリオ';
    --navy: #1F276F;
    --light-blue: #66C9ED;
    --line-color: #D2D3E2;
    --line-color2: #D6D8E5;
    --line-color3: #4C528C;
    --grade: radial-gradient(at 100% 100%, rgba(213, 255, 100, 1), rgba(49, 123, 155, 1) 41%, rgba(31, 39, 111, 1));
}

body {
    font-family: 'ZenKakuGothicNew', 'Noto Sans', 'メイリオ';
    color: var(--navy);

    /* &.noscroll {
        overflow: hidden;
    } */
}

.w112 {
    width: calc((1120 / 1366) * 100%);
    margin: auto;
}

@media (max-width:767px) {
    .w112 {
        width: calc((327 / 375) * 100%);
    }
}

/*animation*/
.animation {
    opacity: 0;
    translate: var(--offsetX, 0) var(--offsetY, 0);
}

@media (max-width:767px) {
    .animation {
        translate: var(--spOffsetX, var(--offsetX, 0)) var(--spOffsetY, var(--offsetY, 0));
    }
}

.animation.active {
    animation: common-animation var(--duration, 0.5s) var(--delay, 0s) ease-in-out forwards;
}

@keyframes common-animation {
    to {
        translate: 0 0;
        opacity: 1.0;
    }
}

main {
    max-width: 2000px;
    margin: auto;
    overflow: clip;
}

.splide {
    opacity: 0;
    transition: 0.3s ease-in-out opacity;
}

.splide.is-initialized {
    opacity: 1.0;
}

/*======================
背景
=======================*/
.fixed_bg {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: url(img/common/fixed_bg.webp) no-repeat top left / cover;

    &.for_high_school_bg {
        background: url(img/for_high_school/for_high_school-bg.webp) no-repeat top left / cover;

        @media (max-width:767px) {
            background: url(img/for_high_school/for_high_school-bg_sp.webp) no-repeat top left / cover;
        }
    }
}




/*======================
見出し
=======================*/
.hd01 {
    width: fit-content;
    font-size: 16px;

    &.w {
        :is(.hd01 :is(h2, h3, h4, h5), .sub) {
            color: #FFF;
        }

        :is(h2, h3, h4, h5) {
            &::before {
                background: url('img/common/hd-deco_w.webp') no-repeat center / 100%;
            }
        }
    }
}

.hd01 :is(h1, h2, h3, h4, h5) {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.0em;
    font-weight: 900;

    &::before {
        content: "";
        display: block;
        width: 16px;
        aspect-ratio: 1 / 1;
        background: url('img/common/hd-deco.webp') no-repeat center / 100%;
    }
}

.hd01 .sub {
    font-family: var(--Roboto);
    font-size: calc((40 / 16) * 1.0em);
    font-weight: 900;
    white-space: nowrap;
    margin-top: 3px;
}

/*tb*/
@media (max-width:899px) {
    .hd01 {
        margin: auto;
    }

    .hd01 :is(h2, h3, h4, h5) {
        justify-content: center;
    }
}

/*sp*/
@media (max-width:767px) {
    .hd01 {
        font-size: 14px;
        text-align: center;
    }

    .hd01 :is(h2, h3, h4, h5) {
        gap: 4px;
        text-align: center;

        &::before {
            width: 12px;
        }
    }

    .hd01 .sub {
        font-family: var(--Roboto);
        font-size: 2.0em;
        margin-top: 5px;
    }

}

/*======================
ボタン
=======================*/
:is(a.btn01, .btn01 a) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--Roboto);
    font-size: 16px;
    font-weight: 900;
    padding: 0 20px;
    width: fit-content;
    min-width: 200px;
    height: 64px;
    border: solid 0.5px var(--navy);
    border-radius: 5px;

    &::after {
        content: "";
        display: block;
        width: 24px;
        aspect-ratio: 1 / 1;
        border-radius: 3px;
        background: url('img/common/arrow_w.webp') no-repeat var(--navy) center / 7px;
        transition: 0.3s ease-in-out;
    }

    @media (any-hover:hover) {
        &:hover {
            &::after {
                translate: 3px 0;
            }
        }
    }
}

/*sp*/
@media (max-width:767px) {
    :is(a.btn01, .btn01 a) {
        font-size: 14px;
        padding: 0 14px;
        min-width: 160px;
        height: 52px;
    }
}

:is(a.btn02, .btn02 a) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 20px;
    font-weight: 900;
    color: #FFF;
    padding: 0 23px;
    width: fit-content;
    min-width: 171px;
    height: 64px;
    border-radius: 50px;
    background-color: var(--navy);

    &::after {
        content: "";
        display: block;
        width: 21px;
        height: 12px;
        background: url(img/common/arrows_w.webp) no-repeat center / 100%;
        transition: 0.3s ease-in-out;
    }

    @media (any-hover:hover) {
        &:hover {
            &::after {
                translate: 5px 0;
            }
        }
    }
}

/*sp*/
@media (max-width:767px) {
    :is(a.btn02, .btn02 a) {
        gap: 16px;
        font-size: 16px;
        padding: 0 24px;
        min-width: 147px;
        height: 52px;
    }
}