@charset "utf-8";



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

@media (width <= 1024px) {
    /*　ハンバーガーメニューボタン　*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 4;
        right: 15px;
        top: 15px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        background-color: #F8DD00;
    }

    .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.active span:nth-child(1) {
        top: 20px;
        left: 6px;
        background: #000000;
        -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: #000000;
        -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: #F8DD00;
       text-align: left;
        width: 100%;
        transform: translateX(100%);
        transition: all 0.6s;
        overflow: auto;
    }

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

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

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

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

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

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

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

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

@media (width >= 1025px) {

    .hamburger {
        display: none;
    }

    .menu {
        width: min(100%, 230px);
        margin-left: auto;
        margin-right: auto;
    }

    .menu li + li {
        margin-top: 2px;
      }
      
      .menu li a {
        display: flex;
        align-items: center;
        width: 230px;
        height: auto;
        min-height: 58px;
        margin-left: auto;
        margin-right: auto;
        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, #F8DD00 0%, #C3A700 100%), linear-gradient(to top, #F8DD00 0%, #C3A700 100%);
        background-position: left top;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        font-size: 16px;
        font-weight: bold;
        font-feature-settings: "palt";
        line-height: 1.2;
        color: #000000;
        text-decoration: none;
        transition: color .5s;
      }
      
      .menu li a > span {
        margin-left: 7px;
        margin-top: 8px;
        margin-bottom: 5px;
      }
      
      .menu li a > span > span {
        display: block;
      }
      
      .menu li a:hover {
        background-image: linear-gradient(to bottom, #000000 0%, #505050 100%), linear-gradient(to top, #000000 0%, #505050 100%);
        color: #FFFFFF;
        text-decoration: none;
      }
      
      .menu li.active a {
        background-image: linear-gradient(to bottom, #000000 0%, #505050 100%), linear-gradient(to top, #000000 0%, #505050 100%);
        color: #FFFFFF;
        pointer-events: none;
      }
      
      .menu li.active a:hover {
        cursor: default;
      }
    
}