@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap");

/*====================
        loading
====================*/
#loading {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #eeeeee;
  text-align: center;
  color: #eeeeee;
}

#loading_text {
  position: absolute;
  z-index: 999;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #eeeeee;
}

/*====================
        menu
====================*/
.menu {
  display: flex;
  list-style: none;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "SF Pro Text", "SF Pro Icons", "Noto Sans", "Arial", sans-serif;
}

@media screen and (max-width: 750px) {
  .menu {
    flex-direction: column;
    top: 27.5%;
  }
}

.menu li a {
  display: block;
  padding: 10px;
  margin: 10px;
  font-size: 1.1rem;
  text-decoration: none;
  color: #1a1a1a;
}

@media screen and (max-height: 600px) {
  .menu li a {
    background: rgba(240, 245, 250, 0.1);
  }
}

.menu li {
  width: 100px;
}

.menu * {
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.menu a {
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.menu a:hover {
  background: #333333;
  color: #ffffff;
  transition-delay: 0.5s;
}

.menu a:before,
.menu a:after {
  position: absolute;
  content: "";
  height: 2px;
  transition: all 0.5s ease;
  background-color: #333333;
  width: 0;
}

.menu a:before {
  top: 0;
  left: 0;
}

.menu a:after {
  bottom: 0;
  right: 0;
}

.menu a:hover:before,
.menu a:hover:after {
  width: 100%;
}

/*====================
        layer
====================*/
.layer {
  position: relative;
  margin: 0 auto;
  text-align: center;
}

.layer_img {
  background: url(../img/png/background.png);
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@media screen and (max-height: 800px) {
  .layer_img {
    background: url(../img/png/background_small.png);
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }
}

.layer_box {
  position: absolute;
  top: 20%;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

@media screen and (max-width: 1000px) {
  .layer_box {
    top: 12.5%;
  }
}

.layer_box img {
  width: 250px;
}

@media screen and (max-width: 1000px) {
  .layer_box img {
    width: 200px;
  }
}

.layer_text p {
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #808080;
  font-family: "SF Pro Text", "SF Pro Icons", "Noto Sans", "Arial", sans-serif;
}
