html { font-size: 62.5%; }

body {
	background: url(img/bg.png) repeat-x;
	color: #333;
	font-family: '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
/*	font-family: '游明朝', 'Yu Mincho', 'ヒラギノ明朝 Pro W3', 'HiraMinProN-W3', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;	*/
	font-feature-settings: "palt";
	font-size: 16px;
/*	font-weight: 500;	*/
	line-height: 1.6;
/*	word-break: break-all;	*/
	word-wrap: break-word;
}
/*
	@media all and (-ms-high-contrast:none) {
		body {
			font-family: 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
			font-size: 13px;
		}
	}
*/

.wrapper {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 90%;
	position: relative;
	width: 1000px;
}


.tl,
.sp { display: none; }

@media screen and (max-width: 960px) {
	.tl { display: block; }
		a.tl,
		img.tl,
		span.tl,
		strong.tl { display: inline; }
}

@media screen and (max-width: 750px) {
	.pc { display: none; }
	.sp { display: block; }
		a.sp,
		img.sp,
		span.sp,
		strong.sp { display: inline; }
}



/*--------------------------------------------------
  ヘッダー
--------------------------------------------------*/
/*#header,
#header * { transition: all .4s ease; }
	#header nav.gnav { transition: none; }*/

#header {
	background: #990033;
	color: #fff;
	height: 180px;
	position: fixed;
	transition: all .2s ease;
	width: 100%;
	z-index: 999;
}
#header > .wrapper { width: 90%; }

@media screen and (max-width: 960px) {
	#header { height: 70px; }
}


/* キャッチコピー */
#header h1 {
	color: #fff;
	font-family: '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 12px;
	font-weight: 400;
	margin: 0;
	position: absolute;
	top: 15px;
}

@media screen and (max-width: 960px) {
	#header h1 { display: none; }
}


/* ロゴ */
#header .logo {
	position: absolute;
	top: 45px;
}

@media screen and (max-width: 960px) {
	#header .logo {
		top: 13px;
		width: 350px;
		max-width: calc(100% - 50px);
	}
}


/* ボタン */
#header .btn {
	position: absolute;
	top: 50px;
	right: 0;
}

a.btn-facilities {
	align-items: center;
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(247,247,247,1) 50%,rgba(247,247,247,1) 100%);
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	line-height: 1;
	/*padding: 10px 35px;*/
	padding: 10px 20px;
	width: 100%;
}

a.btn-facilities span {
	color: #990033;
	font-family: '游明朝', 'Yu Mincho', 'ヒラギノ明朝 Pro W3', 'HiraMinProN-W3', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
	font-size: 13px;
}
a.btn-facilities strong {
	align-items: center;
	color: #000;
	display: flex;
	font-size: 16px;
	margin-top: 10px;
}
	a.btn-facilities strong:before {
		border-style: solid;
		border-width: 3.5px 0 3.5px 6px;
		border-color: transparent transparent transparent #990033;
		content: "";
		height: 0;
		margin-right: 5px;
		width: 0;
	}

@media screen and (max-width: 960px) {
	#header .btn { display: none; }
	
	.container-sp a.btn-facilities { width: 50%; }
}

@media screen and (max-width: 750px) {
	.container-sp a.btn-facilities { width: 100%; }
}


/* グローバルナビ */
nav.nav {
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(247,247,247,1) 50%,rgba(247,247,247,1) 100%);
	box-shadow: 0 2px 10px 2px rgba(0,0,0,0.2);
}
	#header nav.nav {
		position: absolute;
		bottom: 0;
		width: 100%;
	}

.gnav { display: flex; }

#header .gnav { border-right: 1px solid #ddd; }
#header .gnav > li {
	border-left: 1px solid #ddd;
	width: calc((100% - 200px) / 5);
}
	@media(width > 960px) {
		#header .gnav > li.is-home {
			flex-basis: 130px;
		}
		#header .gnav > li.is-profile {
			flex-basis: 130px;
		}
		#header .gnav > li.is-tamatare {
			flex-basis: 220px;
		}
		#header .gnav > li.is-howto {
			flex-basis: 160px;
		}
		#header .gnav > li.is-topics {
			flex-basis: 160px;
		}
		#header .gnav > li.is-link {
			flex-basis: 160px;
		}
		#header .gnav > li.is-biseigan {
			flex-basis: 170px;
		}
	}

.gnav > li > a {
	align-items: center;
	color: #000;
	display: flex;
	font-weight: 500;
	justify-content: center;
	line-height: 1;
	height: 50px;
}

