@charset "UTF-8";

.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
    position: fixed;
    background: rgba(255, 255, 255, 0.807);
    top: 0;
    z-index: 10000; 
}

#btn_open {
    display: none;
}

.header_logo {
    padding: 0 1rem;
    width: 40%;
}

#gnav {
    width: 60%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.header_nav {
    width: 60%;
}

.nav_flex {
    display: flex;
    justify-content: space-between;
}

.arrow_bottom {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: .8rem;
    border-bottom: 1px solid ;
    border-right: 1px solid ;
    transform: rotate(45deg);
}

.header_btn_wrap {
    display: flex;
}

.header_btn{
    width: 9.06rem;
    display: inline-block;
    background: linear-gradient(273.39deg, #E96D00 6.31%, #E44D03 98.92%);
}

.header_btn a{
    display: block;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}

.gnav_text{
    margin-bottom: .8rem;
    font-size: 1.2rem;
}

.gnav_text {
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.gnav_text::after {
    background-color: #ff5500;
    bottom: 0;
    content: '';
    display: block;
    height: 2px;
    left: 0;
    position: absolute;
    transition: .5s all;
    width: 0;
}

.gnav_text:hover::after {
    width: 100%;
}

/* ドロップダウン */
.nav_flex {
    *zoom: 1;
}

.nav_flex :before, .nav_flex :after{
    content: "";
    /* display: table; */
}

.nav_flex :after{
    clear: both;
}

.nav_flex  li{
    position: relative;
    padding: 0;
}

.nav_flex  li a{
    display: block;
    color: #333;
    line-height: 1rem;
    text-decoration: none;
}

.has-child{
    width: 11rem;
    list-style: none;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
}

.has-child li a{
    white-space: nowrap;
    padding: 13px 15px;
    color: #333;
    background: #b2afafcb;
    text-align: left;
}

.has-child li a:hover{
    color: rgb(237, 159, 14);
    transition: .8s;
}

#fade-in li ul{
    opacity: 0;
    top: 50%;
    visibility: hidden;
    transition: .5s;
}

#fade-in li:hover ul{
    top: 100%;
    visibility: visible;
    opacity: 1;
}

/* ドロップダウン */

/*きらっと光る*/
.header_btn a{
    /*キラッと光る基点とするためrelativeを指定*/
	position: relative;
    outline: none;
    overflow: hidden;
}

/*キラッと光る*/
.header_btn a::before {
	content: '';
    /*絶対配置でキラッと光るの位置を決める*/
	position: absolute;
	top: 0;
	left: -75%;
    /*キラッと光る形状*/
    width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	transform: skewX(-25deg);
}

/*hoverした際の移動のアニメーション*/
.header_btn a:hover::before {
	animation: shine 0.7s;
}

@keyframes shine {
	100% {
		left: 125%;
	}
}
/*きらっと光る*/

/* レスポンシブ */

@media screen and (max-width: 1000px) {

    .header_logo {
        width: 90%;
        height: 60px;
    }

    .header_logo img{
        margin-top: 10px;
    }

    .nav_flex {
        width: 80%;
        margin: 0 auto;
    }

    .nav_flex a {
        border-right: none;
    }

    .nav_flex li:last-child a {
        border-bottom: none;
    }
    
    .arrow_bottom {
        display: none;
    }
    .gnav_text::after {
        display: none;
    }

    /* ドロワーボタン */
    
    .btn_menu {
        display: block;
        width: 40px;
        height: 40px;
        background: linear-gradient(273.39deg, #E96D00 6.31%, #E44D03 98.92%);
        border-radius: 5px;
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .btn_menu span {
        width: 60%; /* 24px */
        height: 2px;
        display: block;
        background-color: #fff;
        border-radius: 5px;
        position: absolute;
        left: 20%;
        transition: all 0.2s linear;
    }
    
    .btn_menu span:nth-of-type(1) {
        top: 10px;
        transform: rotate(0);
    }
    
    .btn_menu span:nth-of-type(2) {
        top: 19px;
        transform: scale(1);
    }
    
    .btn_menu span:nth-of-type(3) {
        bottom: 10px;
        transform: rotate(0);
    }
    
    #btn_open:checked + .btn_menu span:nth-of-type(1) {
        top: 18.75px;
        transform: rotate(-45deg);
    }
    
    #btn_open:checked + .btn_menu span:nth-of-type(2) {
        transform: scale(0);
    }
    
    #btn_open:checked + .btn_menu span:nth-of-type(3) {
        bottom: 18.75px;
        transform: rotate(45deg);
    }
    
    /* navigationの表示 */
    #gnav {
        display: block;
        width: 100%;
        height: 100%;
        padding-top: 52px;
        background-color: rgba(247, 169, 14, 0.952);
        overflow: hidden;
        position: fixed;
        /* top: 0; */
        top: -110%;
        left: 0;
        transition: left .5s, right .5s,top .5s, bottom .5s;
        z-index: 10;
    }
    
    #gnav li {
        line-height: 1.5;
    }
    
    #btn_open:checked ~ #gnav {
        top: 0;
    }
    
    .btn_menu {
        cursor: pointer;
        z-index: 2;
        z-index: 100;
    }

    .gnav_text{
        font-size: 1.2rem;
        padding-bottom: 0;
    }

    .mb2 {
        margin-bottom: 2rem;
    }

    .header_nav {
        width: 100%;
        padding: 0 20px;
    }

    .header_btn_wrap {
        display: none;
    }
        
    .has-child {
        width: 100%;
    }
    
    .has-child li a::before{
        content: "ー";
    }
    
    .nav_flex {
        margin-top: 4rem; 
    }

    .nav_flex li{
        position: initial;
    }

    .nav_flex li a:hover{
        color: #ff5500;
        transition: .8s;
    }


    .has-child {
        padding-left: 1rem;
        position: initial;
        margin-bottom: 2rem;
    }

    .has-child li {
        margin-bottom: 1rem;
    }
    
    .has-child li a{
        background: none;
        padding: 0;
    }

    .has-child li a:hover{
        color: #ff5500;
    }

    #fade-in li ul{
        opacity: 1;
        top: 0;
        visibility: visible;
    }
}/* 1000px */

@media screen and (max-width: 768px) {
    .nav_flex {
        display: block;
    }

}/* 768px */

/* レスポンシブ */