
.modal_section {
	max-width: 600px;
	margin: 0 auto;
	padding: 0 15px;
}
.modal_title {
	margin: 0;
	padding: 1em 0;
	font-weight: bold;
}

.modal-open {
	text-decoration: underline;
	cursor: pointer;
	color: #888;
    font-weight: bold;
}

.modal-content {
	max-width: 800px;
	margin: 0 auto;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.3rem;
	background: #fff;
	width:94%
}
@media (min-width: 640px) {
.modal-content {
	max-width: 800px;
}
}
.modal-header {
	display: flex;
	justify-content: space-between;
	padding:1rem 1rem 0 1rem;
	/*border-bottom: 1px solid #dee2e6;*/
}

#kojin_title{
	text-align:center;
	font-family: 'Noto Serif JP', serif;
    font-weight: 600;
	font-size: 20px;
    margin: -15px 0 20px 0;
	line-height:1.3em
}
@media (min-width: 640px) {
#kojin_title{
	font-size: 22px;	
}
}
.modal-title {
	margin: 0;
}
.modal-header .close {
	position: relative;
	width: auto;
	height: auto;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
	color: #000;
	opacity: .5;
}
.modal-header .close:hover {
	opacity: .75;
}
.modal-header .close:active {
	top: 0;
}
.modal-body {
	padding: 1rem 1.5rem;
    height: 16rem;
    overflow: auto!important;
    line-height: 1.6em;
    text-align: justify;
    font-size: 14px;
    font-weight: 300;
}
.modal-body p{
	margin:10px 0 0px 0;
}

.modal_midashi{
	text-align:center;
	margin:25px 0 10px 0;
	font-weight:bold;
	font-size:16px
}
@media (min-width: 640px) {
.modal_midashi{
	text-align:center;
	margin:25px 0 10px 0;
	font-weight:bold;
	font-size:18px
}	
	
}


.modal_li li{
	margin:0 0 5px 0;
}

.koumoku{
	font-weight:500;
}

.mokuteki_li li{
	margin:0 0 0 1em;
}

.number{
	font-weight:600;
}

.c_name{
	margin-top:20px !important;
}

	

@media (min-width: 640px) {
.modal-body {
	 font-size: 16px;
	 line-height: 1.8em;
	padding: 1rem 2rem;
    height: 350px;	
}	
}

.modal-footer {
	text-align:center;
	
	padding: 1.5rem 0;
}
.btn {
	position: relative;
	width: auto;
	height: auto;
	display: inline-block !important;
	font-weight: 400;
	color: #fff !important;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	background: #6c757d !important;
	border: 1px solid #6c757d !important;
	padding: 0.375rem 0.75rem !important;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: 0.25rem;
	transition: 0.15s;
	opacity: 1;
	font-family: initial;
}
.btn:hover {
	background: #5a6268;
	border-color: #545b62;
	opacity: 0.7;
	transition: 0.7s;
}
.btn:active {
	top: 0;
}

.mfp-fade01.mfp-bg,
.mfp-fade02.mfp-bg {
	opacity: 0;
	transition: all 0.2s ease-out;
}
.mfp-fade01.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade02.mfp-bg.mfp-ready {
	opacity: 0.6;
}
.mfp-fade01.mfp-bg.mfp-removing,
.mfp-fade02.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade01.mfp-wrap .mfp-content,
.mfp-fade02.mfp-wrap .mfp-content {
	opacity: 0;
	transition: all 0.2s ease-out;
}
.mfp-fade01.mfp-wrap.mfp-ready .mfp-content,
.mfp-fade02.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade01.mfp-wrap.mfp-removing .mfp-content,
.mfp-fade02.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}
