@charset "UTF-8";

body {
  background-color: rgb(223, 242, 252);
}

.center {
  text-align: center;
}

.header {
  height: 60px;
  display: flex;
  align-items: center;

  border-bottom: solid 2px rgb(37, 91, 162);
}

.logo {
  object-fit: scale-down;
  height: 50px;
  margin-left: 30%;
}

.title-box {
  height: 50px;
  background-color: #f6f8ff;
  display: flex;
  align-items: center;
}

.title {
  color: rgb(37, 91, 162);
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
  display: block;
  margin: 2px auto 0;
}

.top {
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 28px;
  color: #fff;
  background-color: rgb(37, 91, 162);
  max-width: 480px;
  text-align: center;
  padding: 10px;
  margin: 0 auto;
  margin-top: 20px;
  border-radius: 5px;
}

/* 枠 */
.container {
  max-width: 500px;
  padding: 0px;
  margin: 0 auto;
  margin-top: 10px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  border-color: rgb(37, 91, 162);
  display: block;
  background-color: white;
}

.container-heder {
  display: flex;
  max-width: 100%;
  height: 40px;
  font-size: 18px;
  color: rgb(37, 91, 162);
  text-align: center;
  align-items: center;
  padding-left: 20px;
  border-bottom: 1px solid #c0c0c0;
  border-radius: 5px 5px 0 0;
  background-color: #f5f5f5;
  margin-bottom: 20px;
}

/* ラベル */
.label {
  content: "";
  display: flex;
  float: left;
  width: 20%;
  height: 18px;
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
  align-items: center;
  background-color: #87cefa;
  border-radius: 5px;
  padding: 10px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 10px;
  margin-right: 5px;
}

/* 入力部分 */
.input {
  border: 1px #c0c0c0 solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
  width: 240px;
  margin-left: 5px;
  margin-top: 0px;
}

/* パスワード表示ボタン用のラッパー */
.password-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin-left: 5px;
}

.password-wrapper .input {
  width: 240px;
  margin-left: 0;
}

/* パスワード表示切り替えボタン */
.toggle-password {
  background: #fff;
  border: 1px solid #c0c0c0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 6px 6px;
  line-height: 1;
  white-space: nowrap;
  min-width: 50px;
}

.toggle-password:hover {
  background-color: #f0f0f0;
}

.explain {
  text-align: center;
  padding: 5px;
}

/* ログインボタン */
.btn {
  display: block;
  height: 40px;
  border-radius: 5px;
  border-color: #1e90ff;
  align-items: center;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background-color: #1e90ff;
  margin: 0 auto;
}
.btn:hover {
  background-color: #4169e1;
  transition: 0.3s;
}

/* 必須マーク */
.required::after {
  content: "必須";
  background-color: #e00000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  min-width: 10px;
  padding: 3px 7px;
  margin: 0px 5px;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  border-radius: 5px;
  display: inline-block;
}

/* 規約の表示とボタンの表示 */
#agreement {
  display: none; /* 初期状態で非表示 */
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 10px;
}
#checkboxContainer {
  display: none; /* チェックボックスも初期状態で非表示 */
  margin-top: 10px;
}
#submitButton {
  display: none; /* 送信ボタンも初期状態で非表示 */
  margin-top: 10px;
}
/*a {
	cursor: pointer;
	color: blue;
	text-decoration: underline;
}*/

#showAgreementLink {
  /* 規約事項リンクの調整 */
  display: inline-block;
  margin-left: 20px; /* ここで位置を調整 */
  color: inherit; /* 親要素の色を継承 */
  text-decoration: none; /* 下線を消す */
  cursor: pointer;
}

#agreement {
  /* 規約事項リンクの調整 */
  margin-left: 20px; /* ここで位置を調整 */
  margin-right: 20px; /* ここで位置を調整 */
}
#agreementCheckbox {
  /* 規約事項リンクの調整 */
  margin-left: 20px; /* ここで位置を調整 */
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffffff; /* ボタンの背景色 */
  color: #fff; /* テキストの色 */
  text-align: center;
  text-decoration: none; /* 下線を消す */
  border-radius: 5px; /* ボタンの角を丸くする */
  font-size: 16px;
  transition: background-color 0.3s ease; /* ホバー時の色の変化 */
  border: 1px solid #000; /* 黒色の1px枠線 */
}

.button:hover {
  background-color: #c0c0c0;
  color: #000;
  text-decoration: none;
  border: 1px solid #ccc; /* ホバー時の枠線色を変える */
}

.item1 {
  /*width: 90px; /*項目名の幅*/
  margin-left: 10px;
  /*text-align: right;*/
  text-align: left;
}

.linkButton {
  display: inline-flex; /* インラインボタンとして表示 */
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center; /* 垂直方向の中央揃え */
  height: 30px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  background-color: #c7c7c7;
  border: 1px solid #000; /* 枠線を追加 */
  text-decoration: none; /* リンクの下線を消す */
  padding: 0 10px; /* 左右のパディング */
  margin: 30px auto; /* 上下マージンを設定して中央に配置 */
  margin-left: 10px;
  width: 80px;
  cursor: pointer; /* ボタン風にカーソルを手の形に変更 */
}
.linkButton:hover {
  background-color: #b1b1b1;
  transition: 0.3s;
  cursor: pointer;
}

/* ルビ */
[data-ruby] {
  position: relative;
}
[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  top: -1em;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 0.5em;
  text-align: center;
}
