*{
    box-sizing: border-box;
    list-style-type: none;
    -webkit-text-size-adjust: none;
    user-select: none;
    -webkit-user-select: none;
}
:root {
    --bottom: 0px;
    --hoverRight: 0px;
    --hoverTop: 0px;
    --hoverRightTri: 0px;
    --waveHeight: 0px;
    --waveWidth: 0px;
    --waveAnimation: "";
}
html{
    touch-action: none;/*ピンチアウト禁止*/
    overflow-x: hidden;
    height: 100%;
    width: 100%;
}
body{
    counter-reset: number 0; 
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    Meiryo,
    sans-serif;
    user-select: none;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.25;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background-color: #d1d1d1;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: #979797;
    border-radius: 10px;
}

img {
    /* グラフィックへのイベントを制御 */
    pointer-events: none;
    touch-action: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    -webkit-tap-highlight-color: transparent; /* タップ時の青いハイライト除去 */
    /* テキストを選択させない */
    user-select: none;
}
/* -------------------------------------- 
    cameraの向きdebug用
-------------------------------------- */
#camera-info {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* -------------------------------------- 
    looding
-------------------------------------- */
.a-loader-title{
    display: none;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}
.modal img {
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#tooltipWrap{
    display: none;
    position: absolute;
    top: 480px;
    left: 40%;
    background: #333;
    color: #fff;
    padding: 10px;
}

/* -------------------------------------- 
    wrapper 
-------------------------------------- */
.a-dialog-allow-button {
    background-color: #006ed5;
    color: #ffffff;
}
.a-dialog-deny-button {
    background-color: #cbcbcb;
    color: #000000;
}
.a-dialog-ok-button {
    background-color: #00b383;
    color: #ffffff;
}

