/*PCヘッダー -----------------*/
#head_wrap {
    top: 0;
    position: relative;
    width: 100%;
    line-height: 1;
    z-index: 25;
    height: 0px;
    text-decoration: none;
}


#head_wrap .menu {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

#head_wrap .menu:after {
    content: "";
    clear: both;
    display: block;
}

#head_wrap .splogo {
    display: none;
}

#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 20;
}

#nav-toggle div {
    position: relative;
}

#global-nav {
    top: 0;
    display: block;
    width: 300px;
    height: 100vh;
    margin-left: 0;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.75);
    background-size: contain, auto;
    background-position: bottom, center;
    background-repeat: no-repeat, repeat;
    position: fixed;
    /*overflow: hidden scroll;*/

}


#global-nav .logo {
    display: block;
}

#global-nav .logo img {
    max-width: 420px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;

}

#global-nav img {
    width: 100%;
}


#global-nav ul {
    margin-top: 3%;
}

#global-nav ul .nav1 {
    padding-top: 0;
}

/*1121*/
#global-nav ul li {
    font-size: 2rem;
    font-weight: 500;
    width: 100%;
    margin: 0 auto;
    padding: 2% 0;
    font-feature-settings: "palt";
    margin-bottom: 3%;
}

/*バナー追加*/

#global-nav .bnrSmall li {
    text-align: center;
    margin-bottom: 0;
    padding: 0;
}

#global-nav .bnrSmall li img {
    width: 90%;
}

#global-nav .bnrSmall a:hover {
    opacity: 0.7;
    transition-duration: 0.3s;
}

/*グリッチアニメーション*/

.content {
    width: 100%;
    height: auto;
    display: block;
    justify-content: center;
    align-items: left;
}

.content .glitch {
    position: relative;
    color: #333;
    font-weight: 600;
    font-size: 1.8rem;
    padding: 1.5rem 3rem;
    letter-spacing: 1px;
}

.content:hover .glitch:before,
.content:hover .glitch:after {
    padding: 1.5rem 3rem;
    color: #333;
    content: attr(data-text);
    position: absolute;
    width: 80%;
    height: auto;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    top: 0;
}

.content:hover .glitch:before {
    left: 3px;
    text-shadow: -2px 0 #ff9aef;
    animation: glitch-1 3s linear infinite reverse;
}

.content:hover .glitch:after {
    left: -3px;
    text-shadow: -2px 0 #1ae9d2;
    animation: glitch-2 3s linear infinite reverse;
}


@keyframes glitch-1 {
    0% {
        clip: rect(132px, auto, 101px, 30px);
    }

    5% {
        clip: rect(17px, auto, 94px, 30px);
    }

    10% {
        clip: rect(40px, auto, 66px, 30px);
    }

    15% {
        clip: rect(87px, auto, 82px, 30px);
    }

    20% {
        clip: rect(137px, auto, 61px, 30px);
    }

    25% {
        clip: rect(34px, auto, 14px, 30px);
    }

    30% {
        clip: rect(133px, auto, 74px, 30px);
    }

    35% {
        clip: rect(76px, auto, 107px, 30px);
    }

    40% {
        clip: rect(59px, auto, 130px, 30px);
    }

    45% {
        clip: rect(29px, auto, 84px, 30px);
    }

    50% {
        clip: rect(22px, auto, 67px, 30px);
    }

    55% {
        clip: rect(67px, auto, 62px, 30px);
    }

    60% {
        clip: rect(10px, auto, 105px, 30px);
    }

    65% {
        clip: rect(78px, auto, 115px, 30px);
    }

    70% {
        clip: rect(105px, auto, 13px, 30px);
    }

    75% {
        clip: rect(15px, auto, 75px, 30px);
    }

    80% {
        clip: rect(66px, auto, 39px, 30px);
    }

    85% {
        clip: rect(133px, auto, 73px, 30px);
    }

    90% {
        clip: rect(36px, auto, 128px, 30px);
    }

    95% {
        clip: rect(68px, auto, 103px, 30px);
    }

    100% {
        clip: rect(14px, auto, 100px, 30px);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(129px, auto, 36px, 30px);
    }

    5% {
        clip: rect(36px, auto, 4px, 30px);
    }

    10% {
        clip: rect(85px, auto, 66px, 30px);
    }

    15% {
        clip: rect(91px, auto, 91px, 30px);
    }

    20% {
        clip: rect(148px, auto, 138px, 30px);
    }

    25% {
        clip: rect(38px, auto, 122px, 30px);
    }

    30% {
        clip: rect(69px, auto, 54px, 30px);
    }

    35% {
        clip: rect(98px, auto, 71px, 30px);
    }

    40% {
        clip: rect(146px, auto, 34px, 30px);
    }

    45% {
        clip: rect(134px, auto, 43px, 30px);
    }

    50% {
        clip: rect(102px, auto, 80px, 30px);
    }

    55% {
        clip: rect(119px, auto, 44px, 30px);
    }

    60% {
        clip: rect(106px, auto, 99px, 30px);
    }

    65% {
        clip: rect(141px, auto, 74px, 30px);
    }

    70% {
        clip: rect(20px, auto, 78px, 30px);
    }

    75% {
        clip: rect(133px, auto, 79px, 30px);
    }

    80% {
        clip: rect(78px, auto, 52px, 30px);
    }

    85% {
        clip: rect(35px, auto, 39px, 30px);
    }

    90% {
        clip: rect(67px, auto, 70px, 30px);
    }

    95% {
        clip: rect(71px, auto, 103px, 30px);
    }

    100% {
        clip: rect(83px, auto, 40px, 30px);
    }
}





