@charset "UTF-8";
/* CSS Document */

body,
header,
nav,
footer {
	margin: 0;
	padding: 0;
}

*{
	/*emmet:-bxz*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

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



/*サイトの基本レイアウト*/
header{
/*	background: rgba(240,240,240,0.6);		*/
	color: #333;
	top: 0;
	z-index: 3;
	width: 100%;
	margin-bottom: 3.625rem;
}

/*ボックスの背景色*/
.entry-box-two,
.entry-box-three,
.entry-box-four,
.entry-box-two-thirds,
.entry-box-three-quarters,
.entry-box-two-fifths,
.entry-box-three-fifths{
/*	background: rgba(240,240,240,0.6);*/
}

.pagebody{
	margin: 8.5rem 1.5rem;
}

/*子要素の並べ方*/
.flex,
.flex-bp1025,
.flex-bp600{
	/*emmet:d:f*/
	display: flex;
	/*emmet:fxw:w*/
	flex-wrap: wrap;
	/*emmet:jtc:sb*/
	justify-content: space-between;
}

/*header*/
video{
	width: 100%;
	height: auto;
	margin: auto;
}

.movie_pc{
	display: block;
}

.movie_sp{
	display: none;
}

#header-inner{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#header-logo,#footer-logo{
	flex-basis: 200px;
	padding: 0.85rem 0.5rem 0.625rem;
	margin-bottom: 0;
}
nav{
	flex-basis: 75%;
	padding: 0.85rem 1.5rem 0.5rem 0;
}


#beta{
	width: 100%;
}

/*gnaviの基本的なデザイン*/
#gnavi li{
	font-size: 0.875rem;
}


/*基本の並べ方*/
.flex .entry-box-two{
	width: 49%;
	}
.flex .entry-box-three{
	width: 32%;
	}
.flex .entry-box-four{
	width: 23.5%;
	}
.flex .entry-box-two-thirds	{
	width: 66%;
	}
.flex .entry-box-three-quarters {
	width: 74.5%;
	}
.flex .entry-box-two-fifths{
	width: 39%;
}
.flex .entry-box-three-fifths{
	width: 59%;
	background: #FFEEDD;
}

/*お知らせ*/
.news-list-noimage .post-time{
	margin-left: 2rem;
}

/*お問い合わせフォーム*/
.contact-block dl{
	display: flex;
	flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 800px;
    padding-bottom: 2rem;
    margin: 0 auto;
}

.contact-block .flex-child-wide{
	width: 60%;
	margin-left: 2rem;
}

.contact-block .flex-child-wide input{
	width: 100%;
}



/*ご挨拶テンプレート用*/
.page-template-page-message .entry {
	display: flow-root;
}
.page-template-page-message .entry figure{
	float: left;
	width: 30%;
    margin-left: 0;
	margin-right: 0.5rem;
	margin-bottom: 0;
}
.page-template-page-message .entry article {
	float: none;
}

/*レスポンシブデバイス対応*/

@media screen and (min-width: 1025px){
	#gnavi{
		display: block!important;
	}
	
	/*gnav-itemsの並べ方*/
	#gnavi ul{
		display: flex;
		justify-content: right;
	}

	.bp1025-none{
		display: none;
	}
	
	
	/*ボックスの並べ方*/		
	.flex-bp1025 .entry-box-two{
		width: 49%;
	}
	.flex-bp1025 .entry-box-three{
		width: 32%;
	}
	.flex-bp1025 .entry-box-four{
		width: 23.5%;
	}
	.flex-bp1025 .entry-box-two-thirds	{
		width: 66%;
	}
	.flex-bp1025 .entry-box-three-quarters {
		width: 74.5%;
	}
	.flex-bp1025 .entry-box-two-fifths{
		width: 39%;
	}
	.flex-bp1025 .entry-box-three-fifths{
		width: 59%;
/*		background: #FFEEDD;*/
	}

	/*pagebody内のコンテンツとサイドバーが縦に並ぶ*/
	#alpha{
		flex: 1;
	}
	#beta{
		flex-basis: 300px;
		flex-shrink: 0;
	}
}


