@charset "utf-8";

.main_header {
    width: 100%;
    max-width: 1760px;
    padding: 0 20px;
    position: fixed;
    left: 0;
    right: 0;
    top: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto;
    z-index: 10;
    transition: transform 0.5s;
}
.main_header>* {font-family: "Roboto", sans-serif!important;}
.main_header .logo>img {width: 168px;}
.main_header .logo>img:last-child {display: none;}
.main_header.hide {transform: translateY(-100px);}
.main_header_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 815px;
    width: 100%;
}
.main_header.no_scroll {color: #fff;}
.main_header.no_scroll .button_red::after {
    background-color: initial;
}
.main_header_sp_menu_icon {
    display: none;
    width: 35px;
    height: 35px;
    margin-right: 17px;

}
.main_header_sp_menu_icon>img:last-child {display: none;}
.main_header.no_scroll .logo>img:first-child,
.main_header.no_scroll .main_header_sp_menu_icon>img:first-child {display: none;}
.main_header .main_header_sp_menu_icon.active>img:last-child {display: none!important;}
.main_header.no_scroll .logo>img:last-child,
.main_header.no_scroll .main_header_sp_menu_icon>img:last-child {display: inline-block;}
.main_header .main_header_sp_menu_icon.active>img:first-child {display: inline-block!important;}

@media screen and (max-width: 1025px) {
    .main_header_menu {max-width: 675px;}
}
@media screen and (min-width: 901px) {
    .main_header.no_scroll .button_red::before {
        border: 2px solid #fff;
        background: initial;
    }
    .main_header.no_scroll .button_red>span {
        background: initial;
        -webkit-text-fill-color: #fff;
    }
}
@media screen and (max-width: 900px) {
    .main_header {
        top: 22px;
        padding: 0;
    }
    .main_header_menu {display: none;}
    .main_header .logo {margin-left: 22px;}
    .main_header .logo>img {width: 117px;}
    .main_header_sp_menu_icon {
        display: block;
        cursor: pointer;
        position: relative;
    }
    .main_header.open .main_header_menu {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, .85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        max-width: 100%;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: #2C2C2C;
        font-size: 24px;
        font-weight: 600;
    }
    .main_header_menu_link {width: 275px;}
    .main_header_menu_link:not(:first-child) {margin-top: 52px;}
    .main_header .button {
        width: 290px;
        height: 60px;
        margin-top: 92px;
    }
    .main_header .button_red:before {
        border: 2px solid transparent;
        background: linear-gradient(90deg, #E94E4E 0%, #FF795B 100%) border-box border-box;
        -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
        -webkit-mask-composite: destination-out;
        mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
        mask-composite: exclude;
    }
    .main_header .button_red::after {
        content: none;
    }
    .main_header .button_red>span {
        font-size: 16px;
        font-weight: 600;
    }
    .main_header.no_top .main_header_sp_menu_icon>img:last-child {display: inline-block;}
}
