@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #5A5E62;
  font-family: hiragino YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 2.4rem;
}
a:hover {
  opacity: 0.5;
}
*, *:before, *:after {
  box-sizing: border-box;
}
.overflow {
  overflow: hidden
}
.header {
  height: 50px;
  width: 100%;
  background-image: url("../image/common/menu_background.png");
  background-position: 50% 50%;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 999;
}
.header h1 {
  text-align: left;
  padding-left: 16px;
}
.header h1 img {
  width: 80px;
}
.instagram img {
  position: absolute;
  right: 70px;
  top: 15px;
  width: 25px;
}
/*ハンバーガーメニュー*/
#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 80%;
  height: 100vh;
  background-image: url("../image/common/menu_background.jpg");
  transition: all 0.6s;
}
#g-nav.panelactive {
  right: 0;
}
#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#g-nav li {
  list-style: none;
  text-align: center;
  border-bottom: solid 0.5px #707070;
}
#g-nav li a {
  color: #5A5E62;
  text-decoration: none;
  padding: 20px 70px 3px 10px; 
  text-align: left;
  display: block;
  font-family: 'Cormorant Garamond', serif;
}
@media(min-width: 960px){
  .header {
    height: 80px;
  }
  .header h1 {
    padding-left: 30px;
  }
  .header h1 img {
    width: 130px;
  }
  .instagram img {
  right: 80px;
  top: 25px;
  width: 30px;
}
}
.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;
  right: 5px;
  height: 1px;
  border-radius: 2px;
  background-color: #707070;
  width: 60%;
}
.openbtn span:nth-of-type(1) {
  top: 10px;
}
.openbtn span:nth-of-type(2) {
  top: 16px;
  width: 45%;

}
.openbtn span:nth-of-type(3) {
  top: 22px;
  width: 45%;
}
.openbtn.active span:nth-of-type(1) {
  top: 10px;
  left: 18px;
  transform: translateY(10px) rotate(-45deg);
  width: 40%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-10px) rotate(45deg);
  width: 40%;
}
@media(min-width: 960px){
  .openbtn {
    top: 20px;
  }
  #g-nav {
    width: 30%;
}
  #g-nav li {
    margin-bottom: 20px;
  }
  #g-nav li:first-child {
    padding-top : 250px;
  }
  }
/*アニメーション要素のスタイル*/
.animation{
	opacity : 0;
	visibility: hidden;
	transition: 1s;
	transform: translateY(50px);
}
/*アニメーション要素までスクロールした時のスタイル*/
.active{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.footer {
  height: 40px;
  background-image: url("../image/common/menu_background.png");
}
.footer small {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  padding-top: 10px;
}
@media(min-width: 960px){
  .footer {
    height: 80px;
}
  .footer small {
  font-size: 1.6rem;
  padding-top: 50px;
}
}
/*Pagetopボタン*/

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	border:solid 0.5px #5A5E62;
	width: 70px;
	height: 40px;
	color: #5A5E62;
	text-align: center;
  font-family: 'Cormorant Garamond', serif;
	text-decoration: none;
	font-size:1.2rem;
	transition:all 0.3s;
}

#page-top a:hover{
	opacity: 0.5;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}




