@charset "UTF-8";
/*------- モーダル -------*/
.modal-content {
  display: none;
}
.modal-content.modal-show {
  display: flex;
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  margin: auto;
  pointer-events: none;
}
.modal-content.img-gallery {
  padding: 0;
}
.modal-inner {
  min-width: 40vw;
  max-width: 40vw;
  min-height: 60%;
  max-height: 60%;
  padding: 3vw;
  overflow-y: scroll;

  background: linear-gradient(
    45deg,
    #ebedeb 0%,
    #b5b5b5 100%
  );

  pointer-events: all;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  animation: modalUp 0.5s ease forwards;
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-body{
      margin: auto;
    }

.modal-image{
  margin: 0 0 3rem 0;
  display: flex;
  justify-content: center;
}

.modal-image img{
  max-width: 600px;
}

.modal-title{
    text-align: center;
    color: #000;
    font-size: 24px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.modal-title.coming-soon{
    text-align: center;
    color: #000;
    font-size: 24px;
    margin: 2rem;
    font-weight: 600;
}

.modal-text{
    font-size: 15px;
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
    font-family: iroha-26tubaki-stdn, Roboto, "Noto Sans JP";
}
.modal-text p{
    margin-bottom: 2rem;
    font-weight: 500;
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .modal-inner {
    min-width: 80vw;
    max-width: 80vw;
    min-height: 60%;
    max-height: 60%;
}
}

/* sp */
@media screen and (max-width: 430px) {
    .modal-title{
        font-size: 22px;
        margin-top: 2rem;
    }
    .modal-text{
        font-size: 14px;
    }
    .modal-image img{
      max-width: 100%;
    }
    .modal-inner {
    min-width: 80vw;
    max-width: 80vw;
    min-height: 80%;
    max-height: 80%;
    padding: 5vw;
}
    .modal-body{
      /* padding: 2rem 1rem; */
      margin: auto;
    }
}

.numbered-text {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

/* スマホだけ適用 */
@media screen and (max-width: 430px) {
  .numbered-text {
    padding-left: 1.5em;
    text-indent: -1.5em;
  }
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: #00000080;
  color: #fff;
}
.modal-active {
  height: 100%;
  overflow: hidden;
}
.modal-close {
  z-index: 9999;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.modal-close:before,
.modal-close:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  margin: auto;
  background: #fff;
  content: "";
}
.modal-close:before {
  transform: rotate(45deg);
}
.modal-close:after {
  transform: rotate(-45deg);
}
.modal-bg {
  z-index: 9998;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000080;
  animation: showModal 0.4s 1 ease-out forwards;
}
.modal-arrow-prev,
.modal-arrow-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  z-index: 9998;
  width: 5vw;
  height: 5vw;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}
.modal-arrow-prev:before,
.modal-arrow-next:before {
  display: block;
  position: absolute;
  top: 25%;
  width: 50%;
  height: 50%;
  border-bottom: 2px solid #fff;
  content: "";
}
.modal-arrow-prev {
  left: 2.5vw;
}
.modal-arrow-prev:before {
  transform: rotate(45deg);
  border-left: 2px solid #fff;
}
.modal-arrow-next {
  right: 2.5vw;
}
.modal-arrow-next:before {
  transform: rotate(-45deg);
  border-right: 2px solid #fff;
}

/*------- バツボタン -------*/
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 28px;
  height: 28px;
  border-radius: 50%;

  background: transparent;
  border: none;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.close-btn .icon {
  color: #000000;
  font-size: 24px;
  font-weight: 400;

  transform: translateY(0.5px);
}

/* button */
.modal-button {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.modal-button a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  max-width: 100%;
  justify-content: center;
	align-items: center;
  padding: 14px 50px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: 0.3s;
  border-radius: 5px;
}

.modal-button a:hover {
  background: #3e3e3e;
}

.modal-button a::after {
  content: "";
  position: absolute;

  top: -90%;
  right: 0;

  width: 100px;
  height: 220%;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );

  transform: rotate(20deg);

  z-index: 1;
}