.mainEl {
  background: url(../images/main/bg-1400.jpg) no-repeat center center / cover;
  min-height: max(100dvh, 50.625rem);
  overflow: hidden;
  position: relative;
}

@media screen and (min-height: 1440px) {
  .mainEl {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

.meiyoDisplay {
  aspect-ratio: 16 / 9;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
}

/* Loading Display */

.loadingContainer {
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 10;
}

.loadingScreen {
  background: #fff;
  height: 100%;
  position: relative;
  transition: opacity 0.4s ease-out;
  width: 100%;
  z-index: 11;
}

.loadingScreen__board {
  height: 9.4375rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12.5rem;
}

.loadingScreen__hook {
  left: 3.875rem;
  position: absolute;
  top: 0;
  width: 2.625rem;
}

.loadingScreen__sign {
  animation: loadingSign 1s linear infinite;
  position: absolute;
  top: 1.375rem;
  transform-origin: top center;
  width: 12.5rem;
}

.loadFinish .loadingScreen {
  opacity: 0;
}

.loadingDoor {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.loadingDoor svg {
  height: auto;
  left: 50%;
  min-height: 100dvh;
  min-width: 100vw;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.scalingDoor {
  transform-origin: center;
  transition: transform 1.4s ease-in-out;
  transition-delay: 0.2s;
}

.loadFinish .scalingDoor {
  transform: scale(30);
}

/* Main Display */

.meiyo {
  align-items: center;
  aspect-ratio: 611 / 601;
  display: flex;
  height: auto;
  justify-content: center;
  left: 27.2222%;
  position: absolute;
  top: 18.02%;
  width: 42.4306%;
}

.meiyo__image {
  /* animation: meiyoIcon 1s steps(5, end) infinite; */
  animation-delay: 2s;
  width: 85.6%;
}

.testtubes {
  left: 28.8194%;
  position: absolute;
  top: 70.62%;
  width: 22.5694%;
  z-index: 3;
}

.mv-desk {
  bottom: 0;
  left: -7.1528%;
  max-width: 111.5972vw;
  position: absolute;
  top: 77.28%;
  width: 111.5972vw;
  z-index: 2;
}

.linesNews {
  left: 0.2083%;
  position: absolute;
  top: 47.65%;
  width: 30.625%;
}

.linesSignboard {
  left: 2.3611vw;
  position: absolute;
  top: 16.54%;
  width: 30%;
}

.linesPortrait {
  left: 62.1528%;
  position: absolute;
  top: 45.06%;
  width: 29.3056%;
}

.linesMovie {
  left: 0.6875%;
  position: absolute;
  top: 71.2%;
  width: 21.875%;
}

.bgConicalFlask {
  left: 69.7917%;
  position: absolute;
  top: 4.94%;
  width: 26.8056vw;
}

.linesDiscography {
  left: 73.6111%;
  position: absolute;
  top: 70.86%;
  width: 23.0556%;
}

.portrait {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  left: 66.0417%;
  position: absolute;
  top: 14.7%;
  transition: transform 0.2s ease-out;
  width: 10.3472%;
  z-index: 3;
}

.portrait:hover {
  transform: scale(1.05);
}

.portrait__frame {
  aspect-ratio: 149 / 185;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.portrait__frameImg {
  height: calc(100% + 1px);
  object-fit: cover;
  position: absolute;
  width: calc(100% + 1px);
  z-index: 2;
}

.portrait__frameBg {
  background: #fff;
  display: block;
  height: 95%;
  left: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  z-index: -1;
}

.portrait__framePerson {
  animation: professor 2s linear infinite 1s;
  aspect-ratio: 106 / 141;
  height: auto;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, 50%);
  transition: 0.3s;
  width: 71.14%;
  z-index: 1;
}

.portrait__name img {
  width: 100%;
}

.newsButton {
  animation: newspaper 4s linear infinite;
  cursor: pointer;
  left: 17.2222%;
  position: absolute;
  top: 34.2%;
  transform: rotate(-4.57deg);
  transition: 0.3s;
  width: 8.8889%;
  z-index: 2;
}

.discography__link {
  align-items: flex-end;
  aspect-ratio: 228 / 292;
  display: flex;
  height: auto;
  justify-content: center;
  left: 79.0278%;
  position: absolute;
  top: 35.43%;
  transition: transform 0.2s ease-out;
  width: 15.8333%;
  z-index: 2;
}

.discography__link:hover {
  transform: scale(1.05);
}

.discography__image {
  width: 78.07%;
}

.stepsFrame {
  animation: fadeSteps 4s infinite;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: 0.4s;
  width: 100%;
  z-index: -1;
}

.discography__link:hover .stepsFrame {
  animation: none;
}

.discography__link:hover .stepsFrame.sf4 {
  opacity: 1 !important;
}

.discography__link:hover .stepsFrame.sf1,
.discography__link:hover .stepsFrame.sf2,
.discography__link:hover .stepsFrame.sf3 {
  opacity: 0 !important;
}

.sf2,
.sf3,
.sf4 {
  opacity: 0;
}

.sf1 {
  animation-delay: 0s;
}
.sf2 {
  animation-delay: 1s;
}
.sf3 {
  animation-delay: 2s;
}
.sf4 {
  animation-delay: 3s;
}

.signboard {
  aspect-ratio: 258 / 197;
  cursor: pointer;
  display: block;
  height: auto;
  left: 6.6667%;
  position: absolute;
  top: 4.7%;
  width: 17.9167%;
}

.signboard__hook {
  left: 31%;
  position: absolute;
  top: 0;
  width: 20.15%;
}

.signboard__sign {
  animation: stepped-rotate 1.8s steps(4, end) infinite;
  bottom: 0;
  left: 0;
  position: absolute;
  transform-origin: center top;
  transition: 0.3s;
  width: 100%;
  z-index: 2;
}

.movie__link {
  aspect-ratio: 184 / 148;
  height: auto;
  left: 2.3611%;
  position: absolute;
  top: 54.05%;
  transition: transform 0.2s ease-out;
  width: 12.7778%;
  z-index: 2;
}

.movie__link:hover {
  transform: scale(1.05);
}

.movie__link img {
  width: 100%;
  z-index: 1;
}

.movie__screen {
  height: 70%;
  left: 11%;
  overflow: hidden;
  position: absolute;
  top: 10%;
  width: 66.85%;
  z-index: -1;
}

.movie__screenInner {
  animation: movieScreen 24s linear infinite;
  background-image: url(../images/main/movie-bk.jpg);
  background-repeat: repeat-x;
  background-size: contain;
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 300%;
}

/* Modal CSS */

.modalBackdrop {
  background: rgba(0, 0, 0, 0.4);
  height: 100%;
  opacity: 0;
  position: fixed;
  transition:
    opacity 0.3s ease-out,
    visibility 0.3s ease-out;
  visibility: hidden;
  width: 100%;
  z-index: 5;
}

.modalBackdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  height: 90dvh;
  left: 50%;
  max-width: 65rem;
  opacity: 0;
  padding: 2.5rem;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    opacity 0.3s ease-out,
    visibility 0.3s ease-out,
    transform 0.3s ease-out;
  visibility: hidden;
  width: calc(100% - 2.5rem);
  z-index: 6;
}

.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
}

.modal__header {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
}

.modal__signboardImage {
  width: clamp(11.25rem, 20.38vw, 13.25rem);
}

.modal__signboardHeading {
  font-family: "Wahupop", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-align: center;
}

.modal__contents {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.25rem;
  overflow: auto;
}

/* width */
.modal__contents::-webkit-scrollbar {
  width: 4px;
}

/* Track */
.modal__contents::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

/* Handle */
.modal__contents::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 1);
  border-radius: 8px;
}

