.school-header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    padding-top: 18px;
    min-width: 1280px;
}

.header-inner {
    width: 1228px;
    margin: auto;
    background-color: #fff;
    border-radius: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 32px;
    box-sizing: border-box;
    box-shadow: 0 6px 16px rgb(0 0 0 / 9%);
}

.school-header .logo a {
    text-align: center;
    display: block;
}

.school-header .logo img {
    width: 120px;
}

.school-header .logo .school-name {
    background-color: #6F0005;
    color: #fff;
    font-size: 10px;
    min-height: 18px;
    margin-top: 6px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1.5px;
    padding: 0 4px;
}

.school-machida .school-header .logo .school-name {
    font-size: 13px;
}

.navi-btn-wrap {
    display: none;
}

.school-nav ul {
    display: flex;
    gap: 8px;
}

.school-nav ul li a {
    color: #494949;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 22px;
    padding: 0 12px;
    letter-spacing: 1.7px;
}

.school-nav ul li .active {
    background-color: #B3CF00;
    color: #fff;
}

.school-footer {
    text-align: center;
    background-color: #F1F1F1;
    padding: 48px 0;
    color: #494949;
    margin-bottom: 86px;
}

.school-footer .logo {
    width: 240px;
    margin: auto;
}

.school-footer .logo a {
    display: block;
}

.school-footer .logo img {
    width: 100%;
}

.school-footer .logo .school-name {
    width: 100%;
    background-color: #6F0005;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    margin-top: 12px;
    letter-spacing: 1.5px;
}

.school-footer .school-detail {
    font-size: 13px;
    line-height: 23px;
    margin-top: 24px;
    letter-spacing: 1.5px;
}

.school-footer .school-detail p {
    margin: 0;
}

.school-footer .school-detail .school-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.btm-contact {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    display: flex;
    z-index: 99;
    min-width: 1280px;
    background-color: #fff;
}

.btm-contact a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: #494949;
    height: 86px;
    gap: 16px;
    transition: .3s;
}

.btm-contact .material {
    background-color: #E8E8E8;
}

.btm-contact .open-school,
.btm-contact .form {
    background-color: #FFF03F;
}

.btm-contact .line {
    background-color: #CBEB00;
}

.btm-contact a:hover {
    opacity: 0.5;
    transition: .3s;
}

.nowrap {
    white-space: nowrap;
}

@media (max-width: 959px) {

    .school-header {
        min-width: unset;
        padding: 0;
        min-height: 56px;
        max-height: 100dvh;
        overflow-y: scroll;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 6px 16px rgb(0 0 0 / 9%);
    }

    .header-inner {
        width: 100%;
        padding: 0;
        flex-wrap: wrap;
        border-radius: 0;
    }

    .school-header .logo {
        padding: 16px 0 12px 14px;
    }

    .school-header .logo a {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .school-header .logo img {
        width: 124px;
    }

    .school-header .logo .school-name {
        padding: 0 4px;
        margin-top: 0;
        font-size: 13px;
    }

    .navi-btn-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #B3CF00;
        width: 56px;
        height: 56px;
        border-radius: 0 0 16px 0;
    }

    .navi-btn {
        width: 25px;
        position: relative;
        cursor: pointer;
        display: inline-block;
        z-index: 1;
        height: 22px;
    }

    .navi-btn span {
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        background: #fff;
        border-radius: 5px;
        transition: all .3s;
    }

    .navi-btn span:nth-of-type(2) {
        top: 10px;
        opacity: 1;
        transition: all .3s;
    }

    .navi-btn span:last-of-type {
        top: 20px;
    }

    #nav-btn-close .navi-btn span:first-of-type {
        transform: rotate(-45deg) translateY(7px) translateX(-6px);
    }

    #nav-btn-close .navi-btn span:nth-of-type(2) {
        transform: translateX(0);
        opacity: 0;
    }

    #nav-btn-close .navi-btn span:last-of-type {
        transform: rotate(45deg) translateY(-8px) translateX(-7px);
    }

    .school-nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        background: #fff;
        height: 100dvh;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }

    .nav-open .school-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .school-nav .nav-header {
        display: flex;
        justify-content: space-between;
    }

    .school-nav .nav-header .navi-btn-wrap {
        border-radius: 0 0 0 16px;
    }

    .school-nav ul {
        display: block;
        padding: 24px 24px 32px;
    }

    .school-nav ul li {
        border-bottom: 1px solid #E8E8E8;
    }

    .school-nav ul li a {
        font-size: 16px;
        justify-content: space-between;
        min-height: unset;
        padding: 16px 0;
    }

    .school-nav ul li a::after {
        border-top: solid 2px #BBD800;
        border-right: solid 2px #BBD800;
        width: 6px;
        height: 6px;
        transform: rotate(45deg);
        display: inline-block;
        flex-shrink: 0;
        -webkit-flex-shrink: 0;
        content: "";
    }

    .school-nav ul li .active {
        background-color: unset;
        color: #494949;
    }

    .school-header .head-contact {
        display: flex;
        flex-direction: column;
        width: 287px;
        max-width: 100%;
        margin: auto;
        gap: 16px;
        margin-bottom: 54px;
    }

    .head-contact .contact-btn {
        border: 1px solid #595757;
        height: 67px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border-radius: 46px;
        gap: 16px;
        position: relative;
        color: #494949;
        font-weight: bold;
        box-shadow: 0 5px 8px rgb(0 0 0 / 10%);
    }

    .head-contact .contact-btn.material {
        background-color: #E8E8E8;
    }

    .head-contact .contact-btn.open-school {
        background-color: #FFF03F;
        margin-top: 23px;
    }

    .head-contact .contact-btn.form {
        background-color: #FFF03F;
    }

    .head-contact .contact-btn.line {
        background-color: #CBEB00;
    }

    .head-contact .contact-btn .pick {
        background-color: #E62D84;
        color: #fff;
        font-weight: bold;
        font-size: 14px;
        height: 28px;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 0 7px;
        letter-spacing: 1.5px;
        transform: rotate(-2deg);
        top: -23px;
    }

    .school-footer {
        padding: 46px 0;
    }

    .school-footer .school-detail .school-name {
        margin-bottom: 16px;
    }

    .btm-contact {
        min-width: unset;
        width: 100%;
    }

    .btm-contact a {
        font-size: 13px;
        flex-direction: column;
        gap: 7px;
        text-align: center;
        padding-top: 5px;
        box-sizing: border-box;
    }
}