/*!
 * jquery-drawer v3.2.2
 * Flexible drawer menu using jQuery, iScroll and CSS.
 * http://git.blivesta.com/drawer
 * License : MIT
 * Author : blivesta <design@blivesta.com> (http://blivesta.com/)
 */

/*!------------------------------------*\
    Base
\*!------------------------------------*/


@media screen and (min-width: 780px) {
    .drawermenu {
        display: none;
        z-index: 50
}
}
@media screen and (max-width: 780px) {
    .drawermenu {
        display: block;
        z-index: 50
}
}
.d-menu{
    display: none;
}
@media screen and (max-width: 780px) {
    .d-menu{
        display: block;
    }
}
.drawer-open {
    overflow: hidden !important;
}
.drawer-nav {
    font-family: "Noto Serif JP", serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "游ゴシック", "Yu Gothic", "メイリオ", "sans-serif";
    position: fixed;
    z-index: 101;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    padding: 0 ;
    background-color: #fff;
    overflow-y: scroll;
    /* Chrome, Safari, Edge, Opera用 */
    &::-webkit-scrollbar {
        display: none;
    }
    /* Firefox用 */
    scrollbar-width: none;
    /* IE, 旧Edge用 */
    -ms-overflow-style: none;
}
.drawer-menu {
    margin: 0;
    list-style: none;
    align-items: center;
    /* padding-top: 100px; */
}
/* 追加でスクロール！？ */
.drawer-nav ul{
    overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.drawer-menu ul li {
    /* margin-bottom: 50px; */
    text-align: left;
    letter-spacing: 0.1em;
}
.drawer-menu ul li:last-child{
    border-bottom: none;
}
.drawer-menu-item {
    text-decoration: none;
}
/*! overlay 
.drawer-overlay {
    position: fixed;
    z-index: 80;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}
.drawer-open .drawer-overlay {
    display: block;
}*/
@media only screen and (max-width: 500px) {
    .drawer-nav{
        width: 90%;
    }
}


/* デザイン */
.drawer-nav{
    margin-top: 80px;
    padding-top: 40px;
}
.drawer-nav .layout{
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    & .background{
        width: 30%;
        background-image: url(../images/back_drawermenu.jpg);
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: cover;
    }
    & .drawer-menu{
        width: 65%;
        margin-bottom: 80px;
    }
    & .drawer-menu nav{
        font-size: 0;
    }
    & .drawer-menu nav ul{
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }
    & .drawer-menu nav ul li{
        margin-bottom: 40px;
    }
    & .drawer-menu nav ul li .menu-link .en-txt{
        font-size: clamp(16px, 2vw, 18px);
        color: #9898A4;
        line-height: 1.3em;
        margin-bottom: 5px;
        transition: color .3s;
    }
    & .drawer-menu nav ul li a:hover .menu-link .en-txt{
        color: #B76E4C;
    }
    & .drawer-menu nav ul li .menu-link h2{
        font-size: clamp(20px, 2.8vw, 24px);
        line-height: 1.5em;
        transition: color .3s;
    }
    & .drawer-menu nav ul li a:hover .menu-link h2{
        color: #B76E4C;
    }
    & .sub-link{
        margin-top: 20px;
    }
    & .sub-link .sub-link-txt{
        font-size: clamp(16px, 2vw, 18px);
        line-height: 1.5em;
        position: relative;
        padding-left: 18px;
        transition: color .3s;
    }
    & a:hover .sub-link .sub-link-txt{
        color: #B76E4C;
    }
    & .sub-link .sub-link-txt::before{
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        width: 12px;
        height: 1px;
        border-radius: 10px;
        background-color: #9898A4;
    }
}
header .menu-footer{
    width: 90%;
    margin: clamp(20px, 7vw, 50px) auto auto;
    padding-bottom: 30px;
    & .layout-b{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    & .layout-b .sns ul{
        font-size: 0;
    }
    & .layout-b .sns ul li{
        display: inline-block;
        margin-right: 20px;
    }
    & .layout-b .sns ul li img{
        width: 20px;
        vertical-align:middle;
    }
    & .layout-b .sns ul li.tiktok img{
        width: 18px;
    }
    & .layout-b .sns ul li.connectalo{
        border-left: solid 1px #B9B9B9;
        padding-left: 20px;
    }
    & .layout-b .sns ul li.connectalo img{
        width: 30px;
    }
    & .layout-b .privacy p{
        font-size: clamp(15px, 1.7vw, 16px);
        transition: color .3s;
    }
    & .layout-b .privacy a:hover p{
        color: #B76E4C;
    }
}
@media only screen and (max-width: 780px) {
    .drawer-nav{
        margin-top: 60px;
    }
    .drawer-nav .layout{
        & .background{
            display: none;
        }
        & .drawer-menu{
            width: 100%;
            margin-bottom: 20px;
        }
        & .drawer-menu nav ul{
            display: block;
            width: 100%;
        }
    }
    header .menu-footer{
        & .layout-b{
            display: block;
            margin: auto;
            text-align: center;
        }
        & .layout-b .sns{
            margin-bottom: 20px;
        }
    }
}
/* デザインend */
/*!------------------------------------*\
    Top
\*!------------------------------------*/

.drawer--top .drawer-nav {
    top: -30px;
    left: 0;
    width: 100%;
    /* height: 100%;
    max-height: 100%; */
    height: calc(100% - 80px);
    max-height: calc(100% - 80px);
    -webkit-transition: all .4s;
    transition: all .4s;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}
@media only screen and (max-width: 780px) {
    .drawer--top .drawer-nav {
        height: calc(100% - 60px);
        max-height: calc(100% - 60px);
    }
    
}

.drawer--top.drawer-open .drawer-nav {
    top: 0px;
    visibility: visible;
    opacity: 1;
}

.drawer--top .drawer-hamburger,
.drawer--top.drawer-open .drawer-hamburger {
    right: 0;
}

.drawer--top.drawer-open .drawer-nav {
    top: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.drawer--left.drawer-open .drawer-nav,
.drawer--left .drawer-hamburger,
.drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
    left: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.drawer--right.drawer-open .drawer-nav,
.drawer--right .drawer-hamburger,
.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}





/*!------------------------------------*\
    Left
\*!------------------------------------*/

.drawer--left .drawer-nav {
    left: -100%;
    -webkit-transition: left .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: left .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.drawer--left.drawer-open .drawer-nav,
.drawer--left .drawer-hamburger,
.drawer--left.drawer-open .drawer-navbar .drawer-hamburger {
    left: 0;
}

.drawer--left.drawer-open .drawer-hamburger {
    left: 100%;
}

/*!------------------------------------*\
    Right
\*!------------------------------------*/
.drawer--right .drawer-nav {
    right: -100%;
    -webkit-transition: right .3s ease;
    transition: right .3s ease;
}

.drawer--right.drawer-open .drawer-nav,
.drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
    right: 0;
    top: 0px;
}
.drawer--right.drawer-open .drawer-hamburger {
    right: 0px;
}
@media only screen and (max-width: 500px) {
    .drawer--right.drawer-open .drawer-nav,
    .drawer--right.drawer-open .drawer-navbar .drawer-hamburger {
        right: 0;
    }
}
/*!------------------------------------*\
    Hamburger
\*!------------------------------------*/

.drawer-hamburger {
    position: fixed;
    z-index: 10;
    top: 0px;
    /* display: none; */
    display: block;
    box-sizing: content-box;
    width: 40px;
    height: 80px;
    padding: 0 20px 0;
    margin: 0;
    -webkit-transition: all .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    border: 0;
    outline: 0;
      /* background-color: transparent; */
    background:#293254;
    /* border-radius: 100px; */
}

.drawer-hamburger:hover {
    cursor: pointer;
    /*  background-color: transparent;
    background-color: #fff;*/
}

.drawer-hamburger-icon {
    position: relative;
    display: block;
    margin-top: 27px;
    color: #fff;
    font-family: "Noto Serif JP", serif, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "游ゴシック", "Yu Gothic", "メイリオ", "sans-serif";
    font-size: 14px;
}


.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
    width: 100%;
    height: 1px;
    -webkit-transition: all .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all .4s cubic-bezier(0.190, 1.000, 0.220, 1.000);
    background-color: #fff;
}

.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
    position: absolute;
    top: -17px;
    left: 0;
    content: ' ';
}

