@charset "utf-8";
/* ------------------------------------------------------------------------------------- */
/* =================== ↓モーダルウィンドウ ================ */
/* ----------------------------- オーバーレイ用 ▽ */
#MODAL_OVERLAY {
	z-index: 99999;
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	background-color: rgba(0, 0, 0, 0.75);
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 30px;
}
/* ----------------------------- オーバーレイ用 △ */
/* --------------------------------- 画像表示用 ▽ */
#MW_WRAPPER {
	margin : auto;
	position : absolute;
	top : 0;
	bottom : 0;
	left : 0;
	right : 0;
}
#MODAL_OVERLAY DIV#MW_IMAGE {
	position: relative;
	text-align: center;
	box-sizing: border-box;
	max-width: 1200px;
	height: calc(100vh - 150px);
    height: calc(100dvh - 150px);
	margin: auto;
	background-color : rgba(255,255,255,0.9);
}
#MODAL_OVERLAY DIV#MW_IMAGE #VIEW_MAP_SP div[aria-label='マップ'] img{
	top : auto;
	left :auto;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	margin : auto;
	max-width: none;
	max-width: height;
}
#MODAL_OVERLAY DIV#MW_IMAGE .gm-svpc img {
    max-width: none;
    max-height: none;
}
#MW_TEXTS_WRAPPER span{
	padding : 15px;
}
#MODAL_OVERLAY img{
	user-select: none;
	/* CSS3 */
	-moz-user-select: none;
	/* Firefox */
	-webkit-user-select: none;
	/* Safari、Chromeなど */
	-ms-user-select: none;
	/* IE10 */
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	display : block;
}
.mw_main_photo{
	position : absolute;
	top : 0;
	right : 0;
	left : 0;
	margin : auto;
	height : 100%;
}
#MW_THUMBNAIL_BASE{
	z-index : 600;
	position : absolute;
	bottom : 10px;
	left : 0;
	right : 0;
	overflow-x : auto;
	overflow-y : hidden;
	height : 100px;
	width : 100%;
	white-space : nowrap;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:flex;
	-webkit-justify-content: center; /* Safari etc. */
	-ms-justify-content : center; /* IE10 */
	justify-content : center;
	align-items : center;
	background-color : rgba(0,0,0,0.5);
}
#MW_THUMBNAIL {
	height : 100px;
	width : auto;
	margin-top : 15px;
}
#MW_THUMBNAIL > img:not(:first-of-type) {
	position : static;
	border-left : none;
}
#MW_THUMBNAIL > img:first-of-type {
	position : static;
}
#MW_THUMBNAIL img{
	cursor : pointer;
	margin-right : 2px;
	opacity : 0.5;
	display : inline-block;
}
#MODAL_THUMBNAIL_CAROUSEL li{
	display: inline-block;
	position : relative;
	width : 100px;
	height : 100px;
	overflow: hidden;
	transition : .2s;
	cursor: pointer;
	margin : 0px 2px;
}
#MODAL_THUMBNAIL_CAROUSEL li:hover{
	opacity: .5;
}
#MODAL_THUMBNAIL_CAROUSEL li img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#MODAL_IMAGE_THUMBNAIL{
	position: fixed;
	width: 100%;
	bottom: 0px;
	left: 0px;
}
/* ----------------------------- 画像表示用 △ */
/* ----------------------------- コメント用 ▽ */
#MODAL_OVERLAY #MW_TEXTS_WRAPPER {
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	width: 100%;
	height: auto;
	margin: auto;
	box-sizing: border-box;
	background-color : rgba(0,0,0,0.8);
}
#MODAL_OVERLAY SPAN#MW_COMMENT {
	display: block;
	color : #ffffff;
	position : absolute;
	bottom : 0;
	width : 100%;
	line-height: 1.3em;
	background-color: rgba(0,0,0,0.8);
}
/* -------------------------------  コメント用 △ */
/* -----------------------------  ＜・＞ボタン ▽ */
#MODAL_OVERLAY .button_slide {
	z-index: 9999;
	display: block;
	position: absolute;
	top: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	color: #ffffff;
	font-size: 21px;
	text-align: center;
	background-color: var(--color-black);
	width: 44px;
	height: 150px;
}
#MODAL_OVERLAY .button_slide:before{
	width : 30px;
	height : 30px;
	border-top : 2px solid #ffffff;
	border-right : 2px solid #ffffff;
	position : absolute;
	margin : auto;
	display : block;
	cursor : pointer;
	content : "";
}
#MW_IMAGE_COUNT:not(:empty){
	position : absolute;
	top : 10px;
	background: var(--color-black);
	color : #fff;
	display: block;
	width : 70px;
	margin: auto;
	left: 0;
	right : 0;
	text-align: center;
	padding : 5px;
	z-index: 100000;
}
#MW_BUTTON_BACK {
	left: 0px;
}
#MW_BUTTON_BACK:before{
	top : 0;
	bottom : 0;
	left : 15px;
	-webkit-transform : rotate(225deg);
	transform : rotate(225deg);
}
#MW_BUTTON_NEXT{
	right: -44px;
}
#MW_BUTTON_NEXT:before{
	top : 0;
	bottom : 0;
	-webkit-transform : rotate(45deg);
	transform : rotate(45deg);
}
/* -----------------------------  ＜・＞ボタン △ */
/* -----------------------------  閉じるボタン ▽ */
.button_close {
    z-index: 9999;
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #ffffff;
    font-size: 30px;
    line-height: 1em;
    text-align: center;
    background-color: var(--color-black);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-sizing: border-box;
    width: 45px;
    height: 45px;
    border-radius: 0;
    padding: 5px;
}
/* ----------------------------- 閉じるボタン △ */
/* =================== ↑モーダルウィンドウ ================ */

