@charset "UTF-8";

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

/* 大枠 */
html,
body {
	height: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: none;
	-webkit-overflow-scrolling: touch !important;
}
body {
	font-size: 18px;
	line-height: 1.8;
	color:#485157;
}
#wrapper {
	width: 100%;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
body > #wrapper {
	height: auto;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	content: " ";
	clear: both;
	height: 0;
}

@media print {
	html,
	html body{overflow: visible !important;}
}

/* アクセシビリティ */
.guidance {
	left:-999px;
	position:absolute;
	width:990px;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
} /* レスポンシブ対応 */
img {
	vertical-align: bottom;
	box-shadow: #000 0 0 0; /* ロールオーバー対応 */
}
img,
x:-moz-any-link,
x:default {
	box-shadow: #000 0 0 0; /* IE7対応 */
}

/* リンク */
a:link    {color:#f5a200; text-decoration: underline;}
a:visited {color:#f5a200; text-decoration: none;}
a:hover   {color:#f5a200; text-decoration: none;}
a:active  {color:#f5a200; text-decoration: none;}

.questrial{
	font-family: 'Questrial', sans-serif;
	letter-spacing: 0.15em;
	}

/* CLEARFIX */
.container:after,
.row:after,
.col:after {
	content: "";
	display: table;
	clear: both;
}

section{
	padding: 80px 0;
	}
section.blue_bg{
	background:#e8f0f5;
	}
.read{
	text-align: center;
	}

.container {
	width: 100%;
	max-width: 1040px;
	padding: 0 15px;
	margin: 0 auto;
	position: relative;
	z-index:1;
	}

.pc {display: block;}
.sp {display: none;}


/* ▼ タイトル
--------------------------------------- */
#site_title {
	overflow: hidden;
	width: 180px;
	margin-right: 50px;
}
h1.title {
	padding: 20px 0;
	margin-bottom: 30px;
	color: #314b57;
	font-size:40px;
	font-weight: 600;
	text-align: center;
	}
h1.title span{
	display: block;
	text-align: center;
	}
h1.title span.subtitle{
	margin: 0 0 40px 0;
	font-size: 24px;
	position: relative;
	}
h1.title span.subtitle::after{
	content:'';
	width:53px;
	height:8px;
	background: url('../img/title_deco.png') no-repeat center / contain;
	margin:auto;
	position: absolute;
	right:0;
	bottom: -12px;
	left:0;
	}
h2.title{
	color:#314b57;
	font-size:28px;
	font-weight: 600;
	text-align: center;
	}
h3.title{
	color:#485157;
	font-size:22px;
	font-weight: 600;
	}



/* ▼▼▼ ヘッダー
====================================================== */
header {
	width: 100%;
	height: 80px;
	background: #FFF;
	overflow: hidden;
	box-shadow: rgba(0,0,0,0.4) 0 4px 4px;
	position: fixed;
	top: 0;
	z-index: 100;
}
header .container{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-ms-align-items: center;
	align-items: center;
	align-content: center;
	max-width: 1406px;
	height: 100%;
	padding: 0 20px;
}

.menu {display: none;}

/* グローバルナビゲーション */
#gnav {
	overflow: hidden;
}
	#gnav ul {
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flex;
		display: -o-flex;
		display: flex;
	}
	#gnav ul > li {
		display: table;
	}
	#gnav ul > li.header_demo{
		position: absolute;
		top: 0;
		right: 0;
	}
	#gnav ul > li a {
		height: 80px;
		padding: 0 20px;
		display: table-cell;
		color: #314a57;
		text-decoration: none;
		text-align: center;
		vertical-align: middle;
}
	#gnav ul > li a:hover,footer a:hover{
		-ms-filter: "alpha(opacity=60)";
		-moz-opacity:0.6;
		-khtml-opacity: 0.6;
		opacity: 0.6;
	}

	#gnav ul > li.header_demo a{
		background: #314a57;
		color: #FFF;
		padding: 0 27px;
	}


/* ▼▼▼ メイン 「コンテンツとサイドを囲む要素」
====================================================== */
#main {
	margin: 0 auto;
	clear: both;
	overflow: hidden;
}
#main:not(.home){
	padding-top: 80px;
}
.read{
	margin: 0 0 30px;
}

