/* 基本設定 - 背景色をランディングページに合わせる */
body.login-page {
  background: #f8f7f6; /* 薄いベージュ色の背景 */
  font-family: grandam,sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-backface-visibility: hidden;
  word-spacing: 1px;
  line-height: 1;
  color: #303030;
  transition: .3s cubic-bezier(.4,.4,0,1);
}

/* ログインボックス - 白背景に設定 */
.login-box-ex, .login-box {
  width: 90%;
  max-width: 450px;
  margin: 5% auto;
  border: none; /* 枠線を削除 */
  background-color: #fff; /* 白背景 */
  border-radius: 8px; /* 角丸を追加 - ランディングページのカードと同様 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* 薄い影を追加 */
  overflow: hidden; /* 角丸内に内容を収める */
}

/* ロゴエリア */
.login-logo-ex {
  background-color: #1d5a9f;
  padding: 20px;
  text-align: center;
  margin-bottom: 0 !important;
  border-bottom: 1px solid #f0f0f0; /* この線のみ残す - 薄い色 */
  border-radius: 12px 12px 0 0; /* 上部の角のみ丸く */

}

.login-logo-ex img {
  max-width: 300px;
}

/* ログインフォームエリア - 白背景 */
.login-box-body {
  background: #fff;
  padding: 30px;  
  border: none; /* 枠線を削除 */
  box-shadow: none; /* 影を削除 */
  border-radius: 0 0 12px 12px; /* 下部の角のみ丸く */

}

/* ログインメッセージ */
.login-box-msg {
  color: #1e50a2;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
  line-height: 160%;
}

/* グラデーションラインをより細く */
.login-box-msg:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #f6ce00; /* 黄色のみのシンプルなライン */
}

/* フォームコントロール */
.form-control {
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 12px 15px;
  height: auto;
  font-size: 15px;
  margin-bottom: 15px;
  transition: .3s cubic-bezier(.4,.4,0,1);
  border-radius: 4px; /* 入力フィールドにも角丸を追加 */
}

.form-control:focus {
  border-color: #1e50a2;
  box-shadow: none; /* フォーカス時の影も削除 */
  outline: none;
}

/* ログインボタン */
.btn-success {
  background-color: #1e50a2 !important;
  border-color: #1e50a2 !important;
  border-radius: 0; /* 角丸を削除 */
  padding: 12px;
  transition: .3s cubic-bezier(.4,.4,0,1);
  border-radius: 4px; /* 入力フィールドにも角丸を追加 */
}

.btn-success:hover, 
.btn-success:active, 
.btn-success:focus {
  background-color: #164082 !important;
  border-color: #164082 !important;
  box-shadow: none !important; /* ホバー時の影も削除 */
}

/* ログインボタンスタイル */
#login-btn {
  cursor: pointer;
  font-weight: 600;
  padding: 12px;
  font-size: 16px;
  letter-spacing: 0.5px;
  width: 100%;
}

#login-btn.btn-flat {
  border-radius: 14px !important; /* !importantで他のスタイルを上書き */
}

.btn-success.btn-flat {
  border-radius: 14px !important;
}

/* もしくは btn-flat クラスの効果を打ち消す */
.btn-flat {
  border-radius: 14px !important;
}

/* リンクスタイル */
.login-box-body a {
  color: #1e50a2;
  transition: color 0.2s ease;
  font-size: 14px;
}

.login-box-body a:hover {
  color: #164082;
  text-decoration: none;
}

/* アイコン */
.login-box-body .fa {
  color: #1e50a2;
  margin-right: 5px;
}

/* チェックボックススタイル */
.checkbox-inline {
  font-size: 14px;
  color: #555;
  padding-left: 25px;
}

.checkbox-inline input[type="checkbox"] {
  margin-left: -25px;
}

/* エラーメッセージ */
.text-red {
  color: #e53935 !important;
  font-size: 14px;
  padding: 8px 0;
}

/* ローディング画面 */
.waitMe {
  background: rgba(255, 255, 255, 0.9);
}

.waitMe .waitMe_content {
  color: #1e50a2;
  font-size: 16px;
}

/* フォームアイコン */
.form-control-feedback {
  color: #1e50a2;
  line-height: 44px;
}

p.forget-pass {
  line-height: 160%;
}

.text-18{
  font-size: 18px;
}

/* ヘッダーの背景色変更 */
.login-logo {
  background-color: #1d5a9f !important; /* ご希望の青色 */
}

.login-logo img {
  height: 83px;
}

@media (max-width: 768px) {
  .login-logo img {
    height: 60px;
  }  
}

/* サイドバーをヘッダーに合わせて調整 */
.sidebar {
  background-color: #184d8a !important; /* ヘッダーよりやや暗め */
}

.sidebar a:hover {
  background-color: #1d5a9f !important; /* ヘッダーと同じ色 */
}

/* ハンバーガーメニューの色を更新 */
.hamburger-button {
  background-color: #184d8a !important;
}

/* モバイルフッターメニューも必要に応じて更新 */
.mobile-footer-menu {
  background-color: #1d5a9f !important;
}

a.tips,
a.tips:hover,
a.tips:active,
a.tips:focus {
  color: #1d5a9f !important;
}

a.tips,
a.tips:hover {
  border-bottom: dashed 1px #1d5a9f !important;
}

.sidebar-divider {
  margin: 12px 0;
  border-top: 1px solid #ccc;
  opacity: 0.5;
}

.guidance-text{
  line-height: 160%;
}