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

#menuList {
    width: 100%;
    max-width: 900px;
    display: table;
    z-index: 9998;
    padding: 0;
    margin: 0 auto;
    text-align: center;
	transition: all 0.5s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#menuList.panelactive{
	opacity: 1;
	z-index:999;
}
#menuList ul {
    width: 100%;
    box-sizing: border-box;
	margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: middle;
    display: flex;
}
#menuList ul li {
	height: 70px;
	width: 18%;
	position: relative;
	box-sizing: border-box;
	text-decoration: none;
	padding: 0;
	margin: 0;
	color: #fff;
	text-align: left;
	vertical-align: bottom;
	background-image: url("../img/gb-menu/gb-bg.jpg");
	background-repeat: repeat;
	background-size: auto 100%;
    border-right: 1px solid #fff;
}
#menuList ul li::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("../img/gb-menu/gb-leaf.png");
    background-repeat: no-repeat;
    background-size: auto 75%;
    background-position: left bottom;
}
#menuList ul li:last-child {
    width: 10%;
    border-right:0;
    background-image: url("../img/gb-menu/gb-top-bg.jpg");
}
#menuList ul li:last-child::before {
    background-image:none;
}
#menuList ul .sp {
    display: none;
}
#menuList ul li a {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 17px;
    letter-spacing: 0px;
    text-align: right;
    position: absolute;   /* ← 重要 */
    inset: 0;             /* ← li全面 */
    box-sizing: border-box;
    text-decoration: none;
    color: #fff;
    display: flex;
    justify-content: flex-end; /* 右 */
    align-items: flex-start;   /* 上 */
    padding: 10px 5px 10px 0;
    z-index: 2;
    transform: scaleX(0.95);
    transform-origin: right top; /* 右上基準（現在の配置に最適） */
}
#menuList ul li:hover {
    background-image: url("../img/gb-menu/gb-bg_b.jpg");
}
#menuList ul li:last-child:hover {
    background-image: url("../img/gb-menu/gb-top-bgb.jpg");
}
#menuList ul li:last-child a:hover::before {
    background-image:none;
}



/* PC時の追尾Fixedここから */
#menuList.fixed {
    height: 60px;
	top: 0;
    position: sticky;
    padding: 0;
    margin: 0;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
    background-color: #fff;
    transition: all 0.5s;
}
#menuList.fixed .logo {
    position: absolute;
    top: 15px;
    left: -5px;
    padding: 0 15px 15px;
}
#menuList.fixed #global-nav ul li a {
	color: #333;
	padding: 0 20px;
}
/* Fixed Btn Hover */
#menuList.fixed #global-nav ul li:after {
	bottom: -10px;
}
#menuList.fixed #global-nav ul li:hover:after {
	bottom: -5px;
}


/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
    top: -5px;
    right: -5px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 1px;
	width: 60%;
	background: #fff;/*スマホ時のボーダーカラー*/
	left: 20%;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 16px;
}
#nav-toggle span:nth-child(2) {
	top: 29px;
}
#nav-toggle span:nth-child(3) {
	top: 42px;
}


.delighter.image1 { transform:translate(-50%); opacity:0; transition: all 1.00s ease-out; }
.delighter.image1.started { transform:none; opacity:1; }

.delighter.message { transform:translate(50%); opacity:0; transition: all 2.00s ease-out;transition-delay : 0s;}
.delighter.message.started { transform:none; opacity:1; }

.delighter.gallery { transform:translatey(5%); opacity:0; transition: all .75s ease-out; }
.delighter.gallery.started { transform:none; opacity:1; }


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

/*アクティブになったエリア*/
#menuList.panelactive{
    position: fixed;
    z-index: 8888;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #066;
}



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

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

/*ナビゲーション*/
#menuList ul {
    width: 100%;
	opacity: 0;/*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: table;
}

/*背景が出現後にナビゲーションを表示*/
#menuList.panelactive ul {
    opacity:1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#menuList.panelactive ul li{
animation-name:gnaviAnime;
animation-duration:1s;
animation-delay:.3s;/*0.2 秒遅らせて出現*/
animation-fill-mode:forwards;
opacity:0;
}
@keyframes gnaviAnime{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 60px;
    height:60px;
    border-radius: 50%;
    background-color:#066;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 20%;
    height: 2px;
	background-color: rgba(255,255,255,1);
  	width: 60%;
  }

.openbtn span:nth-of-type(1) {
	top:20px;	
}

.openbtn span:nth-of-type(2) {
	top:30px;
}

.openbtn span:nth-of-type(3) {
	top:40px;
}

.openbtn.active  {
    border: 1px solid #fff;
}
.openbtn.active span:nth-of-type(1) {
    top: 24px;
    left: 9px;
    transform: translateY(6px) rotate(-45deg);
    width: 70%;
    background-color: #fff;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
    background-color: #066;
}

.openbtn.active span:nth-of-type(3){
    top: 36px;
    left: 9px;
    transform: translateY(-6px) rotate(45deg);
    width: 70%;
    background-color: #fff;
}
/*スマホ時のデザイン関係*/
#menuList ul li {
    width: 100%;
    text-align: center;
    display: block;
    padding:0;
    background-image: none;
    border: 0;
    height: auto !important;
 }
#menuList ul li:last-child {
    width: 100%;
    text-align: center;
    display: block;
    padding:0;
}
#menuList ul li::before {
    display: none;
}
#menuList ul .sp {
    display:inherit;
}
#menuList ul li a {
    font-size: 20px;
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    align-items: center;

    height: auto;
    padding: 20px 0;
    margin: 0;
    text-align: center;
    line-height: 1em;
    transform: none;
}
#menuList.fixed {
    height: auto;
	background-color:transparent;
}
#menuList ul li:last-child {
    background-image: none;
}