/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/
@charset "utf-8";
/*===================
   main_menu
===================*/

/*ロゴ*/
#header img{
	width: 200px;
	object-fit: contain;
}
/*ヘッダーフレックス*/
.header_right{
	display: flex;
	flex-direction: column;
}
/*========= ナビゲーションのためのCSS ===============*/
.main_menu_wrapper{
	 background-color: #fff;
	box-shadow: 0 5px 15px rgba(0,0,0,.4);
	width: 100%;
	height: 100px;
	position: fixed;
	  top: 0;
	  right: 0;
	  left: 0;
	z-index: 99999;
}


#main_menu{
	display: flex;
	margin: 0 auto;
/*	width: 90%;*/
	max-width: 1400px;
	justify-content: space-around;
	align-items: center;
	padding: 1.5em 0 1em;
	z-index: 1!important;
}
@media (max-width : 768px) {
	.main_menu_wrapper{
		height: 80px;
	}
	#main_menu {
        padding: 1em 2em 1em!important;
    }
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive .accordion_container{
	animation-name:gnaviAnime;
	animation-duration:1s;
	animation-delay:.2s;/*0.2 秒遅らせて出現*/
	animation-fill-mode:forwards;
	opacity:0;
	}
@keyframes gnaviAnime{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
	}
}
#g-nav ul{
	display: flex;
	justify-content: center;
	
}

.nav-menu li a{
	text-decoration: none;
	padding:10px 15px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 16px;
}
/*研究案内グレーアウト*/
.gray_out{
	pointer-events: none!important;
	color: #ccc;
}


/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
  top:1.5em;
  right: 1.5em;
  z-index: 9999;/*ボタンを最前面に*/
  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: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.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%;
}

/*グローバルナビcss編集*/
.openbtn1{
	display: none;
}
#g-nav{
	display: none;
}

@media (max-width : 1200px) {
	#g-nav{
	}
	#main_menu{
		justify-content: flex-start;
		padding: 1.5em 2em 1em;
	}
	.header_contact{
		display: none;
	}
	.openbtn1{
		display: block;
	}
	/*アクティブになったエリア*/
	#g-nav.panelactive{
		/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
		z-index: 999;
		display: block;
/*
		position:fixed;
		top: 0;
		width:100%;
		height: 100vh;
*/
	}

	/*丸の拡大*/
	.circle-bg{
		position: fixed;
	  z-index:3;
		/*丸の形*/
		width: 100px;
		height: 100px;
		border-radius: 50%;
		background: #bdd4f1;
		/*丸のスタート位置と形状*/
	  transform: scale(0);/*scaleをはじめは0に*/
	  bottom:-50px;
		left:calc(50% - 50px);/*50%から円の半径を引いた値*/
		transition: all .6s;/*0.6秒かけてアニメーション*/
	}

	.circle-bg.circleactive{
	  transform: scale(50);/*クラスが付与されたらscaleを拡大*/
	}

	/*ナビゲーションの縦スクロール*/
	#g-nav-list{
		display: none;/*はじめは表示なし*/
		/*ナビの数が増えた場合縦スクロール*/
/*		position: fixed;*/
		z-index: 999; 
/*
		width: 100%;
		height: 100vh;
*/
/*		overflow: auto;*/
		-webkit-overflow-scrolling: touch;
	}

	#g-nav.panelactive #g-nav-list{
		 display: block; /*クラスが付与されたら出現*/
	}

	/*ナビゲーション*/
	#g-nav .accordion {
	  opacity: 0;/*はじめは透過0*/
		/*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
		position: absolute;
		z-index: 999;
		top:50%;
		left:0%;
		right: 0!important;
		flex-direction: column;
	}

	/*背景が出現後にナビゲーションを表示*/
	#g-nav.panelactive .accordion {
		opacity:1;
		top:100%;
		left:0%;
		right: 0!important;

	}
	/*リストのレイアウト設定*/
	#g-nav .accordion_container{

	  list-style: none;
	}

	#g-nav .accordion_container a{
	  text-decoration: none;
