:root {
  --mcs_red: hsla(358, 79%, 43%, 1);
  --mcs_blk: hsla(0, 0%, 0%, 1);
  --mcs_gray00: hsla(0, 0%, 53%, 1);
  --mcs_gray01: hsla(0, 0%, 95%, 1);
  --mcs_gray03: hsla(0, 0%, 93%, 1);
  --mcs_gray97: hsla(0, 0%, 97%, 1);
  --mcs_gray95: hsla(0, 0%, 95%, 1);
  --mcs_gray93: hsla(0, 0%, 93%, 1);
  --mcs_gray92: hsla(0, 0%, 92%, 1);
  --mcs_gray90: hsla(0, 0%, 90%, 1);
  --mcs_gray85: hsla(0, 0%, 85%, 1);
  --mcs_gray80: hsla(0, 0%, 80%, 1);
  --mcs_gray75: hsla(0, 0%, 75%, 1);
  --mcs_gray65: hsla(0, 0%, 65%, 1);
  --mcs_gray30: hsla(0, 0%, 30%, 1);
  --mcs_grayCC: hsl(0 0% 80%);
  --mcs_grayCD: hsl(0 0% 80.4%);
  --mcs_purple: hsla(294, 63%, 44%, 1);
  --grad_visit: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(219, 73%, 56%, 1) 100%);
  --grad_seminar: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(186, 85%, 47%, 1) 100%);
  --grad_mypage: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(44, 94%, 52%, 1) 100%);
  --grad_redBlue: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(219, 73%, 56%, 1) 100%);
  --grad_redGreen: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(186, 85%, 47%, 1) 100%);
  --grad_redYellow: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(44, 94%, 52%, 1) 100%);
  --grad_red: linear-gradient(90deg, hsla(0, 88%, 54%, 1) 0%, hsla(0, 88%, 54%, 1) 100%);
  --grad_mcs: linear-gradient(90deg, hsla(294, 43%, 40%, 1) 0%, hsla(359, 79%, 56%, 1) 50%, hsla(44, 95%, 53%, 1) 100%);
  --grad_mcs_v: linear-gradient(180deg, hsla(294, 43%, 40%, 1) 0%, hsla(359, 79%, 56%, 1) 50%, hsla(44, 95%, 53%, 1) 100%);
  --navBar: hsla(0, 100%, 50%, 1);
  --num_purple: hsla(281, 85%, 60%, 1);
  --num_red: hsla(0, 100%, 50%, 1);
  --num_yellow: hsla(38, 100%, 50%, 1);
  --num_lightblue: hsla(194, 100%, 45%, 1);
  --num_green: hsla(166, 90%, 40%, 1);
  --num_blue: hsla(219, 73%, 62%, 1);
  --seminar_K: hsla(0, 0%, 30%, 1);
  --seminar_T: hsla(38, 100%, 50%, 1);
  --seminar_TS: hsla(219, 73%, 62%, 1);
  --seminar_S: hsla(194, 100%, 45%, 1);
  --seminar_B: hsla(59, 63%, 44%, 1);
  --seminar_E: hsla(281, 85%, 60%, 1);
  --seminar_J: hsla(0, 100%, 50%, 1);
  --seminar_G: hsla(166, 90%, 40%, 1);
  --seminar_H: hsla(27, 87.6%, 52.5%, 1);
  --num_seminar_B: hsla(59, 63%, 44%, 1);
  --gakusei_lightblue: hsla(192, 54%, 80%, 1);
  --c-Black: hsla(0, 0%, 0%, 1);
  --c-black: hsla(0, 0%, 0%, 1);
  --c-White: hsla(0, 0%, 100%, 1);
  --c-white: hsla(0, 0%, 100%, 1);
  --c-dummy: hsl(0 0% 47.1%);
  --easeOutQuad: cubic-bezier(0.5, 1, 0.89, 1);
  --easeOutCubic: cubic-bezier(0.33, 1, 0.68, 1);
  --easeOutQuart: cubic-bezier(0.25, 1, 0.5, 1);
  --easeOutQuint: cubic-bezier(0.22, 1, 0.36, 1);
  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
  --easeInOutQuad: cubic-bezier(0.45, 0, 0.55, 1);
  --easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
  --easeInOutQuart: cubic-bezier(0.76, 0, 0.24, 1);
  --easeInOutQuint: cubic-bezier(0.83, 0, 0.17, 1);
  --easeInOutExpo: cubic-bezier(0.87, 0, 0.13, 1);
  --easeInQuad: cubic-bezier(0.11, 0, 0.5, 0);
  --easeInCubic: cubic-bezier(0.32, 0, 0.67, 0);
  --easeInQuart: cubic-bezier(0.5, 0, 0.75, 0);
  --easeInQuint: cubic-bezier(0.64, 0, 0.78, 0);
  --easeInExpo: cubic-bezier(0.7, 0, 0.84, 0);
  --fadeInLength: 30px;
  --fadeInOpacityDuration: 0.8s;
  --fadeInDuration: 0.8s;
}

