/* ヘッダー */
header {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 120px;
    padding: 8px 24px;
    background-color: #ffffff;
    box-shadow: none;
}
.header-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}
.header-logo-wrapper a {
    color: #6c4b27;
    font-size: 31px;
}
.header-logo-wrapper a:hover {
    text-decoration: none;
}
.header-conteiner {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.header-contents {
    display: flex;
    align-items: center;
}
.header-sns-wrapper {
    margin-right: 40px;
}
.header-button-wrapper {
    padding: 0 !important;
}

/* グローバルメニュー */
.gnav {
    display: flex;
    justify-content: center;
}
.gnav ul {
    display: flex;
}
.gnav ul li a {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
    color: #6c4b27;
}
.gnav ul li a:hover {
    text-decoration: none;
}
.gnav ul li a::after {
    content: '';
    display: block;
    height: 3px;
    width: 80%;
    background: #f5e7eb;
    position: absolute;
    bottom: 0;
    left: 10%;
    transform: scale(0, 1);
    transition: .3s;
}
.gnav ul li a:hover::after {
    transform: scale(1, 1);
}
.gnav ul li a img {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
/*--ハンバーガーメニュー--*/
.burger-menu-conteiner{
    position: relative;
    height: 100%;
    margin: auto 8px auto 16px;
    border-radius: 50%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
}
.burger-menu{
    width: auto;
    height: 16.2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.bar{
    width: 24px;
    height: 2px;
    left: 50%;
    background-color: #6c4b27;
    transition: all 0.3s;
}
.menu-active .bar-top {
    top: 18px;
    left: 18px;
    transform: translateY(7px) rotate(-45deg);
    width: 24px;
}
.menu-active .bar-mid {
    opacity: 0;
}
.menu-active .bar-bottom {
    top: 30px;
    left: 18px;
    transform: translateY(-7px) rotate(45deg);
    width: 24px;
}

@media (max-width: 768px) {
    header {
        height: 56px;
        padding: 4px 16px;
    }
    .header-logo-wrapper a {
        font-size: 24px;
    }
    .header-contents {
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    .gnav-wrapper {
        position: absolute;
        top: 133px;
        right: -100%;
        z-index: 999;
        width: 264px;
        height: 100vh;
        background-color: #ffffff;
        transition: all 0.3s;
    }
    .menu-active.gnav-wrapper {
        right: 0;
    }
    .gnav {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }
    .gnav ul {
        flex-direction: column;
        width: 100%;
    }
    .gnav ul li {
        position: relative;
    }
    .gnav ul li a {
        position: relative;
        width: 100%;
        padding: 8px 16px;
    }
    .burger-menu-conteiner {
        display: flex;
    }
    .header-sns-wrapper{
        position: absolute;
        top: 42px;
        right: -100%;
        z-index: 999;
        width: 264px;
        height: 40px;
        margin-right: 0;
        padding-left: 16px;
        background-color: #ffffff;
        transition: all 0.3s;
    }
    .menu-active .header-sns-wrapper,
    .menu-active .header-button-wrapper {
        right: -16px;
    }
    .header-sns-wrapper a {
        width: 20px;
    }
    .header-button-wrapper {
        position: absolute;
        top: 79px;
        right: -100%;
        z-index: 999;
        display: flex;
        align-items: center;
        width: 264px;
        height: 44px;
        background-color: #ffffff;
        transition: all 0.3s;
    }
    .btn-contact {
        height: fit-content;
    }
}
@media (max-width: 400px) {
    .header-logo-wrapper a {
        font-size: 20px;
    }
}