@charset "UTF-8";

/*===========================================================

 404 Not Found

============================================================*/
.main {
  font-size: 18px;
}
.notfound-inner {
  width: 1020px;
  height: 551px;
  margin: 0 auto;
}
.notfound-group {
  padding-top: 115px;
  width: 655px;
  text-align: left;
}
.notfound-inner .ttl {
  padding-bottom: 12px;
  font-weight: bold;
  font-size: 34px;
}
@media screen and (max-width: 768px) {
  .main {
    font-size: 14px;
  }
  .notfound-inner {
    width: 100%;
    height: calc(100vh - 60px);
    margin: 0 auto;
  }
  .notfound-group {
    width: 100%;
    max-width: 570px;
    padding: 10vh 20px 0;
  }
  .notfound-inner .ttl {
    font-size: 20px;
  }
}
/* ボタン */
a.btn-home-link {
  margin-top: 30px;
  text-decoration: none;
}
.btn-home-link {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 22px 0;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background: #333;
  border-radius: 10px;
  box-shadow: 0 5px 0px #000;
  transition: all 0.25s;
}
.btn-home-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 12px;
  width: 8px;
  height: 16px;
  background: url(/common/images/404/icon-arrow-w.svg) no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}
.btn-home-link:hover {
  box-shadow: none;
  transform: translateY(6px);
  opacity: 1;
}
.home-link {
  width: 500px;
}
@media screen and (max-width: 768px) {
  .home-link {
    width: 100%;
    max-width: 400px;
  }
}

/* 時刻でだし分け */
.morning {
  background: url(/common/images/404/img-404_01.png) no-repeat center;
}
.daytime {
  background: url(/common/images/404/img-404_02.png) no-repeat center;
}
.evening {
  background: url(/common/images/404/img-404_03.png) no-repeat center;
}
.night {
  background: url(/common/images/404/img-404_04.png) no-repeat center;
}
.morning .ttl {
  color: #db513a;
}
.daytime .ttl {
  color: #db513a;
}
.evening .ttl {
  color: #4b277a;
}
.night .ttl {
  color: #fff317;
}

@media screen and (max-width: 768px) {
  .morning {
    background: url(/common/images/404/img-404_01_sp.png) no-repeat center;
    background-size: cover;
  }
  .daytime {
    background: url(/common/images/404/img-404_02_sp.png) no-repeat center;
    background-size: cover;
  }
  .evening {
    background: url(/common/images/404/img-404_03_sp.png) no-repeat center;
    background-size: cover;
  }
  .night {
    background: url(/common/images/404/img-404_04_sp.png) no-repeat center;
    background-size: cover;
  }
}
