/*　*/
/***************************************************/
/* modal */
/***************************************************/
.modal-overlay {
	background-color: rgba(255, 255, 255, 0.9);
	position: fixed;
	height: 100%;
	height: 100vh;
	width: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 2000;
	display: none;

	background-color: #666;
	opacity: 0.6;
}
/*
.modal-overlay .modal-overlay-inner {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
*/
.modal-content {
	background-color: #fff;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.35);
	height: 80vh;
	width: 860px;
	overflow: hidden;
	padding: 15px 20px 15px 20px;
	/*   width: 94%; */
	display: none;
	top: 50%;
	margin-top: -40vh;
	left: 50%;
	margin-left: -430px;
	position: fixed;
	z-index: 9999;

	width: 480px;
	max-width: 480px;
	left: calc(50% - 240px);
	top: 0;
	height: 100vh;
	margin-top: 0;
	margin-left: 0;

}

.modal-content .modal-title .div_title {
	font-weight: normal;
}
.modal-content .modal-title .div_title span {
	line-height: 1.3;
	font-weight: bold;
	font-size: 0.8em;
	display: inline-block;
}
.modal-content .modal-title .div_title .div_title_inner .div_left{
	font-weight: normal;
	font-size: 0.8em;
}

			/* スマホ
			-------------------------------------------------- */
			@media screen and (max-width: 873px) {
				.modal-content {
					height: calc(97vh - 40px);
					padding: 15px 5px 15px 15px;
					width: 94%;
					top: 3vh;
					left: 3%;
					margin: 14px 0;
				}
			}

			@media screen and (max-width: 640px) {
				.modal-content {
					padding: 30px 20px 20px 20px;
					margin-left: -10px;
					margin-right: -10px;
					width: calc(100% - 40px);
					margin-left: 0;
					margin-right: 0;
					width: 100%;
					height: 100%;
					top: 0;
					margin: 0;
					left: 0;
				}
			}

#modal-overlay-confirm.modal-content {
	max-width: 280px;
	border-radius: 20px;
	height: auto;
	margin-top: -10vh;
	padding: 15px 15px 15px 15px;
	width: calc(100% - 30px);
	top: 30vh;
	left: calc(50% - 140px);
	margin: 14px 0;
}
	#modal-overlay-confirm.modal-content button {
		margin: 1em auto;
		font-weight: normal;
		border-radius: 4px;
		padding: 6px 8px;
		cursor: pointer;
	}
	#modal-overlay-confirm.modal-content button.def_button {
		display: block;
		background-color: #ba4a54;
		border: 1px solid #ba4a54;
		color: #fff;
	}




.modal-content .btn-close {
	background: url(/img/btn_close.svg) center center no-repeat;
	height: 32px !important;
	width: 32px !important;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}


.modal-content .btn-close {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    top: 3px;
    right: 3px;
    width: 38px;
    height: 38px;
    border: 2px solid #FFF;
    background-image: url(/assets/img/icon_close.png);
    background-repeat: no-repeat;
    background-position: center 4px;
    color: #FFF;
    font-size: 10px;
    text-align: center;
    cursor: pointer;
}


.modal-content .modal-title {
	font-size: 1.8rem;
	margin: 0 0 1rem 0;
	width: calc(100% - 60px - 130px);
	line-height: 1.3;
	min-height: 80px;
	height: auto;
	overflow-y: hidden;
	border: none;
}
	@media screen and (max-width: 640px){
		.modal-content .modal-title {
/*			min-height: 120px; */
		}
	}
.modal-content .modal-body {
	padding: 5px;
	height: calc(100% - 100px);
	overflow-y: auto;
}
	.modal-content .modal-body {
		padding: 5px;
		height: calc(100% - 100px);
		overflow-y: auto;
	}

	@media screen and (max-width: 640px){
		.modal-content .modal-body {
/*			height: calc(100% - 60px); */
		}
	}

.modal-content .modal-bodymain {
	height: auto;
/*	overflow-y: auto; */
}


.modal-footer {
	height: 218px;
	position: relative;
	bottom: 10px;
}
.modal-footer .btn-footer {
	cursor: pointer;
	background-color: #eee;
	font-size: 0.9em;
	padding: 0 5px;
	height: 40px;
	padding: 10px;
}


.modal-content .modal-bta {
	height: 50px;
	width: 50px;
	position: absolute;
	top: 10px;
	cursor: pointer;
	display: block;
	font-size: 24px;
	text-decoration: none;
	color: #bbb;
	font-weight: bold;
	text-align: center;
	border: 1px solid #a6a6a6;
	padding-top: 11px;
}
	.modal-content .modal-bta:hover {
		background-color:#eee;
	}

.modal-content .modal-prev {
	right: 130px;

}
.modal-content .modal-next {
	right: 70px;

}


	@media screen and (max-width: 872px){
		.modal-content .modal-comment {
		    bottom: 93px;
		}
	}
	@media screen and (max-width: 640px){
		.modal-content .modal-comment {
		    bottom: 85px;
			margin-right: 0;
		}
	}

	.modal-content .modal-comment textarea {
		height: 100px;
		width: 100%;
		max-height: 100px;
		background-color: #fff;
	}


.modal-content .modal-message {
	position: absolute;
    bottom: 99px;
    right: 10px;
    text-align: right;
}

.modal-content .modal-bt {
	height: 50px;
	width: 96%;
	position: absolute;
	bottom: 10px;
	right: unset;
	text-align: center;
}
.modal-content .modal-bt.nodal-read {

}
.modal-content .modal-bt button {
	margin: 0;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: button;
}
.modal-content .modal-bt button.legacy {
color: #222;
    font-size: 13px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    border-radius: 2px;
    box-shadow: none;
    box-sizing: content-box;
    color: #444;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    height: 27px;
    line-height: 27px;
    margin-left: 0;
    margin-right: 16px;
    min-width: 54px;
    outline: 0;
    padding: 3px 15px;
    position: relative;
    text-align: center;
    transition: all .218s;
    white-space: nowrap;
    vertical-align: middle;
    z-index: 1;
}
.modal-content .modal-bt button.btn.action {
background: #3079ed;
    background-image: linear-gradient(to bottom,#4d90fe,#4787ed);
    border: 1px solid #3079ed;
    color: #fff !important;
}



.link_modal {
	text-decoration:underline;
	cursor:pointer;
}

.headtitle_modal {

}
.ex_modal {
	font-size:0.5em;
	font-weight:normal;
	line-height:1.3;
}

.modal-content .modal-title {
    width: calc(100% - 24px);
}


.modal-content .div_title {
	font-size: 18px;
}
	.modal-content .title_ex {
		font-size: 14px;
		margin: 5px 0;
		line-height: 1.5;
	}

.modal-content .div_body {

}
	.modal-content .div_body_inner {

	}
	.modal-content .div_body_inner select {

	}

	.modal-content .div_body_footer {

	}
	.modal-content .div_body_footer .submit {

	}



