/**
 * 04-01　モーダルウィンドウ
 */
.modalwin {
	position: fixed;
	width: 600px;
	background-color: #fff;
	border-radius: 5px;
	box-shadow: 0 2px 4px 0 #000;
}
.show {
	display: block;
}
.hide {
	display: none;
}
.modalwin h1 {
	background: #ededed;
	padding: 20px;
	border-radius: 5px 5px 0 0;
	font-size: 1.2em;
}
.modalwin-contents {
	padding: 20px;
}
.modalwin-contents img {
	margin: 0 10px 10px 0;
	float: left;
}
.modalwin-contents p {
	margin: 0 0 1em 0;
	line-height: 1.8em;
}
/* 閉じるボタン */
a.modal-close {
	display: block;
	background-image: url(../../01_service%20-%20Copy/images/close.png);
	background-position: 0 0;
	background-repeat: no-repeat;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	right: 0;
}
a.modal-close:hover {
	background-position: -40px 0;
}
a.modal-close:active {
	background-position: -80px 0;
}
/* シェード */
#shade {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #999;
	opacity: 0.9;
}


/**
 * 02-04　簡易的なイメージギャラリー
 */
.gallery {
	width: 700px;
	background: #ededed;
	border-radius: 0px;
	line-height: 0;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0%;
	margin-left: auto;
	padding-top: 1%;
	padding-right: 10px;
	padding-bottom: 0.5%;
	padding-left: 10px;
}
.mainimage {
	text-align: center;
}
.mainimage > img {
	max-width: 100%;
}
.thumbnails {
	margin-top: 8px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
.thumbnails li {
	float: left;
	margin: 0 2px 0 0;
	border: 2px solid #ededed;
}
.thumbnails li.selected {
	border: 2px solid #8ac2d0;
}

/**
 * RESPONSIVE: スマートフォン向けウィンドウ幅600px以下
 */
@media screen and (max-width:600px) {
.gallery {
	width: 96%;
	margin-top: 20px;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 20px;
	padding-right: 2%;
	padding-bottom: 20px;
	padding-left: 2%;
	}
}

/**
 * 04-02　ウィンドウ上端でグローバルナビゲーションを固定する
 * 04-03　指定した位置でサイドメニューを固定する
 */
.fixed {
	position: fixed;
}
.wrapper-nav-global.fixed {
	width: 100%;
}
