/*====================================================================
 【パーツ】process_modal
 

 案件名：

 
 更新履歴：
 
 
====================================================================*/

/* =modal
-------------------------------------------------------------- */
.modal_window,
.modal_shadow {
	position: fixed;
	z-index: 600;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s, visibility .4s;
}
.modal_shadow {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(35, 35, 35, .6);
}
.modal_window {
	display: flex;
	flex-direction: column;
	min-height: 300px;
	max-height: 80vh;
	top: 50%;
	left: 50%;
	background: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.25);
	transform: translate(-50%, -50%);
	z-index: 99999;
}
.modal_window.show,
.modal_shadow.show {
	opacity: 1;
	visibility: visible;
}
.modal_window .close {
	position: absolute;
	margin: 0;
	padding: 0;
	background: #000;
	border: none;
	border-radius: 100%;
	appearance: none;
	cursor: pointer;
	box-sizing: border-box;
}
@media ( min-width: 769px ){
	.modal_window {
		width: min(80%, 1100px);
	}
	.modal_window .close {
		font-size: 44px;
		top: 12px;
		right: 12px;
		width: 1em;
		height: 1em;
	}
	.modal_window .close::before,
	.modal_window .close::after {
		position: absolute;
		content: '';
		width: 0.5228em;
		padding-top: 0.0682em;
		top: calc(50% - 0.0341em);
		left: calc(50% - 0.2614em);
		background: #fff;
		border-radius: 9999px;
	}
}
@media ( max-width: 768px ){
	.modal_window {
		width: 92%;
	}
	.modal_window .close {
		font-size: 7.2917vw;
		top: 2.0833vw;
		right: 2.0833vw;
		width: 7.2917vw;
		height: 7.2917vw;
	}
	.modal_window .close::before,
	.modal_window .close::after {
		position: absolute;
		content: '';
		width: 3.812vw;
		padding-top: 0.497vw;
		top: calc(50% - 0.2486vw);
		left: calc(50% - 1.906vw);
		background: #fff;
		border-radius: 9999px;
	}
}

