/* header */
.header {
    width: 100%;
    height: 88px;
    top: 0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    position: fixed;
    z-index: 20;
}

.header.active {
    width: 100%;
    height: 100%;
    background: linear-gradient(270.63deg, rgba(255, 132, 0, 0.8) 0.53%, rgba(255, 45, 0, 0.8) 97.18%);;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    position: fixed;
    overflow-x: hidden;
    z-index: 9999;
    top: 0;
    -ms-overflow-style: none;
    -moz-overflow-style: none;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

@media screen and (max-width: 768px) {
    .header{
        height: 64px;
    }
    .header.active{
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
    }
}

/* header banner */
.header-product-banner{
    margin-right: 24px;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .header-product-banner{
        display: none;
    }
}

.header-product-banner a{
    display: inline-block;
    width: 140px;
    height: 48px;
}
.header-product-banner img{
    width: 100%;
    height: auto;
}

.header-product-banner.inactive{
    display: none;
}

/* headerのバナーとボタン */

.header-right{
    position: absolute;
    display: flex;
    top: 20px;
    right: 64px;
}

.header-nav-btn{
    width: 48px;
    height: 48px;
    cursor: pointer;
}

@media screen and (min-width:769px) and (max-width:1280px){
    .header-right{
        top: 20px;
        right: 64px;
    }
}

@media screen and (max-width: 768px) {
    .header-right{
        top: 16px;
        right: 16px;
    }

    .header-nav-btn{
        width: 32px;
        height: 32px;
        /* top: 16px;
        right: 16px; */
    }
}

.trigger {
    position: relative;
    height: 48px;
    width: 48px;
    cursor: pointer;
    background: rgba(11, 2, 118, 1);
    border-radius: 24px;
}

@media screen and (max-width: 768px) {
    .trigger{
        width: 32px;
        height: 32px;
    }
}

.trigger span {
    position: absolute;
    right: 12px;
    width: 16px;
    height: 2px;
    display: inline-block;
    background-color: #ffffff;
    border-radius: 1px;
    -webkit-transition: all .4s;
    transition: all .4s;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.trigger span:nth-of-type(1) {
    top: 16px;
    width: 24px;
}

.trigger span:nth-of-type(2) {
    top: calc(50% - 1px);
}

.trigger span:nth-of-type(3) {
    bottom: 16px;
    width: 24px;
}

@media screen and (max-width: 768px) {
    .trigger span {
        width: 10px;
        height: 1.3px;
        right: 8px;
    }
    .trigger span:nth-of-type(1) {
        top: 11px;
        width: 16px;
    }
    
    .trigger span:nth-of-type(2) {
        top: calc(50% - 1px);
    }
    
    .trigger span:nth-of-type(3) {
        bottom: 11px;
        width: 16px;
    }    
}


/*メニュークリックした時色が変わる*/

.header-nav-btn.active .header-nav-txt {
    color: #FF5C00;
}

.header-nav-btn.active .trigger span {
    background-color: #fff;
}

.header-nav-btn.active .trigger{
    background: none;
}

.header-nav-btn.active .trigger span:nth-of-type(1),
.sp-header-nav-btn.active .trigger span:nth-of-type(1) {
    -webkit-transform: translateY(7px) rotate(-315deg);
    transform: translateY(7px) rotate(-315deg);
    left: auto;
    width: 48px;
    right: 0px;
    top: 16px;
}

.header-nav-btn.active .trigger span:nth-of-type(2),
.sp-header-nav-btn.active .trigger span:nth-of-type(2) {
    opacity: 0;
}

.header-nav-btn.active .trigger span:nth-of-type(3),
.sp-header-nav-btn.active .trigger span:nth-of-type(3) {
    -webkit-transform: translateY(-7px) rotate(315deg);
    transform: translateY(-7px) rotate(315deg);
    left: auto;
    right: 0;
    bottom: 16px;
    width: 48px;
}
@media screen and (max-width: 768px) {
    .header-nav-btn.active .trigger span:nth-of-type(1),
    .sp-header-nav-btn.active .trigger span:nth-of-type(1) {
        width: 32px;
        top: 6px;
    }
    .header-nav-btn.active .trigger span:nth-of-type(3),
    .sp-header-nav-btn.active .trigger span:nth-of-type(3) {    
        width: 32px;
        bottom: 11px;
    }
}

.header-inner {
    width: auto;
    position: relative;
    height: 100%;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .header-inner {
        margin: 0;
        overflow: hidden;
    }
}

.logo{
    position: absolute;
    top: 20px;
    left: 32px;
}

.logo a {
    display: inline-block;
}

.header_logo{
    height: 40px;
}

@media screen and (max-width: 768px) {
    .logo{
        top: 16px;
        left: 16px;
    }

    .header_logo {
        height: 32px;
    }
}

.header-btn{
    border-radius: 8px;
    width: 216px;
    height: 64px;
    line-height: 64px;
}

@media screen and (max-width: 768px) {
    .header-btn{
        width: 100%;
        height: 48px;
        font-size: 1.6rem;
        line-height: 48px;
    }
}

.inner-menu{
    display: inline-flex;
    flex-flow: column;
    font-weight: bold;
    color: #fff;
    width: auto;
    margin-top: 0;
    font-size: 5.4rem;
}

@media screen and (max-width: 768px) {
    .inner-menu{
        width: 100%;
        margin: 0;
        font-size: 2.7rem;
    }
}

.inner-menu--left{
    margin-right: 80px;
}

@media screen and (max-width: 768px) {
    .inner-menu--left{
        margin-right: 0;
    }    
}

.inner-menu li{
    display: inline-block;
}

.inner-menu li+li {
    margin-top: 24px;
}

.inner-menu li img{
    display: inline-block;
    width: 32px;
    height: auto;
    margin-left: 16px;
}

@media screen and (max-width: 768px) {
    .inner-menu li img{
        width: 20px;
        margin-left: 8px;
    }
}

.inner-menu a{
    font-size: 3.2rem;
    color: #fff;
    display: table-cell;
}

@media screen and (max-width: 768px) {
    .inner-menu a{
        font-size: 2rem;
        margin: 0;
    }

    .inner-menu li{
        margin: 8px 0 0 0;
    }

    .inner-menu li+li{
        margin: 8px 0 0 0;
    }
}

.btn-wrap{
    display: flex;
    align-items: center;
}
@media screen and (max-width: 768px) {
    .btn-wrap{
        display: block;
    }
}

.nav-inner-menu{
    display: none;
}

.nav-inner-menu.active,
.sp-nav-inner-menu.active {
    display: block;
    width: 440px;
    max-width: 600px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

@media screen and (max-width: 768px) {
    .nav-inner-menu.active{
        position: static;
        width: calc(100% - 48px);
        margin: 88px auto 0;
        transform: translate(0,0);
    }
}

.header-banner{
    margin: 64px 0 40px;
}

@media screen and (max-width: 768px) {
    .header-banner{
        margin-top: 40px;
    }
}

.header-banner a{
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    border: solid 1px rgba(255,255,255,.6);
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 2.0rem;
    font-weight: bold;
    color: #fff;
}

.header-banner a:not(:first-of-type){
    margin-top: 24px;
}

.header-banner img{
    display: inline-block;
    width: 24px;
    margin-left: 8px;
}

@media screen and (max-width: 768px) {
    .header-banner a{
        font-size: 1.6rem;
    }
    .header-banner img{
        display: inline-block;
        width: 22px;
        margin-left: 8px;
    }
}