@charset "utf-8";

/* PCメニュー */

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

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

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #000000;
        -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 > div {
        position: absolute;
        top: 33px;
        left: 4px;
        font-size: 12px;
    }

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

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

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

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

    nav.globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
        transition: .4s all;
    }

    nav.globalMenuSp .lang-switch {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    nav.globalMenuSp .lang-switch li:first-child a {
        background-image: linear-gradient(#fff, #fff);
        background-position: center right;
        background-repeat: no-repeat;
        background-size: 1px 50%;
    }

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

    nav.globalMenuSp ul li:hover {
        background: #ddd;
    }

    nav.globalMenuSp ul li.active {
        background: #ddd;
    }

    nav.globalMenuSp ul li.active a {
        color: #000;
    }

    nav.globalMenuSp ul li a {
        display: block;
        color: #fff;
        padding: 0.65em 0;
        text-decoration: none;
    }

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

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

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

/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {

    .hamburger {
        display: none;
    }
    
    .lang-switch {
        display: grid;
        grid-template-columns: repeat(2, 105px);
        gap: 20px;
    }
    
    .lang-switch li a {
        position: relative;
        width: 105px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .lang-switch li.eng a {
        background-color: var(--sub-color);
        color: #FFFFFF;
        transition: all .5s;
    }
    
    .lang-switch li.ja a {
        background-color: transparent;
        color: rgba(0, 0, 0, 0.3);
    }
    
    .lang-switch li a::after {
        position: absolute;
        content: '';
        width: 20px;
        height: 45px;
    }
    
    .lang-switch li.eng a::after {
        right: -20px;
        background-color: var(--sub-color);
        clip-path: polygon(0 0, 0% 100%, 100% 0);
    }
    
    .lang-switch li.ja a::after {
        left: -20px;
        background-color: transparent;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    }
    
    .lang-switch li a:hover {
        text-decoration: none;
    }
    
    .lang-switch li.eng a:hover {
        color: rgba(225, 209, 121, 0.8);
    }
    
    .menu {
        display: flex;
        flex-direction: column;
        background-color: #FFFFFF;
			margin-top:10px;
    }
    @media screen and (max-width:767px) {
        .menu {
            display: none;
        }
    }
    
    .menu li a {
        width: 230px;
        max-height: 40px;
        display: flex;
        align-items: center;
        background-image: linear-gradient(to left top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding-top: 0.75em;
        padding-bottom: 0.75em;
        font-size: 14px;
        font-weight: bold;
        font-feature-settings: "palt";
        line-height: 1.4;
        color: var(--key-color);
        text-decoration: none;
        transition: color .5s;
    }
    .menu li.monthly a {
        width: 230px;
        max-height: 40px;
        display: flex;
        align-items: center;
        background-image: linear-gradient(to left top, rgba(0, 140, 214, 1) 0%, rgba(0, 140, 214, 0.5) 70%);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding-top: 0.75em;
        padding-bottom: 0.75em;
        font-size: 14px;
        font-weight: bold;
        font-feature-settings: "palt";
        line-height: 1.4;
        color: var(--key-color);
        text-decoration: none;
        transition: color .5s;
    }
    
    .menu li a > span {
        margin-left: 6px;
    }
    
    .menu li a:hover {
        background-color: var(--key-color);
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
        background-size: 100% 5px;
        color: #FFFFFF;
        text-decoration: none;
    }
    
    .menu li.active a {
        background-color: var(--key-color);
        background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
        background-size: 100% 5px;
        color: #FFFFFF;
        pointer-events: none;
    }
    
    .menu li.active a:hover {
        cursor: default;
    }
    
}