.drawer-hamburger-icon:after {
    top: -8px;
}

.drawer-open .drawer-hamburger-icon:before,
.drawer-open .drawer-hamburger-icon:after {
    top: -12px;
}

.drawer-open .drawer-hamburger-icon:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.drawer-open .drawer-hamburger-icon:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

@media screen and (max-width: 780px) {
    .drawer-hamburger {
        width: 34px;
        height: 60px;
        padding: 0 13px 0;
    }
    .drawer-hamburger-icon{
        margin-top: 20px;
        font-size: 12px;
    }
    .drawer-open .drawer-hamburger-icon:before,
    .drawer-open .drawer-hamburger-icon:after {
        top: -9px;
    }
}
/*!------------------------------------*\
    accessibility
\*!------------------------------------*/

/*!
 * Only display content to screen readers
 * See: http://a11yproject.com/posts/how-to-hide-content
 */

.sr-only {
    position: absolute;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/*!
 * Use in conjunction with .sr-only to only display content when it's focused.
 * Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
 * Credit: HTML5 Boilerplate
 */

.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    overflow: visible;
    clip: auto;
    width: auto;
    height: auto;
    margin: 0;
}

/*!------------------------------------*\
    Sidebar
\*!------------------------------------*/

.drawer--sidebar {
    background-color: #fff;
}

