@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;}
/* -------------------------------------------------------------- */

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


/* リンク設定
------------------------------------------------------------*/
a{color:#74b4df;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;
z-index: 1;
}

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


/*************
/* ヘッダー
*************/
#header{
height:110px;
}

#header h1{
padding:5px 0 10px 15px;
font-size:10px;
font-weight:normal;
}

#header a{
color:#333;
}

#header a:hover{
color:#888;
}



/*************
/* ロゴ
*************/
.logo{
float:left;
}

.logo p{float:left;}

.logo img{
width:250px;
float:left;
padding:2px 10px 0 10px;
}

.logo span{display:block;}

/*************
/* 電話番号
*************/
.info{
float:right;
padding-right:20px;
text-align:right;
}

.info .open{font-size:11px;}


/*************
/* ロゴ+電話番号
*************/
.logo,.info .tel{
margin-top:6px;
font-size:20px;
font-weight:bold;
}

.logo span,.info span{
color:#333;
font-size:.6em;
font-weight:normal;
}


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

#mainBanner h2{
width: 100%;
height: auto;
margin: 10px;
padding: 5px;
text-align: center;
font-size: 18px;
font-weight: bold;
word-break: normal;
}

#mainimg{
max-width:100%;
}

/*CSSスライドショー設定
---------------------------------------------------------------------------*/
/*１枚目*/
@keyframes slide1 {
	0% {opacity: 0;}
	10% {opacity: 1;}
	40% {}
	50% {opacity: 1;}
	60% {opacity: 0;}
	100% {opacity: 0;}
}
/*２枚目*/
@keyframes slide2 {
	0% {opacity: 0;}
	25% {opacity: 0;}
	35% {opacity: 1;}
	65% {}
	75% {opacity: 1;}
	85% {opacity: 0;}
	100% {opacity: 0;}
}
/*3枚目*/
@keyframes slide3 {
	0% {opacity: 0;}
	50% {opacity: 0;}
	60% {opacity: 1;}
	80% {opacity: 1;}
	90% {opacity: 0;}
	100% {opacity: 0;}
}

/*mainimg
---------------------------------------------------------------------------*/
/*画像ブロック*/
#mainimg {
	clear: left;
	text-indent: -9999px;
	/*position: fixed;	スクロールしても固定表示させる指定*/
	position: relative;
	top: 0px;
	width: 100%;
	/*height: 100%;*/
	height: 650px;	/* ※スライドショー解説用に追加 */
	margin-bottom: 30px;	/*※スライドショー解説用に追加*/
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);	/*影の設定。右に、下に、広げる幅、rgbaは色で0,0,0は黒、0.2は透明度20%の事。*/
}
/*３枚画像の共通設定*/
.slide1,.slide2,.slide3 {
	animation-duration: 15s;	/*実行する時間。「s」は秒の事。*/
	animation-iteration-count:infinite;		/*実行する回数。「infinite」は無限に繰り返す意味。*/
	position: absolute;left:0px;top:0px;width: 100%;height: 100%;
	animation-fill-mode: both;
	animation-timing-function: linear;
	animation-delay: 2s;
}
/*土台画像*/
.slide0 {
	background: url(kirifuri-img/tatemonoFront.JPG) no-repeat center center/cover;
	position: relative;width: 100%;height: 100%;
}
/*１枚目*/
.slide1 {
	background: url(kirifuri-img/ousetu.JPG) no-repeat center center/cover;
	animation-name: slide1;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*２枚目*/
.slide2 {
	background: url(kirifuri-img/furo.JPG) no-repeat center center/cover;
	animation-name: slide2;		/*上で設定しているキーフレーム（keyframes）の名前*/
}
/*３枚目*/
.slide3 {
	background: url(kirifuri-img/washitu.JPG) no-repeat center center/cover;
	animation-name: slide3;
}
/*スライドショー下の曲線グラデーション画像*/
#kazari {
	position: absolute;
	bottom: 90px;	/*飾りがメニューの上に配置されるよう、ここはメニューブロックの高さを指定しておく。*/
	z-index: 2;
	width: 100%;
}