/* -------------------------------------- 
    wrapper 
-------------------------------------- */
#wrapperRight{
    position: absolute;
    top: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
    width: 18%;
}
#wrapperBottom{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
}
#wrapperLeft{
    position: absolute;
    bottom: 0px;
    z-index: 10;
    transition: all .3s ease;
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #wrapperRight{
        display: grid;
        gap: 1vw;
        grid-template-columns: max-content max-content;
        grid-template-rows: auto;
        grid-template-areas: "left right";
        align-items: flex-start;
        grid-auto-rows: auto;
        top: 10px;
        right: 10px;
        width: fit-content;
        max-width: 50vw;
        min-width: calc(80px + 1vw); 
        height: 40px;
        overflow: visible;
        position: absolute;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #wrapperRight{
        width: 45%;
    }
}
@media screen and (max-width:768px) {
    #wrapperRight{
        top: 15px;
        right: 15px;
        gap: 10px;
    }
}
/* -------------------------------------- 
    switcher 
-------------------------------------- */
#switcherRegion{
    z-index: 10;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 15px;
    height: auto;
    transition: all .3s ease;
}
#wrapperLeft.open{
    bottom: calc(12dvh + 40px);
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #switcherRegion{
        padding-left: 10px;
        padding-right: 0px;
        margin-bottom: 0px;
        gap: 3px;
    }
    #wrapperLeft.open{
        bottom: calc(80px + 30px);
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #wrapperLeft.open {
        bottom: calc(90px + 20px);
    }
}
@media screen and (max-width:768px) {
    #switcherRegion{
        padding-left: 10px;
        padding-right: 0px;
        margin-bottom: 2px;
        gap: 2px;
    }
    #wrapperLeft.open {
        bottom: calc(85px + 20px);
    }
}
/* -------------------------------------- 
    gallery 
-------------------------------------- */
#gallery{
    position: relative;
    height: auto;
    width: 100%;
    user-select: none;
}
#galleryList.active > #galleryExpander{
    position: absolute;
    top: -40px;
    left: 50%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: url(./assets/icons/expander-down.svg);
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 40px;
    background-color: rgba(51, 51, 51, 0.8);
    transform: translate(-50%, 0%);
    transition: all ease-in .3s;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#galleryExpander{
    position: absolute;
    top: -40px;
    left: 50%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: url(./assets/icons/expander-up.svg) no-repeat;
    background-size: 50% 50%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100px;
    height: 40px;
    background-color: rgba(51, 51, 51, 0.8);
    transform: translate(-50%, 0%);
    transition: all ease-in .1s;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    #galleryExpander:hover{
        background-position: 50% 30%; 
    }
    #galleryList.active > #galleryExpander:hover{
        background-position: 50% 80%; 
    }
}
#galleryList{
    position: absolute;
    bottom: calc((12dvh + 30px) * -1);
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
    padding: 10px 100px;
    transition: all ease-in .2s;
}
#galleryList.active{
    bottom: 0px;
    z-index: 110;
}
#galleryListRegion{
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
    column-gap: 15px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.galleryList__item{
    display: inline-flex;
    flex-direction: column;
    padding: 5px;
    cursor: pointer;
}
.galleryList__item.current>.galleryList__item__img{
    outline: 5px solid #ffffff;
}
.galleryList__item__img{
    object-fit: cover;
    opacity: 1;
    height: round(down, 12dvh, 1px);
    width: round(down, 24dvh, 1px);
    aspect-ratio: 2 / 1;
}
body.mobile > img#galleryList{
    bottom: calc((90px + 30px) * -1);
}
body.mobile > img.galleryList__item__img{
    object-fit: cover;
    opacity: 1;
    height: 90px !important;
    width: 180px !important;
    aspect-ratio: 2 / 1;
}
@media (hover: hover) and (pointer: fine) {
    .galleryList__item:hover > .galleryList__item__img{
        cursor: pointer;
        outline: 5px solid #ffffff !important;
        box-sizing: border-box;
        transition: all .2s ease;
    }
}
.galleryList__item__caption{    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background-color: #000000c2;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}
.galleryList__item__caption--1col{
    padding: 0.1rem 0.2rem;
    margin-top: -1.8rem;
    height: 1.8rem;
    font-size: 0.9rem;
    line-height: 1.8rem;
}
.galleryList__item__caption--2col{
    padding: 0.1rem 0.2rem;
    margin-top: -2.1rem;
    height: 2.1rem;
    font-size: 0.7rem;
    line-height: 1.0rem;
}
#galleryPrev{
    position: absolute;
    top: 50%;
    left: 30px;
    background-image: url(./assets/icons/next-w.svg);   
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    transition: all ease-in-out .2s;
    z-index: 10;
    transform: translate(0%, -50%) rotate(180deg);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#galleryNext{
    position: absolute;
    top: 50%;
    right: 30px;
    background-image: url(./assets/icons/next-w.svg);   
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    transition: all ease-in-out .2s;
    z-index: 10;
    transform: translate(0%, -50%);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    #galleryPrev:hover{
        cursor: pointer;
        opacity: .8;
    }
    #galleryNext:hover{
        cursor: pointer;
        opacity: .8;
    }
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #galleryPrev{
        width: 30px;
        height: 30px;
        left: 20px;
    }
    #galleryNext{
        width: 30px;
        height: 30px;
        right: 20px;
    }
    #galleryExpander{
        top: -30px;
        width: 80px;
        height: 30px;
    }
    #galleryList{
        bottom: calc((90px + 22px)* -1);
        padding: 6px 60px;
    }
    #galleryList.galleryList--2col{
        bottom: calc((90px + 22px)* -1);
    }
    #galleryList.galleryList--2col.active{
        bottom: 0px;
    }
    #galleryList.active > #galleryExpander{
        top: -30px;
        width: 80px;
        height: 30px;
    }
    .galleryList__item--2col > .galleryList__item__img{
        height: 90px;
        width: 180px;
    }
    .galleryList__item--1col > .galleryList__item__img{
        height: 90px;
        width: 180px;
    }
    .galleryList__item__caption--1col{
        font-size: 0.65rem;
        line-height: 1.3rem;
        font-weight: normal;
        margin-top: -1.5rem;
        height: 1.5rem;
    }
    .galleryList__item__caption--2col{
        padding: 0.1rem 0.2rem;
        font-size: 0.6rem;
        line-height: 0.8rem;
        font-weight: normal;
        height: 1.9rem;
        margin-top: -1.9rem;
    }
    .galleryList__item.current>.galleryList__item__img {
        outline: 4px solid #ffffff;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #galleryList{
        bottom: calc((90px + 22px)* -1);
        padding: 6px 100px;
    }
    .galleryList__item__caption{
        font-weight: normal;
    }
    .galleryList__item--2col > .galleryList__item__img {
        height: 90px;
        width: 180px;
    }
    .galleryList__item--1col > .galleryList__item__img {
        height: 90px;
        width: 180px;
    }
}
@media screen and (max-width:768px) {
    #galleryList {
        padding: 6px 50px;
        bottom: calc((90px + 22px)* -1);
    }
    #galleryList.galleryList--2col{
        bottom: calc((90px + 22px)* -1);
    }
    #galleryList.galleryList--2col.active{
        bottom: 0px;
    }
    #galleryPrev {
        bottom: calc(25%);
        left: 15px;
        width: 25px;
        height: 25px;
    }
    #galleryNext{
        bottom: calc(25%);
        right: 15px;
        width: 25px;
        height: 25px;
    }
    .galleryList__item.current>.galleryList__item__img{
        outline: 3px solid #ffffff;
    }
    .galleryList__item--2col > .galleryList__item__img {
        height: 90px;
        width: 180px;
    }
    .galleryList__item__caption{
        font-size: 0.7rem;
        line-height: 20px;
        margin-top: -20px;
    }
    .galleryList__item__caption--1col{
        padding: 0.1rem 0.2rem;
        margin-top: -1.5rem;
        height: 1.5rem;
        font-size: 0.7rem;
        line-height: 1.5rem;
    }
    .galleryList__item__caption--2col{
        padding: 0.1rem 0.2rem;
        font-size: 0.6rem;
        line-height: 0.7rem;
        height: 1.9rem;
        margin-top: -1.9rem;
    }
    #galleryExpander{
        top: -30px;
        height: 30px;
    }
    #galleryList.active > #galleryExpander{
        top: -30px;
        height: 30px;
    }
}
@media screen and (max-width:768px) and (orientation: landscape){
    #galleryList {
        padding: 6px 50px;
        bottom: calc((90px + 22px)* -1);
    }
    #galleryList.galleryList--2col {
        bottom: calc((90px + 22px)* -1);
    }
    .galleryList__item--2col > .galleryList__item__img {
        height: 90px;
        width: 180px;
    }
}
/* -------------------------------------- 
    read 
-------------------------------------- */
.read{
    position: relative;
}
.read::before{
    position: absolute;
    top: 7%;
    right: 1%;
    display: inline-block;
    content: "";
    width: 20%;
    height: 20%;
    background-image: url(./assets/icons/read.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* -------------------------------------- 
    modal 
-------------------------------------- */
#modalRegion{
    height: 100dvh;
}
.modalSpan{
    cursor: pointer;
}
.modalWrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
    visibility: hidden;
}
.modalWrapper.js-show{
    z-index: 1000;
    visibility: visible;
    transition: all .2s ease-in-out;
}
.modalInner{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    overflow: hidden;
    user-select: none;
    z-index: 10000;
    touch-action: pan-x pan-y;
}
.show{
    display: block !important;
}
.modalClose{
    display: block;
    width: 5vw;
    height: 5vw;
    position: absolute;
    top: 2%;
    right: 2%;
    z-index: 10001;
}
@media (hover: hover) and (pointer: fine) {
    .modalClose:hover{
        cursor: pointer;
    }
}
.modalClose::before{
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    content: "";
    background-color: #ffffff;
    transform: translate(-50%,-50%) rotate(45deg);
}
.modalClose::after{
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    content: "";
    background-color: #ffffff;
    transform: translate(-50%,-50%) rotate(-45deg);
}
.modalInner__container{
    width: min-content;
    touch-action: pan-x pan-y;
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .modalInner__container{
        height: auto;
        max-height: 85dvh;
    }
}
/* img */
#photoArea{
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
    padding: 0%;
    margin: 0%;
}
#listWrap{
    order: 2;
    width: min-content;
    height: min-content;
    padding: 0;
}
.photoList{
    display: none;
    flex: 0 0;
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    transition: all .5s ease;
    max-width: calc(90vw - 100px);
    max-height: 85dvh;
    box-shadow: 5px 5px 12px 0px rgb(27 27 27 / 60%);
}
.photoList.js-active{
    display: block;    
}
.photoListText{
    display: block;
    width: 100%;
    box-sizing: border-box; 
    height: auto;
    max-height: 3rem;
    margin-top: 4px;
    margin-bottom: 0;
    text-wrap: wrap;
    overflow-y: auto;
}
.photoListImg{
    object-fit: cover;
    width: auto;
    height: auto;
    max-width: calc(90vw - 130px);
    max-height: calc(85dvh - 80px);
}
#photoPrev{
    background: url(./assets/icons/next-w.svg) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    transition: all ease-in-out .2s;
    order: 1;
    margin-right: 10px;
    transform: rotate(180deg);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#photoNext{
    background: url(./assets/icons/next-w.svg) no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    transition: all ease-in-out .2s;
    order: 3;
    margin-left: 10px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    #photoArea{
        flex-wrap: wrap;
    }
    #listWrap{
        order: 0;
    }
    .photoList{
        padding: 8px;
    }
    .photoListText{
        font-size: 0.8rem;
        line-height: 1.0rem;
    }
    #photoPrev{
        order: 1;
        width: 30px;
    }
    #photoNext{
        order: 1;
        width: 30px;
    }
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #listWrap{
        order: 2;
    }
    .photoList{
        padding: 8px;
    }
    .photoListText{
        font-size: 0.8rem;
        line-height: 1.0rem;
    }
    #photoPrev{
        width: 30px;
    }
    #photoNext{
        width: 30px;
    }
}
@media screen and (max-width:768px) and (orientation: portrait) {
    #photoArea{
        flex-wrap: wrap;
    }
    #listWrap{
        order: 0;
    }
    .photoList{
        max-width: 90vw;
    }
    .photoListImg{
        max-width: calc(90vw - 30px);
    }
    #photoPrev{
        display: inline-block;
        order: 1;
        width: 30px;
        margin-top: 10px;
    }
    #photoNext{
        display: inline-block;
        order: 1;
        width: 30px;
        margin-top: 10px;
    }
    .photoListText{
        font-size: 0.8rem;
        line-height: 1.0rem;
    }
}
/* movie */
.landscape{
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 85dvh;
}
.portrait{
    width: auto;
    height: 100%;
    max-width: 90vw;
    max-height: 85dvh;
}
/* text */
.modalText{
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    border: 5px solid #a8d6fa;
    width: 80vw;
}
.modalText__content{
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.75rem;
}
.modalText__linkItem{
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
    pointer-events: auto;
}
.modalText__linkItem::after{
    display: inline-block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-image: url(./assets/icons/link.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-left: 5px;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.modalText__links{
    margin-top: 10px;
}
@media only screen and (max-width: 1280px)  {
    .modalText__content{
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    .modalText__links{
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
}
/* quiz */
.modalQuiz{
    display: block;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    border: 5px solid #a8d6fa;
    width: 60vw;
    max-height: 85dvh;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}
.modalQuiz__question{
    line-height: 1.25rem;
    font-size: 1.0rem;
    margin-top: 0;
    margin-bottom: 0;
}
#modalQuiz__choices{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
    width: 100%;
    padding-top: 10px;
    padding-left: 0;
    padding-bottom: 10px;
    padding-right: 0;
}
.choice{
    width: 40%;
    padding: 0.8rem;
    background-color: #369de3;
    box-shadow: 0 5px 0 #0066ab;
    border-radius: 60px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    transition: all .1s;
}
#modalQuiz__describe > p {
    margin: 0;
}
@media (hover: hover) and (pointer: fine) {
    .choice:hover{
        box-shadow: none;
        transform: translateY(5px);
    }
}
.choice.unselected{
    background-color: #8a8a8a;
    box-shadow: 0 5px 0 #3a3a3a;
}
#modalQuiz__judgment{
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    line-height: 2rem;
    padding-bottom: 0.5rem;
}
#modalQuiz__judgment.js-correct{
    color: #ca1c30;
}
#modalQuiz__judgment.js-uncorrect{
    color: #1f1cca;
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .modalQuiz__question{
        line-height: 1.2rem;
        font-size: 0.9rem;
    }
    #modalQuiz__choices{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .choice{
        font-size: 1.0rem;
        padding: 0.5rem;
    }
    #modalQuiz__judgment {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
    #modalQuiz__describe > p{
        line-height: 1.2rem;
        font-size: 0.9rem;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    .modalQuiz__question{
        line-height: 1.2rem;
        font-size: 0.9rem;
    }
    #modalQuiz__choices{
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .choice{
        width: 80%;
        font-size: 1.0rem;
        padding: 0.5rem;
    }
    #modalQuiz__judgment {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
    #modalQuiz__describe > p{
        line-height: 1.2rem;
        font-size: 0.9rem;
    }
}
/* chart */
.modalChart{
    display: block;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    border: 5px solid #a8d6fa;
    width: 40vw;
    height: auto;
    max-width: 60vw;
    max-height: 90dvh;
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
}
#chartTitle{
    font-size: 1.3rem;
    margin-top: 0px;
    margin-bottom: 10px;
}
#wrapCanvas{
    width: 60%;
    height: auto;
    max-width: 60%;
    max-height: 60%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
