/* modal */
.directDelivery__image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s;
  text-align: center;
}

.directDelivery__image-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.directDelivery__image-modal .modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.directDelivery__image-modal .modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.directDelivery__image-modal .modal-body {
  position: relative;
  width: 740px;
  height: auto;
  padding: 40px;
  background-color: #ffffff;
  font-family: "Yu Mincho", "YuMincho", serif;
}

.directDelivery__image-modal .modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  transform: rotate(45deg);
  cursor: pointer;
}

.directDelivery__image-modal .modal-close::before,
.directDelivery__image-modal .modal-close::after {
  content: '';
  display: block;
  position: absolute;
  background-color: #333333;
}

.directDelivery__image-modal .modal-close::before {
  top: 50%;
  left: 0;
  margin-top: -1px;
  width: 100%;
  height: 2px;
}

.directDelivery__image-modal .modal-close::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left:  -1px;
}

.directDelivery__image-modal .modal-ttl {
  font-size: 22px;
  font-weight: 600;
}

.directDelivery__image-modal .modal-ttl span {
  color: #b31b1b;
}

.directDelivery__image-modal .modal-comment {
  margin-top: 20px;
  font-size: 18px;
}

.directDelivery__image-modal .modal-kiyaku {
  margin-top: 20px;
}

.directDelivery__image-modal .modal-stop {
  margin-top: 16px;
}

.directDelivery__image-modal .modal-kiyaku a,
.directDelivery__image-modal .modal-stop a {
  text-decoration: underline;
}

.directDelivery__image-modal .modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.directDelivery__image-modal .modal-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 60px;
  margin: 0 auto;
  border: 1px solid #ce3c29;
  border-radius: 10px;
  background-color: #ce3c29;
  color: #ffffff;
  font-size: 18px;
  transition: .2s;
  text-decoration: none;
}

.directDelivery__image-modal .modal-btn a:hover {
  background-color: #ffffff;
  color: #ce3c29;
  text-decoration: none;
}

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

  .directDelivery__image-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 9999;
      visibility: hidden;
      opacity: 0;
      transition: opacity .25s;
    }

    .directDelivery__image-modal.is-open {
      visibility: visible;
      opacity: 1;
    }

    .directDelivery__image-modal .modal-container {
      display: flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .directDelivery__image-modal .modal-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .directDelivery__image-modal .modal-body {
      position: relative;
      width: 90vw;
      height: auto;
      padding: 10.67vw 5.33vw 6.4vw;
      background-color: #ffffff;
      font-family: "Yu Mincho", "YuMincho", serif;
    }

    .directDelivery__image-modal .modal-close {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 26px;
      height: 26px;
      transform: rotate(45deg);
      cursor: pointer;
    }

    .directDelivery__image-modal .modal-close::before,
    .directDelivery__image-modal .modal-close::after {
      content: '';
      display: block;
      position: absolute;
      background-color: #333333;
    }

    .directDelivery__image-modal .modal-close::before {
      top: 50%;
      left: 0;
      margin-top: -1px;
      width: 100%;
      height: 2px;
    }

    .directDelivery__image-modal .modal-close::after {
      top: 0;
      left: 50%;
      width: 2px;
      height: 100%;
      margin-left:  -1px;
    }

    .directDelivery__image-modal .modal-ttl {
      font-size: 16px;
      font-weight: 600;
    }

    .directDelivery__image-modal .modal-ttl span {
      color: #b31b1b;
      font-size: 16px;
      font-weight: 600;
    }

    .directDelivery__image-modal .modal-comment {
      margin-top: 16px;
      font-size: 14px;
      text-align: left;
    }

    .directDelivery__image-modal .modal-kiyaku {
      margin-top: 20px;
      font-size: 14px;
    }

    .directDelivery__image-modal .modal-stop {
      margin-top: 10px;
      font-size: 14px;
    }

    .directDelivery__image-modal .modal-kiyaku a,
    .directDelivery__image-modal .modal-stop a {
      text-decoration: underline;
    }

    .directDelivery__image-modal .modal-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 10px;
    }

    .directDelivery__image-modal .modal-btn a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 50px;
      margin: 0 auto;
      border: 1px solid #ce3c29;
      border-radius: 10px;
      background-color: #ce3c29;
      color: #ffffff;
      font-size: 16px;
    }
}
/* modal */