@charset "UTF-8";

/*================================================
 *  ベーシック
 ================================================*/

html {
	overflow:scroll;
}

body {
	overflow: hidden; /*はみ出た部分をどうするか*/
	margin:0;
	padding:0;
	letter-spacing:1px;
	font-family:"Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"ヒラギノ角ゴ Pro W3","メイリオ", Meiryo,"ＭＳ Ｐゴシック",verdana,sans-serif;
	font-size:13px;
	color:#000;
}

#contents {
	margin:0 auto;
	width:980px;
}

br {
	letter-spacing:normal;
}

a {
	color:#000;
	text-decoration:none;
}
a:hover {
	color:#917700;
	text-decoration:underline;
}

img {
	border:0;
	vertical-align:bottom;
}

.logo img{
	width:2.5em;
}

/*
h1,h2,h3,h4,h5,h6 {
	margin:0;
}

h2 {
	clear:both;
	padding:0 10px;
	color:#000;
	font-size:24px;
	font-weight:normal;
	line-height:1.4;
	text-align:center;
}

h3 {
	margin-bottom:0.25em;
	text-align:center;
	font-size:18px;
	font-weight:normal;
	color:orange;
	line-height:1.8;
}

h2 + h3 {
	margin-top:20px;
}

h3:first-child {
	margin-top:0;
}

h3 + h4 {
	margin-top:10px;
}

h4 {
	margin:30px 0 0 0;
	color:#333;
	font-weight:bold;
	font-size:16px;
	line-height:2.0;
	border:0;
}

h5 {
	line-height:2.0;
	font-size:14px;
	color:#000;
	font-weight:normal;
}

h6 {
	font-size:14px;
	font-weight:normal;
	color:#917700;
	line-height:2.0;
}
*/
p {
	line-height:1.8;
	text-align: center;
}

a {
	margin:0.5em 0 1em 0;
	line-height:1.8;
	text-decoration: none;
}

ul,ol,dl {
	margin:10px 0;
}

li {
	padding:0;
	margin:0 0 0 30px;
}

dt {
	margin:0;
	padding:0;
}

dd {
	margin:0 0 1em 0;
	padding:10px;
	background:#f1f1f1;
}

/*================================================
 *  テンプレート
 ================================================*/
#container {
	width:100%;
	margin:0 auto;
	background:white;
}

#header {
	position:fixed;
	width:100%;/*940px*/
	/*margin:0 auto;*/
	left:0;
	top:0;
	z-index:99;
	background-color:#ffffff;
	display:flex;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/*チェックボックス等は非表示に*/
.nav-unshown {
	display:none;
}

#slidemenu{
   display:none;
}

#menu {
	position:absolute;
	right:0;
	top:5px;
}

#footMenu {
	/*clear:both;*/
	width:940px;
	margin:30px auto 0 auto;
	display:flex;
	justify-content:center;
}

#footer {
	/*clear:both;*/
	margin:0 auto;
	display:flex;
	justify-content:center;
	flex-direction: column;
	width:100%;
	background:#214d98;
}


/*================================================
 *  ヘッダー
 ================================================*/
#header h1 {
	margin-left:10px;
	padding:10px 0;
	padding-right:10%;
	font-size:20px;
	color:black;
	line-height:1.0;
	margin-right:auto;
}

#header h1 a {
	color:black;
	line-height:2.5;
	text-decoration: none;
}

#header h1 a:hover {
	color:black;
}

/*================================================
 *  メニュー
 ================================================*/
#menu ul {
	padding:0;
	list-style:none;
}

.snip1226 {
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
}

