.login {
  position: relative;
  width: 700px;
}



.login-body {
  margin: 0;
  background: #ffffff;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* モニターの画面 */


/* キャラ */
.nazo {
  position: absolute;

  left: 50%;
  top: 42%;

  width: 90px;

  transform: translate(-50%, -50%);
}

/* WELCOME */


.enter-link .welcome-text {
  position: absolute;
  left: 50%;
  bottom: 60px;
transform: translateX(-50%) scaleX(-1);

  font-family: 'Px437_IBM_DOS_ISO9-2x';
  font-size: 34px;
  color: #000;
  text-decoration: none;
}

.enter-link:hover .screen{
    background:#ff40f2;
}

.screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 430px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  overflow: hidden;
}

.loading-screen{

    position:fixed;
    inset:0;

    background:black;

    display:none;

    justify-content:center;
    align-items:center;
    flex-direction:column;

    z-index:9999;
}

.loading-screen.show{
    display:flex;
}

.loading-title{
    color:#58ffa6;
    font-size:32px;
    margin-bottom:20px;
    font-family: 'Px437_IBM_DOS_ISO9-2x',sans-serif;
}

.loading-text{
    color:white;
    margin-bottom:20px;
    font-family: 'Px437_IBM_DOS_ISO9-2x',sans-serif;
}

.loading-bar{

    width:420px;
    height:24px;

    border:3px solid white;

    overflow:hidden;
}

.loading-progress{

    width:0%;

    height:100%;

    background:#58ffa6;

    transition:width .15s linear;
}

/* =====================
   responsive / mobile
===================== */

.mobile-status {
  display: none;
}

/* タブレットはPCと同じ雰囲気 */
@media (max-width: 1024px) {
  .login {
    width: 700px;
  }
}

/* モバイル */
@media (max-width: 600px) {

  .login-body {
    background: #bff5f2;
    display: block;
    min-height: 100svh;
  }

  .login {
    width: 100%;
    min-height: 100svh;
    position: relative;
  }

  .mobile-status {
    display: flex;
    position: fixed;
    top: 18px;
    left: 22px;
    right: 22px;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;

    /* ページごとにここだけ変えられる */
    --status-color: #000;
  }

  .battery {
    width: 72px;
    height: auto;
  }

  .signal {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 46px;
  }

  .signal span {
    display: block;
    width: 7px;
    background: var(--status-color);
    border-radius: 999px;
  }

  .signal span:nth-child(1) {
    height: 16px;
  }

  .signal span:nth-child(2) {
    height: 24px;
  }

  .signal span:nth-child(3) {
    height: 32px;
  }

  .signal span:nth-child(4) {
    height: 42px;
  }

  .screen {
    width: 100%;
    height: 100svh;
    top: 0;
    left: 0;
    transform: none;
    background: transparent;
  }

  .nazo {
    width: 96px;
    top: 48%;
  }

  .enter-link .welcome-text {
    bottom: 22%;
    font-size: 28px;
    white-space: nowrap;
  }

  .loading-title {
    font-size: 22px;
    text-align: center;
  }

  .loading-bar {
    width: 80%;
  }
}