@charset "UTF-8";
body,header,nav,footer {
	margin: 0;
	padding: 0;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
 }




/*clearfix*/
.clr:after,
.flexslider ul:after {
	content: "";
	display: block;
	clear: both;
}



.wrapper-inner {
    background: rgba(255,255,255,1.0);
}


/*サイトの基本レイアウト*/
header {
	position: relative;
	margin-bottom: 4em;
}
#header-inner {
    width: 90%;
}
.home #header-inner {
	margin-bottom: 8em;
}

#banner {
	margin-bottom: 2em;
}
.pagebody {
    width: 90%;
    padding: 1em 0;
    margin: 1em auto 0;
}
#alpha {
	width: 100%;
	margin-bottom: 3em;
	/*background: #0FF;*/
}
#beta {
	width: 100%;
	/*background: #F0F;*/
}
#gamma {
	width: 100%;
	/*background: #0F0;*/
}
footer {
	background: rgba(79,50,0,1.0);
}
#footer-inner {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}




/*ボックスの基本レイアウト*/
.entry-section {
	margin-bottom: 6em;
	position: relative;
	/*background: #9F9;*/
}
.entry,
.entry-box-two,
.entry-box-three,
.entry-box-four,
.entry-box-two-thirds {
	margin-bottom: 3em;
	position: relative;
	/*background: #F96;*/
	/*height: 100px;*/
}

/*ボックスの基本レイアウトの確認用*/
/*header p,.entry p,.entry-box-two p,.entry-box-three p,.entry-box-four p,.entry-box-two-thirds p,.flex-box p {
	padding: 2em;
	text-align: center;
}*/





/* ###Flexコンテナー（親要素）### */