.snip1226 * {
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

.snip1226 li {
	display: inline-block;
	list-style: outside none none;
	margin: 0 1.5em;
	overflow: hidden;
	color:#91770;
}

.snip1226 a {
	position: relative;
	display: inline-block;
	letter-spacing: 1px;
	margin: 0;
	text-decoration: none;
}

.snip1226 li a:hover ,
.snip1226 .current a :hover{
	background-repeat:no-repeat;
	background-position:bottom;
	color:black;
	letter-spacing: 5px;
}

.nav {
	text-align: center;
}

.menu--label::before{
	font-family: FontAwesome;
  	color:blue; /*文字色*/
  	font-size: 2em; /*2倍サイズ*/
  	display: block; /*改行するように*/
}

.nav1 .menu--label::before{
	content:"\f015";
}

.nav2 .menu--label::before {
	content:"\f007";
}

.nav3 .menu--label::before {
	content:"\f109";
}

.nav4 .menu--label::before {
	content:"\f1ad";
}

.nav5 .menu--label::before {
	content:"\f0eb";
}

.nav6 .menu--label::before {
	content:"\f18c";
}
/* Demo purposes only */
body {
	background-color:white;
}
/*================================================
 *  メインイメージ
 ================================================*/
.main_img{
	margin: 7.5em 1em 2em 0;
}
/*================================================
 * 　見出し
 ================================================*/

#contents h1{
	margin: 2em 0 3em 0;
}

h1 {
  	text-align: center;
}

h3 {
	text-align: center;
}

h1 .title_1 {
  position: relative;
  display: inline-block;
  padding: 0 1em;
  text-align: left;
  font-size: 26px;
}
h1 .title_1::before,
h1 .title_1::after {
  position: absolute;
  top: 50%;
  content: '';
  width: 400%;
  height: 1px;
  background-color: #ccc;
}

h1 .title_1::before {
  right: 100%;
}

h1 .title_1::after {
  left: 100%;
}

h1 .title_2{
	font-size:12px;
	color:#847f81;
}
/*================================================
 *  あいさつ
 ================================================*/
/* 写真左寄せ */
.imgL {
	clear:both;
	overflow:hidden;
}
.imgL img {
	float:left;
	margin:1em 1em 2em 0;
}
img {
	width:100%;
	vertical-align:bottom;
}

.text{
	font-size: 1.3em
}

article{
	margin-bottom: 4em;
}
/*================================================
 *  フットメニュー
 ================================================*/
#footMenu ul {
	margin:5px 0;
	padding:20px 0;
	text-align:center;
	border-top:1px solid #ddd;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
	align-items: center; /* 縦方向中央揃え */
	-webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
	justify-content: center; /* 横方向中央揃え */
	text-transform: uppercase;
	font-weight: 500;
}

#footMenu ul *{
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

#footMenu li {
	display:inline;
	margin:0 20px;
	list-style:none;
}

#footMenu li a {
	color:#000;
	text-decoration:none;
}

#footMenu li a:hover {
	background-repeat:no-repeat;
	background-position:bottom;
	color:#fff;
	text-decoration:none;
	letter-spacing: 5px;
}

/*================================================
 *  フッター
 ================================================*/
.copyright {
	font-style:normal;
	font-size:11px;
	color:white;
	line-height:3.0;
	text-align:center;
	display: flex;
	justify-content: center;
}

/*================================================
 *  ページトップ
 ================================================*/
#pageTop {
	position:fixed;
	right:20px;
	bottom:20px;
}

#pageTop a {
	display:block;
	padding:15px 15px 15px 15px;
	color:#fff;
	font-size:11px;
	text-decoration:none;
	background:#00a6ff url("../images/bg_pagetop.gif") 30px 50% no-repeat;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}

#pageTop a:hover {
	background:#1ac0e5 url("../images/bg_pagetop.gif") 30px 50% no-repeat;
}

/*================================================
 *  タブレット向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:979px) {
	#contents {
		box-sizing:border-box;
		width:100%;
	}

	#header {
		width:100%;
	}

	#footer {
		width:100%;
		background:#214d98;
	}

	#footMenu {
		width:100%;
    }   
    
	#nav-drawer {
		/*position: relative;*/
		display:flex;
		flex-direction:flex-end;
		align-items:center;
	}

/*チェックボックス等は非表示に*/
	.nav-unshown {
		display:none;
	}

	#slidemenu{
		display:inline;
	}

	#menu {
		display:none;
	}

/*アイコンのスペース*/
	#nav-open {
		display: inline-block;
		width: 30px;
		height: 22px;
		padding-right:20px;
		vertical-align: middle;
	}

/*ハンバーガーアイコンをCSSだけで表現*/
	#nav-open span, #nav-open span:before, #nav-open span:after {
		position: absolute;
		height: 3px;/*線の太さ*/
		width: 25px;/*長さ*/
		border-radius: 3px;
		background: #555;
		display: block;
		content: '';
		cursor: pointer;
	}

	#nav-open span:before {
		bottom: -8px;
	}

	#nav-open span:after {
		bottom: -16px;
	}