@media screen and (max-width: 1024px) {
	.flex-bp1025 .entry-box-two,
	.flex-bp1025 .entry-box-three,
	.flex-bp1025 .entry-box-four,
	.flex-bp1025 .entry-box-two-thirds,
	.flex-bp1025 .entry-box-three-quarters,
	.flex-bp1025 .entry-box-two-fifths,
	.flex-bp1025 .entry-box-three-fifths{
		width: 100%;
	}
	
	.menu-trigger{
		position: relative;
		width: 3rem;
		height: 3rem;
		background: transparent;
		border: 0;
		z-index: 4;
		margin: 1rem;
	}
	.menu-trigger span {
		position: absolute;
		background: var(--color-text);
		width: 35px;
		height: 2px;
/*		left: 0;*/
		right: 0;
		margin: auto;
		-webkit-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out;
	}
	.menu-trigger span:nth-of-type(1) {
		top: 1rem;
		width: 35px;
	}
	.menu-trigger span:nth-of-type(2) {
		bottom: 0.75rem;
		width: 25px;
	}
	.menu-trigger.active span:nth-of-type(1) {
		top: 0.5rem;
		background: var(--color-hover);
		-webkit-transform: translateY(0.9rem) rotate(45deg);
		transform: translateY(0.9rem) rotate(45deg);
	}
	.menu-trigger.active span:nth-of-type(2) {
		width: 35px;
		bottom: 0.5rem;
		background: var(--color-hover);
		-webkit-transform: translateY(-0.9rem) rotate(-45deg);
		transform: translateY(-0.9rem) rotate(-45deg);
	}
	#gnavi {
		display: none;
		position: fixed;
		top: 0;
		z-index: 3;
		background: var(--color-text);
		width: 100vw;
		height: 100vh;
	}
	
	#menu-gnavi{
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		display: flex;
		flex-direction: column;
		padding: 0;
		width: 70%;
	}
	
	#menu-gnavi li {
		font-size: 1.2rem;
		text-align: center;
	}
	
	#menu-gnavi li a {
		font-family: 'Shippori Mincho B1', serif,YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
		color: var(--color-base);
		padding: 0.6rem 1rem;
	}
	
	
	/*お知らせ*/
	.news-list-noimage .post-time,
	.news-list-noimage .post-thum-cat,
	.news-list-noimage .module-title{
		width: 100%;
		padding-bottom: 1rem;
		margin-left: 0;
	}
	
	/*お問い合わせ*/
	.contact-block dl{
		justify-content: flex-start;
	}

	.contact-block .flex-child-wide{
	width: 100%;
	margin-left: 0;
	}
	
	.contact-block .flex-child{
		padding-bottom: 0.5rem;
	}
}

@media screen and (min-width: 600px) and (max-width: 1024px){
	#beta{
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#beta aside{
		width: 49%;
	}
}

@media screen and (min-width: 600px){
	html{
		font-size: 110%;
	}
	
	.flex-bp600 .entry-box-two{
		width: 49%;
	}
	.flex-bp600 .entry-box-three{
		width: 32%;
	}
	.flex-bp600 .entry-box-four{
		width: 23.5%;
	}
	.flex-bp600 .entry-box-two-thirds	{
		width: 66%;
	}
	.flex-bp600 .entry-box-three-quarters {
		width: 74.5%;
	}
	.flex-bp600 .entry-box-two-fifths{
		width: 40%;
	}
	.flex-bp600 .entry-box-three-fifths{
		width: 60%;
	}
}

@media screen and (max-width: 599px){
	.flex-bp600 .entry-box-two,
	.flex-bp600 .entry-box-three,
	.flex-bp600 .entry-box-four,
	.flex-bp600 .entry-box-two-thirds,
	.flex-bp600 .entry-box-three-quarters,
	.flex-bp600 .entry-box-two-fifths,
	.flex-bp600 .entry-box-three-fifths{
		width: 100%;
	}
	
	.movie_sp{
		display: block;
	}
	
	.movie_pc{
		display: none;
	}

	.pagebody{
		margin: 8.5rem 0.5rem;
	}
	#beta aside{
		width: 100%;
	}
	.page-template-page-message .entry figure{
	width: 100%;
	}
}

@media screen and (min-width: 1190px) {

	.pagebody,
	footer{
		width: 1190px;
		margin: 8.5rem auto;
	}
}
