/*ベース*/

* {
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
    cursor: none;
    width: 100vw;
}

a,
area,
button,
[role="button"],
input:not([type=range]),
label,
select,
summary,
textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

.wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: calc((52vh - 100vw) / 2) calc((100vw - 52vh) / 2);
}

.content {
    width: 100%;
    text-align: center;
}


/*タイトルシーン*/

#subwarp {
    opacity: 1;
    pointer-events: none;
}

#title {
    margin-top: 50px;
    width: 85%;
    height: auto;
}

#howto {
    margin-top: 3vh;
    width: 85%;
    height: auto;
}

#focus {
    margin-top: 20vh;
    width: 60%;
    height: auto;
}

#howto_warp {
    opacity: 0;
}


/*メインシーン*/

#mainwarp {
    opacity: 0;
    pointer-events: none;
}


/*ヘッダーボタン*/

#topmenu {
    z-index: 100;
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0px;
    right: 0px;
    text-align: right;
    margin-right: 10px;
}

#topmenu_btn {
    position: relative;
    display: inline-block;
    padding: 0;
    border: none;
    background: transparent;
    width: 100px;
}

#topmenu_btn img {
    height: 45px;
}

#end_btn {
    z-index: 200;
    position: fixed;
    width: 90%;
    right: 0.21em;
    top: 0.5em;
    text-align: right;
    opacity: 0;
    pointer-events: none;
}

#end_btn img {
    width: 7rem;
    height: auto;
}


/*カラーアイコン*/

#sidemenu_key {
    z-index: 1000;
    border-radius: 5px 5px 0px 0;
    background-color: rgba(46, 46, 46, 0.9);
    color: #FFF;
    cursor: pointer;
}

.horizontal-item {
    display: inline-block;
    height: 100px;
    /*width: 100px;*/
    padding: 10px 5px;
}

#menu_wrap {
    z-index: 99;
    display: block;
    position: fixed;
    left: 0;
    /* widthはメニュー幅+keyボタン幅 */
    height: 119px;
    /* メニュー幅に合わせる */
    bottom: -60px;
}

#sidemenu {
    background-color: rgba(46, 46, 46, 0.9);
    color: #FFF;
    display: flex;
    margin: 0 auto;
    padding: 0;
    height: 100px;
    width: 100vw;
    /* コンテンツが見切れて見えるようにする */
    overflow-x: scroll;
    /* 横スクロールの指定 */
    overflow-y: hidden;
    white-space: nowrap;
    /* 横スクロールの指定 */
    overflow-scrolling: touch;
    /* スクロールを滑らかにする */
    -webkit-overflow-scrolling: touch;
    /* スクロールを滑らかにする */
}

#sidemenu_key {
    display: fixed;
    height: 50px;
    width: 75px;
    margin-left: 3px;
}

#sidemenu_text {
    position: fixed;
    text-align: center;
    margin: 0 auto;
    height: 40px;
    width: 60vw;
    left: 0px;
    right: 0px;
    bottom: 0px;
    color: #FFFFFF;
    pointer-events: none;
}

#sidemenu_text img {
    height: 35px;
}

#sidemenu_gesture {
    z-index: 101;
    position: fixed;
    text-align: center;
    margin: 0 auto;
    height: 40px;
    width: 60vw;
    left: -100px;
    right: 0px;
    bottom: 50px;
    color: #FFFFFF;
    pointer-events: none;
}

#sidemenu_gesture img {
    height: 90px;
    opacity: 0;
}

.swipe_gesture {
    animation: fadeOutRight;
    animation-duration: 1.5s;
    animation-iteration-count: 2;
    animation-delay: 0.8s;
}

.artext_outline {
    position: relative;
    width: 210px;
    fill: #fff;
    fill-opacity: 0.95;
    stroke: #f7411d;
    stroke-linejoin: round;
    stroke-width: 3px;
    stroke-dasharray: 20;
    animation: dash 5s linear infinite;
    filter: drop-shadow(0px 0px 2px #f7411d);
}

.artext {
    position: relative;
    top: -54px;
    text-align: center;
    font-size: 16px;
    margin-left: -10px;
    color: rgb(0, 0, 0);
    text-shadow: 0px 0px 1px rgb(0, 0, 0);
}

@keyframes dash {
    to {
        stroke-dashoffset: 500;
    }
}


/*
#sidemenu_icon {
    z-index: 100;
    position: fixed;
    width: 100px;
    right: 0px;
    bottom: 40px;
    padding: 0;
    border: none;
    background: transparent;
}
*/

#sidemenu_icon img {
    /*height: 100px;*/
}

