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

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
/*font: inherit;*/
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers
*/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/*====================*/

*{
	position:relative;
	box-sizing:border-box;
}

body{
	font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
font-family: 'Noto Serif JP', serif;
	font-size:16px;
	line-height:1.5;
	letter-spacing:0.08em;
	color:#333;
	background-image: url(./img/main_bg.png);
}

#preload{
	position:fixed;
	background:#fff;
	width:100vw;
	height:100vh;
	z-index:999;
	background-image:url(./img/loader.gif);
	background-repeat:no-repeat;
	background-position:center;
}

h1,h2,h3,h4,h5,h6{
	font-weight:700;
}

a{
	color:#666;
}

/*記事内の画像*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em !important;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em !important;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
}

table.flex_table.aligncenter,
table.flex_table.alignright,
table.flex_table.alignleft{
	float:none;
}

.mincho{
	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

.btn a{
	display:inline-block;
	padding:.5em;
	color:#fff;
	text-decoration:none;
	background-color:#002F58;
	border:1px solid #002F58;
	border-radius:5px;
	transition:.2s;
}

.btn a:hover{
	color:#002F58;
	background-color:#fff;
}

.noborder{
	border:0 !important;
	box-shadow:none !important;
}


/* head */
#header_wrap{
	//height:calc(100vh - 52px);
	background-color:rgba(255,255,255,0.7);
}

#page #header_wrap{
	height:auto;
}


#header{
	max-width:1200px;
	margin:0 auto;

	display:flex;
	align-items:center;
	justify-content:space-between;
	margin:auto;
	padding:0 3em;

}

#header h1 a{
	display:block;
	padding:.5em 1em;
	color:#336088;
	font-size:180%;
	letter-spacing:.1em;
	text-decoration:none;

}

#header h1 a span{
	display: inline-block;
	margin-right:.2em;
	padding: .2em;
	color:#fff;
	font-size: 50%;
	line-height: 1;
	text-align: center;
	background-color: #a40808;
	border-radius: 5px;
	transform: rotate(15deg);
}


#header #head_add{
	color:inherit;
	padding:.5em 1em;
	font-size:150%;
}

#header #head_add span{
	display:block;
	font-size:80%;
}

#header #head_add a:hover{
	opacity:.5;
}

/* main_image */
#main_image_wrap{
}

#main_image {
//	position:fixed;
	width:100%;
	vertical-align: middle;
	top:0;
	z-index:-1;
}

#main_image:before {
	position:absolute;
	display: block;
	content: '';
	margin: auto;
	max-width:1200px;
	height:100px;
	background-image:url(./img/logo.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position:left center;
	left:0;
	right: 0;
	bottom:0;
	z-index:9999;
}

#main_image > p:first-of-type{
	width:100%;
	padding-top:40%;
	height:0;
	text-indent:-9999px;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
}

#main_image_wrap > p{
	position:absolute;
	padding:.5em 1em;
	font-size:180%;
	right:3em;
	bottom:100px;

}

#main_image_wrap > p span{
	color:#607d8b;
	text-shadow:1px 1px 1px #fff;
	z-index:10;
}

#main_image_wrap > p:after {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8);
    background-size: 100% 5px;
	top:0;
    left:0;
    z-index: 5
}


/* main_menu */
#main_menu{
	//background:#8bc34a;
}

#main_menu ul{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin:auto;
	max-width:1200px;
}

#main_menu ul li{
	width:100%;
}

#main_menu ul li a{
	display:block;
	padding:.8em;
	color:#333;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	transition:.2s;
}

#main_menu ul li a:after{
	position:absolute;
	display:block;
	content:'';
	margin:auto;
	width:0;
	height:3px;
	background:#a40808;
	left:0;
	right:0;
	bottom:0;
	transition:.5s;
}

#main_menu ul li a:first-letter{
	color:#a40808;
	font-size:120%;
}

#main_menu ul li.carrent a:after,
#main_menu ul li a:hover:after{
	width:80%;
}

