/* .mt-modal {
  margin-top: 149px;
} */

/* #n_mainv {
  margin-top: 149px;
} */

.mt-modal-ceremonial02 {
  /* margin-top: 127px; */
  margin-top: -25px;
}

.sp_suvmenu-span {
  display: block;
}

.sp_suvmenu-modal {
  background: #ec6867;
}

.sp_suvmenu-modal.fixed {
  position: fixed;
}

.sp_suvmenu-modal li {
  background: #fff;
}

.sp_suvmenu-modal li.red_navi {
  background: #ec6867;
}

.sp_suvmenu-modal-span {
  white-space: nowrap;
}

.custom-modal__button {
  background: #ec6867;
  color: #fff;
  display: flex;
  /* padding: 16px 10px; */
  gap: 10px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 3px 10px;
}

.custom-modal__img {
  width: 40px;
  height: 40px;
}

.custom-modal__heading {
  font-size: 18px;
  font-weight: 700;
}

.custom-modal__subheading {
  font-size: 12px;
  /* margin-top: 5px; */
}

.custom-modal__content {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.custom-modal__content.is-active {
  display: flex;
}

.custom-modal__inner {
  width: 93%;
  max-width: 500px;
  z-index: 1000;
  background: #fff;
  position: relative;
}

.custom-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  padding: 0;
  width: 30px;
  top: -15px;
  right: -15px;
}

.custom-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #030303;
  opacity: 0.8;
  z-index: 999;
}

.custom-modal__body-title {
  background: #ec6867;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: end;
  padding: 8px 8px 0;
}

.custom-modal__body-heading {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 5px;
}

.custom-modal__body-heading span {
  font-size: 12px;
  display: block;
  font-weight: 400;
  margin-top: 5px;
}

.custom-modal__body-img {
  width: 50px;
}

.custom-modal__container {
  background: #f6f6f6;
  padding: 8px;
}

.custom-modal__message {
  text-align: center;
  font-weight: 700;
  font-size: 12px;
}

.custom-modal__message span{
  color: #d0261d;
}

.custom-modal__list {
  max-width: 430px;
  margin: 10px auto 0;
}

.custom-modal__list-item {
  padding: 8px;
}

.custom-modal__list-item:not(:first-child) {
  margin-top: 10px;
}

.modal-item {
  border: 2px solid #ec6867;
}

.modal-item__heading-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #545454;
  padding-bottom: 5px;
  gap: 8px;
}

.custom-modal__list-attention {
  width: 25px;
  height: 25px;
}

.modal-item__heading {
  color: #ec6867;
  font-weight: 700;
  font-size: 14px;
}

.modal-item__description {
  font-size: 12px;
  margin-top: 10px;
}

.modal-item__link{
  padding-left: 25px;
  display: block;
  margin-top: 7px;
  width: fit-content;
  color: #004aad;
  position: relative;
}

.modal-item__link::before{
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
   background: url('../img/modal/modal_arrow.png') no-repeat center center/cover;
}

.modal-item__link-img {
  width: 25px;
  height: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
}

.sp_suvmenu {
  margin-top: 0 !important;
}

@media screen and (max-width:768px) {
  #n_mainv {
    margin-top: 113px;
  }

  .mt-modal {
    margin-top: 113px;
  }

  .mt-modal-ceremonial02 {
    margin-top: 89px;
  }

  .custom-modal__heading {
    line-height: 1;
  }

  .custom-modal__subheading {
    margin-top: 2px;
    line-height: 1;
  }
}

@media screen and (max-width: 374px) {

  .mt-modal {
    margin-top: 103px;
  }

  #n_mainv {
    margin-top: 103px;
  }

  .mt-modal-ceremonial02 {
    margin-top: 79px;
  }

  .sp_suvmenu-img {
    width: 70px;
  }

  .sp_suvmenu-modal-span {
    white-space: nowrap;
    font-size: 12px !important;
  }

  .custom-modal__button {
    gap: 5px;
    padding: 3px 0px;
    /* padding: 16px 0px; */
  }

  .custom-modal__img {
    width: 37px;
    height: 37px;
  }

  .custom-modal__heading {
    /* font-size: 18px; */
  }

  .custom-modal__subheading {
    white-space: nowrap;
  }

  .custom-modal__body-heading {
    font-size: 16px;
  }

  .custom-modal__body-heading span {
    font-size: 12px;
  }

  .custom-modal__message {
    font-size: 12px;
    white-space: unset;
  }

  .modal-item {
    padding: 10px;
  }

  .modal-item__heading-wrapper {
    gap: 10px;
  }

  .modal-item__heading {
    font-size: 14px;
  }
}