/*-----------------------------------------------------------------
	共通CSS
-----------------------------------------------------------------*/

.facility_bg {	
	min-height: 100%;
	/*min-height: 100vh;*/ /* テスト用 */
}

.facility_wrap {
	width: 100%;
	height: auto !important;    /* IE6対策 */
    height: 100%;             /* IE6対策 */
    min-height: 100%;
	position: relative;
}

/* side */

.facility_side {
	width: 280px;
    height: auto;
	min-height: 100%;
	float: left;
	display: inline-block;
	position: absolute;
	padding: 0 0 50px;
	z-index: 50;
}

.facility_logo {
	width: 80%;
	max-width: 250px;
	margin: 20px auto 20px;
}

.facility_logo img {
	width: 100%;
}

.facility_num {
	width: 70%;
	background: #29345B;
	border: #fff 2px solid;
	border-radius: 30px;
	color: #fff;
	font-weight: bold;
	margin: 0 auto 10px;
	padding: 5px 10px 5px 25px;
	text-align: center;
}

.facility_num a {
	color: #fff;
}

.facility_num.tel {	background: #29345B url(../img/icon_tel_s.png) no-repeat 15px center;}
.facility_num.fax {	background: #29345B url(../img/icon_fax_s.png) no-repeat 15px center;}

.facility_address {	
	width: 70%;
	background: url(../img/icon_access_s.png) no-repeat 15px top;
	margin: 20px auto;
	line-height: 1em;
	font-size: 88%;
	padding: 0 0 0 35px;
}

.facility_menu {
	width: 100%;
}

.facility_menu li a {
	width: 100%;
	background: #29345B url(../img/icon_arrow_w.png) no-repeat 20px center;
	border-bottom: #fff 1px solid;
	color: #fff;
	display: block;
	font-size: 93%;
	font-weight: bold;
	padding: 10px 10px 10px 50px;
}

.facility_menu li.clr_orange a {
	background: #ff5e0d url(../img/icon_arrow_w.png) no-repeat 20px center;
}

/* main */

.facility_main {
	width: 100%;
	height: 100%;
	background: #f4f1ea;
	float: right;
	display: inline-block;
	margin-left: -280px;
}

.facility_contents {
	padding-left: 280px;	
}

.facility_mv {
	position: relative;
}

.fmv_bn {
	position: absolute;
	top: 30px;
	right: 30px;
	z-index: 10;
}

/* スライダー */
.flexslider{
	width:100%;
	border: none;
	margin:0 auto;
	text-align: center;
	/*z-index: 50;*/
}

.flexslider li img{
	width:100%;
}

.h2_facility {
	background: #fff;
	border-left: #29345B 10px solid;
	border-right: #29345B 10px solid;
	box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
	margin: 0 auto 30px;
	padding: 20px;
}

.facility_box {
	text-align: center;
	padding: 20px 40px;
}

.bg_facility_color {
	background: #ffebb0;
}

.facility_blog_box {
	position: relative;
	text-align: left;
}

.facility_blog_img {
	width: 300px;
	height: 200px;
	background: #333;
	float: left;
	overflow: hidden;
	position: relative;
	margin: 0 20px 10px 0;
}

.facility_blog_img img {
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 0 5px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.facility_blog_inner {
	/*float: left;*/
}

.facility_blog_title {
	border-bottom: #666 1px solid;
	font-size: 113%;
	font-weight: bold;
	margin: 0 0 10px;
	padding: 5px;
}

.facility_blog_txt {
	color: #666;
}

.facility_blog_date {
	color: #29345B;
}

.facility_blog_link {
	background: #29345B url(../img/icon_arrow_w.png) no-repeat 10px center;
	color: #fff;
  	position: absolute;
	bottom: 0;
	right: 0;
	padding: 8px 10px 8px 35px;
}

.facility_tbl {
	width: 100%;
}

.facility_tbl th,
.facility_tbl td {
	border-bottom: #ccc 1px solid;
	padding: 10px;
	text-align: left;
}

.facility_tbl th {
	width: 20%;
	min-width: 180px;
	color: #29345B;
}

.facility_map {
	background: #29345B;
	padding: 20px 3% 50px;
	text-align: center;
}

.facility_map_title {
	background: url(../img/icon_access.png) no-repeat 30px center;
	display: inline-block;
	color: #fff;
	font-size: 133%;
	font-weight: bold;
	padding: 20px 20px 20px 90px;
}

.map_box {
    position:relative;
    width:100%;
    height:0;
	border: #ccc 1px solid;
	margin: 0 auto 20px;
    padding-top: 40%;
}
.map_box iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.fmap_btn a {
	width: 100%;
	background: #fff url(../img/icon_map.png) 20px no-repeat;
	border-radius: 40px;
	color: #29345B;
	display: block;
	font-size: 133%;
	font-weight: bold;
	text-align: center;
	padding: 15px 20px 15px 40px;
}

/* Slider */

.facility_gallery_slider {
  margin: 0 auto 20px;
	text-align: center;
}

.facility_gallery_slider li {
	border-left: #ffebb0 1px solid;
  margin: auto;
	text-align: center;
  vertical-align: middle;
}

.facility_gallery_slider li p {
	background: rgba(255,255,255,0.8);
	display: inline-block;
	font-size: 66%;
	padding: 5px 10px;
	margin: -30px auto 0;
}

#cboxOverlay {
	background: #000;
	opacity: 0.9;
	filter: alpha(opacity = 90);
}

#cboxCurrent {
	display: none;
}

#cboxContent {
	padding: 0 0 10px;
}

