@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
color:#008385;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust: none;
background:#fff;
border-bottom: 10px solid #15B7B9;
}

#sub {
	overflow:hidden;
}


/* リンク設定
------------------------------------------------------------*/
a{color:#00c3a8;text-decoration:none;}
a:hover{color:#F57170;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
margin:10px auto;
padding:0 1%;
width:98%;
position:relative;
}

.inner{
margin:0 auto;
width:100%;
}

.h1wrapper{
background-color:#15B7B9;
width:100%;
}

.h1wrapper h1{
font-size:8px;
font-weight:normal;
color:#15B7B9;;
}


#footer1{
width:100%;
padding-top:10px;
padding-bottom:10px;
}

.footerwrap{
	width:940px;
	margin:0px auto;
	font:0px;
}

.footerwrapper{
	width:98%;
	margin:10px auto;
	display: -webkit-flex; /* Safari */
	display: flex;
	flex-wrap:wrap;
	flex-basis:auto;
	justify-content:space-between;
}

.footer_banner{
	float:left;
	width:300px;
	height:auto;
}

/*************
/* ヘッダー
*************/

#header{
overflow:hidden;
padding:5px 0 0px;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
position: relative;
}

.logo_left{
float:left;
}

.logo_left img{
	width:340px;
	height: 80px;
}

.logo_right{
float:right;
margin-top:3px;
margin-left: 0px;
}

.logo_right_top img{width:100%;
}

.contact{
float: right;
width:190px;
background-color: #F57170;
margin-bottom:10px;
margin-left:2px;
margin-right:2px;
border-radius: 5px;
text-align: center;
padding-top:8px;
padding-bottom:8px;
}

.contact a{
font-size:15px;
width:190px;
display: inline-block;
text-align: center;
color:#fff;
font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

/**************************
/* トップナビゲーション
**************************/
ul#topnav{
clear:both;
overflow:hidden;
margin:0 auto 10px;
background:#15B7B9;
}

* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
}


* html ul#topnav{height:1%;}

ul#topnav li{
float:left;
}

ul#topnav a{
	width:156px;
	font-size:15px;
	display:block;
	padding:20px 0px 20px 0px;
	color:#fff;
	border-left:1px solid #fff;
	text-align: center;
}

ul#topnav li:first-child a{border:0;}

ul#topnav li:last-child a{width:155px;}

ul#topnav li.active a,ul#topnav a:hover{background:#10DDC2;}

/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
clear:both;
line-height:0;
}

#mainBanner .inner{
	position:relative;
	height: 200px;
	overflow: hidden;
}

#mainBanner img{
width:960px;
overflow: hidden;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:15px;
right:20px;
padding:10px;
line-height:2;
z-index:100;
background-color: rgba(21,183,185,0.9);color:#fff;
font-size: 30px;
}

.slogan h2{
font-size:30px;
}

.slogan h3{
font-size:14px;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
clear:both;
padding:20px 0;
overflow:hidden;
}

* html .gridWrapper{height:1%;}

.grid{
float:left;
background:#f4f4f4;
border-right:1px solid #fff;
height:100px;
}

.grid p{
padding:5px 10px;
}

.grid ul{margin:5px 10px;}

.grid li{
padding:5px 0;
list-style:inside;
border-top:1px solid #fff;
border-bottom:1px solid #dbdbdb;
}

.grid li:first-child{border-top:0;}
.grid li:last-child{border-bottom:0;}

.gridWrapper img{

}

.buttun_wrapper{
clear:both;
padding:0px 0;
overflow:hidden;
}

.buttun_wrapper img{
max-width:100%;
height:auto;

}
.buttun{
float:left;
}

.buttun_left {
	width:70%;
	height:auto;
	font-size: 0px;
	position:relative;
	overflow: hidden;
	color:#fff;
}

.buttun_left img{
	width: 100%;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
}

.aboutkamimura{
	width:100%;
	height: auto;
	position:absolute;
	bottom:0px;
	left:0px;
	display: block;
	color:#fff;
	font-size: 20px;
	font-weight: bold;
	padding:15px;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	background-color: rgba(0,2,0,0.5);
}
.buttun_left a:hover{
	background-color:#FFD412;
}

.buttun_right{
	width:28%;
	height:100px;
	margin-left:2%;
	margin-bottom:13px;
	background:#10DDC2;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	text-align:center;
}

.buttun_right a{
font-size:20px;
color:#fff;
line-height: 100px;
width:100%;
height: 100px;
text-align:center;
display:block;
}

.buttun_right a:hover{
	background:#15B7B9;;}

.buttun_right::after {
	top: -100%;
	width: 100%;
	height: 100%;
}
.buttun_right:hover::after {
	top: 0;
	background-color: #15B7B9;;
}

/* フッター内のグリッド(3カラム) */
#footer .grid{
background:transparent;
}

#footer .col3 ul{margin:0 0 10px 5px;}

#footer .col3 li{
padding:0 7px 0 5px;
margin-bottom:3px;
list-style:none;
border-bottom:0;
display:inline-block;
border:0;
}


/*************
メイン コンテンツ
*************/
section.content{
margin-bottom:20px;
font-size:14px;
overflow:hidden;
}

* html section.content{height:1%;}