#logo {
    width: 300% !important;
    transition: all 0.8s ease;
}




#logo.mini {
    width: 100% !important;
}

@-webkit-keyframes mini {
    from {
        width: 300% !important;
    }

    to {
        width: 100% !important;
    }
}

@keyframes mini {
    from {
        width: 300% !important;
    }

    to {
        width: 100% !important;
    }
}

.tblogo {
    display: none;
}

/*PC下層ロゴ*/
.underLogo {
    width: 100% !important;
}


/*PCツイッター*/
.kizunaTwitter {
    position: relative;
    z-index: 50;
    margin-top: 5%;
    border-bottom: 1px solid #ff79ae;
}

.twitterbox {
    width: 100%;
    margin: 0 auto;
}

.infoTl {
    font-size: 1.8rem;
    font-weight: 500 !important;
    color: #ff79ae;
    text-align: center;
    border-top: 1px solid #ff79ae;
    border-bottom: 1px solid #ff79ae;
    padding: 1rem 0;
}

.twBox {
    position: relative;
    display: block;
}

.PCTwitter {
    z-index: 1;
}

/*1121*/

.twIcon {
    z-index: 0;
    display: none;
    width: 10%;
    margin-left: 9%;

}

.twIcon img {
    margin: 3%;
}









/*PC言語変更ボタン*/
.lgchange {
    width: 50%;
    margin: 4% auto 0;
    margin-left: 3rem;
    display: flex;
    justify-content: space-between;
}

.lgchange .btn a {
    padding: 12% 10%;
    display: inline-block;
    font-size: 1.6rem !important;
}

.lgchange .lang-item a {
    padding: 12%;
    display: inline-block;
    font-size: 1.6rem !important;
}


.lang-item a {
    position: relative;
    display: block;
    padding: 5% 5%;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: .1s;
    border-bottom: 1px solid #333;
}

.lang-item a::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 0;
    height: 0;
    border: 1px solid transparent;
}

.lang-item a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border: 1px solid transparent;
}

.lang-item a:hover {
    color: #ff79ae;
}

.lang-item a:hover::before {
    width: 100%;
    height: 100%;
    border-top-color: #ff79ae;
    border-right-color: #ff79ae;
    transition: width .1s ease-out, height .1s ease-out .1s;
}

.lang-item a:hover::after {
    width: 100%;
    height: 100%;
    border-bottom-color: #ff79ae;
    border-left-color: #ff79ae;
    transition: border-color 0s ease-out .1s, width .1s ease-out .1s, height .2s ease-out .3s;
}

.lang-item.current-lang a {
    border: 1px solid #ff79ae;
    color: #ff79ae;
}








/*TBヘッダー-----------------*/
@media screen and (max-width:1400px) {
    #logo {
        width: 100% !important;
        transition: all 0.8s ease;
    }

    #logo.mini {
        width: 80% !important;
    }

    @-webkit-keyframes mini {
        from {
            width: 80% !important;
        }

        to {
            width: 100% !important;
        }
    }

    @keyframes mini {
        from {
            width: 80% !important;
        }

        to {
            width: 100% !important;
        }
    }

    /*PC下層ロゴ*/
    .underLogo {
        width: 100% !important;
    }

    #global-nav {
        overflow: hidden scroll;
        /*IE(Internet Explorer)・Microsoft Edgeへの対応*/
        -ms-overflow-style: none;
        /*Firefoxへの対応*/
        scrollbar-width: none;
    }

    #global-nav::-webkit-scrollbar {
        display: none;
    }

    #global-nav ul li {
        font-size: 2rem;
        font-weight: 500;
        width: 100%;
        margin: 0 auto;
        padding: 1% 0;
        font-feature-settings: "palt";
        margin-bottom: 2%;
    }

}

