@charset "utf-8";
/*404エラーページのCSSです（2020/02/26）*/

* {
    margin: 0;
  padding: 0;
}
.error404 {
  text-align: center;
}
.error404 a {
  color: #333;
  text-decoration: none;
}
.error404 .wbfLogo {
  padding: 50px 0 20px 0;
}

.error404 section {
  background: #3d7bb0;
    color: #FFF;
}
.error404 .wrapper {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 0;
}
.error404 h1 {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: initial;
  margin: 0 0 10px 0;
}
.error404 .ttl-btm {
  color: rgba(255,255,255,0.5);
  font-size: 46px;
  font-weight: bold;
  line-height: initial;
  margin: 0 0 30px 0;
}
.error404 ul {
  list-style-type: none;
  padding: 0;
  margin: 50px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.error404 li a {
  display: block;
  background: linear-gradient(-45deg, #FFF, #FFF 70%, #fff352 70%, #fff352);
  border-radius: 3px;
  color: #333;
  font-size: 20px;
  font-weight: bold;
  margin: 10px;
  width: calc(100% / 3 - 50px );
  min-width: 280px;
  padding: 7px 0 5px 0;
  position: relative;
  line-height: initial;
}
.error404 li a::after {
  font-family: "Font Awesome 5 Free";
  content: "\f0a9";
  margin: 0 0 0 10px;
  color: #3d7bb0;
  position: absolute;
  top: calc(50% - 11px);
  right: 10px;
}
.error404 li a:hover {
  opacity: 0.8;
  transition: 0.3s;
}
.error404 .copyright {
  font-size: 12px;
  margin: 10px 0;
}
@media screen and (max-width:768px) {
  .error404 .wbfLogo {
  padding: 20px 0 10px 0;
}
  .error404 .wrapper {
  padding: 50px 0;
}
.error404 h1 {
  font-size: 18px;
}
.error404 .ttl-btm {
  font-size: 30px;
  margin: 0 0 20px 0;
}
  .error404 section h1,
  .error404 section p {
    text-align: left;
  }
  .error404 ul {
  margin: 20px 0 0 0;
}
}

/* リニューアル */
.renew .error404 .wrapper{
  width: 100%;
  max-width: 1200px;
  padding: 100px 0 170px 0;
  position: relative;
}
.renew .error404 .wrapper:before{
  position: absolute;
  left: 30px;
  top: 80px;
  content:"";
  display: inline-block;
  background: url(/upload/tenant_1/air_404.webp)bottom left no-repeat;
  background-size: contain;
  width: 668px;
  height: 335px;
}
.renew .error404 .wrapper:after{
  position: absolute;
  top: 110px;
  right: 60px;
  content:"";
  display: inline-block;
  background: url(/upload/tenant_1/shiro_404.webp)bottom left no-repeat;
  background-size: contain;
  width: 119px;
  height: 166px;
}
.renew .error404 section{
  background: linear-gradient(#55b1f2, #1782ce);
  position: relative;
}
.renew .error404 section:after{
  position: absolute;
  bottom: 0;
  left: 0;
  content:"";
  display: inline-block;
  background: url(/upload/tenant_1/cloud_404.webp) bottom left repeat-x;
  width: 100%;
  height: 143px;
}
.renew .error404 h1,.renew .error404 .ttl-btm,.renew .error404 ul,.renew .error404 .wrapper p{
  position: relative;
  z-index: 2;
}
.renew .error404 .ttl-btm{
  color: rgba(255, 255, 255, 1);
}
.renew .error404 ul{
  position: relative;
}
.renew .error404 ul li{
  z-index: 10;
}
.renew .error404 ul:after{
  position: absolute;
  top: -40px;
  left: 30px;
  content:"";
  display: inline-block;
  background: url(/upload/tenant_1/baloon_404.webp) bottom left no-repeat;
  width: 271px;
  height: 69px;
  z-index: 1;
}

.infoBox{
  z-index:2;
  position: relative;
  padding:20px;
  border-radius: 16px;
  background: #fff;
  color:#333;
  width: 500px;
  margin:0 auto;
}
.infoBox b{
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}
.renew.maintenance .error404 .wrapper:before,
.renew.maintenance .error404 .wrapper:after{
  background:none;
  content:none;
}
.mentImg + p{
font-size: 18px;
    line-height: 1.8;
}

@media screen and (max-width:768px) {
  .renew .error404 section:after{
   height: 70px;
   background-size: contain;
  }

  .renew .error404 .wrapper{
     width: 90%;
      padding: 100px 0;
  }

  .renew .error404 .wrapper:before{
    width: 360px;
    height: 160px;
    top: 30px;
    background-position: top left;
    left: 0;
  }
  .renew .error404 ul{
  	margin: 100px 0 0 0;
  }

  .renew .error404 .wrapper::after {
    top:auto;
    bottom:290px;
    width: 59px;
    height: 83px;
    background-size: contain;
  }
  .renew .error404 ul::after{
    width: 135px;
    height: 35px;
    background-size: contain;
  }

  .renew.maintenance .error404 h1{
    text-align: center;
  }
  .mentImg + p{
    font-size: 13px;
  }  
  .infoBox {
      width: 90%;
      font-size: 13px;
      margin: 0 auto;
  }
  
}
