@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Rampart+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Rampart+One&display=swap');

* {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  margin: 0;
  padding: 0;
  border: none;
  /* background: #f8f4e6; */
}

.header {
  width: 100%;
  height: 500px;
}

.top_bar {
  display: flex;
  width: 100%;
  height: 65px;
  background-color: #467599;
}

.top_left {
  position: absolute;
  top: 0;
  left: 15px;
  line-height: 65px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}
.top_left:hover {
  cursor: pointer;
  color: #d3dded;
}

.top_right {
  position: absolute;
  top: 0;
  right: 15px;
  line-height: 65px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
}
.top_right:hover {
  cursor: pointer;
  color: #d3dded;
}

h1 {
  font-family: 'VT323', monospace;
  white-space: nowrap;
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
}

span {
  font-family: 'VT323', monospace;
}

.Y {
  color: #f5c242;
}

.B {
  color: #467599;
}

.body {
  width: 60%;
  margin: 0 auto;
}

.content {
  margin-bottom: 100px;
}

h2 {
  /* font-family: 'Rampart One', cursive; */
  font-size: 40px;
  padding: 10px 0;
  margin: 20px 0;
  border-bottom: 1px solid #000;
}

p {
  font-size: 25px;
}

.possible_gallery {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  text-align: center;
}

.possible_icon {
  height: 100px;
  width: 100px;
  padding: 20px;
  border-radius: 20px;
  margin: 0 auto;
}

.possible_list {
  list-style: none;
  text-align: center;
}

.study_gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid: 300px;
  gap: 50px;
  text-align: center;
}

.study_img {
  width: 100%;
}
.study_img:hover {
  cursor: pointer;
  opacity: 70%;
}

.study_list {
  list-style: none;
  text-decoration: none;
  color: #000;
}

.explain {
  margin-bottom: 30px;
}

.web_gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 300px 300px;
  text-align: center;
}

.web_img {
  width: 80%;
}
.web_img:hover {
  cursor: pointer;
  opacity: 70%;
}

.gallery_list {
  list-style: none;
  text-decoration: none;
  color: #000;
}

/* .Buttom_ViewMore {
  margin: 0 auto;
  background: #467599;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  width: 20%;
  padding: 10px;
  border-radius: 30px;
  text-align: center;
}
.Buttom_ViewMore:hover {
  background: #4b7fa7;
  cursor: pointer;
} */

footer {
  height: 100px;
  background: #d3dded;
  text-align: center;
  color: #000;
  line-height: 100px;
}

/* .copy {
  
} */

.fixed_menu {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 60px;
  border-radius: 20px;
  background: #467599e6;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 5px 5px rgba(128, 128, 128, 0.7);
}
/* fixed_menuの非表示用 */
/* #fixed-menu {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 60px;
  border-radius: 20px;
  background: #467599e6;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 5px 5px rgba(128, 128, 128, 0.7);
} */

/* hide */
/* #fixed-menu.hide {
  animation: hide 0.5s forwards;
}
@keyframes hide {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
/* show */
/* #fixed-menu.show {
  animation: show 0.5s forwards;
}
@keyframes show {
  from {
    opacity: 1;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

.menu_img {
  left: 10px;
  height: 35px;
  width: 35px;
  clear: both;
  transition: 0.3s;
}
.menu_img:hover {
  cursor: pointer;
  height: 40px;
  width: 40px;
  transition: 0.3s;
}

.menu_tag {
  color: #fff;
  text-decoration: none;
  /* border: #fff solid 1px; */
  border-radius: 10px;
  font-size: 25px;
  animation: 1s;
}
.menu_tag:hover {
  cursor: pointer;
  color: #d3dded;
}

/* トップスクロールリンク */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #467599;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 20px;
}
#page-top a:hover {
  background: #467599e6;
}

#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  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);
  }
}

