@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

/*ユーザーエージェント無効化*/
body{
  margin:0;
  padding: 0;
}

body{
  background-image: url("/image/michilog-background.svg");
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  height: 100vh;
}

html,body {
  overflow: hidden;
}

.login-container{
  width: 50vw;
  height: 100vh;
  position: relative;
}

.michilog-logo{
  width: 350px;
  display: block;
  position: relative;
  margin:auto;
  margin-bottom: 34px;
}

.login-form-pos{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 436px;
  height: 563.45px;
  margin: auto;
}

.login-form{
  width: 436px;
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  margin: auto;
}
.h2-size{
  font-size: 36px;
  margin: 10px 0;
}

.login-info{
  font-size: 20px;
}

.login-info p{
  margin-top: 10px;
  margin-bottom: 0px;
}

.box-size{
  width:400px;
  height: 48px;
  border-radius: 8px;
  font-size: 20px;
  padding: 0 16px;
}

.aisin-logo{
  width: 120px;
  display: block;
  margin: auto;
  margin-top: 44px;
}

.login-button{
  font-size: 16px;
  margin-top: 10px;
  display: block;
  width: 436px;
  height: 52px;
  padding: 10px 0;
  border-radius: 8px;
  margin: auto;
  font-weight: bold;
  background: #001a72;
  color: #ffffff;
  border: 2px solid #001a72;
  transition: 0.2s;
  text-decoration: none;
  text-align: center;
}

.login-button-pos{
  margin-top: 20px;
}

.login-button:hover {
  background: #000e40;
  border: 2px solid #000e40;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #f5f5f5;
  margin: 15% auto;
  padding: 30px;
  text-align: center;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.close-button {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

#qrcode {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: inline-block;
}

.loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  margin: 0; /* 余白をなくす */
  padding: 0; /* 余白をなくす */
  border: none; /* 境界線をなくす */
  font-family: 'Noto Sans JP', sans-serif;
}

.loading-content {
  position: relative;
  margin: 15% auto;
  width: 80%;
  max-width: 500px;
  z-index: 1000;
}

.loading-table {
  margin-left: auto;
  margin-right: auto;
  width: 8em;
}

.loading-image-cell {
  font-size: 30px;
  text-align: right;
}

.loading-text-cell {
  font-size: 30px;
  text-align: center;
}


/* ワンタイムパスワード入力 */
.otp-input-container {
  margin: 20px 0;
}

#otpInput {
  width: 200;
  height: 40px;
  text-align: center;
  font-size: 24px;
  letter-spacing: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  font-family: monospace;
}

/* 成功とか失敗等 */
.error-message {
  color: red;
  margin-top: 10px;
  display: none;
}

.success-message {
  color: green;
  margin-top: 10px;
  display: none;
}

#id_LoginResult {
  background: transparent;
  width: 100%;
  padding: 0px;
  outline: 0;
  border: 0px;
  font-size: 15px;
  text-align: left;
  color: #ff0000;
  font-family: 'Noto Sans JP', sans-serif;
}

.mfa-button{
  padding: 10px 20px;
}

.qrcode-space{
  margin: 5px;
}
.secret-code{
  margin-bottom: 5px;
}
