@charset "UTF-8";

/* modal */
.l-modal,
.mfp-bg {
    background: rgba(255, 255, 255, 0.6);
}
button.mfp-close {
    display: none;
}
.js-modal-close {
    cursor: pointer;
}
.l-modal-inner {
    border: 3px solid #ff6703;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.l-modal-logo img {
    max-width: 54.3%;
}
.l-modal h3.l-modal-logo-ta,
.l-modal-inner h3.l-modal-logo-ta {
    border: 0;
    margin-top: 15px;
}
.l-modal h3.l-modal-logo-ta img,
.l-modal-inner h3.l-modal-logo-ta img {
    max-width: 95%;
}

.l-modal h3.l-modal-logo-ta + p,
.l-modal-inner h3.l-modal-logo-ta + p {
    margin-top: 20px;
}
.l-modal-link-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 20px;
}
.l-modal .mod-button-2,
.l-modal-inner .mod-button-2 {
    background: url(img/arrow.png) no-repeat center right 1em #ff6703;
    border-radius: 3em;
    color: #fff;
    font-size: 2.1rem;
    font-weight: bold;
    display: block;
    line-height: 3;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    text-decoration: none;
    width: 85%;
}

.l-modal-close-2 {
    display: block;
    margin-top: -77px;
    margin-left: 578px;
    position: absolute;
    overflow: hidden;
    width: 59px;
    height: 59px;
    text-indent: 200%;
}

.l-modal-close-img {
    background-image: none;
}



#welcome.l-modal-inner {
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}
#welcome.l-modal-inner.is-active2 {
    opacity: 1;
    visibility: visible;
}
#welcome.l-modal-inner.is-active2-done {
    display: none;
}





.l-modal-close-3 {
    margin-left: 300px;
    top: -20px;
    left: 50%;
}

.l-modal-inner h2 {
	color: #ff4e00;
	font-size: 2.4rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
}

.l-modal-inner h3 {
	margin: 30px 0 0;
	padding: 0 0 4px;
	border-bottom: 2px solid #f9824d;
	color: #808080;
	font-size: 2.1rem;
}
.l-modal-inner h3 + p {
	margin-top: 10px;
}

.l-modal-inner h3 + ol {
	margin-top: 10px;
}

.l-modal-inner p {
	margin: 45px 0 0;
	font-size: 1.6rem;
	line-height: 2;
}

.l-modal-inner p + p {
	margin-top: 1em;
}

.l-modal-inner ol {
    list-style-type: decimal;
	margin: 45px 0 0 30px;
	font-size: 1.6rem;
	line-height: 2;
}

.l-modal-inner .notes {
	margin-top: 20px;
	font-size: 1.4rem;
}

.l-modal-inner .notes li {
	margin-left: 1em;
	text-indent: -1em;
}

.l-modal-inner .mod-button {
	width: 390px;
	height: 75px;
	margin: 50px auto 0;
	font-size: 2.4rem;
}

.l-modal-inner table {
	width: 100%;
	margin: 40px 0 0;
	border: 1px solid #808080;
}

.l-modal-inner table + p {
	margin-top: 10px;
}

.l-modal-inner table caption {
	margin: 0 0 5px;
	color: #808080;
	font-size: 1.4rem;
	text-align: left;
}

.l-modal-inner table th,
.l-modal-inner table td {
	padding: 16px 10px 15px;
	border-right: 1px solid #808080;
	font-size: 1.6rem;
	text-align: center;
}

.l-modal-inner table thead th {
	background-color: #e5e5e5;
}

.l-modal-inner table tbody td {
	border-top: 1px solid #808080;
}

.l-modal-inner table.table2 tbody td strong {
	color: red;
	font-size: 2.8rem;
}

.l-modal-inner table.table2 tbody td span {
	font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
    .mfp-content {
        padding: 6.66667vw 2.66667vw;
    }
    .l-modal-close-3 {
        margin-left: 0;
        top: 3.3vw;
        left: auto;
        right: 0;
    }
    .l-modal-inner {
        max-height: 93.3vh;
    }
	.l-modal-inner h2 {
		font-size: 5.06667vw;
	}

	.l-modal-inner p {
		margin: 6.66667vw 0 0;
	}

	.l-modal-inner ol {
		margin: 6.66667vw 0 0 1.5em;
		font-size: 3.73333vw;
	}

	.l-modal-inner .notes {
		font-size: 3.2vw;
	}

	.l-modal-inner .mod-button {
		width: 80%;
		height: 13.33333vw;
		margin: 10.66667vw auto 0;
		font-size: 5.33333vw;
	}

	.l-modal-inner table {
		margin: 5.33333vw 0 0;
	}

	.l-modal-inner table caption {
		margin: 0 0 0.66667vw;
		font-size: 3.2vw;
	}

	.l-modal-inner table th,
    .l-modal-inner table td {
		padding: 1.33333vw;
		font-size: 3.73333vw;
	}

	.l-modal-inner table.table2 tbody td span {
		font-size: 2.93333vw;
	}
}

@media screen and (max-width: 767px) {
    .l-modal p,
    .l-modal-inner p {
        font-size: 12px;
    }
    .l-modal-close-2 {
        width: 10.66667vw;
        height: 10.66667vw;
    }
    .l-modal-link-title {
        font-size: 1.4rem;
    }
    .l-modal .mod-button-2,
    .l-modal-inner .mod-button-2 {
        font-size: 1.4rem;
    }
    .l-modal-close-2 {
        margin-top: -10.6vw;
        margin-left: calc(100% - 17vw);
    }            
    
}

.l-modal-content div:nth-child(1) .l-modal-content-inner + .l-modal-content-inner,
.l-modal-content-inner + .l-modal-content-inner {
    margin-top: 40px;
}