#header .gnav > li > a {
	font-family: '游明朝', 'Yu Mincho', 'ヒラギノ明朝 Pro W3', 'HiraMinProN-W3', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
}
	#header .gnav > li a.is-green {
		color: #118c11;
	}
	#header .gnav > li a.is-pink {
		color: #bf1d53;
	}

@media screen and (max-width: 960px) {
	nav.nav { display: none; }
		#header nav.nav {
			top: 70px;
			bottom: auto;
		}
	
	#header nav.nav .wrapper { max-width: 100%; }
	
	#header .gnav {
		border: 0;
		display: block;
	}
	
	#header .gnav li {
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,1) 50%,rgba(247,247,247,1) 50%,rgba(247,247,247,1) 100%);
		border: 0;
		width: 100% !important;
	}
		#header .gnav li:nth-of-type(3) { display: block; }
		#header .gnav li:not(:first-of-type) { border-top: 1px solid #ddd; }
}

@media screen and (max-width: 750px) {
	#header nav.nav .smp { display: block; }
	
	#header nav.nav .smp a.btn-facilities,
	#header nav.nav .smp ul.nav-language { width: 100%; }
		#header nav.nav .smp ul.nav-language { margin-top: 15px; }
}


/* 言語ナビ */
#header .language {
	position: absolute;
	right: 0;
}

ul.nav-language {
	align-items: center;
	display: flex;
	justify-content: center;
}
ul.nav-language li:last-of-type { margin-left: 30px; }

ul.nav-language a,
ul.nav-language span {
	border-top: 3px solid transparent;
	color: #fff;
	display: inline-block;
	line-height: 1;
	padding-top: 10px;
}
	ul.nav-language .current { border-top: 3px solid #fff; }

.container-sp ul.nav-language {
	font-size: 1.4rem;
	width: 50%;
}
.container-sp ul.nav-language li:last-of-type {
	border-left: 1px solid #aaa;
	margin-left: 20px;
	padding-left: 20px;
}

@media screen and (max-width: 960px) {
	#header .language { display: none; }
	
	
	
	ul.nav-language a,
	ul.nav-language span {
		border-top: 0 !important;
		color: #333;
		padding-top: 0;
	}
	ul.nav-language span { color: #999; }
}

@media screen and (max-width: 750px) {
	.container-sp ul.nav-language {
		margin-top: 15px;
		width: 100%;
	}
}



/***** スモールヘッダー *****/
@media screen and (min-width: 961px) {
#header.js__header { height: 50px; }

#header.js__header > .wrapper { height: auto; }


#header.js__header h1,
#header.js__header .logo,
#header.js__header .language,
#header.js__header .btn { display: none; }


}



/***** ハンバーガーメニュー *****/
.hamburger {
	cursor: pointer;
	display: none;
	position: absolute;
	top: 15px;
	right: 5%;
	z-index: 99;
}

.trigger,
.trigger span {
	box-sizing: border-box;
	display: inline-block;
	transition: all .4s;
}
	.trigger {
		height: 22px;
		position: relative;
		width: 30px;
	}
	.trigger span {
		background-color: #fff;
		border-radius: 2px;
		height: 2px;
		position: absolute;
		left: 0;
		width: 100%;
	}
		.trigger span:nth-of-type(1) { top: 0; }
		.trigger span:nth-of-type(2) { top: 10px; }
		.trigger span:nth-of-type(3) { bottom: 0; }

		.trigger.active span:nth-of-type(1) {
			-webkit-transform: translateY(10px) rotate(-45deg);
			transform: translateY(10px) rotate(-45deg);
		}
		.trigger.active span:nth-of-type(2) { opacity: 0; }
		.trigger.active span:nth-of-type(3) {
			-webkit-transform: translateY(-10px) rotate(45deg);
			transform: translateY(-10px) rotate(45deg);
		}

.title {
	color: #fff;
	font-family: 'Carme', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.container-sp {
	background: #ddd;
	color: #333;
	display: none;
	padding: 15px;
}


@media screen and (max-width: 960px) {
	.hamburger { display: block; }
	
	.container-sp {
		display: flex;
		flex-wrap: wrap;
	}
}



/*--------------------------------------------------
  フッター
--------------------------------------------------*/
#footer {
	background: #990033;
	color: #fff;
	font-size: 12px;
	margin-top: 60px;
}

#footer > .wrapper {
	height: 200px;
	width: 90%;
}

@media screen and (max-width: 960px) {
	#footer > .wrapper {
		height: auto;
		padding: 30px 0;
	}
}


