@charset "UTF-8";

/* ================================
   ▼ ログインフォーム
	全体コンテナ（中央配置）
================================ */
.custom-login-container {
    display: flex;
    justify-content: center;     /* 横中央 */
    align-items: flex-start;      /* 上揃え（中央にしたい場合は center） */
    padding-top: 10px;           /* ← ヘッダーとの距離。小さくすると上へ */
    padding-bottom: 40px;
    min-height: 80vh;             /* 画面高さ80% 使用して中央寄せ */
    box-sizing: border-box;
}

/*タイトル部分 */
.custom-login-wrapper { 
    font-size: 1.5em;
    color: #0073aa;             /* 青文字 */
    max-width: 400px;
    margin: 0 auto 10px;
    text-align: left;             /* タイトル配置 */
}

/* 「認証が必要です」などの説明文 */
.login-subtext { 
    font-size: 1rem;
    color: #666666;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* ログインフォーム（箱）*/
.custom-login-form {
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transform: scale(1.10);      /* ← 全体を10%拡大 */
    transform-origin: top center;
    max-width: 360px;            /* フォーム幅 */
    width: 90%;
}

/* 入力フォーム */
.custom-login-form input[type="text"],
.custom-login-form input[type="password"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;         /* 入力枠同士の間隔 */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* ボタン配置 */
.login-buttons {
    display: flex;
    justify-content: flex-start;   /* ボタンを左寄せ */
    gap: 20px;                          /* ボタン同士の間の余白 */
}

/* サインインボタン */
.loginBtn {
    background-color: #0073aa;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.loginBtn:hover { background-color: #005177; }

/* キャンセルボタン */
.cancelBtn {
    background-color: #a9a9a9;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
.cancelBtn:hover { background-color: #696969; }

/* エラー */
.custom-login-error {
    font-size: 1rem; 
    color: #d63638;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* ================================
   ▼ モーダル
================================ */
#customModal { 
    display:none;
    position:fixed; 
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.5);
    z-index:9999; 
}
#customModal h2 {
  font-size: 20px;
  font-weight: bold;
}

#customModal p {
  font-size: 15px;
  margin-bottom: 15px;
}

.modal-content {
    background:#fff;
    margin:10% auto;
    padding:20px;
    width:90%;
    max-width:500px;
    border-radius:10px;
    position:relative;
}

.modal-buttons { 
    display: flex;       /* 横並びにする */
    justify-content: flex-end;   /* 右寄せ（必要に応じて centerも可） */
    gap: 10px;         /* ボタン間のスペース */
    margin-top: 15px;
}

.modal-buttons button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

#proceedBtn:disabled { 
    background:#ccc; 
    color:#666; 
    cursor:not-allowed; 
}

#proceedBtn:not(:disabled) { 
    background:#007bff; 
    color:#fff;
}

/* ================================
   ▼ スマホ調整（max-width:480px）
================================ */
@media (max-width: 480px) {

    .custom-login-container {
        padding-top: 20px;       /* スマホ時 上マージン少なめ */
    }

    .custom-login-wrapper {
        font-size: 1.3em;
        max-width: 300px;
    }

    .custom-login-form {
        transform: scale(1.00);  /* スマホは等倍のほうが見やすい */
        padding: 20px;
        width: 95%;
    }

    .custom-login-form input[type="text"],
    .custom-login-form input[type="password"] {
        padding: 13px;
        margin-bottom: 20px;
    }

    .loginBtn,
    .cancelBtn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* ================================
   ▼ 会員向けページ（shoshiki）
================================ */
.shoshiki p {
  margin-bottom: 20px;       /* 文言とPDFリストの間の余白 */
}

.shoshiki ul li {
  margin-bottom: 10;      /* PDFリストの間の余白 */
}

.main section.shoshiki ul li a {
  display: block;
  height: 40px;
  line-height: 38px;
  width: 20em;
  padding-left: 45px;
}

@media only screen and (max-width: 600px) and (min-width: 300px) {
  .main section.shoshiki ul li a {
    height: auto;
    width: auto;
    line-height: 1.3;
    padding: 15px 0 15px 35px;
  }
}

/* 研修・ガイド資料 固定ページ専用の幅調整 */
body.page-slug-training-guide-doc section.shoshiki ul li a {
  width: 25em !important;
  display: inline-block !important;
}

