/* Youtube ポップアップ */

.bg_onetime_popup {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;
    transition: 0.5s;
}

.bg_onetime_popup.js_active {
    opacity: 1;
    display: block;
}

.bg_onetime_popup.js_deactive {
    opacity: 1;
    display: none;
}

.onetime_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 50%;
    min-width: 500px;
    background-color: #000;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.6);
    /* cursor: pointer; */
}

.onetime_popup_content {
    text-align: center;
    height: 450px;
}

.onetime_popup_content iframe {
    width: 100%;
    height: 100%;
}

.onetime_popup_title {
    position: relative;
    padding: 5px 30px;
    margin: 0px;
    background-color: #000;
    color: #fff;
    text-shadow: 1px 1px 0px #fff;
    font-size: 24px;
    font-weight: bolder;
    line-height: 1.5;
}

.onetime_popup_body {
    background-color: #000;
    padding: 0 20px 60px 30px;
}

.onetime_popup_text {
    position: relative;
    margin: 0px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    float: left;
}

.onetime_popup_button {
    position: relative;
    background-color: #000;
    max-width: 175px!important;
    clear: none!important;
    margin: 0!important;
    line-height: 40px!important;
    height: 40px!important;
    float: right;
}

.onetime_popup_button.button:not(.s) a {
    line-height: 40px!important;
    height: 40px!important;
}

.onetime_popup_button.button:not(.s) a::before {
    height: 39px;
}

.onetime_popup_button::after {
    clear: both;
}

@media all and (max-width:994.9px) {
    .onetime_popup {
        width: 100%;
        min-width: 100%;
    }
    .onetime_popup_content {
        max-height: 320px;
    }
    .onetime_popup_body {
        padding: 0 20px 30px 30px;
    }
    .onetime_popup_text {
        padding: 0 0 20px;
        float: none;
    }
    .onetime_popup_button {
        float: none;
    }
}


/* 重要なお知らせポップアップ */

#important {
    background-color: red;
}

#important .container {
    max-width: 1395px;
    margin: 0 auto;;
    padding: 1vw 10vw;
}

/* 2023_0125追記 */
#sitetop #important .container {
    padding: 1.2vw 10vw 1vw;
}

#important a {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    letter-spacing: 2px;
    cursor: pointer;
}

/* 2023_0125追記 */
#sitetop #important a {
    font-size: 20px;
}

#important .mini {
	font-size: 10px;
}

#important iframe {
    max-width: 900px;
}

.featherlight-inner {
    max-width: 900px;
    padding: 0 32px;
}

#important #important01 {
    display: none;
}

#important-iframe2 {
    display: none;
}
#important-iframe2.featherlight-inner{
    display: block;
}

.featherlight-inner #important01 .important02, #important #important01 .important02 {
    color: rgb(0, 0, 255);
    font-family: 'Noto Sans JP', 'Meiryo', 'MS PGothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    cursor: pointer;
}

.featherlight-inner #important01 .important02 .underline #important #important01 .important02 .underline {
    color: rgb(0, 0, 255);
    text-decoration: underline;
}

#important #important02 {
    display: none;
}

.featherlight-inner #important02 .important01, #important #important02 .important01,
.featherlight-inner #important02 .important02, #important #important02 .important02 {
    color: rgb(0, 0, 255);
    font-family: 'Noto Sans JP', 'Meiryo', 'MS PGothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    cursor: pointer;
}

.featherlight-inner #important02 .important01 .underline, #important #important02 .important01 .underline {
    color: rgb(0, 0, 255);
    text-decoration: underline;
}

.featherlight-inner {
    font-family: 'Yu Mincho', '游明朝';
}

.featherlight-inner h2 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 20px;
    text-decoration: underline;
}

.featherlight-inner p {
    line-height: 200%;
    margin-bottom: 20px;
}

.featherlight-inner p.right {
    text-align: right;
}

.featherlight-inner p.center {
    text-align: center;
}

.featherlight-inner .bold {
    font-weight: bold;
    text-decoration: underline;
}

.featherlight-inner p.center .memo {
    display: block;
    color: #000000;
    text-decoration: none;
}

.featherlight .featherlight-close-icon {
    font-size: 25px;
}

.featherlight-inner .underline {
    color: rgb(0, 0, 255);
    text-decoration: underline;
}

@media (max-width: 994.9px) {
    .featherlight .featherlight-content {
        max-width: 95%;
    }
    .featherlight-inner {
        padding: 0 16px;
    }
}