@charset "utf-8";

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 999999;
    opacity: 0;
    transition: 1s;
}
.is-animation {
    height: 50px;
    background-image: linear-gradient(60deg, #067fb8, #172a88);
    opacity: 1;
}
#layer header {
    opacity: 1;
}

h2.logo_header {
    float: left;
    width: 168px;
    height: 30px;
    margin: 22.5px 0 0 40px;
}
h2.logo_header a {
    float: left;
    width: 168px;
    height: 30px;
    background-image: url(../images/common/logo_wht.svg);
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
}
.is-animation h2.logo_header a {
    width: 140px;
    height: 25px;
    margin: -10px 0 0 0;
    background-image: url(../images/common/logo_wht.svg);
    opacity: 1;
}
#layer h2.logo_header a {
    opacity: 1;
}
    @media (max-width: 767px) {
        h2.logo_header {
            margin: 22.5px 0 0 15px;
        }
    }
    @media (min-width: 768px) and (max-width: 980px) {
        h2.logo_header {
            margin: 22.5px 0 0 15px;
        }
    }


/* ------------------------------------------------ drawer menu */
.drawer-menu {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    padding: 120px 0;
    background-image: linear-gradient(60deg, #067fb8, #172a88);
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: perspective(500px) rotateY(-90deg);
    transform: perspective(500px) rotateY(-90deg);
    opacity: 0;
}

.drawer-menu li {
}
.drawer-menu li a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 14px;
    color: #fff;
    padding: 0 30px;
    -webkit-transition: all .8s;
    transition: all .8s;
}
.drawer-menu li a:hover {
    color: #000;
    background: #ece9e2;
}
.drawer-menu li a::before {
    position: relative;
    left: -3px;
    content: "";
    display: inline-block;
    width: 5px;
    height: 10px;
    background-image: url(../images/common/arrow_right_big.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
    transition: all .5s;
}
.drawer-menu li a:hover::before {
    left: 0;
    background-image: url(../images/common/arrow_right_red.svg);
}

/* ------------------------------------------------ checkbox */
.check {
    display: none;
}

/* ------------------------------------------------ menu button */
.menu-btn {
    position: fixed;
    display: block;
    top: 27px;
    right: 40px;
    display: block;
    width: 50px;
    height: 20px;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transition: 1s;
}
.is-animation .menu-btn {
    top: 14px;
    opacity: 1;
}
#layer .menu-btn {
    opacity: 1;
}
    @media (max-width: 767px) {
        .menu-btn {
            right: 15px;
        }
    }
    @media (min-width: 768px) and (max-width: 980px) {
        .menu-btn {
            right: 15px;
        }
    }
.bar {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 50px;
    height: 1px;
    background: #000;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
}
.is-animation .bar {
    background: #fff;
}
#layer .bar {
    background: #fff;
}
.bar.middle {
    top: 10px;
    opacity: 1;
}
.bar.bottom {
    top: 20px;
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
}
/*
.menu-btn__text {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    -webkit-transition: all .5s;
    transition: all .5s;
    display: block;
    visibility: visible;
    opacity: 1;
}
*/
/*
.menu-btn:hover .bar {
    background: #999;
}
*/
/*
.menu-btn:hover .menu-btn__text {
    color: #999;
}
*/
.close-menu {
    position: fixed;
    top: 0;
    right: 300px;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0);
    cursor: url(../images/cross.svg),auto;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    visibility: hidden;
    opacity: 0;
}

/* ------------------------------------------------ checked */
.check:checked ~ .drawer-menu {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 1;
    z-index: 2;
}
.check:checked ~ .contents {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    transform: translateX(-300px);
}
/*
.check:checked ~ .menu-btn .menu-btn__text {
    visibility: hidden;
    opacity: 0;
}
*/
.check:checked ~ .menu-btn .bar.top {
    background-color: #fff;
    width: 56px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.check:checked ~ .menu-btn .bar.middle {
    opacity: 0;
}
.check:checked ~ .menu-btn .bar.bottom {
    background-color: #fff;
    width: 56px;
    top: 40px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.check:checked ~ .close-menu {
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
    background: rgba(0,0,0,.5);
    visibility: visible;
    opacity: 1;
    z-index: 3;
}