.modal-open.header-contact-pc {
  display: inline-block;
  width: 130px;
  margin-left: 15px;
  text-align: center;
  background: #1f1f1f;
  color: #fff;
  padding: 34px 0;
  cursor: pointer;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.5s;
}

.modal-open.contact-pc:hover {
  opacity: 0.6;
}

.modal-open.header-contact-sp {
  text-align: center;
  display: block;
  padding: 10px 0;
  border-radius: 60px;
  background: #1f1f1f;
  color: #fff;
  margin: 30px auto;
  width: 90%;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .modal-open.footer-contact {
    display: inline-block;
    width: 50%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    text-align: center;
    background: #1f1f1f;
    color: #fff;
    padding: 15px 0 12px;
    z-index: 998;
    font-size: 14px;
    font-weight: bold;
  }
}

.modal-open.btn01 {
  cursor: pointer;
  background: #1f1f1f;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  display: inline-block;
  color: #fff;
  padding: 12px 50px 12px 30px;
  border-radius: 8px;
  min-width: 100px;
  position: relative;
}
.modal-open.btn01::before {
  position: absolute;
  content: "";
  width: 13px;
  height: 13px;
  background: url(../img/arrow_left_wh.png) center/contain no-repeat;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #00000080;
  /* padding: 40px 20px; */
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 100001;
}

.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

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

.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 350px;
  width: calc(100% - 40px);
}

.modal-content {
  padding: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 9px #00000028;
}

.modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
}

.modal-close-inner {
  width: 40px;
  height: 40px;
  border: 1px solid #eb8b83;
  background-color: #eb8b83;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.modal-close-inner::before,
.modal-close-inner::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 13px;
  width: 13px;
  border-top: 2px solid #fff;
}

.modal-close-inner::before {
  transform: rotate(45deg);
}

.modal-close-inner::after {
  transform: rotate(-45deg);
}

.modal-content-text {
  font-size: 15px;
  margin-top: 12px;
  margin-bottom: 30px;
  text-align: left;
}

.modal-content-buttons {
  display: grid;
  gap: 16px;
}

.modal-content-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 34px 10px 21px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.modal-content-button::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: rotate(45deg);
  border-style: solid;
  border-width: 2px 2px 0 0;
  width: 8px;
  height: 8px;
  margin-top: -4px;
}

.modal-content-button[data-type="primary"] {
  background-color: #eb8b83;
  color: #fff;
}

.modal-content-button[data-type="secondary"] {
  background-color: #06c755;
  color: #fff;
}
