@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.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.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;}
img{max-width: 100%; height: auto;}
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;  }
.clearfix { display: inline-table; }
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* -------------------------------------------------------------- */

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


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


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

.inner{
margin:0 auto;
width:100%;
}
h1{font-size: 1.7em}
h2{font-size: 1.5em}
h3{font-size: 1.2em}

.txt-c{text-align: center;}
.txt-r{text-align: right;}
.txt-l{text-align: left;}
input,textarea,select{
  vertical-align:middle;
  max-width:90%;
  line-height:40px;
  height:40px;
  padding:1px 5px;
  border:1px solid #d4d4d7;
  border-radius:3px;
  font-size:100%;
  color:#555;
  background:#fcfcfc;
}
.long{
  width: 90%;
}
textarea{
  height:auto;
  line-height:1.5;
}
input[type="submit"],input[type="reset"],input[type="button"]{
  line-height: 60px;
  height: 60px;
  border:0;
  border-radius:3px;
  font-size: 1.2em;
  color:#fff;
  background:#2c7fe8;
  width: 80%;
  margin: 0 auto;
}
input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover{
  background: #1cac45;
  cursor:pointer;
}
input[type="button"]{
  background:#bbbbbb;
}
*:first-child+html input[type="submit"]{padding:3px;}

/*************
/* ヘッダー
*************/
header{
margin: 0 auto;
padding: 1.5em 0;
width: 96%;
}

/*************
/* ロゴ
*************/
header .logo{
float:left;
width: 45%;
}
.logo p{float:left;}
.logo img{width:70%;}
.logo span{display:block;}

/*************
/* 電話番号
*************/
header .info{
float:right;
text-align:right;
width: 50%;
}
.info .open{font-size:1.1em;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
color:#00a0e9;
font-size:24px;
font-weight:bold;
}
.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
#mainBanner{
margin: 1em auto;
padding: 0;
width: 97%;
position: relative;
line-height: 0;
}
#mainBanner img{
max-width:100%;
height:auto;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:10px;
right:10px;
padding:5px 10px;
line-height:1.4;
color:#fff;
background-color: rgba(0,0,0,0.8);
}
.slogan h1{
font-size:20px;
background: none;
}


/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
width: 97%;
margin: 0 auto;

}
* html .gridWrapper{height:1%;}

.grid, .grid2{
border-radius:5px;
background:#fff;
}
.box{
margin:0;
padding:10px;
border:1px solid #ebebeb;
}
  .box img{
  max-width:100%;
  height:auto;
  }
  .box h3{padding:10px 0 5px;}
  .box h3, .box p{text-align:left;}
  .box p.readmore{
  padding:10px 5px 5px;
  text-align:right;
  }

/*************
メイン コンテンツ
*************/
section.content article{
padding:20px;
margin-bottom:20px;
border:1px solid #ebebeb;
overflow:hidden;
}
section.content article p{
  margin: 0 0 .6em;
}

* html section.content article{height:1%;}
#subpage h1, #subpage h2, #subpage h3{
  margin: 0 0 8px;
  padding:10px;
  color:#fff;
}
#subpage h1{
  background: #6db3f2; /* Old browsers */
  background: -moz-linear-gradient(top,  #6db3f2 0%, #54a3ee 50%, #3690f0 51%, #1e69de 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #6db3f2 0%,#54a3ee 50%,#3690f0 51%,#1e69de 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6db3f2', endColorstr='#1e69de',GradientType=0 ); /* IE6-9 */
}
#subpage h2{
  background: #9dd53a; /* Old browsers */
  background: -moz-linear-gradient(top,  #9dd53a 0%, #a1d54f 50%, #80c217 51%, #7cbc0a 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #9dd53a 0%,#a1d54f 50%,#80c217 51%,#7cbc0a 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #9dd53a 0%,#a1d54f 50%,#80c217 51%,#7cbc0a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); /* IE6-9 */
}
#subpage h3{
  background: #ffb76b; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffb76b 0%, #ffa73d 50%, #ff7c00 51%, #ff7f04 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 ); /* IE6-9 */
}

.alignleft{
float:left;
margin:3px 10px 10px 0;
}
.alignright{
float:right;
margin:3px 0 10px 10px;
}

#gallery .grid img,.border{border:4px solid #ebebeb;}