/*	  padding:10px;*/
	  display: block;
	  text-transform: uppercase;
	  letter-spacing: 0.1em;
	  font-weight: bold;
	}
}
@media (max-width : 768px) {
	.openbtn1{
	  top:1em;
	  right: 1.5em;
	}
}


/*ドロップダウンメニュー*/	
.nav-menu a:hover{
	color: #00408b;
}
.menu-list {
  display: flex;
  justify-content: center; /* メニューアイテムを中央揃えに */
}
.menu-item {
  position: relative;
}

/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list {
  visibility: visible; /* 下層メニューを表示 */
 animation-duration: .7s;
    animation-name: fade-in;
}
@keyframes fade-in {
  0% {
    visibility: hidden;
    opacity: 0;
	 transform: translateY(30px);
  }
  25% { 
    visibility: visible;
    opacity: 0.8;

  }
  50% {
    visibility: visible;
    opacity: 0.9;
	transform: translateY(0);
  }
  75% {
    visibility: visible;
    opacity: 1;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}

.menu-item a {
  align-items: center;
  display: flex;
  justify-content: center;
  text-decoration: none; /* リンクの下線を非表示 */
}
.menu-item{
	position: relative;
}
.down_yajirushi{
	display: inline-block;
  vertical-align: middle;
  color: #4d4d4d;
  line-height: 1;
  width: .5em;
  height: .5em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
  position: absolute;
	content: "";
	bottom: -10px;
	left: 0;
	right: 0;
	margin: 0 auto;
	margin: 0 auto;
}
/* ドロップダウンメニュー */
.drop-menu {
  position: relative;
}
.drop-menu-list {
  background: url("../image/common/green-bg.png"); /* ドロップダウンメニューの背景色 */
  left: 0;
  position: absolute;
  top: 100%;
  visibility: hidden; /* 下層メニューを非表示 */
  width: max-content;
  z-index: 1;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 10px rgba(0,0,0,.5);
	padding: .5em;
}
.drop-menu-list a{
	border-bottom: 1px solid #ccc;
}
@media (max-width : 1200px) {
	.nav-menu{
		display: none;
	}
}



/*ハンバーガーメニュー内アコーディオンメニュー*/
#g-nav .accordion .accordion_container:nth-of-type(1) h1{
	margin: 0 0 1em 0;
}
#g-nav .accordion{
}
#g-nav .accordion_container{
	width: 100%;
	min-width: 13em;

}
#g-nav .accordion_container a{
	transition: .5s;
}
#g-nav .accordion_container a:hover{
	color: #00408b;

}
#g-nav .accordion_title {
  font-weight: bold;
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition-duration: 0.2s;
    padding: 15px 60px 15px 40px;
	  border-bottom: 2px solid #fff;
	  background: rgba(255,255,255,.3)
}
#g-nav .icon_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 5%;
  box-sizing: border-box;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  width: 30px;
  height: 30px;
  margin-top: -15px;

}
#g-nav .icon_wrap {
  }

#g-nav .icon {
  display: block;
  width: 18px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transform-origin: center center;
  transition-duration: 0.2s;
  position: relative;
}
#g-nav .accordion_title.open 
.icon_wrap {
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
}
#g-nav .icon:before,
#g-nav .icon:after {
  display: flex;
  content: '';
  background-color: #fff;
  border-radius: 10px;
  width: 18px;
  height: 4px;
  position: absolute;
  top: 7px;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  transform-origin: center center;
}
#g-nav .icon:before {
  width: 4px;
  height: 18px;
  top: 0;
  left: 7px;
}
#g-nav .accordion_title.open 
.icon_wrap .icon:before {
  content: none;
}
#g-nav .accordion_title.open 
.icon_wrap .icon:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#g-nav .accordion_inner {
  display: none;
  padding: 0 50px;
  box-sizing: border-box;
}
#g-nav .ac_inner_wraper {
  display: flex;
	flex-direction: column;
}
#g-nav .ac_inner_wraper a{
	padding: 10px;
	border-bottom: 1px solid #fff;
}
#g-nav p.txt_a_ac {
  margin: 0;
}
