@charset "UTF-8";
#modal_base {
  position: relative;
  padding: 40px 0;
}
#modal_base .profile_wrap {
  width: 94%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
#modal_base .profile_wrap ul {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 40px;
}
#modal_base .profile_wrap ul li {
  width: 30%;
  height: 80px;
  font-size: 1rem;
  color: #333;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal_base .profile_wrap ul li button {
  cursor: pointer;
}

#modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: none;
  z-index: 100;
}
#modal .mask_wrap {
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal .mask_wrap .detail {
  display: none;
}
#modal .mask_wrap .detail_wrap {
  width: 94vw;
  max-width: 1100px;
  min-height: 600px;
  padding: 40px 60px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
#modal .mask_wrap .detail_wrap .detail_inner {
  padding: 10px 18px 10px 0;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
#modal .ph_wrap {
  /*  width: 173px; */
  flex: 0 0 173px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#modal .ph_wrap img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}
#modal .text_wrap {
  flex: 1;
}
#modal .text_wrap .personal_name {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0 0 15px;
}
#modal .text_wrap .specialize {
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: 20px;
}
#modal .text_wrap .post {
  font-size: 1.4rem;
  line-height: 1;
}
#modal .text_wrap .post span {
  color: #fff;
  background-color: #000;
  display: inline-block;
  padding: 3px 8px 2px;
}
#modal .text_wrap .post span.students {
  background-color: #102438;
}
#modal .text_wrap .post span.graduates {
  background-color: #1B3D51;
}
#modal .text_wrap .post span.programmembers-ku {
  background-color: #4D646B;
}
#modal .text_wrap .post span.programmembers {
  background-color: #4C899C;
}
#modal .text_wrap .post span.supporters {
  background-color: #BE8535;
}

#modal .text_wrap .theme {
  margin: 36px 0;
  padding-bottom: 14px;
  font-size: 2.6rem;
  line-height: 1.6;
  color: #333;
  display: block;
  border-bottom: #333 solid 1px;
}
#modal .text_wrap dl,
.entry__content-txt {
  padding-bottom: 36px;
}
#modal .text_wrap dt,
.people_modal_h4 {
  padding-bottom: 14px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  text-align: justify;
  text-transform: capitalize;
}
#modal .text_wrap dd,
.entry__content-txt {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #333;
  text-align: left;
  overflow-wrap: anywhere;
}
#modal .text_wrap a:link,
#modal .text_wrap a:visited {
  color: #135E96;
  text-decoration: underline;
}
#modal .text_wrap a:hover,
#modal .text_wrap a:active {
  color: #135E96;
  text-decoration: none;
}

#modal .page_url {
  padding: 6px 8px 6px 24px;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  background-color: #000;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
#modal .page_url::before {
  position: absolute;
  content: "";
  left: 5px;
  width: 14px;
  height: 14px;
  display: inline-block;
  background-image: url("/assets/img/common/ico_copy.svg");
  background-position: center;
  background-size: contain;
}
#modal .copy-status {
  color: #999;
  margin-left: 10px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}
#modal .copy-status.is-visible {
  opacity: 1;
}

#modal .close_wrap {
  width: 28px;
  height: 28px;
  position: absolute;
  top: 40px;
  right: 40px;
}
#modal .close_wrap button {
  width: 28px;
  height: 28px;
  text-align: center;
  border: none;
  background-color: #fff;
  position: relative;
  margin: 0 auto;
  cursor: pointer;
}
#modal .close_wrap button::before {
  content: "";
  width: 30px;
  height: 3px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}
#modal .close_wrap button::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
}
.no-modal {
  pointer-events: none;
}

/* -------------------------------------------------
  responsive
------------------------------------------------- */

@media (width < 768px) {
  #modal .mask_wrap .detail_wrap {
    width: 94vw;
    min-height: 82vh;
    padding: 5.5vw;
  }
  #modal .mask_wrap .detail_wrap .detail_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    max-height: 75vh;
    padding-right: 12px;
  }
  #modal .ph_wrap {
    margin: 0 auto;
    width: 173px;
  }
  #modal .text_wrap {
    width: 100%;
  }
  #modal .text_wrap .personal_name {
    font-size: 3.2rem;
    padding: 0.8em 0;
  }
  #modal .text_wrap .specialize {
    font-size: 1.6rem;
    padding-bottom: 0.8em;
  }
  #modal .text_wrap .post {
    font-size: 1.2rem;
  }
  #modal .text_wrap .theme {
    margin: 2rem 0;
    padding-bottom: 0.4em;
    font-size: 2rem;
  }
  #modal .text_wrap dl,
  .entry__content-txt {
    padding-bottom: 20px;
  }
  #modal .text_wrap dt,
  .people_modal_h4 {
    padding-bottom: 0.8rem;
    font-size: 1.6rem;
    text-transform: capitalize;
  }
  #modal .text_wrap dd,
  .entry__content-txt {
    font-size: 1.4rem;
  }
  #modal .close_wrap {
    width: 3.6vw;
    height: 3.6vw;
    position: absolute;
    top: 3vw;
    right: 2vw;
  }
  #modal .close_wrap button {
    width: 3.6vw;
    height: 3.6vw;
  }
}