#chartArea{
    background-color: #ffffff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.chartMessage{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
}
.chartText{
    flex-basis: auto;
    position: relative;
    width: fit-content;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 10px;
    background-color: #dedede;
    padding: 10px;
    border-radius: 10px;
    text-wrap: wrap;
}
.chartText::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-style: solid;
    border-width: 7px 15px 7px 0;
    border-color: transparent #dedede transparent transparent;
    translate: -100% -50%;
}
.human01{
    flex-basis: 60px;
    display: inline-block;
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(./assets/icons/human01.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.human02{
    display: inline-block;
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(./assets/icons/human02.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.human03{
    display: inline-block;
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(./assets/icons/human03.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.human04{
    display: inline-block;
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(./assets/icons/human04.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 1280px) {
    .modalChart{
        width: 60vw;
        max-width: 60vw;
        height: fit-content;
        max-height: 85dvh;
        padding: 10px;
        overflow-y: scroll;
    }
    #chartTitle {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    .chartMessage{
        margin-right: 10px;
        margin-left: 10px;
        font-size: 0.9rem;
    }
    .chartText{
        padding-top: 6px;
        padding-right: 10px;
        padding-bottom: 6px;
        padding-left: 10px;
        font-size: 0.9rem;
    }
    .human01 {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
    .human02 {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
    .human03 {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
    .human04 {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    .modalChart{
        width: 90vw;
        max-width: 90vw;
        padding: 10px;
        height: fit-content;
        max-height: 85dvh;
    }
    .chartMessage{
        margin-right: 10px;
        margin-left: 10px;
        font-size: 0.9rem;
    }
    .modalQuiz{
        width: 80vw;
        padding: 10px;
    }
}

@media screen and (max-width:768px) {
    .modalChart{
        width: 90vw;
        max-width: 90vw;
        padding: 10px;
        overflow: auto;
        height: fit-content;
        max-height: 85dvh;
    }
    .chartMessage{
        margin-right: 10px;
        margin-left: 10px;
    }
    #wrapCanvas{
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 80%;
    }
}

/* -------------------------------------- 
    explain 
-------------------------------------- */
#explainRegion{
    position: relative;
    width: 100%;
    touch-action: pan-x pan-y;
}
#explainRegion.js-close{
    width: 60px;
    height: 60px;
}
#explainWrap{
    width: 100%;
    transition: opacity ease-in-out .3s;
    user-select: none;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding-top: 0px;
    padding-right: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    box-shadow: 6px 6px 11px 2px rgba(27, 27, 27, 0.27);
    z-index: 10;
}
#explainWrap::before{
    display: inline-block;
    width: 100%;
    height: 30px;
    content: "";
    background-image: url(./assets/icons/decoration.svg);
    background-size: 50px 30px;
    background-position: center;
    background-repeat: space;
    margin-bottom: 15px;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#explainWrap.js-close{
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
}
.explainWrapInner{
    /* 点線2の色と太さ */
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), 
                      linear-gradient(180deg, #433a38 1px, transparent 1px);
    /* 点線1のサイズ */ /* 点線2のサイズ */
    background-size: 10px 100%, 
                     100% 2.0rem;
    padding-bottom: 1px; /* 最終行の下にも罫線を引く */
    overflow-y: auto;
    background-attachment: local;
    position: relative;
    max-height: calc(10rem + 1px);
}
#explainState{
    position: absolute;
    top: -10px;
    right: -2%;
    display: inline-block;
    content: "";
    background-image: url(./assets/icons/explain_close.svg);
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all ease-in-out .2s;
    z-index: 100;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    #explainState:hover{
        opacity: .9;
    }
}
#explainState.js-close{
    background-image: url(./assets/icons/explain_open.svg);
    width: 60px;
    height: 60px;
    background-size: 100% 100%;
    top: -15px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.explainWrap__text {
    position: relative;
    line-height: 2.0rem;
    padding-right: 0.5rem;
    padding-bottom: 0;
    padding-left: 0.5rem; 
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
}
.explainWrap__text--en{
    font-size: 0.9rem;
    line-height: 2.0rem;
}
.explainWrap__text__label{
    display: block;
    font-weight: bolder;
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #explainRegion{
        display: grid;
        grid-area: left;
        width: fit-content;
    }
    #explainRegion.js-close {
        width: 40px;
        height: 40px;
    }
    
    #explainState{
        width: 30px;
        height: 30px;
        top: -6px;
        right: -2%;
    }
    #explainState.js-close{
        width: 40px;
        height: 40px;
        top: 0;
        right: 0px;
    }
    #explainWrap{
        padding-right: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
        border-radius: 15px;
        width: 24.5vw;
    }
    #explainWrap::before{
        height: 25px;
        background-size: 35px 25px;
        margin-bottom: 10px;
    }
    .explainWrap__text{
        font-size: 0.8rem;
        line-height: 1.45rem;
    }
    .explainWrap__text--en{
        font-size: 0.8rem;
        line-height: 1.45rem;
    }
    .explainWrapInner{
        background-size: 10px 100%, 100% 1.45rem;
    }
}
@media screen and (max-width:768px) {
    .explainWrap__text{
        font-size: 0.8rem;
        line-height: 1.45rem;
    }
    .explainWrap__text--en{
        font-size: 0.7rem;
        line-height: 1.45rem;
    }
    .explainWrapInner{
        background-size: 8px 100%, 100% 1.45rem;
    }
    #explainRegion.js-close {
        width: 30px;
        height: 30px;
    }
    #explainState{
        width: 30px;
        height: 30px;
        top: -6px;
        right: -2%;
    }
    #explainState.js-close{
        height: 40px;
        width: 40px;
        top: -5px;
    }
    #explainWrap{
        padding-right: 5px;
        padding-bottom: 5px;
        padding-left: 5px;
        border-radius: 15px;
    }
    #explainWrap::before{
        height: 25px;
        background-size: 35px 25px;
        margin-bottom: 10px;
    }
}

