/*modal */
.fade:not(.show) {
    opacity: 0;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}
.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}

.fade {
    transition: opacity .15s linear;
}

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
@media (max-width: 991px){
.modal-message .modal-dialog {
    left: 50%;
}
}
.modal-message .modal-dialog {
    position: absolute;
    top: 36%;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 500px;
    width: 100%;
}
@media (min-width: 576px){
.modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}
}

@media (max-width: 991px){
.modal-content {
    background: rgba(234,4,4,0.9);
    border: 0;
    width: 100% !important;
}
}
.modal-content {
    background: rgba(234,4,4,0.9);
    border: 0;
    width: 120%;
    color: white;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
}

@media (max-width: 991px){}
.modal-message .modal-dialog .modal-content .modal-header {
}
}
.modal-message .modal-dialog .modal-content .modal-header {
    text-align: center;
    display: block;
    border-bottom: none;
    padding-top: 50px;
    padding-bottom: 50px;
}
.modal-header {
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}
@media (max-width: 991px){
.modal-message .modal-dialog .modal-content .modal-header .close {
    right: 50px;
}
}

@media (max-width: 991px){
.modal-message .modal-dialog .modal-content .modal-header h2 {
    font-size: 20px;
    padding-bottom: 10px;
}
}
@media (max-width: 991px){
.modal-message .modal-dialog .modal-content .modal-header p {
    width: 60%;
}
}
.modal-message .modal-dialog .modal-content .modal-header p {
    display: block;
    color: white;
    font-family: 'NotoSerifKR', serif;
    font-size: 3.5vh;
    font-weight: bold;
    margin: 15px auto;
}

.modal-message .modal-dialog .modal-content .modal-header h2 {
    display: block;
    text-align: center;
    color: #FEC000;
    padding-bottom: 30px;
    font-family: "Roboto", sans-serif;
}
.modal-message .modal-dialog .modal-content .modal-header .close {
    float: right;
    padding: 0px;
    color: #FEC000;
    cursor: pointer;
}
.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}
button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}
[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}
.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}


/*lightbox*/
.lightbox {
	background: rgba(0 0 0 / 50%);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox .box-mail,
.lightbox .box-rule {
    position: relative;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    padding: 70px 70px 50px 70px;
	color: #2c3945;
	font-family: 'Noto Serif JP';
	z-index: 99;
}
.lightbox .box-rule {
	height: 600px;
    overflow-y: scroll;
}
.lightbox .box-title {
	font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4%;
}
.lightbox .box-rule .box-title {
	font-size: 2rem;
}
.lightbox .box-close {
	position: relative;
	text-align: center;
	margin-top: 3%;
}
.lightbox .box-content {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 2.4rem;
}
.lightbox .box-content ol {
	list-style: decimal inside;
    margin: 1rem 0 1rem 1.2rem;
}
.lightbox .box-rule::-webkit-scrollbar { width: 5px;}
.lightbox .box-rule::-webkit-scrollbar-track { background: #f1f1f1;}
.lightbox .box-rule::-webkit-scrollbar-thumb { background: #888; border-radius: 10px;}
.lightbox .box-rule::-webkit-scrollbar-thumb:hover { background: #555;}

.sidemenu .side-tag img { margin: 7% auto;}  

label.error { display: block;color: red; font-weight: bolder;}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    transition: background-color 5000s;
    -webkit-text-fill-color: #fff !important;
}
