@charset "utf-8";
/*
緑#86a560
濃緑#036602
背景色#FFFAEE
/*
/*========= 上部固定させるためのCSS ===============*/
#header-nav{
  height: 60px;
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: absolute;
  z-index: 2147483647;
  background:rgba(255,255,255,0.8);
}
#header-nav.fixed{
  position: fixed;
  z-index: 2147483647;
  top:0;
  background:rgba(255,255,255,0.4);
}

@media only screen and (max-width: 991px) {
/*========= ナビゲーションドロップダウンのためのCSS ===============*/
#global_navigation{
	margin-left: -50px;
}
#global_navigation ul{
  list-style: none;
  display: flex;
  margin-bottom: 0;
	padding-left: 0;
}
/*2階層目以降は横並びにしない*/
#global_navigation ul ul{
  display: block;
}
#global_navigation ul li{
  position: relative;
}
#global_navigation ul li > a{
  display: flex;/*
  justify-content: center;*/
  align-items: center;
  text-decoration: none;
  color: #000;/*
  padding:10px 35px;*/
  transition:all .3s;
	font-size: 16px;
	height: 110px;
	margin-right: 30px;
}
#global_navigation ul li.menu-item-has-children > a{
	margin-right: 60px;
}


/*2階層目を持つliの矢印の設定*/
#global_navigation ul li.menu-item-has-children::after{
  content:'';
  position: absolute;/*
  left:50%;
  top:35px;*/
  right: 0;
  top: 45px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #fff;
  border-right:1px solid #fff;
  transform: rotate(135deg);
	margin-right: 30px;
	margin-left: 20px;
}

/*3階層目を持つliの矢印の設定*//*
#g-nav ul ul li.menu-item-has-children::before{
  content:'';
  position: absolute;
  left:6px;
  top:17px;
  width:6px;
  height:6px;
  border-top: 2px solid #fff;
  border-right:2px solid #fff;
  transform: rotate(45deg);
}*/

/*== 2・3階層目の共通設定 */
#global_navigation li.menu-item-has-children ul{
  position: absolute;
  left: -40px;
  top: 100px;
  z-index: 4;
  background: #fff;
	border-radius: 30px;
	box-shadow: 0 0 20px 0 rgba(241,190,53,1);
  width: 240px;
    /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
    /*アニメーション設定*/
  transition: all .3s;
  padding: 20px 0;
}
	
/*hoverしたら表示*/
#global_navigation li.menu-item-has-children:hover > ul,
#global_navigation li.menu-item-has-children ul li:hover > ul,
#global_navigation li.menu-item-has-children:active > ul,
#global_navigation li.menu-item-has-children ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/
#global_navigation li.menu-item-has-children ul li a{
  color: #000;
	height: auto;
  padding: 10px 30px;
	position: relative;
	font-size: 14px;
}
#global_navigation li.menu-item-has-children ul li a::after {
    content: "\F138";
    font-family: bootstrap-icons;
    font-weight: 400;
    font-size: 1rem;
	color: #000;
	position: absolute;
	right: 0;
}

#global_navigation li.menu-item-has-children ul li a:hover::after,
#global_navigation li.menu-item-has-children ul li a:active::after{
	right: -2px;
}
}
@media only screen and (max-width: 991px) {
	#global_navigation li.menu-item-has-children ul li a{
  border-bottom:solid 1px #ccc;
}

/*3階層目の位置*/
#global_navigation li.menu-item-has-children ul ul{
  top:0;
  left:182px;
  background:#ccc;
}
}

/*ハンバーガー*/
/*========= ナビゲーションのためのCSS ===============*/
@media only screen and (max-width: 991px) {
#global_navigation{
  position:fixed;
  z-index: 999;
  top:0;
  right: -120%;
  width:100%;
  height: 100vh;
  background:rgba(0,0,0,0.8);
  transition: all 0.6s;
  padding: 0;
}
/*アクティブクラスがついたら位置を0に*/
#global_navigation.panelactive{
  right: 0;
}

/*ナビゲーションの縦スクロール*/
#global_navigation.panelactive .menu-global-menu-container{
/*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;/*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#global_navigation ul{
  display: block;
  position: absolute;
  width:80%;
  height: 100%;
  padding-top: 60px;
  right: 0;
  background: #FFFAEE;
  }

/*リストのレイアウト設定*/
#global_navigation li{
  text-align: center;
	background: #FFFAEE;
}
#global_navigation ul li > a{
  justify-content: center;
  color: #000;
	height: auto;
	margin-right: 0 !important;
  text-decoration: none;
  padding: 20px;
  display: block;
  text-transform: uppercase;
  border-bottom:1px solid #ccc;/*
	background: #ebf7f5;*/
}
#global_navigation ul li a:hover {
  color: #036602;
}
#global_navigation li.menu-item-has-children ul,
#global_navigation li.menu-item-has-children ul ul{
  position: relative;
  left:0;
  top:0;
  width:100%;
  visibility:visible;/*JSで制御するため一旦表示*/
  opacity:1;/*JSで制御するため一旦表示*/
  display: none;/*JSのslidetoggleで表示させるため非表示に*/
  transition:none;/*JSで制御するためCSSのアニメーションを切る*/
	border-radius: 0;
	box-shadow: 0 0 0 0;
  background: #fff;
	padding-top: 0;
	padding-bottom: 0;
}

#global_navigation li.menu-item-has-children ul li a{
  padding: 20px 30px;
}
#global_navigation li.menu-item-has-children ul li a:hover,
#global_navigation li.menu-item-has-children ul li a:active{
  background:#eee;
}
#global_navigation li.menu-item-has-children ul li a::after {
	right: 10px;
}
#global_navigation li.menu-item-has-children ul li a:hover::after,
#global_navigation li.menu-item-has-children ul li a:active::after{
	right: 8px;
}
#global_navigation ul li.menu-item-has-children ul li {
	background: #fff;
}
/*矢印の位置と向き*/
#global_navigation ul li.menu-item-has-children::before{
  content:'';
  position: absolute;
top: 24px;
  left:20px;
  width: 10px;
  height: 10px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(135deg);/*
	margin-right: 30px;
	margin-left: 20px;*/
}
#global_navigation ul ul li.menu-item-has-children::before{
  transform: rotate(135deg);
  left:20px;
}
#global_navigation ul li.menu-item-has-children.active::before{
  transform: rotate(-45deg);
}
/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  z-index: 9999;/*ボタンを最前面に*//*
  top:10px;*/
  top: 36px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
}
/*×に変化*/
.openbtn1 span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #036602;
  width: 45%;
}
.openbtn1 span:nth-of-type(1) {
  top: 10px;
}
.openbtn1 span:nth-of-type(2) {
  top: 18px;
}
.openbtn1 span:nth-of-type(3) {
  top: 26px;
}
.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
  background-color: #036602;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
  background-color: #036602;
}
}
