@charset "utf-8";

html{
  min-height: 100vh;
  margin: 0%;
}

a {
  text-decoration: none;
  color: #1F1D1E;
}

body{
  display: block;
  min-height: 100vh;
  margin: 0%;
  background-color: #1F1D1E;
  background-repeat: no-repeat;
  background-size: cover;
}

.back{
  background-image: url("404.svg");
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0%;
  width: 453px;
  height: 238px;
  flex-shrink: 0;
}


.logo{
  background-image: url("logo.svg");
  display: block;
  position: absolute;
  top: 30px;
  left: 60px;
  width: 74.412px;
  height: 63px;
  flex-shrink: 0;
}


.sub-menu{
  position: absolute;
  top: 30px;
  right: 0px;
  
}

#ul {
  list-style:none;
  padding:0;
  margin:0;
}

.gnavi{
  margin: 0px;
}

li{
  overflow: hidden;
  color: #1F1D1E;
  border-radius: 0;
  background: #ffffff;
  mix-blend-mode: difference;
  display: block;
  position: relative;
  right: 0px;
  padding: 1px 60px 1px 1px;
  margin-bottom: 36px;
  font-family: "Poppins";
  font-size: 16px;
  width: 200px;
  text-align: right;
  z-index: 11;
}

.b{
  position: relative;
  display: block;
}



li:before{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-99%);
  transform: translateX(-99%);
  background: #FF6D6D;
}

li:hover:before{
  -webkit-transform: translateX(0%);
    transform: translateX(0%);
}


.bb{
  display:inline-block;
  text-align: center;
  align-items: center;
  flex-direction: row;
  height: auto;
  margin: 16px;
  width: 150px;
}

.btn-flat{
  overflow: hidden;
  color: #1F1D1E;
  border-radius: 0;
  background: #ffffff;
  mix-blend-mode: difference;
  display:inline-block;
  position:relative;
  font-family: "Poppins";
  font-size: 16px;
  width: 150px;
  text-align: right;
  z-index: 9;
  text-align: center;
}
  
  .btn-flat span {
    position: relative;
    padding: 1px 1px 1px 1px;
  }
  
  .btn-flat:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-99%);
    transform: translateX(-99%);
    background: #FF6D6D;
  }
  
  .btn-flat:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }

  .box-background{
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: row;
    height: 100vh;
    margin: 0px 60px 0px 60px;
  }

  .box{
    display: block;
    width: 100%;

  }

  h1{
    font-size: 20px;
    font-family: "fot-matisse-pron";
    color: #ffffff;
    font-weight: 600;
  }

  h2{
    font-size: 16px;
    font-family: "Poppins";
    color: #ffffff;
    font-weight: 400;
  }

  /*タブレット版*/

  @media screen and (max-width: 979px){
    li{
      overflow: hidden;
      color: #1F1D1E;
      border-radius: 0;
      background: #ffffff;
      mix-blend-mode: difference;
      display: block;
      position: relative;
      right: 0px;
      padding: 1px 60px 1px 1px;
      margin-bottom: 36px;
      font-family: "Poppins";
      font-size: 16px;
      width: 150px;
      text-align: right;
      z-index: 11;
    }

    .back{
      background-image: url("404-s.svg");
        display: block;
        position: absolute;
        bottom: 0px;
        left: 0%;
        width: 96px;
        height: 222px;
        flex-shrink: 0;
    }
  }


   /*スマホ版*/

   @media screen and (max-width: 600px){

    .logo{
      background-image: url("logo.svg");
      display: block;
      position: absolute;
      top: 30px;
      left: 30px;
      width: 74.412px;
      height: 63px;
      flex-shrink: 0;
    }

    li{
      overflow: hidden;
      color: #1F1D1E;
      border-radius: 0;
      background: #ffffff;
      mix-blend-mode: difference;
      display: block;
      position: relative;
      right: 0px;
      padding: 1px 30px 1px 1px;
      margin-bottom: 36px;
      font-family: "Poppins";
      font-size: 16px;
      width: 100px;
      text-align: right;
      z-index: 11;
    }

    .box-background{
      display: flex;
      text-align: center;
      align-items: center;
      flex-direction: row;
      height: 100vh;
      margin: 0px 30px 0px 30px;
    }
  }
 