#item dl{
  margin: 1em 0 2em;
  counter-reset:item;
}
  #item dl dt{
    font-weight: bold;
  }
  #item dl dd{
    margin: 0 0 .8em 1em;
  }
  #item dl dd::before {
    content: "例"counter(item)"：";
    counter-increment: item;
  }
#item ul li{
  width: 33%;
  margin: 0 .5% 0 0;
  text-align: center;
}
  #item ul li:last-child{
    margin: 0;
  }
  #item .table td#colrow{
    vertical-align: middle;
    text-align: center;
  }
#contact dl{
  margin: 1em 0 2em;
}
  #contact dl dt{
    margin: 0 0 .8em 0;
    font-weight: bold;
    width: 25%;
    height: 3em;
  }
  #contact dl dd{
    margin: 0 0 .8em 1em;
    width: 70%;
    min-height: 3em;
  }
#contact .inq::before{
  content: "*";
  color: #cc0000
}
/*************
テーブル
*************/
table.table{
  border-collapse:collapse;
  margin:5px auto 15px auto;
  width: 100%;
}
  table.table td{
    border-collapse:collapse;
    background-color:#F9F9F9;
    text-align:left;
    padding:8px;
    border:1px solid #D6D6D6;
    line-height:20px;
  }
  table.table th{
    background-color:#F5F5F5;
    text-align:right;
    padding:8px;
    white-space:nowrap;
    color: #151515;
    border-top:1px solid #D4D4D4;
    border-right:4px solid #D4D4D4;
    border-bottom:1px solid #D4D4D4;
    border-left:1px solid #D4D4D4;
    letter-spacing:1px;
    background-repeat:repeat-x;
    background-position:top;
    width: 20%;
  }

/*************
/* サイドバー
*************/
#sidebar ul{padding-top:10px;}
#sidebar li{
  margin-bottom:10px;
  padding-bottom:10px;
  list-style:none;
  border-bottom:1px dashed #ebebeb;
}
#sidebar li:last-child{
  border:0;
  margin-bottom:0px;
}
#sidebar li a{display:block;}

ul.list li{
  clear:both;
  margin-bottom:5px;
  padding:5px 0;
  overflow:hidden;
}
ul.list li{height:1%;}
ul.list li img{
float:left;
margin-right:10px;
}
ul.list li{
font-size:12px;
line-height:1.35;
}


/*************
/* フッター
*************/
#footer{
clear:both;
overflow:hidden;
padding:10px 1em 20px ;
border-top: 4px double #333;
}

* html #footer{height:1%;}

#footer .grid{
  padding:10px 0 5px;
  margin:0;
  background:transparent;
}
#footer #info .logo, #footer #info .info{float:none;}
#footer #info .info{
  clear:both;
  padding:10px 0 0;
  text-align:left;
}
#footer .logo{font-size:18px;}
#footer #info{
	float: left;
	width: 300px;
}
#footer .info .tel,#footer .info .tel span,#footer #info .open{font-size:1em;}

.footnav{
  float:right;
  width:620px;
  padding:10px 0;
}
  .footnav ul{
  	margin: 1em 0 0
  }
  .footnav ul li{
  float:left;
  margin-bottom:10px;
  padding:0 14px 0 15px;
  border-right:1px solid #b6b6b6;
  }
  .footnav ul li:first-child{
  	border-left:1px solid #b6b6b6;
  }

#footer a{color:#333;}
#footer a:hover{color:#888;}

address{
  clear:both;
  padding:5px;
  text-align:center;
  font-style:normal;
  font-size:12px;
  color:#fff;
  background:#333;
}




/* for table */
#form-tbl {
	margin: 0 auto 1.5em;
	text-align: center;
}
#form {
	width: 96%;
	border-collapse: collapse;
	margin: 1em auto;
}
#form th, #form td {
	border: 1px solid #666;
	padding: 8px;
}
#form th {
	white-space: nowrap;
	background: #e8e8e8;
}
#form td {
	background: #fff;
}
/* for message */
p.msg {
	color: #dd0000;
	margin: 2em;
}
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* スマホ用 */
@media only screen and (max-width: 480px) {
	
	/* 投稿フォーム */
    #form th, #form td {
    	text-align: left;
		width: 100%;
        display: block;
        padding: 6px 3px;
        border-top: none;
    }
    #form tr:first-child th	{ border-top: 1px solid #666; }
    	/* サンクス */
	p.msg { margin: 1em auto; }
}