/* news */
#news_wrap{
	padding:1em 0;
	margin:0 auto 1.5em;
	max-width:calc(1200px - 2em);
	border-bottom:3px solid #aaa;
}

#news_wrap:before{
	display:block;
	position:absolute;
	content: '';
	width:15%;
	height:3px;
	background-color:#333;
	bottom:-3px;
	left:0;
}

#news_wrap:after{
	display:block;
	position:absolute;
	content: '';
	width:10%;
	height:3px;
	background: rgb(240,116,59); /* Old browsers */
	background: -moz-linear-gradient(left,#333 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 51%, #aaa 99%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #333 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 51%,#aaa 99%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #333 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 51%,#aaa 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333', endColorstr='#aaa',GradientType=1 ); /* IE6-9 */
	bottom:-3px;
	left:15%;
}

#news_wrap ul{
	display:flex;
	flex-direction:column;
	margin:auto;
	max-width:1000px;
}

#news_wrap ul li{
	display:flex;
}

#news_wrap ul li span{
	padding:.5em;
}

#news_wrap #kako{
	justify-content:flex-end;
}

/* searchform */
#search{
	padding:1em  1em 1.5em;
	margin:0 auto;
	max-width:1200px;
	text-align:right;
}

#search input{
	font:inherit;
}


/* main */

#main_wrap {
}

#main{
	padding:1em  1em 1.5em;
	margin:0 auto;
	max-width:1200px;
	overflow:hidden;
}

#page #main {
	min-height:500px;
}


/* main parts */

#main_wrap #p_list{
	padding:.5em;
	margin:0  auto;
	max-width:1200px;
}

#main_wrap #breadcrumb{
	display:flex;
	font-size:90%;
	justify-content:flex-end;
	padding:0 1em;
}

#main_wrap #breadcrumb li{
	margin-left: .5em;
	padding-left: 0;
}

#main_wrap #breadcrumb li:after{
	margin-left: .5em;
	content: '＞';
}

#main_wrap #breadcrumb li:last-child:after{
	content:'';
}

#main_wrap h2{
	padding: 1em .5em;
	margin:auto;
	max-width:1200px;
	font-size:200%;
background-image: url(./img/glayline.png);
    background-position: left bottom;
    background-size: 100% .5em;
    background-repeat: no-repeat;
}

#main_wrap.about h2{
background-image: url(./img/menu_line_or.png);
}

#main_wrap.school h2{
background-image: url(./img/menu_line_bl.png);
}

#main_wrap.online h2{
background-image: url(./img/menu_line_mz.png);
}

#main_wrap.contact h2{
background-image: url(./img/menu_line_pl.png);
}


#main_wrap h3{
	clear:both;
	padding:.5em;
	margin:0 auto 1.5em;
	font-size:150%;
	border-bottom:3px solid #aaa;
}

#main_wrap.about h3:first-letter{
	color:#ff9227;
	font-size:120%;
}

#main_wrap.school h3:first-letter{
	color:#1c9dd7;
	font-size:120%;
}

#main_wrap.online h3:first-letter{
	color:#ea4675;
	font-size:120%;
}

#main_wrap.contact h3:first-letter{
	color:#5f4a85;
	font-size:120%;
}


#main_wrap h3:before{
	display:block;
	position:absolute;
	content: '';
	width:15%;
	height:3px;
	background-color:#333;
	bottom:-3px;
	left:0;
}

#main_wrap h3:after{
	display:block;
	position:absolute;
	content: '';
	width:10%;
	height:3px;
	background: rgb(240,116,59); /* Old browsers */
	background: -moz-linear-gradient(left,#333 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 51%, #aaa 99%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, #333 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 51%,#aaa 99%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, #333 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 51%,#aaa 99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333', endColorstr='#aaa',GradientType=1 ); /* IE6-9 */
	bottom:-3px;
	left:15%;
}