/*mainimg-スライドショー設定ここまで
---------------------------------------------------------------------------*/

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

.gridWrapper{
	height:1%;
	margin: 0 auto;
}
	
.grid{
    float: left;
	border-radius:5px;
	background:#fff;
}

.box{
	margin:0 5px;
}

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

.box h3{
	padding:10px 0 5px;
	font-size: 14px;
	font-weight: bold;
	color: #006699;
}

.box h3, .box p{
    text-align:left;
}

.box p.readmore{
	padding:10px 5px 5px;
	text-align:right;
}

/*************
メイン コンテンツ
*************/
#main{
margin-top:25px;
}

section.content article{
padding-top:20px;
margin-bottom:30px;
overflow:hidden;
}

section.content article{height:1%;}

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

.content .sectionContent{
font-weight:bold;
font-size: 18px;
color: #333;
line-height:36px;
border-bottom:1px solid #D6D6D6;
color:#333;
text-align: center;
}

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;
}




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

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;
font-size:13px;
font-weight:normal;
letter-spacing:1px;
background-repeat:repeat-x;
background-position:top;
}


/*************
/* サイドバー
*************/
#sidebar ul{padding-top:10px;}

#sidebar li{
margin-bottom:10px;
padding-bottom:10px;
list-style:none;
border-bottom:1px dashed #f1f1f1;
}

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

#sidebar li a{
font-size:12px;
display:block;
color:#333;
}

#sidebar li a:hover{
color:#888;
}

#sidebar ul.list li{
clear:both;
margin-bottom:5px;
padding:5px 0;
overflow:hidden;
border:0;
}

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 10px 20px 10px;
}

* 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 15px;
text-align:left;
}

#footer .logo{font-size:18px;}

#footer .info .tel,#footer .info .tel span,#footer #info .open{
font-size:12px;
color:#333;
}

ul.footnav{
float:right;
width:auto;
padding:10px 0;
}

ul.footnav li{
float:left;
margin-bottom:10px;
padding:0 7px 0 8px;
font-size:11px;	
border-right:1px solid #b6b6b6;
}

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

address{
clear:both;
padding:20px 0 50px 0;
text-align:center;
font-style:normal;
font-size:10px;
color:#333;
}

 
  
  


/* PC用
------------------------------------------------------------*/
@media only screen and (min-width: 960px){
	#header,#wrapper,.inner{
	width:960px;
	padding:0;
	margin:0 auto;
	}
	
	#wrapper{padding-bottom:20px;}
	
  nav#mainNav{
	clear:both;
	overflow:hidden;
	position:relative;
	margin: 0 auto;
	}
	
	nav#mainNav .inner{
	width:920px;
	padding:0 14px;
	}

	nav#mainNav ul li{
	float: left;
	position: relative;
	}

	nav#mainNav li:last-child{border-right:1px dotted #ebebeb;}

	nav#mainNav ul li a{
	display: block;
	text-align: center;
	float:left;
	font-size:13px;
	width: 151px;
	height:45px;
	padding-top:9px;
	color:#333;
	border-left:1px dotted #ebebeb;
	}

	nav#mainNav ul li a span,nav#mainNav ul li a strong{
	display:block;
	}

	nav#mainNav ul li a span{
	color:#cdcdcd;
	font-size:10px;
	}

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

	a#menu{display:none;}

	nav#mainNav li.active a, nav#mainNav li a:hover{
	color:#909090;
  background:#f9f9f9;
	padding-top:9px;
	}
	
	#mainBanner{
        margin-left:15px;
    }

	#subpage #mainBanner{
        margin:17px auto;
    }
	
	#main{
	float:right;
	width:657px;
	padding-right:15px;
	}
	
	#sidebar{
	float:left;
	width:245px;
	padding:25px 0 0 15px;
	overflow:hidden;
	}
	
	#sidebar article{
	padding-top:7px;
	margin-bottom:20px;
	overflow:hidden;
	}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 auto;
	}
	
	#gallery article{padding:10px 0 10px 10px;}
	
	/* グリッド */
	.grid{
	float:left;
	width:300px;
	margin-left:20px;
	}
	
	#subpage .grid{width:auto;}
	
  #gallery .grid{
	width:auto;
	margin:10px 0 2px 10px;
	}

	/* gridの中のbox */
	.grid .box .boxImg1{
		animation: slideIn 1.5s ease-out;
		box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
		cursor: pointer;
	}

	.grid .box .boxImg1:hover{
		transform: scale(1.1);
	}	

	.grid .box .boxImg2{
		animation: slideIn 3s ease-out;
		cursor: pointer;
	}

	.grid .box .boxImg2:hover{
		transform: scale(1.1);
	}

	.grid .box .boxImg3{
		animation: slideIn 4.5s ease-out;
		cursor: pointer;
	}

	.grid .box .boxImg3:hover{
		transform: scale(1.1);
	}