/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
  nav#mainNav{
	padding:0;
	clear:both;
	overflow:hidden;
	position:relative;
	background:url(/images/topnavBg.png);
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	width: 20%;
	}
	nav#mainNav ul li a{
	display: block;
	text-align: center;
	font-size:.9em;
	width:100%;
	height:45px;
	padding-top:12px;
	color:#333;
	background:url(/images/topnavSep.png);
	border-left:1px solid #ebebeb;
	}
	nav#mainNav li:first-child a{border-left:0;}
	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#006699;
	font-size:.9em;
	}

	nav div.panel{
	display:block !important;
	}

	a#menu{display:none;}

	nav#mainNav li a.active, nav#mainNav li a:hover{
	color:#fff;
	background-position:0 -60px;
	}
  nav#mainNav ul li a.active span, nav#mainNav ul li a:hover span{
	color:#fff;
	}

	#subpage #mainBanner{margin:15px auto;}

	#wrapper,.inner{
	width:960px;
	padding:0;
	}

	#wrapper{padding-bottom:20px;}

	#main{
	float:right;
	width:717px;
	padding-right:15px;
	}

	#sidebar{
	float:left;
	width:195px;
	padding:15px 0 0 15px;
	overflow:hidden;
	}
	#sidebar article{
	padding:7px;
	margin-bottom:20px;
	border:1px solid #ebebeb;
	overflow:hidden;
	}

	/* グリッド全体 */
	.gridWrapper{
	padding: 0 10px 20px;
	}

	#gallery article{padding:10px 0 10px 10px;}

	/* グリッド */
	.grid{
	float:left;
	width:500px;
	}
	.grid2{
	float:right;
	width:415px;
	}

	#subpage .grid{width:auto;}

  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}
}


@media only screen and (max-width:959px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}

	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
  border:1px solid #e4e4e4;
	}

	nav#mainNav a.menu{
	width:100%;
	display:block;
	height:40px;
	line-height:40px;
	font-weight: bold;
	text-align:left;
	}

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav > a span:before{content: "→ ";}
	nav#mainNav a.menuOpen span:before{content: "↓ ";}

	nav#mainNav a#menu:hover{cursor:pointer;}

	nav .panel{
	display: none;
	width:100%;
	position: relative;
	right: 0;
	top:0;
	z-index: 1;
	}

	nav#mainNav ul li{
	float: none;
	clear:both;
	width:100%;
	height:auto;
	line-height:1.2;
	background:url(/images/bg.png);
	}

	nav#mainNav ul li a,nav#mainNav ul li.current-menu-item li a{
	display: block;
	padding:15px 10px;
	text-align:left;
	border-bottom:1px dashed #ccc;
	}

	nav#mainNav ul li a span{padding-left:10px;}

	nav#mainNav ul li:first-child a{
	border-top:1px solid #e4e4e4;
	}

	nav#mainNav ul li:last-child a{border:0;}

	nav#mainNav ul li a.active{	color:#006699;}

	nav div.panel{float:none;}

	#subpage #mainBanner{max-width:720px;}

	#sidebar article{padding:7px 8px;}

	#footer #info,#footer .footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	.footnav ul li{float:none;display:inline-block;}

	.grid{
	width:45%;
	float: left;
	margin:10px 0 0 1%;
	}
	.grid2{
	width:52%;
	float: right;
	margin:10px 0 0 1%;
	}

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

	#footer .grid img, #footer .info{float:none;}
	#footer .grid p{display:block;}
	#footer #info .info{float:none;text-align:center;}

	#footer .logo,#footer .info{
	width:100%;
	float:none;
	}

	#footer .logo p{float:none;display:block;}
	#footer .logo img{float:none;padding:0;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#header{
	height:auto;
	padding-bottom:20px;
	}

	#header h1,.logo,.info{text-align:center;}

	header .logo, header .info{
	clear:both;
	width:100%;
	float:none;
	}

	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}

	.grid, .grid2{
	width:100%;
	margin: 0;
	}

	.box img{
	max-width:180px;
	float:left;
	margin-right:5px;
	}

	.box h3{padding-top:0;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
  #contact dl dt, #contact dl dd{
    width: auto;
    height: auto;
  }
  #item ul li{
    width: 100%;
  }
  #item table.table{
    display: block;
    width: auto;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
  }


	#gallery .grid{float:left;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.box img{max-width:100px;}
	#mainBanner h2,#mainBanner p{font-size:80%;}
}
