/*閉鎖*/
.kv {
  position: relative;
}
.kan {
  max-width: 1200px;
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%); /* Safari用 */
  transform: translate(-50%, -50%);
}
.endbox_message {
  max-width: 630px;
  width: 90%;
  background: #ffe7e5;
  margin: 30px auto 30px auto;
  padding: 16px;
  color: #ff4123;
  border: 2px solid #fc432f;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  box-sizing: border-box;
}

.end_buttons {
  position: relative;
}
.end_buttons .tx1 {
  position: absolute;
  max-width: 800px;
  width: 100%;
  height: 120%;
  right: 0;
  left: 0;
  margin: 0 auto;
  background-color: rgba(64 35 15 / 95%);
  z-index: 900;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  display: flex;
  box-sizing: border-box;
  padding: 16px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.end_buttons a {
  pointer-events: none;
}
.end_buttons a:hover {
  top: 0px;
}

#endbox {
  display: block;
}
#endbox .endbox_inner {
  background: rgba(215, 0, 29, 0.8);
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 80px 1em;
  border-radius: 10px;
  max-width: 1000px;
  width: 90%;
  position: absolute;
  top: 15vw;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  z-index: 2;
}

#endbox .endbox_inner p:first-child {
  font-size: 35px;
}

#endbox .endbox_inner p:last-child {
  font-size: 20px;
}

#top section#endbox {
  padding: 0;
}

#kv {
  position: relative;
}

.popup.is-popup.end,
.popup2.is-popup2.end,
.poyoyon.end,
.popup2.end,
.end {
  animation: none;
  opacity: 1;
  transition: none;
  visibility: inherit;
}

#application .step_box .btn.end li a,
#entry ul.btn.end li a,
#entry2 ul.btn.end li a {
  pointer-events: none;
  background: #ddd;
  border: 3px solid #ccc;
  box-shadow: none;
  opacity: 0.6;
}

#application .step_box .btn.end li span,
#entry2 ul.btn.end li span,
#entry ul.btn.end li span {
  opacity: 0.3;
}

@media screen and (max-width: 767px) {
  .end_buttons .tx1 {
    height: 105%;
  }

  #endbox .endbox_inner {
    padding: 30vw 1em;
    top: 30vw;
  }
  #endbox .endbox_inner p:first-child {
    font-size: 7vw;
  }

  #endbox .endbox_inner p:last-child {
    font-size: 5vw;
    margin-top: 0.5em;
  }
}
