html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body{
    background-image: linear-gradient(90deg, rgba(251, 254, 242, 1), rgba(253, 233, 231, 0.75) 27%, rgba(254, 247, 213, 1) 53%, rgba(220, 248, 248, 1) 83%, rgba(222, 238, 241, 1));
    font-family: "Noto Sans JP", serif;
    letter-spacing: 0.15em;
    font-weight: 500;
    position: relative;

}

.wrapper {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}


/*========= ナビゲーション ===============*/

#g-nav {
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0px;
    right: -120%;
	width:100%;
    height: 1000%;/*ナビの高さ*/
    background-image: linear-gradient(90deg, 
    rgba(251, 254, 242, 1), 
    rgba(253, 233, 231, 1) 27%, 
    rgba(254, 247, 213, 1) 53%, 
    rgba(220, 248, 248, 1) 83%, 
    rgba(222, 238, 241, 1));
    background-size: 100% 100%; 
    background-position: center;
	transition: all 0.6s;/*動き*/

}

#g-nav.panelactive {
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    position: absolute;  
    z-index: 999;
    width: 100%;
    top: 80px; 
    left: 0;
    transform: none;

}
/*ナビゲーションテキスト下の下線*/
.nav-border {
    display: block; 
    width: 100%; 
    height: 1px; 
    background-color: black; 
    margin: 5px 0;
}

/*リストのレイアウト設定*/

#g-nav li {
	list-style: none;
    text-align: left;
}

#g-nav li a {
	color: #000000;
	text-decoration: none;
    margin: 8px;
	padding:8px;
	display: block;
	letter-spacing: 0.1em;
    font-weight: 500;
    font-size: 1.5rem;
    display: inline-block;
    position: relative;
    transition: .3s;
}

/*ナビゲーションホバー*/
#g-nav li a::after {
    position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 2px;
	background-color: #3bc1f1;
	transition: .3s;
	transform: translateX(-50%);
}
#g-nav li a:hover::after {
    width: 90%;
}

/*========= ハンバーガーメニュー ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color:#ffffff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
     width: 45%;
}

.openbtn span:nth-of-type(2) {
	top:23px;
    width: 45%;
}

.openbtn span:nth-of-type(3) {
	top:31px;
    width: 45%;
}

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

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

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


/*========= ナビ内ボタン(画像) ===============*/
.action-button {
    display: flex; 
    align-items: center;
    gap: 0;
    margin-top: 20px;
    position: absolute; 
    bottom: -50%;  
    left: 0;
    width: 100%; 
}
/*========= メディアクエリ ===============*/
/* タブレット向け (768px〜1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
.action-button {
    bottom: -55%;  
}
}
  /* PC向け (1024px以上) */
@media screen and (min-width: 1024px) {

/*ボタン(画像)ー*/
.action-button {
    bottom: -60%;  
}

}

