/*modal*/
.modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0; /* overflow-y: auto; */
  width: 100%;
  height: 100vh;
  z-index: 9000;
  opacity: 1;
  animation-timing-function: ease-out;
  animation-name: modal-open;
  background: rgba(0, 0, 0, 0.6);
}
.modal-close {
  display: none;
  opacity: 0;
}
.modal-close .modal-centered {
  transform: translate(0, 40px);
}
.modal-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 10vh 0;
  box-sizing: border-box;
}
.modal-box {
  position: relative;
  z-index: 100;

  display: flex;
  flex-direction: column;

  width: 89%;
  max-width: 60rem;
  height: 100%;

  margin: auto;
  padding: 2rem 2rem 6rem;

  border-radius: 2rem;
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
  animation-timing-function: ease-out;
  animation-duration: 0.3s;
  animation-name: modal-inner;
  transform: translate(0, 0);
  transition: transform 0.3s ease-out;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modal-scroll-container {
  height: 100%;
  overflow-y: auto;
}

.modal-scroll-container::-webkit-scrollbar {
  width: 4px;
  border-radius: 4px;
  background-color: #d6d6d6;
}

.modal-scroll-container::-webkit-scrollbar-thumb {
  background-color: #a9a9a9;
  border-radius: 4px;
}

.modal .modal-cnt {
  /*  max-width: 49rem; */
  max-height: calc(80vh - 60px);
  margin: 0 auto;
  padding: 0 2.7rem; /* overflow-y: auto; overflow-x: hidden; */
}
.modal .modal-ttl {
  margin-bottom: 2rem;
  color: #171717;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.48px;
}
.modal .util-area {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal .util-area .link,
.modal .util-area .link::before {
  color: #a3a3a3;
  font-size: 1.8rem;
  letter-spacing: -0.36px;
}
.modal .util-area .link {
  display: flex;
  align-items: center;
  position: relative;
}
.modal .util-area .link + .link::before {
  content: "|";
  display: block;
  margin: 0 1.8rem;
  color: #d4d4d4;
}
.modal .btn-wrap {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 5rem;
}
.modal .btn-modal-close {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  margin-left: auto;
  background: url(/img/common/ico-close-bk.svg) no-repeat center center / 100%
    auto;
}
.modal .btn-sm {
  margin: 0 auto;
}
.modal .btn-wrap .btn-sm {
  margin: 0;
}
.modal * + .cnt-ttl {
  margin-top: 3rem;
}
.modal .cnt-ttl {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: -0.8px;
}
.modal .cnt-desc {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: -0.64px;
}
.modal .txt-box {
  margin-top: 1.6rem;
  padding: 1.6rem 2rem;
  border-radius: 1rem;
  background-color: #f5f5f5;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.6px;
}
.modal .tbl-wrap {
  overflow-y: hidden;
  overflow-x: auto;
}
.modal .tbl {
  width: 100%;
  margin-top: 1.6em;
  min-width: 60rem;
}
.modal .tbl th,
.modal .tbl td {
  border: 1px solid #d4d4d4;
  padding: 2rem 1rem;
  vertical-align: middle;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.6px;
  border-collapse: collapse;
}
.modal .tbl thead th {
  border-bottom: 0;
}
.modal .tbl td p {
  margin-top: 1rem;
}
.modal ul {
  margin-top: 1.6rem;
}
.modal ul li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.6px;
}
.modal ul li::before {
  content: "";
  display: block;
  position: absolute;
  top: 10px;
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #262626;
}
.modal.type02 .modal-box {
  max-width: 50rem;
}
.modal.type02 .modal-cnt {
  max-width: 39rem;
  padding: 0;
}
.modal.type03 {
  background: none;
  text-align-last: left;
}
.modal.type03 .modal-centered {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 7rem 0;
}
.modal.type03 .modal-box {
  max-width: 38rem;
  margin-right: 16.6rem;
  margin-bottom: 0;
  padding: 4rem 3.2rem;
  background-color: #dcf0ef;
}
.modal.type03 .btn-modal-close {
  position: absolute;
  top: 4.5rem;
  right: 3.2rem;
}
.modal.type03 .desc {
  margin-top: 2rem;
  font-size: 1.6rem;
  letter-spacing: -0.32px;
}
.modal.type03 .form {
  margin-top: 2rem;
}
.modal.type03 .form-group + .form-group {
  margin-top: 1rem;
}
.modal.type03 .form-select {
  color: #737373;
}
.modal.type03 .form-select,
.modal.type03 .form-group .form-control {
  min-height: 5rem;
  padding: 1.3rem 1.8rem;
  border: none;
}
.modal.type03 .fancy-area {
  gap: 0.6rem;
}
.modal.type03 .modal-toggle {
  display: inline;
  text-decoration: underline;
  font-size: 1.3rem;
  color: #737373;
}
.modal.modal-lg * {
  text-align: left;
}
.modal.modal-lg .modal-box {
  max-width: 90rem;
  padding: 4rem;
}
.modal.modal-lg .modal-cnt {
  padding: 2rem 2rem 0 0;
}
.modal.modal-lg .modal-ttl {
  padding-bottom: 3rem;
  border-bottom: 1px solid #262626;
}
.modal.modal-lg .btn-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.modal.modal-lg .btn-modal-close svg {
  width: 2.4rem;
  height: 2.4rem;
}

.modal.modal-sm .modal-box {
  max-width: 40rem;
  padding: 4rem 2rem;
}
.modal.modal-sm .modal-cnt {
  margin: 0 auto;
  padding: 0;
}
.modal.modal-sm .modal-ttl {
  margin-bottom: 4rem;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: -0.4px;
}

@keyframes modal-open {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modal-inner {
  from {
    transform: translate(0, 40px);
  }
  to {
    transform: translate(0, 0);
  }
}

/* notice modal */
.modal-notice.modal {
  background: rgba(0, 0, 0, 0.3);
}

.modal-notice .modal-box {
  height: auto;
  max-width: 50rem;
  padding: 0;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);

  border-radius: 0.4rem;
}

.modal-notice .modal-box-top {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 1rem 5%;

  background: var(--main-blue);
  border-bottom: 1px solid #e1e1e1;
}

.modal-notice .modal-box-top img {
  height: 3rem;
  object-fit: contain;
}

.modal-notice .modal-box-bottom {
  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 4rem 6% 1.6rem;
}

.modal-notice .modal-box p {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 2;
}

.modal-notice .close {
  border: 1px solid var(--main-blue);
  border-radius: 0.4rem;

  color: var(--main-blue);

  padding: 0.6em 1em;
  margin-top: 4rem;

  transition: all 0.2s;
}

.modal-notice .close:hover {
  background: var(--main-blue);
  color: #fff;
}
