/*
Theme Name: DEV_さよならララサポートサイト
Theme URI: gblara-support.com
Author:
Author URI:
Description:
Version: 1.0.0
*/

/* ここに記述、またはCSSファイルを別途読み込み */
body {
  margin: 0;
  font-family: sans-serif;
  color: #333;
}
.site-title{
  font-size:1.6rem;
  text-align: center;
  text-decoration: none;
}
.swpm-logged-out .site-main h2{
  display: none;
}
.swpm-logged-in .site-main h2{
  display: block;
  font-size:1.2rem;
  text-align: center;
}
.site-description{
  text-align: center;
  display: none;
}
.site-footer{}
.site-footer address{
  text-align: center;
  font-style:normal;
}
/* ==================================================
   SWPM ログインフォーム（Bootstrap 5風デザイン調整）
   
   https://dev.gblara-support.com/membership-login/
================================================== */

/* 1. カード風の外枠（コンテナ） */
.swpm-login-widget-form {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem; /* Bootstrap .rounded-3 */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08); /* Bootstrap .shadow-sm */
}

/* 2. 入力グループの余白 */
.swpm-username-label,
.swpm-password-label {
  margin-bottom: 0.375rem;
}

.swpm-username-input,
.swpm-password-input {
  margin-bottom: 1.25rem;
}

/* 3. ラベル（Bootstrap .form-label） */
.swpm-login-widget-form label.swpm-label {
  font-weight: 600;
  color: #212529;
  font-size: 0.9rem;
  display: block;
}

/* 4. テキスト入力欄（Bootstrap .form-control） */
.swpm-login-widget-form input[type="text"].swpm-text-field,
.swpm-login-widget-form input[type="password"].swpm-text-field {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem; /* Bootstrap .rounded */
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

/* フォーカス時のリングアニメーション */
.swpm-login-widget-form input[type="text"].swpm-text-field:focus,
.swpm-login-widget-form input[type="password"].swpm-text-field:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 5. チェックボックス周辺（Bootstrap .form-check） */
.swpm-remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.swpm-remember-me input[type="checkbox"] {
  width: 1em;
  height: 1em;
  margin-top: 0;
  cursor: pointer;
}

.swpm-rememberme-label {
  font-size: 0.875rem;
  color: #495057;
  cursor: pointer;
  margin-bottom: 0;
}

/* 6. ログインボタン（Bootstrap .btn .btn-primary .w-100） */
.swpm-login-submit input[type="submit"].swpm-login-form-submit {
  display: inline-block;
  width: 100%;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #0d6efd; /* Bootstrap Primary Color */
  border: 1px solid #0d6efd;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.swpm-login-submit input[type="submit"].swpm-login-form-submit:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* 7. サブリンクエリア（忘れた方・新規登録） */
.swpm-forgot-pass-link,
.swpm-join-us-link {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.swpm-login-form-pw-reset-link,
.swpm-login-form-register-link {
  color: #0d6efd;
  text-decoration: none;
}

.swpm-login-form-pw-reset-link:hover,
.swpm-login-form-register-link:hover {
  text-decoration: underline;
}

/* 8. エラーメッセージ表示エリア */
.swpm-login-action-msg {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #dc3545; /* Bootstrap Danger Color */
  text-align: center;
}





/* ==================================================
   SWPM ログイン後ステータス表示（カード風デザイン）

   https://dev.gblara-support.com/membership-login/
================================================== */

/* 1. 外枠（カードコンテナ） */
.swpm-login-widget-logged {
  max-width: 460px;
  margin: 2rem auto;
  padding: 1.75rem 2rem;
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

/* 2. 各情報行（ラベルと値を左右または上下に綺麗に整理） */
.swpm-logged-username,
.swpm-logged-status,
.swpm-logged-membership,
.swpm-logged-expiry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e9ecef;
}

/* 最後の項目だけ下線を消す */
.swpm-logged-expiry {
  border-bottom: none;
}

/* 3. ラベル（項目名） */
.swpm-logged-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
}

/* 4. 値（入力内容） */
.swpm-logged-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #212529;
  text-align: right;
  word-break: break-all; /* 長いメールアドレスの溢れ防止 */
}

/* 5. アカウント状態（「有効」を目立たせるバッジ風） */
.swpm-logged-status-value {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  color: #0f5132;
  background-color: #d1e7dd;
  border-radius: 100px;
}

/* 6. 不要な空マージン調整 */
.swpm-margin-bottom-10 {
  margin-bottom: 1.5rem;
}

/* 7. ログアウトボタン */
.swpm-logged-logout-link {
  text-align: center;
}

.swpm-logged-logout-link a {
  display: block;
  width: 100%;
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #dc3545;
  background-color: #fff;
  border: 1px solid #dc3545;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-sizing: border-box;
}

/* ログアウトボタンのホバー効果 */
.swpm-logged-logout-link a:hover {
  color: #ffffff;
  background-color: #dc3545;
}



/* ==================================================
   音声ページ
================================================== */
.audio-container{}
.audio-container .audio-hls{
  text-align: center;
}
