@charset "UTF-8";
/* sp(320px) */
html.modal_on,
html.modal_on body {
/*	position: fixed;*/
	/*overflow-y:hidden;*/
}

/* モーダルウィンドウ */
.modal{
	display: none; 
	
	height: 100%;

	min-height: 100vh;
	min-height: -webkit-fill-available;

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;

/*	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	border: 0px solid blue;*/
}
.modal__bg{
	background: rgba(0,0,0,0.8);	
	min-height: 100vh;
	min-height: -webkit-fill-available;

	position: absolute;
	width: 100%;

	/*background: rgba(0,0,0,0.8);
	height: 100vh;
	position: absolute;
	width: 100%;
	border: 0px solid red;*/
}

.modal__content{
	padding: 18px 18px 18px 18px;
	width: 90%;
	max-height: auto;
	height: auto;
	background: #fff;
	text-align: center;

	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	border: 0px solid red;
}
.modal__content.modal_over {
	max-height: auto;
	height: 82%;
	top: 20px;
	transform: translateY(0);
}

/* データ */
.modal__content .modal_data {
	max-height: auto;
	height: auto;
	text-align: left;
	overflow: scroll;
	border: 1px solid #dcdcdc;
}
.modal__content.modal_over .modal_data {
	max-height: auto;
	height: 100%;
}

/* 閉じるアイコン */
.modal__content .m_close {
	position: absolute;
	right: -15px;
	top: -15px;

	width: 50px;
	height: 50px;

	color: #95979c;
	cursor: pointer;

	border: 0px solid #000;
}
.modal__content .m_close:before {
	display: block;
	content: "\00d7";
	text-align: center;	
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
	font-size: 40px;
	line-height: 50px;
	width: 50px;

	position: absolute;
	top: 0;
	left: 0;
	border: 0px solid blue;
}




@media handheld, print, screen and (min-width: 374px) {
/* iphone6 */


/* end of media query(iphone6) */	
}



@media handheld, print, screen and (min-width: 413px) {
/*  iPhone6 Plus */

/* end of media query(iPhone6 Plus) */	
}



@media handheld, print, screen and (min-width: 481px) {
/* tablet */

/* モーダルウィンドウ */
.modal{
	display: none;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}
.modal__bg{
	background: rgba(0,0,0,0.8);
	height: 100vh;
	position: absolute;
	width: 100%;
}
.modal__content{
	padding: 40px 40px 40px 40px;
	width: 60%;
	max-height: auto;
	height: auto;
	background: #fff;
	text-align: center;

	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	border: 0px solid red;
}
.modal__content.modal_over {
	max-height: auto;
	height: 86%;
	top: 20px;
	transform: translateY(0);
}

/* データ */
.modal__content .modal_data {
	max-height: auto;
	height: auto;
	text-align: left;
	overflow: scroll;
	border: 1px solid #dcdcdc;
}
.modal__content.modal_over .modal_data {
	max-height: auto;
	height: 100%;
}

/* 閉じるアイコン */
.modal__content .m_close {
	position: absolute;
	right: 0;
	top: 0;

	width: 50px;
	height: 50px;

	color: #95979c;
	cursor: pointer;

	border: 0px solid #000;
}
.modal__content .m_close:before {
	display: block;
	content: "\00d7";
	text-align: center;	
	font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
	font-size: 60px;
	line-height: 50px;
	width: 50px;

	position: absolute;
	top: 0;
	left: 0;
	border: 0px solid blue;
}




/* end of media query(tablet) */	
}



@media handheld, print, screen and (min-width: 621px) {
/* iPad */



/* end of media query(iPad) */	
}



@media handheld, print, screen and (min-width: 801px) {
/* pc */




/* end of media query(pc) */
}

@media handheld, print, screen and (min-width: 1201px) {
/* pc */





/* end of media query(pc) */
}