section.content article{
padding:10px;
overflow:hidden;
background:#f4f4f4;
}

* html section.content article{height:1%;}

section.content p{margin-bottom:5px;}

h3.heading,#sub .grid h3{
padding:5px 10px;
font-size:14px;
color:#008385;
border-left: solid 10px #10DDC2;
border-bottom: solid 2px #10DDC2;
}

section.content img{
	width:100%;
	height: 100%;
}

section .content_h4{
	font-size: 18px;
	font-weight: bold;
}

section p{
	margin:0px;
}

section.content a{
	color:#fff;
}

#main h3.heading,#sub .col2 h3{
background:#15B7B9;;
border:none;
color:#fff;
}

.alignleft{
float:left;
clear:left;
margin:3px 10px 10px 1px;
}

.alignright{
float:right;
clear:right;
margin:3px 1px 10px 10px;
}

img.frame,#gallery img{
border:3px solid #358cac;
}

#gallery .gridWrapper{padding:0;}
#gallery .grid{border:0;background:none;}

#gallery img{
margin:5px;
}

section#gallery{overflow:visible;}

.hissu{
	color:#F57170;
	font-size:11px;
}

/*************
テーブル
*************/
table.table{
border-collapse:collapse;
width:100%;
margin:10px auto;
}

table.table th,table.table td{
padding:5px;
border:1px solid #73c4e6;
}

table.table tr:first-child th,table.table tr:first-child td{
border-top:#73c4e6 4px solid
}

table.table th{
font-weight:bold;
letter-spacing:1px;
white-space:nowrap;
color:#fff;
background:#358cac;
}


/*************
/* フッター
*************/
#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:960px){
	#wrapper,.inner,ul#topnav{
	width:940px;
	padding:0;
	}

	#wrapper{padding-bottom:20px;}

	#main{
	float:right;
	width:690px;
	}

	#subpage #sub{
	float:left;
	width:235px;
	overflow:hidden;
	}

	/* グリッド */
	.grid{width:234px;}
	.col2{width:469px;padding-bottom:12px;}
	.col3{width:704px;}
	#gallery .grid{width:230px;}
	#subpage #sub .grid{
	width:100%;
	float:none;
	padding-bottom:30px;
	}

}


/* モニター幅960px以下 */
@media only screen and (max-width:960px){
	#header h1,#header .logo{padding-left:10px; padding-right:10px;}
	#header .info{padding-right:10px;}

	ul#topnav{
	clear:both;
	width:100%;
	}

	ul#topnav li{
	width:33%;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
	box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:nth-child(3n){border-right:0;width:34%;}

	ul#topnav a{
	width:100%;
	border:0;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	ul#topnav li:last-child a{width:100%;
	border:0;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;}

	#mainBanner{width:100%;}
	.buttun_left{width:100%; position: relative;}
	.buttun_right{width:100%; margin-top:5px; margin-bottom:0px; margin-left:0px;}

	.grid{
	width:50%;
	margin:2px 0;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}

	.col2{
	float:none;
	width:100%;
	margin:0 0 20px;
	}

	.grid img{
	float:left;
	margin-right:5px;
	}

	#gallery .grid{
	width:31%;
	margin:0 1%;
	padding:0;
	}

	#gallery .grid img{
	float:none;
	}

	section.content{padding:0 10px;}

	section.content img{
  max-width:90%;
	height:auto;
	}

	#sub .grid{padding-bottom:20px;}

	#footer{padding:0;}

	#footer .grid{
	float:none;
	width:100%;
	margin-bottom:5px;
	text-align:center;
	}

	.footerwrap{
		width:100%;
		margin:0px auto;
		padding-top: 10px;
		padding-bottom:10px;
	}

	.footerwrapper{
			width:98%;
			display: flex;
			flex-wrap: wrap;
	}
	.footerwrapper a{
			width:49%;
	}

	.footer_banner{
		width:100%;
		height: auto;
	}

	.footer_banner img{
		width:100%;
		height: auto;
	}

}

/**

.footerwrapper{
	width:98%;
	margin:10px auto;
	display: -webkit-flex;
	display: flex;
	flex-wrap:wrap;
	flex-basis:auto;
	justify-content:space-between;
}

.footer_banner{
	float:left;
	width:300px;
	height:auto;
}*//


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	.buttun_left{width:100%; position: relative;}
	.grid{width:100%;}

	.grid img{
	float:none;
	margin:20px auto 10px;
	}

	.grid p{text-align:left;}

	img.frame,#gallery img{border-width:2px;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}

	.buttun_left p{
		font-size: 15px;
		font-weight: normal;
	}

	#footer .grid p{text-align:center;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	#header .logo{padding-top:10px;}
  .info{padding:10px 0;}
	.logo_left{width:100%;}
	.logo_left img{width:100%; height: 100%;}
	.logo_right {width:100%;}
	.logo_right img{width:100%;}
	ul#topnav li{
	width:33%;
	border-right:1px solid #fff;
	border-bottom:1px solid #fff;
	box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
	}
	ul#topnav li a{
	font-size: 11px;
		}
	#mainBanner h2{font-size:80%;}
	#mainBanner h3{font-size:40%;}
	.contact{
	width:100%;
	}
}