@charset "utf-8";

/*========= 上部固定させるためのCSS ===============*/
#header{
	height: 100px;/*高さ指定*/
	width:100%;/*横幅指定*/
	/*以下はレイアウトのためのCSS*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	background:#;
	color:#ffffcc;
	text-align: center;
	padding: 0px;
}

/*JSを使いfixedクラスが付与された際の設定*/
#header.fixed{
	position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
    top:0;/*位置指定*/
    left:0;/*位置指定*/
}


/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:1.2rem;
}

h2{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 30px 0;
}

p{
	margin-top:20px;	
}

small{
	background:#333;
	color:#fff;
	display: block;
	text-align: center;
	padding:20px;
}



nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}

nav ul li a{
	display: block;
	text-decoration: none;
	color: #666;
	padding:10px;
	transition:all 0.3s;
}

nav ul li.current a,
nav ul li a:hover{
	color:#fff;	
}


section{
	padding:30px;
}

section:nth-child(2n){
	background:#f3f3f3;	
}
.Menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: #fff;
  transform: translateX(100%);
  transition: all 0.3s;
}

.Menu-isOpen {
  transform: translateX(0);
}

.Menu-Header {
  width: 100%;
  height: 60px;
  background-color: #0000ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 32px;
}

.Menu-List {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.Menu-List-Item {
  border-bottom: 1px solid #ccc;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 32px;
  font-weight: bold;
}

.Button {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: 90px;
  height: 90px;
  padding-left: 10px;
  padding-right: 20px;
  background-color: #0000ff;
}

.Button-Line__Top {
  position: absolute;
  top: 15px;
  width: 67px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s;
}

.Button-Line__Top__isOpen {
  transform: translateY(29.5px) rotate(45deg);
}

.Button-Line__Medium {
  width: 67px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s;
}

.Button-Line__Medium__isOpen {
  opacity: 0;
}

.Button-Line__Bottom {
  position: absolute;
  bottom: 15px;
  width: 67px;
  height: 3px;
  background-color: #ffffff;
  transition: all 0.3s;
}

.Button-Line__Bottom__isOpen {
  transform: translateY(-29.5px) rotate(-45deg);
}
.Overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s;
}

.Overlay__isOpen {
  width: 100vw;
  height: 100vh;
  opacity: 1;
}

.IsScrollAllowed {
  overflow: hidden
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2s 0.5s forwards;
  width: 175px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}
