@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #1A1A1A; /* RGB */
  font-family: 'Noto Sans JP','Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.4em;
  /*line-height: 2.1rem;/*font*1.5*/
  text-align: center;
}
a:hover {
  opacity: 0.5;
}
/*=========SHナビゲーション===============*/
.sh-nav {
	display: none;
}
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #e5e5e5;
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive {
  right: 0;
}
/*===================*/
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 60px;
  width: 100%;
}
/*リストのレイアウト設定*/
#g-nav li {
  list-style: none;
  text-align: left;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: 'Roboto';
}
#g-nav li a {
  color: #333;
  text-decoration: none;
  padding: 25px 110px;
  display: block;
  letter-spacing: 1px;
  font-weight: 700;
}
.openbtn {
  position: fixed;
  z-index: 9999;
  top: 0px;
  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: #333;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.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%;
}


/*=========PCナビゲーション===============*/

#header{
    /*fixedで上部固定*/
	position: fixed;
	height: 60px;
	width:100%;
    z-index: 999;/*最前面へ*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#e5e5e5;
	color:#fff;
	text-align: right;
	/*padding: 20px;*/
}

/*　上に上がる動き　*/

#header.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

#header.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

/*==========footer下線=========*/
.hover {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.hover::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #cc0000;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.hover:hover::after {
  transform: scale(1, 1);
}