/* -------------------------------------- 
    mini map 
-------------------------------------- */
#minimapRegion{
    position: relative;
    touch-action: pan-x pan-y;
}
#minimapRegion.js-close{
    width: 60px;
    height: 60px;
}
#minimapWrap{
    height: auto;
    width: 100%;
    padding: 10px;
    transition: all .2s ease-in-out;
    user-select: none;
    background-color: #ffffffb3;
    border-radius: 30px;
    z-index: 101;
    box-shadow: 6px 6px 11px 2px rgba(27, 27, 27, 0.27);
    transition: transform 0.2s;
    transform-origin: top right;
    transition: opacity ease-in-out .2s;
}
#minimap{
    width: 100%;
    height: auto;    
}
#mapArea{
    position: relative;
    margin-top: 4%;
    padding-left: 4%;
    padding-right: 4%;
}
.minimapBtn{
    position: absolute;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    border-radius: 100%;
    cursor: pointer;
    z-index: 11;
    border: 3.5px solid #ffffff;
    transition: all .2s ease-in-out;
    transform-origin: center center;
}
.minimapBtn#currentMarker{
    z-index: 11;
    width: 23px;
    height: 23px;
    transition: opacity ease-in-out .2s;
}
#fov{
    position: absolute;
    content: "";
    z-index: 10;
    width: 0;
    height: 0;
    border: 36px solid transparent;
    border-top: 36px solid;
    border-radius: 100%;
    transform-origin: center center;
}
#mapHeader{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#mapLabel{
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
    margin-left: 10px;
    text-align: center;
    color: #564E4D;
    text-wrap: nowrap;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 2px solid #564E4D;
    line-height: 1.2rem;
}
.mapTooltip{
    display: block;
    visibility:visible;
    position: absolute;
    top: var(--hoverTop);
    right: var(--hoverRight);
    background-color: #0c0c0ccc;
    border-radius: 5px;
    cursor: pointer;
    padding: 3px 8px;
    font-size: 0.9rem;
    white-space: pre;
    color: #ffffff;
    z-index: 111;
    box-sizing: border-box;
    transform: translateY(5%) translateX(0%);
}
.mapTooltip::after{
    display: inline-block;
    content: "";
    position: absolute;
    top: 99%;
    right: var(--hoverRightTri);
    width: 8px;
    height: 8px;
    background: #0c0c0ccc;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    cursor: pointer;
    z-index: 111;
    box-sizing: border-box;
    transform-origin: bottom;
}

@media only screen and (max-width: 1280px) and (orientation: portrait) {
    /* スマホ縦の想定 */
    .minimapBtn{
        border: 2.5px solid #ffffff;
    }
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #minimapRegion{
        display: grid;
        grid-area: right;
        position: unset;
    }
    #minimapRegion.js-close{
        width: 40px;
        height: 40px;
    }
    #minimapWrap{
        border-radius: 15px;
        padding: 5px;
        width: 24.5vw;
    }
    #mapLabel{
        font-size: 1.1rem;
    }
    #mapArea{
        margin-top: 2%;
        padding-left: 2%;
        padding-right: 2%;
    }
    .minimapBtn{
        width: 16px;
        height: 16px;
        border: 2.5px solid #ffffff;
    }
    .minimapBtn#currentMarker{
        width: 18px;
        height: 18px;
    }
    #fov{
        border: 25px solid transparent;
        border-top: 25px solid; 
    }
}

@media screen and (max-width:768px) {
    .minimapBtn{
        width: 14px;
        height: 14px;
        border: 2px solid #ffffff;
    }
    .minimapBtn#currentMarker{
        width: 16px;
        height: 16px;
    }
    #mapLabel{
        line-height: 1.1rem;
        font-size: 1.0rem;
        padding: 0.2rem 0.6rem;
    }
    #fov{
        border: 25px solid transparent;
        border-top: 25px solid; 
    }
}
@media (hover:none) and (pointer:coarse) {
    .mapTooltip {
        display: none;
    }
    .mobile #minimap{
        pointer-events: auto;
        touch-action: none;
    }
}


