@charset "utf-8";

/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline;}
:focus{outline:0;}

ol, ul{list-style:none;}
table{border-collapse:separate;border-spacing:0;}
caption, th, td{font-weight:normal;text-align:left;}
blockquote:before, blockquote:after,q:before, q:after{content:"";}
blockquote, q{quotes:"" "";}
a img{border:0;}
figure{margin:0}
/* -------------------------------------------------------------- */

body{
color:#555;
font-size:13px;
font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
line-height:1.5;
-webkit-text-size-adjust:100%;
}



/* 全体
------------------------------------------------------------*/
.inner{
	margin:0 auto;
	width:1200px;
	box-sizing: border-box;
	position: relative;
}

h1 {
  left: auto;
  margin:0 auto;
  position: absolute;
  top: 20px;
  width: 580px;
}

#main {
	margin: 0 auto 40px;
	width:1200px;
	box-sizing: border-box;
	overflow: hidden;
}




#mysearch{
width:600px;
display:none;
margin: 0 auto;
}

#news iframe {
	width: 1200px;
	border: 2px solid #ccc;
	border-width: 0 2px 2px 2px;
	box-sizing: border-box;
  /*height: 400px;*/
	height: 350px !important;
	overflow: auto; 
}

#news {
float:none;
}

#news,
#topic {
	width:100%;
	line-height: 1.2;
	margin: 20px auto;
}

#news h3,
#topic h3 {
  background: url(../img/gnavi.png) 0 center repeat;
  border-bottom: 2px solid #ccc;
  color: #111;
  font-size: 22px;
}

#news h3 span {
  background: url(../img/ico-news.png) 16px 15px no-repeat;
  display: block;
  height: 40px;
  padding: 20px 0 0 65px;
}

#topic h3 span {
  background: url(../img/ico-class.png) 16px 15px no-repeat;
  display: block;
  height: 40px;
  padding: 20px 0 0 65px;
}


#topic div {
	border: 2px solid #ccc;
	border-width: 0 2px 2px 2px;
	box-sizing: border-box;
	width: 100%;
	padding: 15px;
	font-size: 18px;
}

#class {
  margin: 40px auto 100px;
  overflow: hidden;
	width:1200px;
	box-sizing: border-box;
	display: flex;
	clear: both;
}

#class div {
	flex: 1;
	margin: 5px;
}

#contents {
  float:none;
  width: 1150px;
	clear: both;
	margin: 10px auto;
	overflow: hidden;
}

#contents ul {
	clear: both;
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
	align-items: flex-start;
}

#contents ul li{
	width:25%;
}

/* inner_h
................................................................... */
.inner_h{
	margin:0 auto;
	width:1200px;
	box-sizing: border-box;
	display: flex;
	position:relative;
}

.troudou img{
	width: 80px;
	position: absolute;
	top:5px;
	left: 650px;
}

header {
	background: #FFF;
	margin: 0px;
}

header li {
	flex: 1;
	display: block;
	margin: 0px;
}



/* sub_menu
................................................................... */
header div.sub_menu ul {
	display: flex;
	height: 40px;	
	position: absolute;
	top: 15px;
	right: 50px;
}

div.sub_menu ul li a {
	display: flex;
	justify-content: center;
	align-items: center;
	color:#fff;
	background: #FF5722;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0px;
	line-height:1;
	position:relative;
	border: 1px solid #FF5722;
	box-sizing: border-box;
	transition:0.5s;
	text-decoration: none;
	height: 40px;
	width:120px;
}

div.sub_menu ul li a.bleft {
	border-radius: 999px 0px 0px 999px;
	position:relative;
	z-index:10;
	padding: 0px 10px 0px 10px;
	margin: 0px 2px 0px 0px;	
}

div.sub_menu ul li a.bcenter {
	border-radius: 0px 0px 0px 0px;
	color:#ffffff;
	position:relative;
	z-index:10;
	padding: 0px 10px 0px 10px;
	margin: 0px;
}

div.sub_menu ul li a.bright {
	border-radius: 0px 999px 999px 0px;
	position:relative;
	z-index:10;
	padding: 0px 10px 0px 10px;
	margin: 0px 0px 0px 2px;
}

div.sub_menu ul li a.bcenter:hover,
div.sub_menu ul li a.bleft:hover,
div.sub_menu ul li a.bright:hover {
	color: #FF5722;
	background:#ffffff;
	box-sizing: border-box;
	transition:0.5s;
}





