@charset "utf-8";
:root{
    --yokohama-color: #0041ff;
    --nagoya-color: #DC1A0B;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: baseline;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: #000;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2em;
    letter-spacing: 0.1em;
    background: #e3e3e4;
    overflow: unset;
    max-width: unset;
}

section {
    margin: 0 auto;
}

img {
    border: 0px;
    vertical-align: bottom;
}

@media screen and (max-width:768px) {}

@media screen and (max-width:480px) {}

ul {
    list-style: none;
    padding-left: 0;
}

a {
    text-decoration: none;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

a:hover {
    opacity: 0.7;
    cursor: pointer;
}

footer{
    color: #000;
    text-align: center;
    font-size: .9rem;
    line-height: 1.5;
    padding-bottom: 10px;
    text-shadow: 0 0 5px #ffffff;
    letter-spacing: 0.05em;
}

/*tourmap*/
/*吹き出しの制御*/

.tourmap{}

.tourmap_cont{
    position: relative;
    /*zoom: 50%;*/
    /*zoom: 150%;*/
    /*transform: scale(.5, .5) translate(-50%, -50%)*/
    transform-origin: top left;
    height: max-content!important;
}

.tourmap_base{
    width: 100vw;
}

.tourmap_pin{
    position: absolute;
    /*left: 0;*/
    /*top: 0;*/
    width: 1px;
    height: 1px;
}

.tourmap_pin .open-btn {
    display: block;
    cursor: pointer;
    line-height: 1;
    position: relative;
    top: -1vw;
    width: 1vw;
    left: -0.5vw;
}

.tourmap_pin .open-btn img{
    width: 100%;
    height: auto;
    /* height: 100%; */
    /* padding: 1vw; */
    padding: 18%;
    margin-top: 0;
    display: block;
}


.popup-content{
    visibility: hidden;
    opacity : 0;
    height: auto;
    z-index: 9999;
    /*transition: .2s;*/
    position: absolute;
    padding: 10px;
    padding-bottom: 0;
    font-size: 12px;
    line-height: 1.6em;
    color: #fff;
    border-radius: 5px;
    background: #000000cc;
    width: 200px;
    /*width: 250px;*/
    /* top: 2vw; */
    /*left: 50%;*/
    /* left: 10%; */
    /* transform: translateX(-48%); */
    /* -webkit-transform: translateX(-48%); */
    /* -ms-transform: translateX(-48%); */
    text-align: center;
    font-weight: bold;
    margin-top: 3px;
}

.popup-content:before {
    content: "";
    position: absolute;
    top: -28px;
    /* left: 50%; */
    left: calc(50% - 8px);
    border: 15px solid transparent;
    border-top: 15px solid #000000cc;
    margin-left: -15px;
    transform: rotate(180deg);
}

/* 最新のsafari用 */
_::-webkit-full-page-media, _:future, :root .popup-content:before {
    margin-left: -15px;
}
/* 古いsafari用  */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	::i-block-chrome, .popup-content:before {
        margin-left: -15px;
	}
}



/*.popup-content_scrollinner{
    padding: 10px;
    max-height: 450px;
    overflow-y: scroll;
}*/

.popup-content span {
    display: inline-block;
    /*font-size: .8rem;*/
    line-height: 1;
}

.popup-content .js-exhibitor-name{
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.5;
}

.popup-content span:not(.js-exhibitor-booth,.js-exhibitor-name) {
    background: var(--yokohama-color);
    /* font-size: .5rem; */
    font-size: 10px;
    padding: 3px 5px;
    margin-right: 5px;
    margin-top: 5px;
}
.nagoya .popup-content span:not(.js-exhibitor-booth,.js-exhibitor-name){
    background: var(--nagoya-color);
}

.popup-content a {
    color: #fff;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    font-weight: 900;
    border: 1px solid;
    width: 100%;
    border-radius: 50px;
    padding: 10px;
    padding-top: 12px;
    line-height: 1.2;
}
.popup-content a + a {
    margin-top: 5px;
}

