/* a-scene {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
} */

/* html.a-fullscreen .a-canvas {
   
    top: -20vh!important;
   
} */
html {
    height: 100%;
    width: 100%;
    min-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    /* overflow-y: hidden; */
    font-family: YakuHanJP_Narrow, "Inter", "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: black;
    margin: 0;
    height: 100%;
    font-size-adjust: none;
    -webkit-text-size-adjust: 100%;
    position: relative;
    
}
/* video{
    height: auto;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1536/722;
} */

/* .a-canvas {
    height: auto;
    width: 100%;
    position: absolute;
    aspect-ratio: 2/1;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
} */


#scene {

    animation: fadeUpAnime 1s;
}

#scene_fadeout {
    animation: fadeOutAnime 1s;
}

#scene_fadeout_top {
    animation: fadeOutAnime 1s;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOutAnime {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.a_btn {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 50%;
    cursor: pointer;
}

.chara_icon {
    position: fixed;
    bottom: 1%;
    left: 1%;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
}

.chara_img {
    /* width: 5vw; */
    height: 18vh;
}

.charaimg {
    width: 40vh;
}

#chara_text {
    font-size: 1.5vw;
}

#chara_title {
    font-size: 2vw;
}

.modaal-container {
    width: 70% !important;
    height: auto;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100vw !important;
    background-color: rgba(255, 255, 255, 0);
    font-weight: bold;
    color: #fff;
}

#list_card {
    text-align: center;
    height: 35vh;
    width: 15vw;
    background-color: #fff;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
    margin-left: 1vw;
    padding: 0.5vh;
    text-decoration: none;
    display: grid;
    /* grid-template-rows: 50% 20% 10% 20%; */
    align-items: center;
    justify-content: center;
    justify-items: center;
}

#list_card img {
    max-width: 13vw;
    max-height: 15vh;
}

.list_title {
    font-size: 1.1vw;
}

.list_proname,
.list_text {
    font-size: 1vw;
}

#left_btn {
    position: fixed;
    top: 50%;
    left: 1vw;
    width: 10vh;
    /* display: none; */
    cursor: pointer;
    z-index: 1;
}

#left_btn img {
    width: 10vh;
}

#right_btn {
    position: fixed;
    top: 50%;
    right: 1vw;
    width: 10vh;
    /* display: none; */
    cursor: pointer;
    z-index: 1;
}

#right_btn img {
    width: 10vh;
}

#down_btn_front {
    display: none;
    position: relative;
    /* bottom: 1vh; */
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    flex-direction: row;
    justify-content: space-around;
    width: 15vw;
    /* left: 50%; */
    margin-right: 5%;
    /* display: none; */
    /* display: block; */
    border-radius: 1vh;
    padding: 1vh;
    transition-duration: 1s;
    align-items: center;
    justify-content: space-evenly;
}

#down_btn_right {
    display: flex;
    position: fixed;
    bottom: 1vh;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    flex-direction: row;
    justify-content: space-around;
    width: 20vw;
    right: 1vh;
    /* margin-left: -10vw; */
    /* display: none; */
    /* display: block; */
    border-radius: 1vh;
    padding: 1vh;
}

#down_btn_right img {
    width: 3vh;
    animation: 1s topfuwafuwa infinite;
    animation-direction: alternate;
}

#down_btn_right span {
    font-size: 1.2vw;
    animation: 2s topfuwafuwa infinite;
    animation-direction: alternate;
}

#down_btn_front img {
    /* width: 3vh; */
    height: 2vh;
    /* animation: 1.5s topfuwafuwa infinite; */
    animation-direction: alternate;
}

#down_btn_front span {
    font-size: 1.2vw;
    /* animation: 1.5s topfuwafuwa infinite; */
    animation-direction: alternate;
}

/* .view-button{
    position: absolute;
    width: 1600px;
    height: 1000px;
    background-color: rgb(110, 156, 255);
    display: hidden;
} */
.view-button {
    cursor: pointer;
    display: flex;
    width: 20vw;
    height: 20vh;
    border: none;
    background-color: transparent;
    align-items: center;
    justify-content: center;
    position: relative;
    position: fixed;
    top: 0;
}

li {
    list-style: none;
}

.hex_btn_text {
    display: flex;
    position: absolute;
    z-index: 10;
    color: #fff;
    font-size: 1.5vw;
    font-weight: 900;
    align-items: center;
    top: 45%;
}

button#weld {
    right: 12%;
    top: 40%;
}

button#bend {
    right: 33%;
    top: 40%;
}

button#blank {
    right: 60%;
    top: 40%;
}



button#cad_cam {
    right: 60%;
    top: 40%;
}

button#cad_cam2 {
    right: 20%;
    top: 40%;
}

button#seisan {
    right: 40%;
    top: 40%;
}

button#susal {
    right: 60%;
    top: 40%;
}

button#chuatsuita {
    right: 20%;
    top: 40%;
}

