@charset "utf-8";
html {
  font-size: 62.5%;
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #393939;
  font-family: "ryo-display-plusn", serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.4em;
  line-height: 2.4rem;
  letter-spacing: 0.1rem;
  text-align: center;
}
h2 {
  font-size: 3.2rem;
}
a:hover {
  opacity: 0.7;
}
.pc-header-logo a:hover{
  opacity: 1;
}
.none {
  display: none;
}
.header h1{
  padding: 24px;
  display: none;
}
.header img {
  width: 440px;
  position: absolute;
  top: 6px;
}
#g-nav.panelactive{
  position:fixed;
  z-index: 999;
  top: 0;
  width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg{
  position: fixed;
  z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #fff;
  transform: scale(0);
  right:-50px;
  top:-50px;
  transition: all .6s;
}
.circle-bg.circleactive{
	transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}
#g-nav.panelactive #g-nav-list{
  display: block; /*クラスが付与されたら出現*/
}
/*ナビゲーション*/
#g-nav ul {
  opacity: 0;/*はじめは透過0*/
  position: absolute;
  z-index: 999;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  display: none;
}
#g-nav.panelactive ul {
    opacity:1;
    display: block;
}
#g-nav.panelactive ul li{
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 li{
	text-align: center; 
	list-style: none;
}

#g-nav li a{
  color: #717171;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
  font-size: 1.6rem;
}

/*==ボタンのためのCSS==*/
.openbtn{
	position:fixed;
	top:10px;
	right: 10px;
	z-index: 9999;/*ボタンを最前面に*/
	cursor: pointer;
  width: 50px;
  height:50px;
  background-color: #ffffff94;
}
	
/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #717171;
  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{
  display: none;
}
.sp{
  display: block;
}
/*---PC---*/
@media(min-width:920px) {
  .header {
    width: 100%;
    height: 88px;
  }
  .openbtn {
    display: none;
  }
  #g-nav  {
    right: 0;
    height: 0vh; /*ナビの高さ*/
    background: none;
    position: static;
  }
  #g-nav ul {
    opacity: 100;/*はじめは透過0*/
    display: flex;
    justify-content: flex-end;
    right: 0;
    transform: translate(0);
    top: 10px;
  }
  #g-nav li a {
      color: #717171;
      padding: 18px;
      letter-spacing: 0.2em;
  }
  .sp{
    display: none;
  }
  .pc{
    display: block;
  }
  p{
    font-size: 1.8rem;
  }
}

/***追従するトップへ戻るボタン***/
#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 50px;
  text-decoration: none;
  font-weight: bold;
  transform: rotate(90deg);
  font-size: 90%;
  line-height: 1.5rem;
  color: #000000;
  padding: 0 0 0 35px;
  border-top: solid 1px;
}
#page-top::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  width: 15px;
  border-top: solid 1px;
  transform: rotate(35deg);
  transform-origin: left top;
}
@media(min-width:480px) {
#page-top {
    position: fixed;
    right: 57px;
    bottom: 44px;
    height: 76px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #000000;
    padding: 0 0 0 35px;
    border-top: solid 1px;
  }
}
/*-----footer-----*/
.footer {
  background-image: url("../images/common/bg.png");
  background-size: 100%;
  height: 100px;
  padding-top: 46px;
  padding-bottom: 20px;
  font-weight: 600;
}
.footer img{
  width: 40%;
}
.footer small {
  color: #FFF;
}
@media(min-width: 480px) {
  .footer {
    background-size: cover;
    object-fit: cover;
    height:184px; 
    margin: 0;
    padding-top: 72px;
  }
  .footer img{
    width: 16%;
    padding-bottom: 24px;
  }
  .footer small {
    clear: both;
    display: block;
    text-align: center;
  }
}
