@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;
	margin: 10px;
}
/* -------------------------------------------------------------- */

body{
	background-image: url(../img/haikei.png);
	background-repeat: repeat;
	font: 12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height: 1.5;
	-webkit-text-size-adjust: none;
}


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


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

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


/*************
/* ヘッダー
*************/
#header{
	overflow: hidden;
	background-color: #FFF;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
}

* html #header{height:1%;}

#header h1{
font-size:12px;
font-weight:normal;
}


/*************
/* ロゴ
*************/
#header .logo{
	float: left;
	padding-top: 3px;
	padding-right: 0;
	padding-bottom: 10px;
	padding-left: 0px;
}

.logo a{
font-size:20px;
font-weight:bold;
line-height:1;
}

.logo span{
font-size:12px;
font-weight:normal;
}


/**************************
/* メイン画像（トップページ+サブページ）
**************************/
.mainBanner{
	padding: 0;
	width: 100%;
	position: relative;
	line-height: 0;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}

.mainBanner img{
	max-width: 100%;
	height: auto;
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 1px;
	padding-left: 8px;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
z-index:100;
}

.slogan h2{
padding-bottom:5px;
color:#333;
font-size:20px;
}

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

/* サブページ スローガンの背景・黒*/
.subImg .slogan{left:auto;right:0;}

.subImg .slogan h2{
	color: #00C;
	padding-right: 20px;
}
.subImg .slogan h3{color:#ccc;}



/**************************
/* グリッド
**************************/
.gridWrapper{
padding-bottom:20px;
overflow: hidden;
}

* html .gridWrapper{height:1%;}
	
.grid{
	float: left;
	background-color: #FFFFFF;
}

.grid h3{
padding:10px 5px;
font-weight:bold;
text-align:center;
}

.grid p{
padding:5px 10px;
text-align:left;
}

.grid p.img{text-align:center;}

.gridWrapper img, img.frame{
max-width:100%;
height:auto;
margin-bottom:10px;
padding:1px;
background:#eee;
}

#sub img{
padding:0;
}

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

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
	padding: 10px 0;
	margin-bottom: 20px;
	border-radius: 6px;
	overflow: hidden;
	font-size: 14px;
	background-color: #FFF;
}

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

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

h3.heading{
	padding-bottom: 5px;
	font-size: 16px;
	color: #666;
	padding-left: 10px;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #ff0000;
	margin: 10px;
}

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

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

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

#gallery .grid{
padding:5px 0 0;
border:0;
background:#fff;
}


/*************
テーブル
*************/
table.table{
border-collapse:collapse;
margin:5px auto 15px auto;
}

table.table td{
border-collapse:collapse;
background-color:#fdfcfd;
text-align:left;
padding:8px;
border:1px solid #D6D6D6;
line-height:20px;
}

table.table th{
background-color:#fdfcfd;
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;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


table.table2{
	border-collapse: collapse;
	margin: 5px auto 15px auto;
	border: 1px solid #FFF;
}

table.table2 td{
	border-collapse: collapse;
	background-color: #FAFAFA;
	text-align: center;
	padding: 8px;
	border: 1px solid #fff;
	line-height: 20px;
}

table.table2 th{
	background-color: #F2FFFE;
	text-align: center;
	padding: 8px;
	white-space: nowrap;
	color: #151515;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	background-repeat: repeat-x;
	background-position: top;
}





/*************
サブ（フッター前）コンテンツ
*************/
#sub ul{padding:10px;}

#sub li{
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #ebebeb;
}

#sub li:last-child{
border:0;
margin-bottom:0;
}

#sub li a{display:block;}

#sub ul.list{padding-bottom:7px;}

#sub ul.list li{
clear:both;
margin-bottom:4px;
padding:4px 0;
overflow:hidden;
}

* html #sub ul.list li{height:1%;}

#sub ul.list li img{
float:left;
margin:0 10px 0 0;
}

#sub ul.list li{
font-size:14px;
line-height:1.5;
}


/*************
/* フッター
*************/
#footer{
clear:both;
padding:20px 0;
overflow:hidden;
background:#1f1f1f;
border-top:1px solid #555;
}

* html #footer{height:1%;}

.tel strong{
font-size:20px;
font-weight:bold;
}

#footer a{color:#fff;}
#footer a:hover{color:#ccc;}

#footer .copyright{font-size:11px;}


/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper2,.inner{
	width: 1200px;
	padding: 0;
	}
	
	#wrapper2{padding-bottom:20px;}
	
  nav div.panel{
	display:block !important;
	float:right;
	}

	a#menu{display:none;}

	nav#mainNav ul{
	float:right;
	overflow:hidden;
	}

	* html nav#mainNav ul{height:1%;}

	nav#mainNav ul li{
	float:left;
	margin:0 5px;
	text-align:center;
	}

	nav#mainNav ul a{
	font-size:13px;
	display:block;
	padding:10px;
	border-bottom:3px solid #fff;
	}

	nav#mainNav ul span{
	color:#aaa;
	font-size:10px;
	}

	nav#mainNav ul li.active a,nav#mainNav ul a:hover{
	border-color: #ff0000;
}
	
	.mainBanner img{max-width:1200px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width: 1200px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: -10px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:263px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{width:367px;}
	#footer .grid{border:0;}
	
	#gallery{margin-left:-10px;}
  #gallery .grid{width:265px;}	
}


