@charset "utf-8";

/*--------------------------------------------*/
/*ヘッダーブロック*/
header .inner {
	width: 990px;	/*ブロック幅*/
	height: 110px;	/*ブロックの高さ*/
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
/*h1ロゴの設定*/
header .inner h1{
	position:absolute;
	left: 142px;
	top: 3px;
	font-size:12px;
	line-height:1.5;
	color:#808080;
}
.rogo {
	position: absolute;
	left: 34px;
	bottom: 10px;
}

/*電話番号ボックスの設定*/
header .inner address {
	position: absolute;
	bottom: 10px;
	right: 5px;
	font-size: 12px;
	line-height: 1.3;
	font-style:normal;
}
/*電話番号の文字設定*/
header .inner address .tel {
	font-size: 11px;	
}
header .inner address img {
	margin:3px 0;
}
.telNo{
	font-size:33px;
	font-family:Arial, Helvetica, sans-serif;
	font-style:normal;
	color:#61a431;
	line-height:25px;
	padding-left:30px;
	background:url(../images/tel.png) no-repeat 0 1px;
	margin:3px 0;
}
header .inner address .tel2{
	display:none;
}

#main a:link { text-decoration:none; color:#00f; }
#main a:visited { text-decoration:none; color:#00f; }
#main a:hover { text-decoration:none; color:#f30; }
#main a:active { text-decoration:none; color:#333; }

@media screen and (min-width:580px) and (max-width:989px){
header .inner {
	width: 100%;	/*ブロック幅*/
	height: 100px;	/*ブロックの高さ*/
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
/*h1ロゴの設定*/
header .inner h1 {
	position: absolute;
	width:75%;
	left: 20px;
	top: 3px;
}
.rogo {
	position: absolute;
	width: 280px;	
	left: 20px;
	bottom: 10px;
}
}

@media screen and (max-width:579px){

/*ヘッダーブロック*/
header .inner {
	width: auto;
	height: auto;
	text-align: center;
}
/*h1ロゴの設定*/
header .inner h1 {
	display:none;
}
.rogo {
	margin-top:10px;
	position: static;
	width: 250px;	
	height: auto;
}
/*電話番号ボックスの設定*/
header .inner address{
	position:static;
	margin-bottom:5px;
}
header .inner address .tel{
	display:none;
}
header .inner address .tel2{
	display:block;
	font-size:11px;
	line-height:15px;
}
.telNo{
	font-size:27px;
	font-family:Arial, Helvetica, sans-serif;
	font-style:normal;
	color:#61a431;
	line-height:25px;
	padding:0;
	background:none;
}
}


/*--------------------------------------------*/
/*ヘッダの下グラデ*/
.grade_line{
	width:100%;
	height:9px;
	background: -moz-linear-gradient(left,#8fc31f,#c8161e);
background: -webkit-gradient(linear, left center, right center, from(#8fc31f), to(#c8161e));
background: -o-linear-gradient(left, #8fc31f, #c8161e);
background: linear-gradient(left, #8fc31f, #c8161e);
}



/*--------------------------------------------*/
/*コンテンツ（main,sub,sideを囲むブロック）*/
#contents {
	clear: left;
	width: 990px;
	margin: 0 auto;
}

/*コンテンツin（main,subを囲むブロック）*/
#contents-in {
	float: left;
	width: 990px;
	padding-top:25px;
	padding-bottom:100px;
}
@media screen and (min-width:480px) and (max-width:989px){
#contents {
	clear: left;
	width: auto;
}
#contents-in, #sub{
	float: none;
	width: auto;
}}



/*--------------------------------------------*/
/*サブコンテンツ*/
#sub {
	float: right;
	width: 170px;
	height:2000px;
	background-image:url(../images/happa.png) ;
	background-repeat:repeat-y;
}



@media screen and (min-width:480px) and (max-width:989px){
	
#contents-in {
	padding-top:10px;
}
#sub {
	display:none;
}

}

@media screen and (max-width:480px){
/*コンテンツ（main,subを囲むブロック）*/
#contents {
	width: auto;
}

/*contents-in,main,subコンテンツ*/
#contents-in, #main, body.c2 #main, #sub {
	float: none;
	width: auto;
}
#contents-in {
	padding-top:10px;
}
#sub {
	display:none;
}
}

/*フッター設定------------------------------*/
body,html {
	position: relative;
	height: 100%;
	box-sizing: border-box;
	padding-bottom:60px;
}
footer {
	clear: both;
	position:fixed;
	left:0;
	bottom:0;
	width:100%;
	padding-top:10px;
	height:60px;
	color: #fff;	/*文字色*/
	background: #3eb06e;	/*背景色*/
}
footer .copyright{
	height:100%;
	padding-left:30px;
	width:960px;
	margin:0 auto;
	font-size:70%;
	line-height:1.5;
}

@media screen and (max-width:480px){
footer .copyright{
	display:none;
}
footer .copyright2{
	height:60px;
	padding-left:15px;
	width:100%;
	font-size:70%;
	line-height:1.5;
}}

/*PAGE TOP設定*/
#page-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    font-size: 77%;
}
#page-top a {
    background: #b3b3b3;
    text-decoration: none;
    color: #fff;
    width: 85px;
    padding: 3px 0 2px;
    text-align: center;
    display: block;
	-moz-border-radius: 12px;    /* Firefox */
    -webkit-border-radius: 12px; /* Safari,Chrome */
    border-radius: 12px;         /* CSS3 */
}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}