/* ポップアップ用のスタイル */
#popup {
    display: none;
    background: rgb(97 97 97 / 42%);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.popup-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width:786px) {
    .popup-wrap {
        width: calc(100% - 40px);
    }
    .popup-wrap iframe{
    width: 100%;
}
}



/* 閉じるボタンのスタイル */
#closeBtn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 29px;
    height: 29px;
    display: flex;
    border: 1px solid #fff;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    border-radius: 50%;
    z-index: 999999;
}

#closeBtn::after,
#closeBtn::before {
    content: '';
    width: 14px;
    height: 2px;
    content: "";
    position: absolute;
    left: 7px;
    top: 12px;
    background: #667075;
}

#closeBtn::after {
    transform: rotateZ(45deg);
}

#closeBtn::before {
    transform: rotateZ(-45deg);
}

.closed {
    display: none !important;
}