@media print, screen and (min-width:1200px) {
/* nav
................................................................... */


	
	
	
nav.g{
	margin:0;
	width:100%;
	box-sizing: border-box;
	background: #4CAF50;
	padding: 5px;
	
}
	
nav.g a:hover {
  opacity: 1;
  text-decoration: none;
}

.gnav {
    display: flex;
    height: 40px;
    margin: 0 auto;
    width:100%;
	box-sizing: border-box;
}

.gnav > li {/*親階層のみ幅を25%にする*/
	flex: 1;
}


/*全てのリスト・リンク共通*/
.gnav li {
    list-style: none;
    position: relative;
	z-index:9999;
	text-align: center;
	color: #fff;
	background: #4CAF50;
	font-family:'Yu Mincho、游明朝',sans-serif;
	line-height: 40px;
	font-size: 14px;
	
	
}

.gnav li a {
	text-align: center;
	display: block;
    color: #fff;
	text-decoration: none;
	height: 40px;
    line-height: 40px;
	box-sizing: border-box;
	
}

.gnav li+ li {
  border-left: 1px solid #fff;
}

nav.g li a:hover {
	opacity: 1.0;
	color: #fff;
	background: #204B22;
}

/*子階層以降共通*/
.gnav li li {
    height: 0;    
    transition: .5s;
	overflow: hidden;	
}
.gnav li li a {
	border-top: 1px solid #fff;
	background: #204B22;
	color: #FFF;
	cursor: pointer;
	font-size: 95%;
	box-sizing: border-box;
	overflow: hidden;
}

.gnav li:hover > ul > li {
    height: 40px;
    overflow: visible;
	border-left: none;
}

.gnav li:hover > ul {
     display: block;
}

.gnav li li a:hover  {
	opacity: 1.0;
	color: #fff;
	background: #4CAF50;
}

nav.g a.mukou {
	pointer-events: none;
	cursor: default;
	background: #204B22;
	color: #FBC02D;
}

nav.g a.mukou:hover {
	background: #204B22;

}


#spMenu {
		display:none;
}	

	
.sub_open {
		display:none;
}

.fixed {
		position:fixed;
		top:0;
		left:0;
}

.gnav {
	display: flex !important;
}	
	
	
/*shibu*/
nav.shibu {
	width: 100%;
	margin: 15px auto;
	background: #FF5722;
}

nav.shibu ul.gnav li a {
	background: #FF5722;
}

}
/* etc
................................................................... */

/*banner-container*/
.banner-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
	box-sizing: border-box;
    gap: 10px 5px;
}

.banner-container div {
	text-align: center;
	flex: 1;
}

/*banner-container2*/
.banner-container2 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
	box-sizing: border-box;
    gap: 10px 5px;
}

.banner-container2 div {
	text-align: left;
	flex: 1;
}

/*banner-container2*/

.banner-container3 {
	
	box-sizing: border-box;
	margin: 10px auto;
	/*border: 1px solid;*/
	flex-wrap: wrap;
	width: fit-content;
	padding: 0px;
	width: 1100px;
}

.set-flex {
	display: flex;
	flex-wrap: wrap;
	/*justify-content: center;*/
	justify-content:space-between;
}

.itemL {
	margin: 5px;
	width:728px;
	height:90px;
}

.item {
	margin: 5px;
}

.item1 {
	margin: 5px;
	height:105px;
	flex-grow: 0;
}

.item1 img {
	max-width: 100%;
	height: 100%;
}

.item1_L0 {
	margin: 5px;
	height:105px;
	flex-grow: 2;
}

.item1_L0::after {
  content:"";
  display: block;
  width:40%;
}

/*.set-flex .item1:first-child {
  margin-right: auto;
}*/

.item2 {
	margin: 5px;
	width:350px;
	height:75px;
	flex-grow: 1;
}

.item2 img {
	object-fit:cover;
	max-width: 100%;
	height: 100%;

}

.banner_b {
	display:block;
	border-radius : 3px;
	color:#fff;
	text-decoration:none;
	text-align:center;
	height: 75px;
	width:590px;
	background-color: #FE972F;
	border: 1px solid #feb66d;
	line-height: 75px;
	font-size: 20px;
}

.banner_b i {
	font-size: 120%;	
}



/*img-frame*/
.img-frame{
   position: relative;
   overflow: hidden;
   margin: 0 auto;
   width: 100%;
   height: 200px;
}

.img-01, .img-02, .img-03{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('../img/slide_new1.jpg');
   animation: slide-animation-01 48s infinite;
}
.img-02{
   background-image: url('../img/slide2.jpg');
   animation: slide-animation-02 48s infinite;
}
.img-03{
   background-image: url('../img/slide1.jpg');
   animation: slide-animation-03 48s infinite;
}
@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}

}
.msg{
	width: 80%;
	text-align: center;
   font-size: 28px;
/*   color: rgb(255, 209, 0);
   color: #fff;*/
   position: absolute;
   top: 50%;
   left: 50%;
   font-weight:bold;
   transform: translate(-50% , -50%);
	 color:rgb(255,255,255);
}
.msg-01, .msg-02{
    /*text-shadow: 2px 2px 3px #000, -1px -1px 3px #000;*/
	 text-shadow:rgb(0,175,204) 1px 1px 2px;
}
.img-03.cover::after{
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, .7);
}
.msg-03{
   z-index:1;
}

.aboutus{
	margin:15px auto;
	width:90%;
	box-sizing: border-box;
	border: 1px solid #4CAF50;
	padding: 10px;
	text-align: center;
	font-family:'Yu Mincho、游明朝',sans-serif;
}

.aboutus span{
	color: #4CAF50;
	font-size: 130%;
	font-weight: bold;
}

.aboutus p{
	font-size: 16px;

}