/* -------------------------------------- 
    mini map floor changer
-------------------------------------- */
.floorBar{
    position: absolute;
    background-color: #7b7473;
    border-radius: 12px 12px 12px 12px
}
.floorIcon{
    display: block;
    position: absolute;
    transition: all ease-in-out .3s;
    cursor: pointer;
    user-select: none;
    border-style: solid;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 18px solid #ffffff;
    border-top: 0;
}
.fullFloorIcon{
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: #7b7473;
}
.fullFloorIcon::after{
    display: block;
    content: "";
    position: absolute;
    left: 25%;
    top: 20%;
    transition: all ease-in-out .3s;
    cursor: pointer;
    user-select: none;
    border-style: solid;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 24px solid #ffffff;
    border-top: 0;
}
@media (hover: hover) and (pointer: fine) {
    .floorIcon:hover{
        opacity: .7;
    }
}

#upFloor{
    transform: translate(-50%, -50%) rotate(0deg);
}
#downFloor{
    transform: translate(-50%, -50%) rotate(180deg);
}
#leftFloor{
    transform: translate(-50%, -50%) rotate(270deg);
}
#rightFloor{
    transform: translate(-50%, -50%) rotate(90deg);
}


/*Type2*/
.floor{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: auto;
    margin-top: 2%;
    margin-left: 10%;
    margin-right: 10%;
}
.floorList{
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
    transition: allease-in-out .3s;
    cursor: pointer;
    user-select: none;
    z-index: 11;
}
@media (hover: hover) and (pointer: fine) {
    .floorList:hover{
        opacity: .9;
    }
}
.floorList::after{
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.floorList-prev{
    background-image: url(./assets/icons/next.svg);
    transform: rotate(180deg);
}
.floorList-next{
    background-image: url(./assets/icons/next.svg);
}
.bullet{
    display: flex;
    justify-content: space-evenly;
    width: calc(100% - 70px);
    padding: 0;
    margin: 0;
}
.bulletItem{
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #979797;
    border-radius: 100%;
}
.bulletItem.current{
    background-color: #4F4644;
}

/* minimapState */
#minimapState{
    position: absolute;
    top: -10px;
    right: -2%;
    display: inline-block;
    content: "";
    background-image: url(./assets/icons/minimap_close.svg);
    width: 45px;
    height: 45px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all ease-in-out .2s;
    z-index: 102;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    #minimapState:hover{
        opacity: .9;
    }
}
#minimapState.js-close{
    background-image: url(./assets/icons/minimap_open.svg);
    width: 60px;
    height: 60px;
    background-size: 100% 100%;
    top: 0;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#minimapWrap.js-close{
    visibility: hidden;
    opacity: 0;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
}
/* resize */
#minimapResize{
    background-image: url(./assets/icons/resizemap.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: all ease-in-out .2s;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    #minimapResize:hover{
        opacity: .9;
    }
}
#mapArea.js-resize{
    width: 40vw;
    height: auto;
    max-height: 90dvh;
    margin-top: 0%;
    padding-left: 0%;
    padding-right: 0%;
}
#mapArea.js-resize > .minimapBtn{
    transform: scale(1.5);
    transform-origin: center center;
}
#minimapRegion.js-resize{
    display: none;
}
#mapLabel.js-resize{
    border-bottom: 2px solid #ffffff;
    margin-bottom: 10px;
    font-size: 1.6rem;
    color: #ffffff;
}
@media only screen and (max-width: 1280px) and (orientation: portrait) {
    /* スマホ縦の想定 */
    #mapArea.js-resize{
        width: 80vw;
        height: auto;
        max-width: 80vw;
        max-height: 90dvh;
        margin-top: 0%;
        padding-left: 0%;
        padding-right: 0%;
    }
    #mapArea.js-resize > .minimapBtn{
        transform: scale(1.5);
        transform-origin: center center;
    }
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #minimapState{
        width: 30px;
        height: 30px;
        top: -6px;
    }
    #minimapState.js-close{
        width: 40px;
        height: 40px;
        top: 0px;
    }
    #minimapResize{
        width: 30px;
        height: 30px;
    }
    .floor{
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
    }
    .floorList{
        width: 30px;
        height: 30px;
    }
    .bulletItem{
        width: 10px;
        height: 10px;
    }
    #mapArea.js-resize {
        width: fit-content;
        height: auto;
        max-height: calc(85dvh - 22px);
    }
    #mapArea.js-resize > #minimap{
        width: auto;
        max-height: calc(85dvh - 22px);
    }
    #mapArea.js-resize > .minimapBtn{
        transform: scale(1.2);
    }
    #mapLabel.js-resize{
        font-size: 1.4rem;
    }
}
@media screen and (max-width:768px) {
    #minimapRegion.js-close {
        height: 40px;
        width: 40px;
    }
    #minimapWrap{
        border-radius: 15px;
        padding: 5px;
    }
    #minimapWrap.js-resize{
        visibility: hidden;
        opacity: 0;
        height: 0;
    }
    #minimapState{
        width: 30px;
        height: 30px;
    }
    #minimapState.js-resize{
        right: -7px;
        top: -8px;
        width: 60px;
        height: 60px;
    }
    #minimapState.js-close{
        height: 40px;
        width: 40px;
    }
    .floor{
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
    }
    .floorList{
        width: 30px;
        height: 30px;
    }
    .bulletItem{
        width: 10px;
        height: 10px;
    }
    .bullet{
        width: calc(100% - 60px);
    }
    #minimapResize{
        width: 30px;
        height: 30px;
    }
}
@media screen and (max-width:768px) and (orientation: landscape) {
    #minimapState.js-close{
        top: -5px;
    }
}
/* -------------------------------------- 
    switcher
-------------------------------------- */
.switcherBtn{
    position: relative;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 60px;
    height: 60px;
    transition: all ease-in-out .2s;
    border-radius: 100%;
    font-size: 1.0rem;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    .switcherBtn:hover{
        opacity: .8;
    }
    .switcherBtn:hover::after{
        display: inline-block;
        position: absolute;
        top: 50%;
        left: 70px;
        width: auto;
        padding: 5px;
        text-align: center;
        background-color: #0c0c0c;
        color: #ffffff;
        text-wrap: nowrap;
        line-height: 1.2rem;
        border-radius: 6px;
        z-index: 100;
        transform: translate(0%,-50%);
    }
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .switcherBtn{
        height: 36px;
        width: 36px;
    }
}
@media screen and (max-width:768px) {
    .switcherBtn{
        height: 36px;
        width: 36px;
    }
}

@media (hover:none) and (pointer:coarse) {
    .switcherBtn:hover::after{
        display: none;
    }
}
/* -------------------------------------- 
    story
-------------------------------------- */
#storyBtn{
    background: url(./assets/icons/walk.svg);
}
@media (hover: hover) and (pointer: fine) {
    #storyBtn:hover::after{
        content: "ウォークスルー";
    }
}
.storyList{
    display: none;
    position: absolute;
    bottom: 85px;
    padding-top: 0.3rem;
    padding-right: 0.8rem;
    padding-bottom: 0.3rem;
    padding-left: 1.0rem;
    margin: 0;
}
.storyList.display{
    display: block;
    left: 70px;
    top: -20px;
    width: max-content;
    background: #ffffff;
    height: fit-content;
    border-radius: 13px;
    filter: drop-shadow(6px 3px 8px rgba(0, 0, 0, 0.4));
}

