* {
    margin: 0;
    padding: 0;
  }
  
  body {
    padding: 2px;
    font-family: sans-serif;
    font-size: 1.0rem;
  }
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.6rem;
  }
  h3 {
    font-size: 2.2rem;
  }
  h4 {
    font-size: 1.8rem;
  }
  h5 {
    font-size: 1.4rem;
  }
  
  #logo-container {
    position: fixed;
    z-index: 8000;
    top: 1px;
    left: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    transform-origin: top left;
  }
  .pixel-row {
    display: flex;
    height: 8px;             /* 行の高さをピクセルの縦+2に合わせる */
    line-height: 0;
    letter-spacing: 0px;      /* ← 文字間を広げるならここ */
    margin: 0;
    padding: 0;
  }
  
  .pixel {
    display: inline-block;
    width: 7px;              /* ピクセルの横サイズ */
    height: 7px;              /* ピクセルの縦サイズ */
    margin: 1px;              /* 必要に応じて詰められる */
  }


  .modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  box-shadow: 0 0 10px #666;
}
.close-button {
  float: right;
  font-size: 20px;
  cursor: pointer;
}
/* ボタン(サインイン・サインアップ) */
#signin-form button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 3rem;
  border: none;
  border-radius: 6px;
  background-color: #388E3C;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#signin-form button:hover {
  background-color: #2E7D32;
}

#signin-form button#signup {
  background-color: #888888 !important;
}
#signin-form button#signup:hover {
  background-color: #666666 !important;
}

#signin-form button#password-reset {
  background-color: #888888 !important;
}
#signin-form button#password-reset:hover {
  background-color: #666666 !important;
}

#signin-form button#signin {
  background-color: #388E3C;
}
#signin-form button#signin:hover {
  background-color: #81C784 !important;
}

form div {
  margin-bottom: 15px;
}

form label {
  font-size: 1.6rem;
  padding: 10px;
  border-radius: 5px;
}

form select,
form input[type="file"] {
  font-size: 3rem;
  height: 100px;
  min-width: 200px;
  margin: 5px 0;
  padding: 5px;
  color: #388E3C;
  border: 5px solid #388E3C;
  background-color: #ffffff;
  border-radius: 20px;
}

form input[type="file"] {
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
}

form button {
  width: 100%;
  font-size: 5rem;
  margin: 5px 0;
  padding: 35px 35px;
  background-color: #388E3C;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

form button:hover {
  background-color: #388E3C;
}

/* 入力行：ラベルと入力欄を左右に分ける */
.input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
  max-width: 100%;
}

/* ラベル：左寄せ */
.input-row label {
  font-size: 2.5rem;
  text-align: left;
  width: 300px;
  flex: 1;
}

/* 入力欄：右寄せ */
.input-row input[type="email"],
.input-row input[type="password"] {
  flex: 1;
  width: 700px;
  text-align: left;
  padding: 10px;
  font-size: 1.1em;

  border: 2px solid #388E3C;
  border-radius: 5px;
}
