@charset "utf-8";

body{
  margin:0;
  padding: 0;
}

.header {
  margin:0;
  height:80px;
}

/* 幅600px以上のCSS内容 */
@media screen and (min-width:600px) {
  #logo {
    position: fixed;
    /* text-align: center; */
    width: 100%;
    top:15px;
    left: 15px;
  }

  #logo img {
    /* display: inline-block; */
    height: 70px;
  }

}

@media screen and (max-width:600px) {
  #logo {
    position: fixed;
    text-align: center;
    width: 100%;
    top:10px;
    z-index: 99;
  }

  #logo img {
    display: inline-block;
    height: 55px;
  }

}

#logo {
  z-index: 99;
}

#logo a {
  opacity: 0.65;
  transition: 0.5s;
}

#logo a:hover{
  opacity: 1;
  transition: 0.5s;
}


@import url(https://fonts.googleapis.com/css?family=Vollkorn|Roboto);

body {
	/* background-color: #F5F5F5; */
}


.container {
	position: absolute;
	width: 100%;
	heigh: 100%;
	text-align: center;
	top: 40%;
	left: 0;
	margin: 0 auto;
	font-family: 'Roboto', sans-serif;
}

.container p {
	font-size: 20px;
}

.container a {
	display: inline-block;
	position: relative;
	text-align: center;
	color: #505050;
	text-decoration: none;
	font-size: 20px;
	overflow: hidden;
	top: 5px;
}

.container a:after {
	content: '';
	position: absolute;
	background: #FF5252;
	height: 2px;
	width: 0%;
	transform: translateX(-50%);
	left: 50%;
	bottom: 0;
	transition: .35s ease;
}

.container a:hover:after, .container a:focus:after, .container a:active:after {
	width: 100%;
}

h1 {
	position: relative;
	text-align: center;
	font-family: 'Vollkorn', serif;
}

.button_container {
  position: fixed;
  top: 2.5%;
  right: 2%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 10000;
  transition: opacity 0.25s ease;
}
.button_container:hover {
  opacity: 0.7;
}
.button_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: #505050;
}
.button_container.active .middle {
  opacity: 0;
  background: #505050;
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: #505050;
}
.button_container span {
  background: #505050;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
}
.button_container span:nth-of-type(3) {
  top: 22px;
}

.overlay {
  position: fixed;
  z-index: 9999;
  background: rgba(255,255,255,0.6);
  top: 0;
  right: 0;
  width: 0%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  overflow: hidden;
  -moz-backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.overlay.open {
  opacity: 0.9;
  visibility: visible;
  width: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight 0.5s ease forwards;
          animation: fadeInRight 0.5s ease forwards;
  -webkit-animation-delay: 0.35s;
          animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: 0.45s;
          animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}
.overlay.open li:nth-of-type(5) {
  -webkit-animation-delay: 0.55s;
          animation-delay: 0.55s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  font-family: "Vollkorn", serif;
  font-weight: 400;
  text-align: center;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 4);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #505050;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #505050;
  transition: 0.35s;
}

@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
