@charset "utf-8";

header {
	/* width: 95%; */
    margin: 10px auto;
	display: block;
	position: absolute;
	background-size: cover;
    z-index: 1;
    padding: 0 80px;
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav {
    display: flex;
}
.logo {
    width: 17%;
    min-width: 100px;
    margin: 1rem;
}
.logo-sp {
    width: 50%;
    min-width: 100px;
    margin: 1rem;
    display: none;
}

.nav-btn a {
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    border-radius: 50px;
}
.nav-btn img {
    width: 25px;
    vertical-align: middle;
    margin-right: 10px;
}



/*--------------------------------------------------------------
>>> hamburger-menu
>>> 1024px
---------------------------------------------------------------- */
/* header */
.header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}
.header__inner--left {
    width: 10%;
    min-width: 270px;
}
.header__inner--right {
    display: flex;
    align-items: center;
    min-width: 940px;
}
/* navigation */
.nav-lists {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.nav-lists li {
    font-size: 15px;
    display: block;
    padding: 1.5rem 10px;
}
.nav-lists li a{
    justify-content: center;
}
/* ロゴ */
.logo {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    color: var(--black-y);
}
.logo h2 {
    font-size: 23px;
    line-height: 23px;
    font-weight: 500;
    margin-right: 7px;
    margin-bottom: 3px;
}
.ttl__main span {
    color: var(--blue-y);
    letter-spacing: 1px;
    font-size: 13px;
}
.ttl__sub {
    font-size: 13px;
}


/*--------------------------------------------------------------
>>> hamburger-menu
---------------------------------------------------------------- */
.hamburger-menu__outer {
    display: none;
    position: fixed;
    top: 9px;
    right: 9px;
    z-index: 1000;
}
.hamburger-menu  {
    position: relative;
    background:#fff;
    border: 1px solid #b5b5b5;
    border-radius: 50px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    transition: .5s;
}
/*inner*/
.hamburger-menu span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 11px;
    height: 2px;
    background: #323232;
    width: 45%;
}
.hamburger-menu span:nth-of-type(1) {
    top:13px; 
}
.hamburger-menu span:nth-of-type(2) {
    top:19px;
}
.hamburger-menu span:nth-of-type(3) {
    top:25px;
}
.menu {
    font-size: 10px;
    background: transparent!important;
    color: white;
    bottom: 15px;
    width: 100%!important;
    left: 50%!important;
    transition: .2s;;
    text-align: center;
    transform: translate(-50%, 0);
}
/* active */
/* .hamburger-menu.active  {
    background: transparent;
} */
.hamburger-menu.active span:nth-of-type(1) {
    top: 12px;
    left: 10px;
    transform: translateY(6px) rotate(-45deg);
    width: 52%;
}
.hamburger-menu.active span:nth-of-type(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-of-type(3){
    top: 24px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 52%;
    transition: 0.2s;
}
/* mask */
.mask {
    display: none;
    opacity: 0;
    display: block;
}
.logo-sp {
    display: none;
}
@media screen and (max-width: 1140px) {
    header {
        padding: 0;
    }
}

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

    .logo-sp {
        display: block;
    }
    .hamburger-menu__outer,
    .header__inner {
        display: block;
    }
    .logo-sp {
        margin: 10px 0;
    }
    .header__inner--right {
        display: block;
        border-radius: 10px;
        padding: 20px 0 0;
        min-width: auto;
    }
    .nav-lists__wrap {
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: var(--white-change);
        margin-top: 0;
        z-index: 1000;
        padding: 1rem 2rem;
        background: white;
    }
    nav {
        overflow: hidden;
    }
    .nav-lists {
        display: block;
        margin: 30px 0;
        width: 100%;
    }
    .nav-lists li {
        border-bottom: #E0E2E4 1px solid;
        padding: 15px 0 15px 0px;
        position: relative;
    }
    
    .nav-lists li a {
        display: block;
    }
    .nav-lists li:first-child {
        border-left: none;
    }
    .nav-lists li:last-child {
        border-bottom: none;
    }

    /* navigation 1100px */
    #nav{
        position:fixed;
        z-index: 999;
        right: -120%;
        top: 0;
        bottom: 0;
        width: 75%;
        transition: all 0.6s;

    }
    #nav.open{
        right: 0;
    }
    /* mask 1100px */
    .mask.open {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: #2f2b2a;
        opacity: .7;
        z-index: 0;
        transition: all 0.6s;
    }

}

@media screen and (max-width: 768px) {
    /* ロゴ */
    .logo h2 {
        font-size: 16px;
        line-height: 16px;
        margin-right: 3px;
    }
    .ttl__main span {
        font-size: 10px;
    }
    .ttl__sub {
        font-size: 10px;
    }
    .logo-menu {
        display: block;
    }
    .logo-menu .ttl__sub p {
        display: inline-block;
        margin-top: 3px;
    }
    .logo {
        width: 80%;
        margin: 0;
    }
    header {
        padding: 0 20px;
    }
}