button#usuita {
    right: 40%;
    top: 40%;
}

button#blank1 {
    right: 60%;
    top: 40%;
}

button#bend1 {
    right: 20%;
    top: 40%;
}



button#weld2 {
    right: 21%;
    top: 40%;
}

button#bend2 {
    right: 40%;
    top: 40%;
}

button#blank2 {
    right: 60%;
    top: 40%;
}

button#forum1 {
    right: 50%;
    top: 40%;
}

button#forum2 {
    right: 30%;
    top: 40%;
}

.arrow_img {
    width: 1vw;
}




#overlay {
    /* display: none;  */
    position: relative;
    z-index: 1;
    bottom: 1%;
    right: 1%;
    width: fit-content;
    padding: 2vh 0;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    opacity: 1;
    /* background-color: rgba(0, 0, 0, 0.6); */
    color: #ffffff;
    column-gap: 1vh;
    transition-duration: 1s;
}

#overlay .active {
    /* background-color: red; */
    border-top: 5px solid #E8342F;
    border-radius: 5px;
    border-bottom: 5px solid #E8342F;
    border-left: 5px solid #E8342F;
    border-right: 5px solid #E8342F;
}

.active .thumbnail_a {
    background-color: rgba(0, 0, 0, 0);
    color: #000;
}

/* #overlay>img {
    width: 14.5%;
    display: flex;
    justify-content: center;
    
  } */
.thumbnail_div {
    width: 13vw;
    display: flex;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.thumbnail_img {
    width: 13vw;
    display: flex;
    width: 100%;
}

.thumbnail_a {
    display: flex;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    /* background-color: rgba(0,0,0,0.3); */
    align-items: flex-end;
}

.thumbnail_span {
    display: flex;
    width: 100%;
    height: 20% !important;
    display: flex;
    position: absolute;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    color: #fff;
    background-color: #000;
    font-size: 0.85vw;
    font-weight: bold;
    transition: 1s;
}

.thumbnail_div :hover {
    /* font-size: 1.1vw; */
    transition: 0.5s;
}

.modaal-container {
    width: 70% !important;
    height: auto;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100vw !important;
    background-color: rgba(255, 255, 255, 0);
    font-weight: bold;
    color: #fff;
}

#samplelist {

    width: 80vw;
    overflow-x: scroll;
    /* overflow: hidden; */
}

#samplelist {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 5vh;
    object-fit: contain;
    overflow: hidden;
    justify-content: center;
}

.modal_col {
    display: flex;
    flex-direction: column !important;
}

/* #center {
    opacity: 0;
} */

#semi {
    z-index: 0;
}

#case {
    z-index: 0;
}

#demo {
    z-index: 0;
}

.kakodemo {
    font-size: 1.5vw;
    font-weight: bold;
}

.see_demo {
    display: none;
}

#sample {
    z-index: 0;
}

.play_btn {
    height: auto;
    width: 100%;
    position: absolute;
    aspect-ratio: 2/1;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    /* /* transform: translate(-50%, -50%); */
}

#icons {
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 7vw;
}


@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

.video-play-button {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: flex;
    width: fit-content;
    height: fit-content;
    /* background: #fa183d; */
    border-radius: 50%;
    /* padding: 18px 20px 18px 28px; */
}

.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 6vh;
    height: 6vh;
    background: #E8342F;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 6vh;
    height: 6vh;
    background: rgba(232, 52, 47, 0.5);
    border-radius: 50%;
    border: #fff solid 2px;
    transition: all 200ms;
}

