@charset "UTF-8";

body {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3cap;
    color: #333;
}

#contentBox {
    width: 100%;
    height: 100vh;
}

.spatialBox {
    width: 100%;
    height: calc(100% - 60px);
}

.spatialBox iframe {
    width: 100%;
    height: 100%;
}

#slido {
    position: absolute;
    bottom: 70px;
    right: 10px;
}

#embedBox {
    width: 100%;
    height: 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f4f5ed;
    box-sizing: border-box;
    padding-left: 68px;
}

#embedBox ul,
.button {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.button {
    justify-content: center;
    margin-top: 20px;
}

#embedBox li {
    margin: 0 10px;
}

.button li {
    margin: 0 10px;
}

#embedBox li a,
#embedBox li button,
.button button {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 0;
    background-color: rgba(91, 193, 216, 0.8);
    border: 1px solid #a1ffff;
    text-align: center;
    display: block;
    width: 120px;
}

#embedBox li a:hover,
#embedBox li button:hover,
#embedBox li #quizButton:hover {
    background-color: rgba(91, 193, 216, 0.4);
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

#embedBox li #quizButton {
    background-color: #5bc1d8;
}

#embedBox .notice {
    width: 50%;
    height: 36px;
    color: #333;
    background-color: #fff;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 20px;
    box-shadow: inset -2px -2px 5px 0px rgba(255, 255, 255, 0.5), inset 2px 2px 5px 0px rgba(0, 0, 0, 0.3);
    position: relative;
}

iframe.inner {
    position: absolute;
    left: 15px;
    visibility: visible;
}

.inner.hidden {
    visibility: hidden;
}

.layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    opacity: 0;
    z-index: -1;
}

#close {
    position: relative;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    background: #fff;
    box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 3px;
    opacity: 0;
    display: none;
    z-index: 101;
}

.layer.is-open {
    z-index: 100;
    opacity: 1;
    display: block;
}

.layer.is-open #close {
    opacity: 1;
    display: block;
}

#vdbanner {
    height: 0;
    overflow: hidden;
}

iframe {
    border: 0;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    pointer-events: none;
    opacity: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
}

/* モーダルがactiveの時 */
.modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* モーダルのコンテンツ */
.modal__content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.modal_inner {
    filter: drop-shadow(0px 0px 4px #ddd);
    background: #FFF;
    width: 90%;
    margin: 0 auto;
    border-radius: 2px;
    padding: 20px 25px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* 閉じるボタン */
.modal__close-btn {
    position: absolute;
    right: 0;
    top: -40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 20;
}

.modal__close-btn:hover {
    opacity: 0.8;
}

/* 閉じるボタンのX */
.lineClose {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 2rem;
    height: 0.1rem;
    background: currentColor;
    border-radius: 0.1rem;
    position: relative;
    transform: rotate(45deg);
}

.lineClose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

#tayori-chat.tayori-chat-btn-left .tc-btn-trigger {
    right: calc(100vw - 26px - 40px) !important;
}

#tayori-chat .tc-btn-trigger {
    width: 50px !important;
    height: 50px !important;
    bottom: 6px !important;
    box-shadow: none !important;
    background-color: #5bc1d8 !important;
}

#tayori-chat .tc-btn-trigger__label-open > svg, #tayori-chat .tc-btn-trigger__label-open__icon {
    margin: 6px !important;
}

#tayori-chat .tc-main-frame {
    bottom: 85px !important;
}

#tayori-chat {
    z-index: 99 !important;
}