/* ======= header ======= */
.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto!important;
    background-color: #ffffff;
    box-shadow: 0 3px 3px #eee;
    z-index: 1000;
    padding: 10px;
}
.header-top-area{
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.header-logo-area h1{
    font-size: 12px;
    padding-bottom: 5px;
}
.header-logo-area img{
    height: 50px;
    width: auto;
}
.header-menu-area{
    position: relative;
    z-index: 1100;
}
.header-menu-area ul{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.nav-link{
    position: relative;
    font-weight: bold;
}
.nav-link:hover{
    border-bottom: 3px solid #DF0716;
}
.nav-link a{
    display: block;
    text-align: center;
    color: #000;
    padding: 10px 0;
}
.nav-link a span{
    display: block;
    font-size: 12px;
}
.nav-link:hover > a{
    color: #DF0716;
}

/* ======= footer ======= */
.footer{
    background-color: #000!important;
    padding: 10px!important;
}
.copy{
    font-size: 12px;
    text-align: center;
    color: #fff;
}

/*1000px以上*/
@media screen and (max-width:1000px){
    /* header */
    .menu-btn{
        position: absolute;
        display: block;
        box-sizing: border-box;
        width: fit-content;
        right: 15px;
        bottom: 15px;
    }
    .menu-btn .h_menu {
        position: relative;
        width: 30px;
        height: 25px;
        margin: 0 auto;
    }
    .menu-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #000;
    }
    .menu-btn span:nth-of-type(1) {
        top: 0;
    }
    .menu-btn span:nth-of-type(2) {
        top: 11px;
    }
    .menu-btn span:nth-of-type(3) {
        bottom: 1px;
    }
    .menu-btn.active span:nth-of-type(1) {
        -webkit-transform: translateY(11px) rotate(-45deg);
        transform: translateY(11px) rotate(-45deg);
    }
    .menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .menu-btn.active span:nth-of-type(3) {
        -webkit-transform: translateY(-11px) rotate(45deg);
        transform: translateY(-11px) rotate(45deg);
    }
    /* header */
    .header-logo-area img{
        width: 250px!important;
        height: auto;
    }
    .header-menu-area{
        display: none;
    }
    .header-menu-area.active{
        display: block;
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        height: 100%;
        padding: 0 20px;
        background-color: #fff;
    }
    .header-menu-area ul{
        display: block;
    }
    .nav-link:hover{
    border-bottom: none;
    }
    .nav-link a{
        position: relative;
        border-bottom: 1px solid #dbdbdb;
        text-align: left;
        padding: 15px;
    }
}