#main_wrap h4{
	clear:both;
	padding:.5em .5em .5em 1.5em;
	font-size:180%;
	color: #002F58;
}

#main_wrap h4:before{
	position:absolute;
	display:block;
	content:'';
	margin: auto;
	width:1em;
	height:1px;
	background:#333;
	top:0;
	bottom:0;
	left:0;
}

#main_wrap h5{
	margin-bottom:1.5em;
	padding:.5em;
	font-size:120%;
	border-bottom:1px dotted #666;
}

#main_wrap h6{
	margin-bottom:1.5em;
	padding:.5em 0;
	font-size:120%;
}

#main_wrap h6:before{
	content:'●';
}

#main_wrap p{
	margin-bottom:1.5em;
}

#main_wrap #main > p{
	padding:0 2em;
}

#main_wrap a:hover{
	text-decoration:none;
}

#main_wrap #main hr{
	clear:both;
	border-bottom:1px dotted #ccc;
}

#main_wrap #main blockquote{
	clear:both;
	display:table;
	margin:1em auto;
	padding:1em;
	border:1px solid #ccc;
	border-radius:8px;
	background:rgba(255,255,255,0.8)
}

#main_wrap img{
	max-width:100%;
	height:auto;
	margin:.5em;
	box-shadow:2px 2px 5px #aaa;
}

#main_wrap #main ul{
	margin-bottom:1.5em;
}

#main_wrap #main ul li{
	margin-left:1.5em;
	margin-bottom:.5em;
}

#main_wrap #main ul li:before {
	display: block;
	position: absolute;
	content: '';
	margin: auto;
	width: .5em;
	height: .5em;
	background-color: #333;
	border-radius:25px;
	top:.5em;
	left: -1.5em;
}

#main_wrap #main ol{
	margin-bottom:1.5em;
}

#main_wrap #main ol li{
	margin-left:1.5em;
	margin-bottom:.5em;
	counter-increment: olNum1;

}

#main_wrap #main ol li:before {
	display: block;
	position: absolute;
	content: '';
	margin: auto;
	width: 1em;
	height: 1em;
//	background-color: #333;
	border-radius:5px;
	top:.25em;
	left: -1.5em;
}

#main_wrap #main ol > li:after{
	position: absolute;
	display:flex;
	justify-content:center;
	align-items:center;
	width: 1em;
	height: 1em;
	border-radius: 25px;
	color: #333;
	top: .25em;
	left: -1.5em;
	content: counter(olNum1);
}

#main_wrap table{
	margin-bottom:1.5em;
	border-top: 3px solid #333;
	border-bottom:3px solid #333
}

#main_wrap table th,
#main_wrap table td{
	vertical-align:top;
	padding:1em;
	border-bottom:1px solid #ccc;
}

#main_wrap table th{
	padding:1em;
	word-break:keep-all;
}

#main_wrap table tr > th:first-of-type,
#main_wrap table tr > td:first-of-type{
}

#main_wrap table tr > th > :last-child,
#main_wrap table tr > td > :last-child{
	margin-bottom:0;
}

#main_wrap table.flex_table,
#main_wrap table.flex_table > tbody{
	display:block;
	max-width:100%;
	background:transparent;
	border:0;
}

#main_wrap table.flex_table > tbody > tr{
	display:flex;
}

#main_wrap table.flex_table > tbody > tr > td{
	display:block;
	padding:1em;
	width:auto !important;
	border:0;
}

#main_wrap table.flex_table > tbody > tr > td table.flex_table td{
	padding:.5em;
}

#main_wrap table.flex_table.aligncenter > tbody > tr{
	justify-content:center;
}

#main_wrap table.flex_table.aligncenter > tbody > tr > td{
	width:auto !important;
}

#main_wrap table.flex_table.alignright > tbody > tr{
	justify-content:flex-end;
}


#main_wrap table.flex_table.al_center > tbody > tr{
	align-items:center;
}

