@charset "utf-8";


/* 準備中 */
.menu.ja li:not(.lang) a[href="./program.html"],
.menu.ja li:not(.lang) a[href="./registration.html"],
.menu.ja li:not(.lang) a[href="./participants.html"],
.menu.ja li:not(.lang) a[href="./speakers.html"],
.menu.ja li:not(.lang) a[href="./coi.html"],
.menu.ja li:not(.lang) a[href="./accommodation.html"],
.menu.ja li:not(.lang) a[href="./childcare.html"] {
    color: #999;
    pointer-events: none;
}
.menu.en li:not(.lang) a[href="./registration.html"],
.menu.en li:not(.lang) a[href="./accommodation.html"],
.menu.en li:not(.lang) a[href="./tourist-information.html"],
.menu.en li:not(.lang) a[href="./program.html"],
.menu.en li:not(.lang) a[href="./for-speakers.html"],
.menu.en li:not(.lang) a[href="./for-participants.html"] {
    color: #999;
    pointer-events: none;
}

/* .lang__switch a {
    pointer-events: none;
} */
a[href^="./jp/"] {
    pointer-events: none;
    cursor: default;
}

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

@media (width <= 1219px) {
    /*　ハンバーガーメニューボタン　*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 4;
        right: 20px;
        top: 20px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        background: linear-gradient(to top, var(--primary-color), #AD040E);
        z-index: 99999;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: var(--secondary-color);
        -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: #FFFFFF;
        -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: #FFFFFF;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

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

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

    .globalMenuSp ul li {
        list-style-type: none;
        padding: 10px 40px;
        transition: .4s all;
    }

    .globalMenuSp ul li.active a {
        color: var(--accent-color);
        font-weight: bold;
    }

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

    .globalMenuSp ul li a:hover {
        color: var(--accent-color);
    }

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

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

    .lang__switch {
        margin-bottom: 20px;
    }

    .lang__switch span a {
        border-bottom: 1px solid #FFFFFF;
    }

    .lang__switch span a::before {
        font-family: "Font Awesome 5 Free";
        content: "\f061";
        font-weight: 900;
        font-size: 0.8em;
        padding-right: .3em;
        position: relative;
        top: -1px;
        color: #FFFFFF;
    }

    .lang__switch .current {
        display: none;
        height: 0;
    }

}

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

@media (width >= 1220px) {

    
    .hamburger {
        display: none;
    }

    .menu {
        background-color: var(--primary-color);
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .menu > * + * {
        margin-top: 2px;
    }

    .menu li a {
        display: flex;
        align-items: center;
        width: 230px;
        margin-left: auto;
        margin-right: auto;
        min-height: 48px;
        padding: 10px 10px;
        box-sizing: border-box;
        border: 2px solid transparent;
        background-clip: padding-box, border-box;
        background-origin: padding-box, border-box;
        background-image: linear-gradient(to bottom, #C9CACA 0%, #FFFFFF 100%), linear-gradient(to top, #C9CACA 0%, #FFFFFF 100%);
        background-position: left top;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        font-size: 15px;
        font-weight: bold;
        font-feature-settings: "palt";
        line-height: 1.2;
        color: var(--primary-color);
        text-decoration: none;
        transition: color .5s;
      }

    .menu li a:hover {
        background-image: linear-gradient(to bottom, #AD040E 0%, #620009 100%), linear-gradient(to bottom, #620009 0%, #AD040E 100%);
        color: var(--secondary-color);
        text-decoration: none;
    }

    .menu li.active a {
        background-image: linear-gradient(to bottom, #AD040E 0%, #620009 100%), linear-gradient(to bottom, #620009 0%, #AD040E 100%);
        color: var(--secondary-color);
        pointer-events: none;
    }

    .menu li.active a:hover {
        cursor: default;
    }

    .lang__switch {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 1100px;
        top: 1px;
    }

    .lang__switch > li {
        width: 250px;
        display: flex;
        background-color: #FFFFFF;
    }

    .lang__switch > li > span {
        font-weight: bold;
        font-size: 15px;
    }

    .lang__switch > li > span a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 135px;
        min-height: 45px;
        background: var(--primary-color);
        clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
        text-decoration: none;
        color: var(--secondary-color);
        padding-right: 10px;
        transition: none;
    }

    .lang__switch > li > span a:hover {
        text-decoration: none;
        filter: brightness(90%) contrast(110%);
    }

    .lang__switch > li > span.current {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 125px;
        height: 45px;
        color: #d0b2b5;
        padding-right: 10px;
    }
    
}