.modal_window .close::before {
	transform: rotate(45deg);
}
.modal_window .close::after {
	transform: rotate(-45deg);
}
.modal_window .in {
	height: 100%;
	flex-grow: 1;
	box-sizing: border-box;
	overflow: auto;
}
@media ( min-width: 769px ){
	.modal_window .in {
		padding: 52px 8% 58px;
	}
}
@media ( max-width: 768px ){
	.modal_window .in {
		padding: 11.4583vw 4.1667vw 12.5vw;
	}
}
.modal_window .title {
	font-weight: bold;
	letter-spacing: 0.05em;
	line-height: 1.5;
	color: #cc0033;
}
.modal_window .lead_txt {
	display: inline-block;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.5;
}
.modal_window .lead_txt {
	text-align: left;
}
.modal_window .lead_txt span {
	letter-spacing: 0.04em;
	color: #cc0033;
}
@media ( min-width: 769px ){
	.modal_window .title {
		font-size: 26px;
		text-align: center;
	}
	.modal_window .lead_txt {
		font-size: 18px;
	}
	.modal_window .lead_txt span {
		font-size: 14px;
	}
}
@media ( max-width: 768px ){
	.modal_window .title {
		font-size: 4.5833vw;
	}
	.modal_window .lead_txt {
		font-size: 3.3333vw;
	}
	.modal_window .lead_txt span {
		display: block;
	}
}
/* modal_area */
#modal_area .lead_txt {
	text-align: center;
}
.area_box .date {
	margin-bottom: 0.66em;
	text-align: right;
	letter-spacing: 0.05em;
	line-height: 1.5;
	font-weight: 500;
	color: var(--gray);
}
.area_box table {
	width: 100%;
}
.area_box th,
.area_box td {
	border: 1px #b9b9b9 solid;
}
.area_box th {
	text-align: center;
}
.area_box thead th {
	font-weight: bold;
}
.area_box tbody th {
	font-weight: 500;
}
.area_box tbody td {
	letter-spacing: 0.04em;
	font-weight: 500;
	line-height: 1.4;
	text-align: left;
}
@media ( min-width: 769px ){
	#modal_area .in {
		padding: 93px 14% 96px;
	}
	#modal_area .lead_txt {
		margin-bottom: 5px;
	}
	.area_box + .area_box {
		margin-top: 46px;
	}
	.area_box .date {
		font-size: 12px;
	}
	.area_box thead th {
		padding: 0.86em 0;
		font-size: 18px;
	}
	.area_box tbody th {
		width: 110px;
		font-size: 16px;
	}
	.area_box tbody td {
		padding: 0.75em 0.9375em;
		font-size: 16px;
	}
}
@media ( max-width: 768px ){
	#modal_area .lead_txt {
		margin-bottom: 2.7083vw;
	}
	.area_box + .area_box {
		margin-top: 7.0833vw;
	}
	.area_box .date {
		font-size: 2.5vw;
	}
	.area_box thead th {
		padding: 0.9375em 0;
		font-size: 3.3333vw;
	}
	.area_box tbody th {
		width: 5.428em;
		font-size: 2.9167vw;
	}
	.area_box tbody td {
		padding: 0.8572em 1.0714em;
		font-size: 2.9167vw;
	}
}
/* modal_process1 */
.process_box1 .tit,
.process_box1 .txt1 {
	width: fit-content;
	margin: 0 auto;
	padding: 0 2.7em;
	letter-spacing: 0.05em;
}
.process_box1 .tit {
	position: relative;
}
.process_box1 .tit::before,
.process_box1 .tit::after {
	position: absolute;
	display: block;
	content: '';
	z-index: -1;
}
.process_box1 .tit::before {
	width: 100%;
	height: 0.12em;
	top: calc(50% - 0.06em);
	left: 0;
	background: var(--black);
}
.process_box1 .tit::after {
	width: calc(100% - (1.8em * 2));
	height: 0.3em;
	top: calc(50% - 0.15em);
	left: 1.8em;
	background: #fff;
}
.process_box1 .txt1 {
	padding-top: 0.5556em;
	padding-bottom: 0.5556em;
	background: #ffdddd;
	border-radius: 0.3em;
}
.process_box1 .code {
	max-width: 512px;
	margin: 0 auto;
}
.process_box1 .txt2 {
	text-align: left;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
@media ( min-width: 769px ){
	#modal_process1 .in {
		padding-left: 3.27%;
		padding-right: 3.27%;
	}
	#modal_process1 .lead_txt {
		margin-bottom: 40px;
		max-width: 866px;
	}
	.process_box1 .tit,
	.process_box1 .txt1 {
		font-size: 18px;
		line-height: 1.5;
	}
	.process_box1 .tit {
		margin-bottom: 26px;
	}
	.process_box1 .txt2 {
		margin-top: 40px;
		font-size: 18px;
	}
}
@media ( max-width: 768px ){
	#modal_process1 .title {
		margin-bottom: 2.7083vw;
	}
	#modal_process1 .lead_txt {
		margin-bottom: 6.25vw;
	}
	.process_box1 .tit,
	.process_box1 .txt1 {
		font-size: 3.3333vw;
		line-height: 1.3;
	}
	.process_box1 .tit {
		margin-bottom: 3.75vw;
	}
	.process_box1 .txt1 {
		margin-bottom: 2.9167vw;
	}
	.process_box1 .txt2 {
		margin-top: 7.2917vw;
		font-size: 3.3333vw;
	}
}
/* modal_process2 */
.process_box2 table {
	margin: 0 auto;
	border-collapse: separate;
	border-spacing: 0;
}
.process_box2 table .empty {
	border: solid 1px transparent!important;	
}
.process_box2 th:not(.empty),
.process_box2 td:not(.empty) {
	border-right: 1px #B9B9B9 solid!important;
	border-left: 1px #B9B9B9 solid!important;
	border-top: 1px #B9B9B9 solid!important;
	border-bottom: 1px #B9B9B9 solid!important;
	white-space: nowrap;
}
.process_box2 thead th:not(.empty),
.process_box2 thead td:not(.empty) {
	border-top: 1px #B9B9B9 solid!important;
}
.process_box2 tbody th:not(.empty):first-child,
.process_box2 tbody td:not(.empty):first-child {
	border-left: 1px #B9B9B9 solid!important;
}
.process_box2 thead th:nth-child(2) {
	border-left: 1px #B9B9B9 solid!important;
	border-radius: 0.3em 0 0 0;
}
.process_box2 thead th:last-child {
	border-radius: 0 0.3em 0 0;
}
.process_box2 tbody tr:first-child th:first-child {
	border-top: 1px #B9B9B9 solid!important;
	border-radius: 0.3em 0 0 0;
}
.process_box2 tbody tr:last-child th:first-child {
	border-radius: 0 0 0 0.3em;
}
.process_box2 tbody tr:last-child td:last-child {
	border-radius: 0 0 0.3em 0;
}
.process_box2 th {
	text-align: center;
	font-weight: bold;
}
.process_box2 thead th {
	background: #ffdddd;
}
.process_box2 tbody th {
	background: #EBEBEB;
}
.process_box2 tbody td {
	font-weight: 500;
	text-align: left;
	line-height: 1.4;
	letter-spacing: 0.04em;
}
.process_box2 td .link,
.process_box2 td a {
	color: #cc0033;
	text-decoration: none;
}
.process_box2 .remark_note {
	font-weight: 500;
	color: #707070;
	letter-spacing: 0.05em;
	line-height: 1.5;
	text-align: center;
}
.process_box2 .txt1 {
	text-align: left;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
.process_box2 .req_info .tit {
	letter-spacing: 0.05em;
	line-height: 1.3;
	background: #EBEBEB;
}
.process_box2 .req_info .list ul {
	text-align: left;
	letter-spacing: 0.05em;
	line-height: 1.5;
}
.process_box2 .req_info .list ul li {
	position: relative;
	/* padding-left: 1em; */
}
.process_box2 .req_info .list ul li::before {
	position: absolute;
	content: '';
	width: 0.5em;
	height: 0.5em;
	top: calc(50% - 0.25em);
	left: 0;
	background: var(--black);
	border-radius: 0.5em;
}
.img_box img {
	margin: auto;
}

@media ( min-width: 1280px ){
	.process_box2 .req_info .list ul {
		height: 4.8em;
	}
}
@media ( min-width: 769px ){
	#modal_process2 .lead_txt {
		margin-bottom: 30px;
	}
	.process_box2 table {
		font-size: 16px;
		border: none;
		padding: 0;
	}
	.process_box2 th {
		padding: 0.75em 1em;
		
	}
	.process_box2 tbody td {
		padding: 0.75em 1em;
		
	}
	.process_box2 td > *:not(.link) {
		font-size: 14px;
	}
	.process_box2 .remark_note {
		margin-top: 10px;
		font-size: 12px;
	}
	.process_box2 .txt1 {
		margin-top: 26px;
		font-size: 18px;
	}
	.process_box2 .req_info {
		display: flex;
		gap: 30px;
		margin-top: 20px;
		margin-bottom: 40px;
	}
	.process_box2 .req_info .tit {
		flex-basis: 210px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 18px;
		border-radius: 5px;
		text-align: center;
	}
	.process_box2 .req_info .list {
		flex: 1;
	}
	.process_box2 .req_info .list ul {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		gap: 0.1em 1em;
		font-size: 18px;
		list-style-type: disc;
	}
	.process_box2 td a {
		padding-right: 16px;
        background: url(../img/gaibulink.svg) no-repeat right center;
        background-size: 14px;
    }
}
@media ( max-width: 768px ){
	#modal_process2 .title {
		margin-bottom: 2.7083vw;
	}
	#modal_process2 .lead_txt {
		margin-bottom: 6.25vw;
	}
	.process_box2 table {
		font-size: 2.9167vw;
	}
	.process_box2 th {
		padding: 0.75em 0.2em;
	}
	.process_box2 tbody td {
		padding: 0.6em 0.8em;
	}
	.process_box2 td .link {
		font-size: 3.3333vw;
	}
	.process_box2 .remark_note {
		margin-top: 1.4583vw;
		font-size: 2.5vw;
	}
	.process_box2 .txt1 {
		margin-top: 7.2917vw;
		font-size: 3.3333vw;
	}
	.process_box2 .req_info {
		margin-top: 3.75vw;
		margin-bottom: 4vw;
	}
	.process_box2 .req_info .tit {
		padding: 1.4792vw 0;
		font-size: 3.3333vw;
		border-radius: 1.0417vw;
	}
	.process_box2 .req_info .list ul {
		font-size: 3.3333vw;
	}
	.process_box2 .req_info .list li {
		margin-top: 0.2em;
	}
	.process_box2 td a {
		padding-right: 3.5vw;
        background: url(../img/gaibulink.svg) no-repeat right center;
        background-size: 3vw;
    }
}