#main_wrap table.flex_table.eq_width > tbody > tr > td{
	width:100% !important;
}

/* form */

#page #main form input,
#page #main form textarea{
	max-width:100%;
	padding:.2em 1em;
	font-size: 100%;
	border:1px solid #ccc;
	border-radius:5px;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page #main form textarea{
	width:100%;
}

#page #main form select{
	padding:1em;
	padding:.2em 1em;
	font-size: 100%;
	border:1px solid #ccc;
	border-radius:5px;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page #main form input[type=submit],
#page #main form button[type=submit]{
	position:relative;
	display:block;
	margin:auto;
	color:#fff;
	font-weight:bold;
	letter-spacing:0.5em;
	text-shadow:none;
	background: #333;
	border:0;
	cursor:pointer;
	transition:.2s;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}

#page table#mfp_confirm_table tr th,
#page table#mfp_confirm_table tr td{
	padding:1em .5em;
	font-size:100%;
}

#page .mfp_element_submit,
#page .mfp_element_reset,
#page .mfp_element_button,
#page button.mfp_next,
#page button.mfp_prev{
	position:relative;
	margin:auto;
	color:#fff;
	font-weight:bold;
	letter-spacing:0.05em;
	text-shadow:none;
	background: #052f47;
	cursor:pointer;
	transition:.2s;
	font-family: 游ゴシック,メイリオ,Meiryo,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Osaka,ＭＳ\ Ｐゴシック,MS PGothic,sans-serif;
}


#page #main form input[type=submit]:hover,
#page #main form button[type=submit]:hover{
	background-color:#718692;
	transition:.2s;
}

#page #main form input[type=submit]:before {
    display: block;
    position: absolute;
    content: '';
    margin: auto;
    width: 1em;
    height: .5em;
    background: linear-gradient(to top left, rgba(255,255,255,0) 50%, #052F47 50.5%) no-repeat top left/100% 100%;
    top: .5em;
    left: -1.2em;
}

#page #main form input[type=reset]{
	position:relative;
	display:inline-block;
	margin:auto;
	padding:.5em 1em;
	width:auto;
	color:#fff;
	font-size:100%;
	letter-spacing:.8em;
	background-color:#666;
	text-align:center;
	cursor:pointer;
	transition:.2s;
}

#page #main form input[type=reset]:hover{
	background-color:#aaa;
	transition:.2s;
}


/* page advance */
#page .su-spoiler-title{
	display: inline-block;
	color: #002F58;
	font-size:100%;
	text-decoration:underline;
}

#page .su-spoiler-title:hover{
	text-decoration:none;
}

#page .gallery {
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}

#page .gallery-item{
	display:block;
	float:none!important;
	width:auto !important;
}

#page .gallery-item img{
	width:100%;
	height:auto;
	border:none;
}

#page .mejs-inner,
#page .mejs-layers{
height: 100%;
    width: 100%;
}

/* footer */
#footer_wrap{
	clear:both;
	background:#002F58;
	border-top:3px solid #333;
}

#footer_wrap #footer{
	margin:auto;
	max-width:1200px;
}

#footer_wrap ul{
	display:flex;
}

#footer_wrap ul li{
	padding:.5em;
}

#footer_wrap ul li a{
	color: #fff;
}

#footer_wrap ul li a:hover{
	text-decoration:none;
}

#footer_wrap address{
	font-style:normal;
}

#footer_wrap #foot_add p{
	text-align:right;
		color: #fff;
}

#footer_wrap #foot_add p:first-of-type{
	font-weight:bold;
	font-size:120%;
	color: #fff;
}

#copyright{
	padding:.5em;
	text-align:center;
	font-size:90%;
	color: #fff;
	background:#002F58;
}

/* pagetop */
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 10px;
  bottom: 50px;
  background: rgba(29, 159, 214, 0.7);
  opacity: 0;
  transition:.2s;
  z-index:999;
  transform: rotate(45deg);
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
    transform: rotate(-45deg);
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  line-height:1;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#sp_toggle{
	display:none;
}