/* 見学リスト追加＆削除 */
.popup-content a.add-vislist{
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.popup-content a.add-vislist::after{
    content: none;
}
.popup-content a.add-vislist::before{
    content: "";
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-right: 5px;
}

.popup-content a.add-vislist.js-remove-visitlist{
    background: #787878;
}
.popup-content a.add-vislist.js-remove-visitlist::before {
    background-image: url(../images/icon-minus.svg);
}

.popup-content a.add-vislist.js-append-visitlist{
    background: var(--yokohama-color);
}
.nagoya .popup-content a.add-vislist.js-append-visitlist{
    background: var(--nagoya-color);
}
.popup-content a.add-vislist.js-append-visitlist::before {
    background-image: url(../images/icon-plus.svg);
}


.en .popup-content a {
    padding-top: 10px;
}

.popup-content a::after {
    font-family: 'Material Icons';
    line-height: 1;
    content: "arrow_forward_ios";
    display: inline;
    color: #fff;
    z-index: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 3px;
    font-size: 0.9em;
}

.popup-content a:hover {
    opacity: 1;
    background: rgb(0, 92, 177);
    background: -moz-linear-gradient(45deg, rgba(0, 92, 177, 1) 0%, rgba(0, 70, 0, 1) 100%);
    background: -webkit-linear-gradient(45deg, rgba(0, 92, 177, 1) 0%, rgba(0, 70, 0, 11) 100%);
    background: linear-gradient(45deg, rgba(0, 92, 177, 1) 0%, rgba(0, 70, 0, 1) 100%);
}


.popup-content .mapimg{
    width: 100%;
    margin-bottom: 10px;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}

/*吹き出しが出現*/
/*.open:hover ~ .popup-content,*/
.open:checked ~ .popup-content{
    visibility: visible;
    opacity : 1;
    /*transition: .3s;*/
    max-width: 200px;
    /*1倍*/
    /* transform: translateX(-49%); */
    /* -webkit-transform: translateX(-49%); */
    /* -ms-transform: translateX(-49%); */
}

label.close-btn {
    /* font-size: .5rem; */
    font-size: 12px;
    display: inline-block;
    color: #d3d3d3;
    cursor: pointer;
    width: 100%;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-top: 5px;
    background: #000000cc;
    padding: 3px;
    border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
}

label.close-btn:hover {
    opacity: 0.8;
}

.popup-content label.close-btn span {
    font-family: 'Material Icons';
    background: none!important;
    padding: 0;
    margin: 0;
}

input.open{display: none;}


/*ピンの座標クラスは pin_coordinate.css に移植*/


/*拡大率に伴う吹き出しサイズの調整*/

@media screen and (max-width: 768px){}
@media screen and (max-width: 480px){
    .popup-content{
        margin-top: 0;
    }
}

/* ======= ローディング表示 ========== */

.load_cover {
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.load_cover img {
    width: auto !important;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    /* Safari用 */
    transform: translate(-50%, -50%);
}

.load_cover:before {
    /* content: "Loading"; */
    color: #fff;
    position: absolute;
    top: 47%;
    left: 50%;
    -webkit-transform: translate(-50%, -70%);
    /* Safari用 */
    transform: translate(-50%, -70%);
}

.load_cover p {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 50%;
    margin-left: -25%;
    padding: 20px;
    background: #000;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.load_cover p span {
    display: block;
    font-size: 1.6rem;
    color: #999;
    font-weight: normal;
}


/* ======= ボタン操作パネル ========== */

.drag-and-drop {
    cursor: move;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800;
}

.drag {
    z-index: 801;
}

.btnpanel_cont_area{
    position: fixed;
    /*position: absolute;*/
    width: 200px;
    /* top: 0; */
    /* left: 0; */
    /*bottom: 0;*/
    /*right: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
}

.en .btnpanel_cont_area{
    letter-spacing: 0;
}

.btnpanel_cont{
    width: 200px;
    position: fixed;
    background: rgb(255 255 255 / 50%);
    border: 1px solid var(--yokohama-color);
    cursor: grab;
}

.nagoya .btnpanel_cont{
    border-color: var(--nagoya-color);
}

.btnpanel_cont:active {
    cursor: grabbing;
  }

.btnpanel_cont p{
    text-align: center;
    font-weight: bold;
    background: var(--yokohama-color);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    padding: 7px 0;
}

.nagoya .btnpanel_cont p{
    background: var(--nagoya-color);
}

.en .btnpanel_cont p{
    font-size: 13px;
}

.btnpanel_cont p span{
    display: inline-block;
    font-size: 12px;
    text-align: center;
    /* font-weight: bold; */
}

.btnpanel_cont ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* width: 180px; */
    width: 200px;
    /* padding: 10px; */
    padding: 8px;
}

.btnpanel_cont ul li{}

.btnpanel_cont ul li.wid50{
    /* width: calc(50% - 4px)!important; */
    width: calc(50% - 3px)!important;
    /* margin-bottom: 10px; */
    margin-bottom: 8px;
}

.btnpanel_cont ul li.wid100 + li.wid100{
    /* margin-top: 10px; */
    margin-top: 8px;
}

.btnpanel_cont ul li button,
.btnpanel_cont ul li a{
    width: 100%;
    display: block;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .1s;
    cursor: pointer;
}

.en .btnpanel_cont ul li button,
.en .btnpanel_cont ul li a{
    padding: 7px;
    font-size: 13px;
}

.btnpanel_cont ul li button:hover,
.btnpanel_cont ul li a:hover{
    opacity: .7;
}

.btnpanel_cont .zoomout_btn button{
    background: #003469;
}

.btnpanel_cont .zoomin_btn button{
    background: #650505;
}

.btnpanel_cont .zoomreset_btn button{
    background: #505050;
}

.btnpanel_cont .mapguide_btn a{
    background: #B7C800;
    color: #000;
    letter-spacing: 0;
    line-height: 1.5;
}

.tourmap_cont[data-scale='1'] + .btnpanel_cont_area .btnpanel_cont .zoomout_btn button,
.tourmap_cont[data-scale='10'] + .btnpanel_cont_area .btnpanel_cont .zoomin_btn button,
.btnpanel_cont ul li button.disable {
    background: #939393;
    pointer-events: none;
    cursor: not-allowed;
}

.btnpanel_cont button:before,
.btnpanel_cont a:before{
    content: "";
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 10px;
}

.btnpanel_cont ul li button.disable:before,
.btnpanel_cont ul li a.disable:before {
    opacity: 0.5;
}

.en .btnpanel_cont button:before,
.en .btnpanel_cont a:before{
    margin-right: 8px;
}

.btnpanel_cont .zoomout_btn button:before{
    background-image: url(../images/icon-minus.svg);
}
.btnpanel_cont .zoomin_btn button:before{
    background-image: url(../images/icon-plus.svg);
}
.btnpanel_cont .zoomreset_btn button:before{
    background-image: url(../images/icon-reset.svg);
}
.btnpanel_cont .mapguide_btn a:before{
    background-image: url(../images/icon-map.svg);
}

.tourmap_pin.x-\#N\/A.y-\#N\/A {
    display: none;
}

@media screen and (max-width: 480px){
    .btnpanel_cont {
        width: 190px;
    }
    .btnpanel_cont ul {
        width: 190px;
        padding: 5px;
    }
    .btnpanel_cont ul li.wid50 {
        width: calc(50% - 2px)!important;
        margin-bottom: 5px;
    }
    .btnpanel_cont ul li.wid100 + li.wid100 {
        margin-top: 5px;
    }
    .btnpanel_cont ul li button, .btnpanel_cont ul li a {
        font-size: 13px;
    }
    
}


/* 印刷用 */
@media print{
    .btnpanel_cont_area{
        display: none;
    }
 }