@charset "utf-8";

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

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

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: linear-gradient(to right, #1C90E9 0%, #0933BD 100%);
        -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: var(--primary-color);
        -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: var(--primary-color);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /* メニュー背景　*/
    .globalMenuSp {
        height: 100%;
        position: fixed;
        z-index: 3;
        top: 0;
        right: 0;
        color: #000000;
        background-color: #FFFFFF;
        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 30px;
        transition: .4s all;
    }

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

    .globalMenuSp ul li a {
        display: block;
        font-size: 15px;
        font-weight: bold;
        color: var(--primary-color);
        padding: 10px 0;
        text-decoration: none;
    }

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

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

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

}

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

@media (width >= 1220px) {

    .hamburger {
        display: none;
    }

    .menu {
        width: 250px;
    }

    .menu > li {
        list-style-type: none;
    }

    .menu > li + li {
        margin-top: 0px;
    }

    .menu li a {
        position: relative;
        display: flex;
        align-items: center;
        width: 250px;
        min-height: 60px;
        margin-inline: auto;
        background-image: linear-gradient(to bottom, #1C90E9 0%, #0933BD 100%), linear-gradient(to right bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 100%);
        background-position: left top, left top;
        background-repeat: no-repeat;
        background-size: 5px 100%, 100% 100%;
        font-size: 15px;
        font-weight: bold;
        font-feature-settings: "palt";
        line-height: 1.2;
        color: #FFFFFF;
        text-decoration: none;
        text-shadow: 5px 5px 5px rgba(9, 51, 189, 0.65);
    }


    .menu li a > span {
        margin-left: 12px;
    }

    .menu li a:hover {
        background-image: linear-gradient(to top, #003F8F 0%, rgba(0, 62, 143, 0) 100%), linear-gradient(#FFFFFF, #FFFFFF);
        background-position: left bottom, left top;
        background-repeat: no-repeat;
        background-size: 100% 10px, 100% 100%;
        text-decoration: none;
        color: #0956C3;
        text-shadow: none;
    }

    .menu li.active a {
        background-image: linear-gradient(to top, #003F8F 0%, rgba(0, 62, 143, 0) 100%), linear-gradient(#FFFFFF, #FFFFFF);
        background-position: left bottom, left top;
        background-repeat: no-repeat;
        background-size: 100% 10px, 100% 100%;
        pointer-events: none;
        color: #0956C3;
        text-shadow: none;
    }

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

}