.arrowdown {
    position: relative;
    left: 14px;
    top: 18px;
}

.arrowdown::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-50%) rotate(135deg);
}

.arrowup {
    position: relative;
    left: 14px;
    top: 18px;
}

.arrowup::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 50%;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateX(-50%) rotate(315deg);
}


/*nx*/

.btnx-colora-nx {
    background: linear-gradient(#FFFFFF, #FFFFFF);
    border: 2px solid #FFF;
}

.btnx-colorb-nx {
    background: linear-gradient(#b8b3b0, #9c9793);
    border: 2px solid #FFF;
}

.btnx-colorc-nx {
    background: linear-gradient(#5c5f64, #2f3437);
    border: 2px solid #FFF;
}

.btnx-colord-nx {
    background: linear-gradient(#555555, #181818);
    border: 2px solid #FFF;
}

.btnx-colore-nx {
    background: linear-gradient(#717171, #393939);
    border: 2px solid #FFF;
}

.btnx-colorf-nx {
    background: linear-gradient(#c16163, #b02127);
    border: 2px solid #FFF;
}

.btnx-colorg-nx {
    background: linear-gradient(#db9b80, #b94a36);
    border: 2px solid #FFF;
}

.btnx-colorh-nx {
    background: linear-gradient(#7a8179, #394030);
    border: 2px solid #FFF;
}

.btnx-colori-nx {
    background: linear-gradient(#4b79b7, #304574);
    border: 2px solid #FFF;
}


/*Mirai*/

.btnx-colora-mirai {
    background: linear-gradient(#f9f9f9, #f9f9f9);
    border: 2px solid #FFF;
}

.btnx-colorb-mirai {
    background: linear-gradient(#9f9f9f, #9f9f9f);
    border: 2px solid #FFF;
}

.btnx-colorc-mirai {
    background: linear-gradient(#000000, #000000);
    border: 2px solid #FFF;
}

.btnx-colord-mirai {
    background: linear-gradient(#5f6062, #5f6062);
    border: 2px solid #FFF;
}

.btnx-colore-mirai {
    background: linear-gradient(#c13d3b, #c13d3b);
    border: 2px solid #FFF;
}

.btnx-colorf-mirai {
    background: linear-gradient(#bab9b4, #bab9b4);
    border: 2px solid #FFF;
}

.btnx-colorg-mirai {
    background: linear-gradient(#010028, #010028);
    border: 2px solid #FFF;
}

.btnx-colorh-mirai {
    background: linear-gradient(#4956c8, #4956c8);
    border: 2px solid #FFF;
}


/*LC*/

.btnx-colora-lc {
    background: linear-gradient(#f9f9f9, #f9f9f9);
    border: 2px solid #FFF;
}

.btnx-colorb-lc {
    background: linear-gradient(#7d7d7d, #7d7d7d);
    border: 2px solid #FFF;
}

.btnx-colorc-lc {
    background: linear-gradient(#000000, #000000);
    border: 2px solid #FFF;
}

.btnx-colord-lc {
    background: linear-gradient(#842038, #842038);
    border: 2px solid #FFF;
}

.btnx-colore-lc {
    background: linear-gradient(#c1bdba, #c1bdba);
    border: 2px solid #FFF;
}

#aricon_text {
    position: absolute;
    height: 50px;
    top: -65px;
    right: 87px;
    /*opacity: 0;*/
}


/*
#aricon_text {
    position: fixed;
    right: 80px;
    bottom: 65px;
    text-align: left;
    margin-left: 3vw;
    color: white;
    font-weight: bold;
    letter-spacing: 0.15em;
    font-size: 1.1em;
    height: 50px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    opacity: 0;
}
*/


/*
#aricon_text img {
    width: 200px;
}

*/


/*
@media (orientation: landscape) {
    #aricon_text img {
        display: none;
    }
    #aricon_text {
        background-image: url("../assets/ui/txt_main_howto_landscape.png");
        background-repeat: no-repeat;
        width: 400px;
        background-size: 100%;
        background-position: center;
    }
}

@media (orientation: portrait) {
    #aricon_text img {
        src: "assets/ui/txt_main_howto.png";
        width: 250px;
    }
}
*/

.pulse-btn {
    position: fixed;
    right: 0px;
    bottom: 40px;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.pulse-btn img {
    width: 60%;
}

.pulse-btn::before,
.pulse-btn::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    margin-right: 25.5px;
    width: 50%;
    height: 50%;
    border: 1px solid #f7411d;
    border-radius: 50%;
    box-sizing: border-box;
    pointer-events: none;
    animation: pulsate 4s linear infinite;
}

.pulse-btn::after {
    animation-delay: 1s;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}