/*max-width:1400px*/
/*1121*/
@media screen and (max-width:1300px) {
    .PCTwitter {
        display: none !important;
    }

    .twIcon {
        display: block !important;
    }

    /*PC下層ロゴ*/
    .underLogo {
        width: 100% !important;
    }
}

/*max-width:1300px*/

@media screen and (max-width:1100px) {
    #global-nav {
        display: block;
        width: 200px;
    }

    /*PC下層ロゴ*/
    .underLogo {
        width: 100% !important;
    }


}


/*SPヘッダー-----------------*/
@media screen and (max-width:767px) {
    #global-nav {
        overflow: hidden;
    }

    .header .kizunaTwitter {
        display: none;
    }

    #mobile-head {
        display: flex;
        justify-content: space-between;
        background: rgba(255, 255, 255, 1);
        border-bottom: 1px solid #ff79ae;
        width: 100%;
        height: 50px;
        position: fixed;
        top: 0;
        align-items: center;
        z-index: 150;
    }

    #nav-toggle {
        display: block;
    }

    #head_wrap .splogo {
        display: block;
        width: 50%;
    }

    #head_wrap .splogo img {
        width: auto;
        margin-left: 3%;
        height: 50px;
    }


    #nav-toggle {
        display: block;
        top: 12px;
        margin-top: 0;
        margin-bottom: auto;
    }


    #nav-toggle span {
        display: block;
        position: absolute;
        width: 3rem;
        height: 0.3rem;
        left: 0;
        background-color: #ff79ae;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    #nav-toggle span:nth-child(1) {
        top: 0;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #nav-toggle span:nth-child(2) {
        top: 11px;
    }

    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    #nav-toggle span:nth-child(3) {
        top: 22px;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #global-nav .logo {
        display: none;
    }

    #global-nav {
        position: fixed;
        top: -1000px;
        max-width: 100%;
        width: 100%;
        text-align: center;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }

    .open #global-nav {
        -moz-transform: translateY(1000px);
        -webkit-transform: translateY(1000px);
        transform: translateY(1000px);
        z-index: 60;
    }

    #global-nav .header_bg {
        display: none;
    }

    #global-nav ul {
        margin-top: 30%;
    }



    #global-nav ul li {
        padding-top: 1%;
        padding-bottom: 1%;
        position: relative;
        width: 100%;
        height: 40px;
        margin: 0;
        display: block;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        text-align: left;
    }

    #global-nav ul li:last-child {
        width: 8%;
        height: auto;
        margin-left: 6%;
    }



    .content:hover .glitch:before,
    .content:hover .glitch:after {
        display: none;
    }

    .content:hover .glitch:before {
        display: none;
    }

    .content:hover .glitch:after {
        display: none;
    }

    /*SP言語切り替えボタン*/
    #mobile-head .lgchange {
        display: flex;
        width: 30%;
    }

    #mobile-head .lgchange li {
        font-size: 2rem;
        font-weight: 500;
        width: 100%;
        margin: 0 auto;
        padding: 2% 0;
        font-feature-settings: "palt";
        margin-bottom: 1%;
        list-style: none;
    }

    .lgchange {
        margin-top: 0px;
    }

    /*SP背景ランダム*/

    #global-nav {
        /*スマホなどではみ出てしまう場合の対策*/
        background-position: right !important;
        background-size: cover !important;

    }

    .setView1 {
        background: url(../images/spBg/sp_bg01.png) !important;
    }

    .setView2 {
        background: url(../images/spBg/sp_bg02.png) !important;
    }

    .setView3 {
        background: url(../images/spBg/sp_bg03.png) !important;
    }

    .setView4 {
        background: url(../images/spBg/sp_bg04.png) !important;
    }

    .setView5 {
        background: url(../images/spBg/sp_bg05.png) !important;
    }

    .setView6 {
        background: url(../images/spBg/sp_bg06.png) !important;
    }

    .setView7 {
        background: url(../images/spBg/sp_bg07.png) !important;
    }

    .setView8 {
        background: url(../images/spBg/sp_bg08.png) !important;
    }

    .setView9 {
        background: url(../images/spBg/sp_bg09.png) !important;
    }

    .setView10 {
        background: url(../images/spBg/sp_bg10.png) !important;
    }

    .setView11 {
        background: url(../images/spBg/sp_bg11.png) !important;
    }

    .setView12 {
        background: url(../images/spBg/sp_bg12.png) !important;
    }

    .setView13 {
        background: url(../images/spBg/sp_bg13.png) !important;
    }

    .setView14 {
        background: url(../images/spBg/sp_bg14.png) !important;
    }

    .setView15 {
        background: url(../images/spBg/sp_bg15.png) !important;
    }


}

/*max-width:767px*/