@charset "UTF-8";
body.modal-open {
  overflow: hidden;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  margin: auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform: scale(30%);
          transform: scale(30%);
}

.modal-wrapper.active {
  opacity: 1;
  -webkit-transform: scale(100%);
          transform: scale(100%);
}

.overlay.active,
.modal-wrapper.active,
.modal.active {
  pointer-events: auto;
  /* アクティブな時にイベントを有効にする */
}

.modal {
  display: none;
  width: 90vw;
  max-width: 900px;
  max-height: 95dvh;
  background-color: #fff;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.modal-content {
  position: relative;
  z-index: 1001;
  padding: 20px 70px;
  height: 95dvh;
}
@media (max-width: 800px) {
  .modal-content {
    padding: 10px;
  }
}

.modal-content::before,
.modal-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.modal-content.shadow-top-active::before,
.modal-content.shadow-bottom-active::after {
  opacity: 1;
}

.modal-content.shadow-top-active::before {
  top: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(transparent));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}

.modal-content.shadow-bottom-active::after {
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.2)), to(transparent));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.modal-content:not(.shadow-top-active)::before,
.modal-content:not(.shadow-bottom-active)::after {
  opacity: 0;
}

.modal-content:not(.shadow-top-active)::before {
  top: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(transparent));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}

.modal-content:not(.shadow-bottom-active)::after {
  bottom: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.2)), to(transparent));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.modal-body {
  overflow: auto;
  padding: 0 1em;
  height: 100%;
}

.close-button {
  z-index: 100;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.modal-button {
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 999;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background-color: #F2E52F;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.close-button:hover {
  background-color: #fff022;
}

.close-button::before,
.close-button::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 30px;
  background-color: #060606;
}

.close-button::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.close-button::after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.modal__header {
  position: relative;
  margin: 1em;
}
.modal__header::before, .modal__header::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: min(370px, 53%);
  height: 100%;
}
@media (max-width: 800px) {
  .modal__header::before, .modal__header::after {
    margin: 0;
    left: 50%;
    width: min(370px, 70%);
  }
}
.modal__header::before {
  -webkit-transform: rotate(4deg);
          transform: rotate(4deg);
  background: #F2E52F;
}
@media (max-width: 800px) {
  .modal__header::before {
    -webkit-transform: translateX(-50%) rotate(4deg);
            transform: translateX(-50%) rotate(4deg);
  }
}
.modal__header::after {
  -webkit-transform: rotate(1.5deg);
          transform: rotate(1.5deg);
  background: #EE6337;
}
@media (max-width: 800px) {
  .modal__header::after {
    -webkit-transform: translateX(-50%) rotate(1.5deg);
            transform: translateX(-50%) rotate(1.5deg);
  }
}

.modal__figure {
  position: relative;
  width: min(370px, 53%);
  z-index: 1;
}
@media (max-width: 800px) {
  .modal__figure {
    margin: 0 auto;
    width: min(370px, 70%);
  }
}
.modal__figure::before, .modal__figure::after {
  content: "";
  z-index: 2;
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #3DB9EB;
}
.modal__figure::before {
  -webkit-clip-path: polygon(0 0, 18% 0, 5% 100%, 0% 100%);
          clip-path: polygon(0 0, 18% 0, 5% 100%, 0% 100%);
}
.modal__figure::after {
  -webkit-clip-path: polygon(95% 0, 100% 0, 100% 100%, 88% 100%);
          clip-path: polygon(95% 0, 100% 0, 100% 100%, 88% 100%);
}

.modal__img {
  display: block;
  position: relative;
  width: 100%;
}

.modal__name {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 10px;
  padding-left: 1em;
  width: min(330px, 50%);
  height: 3em;
  line-height: 3em;
  background: #F2E52F;
  font-size: clamp(18px, 8px + 1.25vw, 24px);
}
.modal__name::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  -webkit-transform: translateX(-98%);
          transform: translateX(-98%);
  border-style: solid;
  border-width: 0 0 3em 1em;
  border-color: transparent transparent #F2E52F transparent;
}
.modal__name::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0.5em;
  width: 80%;
  height: 1px;
  background: #060606;
}

.profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (max-width: 800px) {
  .profile {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.profile dt,
.profile dd {
  font-size: clamp(15px, 13.3333333333px + 0.2083333333vw, 16px);
}
@media (max-width: 800px) {
  .profile dt,
  .profile dd {
    min-height: 2em;
  }
}
.profile dt {
  color: #3DB9EB;
  padding: 1em;
  width: 20%;
  border-bottom: 1px solid #060606;
  white-space: nowrap;
  letter-spacing: 0;
}
.profile dt:last-of-type {
  border: none;
}
@media (max-width: 800px) {
  .profile dt {
    padding: 0.5em 1em 0;
    width: 100%;
    border: none;
  }
}
.profile dd {
  padding: 1em;
  width: 80%;
  border-bottom: 1px solid #060606;
}
.profile dd:last-of-type {
  border: none;
}
@media (max-width: 800px) {
  .profile dd {
    padding: 0 1em 0.5em;
    width: 100%;
  }
}

@media (min-width: 801px) {
  dd.profile__favorites {
    width: 50%;
    border-right: 1px solid #060606;
  }
  dt.profile__birthday {
    width: 15%;
  }
  dd.profile__birthday {
    width: 15%;
  }
}
.schedule .modal {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.schedule .modal-content {
  height: 90dvh;
}
@media (max-width: 800px) {
  .schedule .modal-content {
    height: auto;
    padding: 50px 10px;
  }
}/*# sourceMappingURL=modal.css.map */