/*
Theme Name: ナナガーデン
Theme URI: https://www.nanagarden.info/
Author: 株式会社ナナクレーション
Author URI: http://wordpress.org/
Description: 浦安市にある花屋ナナガーデン
Version: 1.0
*/

/*--------------------------------------------------------------
>>> hamburger-menu
>>> 1100px
---------------------------------------------------------------- */

.header {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 1.6rem;
    z-index: 1000;
}
.logo {
    width: 190px;
}
.nav-items {
    display: flex;
    align-items: center;
}
.nav-items li {
    width: 150px;
}
.nav-items li a {
    display: block;
    padding: 0 1rem;
    color: white;
    border-right: dotted 2px #ffffff;
    text-align: center;
    font-weight: 500;
}
.nav-items li:first-child {
    border-left: dotted 2px #ffffff;
}
.nav-txt {
    display: block;
    text-align: center;
    font-size: 1.5rem;
}
.header-contact {
    display: none;
}


/* sub header */
.sub_logo {
    width: 190px;
}
.header-sub {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    position: static;
}
.header-sub .header-wrap {
    position: static;
}

.sns-btn {
    margin-left: 1rem;
}
.sns-btn a {
    border: white 1px solid;
    padding: 5px;
    margin:  0.3rem;
    border-radius: 50px;
    display: inline-block;
    width: 38px;
    height: 38px;
    text-align: center;
}
.sns-btn-pink a {
    border: #FB5D7A 1px solid;
}

.header-sub .nav-items li a{
    color: #49372a;
    border-right: dotted 2px #876B57;
    font-weight: 500;
}
.header-sub .nav-items li span{
    color: #FB5D7A;
}
.header-sub .nav-items li:first-child {
    border-left: dotted 2px #876B57;
}


/*--------------------------------------------------------------
>>> hamburger-menu
---------------------------------------------------------------- */
.hamburger-menu__outer {
    display: none;
    position: fixed;
    top: 3px;
    right: 3px;
    z-index: 1000;
}
.hamburger-menu  {
    position: relative;
    background:#352429;
    cursor: pointer;
    width: 50px;
    height: 50px;
    transition: .5s;
}
/*inner*/
    .hamburger-menu span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    background: #fff;
    width: 45%;
}
.hamburger-menu span:nth-of-type(1) {
    top:15px; 
}
.hamburger-menu span:nth-of-type(2) {
    top:23px;
}
.hamburger-menu span:nth-of-type(3) {
    top:31px;
}
/* active */
.hamburger-menu.active  {
    background: transparent;
}
.hamburger-menu.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}
.hamburger-menu.active span:nth-of-type(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
/* mask */
.mask {
    display: none;
    opacity: 0;
    display: block;
}

/* sub SNS btn */
.sub-sns-btn {
    width: 180px;
}
.sub-sns-btn a {
    display: block;
    color: #FB5D7A;
    border: solid 1.5px #FB5D7A;
    padding: 0.5rem 3rem;
    margin: 0.5rem 0 0.5rem 1.6rem;
    border-radius: 50px;
    position: relative;
    text-align: center;
    font-size: 1.6rem;
    font-weight:500;
}
.sub-sns-btn .instagram a:before {
    content: url(../img/instagram_pink.svg);
    position: absolute;
    top: 60%;
    left: 16%;
    transform: translateY(-50%) translateX(-50%);
}
.sub-sns-btn .line a:before {
    content: url(../img/line_pink.svg);
    position: absolute;
    top: 60%;
    left: 16%;
    transform: translateY(-50%) translateX(-50%);
}
.sub-sns-btn a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 25px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #FB5D7A;
    border-bottom: 2px solid #FB5D7A;
    transform: rotate(-45deg) translate(50%, 0);
    transition: .15s;
}
.sub-sns-btn a:hover:after {
    right: 21px;
}



/*--------------------------------------------------------------
>>> 1100px
---------------------------------------------------------------- */
@media (max-width: 1100px) {
    .hamburger-menu__outer  {
        display: block;
    }
    .header {
        display: block;
    }
    /* sub header */
    .sub_logo {
        width: 145px;
    }
    .nav-items {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        display: block;
        background: #352429;
        height: 100%;
        padding: 100px 15px 30px;
        z-index: 1000;
    }
    .nav-items li {
        width: 100%;
    }
    .nav-items li a {
        display: block;
        padding: 1rem;
        border-right: none;
        border-bottom: 1px dashed #ffffff;
        font-size: 1.8rem;
        opacity: .95;
        text-align: left;
    }
    .nav-items li:first-child {
        border-left: none;
    }
    .nav-txt {
        text-align: left;
        color: white;
    }
    .header-sub .nav-items li a{
        color: white;
        border-right: none;
    }
    .header-sub .nav-items li span{
        color: white;
    }
    .header-sub .nav-items li:first-child {
        border-left: none;
    }
    .header-sub .sns-btn a {
        border: solid 1.5px white;
        color: white;
    }

    /* navigation 1100px */
    #nav{
        position:fixed;
        z-index: 999;
        right: -120%;
        top: 0;
        bottom: 0;
        width: 70%;
        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: 100;
        transition: all 0.6s;
    }

    /* contact btn */
    .header-off {
        display: none;
    }
    .header-contact {
        margin-top: 0.5rem;
        display: block;
    }
    .header-contact-btn a {
        border: 1px solid white!important;
        display: block;
        width: 100%;
        border-radius: 7px;
        position: relative;
        text-align: center!important;
        padding-left: 2.5rem!important;
        font-size: 1.6rem!important;
        margin-top: 3rem ;
    }
    .header-contact-btn a:before {
        content: url(../img/mail.svg);
        position: absolute;
        left: 50px;
    }
    .header-contact-tel a {
        display: block;
        color: white;
        font-size: 20px!important;
        border-bottom: none!important;
    }
    .header-contact-tel span {
        display: block;
        font-size: 12px;
    }
    .header-contact-tel img {
        width: 18px;
    }

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

    /* SNS btn */
    .header-sns-btn {
        display: flex;
        justify-content: space-around;
    }
    .header-sns-btn .instagram {
        width: calc(60% - 10px);
    }
    .header-sns-btn .line {
        width: calc(40% - 10px);
    }
    .header-contact-btn.instagram a:before {
        content: url(../img/instagram_white.svg);
        position: absolute;
        top: 60%;
        left: 20%;
        transform: translateY(-50%) translateX(-50%);
    }
    .header-contact-btn.line a:before {
        content: url(../img/line_white.svg);
        position: absolute;
        top: 60%;
        left: 20%;
        transform: translateY(-50%) translateX(-50%);
    }
}

/* 追加 */
.header-contact-txt {
    color: white;
    margin-top: 3rem;
}
.header-contact-txt span {
    display: block;
    font-size: 12px;
}