﻿@charset "UTF-8";

/*SmartPhone CSS -content Layout-*/

/***********************************
home Layout
************************************/

@media screen and (max-width:520px){
#home #mainimg{
	position: relative;
	background-image: url(../images/mainImg.png);
	background-repeat: no-repeat;
	background-position: 85% 30% !important;
	background-size:auto 100% !important;
}

#home #mainimg h1{
	position: absolute;
	display: block;
	color: #FFF!important;
	font-size: 20px;
	line-height: 28px;
	top: auto !important;
	bottom: 10px !important;
	width: 100%;
	text-align: center;
	left: auto!important;
	background-color: #49593A;
	padding-top: 10px;
	padding-bottom: 10px;
	background: rgba(45,45,45, 0.5);
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}


}

@media print, screen and (max-width:769px){
#home #mainimg{
	position: relative;
	background-image: url(../images/mainImg.png);
	background-repeat: no-repeat;
	background-position: 80% 25%;
	background-size:100% auto;
	height: 380px;
	margin-bottom: 20px;
}

#home #mainimg h1{
	position: absolute;
	display: block;
	top: 50%;
	color: #FFF;
	font-size: 20px;
	line-height: 28px;
	left: 5%;
	text-shadow: 1px 1px 5px #000;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

}

@media print, screen and (max-width:769px){
#home{
}


#home .line{
	display: block;
	width: 130px;
	margin-right: auto;
	margin-left: auto;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #004989;
	margin-bottom: 15px;
}

#home .line_info{
	display: block;
	width: 30px;
	margin-right: auto;
	margin-left: auto;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #000000;
	margin-bottom: 10px;
}


/*#mainimg*/
#home #mainimg img{
	display: none;
}

/*#faceBookBox*/
#home #faceBookBox{
	width: 100%;
}

#home #faceBookBox h1{
	display: block;
	text-align: center;
	font-size: 16px;
	color: #004989;
	margin-bottom: 20px;
}

.fb-page{
	width:100% !important;
	margin-right: auto;
	margin-left: auto;
}

/*#linkBox*/
#home #linkBox{
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 15px;
	margin-bottom: 20px;
	text-align: center;
}

#home #linkBox ul{
	overflow: hidden;
	position: relative;
}

#home #linkBox ul li a{
	width: 48%;
	height: 130px;
	display: block;
	position: relative;
	padding-top: 125px;
}

#home #linkBox ul li span{
	width: 70%;
	display: block;
	padding-right: 5%;
	padding-left: 5%;
	background: rgba(255,255,255,0.7);
	line-height: 24px;
	font-size: 10px;
	color: #0047c6;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

#home #linkBox li.bt01 span{
	color: #0047c6;
	border: 2px solid #0047c6;
	background-image: url(../images/arrow01.png);
	background-repeat: no-repeat;
	background-position: 95% center;
	background-size:auto 15%;
}


#home #linkBox li.bt02 span{
	color: #0084b9;
	border: 2px solid #0084b9;
	background-image: url(../images/arrow02.png);
	background-repeat: no-repeat;
	background-position: 95% center;
	background-size:auto 15%;
}

#home #linkBox ul li p{
	width: 90%;
	display: block;
	position: absolute;
	top: 65%;
	padding-right: 5%;
	padding-left: 5%;
	font-size: 12px;
	line-height: 20px;
}

#home #linkBox ul li a:link,
#home #linkBox ul li a:visited,
#home #linkBox ul li a:active{
	color: #fff;
	outline:none;
	text-decoration: none;
}

#home #linkBox ul li a:hover{
	text-decoration: none;
	outline:none;
}

#home #linkBox ul li:hover{
	opacity:0.5;
}

#home #linkBox li.bt01 a{
	background-image: url(../images/i01.png);
	background-repeat: no-repeat;	
	float: left;
}

#home #linkBox li.bt02 a{
	background-image: url(../images/i02.png);
	background-repeat: no-repeat;
	float: right;
}


/*#aboutBox*/
#home #aboutBox{
	width: 95%;
	padding-top: 55px;
	margin-bottom: 60px;	
}
#home #aboutBox h1{
	display: block;
	text-align: center;
	font-size: 16px;
	margin-bottom: 15px;
	font-weight: bold;
}
#home #aboutBox ul{
	width: 100%;
	display: table;
	table-layout: fixed;
}
#home #aboutBox ul li{
	display: table-cell;
	text-align: center;
	font-size: 14px;
}
#home #aboutBox ul li img{
	width: 75%;
	height: auto;
	margin-bottom: 10px;
}
#home #aboutBox ul li img:active{
	opacity:0.5;
}

/*#guideBox*/
#home #guideBox{
	width: 95%;
	overflow: hidden;
	position: relative;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #d1d1d1;
	margin-bottom: 10px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 15px;
	padding-top: 55px;
}

/*#infoBox*/
#home #guideBox #infoBox{
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}

#home #guideBox #infoBox h1{
	display: block;
	text-align: center;
	font-size: 16px;
	margin-bottom: 15px;
	font-weight: bold;
}

#home #guideBox #infoBox a{
	color: #666666;
}

#home #guideBox #infoBox span.name{
	font-size: 14px;
}

#home #guideBox #infoBox span.i03{
	display: block;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 40%;
	margin-right: auto;
	margin-left: auto;
}

/*#googleMapBox*/
#home #guideBox #googleMapBox{
	width: 100%;
	height: 250px;
}

#home #guideBox #googleMapBox iframe{
	width: 100%;
	height: 250px;
}

/*#bnrBox*/
#home #bnrBox{
	background-color: #f8f6f1;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #d1d1d1;
}

#home #bnrBox ul{
	display: block;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	font-size: 0px;
	line-height: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	overflow: hidden;
	position: relative;
}

#home #bnrBox li{
	width: 46%;
	padding-top: 0px;
	padding-right: 2%;
	padding-bottom: 0px;
	padding-left: 2%;
	float: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}

/*#greetingBox*/
#home #greetingBox{
	clear: both;
}
#home #greetingBox ul{
	width: 100%;
	text-align: center;
}
#home #greetingBox ul li{
	display: inline-block;
	margin-right: 0;
	margin-bottom: 10px;
}
#home #greetingBox ul li:last-child{
	margin-bottom: 0;
}
#home #greetingBox ul li a img{
	width: 95%;
	max-width: 415px;
}
#home #greetingBox ul li a:hover,
#home #greetingBox ul li a:active{
	opacity: 0.5;
}

}

@media screen and (max-width:520px){
/*#aboutBox*/
#home #aboutBox ul{
	width: 100%;
	display: block;
	table-layout: inherit;
}
#home #aboutBox ul li{
	display: block;
	text-align: center;
	font-size: 14px;
	margin-bottom: 20px;
}
#home #aboutBox ul li:last-child{
	margin-bottom: 0;
}
#home #aboutBox ul li img{
	max-width: 180px;
}
}
