@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:#333333;
font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
background:#effdff;
-webkit-text-size-adjust: none;
}






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

.inner{
margin:0 auto;
width:100%;
}
/* 全体設定 */
.css-carousel-slider3 {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.css-carousel-slider3 img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

/*************
/* ヘッダー
*************/
p.sample img {
	width: 150px;

}

/*************
/* ロゴ
*************/
#logo.png {
style="display: block;
margin: auto;
width:90px
position: fixed;
}


/**************************
/* トップナビゲーション
**************************/
ul#topnav{
float:right;
overflow:hidden;
}

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

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

ul#topnav a{
font-size:13px;
display:block;
padding:20px 10px;
color:#fff;
}

ul#topnav span{
color:#cdcdcd;
font-size:10px;
}

ul#topnav li.active a,ul#topnav a:hover{
background:#48370d;
border-radius:5px;
}


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

#mainBanner img{
max-width:100%;
height:auto;
border-radius:3px;
}

.slogan{
position:absolute;
max-width:100%;
height:auto;
bottom:0;
left:0;
padding:5px 10px;
line-height:1.4;
background:url(images/tp.png);
}

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

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

/* スライド設定 */
.css-carousel-slider3 .slide-wrap {
    width: 300%;
    position: absolute;
    display: flex;
    top: 0;
    left: 0;
    z-index: 0;
    animation: css-carousel-slider3 15s infinite;
    animation-delay: 2s;
}
.css-carousel-slider3 .slide-wrap-main {
    width: 100%;
    z-index: 1;
    animation: css-carousel-slider-main3 15s infinite;
    animation-delay: 2s;
}
.css-carousel-slider3 .slide {
    width: 100%;
}

/* スライダーアニメーションの設定 */
@keyframes css-carousel-slider3 {
    0% { transform: translateX(0); }

    27.3% { transform: translateX(calc(1 / 3 * -100%)); }
    33.3% { transform: translateX(calc(1 / 3 * -100%)); }

    60.6% { transform: translateX(calc(2 / 3 * -100%)); }
    66.6% { transform: translateX(calc(2 / 3 * -100%)); }

    94% { transform: translateX(calc(3 / 3 * -100%)); }
    100% { transform: translateX(calc(3 / 3 * -100%)); }
}

@keyframes css-carousel-slider-main3 {
    0% { transform: translateX(100%); }
    66.6% { transform: translateX(100%); }
    94% { transform: translateX(0%);}
}


/**************************
/* グリッド
**************************/

.loading {
	position:relative;
	left: 15px;
	width: 250px;
	height: 250px;
	margin: 65px;
	display:inline-block;
	width:250px;//任意の値に
    margin-right: 50px;
}

@media screen and (min-width:500px) { 
	.loading {
		position: relative;
		left: 150px;
		width: 250px;
		height: 250px;
		margin: 50px;
		display:inline-block;
		width:250px;//任意の値に
		margin-right: 50px;
	}
}

  .loading::after {
	border-radius: 40%;
	content: "";
	display: inline-block;
	width: 100%;
	height: 100%;
	background: linear-gradient(
	  to bottom,
	  #ee88aa,
	  rgba(250, 238, 255, 0.3) 90%,
	  rgba(230, 238, 255, 0.5)
	);
	animation: color-fade 3s infinite linear;
  }
  .circle1,
  .circle2,
  .circle3 {
	display:inline-block;
	opacity: 0.4;
	position: absolute;
	background: #0af;
	width: 250px;
	height: 250px;
	transform-origin: 50% 47%;
	border-radius: 40%;
	margin: auto;
	animation: rotation 3s infinite linear;
  }
  .circle2 {
	opacity: 0.2;
	background: #ff0;
	animation: rotation 5s infinite linear;
  }
  .circle3 {
	animation: rotation 2.5s infinite linear;
  }
  .title {
	position: absolute;
	top: 33px;
	width: 100%;
	z-index: 1;
	color: #fff;
	text-align: center;
	font-size: 30px; /* フォントサイズを指定 */
	line-height: 4.5; /* 倍率を指定 */
	animation: text-fade 300ms infinite linear;
  }
  /* 回転アニメーション */
  @keyframes rotation {
	from {
	  transform: rotate(0deg);
	}
	to {
	  transform: rotate(360deg);
	}
  }
  /* ピンク色の背景のアニメーション */
  @keyframes color-fade {
	0% {
	  opacity: 1;
	}
	50% {
	  opacity: 0.7;
	}
  }
  /* 点滅のアニメーション */
  @keyframes text-fade {
	0% {
	  opacity: 1;
	}
	25% {
	  opacity: 0.8;
	}
	50% {
	  opacity: 0.9;
	}
	75% {
	  opacity: 0.6;
	}
  }


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

#footer .grid p{padding:0;}


/*************
メイン コンテンツ
*************/
section.content{
padding:19px;
margin-bottom:20px;
border:1px solid #fff6fc;
border-radius:6px;
background:#fffcfe;
overflow:hidden;
font-size:16px;
}

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

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

h3.heading{
padding-left:7px;
margin-bottom:10px;
font-size:20px;
border-left:5px solid #004e23;
color:#004e23;
}

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

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

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

img.frame,#gallery img{
border:4px solid #fff2fe;
box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0 0 2px rgba(0, 0, 0, 0.5);
}

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


/*************
テーブル
*************/


.text-bold {
  font-weight: bold;
}

table.table td{border-left:#48370d 3px double}

.text-underline {
	background-image: linear-gradient(0, rgb(0, 153, 69), rgb(0, 138, 46)); /* 線の色 */
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 100% 30%; /* 高さ */





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

* html #footer{height:1%;}

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

#footer a{color:#313131;}
#footer a:hover{color:#000000;}

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


/* PC用 */
@media only screen and (min-width:960px){	
	#wrapper,.inner{
	width:940px;
	padding:0;
	}
	
	#wrapper{padding-bottom:20px;}
	
	/* グリッド全体 */
	.gridWrapper{
	width:960px;
	margin:0 0 0 -20px;
	}
	
	/* グリッド共通 ベース:トップページ4カラム */
	.grid{
	float:left;
	width:220px;
	margin-left:20px;
	}
	
	/* サブコンテンツ + フッター グリッド(3カラム) */
	#sub .grid, #footer .grid{
	width:300px;
	}
	
	/* ギャラリー グリッド(4カラム) */
	#gallery{
	width:920px;
	}
	
  #gallery .grid{
	width:210px;
	}	
}


/* モニター幅940px以下 */
@media only screen and (max-width:940px){
	#header h1{padding:0 0 5px 10px;}
	#header .logo{padding-left:10px;}
	
	.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{
	float:none;
	width:100%;
	text-align:center;
	}
	
	#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;
	}

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

	ul#topnav li{
	width:33%;
	margin:0;
	border-top:1px solid #48370d;
	border-right:1px dashed #48370d;
	 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 li.active a,ul#topnav a:hover{border-radius:0;}
	
	#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:20px auto 10px;
	}
	
	.grid p,#sub .grid li{text-align:left;}
	
	img.frame,#gallery img{border-width:2px;}

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


/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
	ul#topnav li{width:50%;}

	ul#topnav li:nth-child(3n){
	border-right:1px dashed #48370d;
	width:50%;
	}
	
	ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
	
	#mainBanner{margin-top: auto;}
	#mainBanner h2,#mainBanner h3{font-size:80%;}
	
	
	#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;
	}
	
	#sub ul.list li img{margin:0 5px 0 0;}