@charset "utf-8";

/*==================================
　スマートフォン用ナビゲーション
===================================*/

@media screen and (max-width:1199px) {
    /*　ハンバーガーメニューボタン　*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 20;
        right: 20px;
        top: 30px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        background-color: var(--sub-color);
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #a17c52;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* スマホメニューを開いてる時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 20px;
        left: 6px;
        background: #a17c52;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 20px;
        background: #a17c52;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /* メニュー背景　*/
    .globalMenuSp {
        height: 100%;
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        color: #fff;
        /* background-color: var(--key-color); */
        background-color: #a17c52;
        text-align: center;
        width: 100%;
        transform: translateX(-100%);
        transition: all 0.6s;
        overflow: auto;
    }

    .globalMenuSp ul {
        margin: 0 auto;
        padding: 65px 0 0 0;
        width: 100%;
    }

    .globalMenuSp ul > li.parent > ul {
        padding-top: 0;
    }

    .globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: .4s all;
        border-bottom: 1px solid rgba(238, 238, 238, 0.2);
    }

    .globalMenuSp ul li:last-child {
        padding-bottom: 0;
    }

    .globalMenuSp ul li.active {
        background-color: var(--sub-color);
    }

    .globalMenuSp ul li.active a {
        color: #a17c52;
        font-weight: bold;
    }

    .globalMenuSp ul li a {
        display: block;
        font-size: 15px;
        color: #FFFFFF;
        padding: 16px 0;
        text-decoration: none;
    }

    .globalMenuSp ul li a:hover {
        color: #a17c52;
    }

    /* クリックでjQueryで追加・削除 */
    .globalMenuSp.active {
        opacity: 100;
        display: block;
        transform: translateX(0%);
    }

    .globalMenuSp ul li a span > br {
        display: none;
    }

    .lang {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    /* 子メニューありのスタイル */

    .globalMenuSp > ul > li.parent > div {
        position: relative;
        display: block;
        font-size: 15px;
        color: #FFFFFF;
        padding: 16px 0;
        text-decoration: none;
        cursor: pointer;
    }
    .globalMenuSp > ul > li.parent.active > div {
        font-weight: 700;
        color: #a17c52;
    }

    /* .globalMenuSp > ul > li.parent > div::before {
        position: absolute;
        right: 0px;
        content: "";
        width: 10px;
        height: 10px;
        top: 50%;
        margin-top: -9px;
        border-top: 3px solid #FFFFFF;
        border-right: 3px solid #FFFFFF;
        transform: rotate(135deg);
        transition: 0.35s ease-in-out;
    } */

    .globalMenuSp > ul > li.parent > div.clicked::before {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-top: -4px;
    }

    .globalMenuSp > ul > li.parent > .child {
        display: none;
        margin-left: 10px;
    }

    .globalMenuSp > ul > li.parent > .child li a:before {   
        content: "\f0da";
        font-family: "Font Awesome 5 Free";
        font-size: 0.85em;
        font-weight: 900;
        margin-right: 5px;
    }

    .globalMenuSp > ul > li.parent.active > .child a {
        font-weight: 400;
    }
}


/*==================================
　PC用ナビゲーション
===================================*/

@media (min-width: 1200px) {

    .hamburger {
        display: none;
    }

    .menu {
        margin: 35px auto 0px;
		z-index: 999;/*----ヘッダー固定----*/
		display: flex;
        justify-content: center;
		background: #fff;
		height: 35px;
		border-radius: 30px;
		padding: 0px 10px;
		/* margin-left: 270px; */
        margin-left: 14%;
        gap: 2px;
    }

    .menu li a {
        display: flex;
        align-items: center;
        width: auto;
        height: 35px;
        /*background-color: var(--key-color);
        background-image: linear-gradient(160deg, transparent 35%, rgba(0, 132, 208, 0.2) 100%);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: 100% 100%;*/
        /* font-size: 12px; */
        font-size: 14px;
        line-height: 1.1;
        font-feature-settings: "palt";
        color: #a17c52;
        text-decoration: none;
        filter: none;
        transition: all .5s;
		margin: 0 auto;
    }
    .menu > li > a > span {
        font-weight: bold;
    }

    .menu li a > span {
        margin-left: 12px;
        /* position: relative;
        bottom: 2px; */
    }

    .menu li a:hover {
        /*background-image: linear-gradient(to right, var(--key-color), var(--key-color));*/
        color: var(--key-color);
        text-decoration: underline;
    }

    .menu li.active a {
        color: #a17c52;
        pointer-events: none;
    }
    
    .menu li.active a:hover {
        cursor: default;
    }
    /* 子メニューありの親スタイル */

    .menu > li.parent {
        position: relative;
    }

    .menu > li.parent > div {
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-position: right center;
        background-repeat: no-repeat;
        background-size: 1px 16px;
        padding: 0 10px;
        text-decoration: none;
        pointer-events: all;
         font-weight: bold;
        font-feature-settings: "palt";
        color: #a17c52;
    }
    .menu > li.parent > div > span {
        /* position: relative;
        bottom: 2px; */
        line-height: 1.1;
    }
    

    .menu > li.parent > div:hover {
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-size: 100% 40px;
        text-decoration: none;
        cursor: pointer;
    }

    .menu > li.parent:hover div {
        background-image: linear-gradient(var(--primary-color), var(--primary-color));
        background-size: 100% 40px;
        cursor: pointer;
    }

    

    /* 子メニューありの子スタイル */

    .menu > li.parent .child {
        display: block;
        position: absolute;
        top: 32px;
        z-index: 2;
    }

    .menu > li.parent:last-child .child {
        left: none;
        right: 0;
    }

    .menu > li.parent .child li {
        height: 0;
        overflow: hidden;
        display: block;
        z-index: 9999;
        transition: all .5s;
    }

    .menu > li.parent .child li a {
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: start;
        background-image: linear-gradient(var(--sub-color), var(--sub-color)),linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
        background-position: left 0px, left top;
        background-repeat: no-repeat;
        background-size: 100% 1px, 100% 40px;
        /* padding: 0 8px; */
        color: var(--primary-color);
        text-decoration: none;
        pointer-events: all;
        color: #a17c52;
    }

    .menu > li.parent .child li a:hover {
        background-image:  linear-gradient(var(--sub-color), var(--sub-color)),linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
        background-position: left 0px, left top;
        background-repeat: no-repeat;
        background-size: 100% 1px, 100% 40px;
        color: var(--key-color);
        cursor: pointer;
    }

    .menu > li.parent:hover .child {
        top: 34px;
    }

    .menu > li.parent:hover .child li {
        width: 200px;
        height: 40px;
        opacity: 1;
        overflow: visible;
    }

    .menu > li.parent .child li a > span {
        margin-top: 2px;
        font-size: 14px;
        /* font-weight: bold; */
    }
}
li.parent > div > i {
    margin-left: 5px;
}
