@charset "UTF-8";
/* CSS Document */
/*-----Google Fontsの読み込み-----*/
@import url('https://fonts.googleapis.com/css?family=Anton');
/*-----サイト全体-----*/
body {
	margin: 0px;
	padding: 0px;
	font-family: "UD Digi Kyokasho N-B","YuKyokasho Yoko";
	font-size: 15px;
	color: #333;
	line-height: 2;		/*行間*/
	background-color: #FFFFFF;	/*背景色*/
	text-size-adjust: none;
}
ul {
	list-style-type: none;
}

h1 {
	border-bottom: double 10px #fe4745;
	font-size: x-large;
	text-align: left;
	margin-left: 10px;
	margin-right: 10px;
	font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
}

h2 {
	background-color: #fe4745;
	box-shadow: 0px 0px 0px 3px #27044B;
	border: 1px none #FFFFFF;
	padding: 0.2em 0.5em;
	color: #FFFFFF;
	font-size: 20px;
	font-style: normal;
	font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
	margin-left: 5px;
	margin-right: 5px;
}

h3{
	font-size: x-large;
	text-align: left;
	margin-left: 15px;
	margin-right: 15px;
	font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
}

h4{
	text-align: left;
	font-size: small;
	margin-left: 10px;
	margin-right: 10px;
	font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
}

/*----- mainボディー-----*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;
	font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
	font-size: 24px;
	line-height: 2;
	-webkit-text-size-adjust: none;
	background-color: #fff;
	background-image: url(../img/texture_00007.jpg);
	text-align: center;
}
/*-----ヘッダー-----*/

header .inner {
	background-color: #FFFFFF;
}

#logo img {
	left: 0%;
	top: 0;
	width: auto;
	height: auto;
}
hr {
	height: 8px;
	background-color: #D52425;
	width: 100%;
	border: none;
	margin-top: -1px;
	margin-bottom: -1px;
}
/*メニューバー*/

#menubar {
	clear: both;
	overflow: hidden;
	padding: 5px 0px 5px 2.8%;
	font-size: 20px;
	background-color: #fe4745;
}

#menubar li {
	float: left;
	width: 45%;
}

#menubar li a {
	display: block;
	text-align: center;
	padding-right: 0px;
	padding-left: 0px;
	color: #fff;
	border-right: 1px solid #fff;
	border-right: 1px solid rgba(255,255,255,0.3);
	text-shadow: 0px -1px rgba(0,0,0,0.8);
	font-size: x-large;
	text-decoration: none;
}

#menubar li:first-child a {
	border-left: 1px solid #fff;
	border-left: 1px solid rgba(255,255,255,0.3);}

#menubar li a:hover {
	background: #fff;
	color: #B30133;
	text-shadow: none;
}


#menubar li a span, #menubar-s li a span {
	display: block;
	text-shadow: none;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: rgba(255,255,255,0.5);}

#menubar li a:hover span {
	color: #487113;}

.menubar-s {
	display: none;
	background-color: #fe4745;
}


/*-----コンテンツ-----*/

#contents {
	background: #fff;	/*背景色*/
	padding: 3%;		/*ボックス内の余白*/
}

/*各ブロックごとの設定*/
.list2 {
	overflow: hidden;
	border-bottom: 1px solid #00003E;	/*下線の幅、線種、色*/
	padding: 20px;	/*ボックス内の余白*/
}
/*h4見出しの設定*/
.list2 h4 {
	color: #e8383d;	/*文字色*/
	font-size: 21px;	/*文字サイズ。少し大きくしています。*/
}
/*画像の設定*/
.list2 img {
	width: 24%;		/*画像幅*/
	float: left;	/*画像を左に回り込み*/
	margin-right: 3%	/*画像の右側に空けるスペース*/
}
.list2 p {
	padding: 0 !important;
	font-size: 18px;
}

.contents {
	clear: both;
	max-width: 1200px;	/*最大幅。#header、#menubar、#pagetopと数字を合わせる*/
	margin: 0 auto;
	overflow: hidden;
	padding: 40px 0;
}

.fr {float: right;margin-left: 1%;margin-bottom: 15px;width: 40%;}
.fl {float: left;margin-right: 1%;margin-bottom: 15px;width: 40%;}

.fs1 {
	font-size: 21px;
	margin-left: 10px;
	margin-right: 10px;
}

