@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);

/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}


html {
	scroll-behavior: smooth;
}

body{
	font-family: "ヒラギノ丸ゴ Pro W3", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", HGMaruGothicMPRO;
	font-weight: normal;
	line-height: 30px;	
	
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
	 scroll-padding-top: 150px; /* ヘッダーの高さを入力 */
    scroll-behavior: smooth;
}

a{
	color: #021242;
	text-decoration: none;

}



a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #fff;
	font-family: 'Modern Antiqua', 'Noto Sans JP',serif;
		
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 50px 10px 50px 0;
	text-align: center;
	font-size: 12px;
}


/* 共通
------------------------------------------------------------*/
h1, h2{
	font-family: "ヒラギノ丸ゴ Pro W3", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", HGMaruGothicMPRO;
	font-weight: normal;
	line-height: 23px;	
	
    margin-left: auto;
    margin-right: auto;
	
}




hr{

	border-top: 3px dotted #BCD879;
}
h1{
  font-size: 20px;
	  color: #F76163;
}

h2{
	  width: 90%;
	  font-size: 20px;
  background: #F9C4C4;
  box-shadow: 0px 0px 0px 5px #F3CED6;
  border: dashed 1px #F8EDF0;
  padding: 0.2em 0.5em;
  color: #454545;

}

h3{
 font-size: 16px;
	font-weight:normal;
  color: #5F5E5E;
  text-align: left;
	margin: 20 auto; 
		line-height: 34px;	
}

h4 {
	  color: #F4B9BA;
		 width: 50%;
	 font-size: 16px;
  background: #F88585; /*背景色*/
  padding: 0.5em;/*文字周りの余白*/
  color: white;/*文字を白に*/
  border-radius: 0.5em;/*角の丸み*/
}



h5 {
	  color: #F77174;
	 font-size: 15px;
  padding: 0.5em;/*文字周りの余白*/
}


img{
	max-width: 100%;
	height: auto;
		display: flex;
	justify-content: center;
}

.fade-in {
  animation: fadeInAnime 1.0s ease forwards;
}

@keyframes fadeInAnime {
  0% {
    opacity: 0; /* 最初は透明 */
  }
  100% {
    opacity: 1; /* 最後はくっきり表示 */
  }
}


#table-1 {
  width: 98%;
			background: #EAF7D3;/*色*/
  border-collapse: collapse;
	    border: solid 3px;  /* 枠線指定 */
	border-color : #F1FCE3;/*色*/
    padding: 10px;      /* 余白指定 */
}
th,td {
    border: solid 0px;  /* 枠線指定 */
		border-color : #B3E2FC;/*色*/
    padding: 10px;      /* 余白指定 */
}



#sec01{
	 margin: 20 auto;   
	    padding-top: 10px;  
}


#sec02{
	 margin: 20 auto;   
	    padding-top: 110px;  
}

section sec01{
	 margin: 30px auto;          /* 左右を自動調整 */
	
}

section h2{
	 margin: 20 auto;          /* 左右を自動調整 */
	font-size: 22px;
	font-weight:normal;
	font-color: #0901AF;
	
}

section h2 span {
	padding-bottom: 7px;
	border-bottom: 3px solid #000;
	
}

.inner{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 50px;
}

#sec03 .inner, #sec04 .inner{
	border-bottom: 1px solid #a0a0a0;
}

.innerS{
	width: 80%;
	margin: 20px auto;
	padding-bottom: 80px;
}


/* ギャラリー
------------------------------------------------------------*/
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 画像の隙間 */
}

.gallery-item {
  flex: 1 1 calc(25% - 10px); /* 4列に並べる */
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}





/* topphoto
------------------------------------------------------------*/
.container{
  height: 600px;
  width: 100%;
  position: relative;
	
	
	
}


.image {	
	
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
	  
	  
}




	
	
	/* zoom
------------------------------------------------------------*/
.slideshow {
  width: 100%;
  height: 500px; /* 高さ */
  overflow: hidden;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  opacity: 0;
  animation: zoomAndFade 42s infinite; /* 合計12秒のサイクル */
}

/* 各スライドのタイミングをずらす */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 18s; }
.slide:nth-child(4) { animation-delay: 24s; }
.slide:nth-child(5) { animation-delay: 30s; }
.slide:nth-child(6) { animation-delay: 36s; }
.slide:nth-child(7) { animation-delay: 42s; }


.slide img {
  width: 100%;
  height:100%;
  object-fit: cover; /* 画像を歪ませずに親要素にフィットさせる [3] */
}

/* ズームとフェードの動きを定義 [2] */
@keyframes zoomAndFade {
  0% { transform: scale(1); opacity: 0; }
  15% { opacity: 1; } /* フェードイン */
  85% { opacity: 1; } /* 表示時間 */
  100% { transform: scale(1.2); opacity: 0; } /* ゆっくりズームしつつフェードアウト */
}


/* SEC01 
------------------------------------------------------------*/
#sec01{
	
	margin: 0 auto;
	overflow: hidden;
}



/* SEC03 BRAND
------------------------------------------------------------*/
.col4 .img{
	margin: 0 auto;
}



/* SEC04 PROJECT
------------------------------------------------------------*/
#sec04{
	padding-bottom: 0 !important;
}

.article{
	clear: both;
	overflow: hidden;
	padding-bottom: 50px;
}

.article img{
	float: left;
	margin: 5px 20px 20px;
}

.article p{
	margin-bottom: 20px;
}







/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #fff;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sns{
		margin-top: 50px;
	}
	
	#sns li{
		display: inline-block;
		padding-right: 10px;
	}

	#sns a:hover img{
		opacity: .8;
	}
	
	/* SEC03 BRAND
	-----------------*/
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 0%;
		vertical-align: top;
		text-align: left;
	}
	
	#map iframe{
		height: 200px !important;
  }
	
  #footer{
		padding: 30px 10px 70px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width:35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 90%;
		
	}

	.article img{
		float: none;
		display: block;
		margin: 0 auto 0px;
	}
	#map iframe{
		width:100% !important;
		
	}
}

@media only screen and (max-width: 799px){
	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	/* ヘッダー　ロゴ部分       */
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 50px;
		background-image:url(../image/sora.png);  /* 画像のURLを指定       */
		background-position:center center;                     /* 画像の表示位置を指定  */
		border-bottom: 1px solid #ccc;

	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 15px;
	}
	
	#sidebar h1 img{
		width: auto !important;
		max-height: 25px;
	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -10px;
		z-index: 100;
				
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
		
	}

	#mainnav ul{
		background: #fff;
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
		
	}

	#mainnav li a{
		background: #9CD42C;
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 0px solid #fff;
		color: #fff;
		font-weight: 400;
		font-family: "ヒラギノ丸ゴ Pro W3", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", HGMaruGothicMPRO;
	
	
	}
	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #fff;
		border-right: solid 2px #fff;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainnav #sns li{
		display: inline-block;
		
	}
	#mainnav #sns li a{
		position: relative;
		display: inline-block;
		padding: 15px 10px 0;
		border: 0;
	}
	#mainnav #sns li a:before{
		border: 0;
	}
	.col4 li{
		margin: 0 auto 0px;
		display: block;
		text-align: center;
	}
	section h2{
		margin: 0px auto;
	}
	
	
	
	@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-md-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
  }
  .col-md-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }
  .col-md-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
		
		
}