#modal {
  transition: left 0s 0.7s;
  pointer-events: none;
  overflow: clip;
  position: fixed;
  left: 100%;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
}
#modal .modal_bg {
  transition: opacity 0.3s 0.2s;
  opacity: 0;
  background-color: var(--c-Black);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -200px;
}
#modal .scroll_wrap {
  display: grid;
  grid-template-columns: 1fr;
  overflow: scroll;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  pointer-events: none;
  position: absolute;
  inset: 0;
}
@media screen and (max-width: 839px) {
  #modal .scroll_wrap {
    margin-top: 70px;
  }
}
#modal .scroll_wrap .scroll_content {
  transition: opacity 0.3s, translate 0s 0.3s;
  opacity: 0;
  translate: 0 30px;
  align-self: center;
  padding: 100px 0;
  pointer-events: auto;
  position: relative;
}
@media screen and (max-width: 1239px) {
  #modal .scroll_wrap .scroll_content {
    padding: 80px 0;
  }
}
@media screen and (max-width: 1039px) {
  #modal .scroll_wrap .scroll_content {
    padding: 80px 0 60px;
  }
}
@media screen and (max-width: 839px) {
  #modal .scroll_wrap .scroll_content {
    padding: 10px 0 40px;
  }
}
#modal .scroll_wrap .scroll_content .scroll_content_bg {
  position: absolute;
  inset: 0;
}
#modal .btn_close {
  transition: opacity 0.3s;
  opacity: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  width: 38px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: none;
  position: absolute;
  right: 30px;
  top: 30px;
}
@media screen and (max-width: 1239px) {
  #modal .btn_close {
    width: 34px;
    right: 25px;
    top: 25px;
  }
}
@media screen and (max-width: 839px) {
  #modal .btn_close {
    width: 30px;
    right: 4vw;
    top: 20px;
  }
}
#modal .btn_close .bg {
  transition: border 0.3s, opacity 0.3s;
  border-radius: inherit;
  background-color: transparent;
  border: 2px solid var(--c-white);
  position: absolute;
  inset: 0;
}
#modal .btn_close::before, #modal .btn_close::after {
  transition: background 0.3s, opacity 0.3s;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--c-white);
}
#modal .btn_close::before {
  transform: rotate(45deg);
}
#modal .btn_close::after {
  transform: rotate(-45deg);
}
@media screen and (min-width: 1239px) {
  #modal .btn_close:hover .bg {
    opacity: 0.7;
  }
}
@media screen and (min-width: 1239px) {
  #modal .btn_close:hover::before, #modal .btn_close:hover::after {
    opacity: 0.7;
  }
}

#modal.on {
  transition: left 0s;
  left: 0;
  pointer-events: auto;
}
#modal.on .modal_bg {
  transition: opacity 0.3s;
  opacity: 0.8;
}
#modal.on .scroll_wrap .scroll_content {
  transition: opacity 0.5s 0.2s, translate 0.5s var(--easeOutQuart) 0.2s;
  opacity: 1;
  translate: 0 0;
}
#modal.on .btn_close {
  transition: opacity 0.5s 0.2s;
  opacity: 1;
  pointer-events: auto;
}