:root {
  --content-inline: 104px;
  --header-height: 150px;
  --leading-trim: calc((1em - 1lh) / 2);
  --notosansjp-font-top-offset: 0.07em;
}

@media screen and (max-width: 1024px) {
  :root {
    --content-inline: 50px;
  }
}
.black-background {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  /*  transition: .6s;*/
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup.is-show {
  opacity: 1;
  visibility: visible;
}
.popup.is-show .popup-inner {
  opacity: 1;
  transition-delay: 0.7s;
}
@media screen and (max-width: 834px) {
  .popup.is-show .popup-inner {
    transition-delay: 0.3s;
  }
}
.popup-inner {
  width: 80%;
  max-width: 1700px;
  padding: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: #fff;
  opacity: 0;
  transition: opacity 1s ease;
}
@media screen and (min-width: 1441px) {
  .popup-inner {
    width: 60vw;
  }
}
@media screen and (max-width: 834px) {
  .popup-inner {
    width: calc(100% - 80px);
    padding: 7% 8% 6%;
  }
}
@media screen and (max-width: 414px) {
  .popup-inner {
    width: calc(100% - 60px);
  }
}

div#modalCloseCloss:hover {
  opacity: 0.7;
}

.modalCloseButton_outer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 34px auto 14px;
}
@media screen and (max-width: 834px) {
  .modalCloseButton_outer {
    margin-bottom: 0;
  }
}

.modalCloseButton {
  display: inline-block;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  font-size: 2rem;
  font-weight: bold;
  color: #3b322c;
}
@media screen and (max-width: 834px) {
  .modalCloseButton {
    font-size: 18px;
  }
}
@media screen and (max-width: 600px) {
  .modalCloseButton {
    font-size: 17px;
  }
}

.lineClose {
  display: inline-block;
  width: 2rem;
  height: 0.2rem;
  margin-right: 8px;
  border-radius: 0.1rem;
  line-height: 1;
  position: relative;
  transform: rotate(45deg);
  vertical-align: middle;
  color: #000;
  background: currentColor;
}
.lineClose::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  transform: rotate(90deg);
  background: inherit;
}
@media screen and (max-width: 834px) {
  .lineClose {
    width: 18px;
    margin-right: 6px;
    margin-bottom: 3px;
  }
}

.modalBottom {
  text-align: center;
}
.modalBottom p:not([class]) {
  margin-top: 28px;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.4;
}
@media screen and (max-width: 834px) {
  .modalBottom p:not([class]) {
    font-size: 22px;
  }
}
@media screen and (max-width: 600px) {
  .modalBottom p:not([class]) {
    margin-top: 20px;
    font-size: 16px;
    text-align: left;
  }
}
.modalBottom p:not([class]) strong {
  color: #ff2c1b;
}

.modal_head {
  display: inline-block;
  padding-bottom: 13px;
  margin: 0 auto 8px;
  border-bottom: 4px solid #2f8444;
  font-size: 4rem;
  font-weight: bold;
}
@media screen and (max-width: 834px) {
  .modal_head {
    padding-bottom: 13px;
    margin: 0 auto 8px;
    font-size: 30px;
  }
}
@media screen and (max-width: 600px) {
  .modal_head {
    padding-bottom: 10px;
    margin: 0 auto 8px;
    border-bottom-width: 3px;
    font-size: 20px;
  }
}

body.is-modal-open {
  overflow: hidden;
}