﻿/**/
/**/
/**/

html,body{
    width: 100%;
    height: 100%;
    margin: 0;
}
body {
	*font-size:small;
	*font:	x-small;
	line-height:1.6;
	text-align: justify;
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	color: #333333;
    -moz-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size: 12px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.clearfix:after {
	content: " "; 
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {
	min-height: 1px;
}
a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
	color: #333333;
}
a[href^="tel"]{
    color:inherit;
    text-decoration:none;
}
a:hover{
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";}

ul { list-style: none; }

.block{
	display: block;
	text-indent: -9999px;
}
.pc-blk{
	display: none;
}
.smp-block{
	display: block;
}
.pc{
	display: none;
}
/**/
img{
	vertical-align: bottom;
}
body {
	font-size: 16px;
}
.pc-blk{
	display: none;
}
.smp-block{
	display: block;
}
/**************/
img{
	width: 100%;
}
#main-image{
	background: url(../img/top/main-image-smp.jpg) no-repeat center bottom;
	height: 500px;
	background-size: cover;
}
#main-image h1{
	width: 80%;
	position: absolute;
	left: 6%;
	top: 3%;
}
#main-image p{
	width: 90%;
	position: absolute;
	left: 6%;
	top: 6%;
}
#banner-box ul li{
	border: solid #FFF 1px;
	border-right: none;
	border-left: none;
}
#banner-box ul li:first-child{
	border-top: none;
}
#banner-box ul li:first-child,
#banner-box ul li:nth-child(2n),
#banner-box ul li:nth-child(3n){
	border-bottom: none;
}

/**/
#sec01{
	background: url(../img/top/sec01-bg.jpg) no-repeat center center;
	background-size: cover;
	padding-bottom: 100px;
}
#sec01 p{
	width: 87.5%;
	margin: 0 auto;
	text-align: justify;
	color: #FFF;
	padding: 60px 0 0 0;
	line-height: 1.8em;
}
#sec01 p span{
	display: block;
	padding-top: 30px;
}
#sec02 dl{
	padding: 40px 0 0 0;
}
#sec02 dl dt{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 40px;
}
#sec02 dl dd ul li:first-child{
	width: 90%;
	margin: 0 auto;}
#sec02 dl dd ul li:nth-child(2n){
	width: 90%;
	margin: 0 auto;
}
#sec02 dl dd ul li:nth-child(3n){
	width: 90%;
	margin: 0 auto;
}
#sec02 dl dd ul li:nth-child(4n){
	width: 29.68%;
	margin: 0 auto;
}
#sec02 dl dd ul li{
	padding-bottom: 40px;
}

footer{
	background: #000000;
	padding: 30px 0 30px 0;
	text-align: center;
	color: #FFF;
}
footer small{
	font-size: 12px;
}
/*
#main-image{
	background: url(../img/top/main-image.jpg) no-repeat center bottom;
	background-size: cover;
	max-height: 1040px;
	position: relative;
}
#main-image h1{
	
}
*/

@media screen and (min-width: 490px) {/***************************************************************/	
#main-image{
	background: url(../img/top/main-image-smp02.jpg) no-repeat center bottom;
	height: 100vh;
	min-height:100vh;
	background-size: cover;
}
	
}