.type1 {
	background-color: #00003E;
	box-shadow: 0px 0px 0px 5px #00003E;
	border: 1px dashed #FFFFFF;
	padding: 0.2em 0.5em;
	color: #FFFFFF;
	font-size: 24px;
	font-style: normal;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/*-----メイン-----*/
.main {
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 64px;
	background-color: #FFFFFF;
	width: auto;
	max-width: 1200px;
}
main img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
	margin-top: 10px;
}

.list {
	overflow: hidden;
	position: relative;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3) inset;	/*ボックスの影。右へ、下へ、ぼかす範囲。0,0,0は黒の事で0.3は透明度30%の事。insetは内側に向かう影。*/
	margin: 0 2% 30px;	/*上、左右、下へのボックスの外に空けるスペース*/
	background: #fff;	/*背景色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
	padding-top: 2%;
	padding-right: 2%;
	padding-left: 2%;
	padding-bottom: 2%;	/*ボックス内の余白*/
}
.list a {
	overflow: hidden;
	text-decoration: none;
	display: block;
	color: #000000;
}
/*h4タグ設定*/
.list h4 {
	padding: 0;
	border: none;
	font-size: 200%;	/*文字サイズ*/
	color: #00003E;		/*文字色*/
	line-height: 1.2em;
	height: 1em;
	overflow: hidden;	/*１行を超えた部分は非表示になる*/
	margin-bottom: 0.5em;
}
/*段落タグ設定*/
.list p {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.8;
	overflow: hidden;
}
/*figure画像の設定*/
.list figure img {
	margin: 0 0 4% 0;
}
/*figure画像の右側回り込みの設定*/
.list figure img.fr {
	width: 20%;		/*画像幅*/
	float: right;	/*右に回り込み*/
	margin: 0 0 0 4%;	/*上、右、下、左への画像の外側にとるスペース*/
}
/*figure画像の左側回り込みの設定*/
.list figure img.fl {
	width: 20%;		/*画像幅*/
	float: left;	/*左に回り込み*/
	margin: 0 4% 0 0;	/*上、右、下、左への画像の外側にとるスペース*/
}
/*右下の「→」マーク設定*/
.list a::before {
	content: "≫";	/*このテキストを表示させる。変更しても構いませんが機種依存文字は化ける場合があるので使わない。*/
	font-size: 10px;	/*文字サイズ*/
	text-align: center;
	border-radius: 50%;	/*円形にする*/
	background: #b2b2b2;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.3);	/*背景色。0,0,0は黒の事で0.3は透明度30%の事。*/
	color: #fff;	/*文字色*/
	position: absolute;
	right: 10px;	/*右から10pxの場所に配置*/
	bottom: 10px;	/*下から10pxの場所に配置*/
	width: 30px;	/*幅*/
	line-height: 30px;	/*高さ*/
	transition: 1s;	/*マウスオン時の移り変わるまでの時間設定。1秒。*/
}
/*右下の「→」マークのマウスオン時*/
.list a:hover::before {
	background-color: #00003E;
	box-shadow: 0px 0px 0px 5px #00003E;
}

.c3 .list {
	float: left;
	padding: 2%;
	width: 25.3%;
}
/*h4タグ*/
.c3 .list h4 {
	font-size: 110%;
}
/*p段落タグ*/
.c3 .list p {
	font-size: 100%;
	height: 7.2em;	/*上の「.list p」の「1.8」×「表示させたい行数」を設定。7.2だと4行分になる。*/
}
/*右下の「→」マークを少し小さく設定しなおす*/
.c3 .list a::before {
	width: 20px;
	line-height: 20px;
	font-size: 12px;
}

.container {
  font-family: "UD Digi Kyokasho N-B","游教科書体 横用","YuKyokasho Yoko";
  text-align: center;
  padding-top: 40px;
}

.btn-denim {
	display: inline-block;
	max-width: 280px;
	text-align: left;
	background-color: #fe4745;
	font-size: 20px;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	padding: 8px 16px;
	border: 1px dashed #FFF;
	box-shadow: 0px 0px 0px 5px #00003E;
}

.btn-denim:hover {
  border-style: solid;
}

.topNavi {
	overflow:hidden;
	position:relative;
	margin-right:-1.030%;
	margin-top:20px;}

.topNaviColumn {
	display: inline;
	width: 32.302%;
	float: left;
	margin-right: 1.030%;
	background-color: #FFF4DE;
}