@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
}


/* ----------画面サイズ959px以下---------- */
@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ハンバーガーメニュー ------*/
		/* navハンバーガーメニューのアイコン画像 */
		.menu-btn {
			position: fixed;
			top: 10px;
			right: 10px;
			left:10px;
			display: flex;
			height: 50px;
			width: 50px;
			justify-content: center;
			align-items: center;
			z-index: 90;
			background-color: #3584bb;
		}
		.menu-btn span,
		.menu-btn span:before,
		.menu-btn span:after {
			content: '';
			display: block;
			height: 3px;
			width: 25px;
			border-radius: 3px;
			background-color: #ffffff;
			position: absolute;
		}
		.menu-btn span:before {
			bottom: 8px;
		}
		.menu-btn span:after {
			top: 8px;
		}

		#menu-btn-check:checked ~ .menu-btn span {
			background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
		}
		#menu-btn-check:checked ~ .menu-btn span::before {
			bottom: 0;
			transform: rotate(45deg);
		}
		#menu-btn-check:checked ~ .menu-btn span::after {
			top: 0;
			transform: rotate(-45deg);
		}

		#menu-btn-check {
			display: none;
		}
		
		/* ハンバーガーメニューのnav*/
		.menu-content {
			width: 100%;
			height: 100%;
			position: fixed;
			top: 0;
			left: 100%;
			z-index: 80;
			background-color: #3584bb;
			transition: all 0.5s;
		}

		#menu-btn-check:checked ~ .menu-content {
			left: 0;/*メニューを画面内へ*/
		}

		.menu-content .inner .panel ul {
			padding: 70px 10px 0;
		}
		.menu-content .inner .panel ul li {
			border-bottom: solid 1px #ffffff;
			list-style: none;
		}
		.menu-content .inner .panel ul li a {
			display: block;
			width: 100%;
			font-size: 15px;
			box-sizing: border-box;
			color:#ffffff;
			text-decoration: none;
			padding: 9px 15px 10px 0;
			position: relative;
		}
		.menu-content .inner .panel ul li a::before {
			content: "";
			width: 7px;
			height: 7px;
			border-top: solid 2px #ffffff;
			border-right: solid 2px #ffffff;
			transform: rotate(45deg);
			position: absolute;
			right: 11px;
			top: 16px;
		}
	/*----- navハンバーガーメニュー ここまで　-----*/
		
	#subpage #mainBanner{max-width:668px;}
	
	#sidebar{padding-bottom:30px;}
	
	#sidebar article{padding:7px 0 15px;}
	
	#footer .grid,#footer ul.footnav{
	float:none;
	width:100%;
	text-align:center;
	}

	ul.footnav li{float:none;display:inline-block;}
	
	.grid{
	width:32%;
	margin:10px 0 0 1%;
	}
	
	#gallery .grid{
	float:left;
	width:auto;
	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;}
	
	.logo,.info{
	clear:both;
	width:100%;
	float:none;
	}
	
	.logo p{float:none;display:block;}
	.logo img{float:none;padding:0;}
	
	.box img{
	float:left;
	margin-right:5px;
	}
	
	.box h3{padding-top:0;}

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

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