/* ------------------------------------------------------------------------------------- */
/* 600px以下 */
/* ------------------------------------------------------------------------------------- */
@media screen and (max-width: 600px) {

	/* ----------------------------- モーダルウィンドウ ▽ */
	/* 横サイズにも対応 */
	#MODAL_OVERLAY DIV#MW_IMAGE{
		height: calc(100vh - 80px);
    	height: calc(100dvh - 80px);
	}
	#MW_IMAGE_WRAPPER{
		height : calc(100% - 100px);
		overflow : hidden;
	}
	#MODAL_OVERLAY{
		padding : 20px;
	}
	.tech_subtitle span:after,
	.tech_subtitle span:before{
		display : none;
	}
	/* スクロールバー表示 */
	#MW_WRAPPER .flow_box::-webkit-scrollbar,
	.div_tech_textbox::-webkit-scrollbar {
		height: 5px;
	}
	#MW_WRAPPER .flow_box::-webkit-scrollbar-track,
	.div_tech_textbox::-webkit-scrollbar-track {
		border-radius: 2px;
		background: #eee;
	}
	#MW_WRAPPER .flow_box::-webkit-scrollbar-thumb,
	.div_tech_textbox::-webkit-scrollbar-thumb {
		border-radius: 2px;
		background: #666;
	}
	#MODAL_OVERLAY #MW_TEXTS_WRAPPER{
		bottom : 100px;
	}
	#MW_WRAPPER .div_tech_syousai{
		overflow : auto;
	}
	#MW_THUMBNAIL_BASE{
		bottom : 0;
		height : 50px;
	}
	#MW_THUMBNAIL{
		height : 50px;
		margin-top: 0;
	}
	#MODAL_OVERLAY #MW_TEXTS_WRAPPER{
		bottom : 50px;
	}
	#MW_TEXTS_WRAPPER span{
		padding : 5px;
	}
	#MW_BUTTON_BACK {
		left: 10px;
	}
	#MW_BUTTON_NEXT{
		right: -30px;
	}
	#MODAL_OVERLAY .data_box p{
		width : 100%;
	}
	#MODAL_OVERLAY .data_box p:nth-child(2){
		border-top : none;
	}
	/* ----------------------------- モーダルウィンドウ △ */
}
/* ------------------------------------------------------------------------------------- */
/* 560px以下 */
/* ------------------------------------------------------------------------------------- */
@media screen and (max-width: 560px) {

	/* ----------------------------- モーダルウィンドウ ▽ */
	#MODAL_OVERLAY{
		padding : 20px 10px;
	}
	.mw_main_photo{
		position : relative;
		overflow : hidden;
	}
	/* ----------------------------- モーダルウィンドウ △ */
}
/* ------------------------------------------------------------------------------------- */
/* 420px以下 */
/* ------------------------------------------------------------------------------------- */
@media screen and (max-width: 420px){
	#MODAL_OVERLAY{
		padding : 10px 0px;
	}
	#MODAL_OVERLAY .button_slide{
		background : rgba(0,0,0,0.3);
		-ms-transform: translate(0%, -50%);
	    transform: translate(0%, -50%);
	}
	#MW_BUTTON_BACK{
		left : 0;
	}
	#MW_BUTTON_NEXT{
		right : 0;
	}
	.mw_main_photo{
		width : 100%;
	}
}
/* IE11 ハック */
@media all and (-ms-high-contrast:none) {
	*::-ms-backdrop, #MODAL_OVERLAY .mw_main_photo img{
		height : auto;
	}
}