@media (hover: hover) and (pointer: fine) {
    .storyList.display:hover{
        opacity: none;
    }
}
#storyState{
    position: absolute;
    top: 0%;
    right: 0%;
    display: inline-block;
    content: "";
    background-image: url(./assets/icons/minimap_close.svg);
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all ease-in-out .2s;
    transform: translate(50%, -50%);
    z-index: 100;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
.storyList__item{
    position: relative;
    padding-top: 0.3rem;
    padding-right: 2rem;
    padding-bottom: 0.3rem;
    padding-left: 0.2rem;
    width: 100%;
    max-width: 75vw;
    word-wrap: break-word;
    font-size: 1.0rem;
    text-align: left;
    background: linear-gradient(#53a0c1 0 0) var(--p, 0) 100% / var(--d, 0) 2px no-repeat;
    transition: 0.3s, background-position 0s 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .storyList__item:hover{
        opacity: 1;
        --d: 100%;
        --p: 100%;
    }
}
.storyList__item::after{
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-block;
    content: "";
    background-image: url(./assets/icons/go.svg);
    width: 1rem;
    height: 0.5rem;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%,-50%);
    transition: all ease-in-out .2s;
    z-index: 100;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
@media (hover: hover) and (pointer: fine) {
    .storyList__item:hover::after{
        right: -5px;
    }
}
.storyList__item:active{
    color: #53a0c1;
}
#storyCommentRegion{
    width: 100%;
    height: auto;
    max-height: 50dvh;
    background-color: #ffffff;
    padding: 15px;
    transition: all ease-in-out .3s;
    border-radius: 30px;
    overflow-y: clip;
    box-shadow: 6px 6px 11px 2px rgba(27, 27, 27, 0.27);
    touch-action: pan-x pan-y;
}
.storyPanel{
    max-height: calc(50dvh - 120px);
    overflow-y: scroll;
}
#storyPanel__icon{
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    justify-content: flex-end;
    align-items: center;
    column-gap: 10px;
    height: 40px;
}
#stopStory{
    background: none;
    background-image: url(./assets/icons/stop.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    border: none;
    transition: all ease-in-out .2s;
    z-index: 100;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
    #stopStory:hover{
        position: relative;
        cursor: pointer;
        opacity: .8;
    }
    #stopStory:hover::after{
        display: inline-block;
        content: "ウォークスルーをやめる";
        position: absolute;
        top: 46px;
        left: -5rem;
        width: auto;
        padding: 5px;
        text-align: center;
        background-color: #0c0c0c;
        color: #ffffff;
        text-wrap: nowrap;
        border-radius: 6px;
        z-index: 100;
    }
    #storyBtn.active:hover{
        opacity: 1;
    }
    #storyBtn.active:hover::after{
        display: none;
    }
}
#pauseStory{
    background: none;
    background-image: url(./assets/icons/pause.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    border: none;
    transition: all ease-in-out .2s;
    z-index: 100;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: auto;
}
@media (hover: hover) and (pointer: fine) {
    #pauseStory:hover{
        position: relative;
        cursor: pointer;
        opacity: .8;
    }
    #pauseStory:hover::after{
        display: inline-block;
        content: "停止・再開";
        position: absolute;
        top: 46px;
        left: -2rem;
        width: auto;
        padding: 5px;
        text-align: center;
        background-color: #0c0c0c;
        color: #ffffff;
        text-wrap: nowrap;
        border-radius: 6px;
        z-index: 100;
    }
    #pauseStory[disabled]:hover{
        opacity: 1;
    }
}
#pauseStory.resume{
    background-image: url(./assets/icons/play.svg);
}
#pauseStory.pause-void{
    background-image: url(./assets/icons/pause-void.svg);
}
.storyPanel__ttl{
    font-size: 1.1rem;
    line-height: 1.2rem;
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0;
    color: #444;
    text-align: center;
}
.storyPanel__ttl--en{
    font-size: 1.0rem;
}
.storyPanel__ttl + .storyPanel__ttl{
    padding-top: 0;
}
.storyPanel__unitTtl > .unitTtl--en{
    display: contents;
    font-size: 0.8rem;
}
.storyPanel__list{
    height: auto;
}
.storyPanel__unit{
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    margin: 0;
    border-bottom: 1px solid #b9b9b9;
    color: #444;
    box-sizing: border-box;
}
.storyPanel__unitTtl{
    position: relative;
    display: flex;
    align-items: center;
    padding-left: calc(1rem + 3px);
    padding-right: 30px;
    font-size: 0.9rem;
    font-weight: bolder;
    line-height: 1.0rem;
}
.storyPanel__unitTtl::after{
    position: absolute;
    right: 20px;
    top: 2px;
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #6d6d6d;
    border-right: 2px solid #6d6d6d;
    transform: rotate(135deg);
    transition: all .3s;
}
@media (hover: hover) and (pointer: fine) {
    .storyPanel__unitTtl:hover{
        cursor: pointer;
    }
}
.storyPanel__unitTtl__icon{
    position: absolute;
    left: 0;
    display: inline-block;
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 100%;
    background: #000000;
}
.storyPanel__unitComment{
    display: none;
    padding-top: 6px;
    margin-left: calc(1rem + 3px);
    margin-right: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.1rem;
}
.storyPanel__unitComment > .unitComment--en{
    display: block;
    font-size: 0.85rem;
}
.storyPanel__unitTtl.js-toggle::after{
    transform: rotate(-45deg);
}
.js-toggle .js-slide{
    display: block !important;
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .storyList{
        padding-top: 0.1rem;
        padding-right: 0.8rem;
        padding-bottom: 0.1rem;
        padding-left: 0.5rem;
    }
    .storyList.display{
        top: -15px;
        left: 45px;
        border-radius: 8px
    }
    .storyList__item{
        font-size: 0.9rem;
        padding-top: 0.1rem;
        padding-bottom: 0.1rem;
    }
    #storyCommentRegion{
        order: 0;
        width: 25vw;
        max-height: 85dvh;
        padding: 5px;
        border-radius: 15px;
        overflow-y: clip;
    }
    #storyPanel__icon{
        height: 35px;
    }
    #stopStory{
        width: 35px;
        height: 35px;
    }
    #pauseStory{
        width: 35px;
        height: 35px;
    }
    .storyPanel {
        max-height: calc(85dvh - 120px);
    }
    .storyPanel__ttl{
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    .storyPanel__unit{
        padding-bottom: 0.2rem;
        padding-top: 0.2rem;
        margin: 0;
    }
    .storyPanel__unitTtl{
        font-size: 0.8rem;
    }
    .storyPanel__unitTtl::after{
        right: 15px;
    }
    .storyPanel__unitComment{
        font-size: 0.8rem;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait){
    .storyPanel__unitTtl{
        font-size: 0.9rem;
    }
    .storyPanel__unitComment{
        font-size: 0.9rem;
    }
}
@media only screen and (max-width: 1280px) and (orientation: landscape) and (hover: hover) and (pointer: fine){
    #storyBtn:hover::after{
        left: 50px;
        font-size: 0.9rem;
    }
    #pauseStory:hover::after{
        left: -3rem;
    }
}
@media screen and (max-width:768px) {
    #storyCommentRegion{
        top: unset;
        bottom: 0;
        width: 100%;
        height: 25%;
        padding: 5px;
        border-radius: 15px;
        overflow-y: clip;
    }
    .storyList{
        padding-top: 0.1rem;
        padding-right: 0.8rem;
        padding-bottom: 0.1rem;
        padding-left: 0.5rem;
    }
    .storyList.display{
        top: -15px;
        left: 45px;
        border-radius: 8px
    }
    .storyList__item{
        font-size: 0.9rem;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    #storyCommentRegion{
        order: 0;
        width: 100%;
        padding: 5px;
        border-radius: 15px;
        overflow-y: clip;
    }
    #storyPanel__icon{
        height: 30px;
    }
    #stopStory{
        width: 30px;
        height: 30px;
    }
    #pauseStory{
        width: 30px;
        height: 30px;
    }
    .storyPanel__ttl{
        font-size: 0.9rem;
        line-height: 1.2rem;
    }
    .storyPanel__unit{
        padding-bottom: 0.2rem;
        padding-top: 0.2rem;
        margin: 0;
    }
    .storyPanel__unitTtl{
        font-size: 0.8rem;
    }
    .storyPanel__unitTtl::after{
        right: 10px;
        width: 6px;
        height: 6px;
    }
    .storyPanel__unitComment{
        margin-right: 2px;
        padding-top: 2px;
        font-size: 0.8rem;
    }   
}
@media screen and (max-width:768px) and (hover: hover) and (pointer: fine) {
    #storyBtn:hover::after{
        left: 50px;
        font-size: 0.9rem;
    }
    #pauseStory:hover::after{
        left: -3rem;
    }
}
@media screen and (max-width:768px) and (orientation: landscape) {
    #storyCommentRegion{
        width: 25vw;
        height: fit-content;
        max-height: 85dvh;
    }
}
/* -------------------------------------- 
    around
-------------------------------------- */
#aroundBtn{
    background: url(./assets/icons/around.svg) no-repeat;
}