/* ▼ パンくず
--------------------------------------- */
#path ol {
	margin-top:20px;
	margin-bottom: 10px;
	font-size: 14px;
	overflow: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	}
	#path ol li {
		position: relative;
	}
	#path ol li:not(:first-child){
		padding-left:5px;
	}
	#path ol li:not(:last-child):after {
		display: inline-block;
		content: "";
		width: 7px;
		height: 7px;
		border-top: 1px solid #4A340A;
		border-right: 1px solid #4A340A;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		margin: 0 5px;
	}


/* ▼▼▼ フッター
===================================== */
footer {
	width: 100%;
	background: #314B57;
	padding: 40px 0 30px;
	margin:100px 0 0 0;
	overflow: hidden;
	}
footer,footer a{
	color: #FFF!important;
	text-decoration: none!important;
}
#footer_inner {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 20px;
	overflow: hidden;
}
footer .footer_menu_wrap{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-bottom: 60px;
}
footer .footer_logo{
	margin: 0 10% 20px 0;
}
footer .footer_logo a{
	display: inline-block;
	max-width: 100%;
	width: 200px;
}
footer .footer_nav{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	-webkit-flex: 1 1 auto;
	-moz-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	-o-flex: 1 1 auto;
	flex: 1 1 auto;
}
footer .footer_menu{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	-ms-align-items: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	-webkit-flex: 0 0 310px;
	-moz-flex: 0 0 310px;
	-ms-flex: 0 0 310px;
	-o-flex: 0 0 310px;
	flex: 0 0 310px;
	width: 310px;
	max-width: 310px;
}
footer .footer_sns{
	/* display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex; */
	display: none;
	justify-content: space-between;
	-ms-align-items: center;
	align-items: center;
	align-content: center;
	-webkit-flex: 0 0 220px;
	-moz-flex: 0 0 220px;
	-ms-flex: 0 0 220px;
	-o-flex: 0 0 220px;
	flex: 0 0 220px;
	width: 220px;
	max-width: 220px;
}
footer .footer_sns a{
	display: block;
	width: 48px;
	height: 42px;
}
footer .footer_sns .sns_t a{
	background: url("../img/icon_twitter.png") no-repeat center center/48px;
}
footer .footer_sns .sns_l a{
	background: url("../img/icon_line.png") no-repeat center center/44px;
}
footer .footer_sns .sns_f a{
	background: url("../img/icon_facebook.png") no-repeat center center/42px;
}

/* ▼ ページ上部へ戻る
--------------------------------------- */
.pagetop {
	width: 60px;
	background: #314B57;
	border-radius: 50%;
	border: #FFF 1px solid;
	padding: 18px 0 8px;
	color: #FFF;
	font-size:14px;
	text-align: center;
	line-height: 16px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 2000;
	cursor: pointer;
}
.pagetop::after{
	content: '';
	width: 8px;
	height: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: #FFF transparent transparent #FFF;
	position: absolute;
	bottom: 38px;
	right: 0;
	left: 0;
	margin: auto;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* ▼ コピーライト
--------------------------------------- */
#copyright {
	font-size: 14px;
	color: #fff;
	text-align: center;
}

/* ▼▼▼ 769px〜1010px
====================================================== */
@media screen and (min-width:769px) and ( max-width:1010px) {
	#site_title {
	  width: 160px;
		margin-right: 30px;
		}
	#gnav ul > li a{
		font-size: 16px;
		padding: 0 10px;
		}
}

