@charset "utf-8";
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.modal__bg {
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content {
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 40%;
}

.modal .modal__content .headLine {
    color: #052345;
    font-weight: 700;
    font-size: 2.6rem;
    margin-bottom: 24px;
    text-align: center;
}

#main .topTxt {
    margin: 0 auto 15px;
    max-width: 500px;
    min-height: 40px;
    font-weight: 700;
    line-height: 1.25;
}

#main .withdrawalLink {
    margin-top: 29px;
    color: #CDD6DD;
    font-size: 1.4rem;
    text-align: center;
}

#main .withdrawalLink a {
    color: #98A6B5;
    font-size: 1.2rem;
    text-decoration: underline;
}

#main .js-modal-close {
    font-size: 1.2rem;
    text-decoration: underline;
}

.signup-modal .precautionary-statement {
	margin: 24px 0 24px;
	color: #98A6B5;
}

.signup-modal .text {
    font-size: 1.6rem;
	line-height: 1.875;
}

.signup-modal .topTxt {
	text-align: center;
}

.signup-modal .js-modal-close {
    font-size: 1.2rem;
	text-align: center;
}

@media (max-width: 767px){
	#main .topTxt {
		margin-bottom: 38px;
		line-height: 1.57;
		max-width: inherit;
		font-weight: 700;
		max-width: 350px;
	}
	.modal__content{
		background: #fff;
		left: 50%;
		padding: 32px 16px;
		position: absolute;
		top: 50%;
		transform: translate(-50%,-50%);
		width: 60%;
	}
    .modal .modal__content .headLine {
        font-size: 2.0rem;
        margin-bottom: 16px;
    }
    .signup-modal .text {
        font-size: 1.4rem;
        line-height: 1.875;
    }
    .signup-modal .precautionary-statement {
        margin: 12px 0 24px;
    }
    .signup-modal .js-modal-close span {
        font-size: 1.4rem;
    }
}

