@charset "utf-8";

ul#GNAV {
  float: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
ul#GNAV li {
  display: flex;
  /*width: 14.2857142%;*//* space-betweenするにはここで数値指定しないとダメ */
  width: auto;
  text-align: center;
  /*border-right: 1px solid #ddd;*/
  font-size: 0.95em;
  font-weight: 500;
  margin-left: 15px;
}
/*ul#GNAV li:last-child{border-right:none;}*/
ul#GNAV li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  text-align: center;   
  line-height: normal;
  position: relative;
  color: #333;
  /*border-bottom: 1px solid transparent;*/
  text-decoration: none;
  /*transition:  background-color 0.3s ease 0s;*/
  transition: 0.3s ease;
  padding-bottom: 10px;
}
ul#GNAV li a i{ 
  color: #333; 
  margin-left: 3px;
}

ul#GNAV li a.active,
ul#GNAV li a:hover{
  /*border-bottom: 1px solid #333;*/
  /*background-color: #378320;*/
  color: #0d1683;
  text-decoration: none;
}
ul#GNAV li a.active i,
ul#GNAV li a:hover i{color: #0d1683;}
@media print, screen and (min-width: 1200px) {  
  ul#GNAV li{
    margin-left: 40px;
  }
}
@media print, screen and (min-width: 1500px) {
  ul#GNAV{
    margin-right: 45px;
  }
  ul#GNAV li{
    margin-left: 55px;
  }
  ul#GNAV li a {
    padding-bottom: 25px;
  }
}


/* --------------ここからメガメニューの指定↓↓↓-------------- */
ul#GNAV li div.drop {
	width: 100%;
	height: auto;
	position: absolute;
	left: 0px;
	z-index: 16000;
	background: rgba(255, 255, 255, 0.9);
	padding:0px;
	pointer-events: none;
	display: none;
	opacity: 0;
  /*font-size: 0.9em;*/
}
ul#GNAV li div.drop {
  top: 65px;
}

ul#GNAV li div.drop .inner {
  padding: 30px 8.3333333%;
}

ul#GNAV li div.drop ul.smallnav {
	width: 100%;
  display: flex;
  flex-wrap: wrap;
}
ul#GNAV li div.drop ul.smallnav li{
  margin-left: 0px;
  display: flex;
  width: calc(50% - 15px);
  margin-right: 30px;
  border-right:none;
  font-size: 0.9em!important;
}

ul#GNAV li div.drop ul.smallnav li:nth-of-type(2n){ margin-right: 0px;}
ul#GNAV li div.drop ul.smallnav li a {
  display: block;
	width: 100%;
  height: 100%;
  text-align: left;
  color: #333;
  padding: 10px 10px 7px 0px;
  border-bottom:1px solid #ccc;
  transition: 0.3s ease;
}
ul#GNAV li div.drop ul.smallnav li a:after{ content:" \f0da";font-family: "Font Awesome 6 Free"; font-weight: 900;line-height:1.5em;color: #333; position: absolute; top:10px; right: 0px;}
ul#GNAV li div.drop ul.drop_nav01 li a:hover,
ul#GNAV li div.drop ul.drop_nav01 li .active{
  background-color: transparent;
  color: #0d1683;
  border-bottom: 1px solid #0d1683;
}
ul#GNAV li div.drop ul.drop_nav01 li a:hover:after{
  color: #0d1683;
}
ul#GNAV li div.drop ul.drop_nav02 li a:hover,
ul#GNAV li div.drop ul.drop_nav02 li .active{
  background-color: transparent;
  color: #3d8949;
  border-bottom: 1px solid #3d8949;
}
ul#GNAV li div.drop ul.drop_nav02 li a:hover:after{
  color: #3d8949;
}
ul#GNAV > li:hover div.drop {
	opacity: 1;
	display: block;
	pointer-events: auto;
}

.smallnav01{
  background: url("../images/img_nav01.jpg") no-repeat;
  background-size: cover;
}
.smallnav02{
  background: url("../images/img_nav02.jpg") no-repeat;
  background-size: cover;
}
.smallnav01 a{background: rgba(13,22,131,0.3)!important;}
.smallnav02 a{background: rgba(61,137,73,0.3)!important;}
.smallnav01 a,
.smallnav02 a{ 
  padding: 60px 0px!important;
  text-align: center!important;
  font-size: 1.8em!important;
  font-weight: 900!important;
  font-style: italic;
  color: #fff!important;
}
ul#GNAV li div.drop ul.smallnav li.smallnav01 a,
ul#GNAV li div.drop ul.smallnav li.smallnav02 a{
  border-bottom: none;
}
ul#GNAV li div.drop ul.smallnav li.smallnav01 a:after,
ul#GNAV li div.drop ul.smallnav li.smallnav02 a:after{
  display: none;
}
.smallnav01 a:hover{
  background: rgba(13,22,131,0.1)!important;
}
.smallnav02 a:hover{
  background: rgba(61,137,73,0.1)!important;
}
@media print, screen and (min-width: 1200px) {
  ul#GNAV li div.drop {
    top: 90px;
  }
  
  ul#GNAV li div.drop .inner {
    padding: 40px 8.333333%;
  }
  
  ul#GNAV li div.drop ul.drop_nav01 li,
  ul#GNAV li div.drop ul.drop_nav02 li{
    width: calc(33.333333% - 20px)!important;
  }
  ul#GNAV li div.drop ul.drop_nav01 li:nth-of-type(2n),
  ul#GNAV li div.drop ul.drop_nav02 li:nth-of-type(2n){ margin-right: 30px;}
  ul#GNAV li div.drop ul.drop_nav01 li:nth-of-type(3n),
  ul#GNAV li div.drop ul.drop_nav02 li:nth-of-type(3n){ margin-right: 0px;}
  
  .smallnav01 a,
  .smallnav02 a{ 
    padding: 90px 0px!important;
    font-size: 2.4em!important;
  }
}
@media print, screen and (min-width: 1500px) {
  ul#GNAV li div.drop {
    top: 100px;
  }
  ul#GNAV li div.drop .inner {
    padding: 60px 8.333333%;
  }

  .smallnav01 a,
  .smallnav02 a{ 
    font-size: 2.7em!important;
  }
}