/* -------------------------------------- 
    googlemap
-------------------------------------- */
#googleBtn{
    background: url(./assets/icons/google.svg) no-repeat;
}
@media (hover: hover) and (pointer: fine) {
    #googleBtn:hover::after{
        content: "Google Map";
    }
}
.googlemap{
    position: relative;
    width: 100%;
    height: 100%;
}
.googlemap iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.modalInner__container--google {
    width: 85vw;
    height: 90dvh;
}

/* -------------------------------------- 
    imgmap
-------------------------------------- */
.imgmap{
    max-width: 85vw;
    max-height: 90dvh;
}
#imgmapBtn{
    background: url(./assets/icons/around.svg) no-repeat;
}
@media (hover: hover) and (pointer: fine) {
    #imgmapBtn:hover::after{
        content: "周辺地図";
    }
}

/* -------------------------------------- 
    overview
-------------------------------------- */
#overviewBtn{
    background: url(./assets/icons/overview.svg);
}
@media (hover: hover) and (pointer: fine) {
    #overviewBtn:hover::after{
        content: "概要";
    }
}
#overview{
    width: 50vw;
    max-width: 60vw;
    max-height: 85dvh;
    overflow-y: auto;
}
.overviewImg{
    width: 100%;
}
.overviewInfo{
    display: flex;
    margin: 0;
    border-bottom: 1px solid #858585;
    width: 100%;
}
.overviewInfo_ttl{
    background-color: #eeeeee;
    width: 30%;
    margin: 0;
    padding: 5px;
}
.overviewInfo_cnt{
    background-color: #ffffff;
    width: 35%;
    margin: 0;
    padding: 5px;
}
.overviewInfo_cnt.en{
    font-size: 0.9rem;
}

@media only screen and (max-width: 1280px) and (orientation: landscape) {
    .overviewInfo{
        font-size: 0.8rem;
    }
    .overviewInfo_cnt.en {
        font-size: 0.7rem;
    }
}
@media screen and (max-width:768px) {
    #overview{
        width: 85vw;
        max-width: 85vw;
        max-height: 85dvh;
    }
    .overviewInfo{
        flex-direction: column;
        font-size: 0.8rem;
    }
    .overviewInfo_ttl{        
        padding: 2px 8px;
        width: 100%;
        font-size: 0.8rem;
    }
    .overviewInfo_cnt{
        width: 100%;
        padding-top: 0;
        padding-right: 8px;
        padding-bottom: 2px;
        padding-left: 8px;
        font-size: 0.8rem;
    }
    .overviewInfo_cnt:first-of-type{
        padding-top: 2px;
    }
    .overviewInfo_cnt.en {
        font-size: 0.7rem;
    }
}
/* -------------------------------------- 
    logo
-------------------------------------- */
#logoRegion{
    position: absolute;
    top: 10px;
    left: 10px;
    height: auto;
    user-select: none;
}
#logoImg{
    width: 100%;
    height: auto;
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #logoRegion{
        width: 20% !important;
    }
}
@media only screen and (max-width: 1280px) and (orientation: portrait){
    #logoRegion{
        width: 30% !important;
    }
}
@media screen and (max-width:768px) and (orientation: portrait) {
    #logoRegion{
        width: 30% !important;
    }
}
@media screen and (max-width:768px) and (orientation: landscape) {
    #logoRegion{
        width: 15% !important;
    }
}


/* -------------------------------------- 
    walk through 切り替え
-------------------------------------- */
.leftCurtainbg {
    display: block;
    content: "";
    position:fixed;
    z-index: 999;
    width: 100%;
    height: 100dvh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #53a0c1;
    animation-name:curtainAnime;
    animation-duration:1.2s;
    animation-timing-function:ease-in-out;
    animation-fill-mode:forwards;
}

@keyframes curtainAnime {
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

.fadeout {
  animation : fadeOut 1s;
  animation-fill-mode: both;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにpageOnクラスがついたら出現*/
body.pageOn #container{
	animation-name:PageAnimeOn;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeOn{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
    }
}

/* -------------------------------------- 
    help
-------------------------------------- */
#helpBtn{
    background: url(./assets/icons/help.svg);
}
@media (hover: hover) and (pointer: fine) {
    #helpBtn:hover::after{
        content: "ヘルプ";
    }
}

/* -------------------------------------- 
    home
-------------------------------------- */
#homeBtn{
    background: url(./assets/icons/home.svg);
}
@media (hover: hover) and (pointer: fine) {
    #homeBtn:hover::after{
        content: "ホーム";
    }
}

/* -------------------------------------- 
    gyro sensor
-------------------------------------- */
#gyroRegion{
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 20px;
    margin-top: -5px
}
#gyroBtn{
    position: relative;
    background: url(./assets/icons/both.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 60px;
    height: 60px;
    transition: all ease-in-out .2s;
    border-radius: 100%;
    font-size: 1.0rem;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}