/* Handle on hover */
.modal__contents::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}

.modal__contents .modal__text {
  text-align: center;
}

.modal__close {
  cursor: pointer;
  display: grid;
  flex-shrink: 0;
  gap: 0.25rem;
  grid-template-columns: 1.5rem auto;
  margin: 0 auto;
  transition: transform 0.2s;
  width: fit-content;
}

.modal__close:hover {
  transform: scale(1.1);
}

.modal__closeText {
  font-family: "Wahupop", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.modal__closeIcon {
  align-items: center;
  display: flex;
  justify-content: center;
}

.modal__newsFigure {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  width: fit-content;
}

.modal__newsFigureCaption {
  padding: 2.5rem;
}

.modal__newsFigureHeading {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal__newsFigureHeading p {
  font-family: "Darumadrop One", sans-serif;
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.modal__newsFigureHeading h3 {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
}

.modal__newsFigureImg {
  height: 100%;
  left: -4.375rem;
  opacity: 0.1;
  position: absolute;
  transform: rotate(-4.57deg);
  width: auto;
}

.modal__list {
  box-sizing: border-box;
  gap: 0;
  margin: 0 auto;
  max-width: 42.75rem;
  padding-right: 2.5rem;
}

.modal__item {
  border-bottom: 1px solid #000;
  padding-bottom: 1.25rem;
}

.modal__item:nth-child(n + 1) {
  padding-top: 1.25rem;
}

.modal__articleHeading {
  font-size: 1.125rem;
  font-weight: 700;
}

.modal__articleDate {
  margin-top: 0.25rem;
}

.modal__articleText {
  margin-top: 1.25rem;
}

.umj-feed {
  margin: 0 auto;
}

.umj-feed-item {
  border-bottom: 1px solid #000 !important;
  border-top: none !important;
}

/* Animation Keyframes */

@keyframes stepped-rotate {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(6.19deg);
  }
  40% {
    transform: rotate(18.95deg);
  }
  60% {
    transform: rotate(6.19deg);
  }
  80%,
  100% {
    transform: rotate(0deg);
  }
}

@keyframes loadingSign {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(6.19deg);
  }
  50% {
    transform: rotate(18.95deg);
  }
  75% {
    transform: rotate(6.19deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes meiyoIcon {
  0% {
    transform: rotate(6.73deg);
  }
  25% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-8.96deg);
  }
  75% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(6.73deg);
  }
}

@keyframes professor {
  0% {
    transform: translate(-50%, 50%);
  }
  20% {
    transform: translate(-50%, 50%);
  }
  40% {
    transform: translate(-50%, 0%);
  }
  60% {
    transform: translate(-50%, 0%);
  }
  80% {
    transform: translate(-50%, 50%);
  }
  100% {
    transform: translate(-50%, 50%);
  }
}

@keyframes newspaper {
  0% {
    transform: rotate(-4.57deg);
  }
  62% {
    transform: rotate(-4.57deg);
  }
  66.67% {
    transform: rotate(-17.11deg);
  }
  94.33% {
    transform: rotate(-17.11deg);
  }
  100% {
    transform: rotate(-4.57deg);
  }
}

@keyframes fadeSteps {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes movieScreen {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 160.5%;
  }
}

@media screen and (min-width: 768px) and (max-height: 750px) {
  .modal__newsFigureCaption {
    padding: 0.5rem 2.5rem;
  }
  .modal__newsFigureImg {
    left: -1.4rem;
  }
}

@media screen and (max-width: 767px) {
  .for-pc {
    display: none;
  }
  .mainEl {
    background: url(../images/main/bg-767.jpg) no-repeat center center / cover;
    height: calc(100dvh - 2.5rem);
    min-height: 160vw;
  }
  .meiyoDisplay {
    aspect-ratio: 5 / 8;
    bottom: 0;
    top: unset;
    transform: unset;
  }
  .meiyo {
    left: 14.9333vw;
    top: 54.036%;
    width: 73.3333vw;
  }
  .mv-desk {
    left: -38.1333vw;
    max-width: 169.0667vw;
    top: 89.78%;
    width: 169.0667vw;
  }
  .testtubes {
    left: 18.6667vw;
    top: 85%;
    width: 34.9333vw;
  }
  .signboard {
    left: 6.6667vw;
    top: 5.766%;
    width: 40.8vw;
  }
  .portrait {
    left: 57.8667vw;
    top: 6.26%;
    width: 23.6587vw;
  }
  .newsButton {
    left: 15.4667vw;
    padding: 0;
    top: 29.07%;
    width: 20.2667vw;
  }
  .discography__link {
    aspect-ratio: 135 / 173;
    left: 62.6667vw;
    top: 25.7%;
    width: 36vw;
  }
  .linesNews {
    left: -38.6667vw;
    top: 39.21%;
    width: 68.8vw;
  }
  .linesSignboard {
    left: -48.8vw;
    top: 19.93%;
    width: 88vw;
  }
  .linesPortrait {
    left: 63.2vw;
    top: 30.15%;
    width: 61.3333vw;
  }

  .linesMovie {
    left: -25.333vw;
    position: absolute;
    top: 60.222%;
    width: 55.467vw;
  }
  .bgConicalFlask {
    left: 67.2vw;
    top: 4.77%;
    width: 88vw;
  }
  .linesDiscography {
    left: 57.0667vw;
    top: 54.03%;
    width: 67.2vw;
  }
  .movie__link {
    aspect-ratio: 112 / 82;
    left: 1.333%;
    top: 47.08%;
    width: 27.2vw;
  }
  .modal {
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .modal__signboardImage {
    width: 10rem;
  }
  .modal__contents {
    padding-right: 1.5rem;
  }
  .modal__signboardHeading {
    font-size: min(1.5rem, 6.4vw);
  }
  .modal__contents .modal__text {
    text-align: start;
  }
  .modal__newsFigure {
    width: 100%;
  }
  .modal__newsFigureImg {
    left: 0;
  }
  .modal__newsFigureCaption {
    padding: 1.0625rem 0 0 0;
  }
  .modal__newsFigureHeading p {
    font-size: min(2.5rem, 10.6667vw);
  }
  .modal__newsFigureHeading h3 {
    font-size: min(0.875rem, 3.7333vw);
  }
}

/*  607 */