/* ▼▼▼ 480px〜768px
====================================================== */
@media screen and (max-width: 768px) {

	body{
		font-size: 14px;
	}
	body.wrap {
		overflow: hidden;
	}


	#wrapper {width: 100%;}
	#screen {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color:rgba(0,0,0,0.8);
		z-index: 200;
	}

	.pc {display: none;}
	.sp {display: block;}

	/* ▼タイトル
	--------------------------------------- */
	#site_title {
		overflow: hidden;
		width: 120px;
	}

	h1.title {
		padding: 20px 0 0 0;
		margin-bottom: 30px;
		color: #314b57;
		font-size: 26px;
		}
	h1.title span.subtitle {
		margin: 0 0 10px 0;
		font-size: 14px;
		}
	h1.title span.subtitle::after {
		width: 40px;
		height: 6px;
		bottom: -7px;
		}
	h2.title {
    font-size: 20px;
    line-height: 1.6;
		}
	h3.title {
    font-size: 18px;
		}



	/* ▼▼▼ ヘッダー
	====================================================== */
	header {
		width: 100%;
		height: 50px;
		padding: 0;
		top: 0;
		left: 0;
		z-index: 99999;
		overflow: visible;
	}
	header .container{
		display: table;
		padding: 0;
	}
	.header_inner {
		display: table-cell;
		width: 100%;
		height: 100%;
		background: #FFFFFF;
		padding: 0 20px;
		vertical-align: middle;
		position: relative;
		z-index: 99999;
	}

	/* ▼ グローバルナビゲーション
	--------------------------------------- */
	#gnav {
		display: block!important;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
		float: none;
		width: 100%;
		max-height: 100vh;
		padding-top: 51px;
		margin: 0;
		position: absolute;
		top: -1000px;
		left: 0;
		z-index: 1000;
		overflow: auto;
	}
		#gnav.open {
			-moz-transform: translateY(1000px);
			-webkit-transform: translateY(1000px);
			transform: translateY(1000px);
		}
		#gnav ul {
			display: block;
		}
		#gnav ul > li {
			width: 100%!important;
			max-width: 100%!important;
			height: auto;
			text-indent: 0;
		}
		#gnav ul > li.header_demo{
			position: relative;
			top: auto;
			right: auto;
		}
		#gnav ul > li > a {
			height: 50px!important;
			background: #fff;
			background-size: 10px 10px!important;
			border-bottom: 1px solid #ccc;
			padding: 0 15px;
			color: #333;
			line-height: 50px;
			font-weight: bold;
		}
		#gnav ul > li > a:hover,footer a:hover{
			text-decoration: none;
			opacity: 1;
		}
		#gnav ul > li.header_demo a{
			background: #314a57;
			color: #FFF;
			padding: 0 27px;
		}


	/* ▼メニューボタン
	--------------------------------------- */
	.menu {
		display: block;
		width: 50px;
		height: 50px;
		background: #314a57;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 2000;
	}
		.menu .icon {
			display: block;
			width: 24px;
			height: 2px;
			border-top: 2px solid #fff;
			position: absolute;
			top: 23px;
			right: 13px;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			box-sizing: border-box;
			-moz-transition: all 0.3s;
			-webkit-transition: all 0.3s;
			transition: all 0.3s;
		}
		.menu .icon:before,
		.menu .icon:after{
			content: '';
			width: 24px;
			border-top: 2px solid #fff;
			position: absolute;
			-moz-transition: all 0.3s;
			-webkit-transition: all 0.3s;
			transition: all 0.3s;
			right: 0;
		}
		.menu .icon:before {
			top:-9px;
		}
		.menu .icon:after {
			bottom:-7px;
		}
		.menu .icon.active {
			border-color: transparent;
		}
		.menu .icon.active:before {
			-moz-transform: rotate(-135deg);
			-webkit-transform: rotate(-135deg);
			transform: rotate(-135deg);
			top: -2px;
			right: 0;
		}
		.menu .icon.active:after {
			-moz-transform: rotate(135deg);
			-webkit-transform: rotate(135deg);
			transform: rotate(135deg);
			bottom: 0;
			right: 0;
		}
		.menu .icon span:before{
			content: "Menu";
			color: #fff;
			font-size: 12px;
			position: absolute;
			left: 50%;
			bottom: -24px;
			transform: translate(-50%,-0%);
			-webkit-transform: translate(-50%,-0%);
		}
		.menu .icon.active span:before{
			content: "Close";
		}

	/* ▼▼▼ メイン 「コンテンツとサイドを囲む要素」
	====================================================== */
	#header_inner,
	#main,#contents,#side,
	footer,#footer_inner {
		float: none;
		width: 100%;
		}
	#main {
	}
	.menu_fixed {
		position: fixed;
		width: 100%;
		height: 100%;
	}
	.read{
		margin: 0 0 15px;
	}


	/* ▼▼▼ フッター
	====================================================== */
	footer {
		padding: 40px 0 20px 0;
		margin: 50px 0 0 0;
	}
	footer .footer_menu_wrap{
		display: block;
	}
	footer .footer_logo{
		margin: 0 auto 20px;
		text-align: center;
	}
	footer .footer_nav{
		display: block;
	}
	footer .footer_menu{
		display: block;
		width: 224px;
		max-width: 100%;
		margin: 0 auto 30px;
	}
	footer .footer_sns{
		margin: 0 auto;
		max-width: 100%;
	}
	#copyright {
		font-size: 12px;
	}
}