#gyroBtn.both{
    background: url(./assets/icons/both.svg);
}
#gyroBtn.onlySwipe{
    background: url(./assets/icons/onlySwipe.svg);
}
#gyroBtn.onlySensor{
    background: url(./assets/icons/onlySensor.svg);
}
@media (hover: hover) and (pointer: fine) {
    #gyroBtn:hover::after{
        display: inline-block;
        content: "センサー";
        position: absolute;
        top: 50%;
        left: 70px;
        width: auto;
        height: auto;
        padding: 5px;
        text-align: center;
        background-color: #0c0c0c;
        color: #ffffff;
        text-wrap: nowrap;
        line-height: 1.2rem;
        border-radius: 6px;
        z-index: 100;
        transform: translate(0%,-50%);
    }
}
@media only screen and (max-width: 1280px) and (orientation: landscape) {
    #gyroRegion {
        padding-left: 10px;
        padding-right: 0px;
        margin-top: 3px;
        margin-bottom: 10px;
        gap: 3px;
    }
    #gyroBtn{
        height: 36px;
        width: 36px;
    }
}
@media screen and (max-width:768px) {
    #gyroRegion {
        padding-left: 10px;
        padding-right: 0px;
        margin-top: 2px;
    }
    #gyroBtn {
        height: 36px;
        width: 36px;
    }
}
@media (hover:none) and (pointer:coarse) {
    #gyroBtn:hover::after{
        display: none;
    }
}
#gyroBtn::after {
    position: absolute;
    content: "";
    animation: var(--waveAnimation);
	animation-iteration-count: 5;
    animation-fill-mode: forwards;
    background:rgba(255, 255, 255, 0.8);
    height: var(--waveHeight);
    width: var(--waveWidth);
    top: 0px;
    left: 0px;
    border-radius: 100%;
    z-index: -10;
}

@keyframes wave {
	0% {transform: scale(1, 1); }
	50% {opacity: 1;}
	100% {transform: scale(1.2, 1.2); opacity: 0.0;}
}

/* -------------------------------------- 
    help
-------------------------------------- */
.modalInner__container--help{
    width: 80vw;
    max-width: 80vw;
    height: auto;
    max-height: 90dvh;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    overflow-y: scroll;
    box-shadow: 5px 5px 12px 0px rgb(27 27 27 / 60%);
    font-size: 1rem;
}
.helpSec + .helpSec{
    margin-top: 2.5rem;
}
.helpSec > p{
    margin-bottom: 0;
    margin-top: 0.8rem;
}
.help__Ttl{
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    line-height: 2.0rem;
    margin: 0;
}
.help__Ttl::before{
    content: "";
    display: inline-block;
    width: 6px;
    height: 2.0rem;
    margin-right: 0.4rem;
    border-radius: 3px;
    background-color: #53a0c1;
}
.help__Lead{
    font-size: 1.2rem;
    line-height: 1.6rem;
    border-bottom: 2px solid #53a0c1;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    margin-bottom: 0;
}
.help__unit{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
}
.help__unit__item{
    flex-basis: 30%;
    padding: 15px;
    margin: 0;
    box-shadow: 5px 5px 9px 0px rgba(149, 149, 149, 0.45);
    border-radius: 8px;
    background-color: #f1f1f1;
    margin-top: 20px;
}
.help__unit__item--min{
    flex-basis: 15%;
}
.help__unit__ttl{
    text-align: center;
    font-weight: bold;
}
.help__unit__img{
    margin-inline-start: 0;
    width: 100%;
    text-align: center;
    margin-top: 0.2rem;
}
.help__unit__img > img{
    width: 20%;
}
.help__unit__img--min > img{
    width: 14%;
}
.help__unit__img--thumb > img {
    width: 22%;
}
.help__unit__text{
    margin-inline-start: 0;
    margin-top: 0.8rem;
}
.help__list{
    padding-inline-start: 1.5rem;
}
.help__list__text{
    list-style-type: disc;
    font-size: 1rem;
}
.help__menu{
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
}
.help__menu__item{
    flex-basis: 15%;
    padding: 15px;
    box-shadow: 5px 5px 9px 0px rgba(149, 149, 149, 0.45);
    border-radius: 8px;
    background-color: #f1f1f1;
    margin-top: 20px;
}
.help__menu__ttl{
    text-align: center;
    font-weight: bold;
    line-height: 1.2rem;
}
.help__menu__img{
    margin-inline-start: 0;
    width: 100%;
    text-align: center;
    margin-top: 0.2rem;
}
.help__menu__img > img{
    width: 40%;
}
.help__common{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}
.help__common__col{
    flex-basis: 48%;
}
.arrowImg{
    width: 30%;
}
.arrowImg > img{
    width: 100%;
}
.contentsImg{
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    width: 100%;
}
.contentsImg > img {
    width: 20%;
}
.help__logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-wrap-mode: nowrap;
}
.help__logo > a{
    width: 11rem;
    padding-left: 1rem;
}
.help__logo > img{
    width: 10rem;
}
@media only screen and (max-width: 1280px){
    .modalInner__container--help{
        width: 90vw;
        max-width: 90vw;
        height: auto;
        max-height: 85dvh;
    }
    .help__Ttl {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }
    .help__Ttl::before{
        height: 1.8rem;
    }
    .help__Lead{
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    .help__unit__img > img {
        width: 40%;
    }
    .help__unit__img--min > img {
        width: 32%;
    }
    .help__menu__item{
        flex-basis: 30%;
        margin-top: 20px;
        margin-bottom: 0px;
    }
    .help__menu__img > img {
        width: 35%;
    }
    .arrowImg {
        width: 40%;
    }
    .contentsImg {
        width: 100%;
    }
    .contentsImg > img {
        width: 32%;
    }
    .helpSec > p{
        font-size: 0.9rem;
        margin-top: 6px;
    }
    .help__unit__text{
        font-size: 0.9rem;
        margin-top: 6px;
    }
    .help__common__col > p{
        font-size: 0.9rem;
        margin-top: 6px;
    }
    .help__list{
        margin-top: 10px;
        margin-bottom: 0;
    }
    .help__list__text{
        font-size: 0.9rem;
    }
    .help__logo{
        font-size: 0.9rem;        
        margin-top: 20px;
    }
}
@media screen and (max-width:768px) {
    .modalInner__container--help{
        padding: 15px;
    }
    .help__unit__item{
        flex-basis: 90%;
    }
    .help__common__col {
        flex-basis: 100%;
    }
    .help__menu__item{
        flex-basis: 90%;
    }
    .help__unit__img > img {
        width: 5rem;
    }
    .help__unit__img--min > img{
        width: 4rem;
    }
    .help__menu__img > img {
        width: 5rem;
    }
    .help__unit__img--thumb > img {
        width: 5rem;
    }
    .arrowImg {
        width: 8rem;
        text-align: center;
        margin: 0 auto;
    }
}