/* ロゴ */
#footer .logo {
	position: absolute;
	top: 20px;
}

@media screen and (max-width: 960px) {
	#footer .logo { display: none; }
}


/* ボタン */
#footer .btn {
	position: absolute;
	top: 25px;
	right: 0;
}

@media screen and (max-width: 750px) {
	#footer .btn { position: static; }
}


/* グローバルナビ */
#footer .gnav a {
	font-size: 14px;
	margin-right: 30px;
}
	#footer .gnav a:before {
		border-style: solid;
		border-width: 3.5px 0 3.5px 6px;
		border-color: transparent transparent transparent #990033;
		content: "";
		height: 0;
		margin-right: 5px;
		width: 0;
	}



/* アドレス */
#footer .address {
	position: absolute;
	bottom: 20px;
}

#footer .address dt { font-weight: 700; }

@media screen and (max-width: 960px) {
	#footer .address { position: static; }
}

@media screen and (max-width: 750px) {
	#footer .address { display: none; }
}


/* コピーライト */
#copyright {
	position: absolute;
	bottom: 20px;
	right: 0;
}

@media screen and (max-width: 960px) {
	#copyright {
		margin-top: 30px;
		position: static;
		text-align: center;
	}
}


/* ページトップ */
#pagetop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

@media screen and (max-width: 960px) {
	#pagetop {
		bottom: 10px;
		right: 10px;
		width: 50px;
	}
}



/*--------------------------------------------------
  メイン
--------------------------------------------------*/
/* キービジュアル */
#key { padding-top: 180px; }
	body:not(.home) #key {
		background: #f7f1e0;
		display: flex;
		flex-wrap: wrap;
		height: calc(150px + 180px);
	}
	body.error404 #key { height: 0; }

body:not(.home) #key .ctr-txt {
	align-items: center;
	color: #a28329;
	display: flex;
	font-family: '游明朝', 'Yu Mincho', 'ヒラギノ明朝 Pro W3', 'HiraMinProN-W3', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
	font-size: 24px;
	font-weight: 700;
	padding-left: calc(50% - 500px);
	width: 50%;
}

body:not(.home) #key .ctr-pic {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	width: 50%;
}

@media screen and (max-width: 1024px) {
	body:not(.home) #key .ctr-txt { padding-left: 5%; }
}

@media screen and (max-width: 960px) {
	#key { padding-top: 70px; }
	
	body:not(.home) #key { height: calc(150px + 70px); }
}

@media screen and (max-width: 750px) {
	body:not(.home) #key { height: calc(100px + 70px); }
	
	body:not(.home) #key .ctr-txt { font-size: 1.8rem; }
}


/* キービジュアル（スライダー） */
#key .metaslider .flex-control-nav {
	line-height: 8px;
	bottom: 30px;
}

#key .flex-control-paging li a {
	background: rgba(255,255,255,.5);
	height: 8px;
	width: 8px;
}
	#key .flex-control-paging li a.flex-active { background: rgba(255,255,255,1); }






/*--------------------------------------------------
  パンくず／ページャー
--------------------------------------------------*/
/* パンくず */
#breadcrumbs {
	clear: both;
	font-size: 12px;
	padding: 15px 0;
}
	body.single #breadcrumbs .wrapper { max-width: 100%; }


/* ページャー */
.wp-pagenavi {
	font-size: 0;
	margin-top: 60px;
	text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
	border-color: #e22389 !important;
	box-sizing: border-box;
	color: #e22389;
	display: inline-block;
	font-size: 18px;
	line-height: 1;
	margin: 0 2px;
	padding: 10px;
}
	.wp-pagenavi span.pages,
	.wp-pagenavi a.previouspostslink,
	.wp-pagenavi a.nextpostslink { border: 0; }
	.wp-pagenavi span.current {
		background: #e22389;
		color: #fff;
		font-weight: 500 !important;
	}

.wp-pagenavi a.page:hover {
	border-color: #e22389 !important;
	background: #e22389;
	color: #fff;
	opacity: 1;
}



/*--------------------------------------------------
  SNSボタン
--------------------------------------------------*/
.social_bookmark li {
	float: left;
	margin-right: 10px;
}
	.social_bookmark li.google { width: 57px; }
	.social_bookmark li.twitter.follow { display: none; }
	.social_bookmark li.twitter.tweet { width: 81px; }