.nbd-custom-heading {
  margin: 0;
}
.nbd-custom-heading img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.modal-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  column-gap: 4px;
}
.modal-close::after {
  content: "";
  width: 11px;
  height: 11px;
  background: url(../images/icon_modal_close.svg) no-repeat center center/cover;
  margin-top: -4px;
}
.modal-contents {
  position: relative;
  max-width: 840px;
  max-height: calc(100svh - 80px);
  background-color: #fff;
  padding: 55px 55px 30px;
  overflow: auto;
  overscroll-behavior-y: contain;
}
@media all and (max-width: 1024px) {
  .modal-contents {
    padding: 60px 25px 25px;
  }
}

@media all and (min-width: 769px) {
  .modal-layout {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    padding-block: 30px;
  }
}
@media all and (max-width: 768px) {
  .modal-image {
    text-align: center;
    margin-bottom: 20px;
  }
}
.modal-image img {
  max-width: 280px;
}
@media all and (max-width: 768px) {
  .modal-image img {
    max-width: 200px;
  }
}
.modal-name {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}
@media all and (max-width: 1024px) {
  .modal-name {
    font-size: 1.8rem;
  }
}

@media all and (min-width: 769px) {
  .lead-layout {
    display: flex;
    align-items: center;
    gap: 50px;
  }
}
.lead-image img {
  max-width: 360px;
}
@media all and (max-width: 768px) {
  .lead-image {
    text-align: center;
    margin-bottom: 20px;
  }
}
@media all and (max-width: 768px) {
  .modal-image img {
    max-width: 200px;
  }
}