/* 20210219 created by rk. */

input {
  font-family: "Kosugi Maru", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  letter-spacing: 0.08em;
  color: #4B4B4B;
  font-size: 16px;
}

input::placeholder {
  opacity: .7;
}

.p-top_modal_wrapper {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
}

.p-top_modal_bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: -1;
}

.p-top_modal_inner {
  background-color: white;
  padding: 40px;
  margin: 150px auto;
  max-width: 800px;
  border-radius: 5px;
  position: relative;
}

.form_link {
  margin-top: 2.5em;
  text-align: center;
}

.p-top_modal_catch {
  padding: 30px 10px;
  text-align: center;
  background: #ff0000;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.5;
  margin: 20px 20px 40px;
}

.p-top_modal_title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2em;
}

.complete-lead {
  margin-bottom: 2em;
  font-weight: bold;
  text-align: center;
}

.complete-btn {
  margin: 0 auto;
  padding: .5em 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #940a0a;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  cursor: pointer;
}

.p-top_modal_row {
  display: flex;
  flex-direction: row;
  margin-bottom: 2em;
  align-items: center;
}

.p-top_modal_dt {
  width: 30%;
  font-weight: bold;
  line-height: 1.4;
}

.p-top_modal_dt .required {
  display: inline-block;
  position: relative;
  top: -1px;
  margin-left: .5em;
  padding: 2px 4px;
  background: #ff0000;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
}

.p-top_modal_dd {
  width: 70%;
}

.p-top_modal_input {
  width: 100%;
  padding: .8em;
  border: 1px solid #aba8a7;
  border-radius: 0;
}

.p-top_modal_label {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  padding: .5em .5em .5em 35px;
  background-color: #dfdddc;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 10px;
  margin-right: 2px;
  transition: .1s;
}

.p-top_modal_label:hover {
  opacity: .8;
}

.p-top_modal_label:before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  position: absolute;
  top: 6px;
  left: 6px;
}

.p-top_modal_label:after {
  content: "";
  position: absolute;
  top: 7px;
  left: 12px;
  width: 8px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 2px solid #4B4B4B;
  border-right: 2px solid #4B4B4B;
  opacity: 0;
  transition: .1s;
}

.p-top_modal_input:checked + .p-top_modal_label:after {
  opacity: 1;
}

.passcheck {
  margin-top: .5em;
}

.p-top_modal_close {
  cursor: pointer;
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.p-top_modal_close:before, .p-top_modal_close:after {
  content: "";
  position: absolute;
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background-color: #4B4B4B;
  transform: rotate(45deg);
  transform-origin: center;
  top: 13px;
  right: 0;
}

.p-top_modal_close:after {
  transform: rotate(-45deg);
}

.p-top_modal_button {
  max-width: 175px;
  width: 100%;
  min-height: 50px;
  margin: 0 auto;
  padding: .5em 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #940a0a;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-family: "Kosugi Maru", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 20px;
  letter-spacing: normal;
  text-align: center;
  cursor: pointer;
}

.p-top_modal_button[disabled] {
  background-color: #ccc;
  cursor: auto;
}

@media (max-width: 767px) {
  .p-top_modal_wrapper {
    padding: 15px;
    overflow-y: scroll;
  }
  .p-top_modal_bg {
    position: fixed;
  }
  .p-top_modal_inner {
    margin: 70px 0 0;
    padding: 30px;
  }
  .p-top_modal_row {
    flex-direction: column;
  }
  .p-top_modal_dt {
    width: 100%;
    margin-bottom: 1em;
  }
  .p-top_modal_dd {
    width: 100%;
  }
}