.topNaviCon {
	position:relative;
	display:block;
	box-sizing:border-box;
	overflow:hidden;
	padding:2px;
	text-decoration:none;
	color:#000;
	transition:background 0s ease 0s, border 0s ease-out 0s;
	background:#00003E;
	border:1px solid #f1f1f1;
	border-radius:4px;}

.topNaviCon:hover {
	color: #000;
	background: #fff none repeat scroll 0 0;
	border: 1px solid #00003E;
	transition: background 0s ease 0s, border 0.5s ease-out 0s;}

.topNaviPhoto img {
	width: 90%;
}

/*-----フッター-----*/
#footermenu {
	overflow: hidden;	/*上下、左右のボックス内の余白*/
	background-repeat: #00003E;
	color: #fff;		/*文字色*/
	background-color: #fe4745;
	text-align: center;
	margin-top: -10px;
}
#foot_img {
	margin-top: 40px;
}
#foot_ul {
	text-align: center;
}
/*１行分の設定*/
#footermenu ul {
	padding-right: 1%;
	padding-left: 1%;
	font-size: 18px;
}
/*「class="title"」をつけた場合の設定*/
#footermenu .title {
	font-size: 27px;
}

/*-----copyright-----*/
#copyright {
	clear: both;
	text-align: center;
	background-color: #FFFFFF;	/*背景色*/
	font-size: 15px;	/*文字サイズ*/
	color: #00003E;		/*文字色*/
}
.mainimg {
	width: 95%;
	height: auto;
	margin-bottom: 32px;
}
main div {
	margin-bottom: 64px;
}
.fs1 iframe {
	width: 100%;
	margin-left: 10px;
	margin-right: 10px;
}
.main iframe {
	width: 100%;
}
.main course {
	position: relative;
	overflow: hidden;
	float: left;		/*左に回り込み*/
	width: 46%;			/*ボックス幅*/
	padding: 1%;		/*ボックス内の余白*/
	border: 1px solid #dcdcdc;	/*枠線の幅、線種、色*/
	margin: 0 0.8% 20px;		/*上、左右、下へのボックスの外に空けるスペース*/
	box-shadow: 0px 10px 40px rgba(0,0,0,0.2);	/*ボックスの影。右に、下に、広げる幅、0,0,0は黒の事で0.2は透明度20%の事。*/
	-webkit-transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
	transition: 0.3s;			/*同上*/
}

/* 上に戻るボタン */
.pagetop {
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	text-decoration: none;
	display: none;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	width: 3.3rem;
	height: 3.3rem;
	line-height: 3.3rem;
	border-radius: 3.3rem;
	text-align: center;
	cursor: pointer;
}

.pagetop:hover {
	color: #DD023F;
	background-color: #00003e;
	text-decoration: none;
}


@media screen and (max-width:1080px){
	
	.topNavi h4{
	text-align: left;
	font-size: 0.9vw;
	margin-left: 10px;
	margin-right: 10px;
}
	
}




@media screen and (max-width:830px){
	
	.menubar-s {
	display: inline-block;
	padding: 0.5em 1em;
	text-decoration: none;
	background: #fe4745;/*ボタン色*/
	color: #FFF;
	border-bottom: solid 4px #627295;
	border-radius: 3px;
	margin-top: 10px;
	margin-bottom: 20px;
}
.menubar-s:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
  border-bottom: none;
}


	.menubar-s a {
	display: block;
	text-align: center;
	color: #fff;
	font-size: 20px;
	text-decoration: none;
}

	#menubar {
	display: none;
}
	
	.list {
	margin: 0 !important;
	padding: 4% !important;
	float: none !important;
	width: auto !important;
	box-shadow: none;
	border-top: 1px solid #ccc;
	}
	
	.list:last-of-type {
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px !important;
	}
	
	.list h4 {
	font-size: medium !important;
	}
	
	.list p {
	font-size: 100% !important;
	line-height: 1.8 !important;
	height: auto !important;
	}
	
	.topNavi {
		margin-right:0;
	}

	.topNaviColumn {
		display:block;
		box-sizing:border-box;
		width:100%;
		float:none;
		margin-right:0;
		margin-bottom:10px;}
	
	.topNavi h4{
	text-align: left;
	font-size: medium;
	margin-left: 10px;
	margin-right: 10px;
}
}
	
