@charset "UTF-8";
#pagetop {
  z-index: 100;
}

header.pc_header .head_inner a.btn-contact {
  width: 100%;
}

#modal:not(.inview) * {
  transition-delay: 0s !important;
  animation-delay: 0s !important;
}

#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  transition: visibility 0.3s, opacity 0.3s;
}
#modal-overlay.inview {
  visibility: visible;
  opacity: 1;
}

#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  background-color: #fff;
  padding: 30px 60px 50px;
  box-sizing: border-box;
  z-index: 9999;
  transform: translate(-50%, -50%);
  text-align: center;
  border-radius: 20px;
  visibility: hidden;
  transition: visibility 0.3s, opacity 0.3s;
}
#modal.inview {
  visibility: visible;
  opacity: 1;
}
#modal .modal-wrap {
  position: relative;
}
#modal article {
  font-weight: 600;
  font-size: 20px;
}
#modal article ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0px;
  background-color: #fff6e2;
  padding: 20px 40px;
}
#modal article ul li {
  font-size: 22px;
  font-weight: 600;
  position: relative;
  padding-left: 44px;
  white-space: nowrap;
  color: #F5AA00;
}
#modal article ul li:before {
  content: "";
  background: url(/images/icon_check.png) no-repeat;
  background-size: cover;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
#modal article strong {
  display: block;
  color: rgb(219, 30, 30);
  margin: 20px 0 40px;
  font-size: 16px;
}
#modal article strong span {
  display: inline-block;
  position: relative;
  padding-left: 1.5em;
  font-weight: 700;
}
#modal article strong span:before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}
#modal .btn {
  opacity: 1;
}
#modal .btn a span {
  font-weight: 700;
  font-size: 22px;
}
#modal .btn.opacity {
  opacity: 0;
}
#modal .modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  background: url(/images/close.png) no-repeat;
  background-size: cover;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
#modal .modal-close:hover {
  filter: brightness(110%);
}

.block_contact.renew {
  padding: 40px 0 !important;
  margin: 30px 0 60px;
}
.block_contact.renew .form_container {
  max-width: 86%;
}
.block_contact.renew .lead {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #F5AA00;
}
.block_contact.renew .lead + p {
  text-align: center;
}
.block_contact.renew .lead + p strong {
  display: inline-block;
  font-size: inherit;
  color: rgb(219, 30, 30);
}
.block_contact.renew ul {
  margin: 20px 0 60px;
}
.block_contact.renew ul li span {
  font-weight: 600;
}
.block_contact.renew ul li span strong {
  display: inline;
  position: relative;
}
.block_contact.renew ul li span strong:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0.05em;
  left: 0;
  background-color: #633C27;
}
.block_contact.renew ul li span strong.red {
  color: rgb(219, 30, 30);
}
.block_contact.renew ul li span strong.red:after {
  display: none;
}
.block_contact.renew ul li small {
  font-size: 80%;
  position: relative;
  padding-left: 1.2em;
}
.block_contact.renew ul li small:before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}
.block_contact.renew .btn {
  text-align: center;
}
.block_contact.renew .notice-checks li {
  margin: 0 0 15px;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.block_contact.renew .notice-checks li:hover:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #F5AA00;
  z-index: -1;
  border-radius: 6px;
}
.block_contact.renew .notice-checks label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.block_contact.renew .notice-checks input[type=checkbox] {
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  margin: 0.25em 0 0;
  accent-color: #F5AA00;
}
.block_contact.renew .notice-checks small {
  display: block;
  margin-top: 0.4em;
}
.block_contact.renew a.btn-type01 {
  margin: auto;
}
.block_contact.renew a.btn-type01 span {
  font-size: 20px;
  font-weight: 700;
}
.block_contact.renew a.btn-type01.is-disabled {
  background-color: #ccc;
  pointer-events: none;
  cursor: not-allowed;
}

@media screen and (max-width: 960px) {
  #modal {
    padding: 0px 20px 30px;
    border-radius: 10px;
    box-sizing: border-box;
    width: 90%;
    max-width: 480px;
  }
  #modal .modal-wrap {
    overflow-y: scroll;
    height: 280px;
  }
  #modal article {
    font-size: 16px;
    padding: 10px 0 0;
  }
  #modal article ul {
    display: block;
    margin: 10px 0px;
    max-inline-size: -moz-max-content;
    max-inline-size: max-content;
    margin-inline: auto;
    padding: 10px 20px;
  }
  #modal article ul li {
    font-size: 18px;
    padding-left: 29px;
    text-align: left;
    margin-bottom: 5px;
  }
  #modal article ul li:last-child {
    margin-bottom: 0px;
  }
  #modal article ul li:before {
    content: "";
    background: url(/images/icon_check.png) no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
  }
  #modal article strong {
    margin: 10px 0 20px;
    font-size: 14px;
    text-align: left;
    line-height: 1.4;
    max-inline-size: -moz-max-content;
    max-inline-size: max-content;
    margin-inline: auto;
  }
  #modal .btn a {
    width: 100%;
    max-width: 320px;
    margin: auto;
  }
  #modal .btn a span {
    font-size: 15px;
  }
  #modal .modal-close {
    top: -17px;
    right: -17px;
    background: url(/images/close.png) no-repeat;
    background-size: 34px;
    width: 34px;
    height: 34px;
  }
  #modal .modal-close:hover {
    filter: brightness(100%);
  }
  .block_contact.renew {
    padding: 40px 0 20px !important;
    margin: 0px 0 0px;
  }
  .block_contact.renew .form_container {
    max-width: 88%;
  }
  .block_contact.renew .lead {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .block_contact.renew .lead + p {
    font-size: 15px;
  }
  .block_contact.renew ul {
    margin: 20px 0 40px;
  }
  .block_contact.renew ul li span {
    font-size: 14px;
  }
  .block_contact.renew .notice-checks li {
    padding: 15px;
  }
  .block_contact.renew .notice-checks li:hover:after {
    display: none;
  }
  .block_contact.renew a.btn-type01 span {
    font-size: 16px;
  }
}
@media screen and (max-width: 960px) and (orientation: portrait) {
  #modal .modal-wrap {
    height: auto;
  }
}