/*閉じる用の薄黒カバー*/
	#nav-close {
		display: none;/*はじめは隠しておく*/
		position: fixed;
		z-index: 99;
		top: 0;/*全体に広がるように*/
		left: 0;
		width: 100%;
		height: 100%;
		background: black;
		opacity: 0;
		transition: .3s ease-in-out;
	}

/*中身*/
	#nav-content {
		overflow: auto;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;/*最前面に*/
		width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
		max-width: 330px;/*最大幅（調整してください）*/
		height:100%;
		background:#fff;
		transition: .3s ease-in-out;/*滑らかに表示*/
		-webkit-transform: translateX(-105%);
		transform: translateX(-105%);/*左に隠しておく*/
	}

/*チェックが入ったらもろもろ表示*/
	#nav-input:checked ~ #nav-close {
		display: block;/*カバーを表示*/
		opacity: .5;
	}

	#nav-input:checked ~ #nav-content {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);/*中身を表示（右へスライド）*/
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}

	.text{
		padding:0 10px;/*記事の余白*/
	}
}
/*================================================
 *  スマートフォン向けデザイン
 ================================================*/

.menu-icon {
	width: 50px;
	height: 50px;
	position: fixed;
	top: 0;
	right: 0;
	margin: 10px 15px;
	transform:scale(0.8);
	padding: 0;
	cursor: pointer;
	z-index:20;
}

.slidemenu {
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.menu-con{
	-webkit-flex-grow: 1;
	flex-basis: 0;
	flex-grow: 1;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content:space-around;
	position:relative;
	top:-100%;
	transition:all 0.5s;
}

.menu-con a:before {
	content: "";
	display: block;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
	width:100%;
	height: 100%;
	opacity: 1;
	background: rgba(0,0,0,0);
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

.menu-con:hover a:before {
	background-color: rgba(152,153,160,0.4);
}

.menu-con a {
	height:100%;/*20px*/
	-webkit-align-self:center;
	color:#000;
	font-size:25px;
	z-index:2;
	cursor:pointer;
	text-decoration: none;
}

.slide_logo{
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}

.slide_logo img{
	width:65%;
}

@media screen and (max-width:767px) {
		
	html {
		overflow: auto;
	}
	body{
		overflow: hidden; /*はみ出た部分をどうするか*/
	}
	#container {
		margin-top:100px;
	}
	#header {
		z-index:2;
		box-sizing:border-box;
		position:fixed;
		top:0;
		left:0;
		width:100%;
		display:flex;
		justify-content:center;
	}
	.main_img{
		margin:0em 1em 2em 0;
	}
	#contents h1{
		margin: 2em 0 2em 0;
	}	
	.imgL img {
		margin:0em 1em 0.5em 0;
	}
	.col_two_one {
		overflow: hidden;
		margin:150px 50px 20px 50px;
	}
	.col_two_one li {
		list-style: none;
		float: left;
		width:auto;
		margin: 0 2% 2% 0;
	}	
	.threeCol {
		margin-bottom:30px;
	}
	.threeColInner {
		margin-right:0;
	}
	.threeColInner div {
		float:none;
		width:100%;
	}	
	#footer {
		width:100%;
		margin: 0 -200%; /* マージンを追記 */
		padding: 0 200%; /* マージンで横にはみ出した部分を戻す */
	}
	#footMenu ul {
		margin:5px 0;
		padding:20px 0;
		text-align:center;
		border-top:1px solid #ddd;
		display: flex;
		flex-direction: column;
	}
	#footMenu li{
		font-size:large;
	}
}

@media screen and (max-width: 600px) {
	.menu-con {
		min-width:50%;
	}
	
	#contents h1{
		margin: 1em 0 1em 0;
	}

	#contents h3{
		margin: 3em 0 1em 0;
	}
}

@media screen and (max-width:415px) {
 	#header h1 {
 		font-size: 15px;
 	}
 	.main_img{
		margin:-2em 1em 2em 0;
	}
}

@media screen and (max-width: 350px) {
	.menu-con {
		min-width:100%;
	}
	.logo img{
		text-align: center;
		height:auto;
	}
}