.video-play-button:hover:after {
    background-color: darken(#fa183d, 10%);
}

.video-play-button img {
    position: relative;
    z-index: 3;
    /* max-width: 100%; */
    width: 2vh;
    height: 2vh;
    padding-left: 0.2vw;
}

.demoplay_back {
    display: flex;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    flex-direction: column;
    position: relative;
    width: 8vw;
    height: 14vh;
    align-items: center;
    justify-content: space-evenly;
}

.demo_play_btn {
    position: relative;
    /* height: fit-content; */
    width: 6vh;
    height: 6vh;
}

.iframe {
    text-decoration: none;
}

.sample_img {
    width: 20vw;
}

/* #play_icon .weld {
    position: absolute;
    left: 66%;
    top: 44%;
} */
/* .weld {
    position: absolute;
    left: 10%;
    top: 44%;
} */
.expand_close {
    transform: translateY(20vh);
    transition-duration: 1s;
    opacity: 0 !important;
    z-index: -1;
}

.expand_close_btn {
    /* transform: translateY(20vh); */
    transition-duration: 1s;
    position: fixed !important;
    bottom: 4% !important;
    right: 1%;
}

.expand_extab {
    z-index: 0 !important;
    height: 6% !important;
}

.expand_open {
    transform: translateY(0);
    transition-duration: 1s;
}

.ex_btn_close {
    transform: rotateX(180deg);

    transition-duration: 1s;
}

.ex_tab {
    position: fixed;
    bottom: 1%;
    right: 1%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1;
    height: auto;
}

.expantion_btn {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: black;
    width: 13vw;
    position: relative;
    align-items: center;
    color: #fff;
    /* padding: 1vh; */
    height: 5vh;
    font-weight: bold;
    bottom: 22%;
    right: 1%;
    transition-duration: 1s;
    cursor: pointer;
    font-size: 1.2vw;
    padding: 1vh;
}

.ex_icon {
    /* width: 2vh; */
    height: 2vh;
    transition-duration: 1s;
}

.ex_tab1 {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    transition-duration: 1s;
    cursor: pointer;
    /* z-index: 5; */
    position: fixed;
    bottom: 30%;
    right: 1%;
}

.direction_img {
    width: 10vh;
    animation: 1.5s topfuwafuwa infinite;
    animation-direction: alternate;
    transition: 1s;
}

.direction_btn {
    position: fixed;
    top: 60%;
    right: 45%;
    cursor: pointer;
    z-index: 1;
}

@keyframes topfuwafuwa {

    0% {
        transform: translateY(2vh);
    }

    100% {
        transform: translateY(-1vh);
    }
}

a-scene {
    height: auto;
    width: 100%;
    position: absolute;
    aspect-ratio: 2/1;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}

/* responsive */

@media screen and (max-width: 550px) {
    a-scene {
        height: auto;
        width: 100%;
        position: absolute;
        /* aspect-ratio: 2/1; */
        top: 0;
        bottom: 0;
        margin: auto;
        right: 0;
        left: 0;
    }

    #overlay {
        flex-direction: column;
        /* row-gap: 0.5vh; */
        background-color: rgba(0, 0, 0, 0.6);
        width: 40vw;
        padding: 1vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ex_tab {
        /* width: 50vw; */
        /* overflow-x: scroll; */
        display: none;
        z-index: 1;
        height: 100%;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .ex_tab1 {
        z-index: 2;
        width: 50%;
        flex-direction: column;
        align-items: flex-end;
    }

    .expantion_btn {
        display: none;
        /* width: 50vw; */
        padding: 1vh;
        width: 40vw;
        position: initial;
    }

    #left_btn {
        display: none;
    }

    #right_btn {
        display: none;
    }

    .direction_btn {
        display: none;
    }

    .chara_icon {
        display: none !important;
    }

    body {
        pointer-events: none;
    }

    .modaal-container {
        position: relative;
        /* display: inline-block; */
        /* width: 100%; */
        margin: auto;
        text-align: left;
        /* color: #000; */
        /* max-width: 1000px; */
        border-radius: 0px;
        /* background: #fff; */
        box-shadow: none;
        cursor: auto;
    }

    .modaal-close {
        display: none;
    }

    .thumbnail_div {
        width: 25vw;
        margin-top: 1vh;
    }

    .thumbnail_span {
        font-size: 2vw;
    }

    .modaal-container {
        width: 95% !important;

    }

    #down_btn_front {
        width: 50vw;
        margin-right: 0;
        margin-bottom: 1vh;
    }

    .chara_img {
        /* width: 5vw; */
        height: 13vh;
    }

    .view-button {

        width: 10vw;
        height: 10vh;

    }

    .kakodemo {
        font-size: 3.5vw;
        font-weight: bold;
        padding-top: 1vh;
    }

    .see_demo {
        font-size: 2vw;
    }

    .expantion_btn {

        font-size: 3.5vw;
    }
}
@media screen and (orientation: portrait) {
    .chara_img {
        /* width: 5vw; */
        height: 10vh;
    }
 
    .ex_tab1 {
   
        bottom: 15% !important;
        right: 1%;
    }
    .demoplay_back {
        display: flex;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.5);
        flex-direction: column;
        position: relative;
        width: 8vw;
        height: 6vh;
        align-items: center;
        justify-content: space-evenly;
    }
    .video-play-button:before {
        content: "";
        position: absolute;
        z-index: 0;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        display: block;
        width: 3vh;
        height: 3vh;
        background: #E8342F;
        border-radius: 50%;
        animation: pulse-border 1500ms ease-out infinite;
    }
    .video-play-button:after {
        content: "";
        position: absolute;
        z-index: 1;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        display: block;
        width: 3vh;
        height: 3vh;
        background: rgba(232, 52, 47, 0.5);
        border-radius: 50%;
        border: #fff solid 2px;
        transition: all 200ms;
    }
    .chara_icon {
        position: fixed;
        bottom: 15%;
        left: 1%;
        display: flex;
        flex-direction: row;
        align-items: center;
        z-index: 1;
    }
    img.charaimg {
        display: none;
    }
    #ModalDiv {
        height: 100%;
        width: 100%;
        overflow-y: scroll;
        position: relative;
        aspect-ratio: 16/9;
        background: black;
    }
}