/* モニター幅1140px以下 */
@media only screen and (max-width:1140px){
	*{
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	}
	
	#header h1{text-align:center;}
	
	#header .logo,#footer .logo{
	float:none;
	text-align:center;
	padding:10px 5px;
	}
	
	nav#mainNav{
	clear:both;
	width:100%;
	margin:0 auto;
	padding:0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #ff0000), color-stop(0.00, #ff0000));
	background: -webkit-linear-gradient(top, #ff0000 0%, #ff0000 100%);
	background: -moz-linear-gradient(top, #ff0000 0%, #ff0000 100%);
	background: -o-linear-gradient(top, #ff0000 0%, #ff0000 100%);
	background: -ms-linear-gradient(top, #ff0000 0%, #ff0000 100%);
	background: linear-gradient(top, #ff0000 0%, #ff0000 100%);
	}

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

	nav#mainNav a#menu span{padding-left:10px;}
	nav#mainNav a.menu 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;
	}

	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 #fff;
	color:#fff;
	background:#ff0000;
	}
	
	nav#mainNav ul li a span{padding-left:10px;}
	
	nav#mainNav ul li:first-child a{border-top:1px dashed #fff;}
	
	nav#mainNav ul li:last-child a{border:0;}
	
	nav#mainNav ul li.active a,nav#mainNav ul li a:hover{background:#ff0000;}

	nav div.panel{float:none;}
	
	.grid{
	float:left;
	width:48%;
	margin:10px 2% 0 0;
	}
	
	.grid img{
	float:left;
	margin-right:5px;
	}
	
	#gallery{padding-left:1px;}
	
	#gallery .grid{
	width:23%;
	margin:0 2% 0 0;
	padding:0;
	}
	
	#gallery .grid img{
	float:none;
	margin:0;
	}
	
	#sub .grid{
	width:32%;
	margin:10px 1%;
	}
	
	#sub .grid:first-child{
	margin-left:0;
	}
	
	#sub .grid:last-child{
	margin-right:0;
	}
	
	#footer .grid, #footer .grid p{
	float:none;
	width:100%;
	text-align:center;
	border:0;
	}
	
	#footer .grid:last-child{padding-top:20px;}
}


/* iPad 縦 */
@media only screen and (max-width:768px){
  #header{padding-bottom:0;}	

	#header h1{text-align:center;}
	
	#header .logo{
	float:none;
	text-align:center;
	padding:10px 5px 20px;
	}
	
	#sub ul.list{padding:10px 10px 11px;}
	
	#sub ul.list li{
	padding-bottom:10px;
	margin-bottom:8px;
	}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
	#footer .grid p{text-align:center;}
	
	.grid img{
	float:none;
	margin:0 auto;
	}
	
	.grid p,#sub .grid li{text-align:left;}

  .alignleft,.alignright{
	float:none;
	display:block;
	margin:0 auto 10px;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}
}


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	.mainBanner{margin-left:1px;}
	.mainBanner h2,.mainBanner h3{font-size:75%;}
	
	#sub .grid{
	float:none;
	width:98%;
	}
	
	#sub .grid h3{padding:10px 5px;}
	
	#sub ul.list{padding:10px;}
	
	#sub ul.list li{
	padding-bottom:3px;
	margin-bottom:3px;
	}
}

}
/*--freeile-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
#container {
	margin: 5px auto;
	max-width: 1900px;
}

.item {
	margin: 4px;
	transition: .3s ease;
}

.item.loading {
	height: 32px;
	background: #efeff1 url(loader-alt.gif) center no-repeat;
}

.element {
	background: #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transition: .3s ease;
}
/* =======================================
	グーぐるマップ
======================================= */
.blog {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
 
.blog iframe,
.blog object,
.blog embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.ggmap {
	position: relative;
padding-bottom: 400px; // これが縦横比
height: 0;
overflow: hidden;
}
 
.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}



.instafeed {
	position: relative;
padding-bottom: 400px; // これが縦横比
height: 0;
overflow: hidden;
}
 
.instafeed iframe,
.instafeed object,
.instafeed embed {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
.q{
	clear: both;
	color: #666;
	padding-top: 24px;
	padding-left: 10px;
	font-size: 21px;
	font-weight: bold;
	letter-spacing: 0.1em;
	border-bottom-width: 2px;
	border-bottom-style: dotted;
	border-bottom-color: #0CF;
}
.answer {
	font-size: 130%;
	letter-spacing: 0.1em;
	line-height: 140%;
	color: #555;
	padding-top: 5px;
	padding-left: 30px;
	margin-bottom: 50px;
	padding-right: 30px;
}
.topmoji{
    color: #222;
	font-size: 120%;
	letter-spacing: 0.1em;
	line-height: 180%;
}

.tel-link {
    color: #ff099;
    font-size: 120%;
    font-weight: bold;
}


.youtube {
  position: relative;
  width: 90%;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 90% !important;
  height: 90% !important;
}

/*--------------------------------------------pagetop-----------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 30px;
	right: 50px;
	font-size: 77%;
}
#page-top a {
	background: #ff0000;
	text-decoration: none;
	color: #fff;
	width: 100px;
	padding: 10px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
}
#page-top a:hover {
	text-decoration: none;
	background-color: #bbb;
}