@media screen and (max-width:1000px){

/*記事内の画像*/
.alignleft,
.alignright {
	float: none;
	clear: both;
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;

}

#news_wrap{
	margin:0 1em;
}

#main_image_wrap,
#main_image{
	height:auto;
}

#main_image p{
	padding-top:40%;
	height:0;
}

#main_wrap iframe{
	width:100%;
}

#main_wrap img{
	max-width:100%;
	height:auto;
}

#main_wrap table{
	width:100% !important;
}

#main_wrap table th,
#main_wrap table td{
	width:auto !important;
}

#main_wrap table.flex_table > tbody > tr{
	flex-direction:column;
}

#main_wrap table.flex_table > tbody > tr > td{
	width:100% !important;
}

#footer_wrap ul{
	flex-direction:column;
}

#footer_wrap ul li{
	padding:1em .5em;
}

}

@media screen and (max-width:1000px){
#header{
	flex-wrap:wrap;
}

#main_image_wrap > p{
	font-size:130%;
	right:0;
}


}

@media screen and (max-width:700px){
#header{
	padding:0 1em;
}

#header h1 a{
	padding:.5em 0;
	width:100%;
	//background-position:center;
}

#header #head_add{
	padding:.5em 0;
	font-size:100%;
	text-align:center;
}

#sp_toggle{
	position:relative;
	display:table;
	margin: 0 0 0 auto;
	padding:1.5em;
	font-size:100%;
	color:#333;
	text-align:center;
	font-weight:bold;
	box-sizing:border-box;
	cursor:pointer;
}

#sp_toggle #sp_toggle_icon{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -.5em;
  background: #333;
  transition: .2s;
}

#sp_toggle #sp_toggle_icon:before,
#sp_toggle #sp_toggle_icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  background: #333;
  transition: .3s;
}

#sp_toggle #sp_toggle_icon:before{
  margin-top: -6px;
}

#sp_toggle #sp_toggle_icon:after{
  margin-top: 4px;
}

#sp_toggle #sp_toggle_icon.close{
  background: transparent;
}

#sp_toggle #sp_toggle_icon.close:before, #panel-btn .close:after{
  margin-top: 0;
}

#sp_toggle #sp_toggle_icon.close:before{
  margin-top: -1px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

#sp_toggle #sp_toggle_icon.close:after{
  margin-top: -1px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

#main_menu{
	position:fixed;
	top:0;
	right:0;
	background:rgba(255,255,255,.8);
	z-index:9999;
}

#main_menu.menuopen{
	width:100%;
}

#main_menu ul{
	display:none;
	flex-direction: column;
	width:100vw;
	height:100vh;
}

#main_menu ul li a{
	margin-bottom:1.5em;
	padding-left: 1em;
	text-align:left;
}

#main_menu ul li:first-of-type a{
	padding-left: 1em;
	background-image:none;
}

#main_menu ul li.carrent a:after,
#main_menu ul li a:hover:after{
	display:none;
}

#main_image_wrap > p{
	font-size:100%;
	position:relative;
	bottom:auto;
}

#news_wrap ul li{
	flex-direction:column;
}

#main_wrap.online h2{
	font-size:150%;
}

#main_wrap h4{
	font-size:120%;
}

#main_wrap h5{
	padding:0;
}

#main_wrap #main > p{
	padding:0;
}

#main_wrap img{
	margin:.5em 0;
}

#main > table,
#main > table tbody,
#main > table tbody tr,
#main > table tbody tr th,
#main > table tbody tr td{
	display:block;
}

#main > table tbody tr th{
	text-align:left;
}

#main > table tbody tr th,
#main > table tbody tr td{
	padding:.5em 0;
}

#main_wrap table.flex_table.eq_width > tbody > tr > td{
	padding:1em 0;
}

#footer_wrap{
	padding:0 1em;
}

#copyright p{
	font-size:3vw;
}

}