/*子要素の並べ方*/
.flex-pc,
.flex-tb,
.flex {
	display: -webkit-box;	/*for PC-safari3.1〜6.0, iOS-safari3.2〜6.1, Android2.1〜4.3*/
	display: -webkit-flex;	/*for PC-safari6.1〜, iOS-safari7.0〜*/
	display: -ms-flexbox;	/*for IE10*/
    display: flex;
    flex-wrap: wrap;
}
.fd-row-rev {
    -webkit-box-orient: horizontal;
  	-webkit-box-direction: reverse;
  	-ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.fd-column {
    -webkit-box-orient: vertical;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: column;
    flex-direction: column;
}
.fd-column-rev {
    -webkit-box-orient: vertical;
  	-webkit-box-direction: reverse;
  	-ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}
/*子要素の折り返し*/
.fw-nowrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
/*水平方向の揃え方*/
.jc-flex-start {
    -webkit-box-pack: start;
	-ms-flex-pack: start;
    justify-content: flex-start;
}
.jc-flex-end {
    -webkit-box-pack: end;
	-ms-flex-pack: end;
    justify-content: flex-end;
}
.jc-center {
    -webkit-box-pack: center;
	-ms-flex-pack: center;
    justify-content: center;
}
.jc-space-bet {
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
    justify-content: space-between;
}
.jc-space-aro {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}
/*垂直方向の揃え方*/
.ai-start {
    -webkit-box-align: start;
	-ms-flex-align: start;
    align-items: flex-start;
}
.ai-end {
    -webkit-box-align: end;
	-ms-flex-align: end;
    align-items: flex-end;
}
.ai-center {
    -webkit-box-align: center;
	-ms-flex-align: center;
    align-items: center;
}
.ai-baseline {
    -webkit-box-align: baseline;
	-ms-flex-align: baseline;
    align-items: baseline;
}
/*複数行にした時の揃え位置*/
.ac-start {
    -ms-flex-line-pack: start;
    align-content: flex-start;
}
.ac-end {
    -ms-flex-line-pack: end;
    align-content: flex-end;
}
.ac-center {
    -ms-flex-line-pack: center;
    align-content: center;
}
.ac-space-bet {
    -ms-flex-line-pack: justify;
    align-content: space-between;
}
.ac-space-aro {
    -ms-flex-line-pack: distribute;
    align-content: space-around;
}



/* ###Flexアイテム（子要素）### */

/*子要素に入れる必須属性*/
.flex-child {
    flex: 1;
}
.flex-child-wide {
    flex: 2;
}
/*子要素が伸びる／縮む設定*/
.flex-auto {
    -webkit-box-flex:1;
	-ms-flex:1 1 auto;
    flex: auto;    /*flex:1 1 auto*/
}
/*子要素の垂直方向の揃え位置*/
.as-start {
    -ms-flex-item-align: start;
    align-self: flex-start;
}
.as-end {
    -ms-flex-item-align: end;
    align-self: flex-end;
}
.as-center {
    -ms-flex-item-align: center;
    align-self: center;
}
.as-baseline {
    -ms-flex-item-align: baseline;
    align-self: baseline;
}






/*　####　599px以下　####　*/
@media(max-width: 599px) {

    
    /*フレックスボックスでのレイアウト*/
    .flex-tb {
        flex-direction: column;
    }
    .flex-tb .entry-box-two {
        width: 100%;
    }
    .flex .entry-box-four {
        width: 49%;
    }
	
	
}



/*	#####	600px以上	#####	*/
@media(min-width: 600px) {


    /*フレックスボックスでのレイアウト*/
    .flex-tb .entry-box-two,
    .flex-tb .entry-box-three,
    .flex-tb .entry-box-two-thirds {
        width: 49%;
    }
    .flex-tb .entry-box-four {
        width: 32%;
    }
    .flex-tb .entry-box-three-quarters {
        width: 66%;
    }
    
    .flex .entry-box-four {
        width: 32%;
    }
	


}




/*	#####	767px以下	#####	*/
@media(max-width: 767px) {

	
	.home header {
		height: 100vh;
		position: relative;
	}
	.scroll-box {
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}

    /*フレックスボックスでのレイアウト*/
    .flex-pc {
        flex-direction: column;
    }
    .flex-pc .entry-box-two,
    .flex-pc .entry-box-three,
    .flex-pc .entry-box-two-thirds,
    .flex-pc .entry-box-four,
    .flex-pc .entry-box-three-quarters {
        width: 100%;
    }
    
    .flex>.entry-box-two,
    .flex>.entry-box-three,
    .flex>.entry-box-two-thirds {
        width: 49%;
    }






}







/*	#####	768px以上	#####	*/
@media(min-width: 768px) {

	#header-inner {
		margin-bottom: 4em;
	}
    .pagebody {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    #alpha {
        flex: 1;
    }
    #beta {
        flex-basis: 250px;
        flex-shrink: 0;
        padding-top: 1em;
        padding-left: 2%;
    }


    /*ボックスの基本レイアウト*/
    .flex-pc .entry,
    .flex-tb .entry,
    .flex .entry {
        width: 100%;
    }
    .flex-pc .entry-box-two,
    .flex-tb .entry-box-two,
    .flex .entry-box-two {
        width: 49%;
    }
    .flex-pc .entry-box-three,
    .flex-tb .entry-box-three,
    .flex .entry-box-three {
        width: 32%;
    }
    .flex-pc .entry-box-four,
    .flex-tb .entry-box-four,
    .flex .entry-box-four {
        width: 23.5%;
    }
    .flex-pc .entry-box-two-thirds,
    .flex-tb .entry-box-two-thirds,
    .flex .entry-box-two-thirds {
        width: 66%;
    }
    .flex-pc .entry-box-three-quarters,
    .flex-tb .entry-box-three-quarters,
    .flex .entry-box-three-quarters {
        width: 74.5%;
    }

	





}



/*	#####	1190px以上	#####	*/
@media(min-width: 1190px) {

    .breadcrumbs,
    .pagebody,
    #header-inner,
    #footer-inner,
	#banner {
        width: 1190px;
        margin-left: auto;
        margin-right: auto;
    }


}