.drawer--sidebar .drawer-contents {
    background-color: #fff;
}

@media (min-width: 64em) {
    .drawer--sidebar .drawer-hamburger {
        display: none;
        visibility: hidden;
    }

    .drawer--sidebar .drawer-nav {
        display: block;
        -webkit-transform: none;
        transform: none;
        position: fixed;
        width: 12.5rem;
        height: 100%;
    }

    /*! Left */
    .drawer--sidebar.drawer--left .drawer-nav {
        left: 0;
        border-right: 1px solid #ddd;
    }

    .drawer--sidebar.drawer--left .drawer-contents {
        margin-left: 12.5rem;
    }

    /*! Right */
    .drawer--sidebar.drawer--right .drawer-nav {
        right: 0;
        border-left: 1px solid #ddd;
    }

    .drawer--sidebar.drawer--right .drawer-contents {
        margin-right: 12.5rem;
    }

    /*! container */
    .drawer--sidebar .drawer-container {
        max-width: 48rem;
    }
}

@media (min-width: 75em) {
    .drawer--sidebar .drawer-nav {
        width: 100%;
    }

    .drawer--sidebar.drawer--left .drawer-contents {
        margin-left: 100%;
    }

    .drawer--sidebar.drawer--right .drawer-contents {
        margin-right: 100%;
    }

    /*! container */
    .drawer--sidebar .drawer-container {
        max-width: 60rem;
    }
}

/*!------------------------------------*\
    Navbar
\*!------------------------------------*/

.drawer--navbarTopGutter {
    padding-top: 3.75rem;
}

.drawer-navbar .drawer-navbar-header {
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.drawer-navbar {
    z-index: 102;
    top: 0;
    width: 100%;
}

/*! .drawer-navbar modifier */

.drawer-navbar--fixed {
    position: fixed;
}

.drawer-navbar-header {
    position: relative;
    z-index: 102;
    box-sizing: border-box;
    width: 100%;
    height: 3.75rem;
    padding: 0 .75rem;
    text-align: center;
}

.drawer-navbar .drawer-brand {
    line-height: 3.75rem;
    display: inline-block;
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: none;
}

.drawer-navbar .drawer-brand:hover {
    background-color: transparent;
}

.drawer-navbar .drawer-nav {
    padding-top: 3.75rem;
}

.drawer-navbar .drawer-menu {
    padding-bottom: 7.5rem;
}

@media (min-width: 64em) {
    .drawer-navbar {
        height: 3.75rem;
        border-bottom: 1px solid #ddd;
        background-color: #fff;
    }

    .drawer-navbar .drawer-navbar-header {
        position: relative;
        display: block;
        float: left;
        width: auto;
        padding: 0;
        border: 0;
    }

    .drawer-navbar .drawer-menu--right {
        float: right;
    }

    .drawer-navbar .drawer-menu li {
        float: left;
    }

    .drawer-navbar .drawer-menu-item {
        line-height: 3.75rem;
        padding-top: 0;
        padding-bottom: 0;
    }

    .drawer-navbar .drawer-hamburger {
        display: none;
    }

    .drawer-navbar .drawer-nav {
        position: relative;
        left: 0;
        overflow: visible;
        width: auto;
        height: 3.75rem;
        padding-top: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .drawer-navbar .drawer-menu {
        padding: 0;
    }

    /*! dropdown */
    .drawer-navbar .drawer-dropdown-menu {
        position: absolute;
        width: 100%;
        border: 1px solid #ddd;
    }

    .drawer-navbar .drawer-dropdown-menu-item {
        padding-left: 0;
    }
}

/*!------------------------------------*\
    Dropdown
\*!------------------------------------*/

.drawer-dropdown-menu {
    display: none;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.drawer-dropdown-menu > li {
    width: 100%;
    list-style: none;
}

.drawer-dropdown-menu-item {
    line-height: 3.75rem;
    display: block;
    padding: 0;
    padding-right: 0;
    padding-left: 0;
    text-decoration: none;
    color: #222;
}

.drawer-dropdown-menu-item:hover {
    text-decoration: underline;
    color: #555;
    background-color: transparent;
}

/*! open */

.drawer-dropdown.open > .drawer-dropdown-menu {
    display: block;
}

/*! drawer-caret */

.drawer-dropdown .drawer-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    -webkit-transition: opacity .2s ease, -webkit-transform .2s ease;
    transition: opacity .2s ease, -webkit-transform .2s ease;
    transition: transform .2s ease, opacity .2s ease;
    transition: transform .2s ease, opacity .2s ease, -webkit-transform .2s ease;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/*! open */

.drawer-dropdown.open .drawer-caret {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

/*!------------------------------------*\
    Container
\*!------------------------------------*/

.drawer-container {
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 64em) {
    .drawer-container {
        max-width: 60rem;
    }
}

@media (min-width: 75em) {
    .drawer-container {
        max-width: 70rem;
    }
}