#cboxPrevious {
	position: absolute;
	bottom: 5px;
	left: 10px;
}

#cboxNext {
	position: absolute;
	bottom: 5px;
	left: 50px;
}

#cboxClose {
	position: absolute;
	bottom: 5px;
	right: 10px;
}

#cboxTitle {
	font-size: 88%;
}

.floormap_box {
	background: #fff;
}

.fcontact_list {
	width: 100%;
	text-align: center;
}

.fcontact_list li {
	width: 48%;
	max-width: 380px;
	min-width: 320px;
	display: inline-block;
	margin: 0 1% 30px;
}

.fcontact_list li:first-child {
	width: 100%;
	max-width: 800px;
	display: block;
	margin: 0 auto 30px;
}

.fcontact_list li:nth-child(1) {
	background: url(../img/icon_arrow_w.png) no-repeat 30px center;
}


.fcontact_btn a {
	width: 100%;
	background: #29345B;
	border-radius: 40px;
	color: #fff;
	display: block;
	font-size: 113%;
	font-weight: bold;
	padding: 15px 20px 15px 40px;
}

.fcontact_btn.contact a {	background: #29345B url(../img/icon_contact.png) 20px no-repeat;}
.fcontact_btn.tel a {	background: #29345B url(../img/icon_tel.png) 20px no-repeat;}
.fcontact_btn.fax a {	background: #29345B url(../img/icon_fax.png) 20px no-repeat;}


@media screen and (max-width: 800px) {
	
/*-----------------------------------------------------------------
	共通CSS
-----------------------------------------------------------------*/

/* sides */

.facility_side {
	width: 100%;
  height: 80px;
	min-height: auto;
	float: none;
	position: relative;
}

.facility_logo {
	width: auto;
	max-width: 120px;
	height: 60px;
	margin: 10px 10px 10px;
}

.facility_logo img {
	width: auto;
	height: 100%;
}
	
.facility_menu_btn {
	width: 100px;
	height: 40px;
	background: #29345B url(../img/facility_menu_btn.png) no-repeat center;
	background-size: auto 20px;
	border: #fff 2px solid;
	border-radius: 20px;
	cursor: pointer;
	padding: 0 8px 0;
	position: absolute;
	top: 30px;
	right: 55px;
	margin: auto;
	vertical-align: middle;
}

.facility_num {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	padding: 5px;
}

.facility_num.tel {	
	background: #29345B url(../img/icon_tel_s.png) no-repeat center;
	position: absolute;
	top: 30px;
	right: 10px;
}

.facility_num.tel span { display: none;}
.facility_num.fax { display: none;}

.facility_num.tel a {
	width: 100%;
	height: 100%;
	border-radius: 20px;
	display: block;
}
	
.facility_address {
	display: none;
}

.facility_menu {
	display: none;
	position: absolute;
	z-index: 300;
}

/* main */

.facility_main {
	float: none;
	margin-left: 0;
}

.facility_contents {
	padding-left: 0;	
}

.fmv_bn {
	width: 25%;
	height: auto;
	top: 5px;
	right: 5px;
}

.h2_facility {
	border-left: #29345B 5px solid;
	border-right: #29345B 5px solid;
	font-size: 100%;
	margin: 0 auto 30px;
	padding: 10px;
}

.facility_box {
	padding: 20px 10px;
}
	
	/* 事業概要 */

.facility_tbl th,
.facility_tbl td {
	width: 100%;
	display: block;
	padding: 0 5px 5px 5px;
	vertical-align: top;
}

.facility_tbl th {
	width: 100%;
	border-bottom: none;
	min-width: 180px;
	padding: 5px 5px 0 5px;
	color: #29345B;
}

.facility_map {
	padding: 10px 3% 30px;
}

.map_box {
    padding-top: 60%;
}

.fmap_btn a {
	width: 100%;
	background: #fff url(../img/icon_map.png) 20px no-repeat;
	background-size: 30px;
	font-size: 93%;
	padding: 10px 20px 10px 40px;
}

.facility_blog_img {
	float: none;
	margin: 0 auto;
}

.facility_blog_txt {
	margin: 0 0 20px;
}

/* contact */

.fcontact_list li {
	width: 90%;
	margin: 0 1% 20px;
}

.fcontact_list li:first-child {
	width: 100%;
}

.fcontact_btn a {
	font-size: 100%;
	padding: 10px 20px 10px 40px;
}

.fcontact_btn.contact a {	background: #29345B url(../img/icon_contact.png) 20px no-repeat; background-size: 30px;}
.fcontact_btn.tel a {	background: #29345B url(../img/icon_tel.png) 20px no-repeat; background-size: 30px;}
.fcontact_btn.fax a {	background: #29345B url(../img/icon_fax.png) 20px no-repeat; background-size: 30px;}
	
}