/* ===================================================
   会員機能の追加分 (member.css)
   利用ファイル: page-accountsettings.php（秘密の質問・アカウント削除）
               page-member-notice.php（会員向けお知らせ）
               page-password-reset.php（パスワードの再設定）
   マイページ内は css/mypage.css の変数（--mypage-*）、
   再設定ページはサイト共通の変数（--jlg-*）を利用しています
   =================================================== */

/* ---------- 共通：フォーム・メッセージ（マイページ内） ---------- */
.jlgMem__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 420px;
}

.jlgMem__form--wide {
  max-width: 640px;
}

.jlgMem__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.jlgMem__label {
  font-size: 0.85rem;
  color: var(--mypage-text-sub);
  letter-spacing: 0.5px;
}

.jlgMem__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mypage-border-color);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--mypage-text-main);
  font-size: 16px; /* 16px未満だとiPhoneで画面が拡大されるため */
  font-family: var(--mypage-font-family);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select.jlgMem__input option {
  background: #1a1820;
  color: #fff;
}

.jlgMem__input:focus {
  outline: none;
  border-color: var(--mypage-accent-pink);
  box-shadow: 0 0 0 3px var(--mypage-accent-pink-glow);
}

.jlgMem__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.jlgMem__range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  max-width: 320px;
  color: var(--mypage-text-sub);
  font-size: 0.9rem;
}

textarea.jlgMem__input {
  line-height: 1.7;
  resize: vertical;
}

.jlgMem__help {
  margin: 0 0 1.2rem;
  color: var(--mypage-text-sub);
  font-size: 0.85rem;
  line-height: 1.7;
}

.jlgMem__status {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: 2px;
}

.jlgMem__status.is-on {
  background: rgba(80, 200, 140, 0.16);
  color: #6fe0a8;
}

.jlgMem__status.is-off {
  background: rgba(255, 190, 70, 0.16);
  color: #ffc864;
}

.jlgMem__message {
  margin: 0 0 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.jlgMem__message.is-ok {
  background: rgba(80, 200, 140, 0.12);
  border: 1px solid rgba(80, 200, 140, 0.4);
  color: #8cf0bd;
}

.jlgMem__message.is-error {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.5);
  color: #ff9aa2;
}

/* ---------- アカウント削除 ---------- */
.jlgMypage .content-block.jlgMem__danger {
  border-color: rgba(230, 57, 70, 0.35);
}

.jlgMem__dangerList {
  margin: 0 0 1.2rem;
  padding-left: 1.2em;
  color: var(--mypage-text-main);
  font-size: 0.88rem;
  line-height: 1.8;
}

.jlgMem__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  cursor: pointer;
}

.jlgMem__check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #e63946;
}

.jlgMem__dangerBtn {
  align-self: flex-start;
  background: none;
  border: 1px solid #e63946;
  color: #ff7b85;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.jlgMem__dangerBtn:hover {
  background: #e63946;
  color: #fff;
}

/* ---------- 会員向けお知らせ ---------- */
.jlgNotice__post summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
}

.jlgNotice__post[open] summary {
  margin-bottom: 1.2rem;
}

.jlgNotice__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlgNotice__item {
  border: 1px solid var(--mypage-border-color);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.jlgNotice__item.is-new {
  border-color: rgba(255, 42, 133, 0.45);
  background: rgba(255, 42, 133, 0.06);
}

.jlgNotice__item summary {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) 14px;
  align-items: center;
  gap: 4px 10px;
  min-height: 56px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
}

.jlgNotice__item summary::-webkit-details-marker {
  display: none;
}

.jlgNotice__item summary::after {
  content: "";
  grid-column: 4;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--mypage-text-sub);
  border-bottom: 2px solid var(--mypage-text-sub);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.jlgNotice__item details[open] summary::after {
  transform: rotate(-135deg);
}

.jlgNotice__date {
  color: var(--mypage-text-sub);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.jlgNotice__new {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mypage-accent-pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.jlgNotice__title {
  grid-column: 3;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* NEW が無い時は、日付の隣にタイトルを寄せる */
.jlgNotice__item:not(.is-new) summary {
  grid-template-columns: auto minmax(0, 1fr) 14px;
}

.jlgNotice__item:not(.is-new) .jlgNotice__title {
  grid-column: 2;
}

.jlgNotice__item:not(.is-new) summary::after {
  grid-column: 3;
}

.jlgNotice__body {
  padding: 4px 16px 16px;
  border-top: 1px solid var(--mypage-border-color);
  color: var(--mypage-text-main);
  font-size: 0.92rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.jlgNotice__body a {
  color: var(--mypage-accent-pink);
}

.jlgNotice__body img {
  max-width: 100%;
  height: auto;
}

.jlgNotice__admin {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.jlgNotice__admin a,
.jlgNotice__admin button {
  padding: 6px 14px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 8px;
  background: none;
  color: var(--mypage-text-sub);
  font-family: inherit;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
}

.jlgNotice__admin button:hover {
  border-color: #e63946;
  color: #ff7b85;
}

.jlgNotice__pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 1.2rem;
  color: var(--mypage-text-sub);
  font-size: 0.88rem;
}

.jlgNotice__pager a {
  color: #fff;
  text-decoration: none;
}

.jlgNotice__pager > :last-child {
  text-align: right;
}

@media (max-width: 768px) {
  .jlgNotice__item summary {
    grid-template-columns: auto auto 1fr 14px;
  }

  .jlgNotice__item.is-new .jlgNotice__title {
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .jlgNotice__item.is-new summary::after {
    grid-row: 1 / 3;
  }
}

/* ---------- パスワードの再設定（サイト共通ヘッダーのページ） ---------- */
.jlgReset {
  width: min(100% - 28px, 520px);
  margin: 28px auto 72px;
  font-family: var(--jlg-font);
  color: var(--jlg-ink);
  font-feature-settings: "palt" 1;
  text-align: left;
}

.jlgReset__field > span,
.jlgReset__field small,
.jlgReset__question {
  text-align: left;
}

.jlgReset__card {
  padding: 36px 28px 32px;
  border: 1px solid var(--jlg-line);
  border-radius: var(--jlg-radius-lg);
  background: #fff;
  box-shadow: var(--jlg-shadow);
}

.jlgReset .jlgReset__en {
  margin: 0 0 8px;
  font-family: var(--jlg-font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  background: var(--jlg-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jlgReset h1.jlgReset__title {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--jlg-ink);
  font-family: var(--jlg-font);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  text-align: left;
}

.jlgReset .jlgReset__lead,
.jlgReset .jlgReset__hint,
.jlgReset .jlgReset__back {
  margin: 0;
  color: var(--jlg-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.jlgReset .jlgReset__hint {
  margin-top: 20px;
  font-size: 12.5px;
}

.jlgReset .jlgReset__back {
  margin-top: 18px;
  text-align: center;
}

.jlgReset .jlgReset__back a {
  color: var(--jlg-pink);
  font-weight: 700;
}

.jlgReset__form {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
}

.jlgReset__field {
  display: grid;
  gap: 6px;
}

.jlgReset__field > span {
  font-size: 13px;
  font-weight: 700;
}

.jlgReset .jlgReset__field input {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1.5px solid var(--jlg-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--jlg-ink);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jlgReset .jlgReset__field input:focus {
  outline: 0;
  border-color: var(--jlg-pink);
  box-shadow: 0 0 0 4px rgba(255, 0, 144, 0.12);
}

.jlgReset__field small {
  color: var(--jlg-muted);
  font-size: 12px;
  line-height: 1.6;
}

.jlgReset code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--jlg-tint);
  font-size: 0.92em;
}

.jlgReset__question {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--jlg-tint);
}

.jlgReset__question span {
  display: block;
  margin-bottom: 4px;
  color: var(--jlg-pink);
  font-size: 12px;
  font-weight: 700;
}

.jlgReset .jlgReset__question p {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.jlgReset .jlgReset__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: var(--jlg-grad);
  box-sizing: border-box;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(255, 0, 144, 0.7);
}

.jlgReset .jlgReset__actions {
  margin: 24px 0 0;
}

.jlgReset .jlgReset__error {
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(230, 57, 70, 0.4);
  border-radius: 12px;
  background: #fff1f2;
  color: #c62836;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.jlgReset__note {
  padding: 16px 18px;
  border: 1px solid rgba(255, 0, 144, 0.25);
  border-radius: 16px;
  background: var(--jlg-tint);
}

.jlgReset .jlgReset__note p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

.jlgReset__note b {
  font-weight: 900;
}

.jlgReset .jlgReset__note p + p {
  margin-top: 6px;
}

@media screen and (max-width: 759px) {
  .jlgReset {
    margin-top: 16px;
  }

  .jlgReset__card {
    padding: 28px 20px 26px;
  }

  .jlgReset h1.jlgReset__title {
    font-size: 21px;
  }
}

/* ---------- 会員登録・ログイン（page-register.php / page-login.php） ---------- */
.jlgReset .jlgReset__lead b {
  color: var(--jlg-ink);
  font-weight: 900;
}

.jlgReset__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jlgReset__rules {
  padding: 16px 18px;
  border: 1px solid var(--jlg-line);
  border-radius: 16px;
  background: #faf7fb;
  text-align: left;
}

.jlgReset .jlgReset__rulesTitle {
  margin: 0 0 8px;
  color: var(--jlg-pink);
  font-size: 13px;
  font-weight: 900;
}

.jlgReset .jlgReset__rules ul {
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: disc;
}

.jlgReset .jlgReset__rules li {
  margin: 0;
  padding: 0;
  color: var(--jlg-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.75;
  list-style: disc;
}

.jlgReset .jlgReset__rules li + li {
  margin-top: 6px;
}

.jlgReset__rules b {
  font-weight: 900;
}

.jlgReset__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.jlgReset .jlgReset__agree input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--jlg-pink);
}

.jlgReset .jlgReset__error a {
  color: inherit;
  text-decoration: underline;
}

.jlgReset .jlgReset__back + .jlgReset__back {
  margin-top: 8px;
}

/* ---------- 不正チェック（page-multi-account.php） ---------- */
.jlgMa__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlgMa__pair {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--mypage-border-color);
  border-left: 4px solid var(--mypage-text-sub);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.jlgMa__pair.is-mid {
  border-left-color: #ffc864;
}

.jlgMa__pair.is-high {
  border-left-color: #e63946;
  background: rgba(230, 57, 70, 0.07);
}

.jlgMa__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--mypage-text-sub);
  font-size: 0.72rem;
}

.jlgMa__score b {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.jlgMa__users {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.jlgMa__user {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.jlgMa__user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.jlgMa__user p {
  margin: 0;
  min-width: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.jlgMa__user b,
.jlgMa__user small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jlgMa__user small {
  color: var(--mypage-text-sub);
  font-size: 0.72rem;
}

.jlgMa__reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.jlgMa__reasons li {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
}

.jlgMa__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.jlgMa__actions a,
.jlgMa__actions button {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mypage-border-color);
  border-radius: 8px;
  background: none;
  color: var(--mypage-text-main);
  font-family: inherit;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.jlgMa__actions button:hover,
.jlgMa__actions a:hover {
  border-color: var(--mypage-accent-pink);
}

.jlgMa__summary {
  font-weight: 700;
  cursor: pointer;
}

details[open] > .jlgMa__summary {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .jlgMa__pair {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .jlgMa__score b {
    font-size: 1.4rem;
  }

  .jlgMa__users {
    grid-template-columns: 1fr;
  }
}

/* ---------- 会員登録：「確認メールを送りました」の画面 ---------- */
.jlgReset .jlgReset__mail {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--jlg-tint);
  color: var(--jlg-ink);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.jlgReset .jlgReset__done {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(40, 160, 100, 0.4);
  border-radius: 12px;
  background: #eefaf3;
  color: #1c7a4b;
  font-size: 14px;
  font-weight: 700;
}

.jlgReset .jlgReset__rules a {
  color: var(--jlg-pink);
  font-weight: 700;
}

.jlgReset .jlgReset__btn.is-sub {
  border: 1.5px solid var(--jlg-pink);
  background: #fff;
  box-shadow: none;
  color: var(--jlg-pink);
}

.jlgReset .jlgReset__hint a {
  color: var(--jlg-pink);
  font-weight: 700;
}

/* ---------- 不正チェック：メール未確認の登録 ---------- */
.jlgMa__pending {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlgMa__pending li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.jlgMa__pending p {
  margin: 0;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.jlgMa__pending small {
  display: block;
  color: var(--mypage-text-sub);
  font-size: 0.74rem;
}

.jlgMa__pending .jlgMa__actions {
  margin: 0;
}

/* ---------- お問い合わせフォーム（page-inquiry.php） ---------- */
.jlgReset .jlgReset__field select,
.jlgReset .jlgReset__field textarea {
  width: 100%;
  margin: 0;
  padding: 0 16px;
  border: 1.5px solid var(--jlg-line);
  border-radius: 14px;
  background-color: #fff;
  box-shadow: none;
  box-sizing: border-box;
  color: var(--jlg-ink);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jlgReset .jlgReset__field select {
  height: 52px;
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--jlg-pink) 50%), linear-gradient(135deg, var(--jlg-pink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.jlgReset .jlgReset__field textarea {
  min-height: 150px;
  padding-top: 14px;
  padding-bottom: 14px;
  line-height: 1.7;
  resize: vertical;
}

.jlgReset .jlgReset__field select:focus,
.jlgReset .jlgReset__field textarea:focus {
  outline: 0;
  border-color: var(--jlg-pink);
  box-shadow: 0 0 0 4px rgba(255, 0, 144, 0.12);
}

/* ---------- お問い合わせ一覧（page-inquiries.php） ---------- */
.jlgInq__count {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--mypage-accent-pink);
  box-shadow: 0 0 12px var(--mypage-accent-pink-glow);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
}

.jlgInq__bulk {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.jlgInq__bulk button,
.jlgInq__actions a,
.jlgInq__actions button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 8px;
  background: none;
  color: var(--mypage-text-main);
  font-family: inherit;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.jlgInq__actions .is-main {
  border-color: transparent;
  background: linear-gradient(135deg, var(--mypage-accent-pink), #d6006e);
  color: #fff;
  font-weight: 700;
}

.jlgInq__actions .is-danger {
  margin-left: auto;
  color: var(--mypage-text-sub);
}

.jlgInq__actions .is-danger:hover {
  border-color: #e63946;
  color: #ff7b85;
}

.jlgInq__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlgInq__item {
  padding: 14px 16px;
  border: 1px solid var(--mypage-border-color);
  border-left: 4px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0.78;
}

.jlgInq__item.is-unread {
  border-color: rgba(255, 42, 133, 0.45);
  border-left-color: var(--mypage-accent-pink);
  background: rgba(255, 42, 133, 0.08);
  opacity: 1;
}

.jlgInq__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--mypage-text-sub);
}

.jlgInq__head time {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.jlgInq__new {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--mypage-accent-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.jlgInq__type {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mypage-text-main);
}

.jlgInq__from {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.jlgInq__from span {
  margin-left: 10px;
  color: var(--mypage-text-sub);
  font-size: 0.85rem;
}

.jlgInq__status {
  margin: 4px 0 0;
  color: var(--mypage-text-sub);
  font-size: 0.78rem;
}

.jlgInq__status b {
  color: #ffc864;
}

.jlgInq__body {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.jlgInq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* スマホのタブバー「メニュー」に出す、管理者用の合計バッジ */
.jlgMyTab__badge.is-admin {
  background: #ffc864;
  color: #1a1820;
}

/* お問い合わせ一覧：メールアドレスの「コピー」ボタン */
.jlgInq__from {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.jlgInq__from span {
  margin-left: 0;
}

.jlgInq__copy {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--mypage-accent-pink);
  border-radius: 999px;
  background: none;
  color: var(--mypage-accent-pink);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.jlgInq__copy.is-done {
  border-color: #6fe0a8;
  background: rgba(80, 200, 140, 0.16);
  color: #8cf0bd;
}

/* 不正チェック：BAN中のアカウントの目印 */
.jlgMa__ban {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #e63946;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: 2px;
}

/* 登録ページ：メールアドレスについての案内（見落とし防止の枠） */
.jlgReset .jlgReset__mailTip {
  margin: 22px 0 12px;
  padding: 14px 16px;
  border: 2px solid var(--jlg-pink, #ff0090);
  border-radius: 12px;
  background: #fff4fa;
  text-align: left;
}
.jlgReset .jlgReset__mailTip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--jlg-ink, #222);
}
.jlgReset .jlgReset__mailTip p + p {
  margin-top: 6px;
}
.jlgReset .jlgReset__mailTip .jlgReset__mailTipTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700 !important;
  color: var(--jlg-pink, #ff0090);
}
.jlgReset .jlgReset__mailTipTitle span {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--jlg-pink, #ff0090);
  color: #fff;
  font-size: 13px;
  font-weight: 700 !important;
  line-height: 20px;
  text-align: center;
}
.jlgReset .jlgReset__mailTip b {
  font-weight: 700 !important;
  background: linear-gradient(transparent 60%, #ffd0e8 60%);
}
.jlgReset .jlgReset__mailTip + .jlgReset__field {
  margin-top: 0;
}

/* プロフィール：URL（複数）と興味あるコンテンツ */
.jlgMem__label small {
  margin-left: 6px;
  color: var(--mypage-text-sub);
  font-size: 0.78rem;
  font-weight: normal;
}
.jlgMem__urls {
  display: grid;
  gap: 8px;
}
.jlgMem__urlRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.jlgMem__urlDel {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 10px;
  background: transparent;
  color: var(--mypage-text-sub);
  font-size: 1.1rem;
  cursor: pointer;
}
.jlgMem__urlDel:hover {
  border-color: var(--mypage-accent-pink);
  color: var(--mypage-accent-pink);
}
.jlgMem__urlAdd {
  justify-self: start;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px dashed var(--mypage-border-color);
  border-radius: 10px;
  background: transparent;
  color: var(--mypage-text-main);
  font-size: 0.85rem;
  cursor: pointer;
}
.jlgMem__urlAdd:hover {
  border-color: var(--mypage-accent-pink);
  color: var(--mypage-accent-pink);
}
.jlgMem__urlAdd[hidden] {
  display: none;
}
.jlgMem__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.jlgMem__check {
  position: relative;
  cursor: pointer;
}
.jlgMem__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.jlgMem__check span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 999px;
  color: var(--mypage-text-sub);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.jlgMem__check span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
}
.jlgMem__check input:checked + span {
  border-color: var(--mypage-accent-pink);
  background: var(--mypage-accent-pink-glow);
  color: var(--mypage-text-main);
}
.jlgMem__check input:checked + span::before {
  border-color: var(--mypage-accent-pink);
  background: var(--mypage-accent-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.jlgMem__check input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--mypage-accent-pink-glow);
}

/* 会員詳細：URL と 興味あるコンテンツ */
.jlgMemberDetail__urls {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.jlgMemberDetail__urls a {
  color: var(--mypage-accent-pink);
  word-break: break-all;
}
.jlgMemberDetail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.jlgMemberDetail__tags span {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mypage-accent-pink-glow);
  color: var(--mypage-text-main);
  font-size: 0.82rem;
}

/* =====================================================================
   アカウント設定：項目のタブ切り替え
   ===================================================================== */
.jlgAcctTabs {
  position: sticky;
  top: 78px; /* マイページの固定ヘッダー（高さ70px）の下にくっつける */
  z-index: 20;
  display: flex;
  gap: 6px;
  margin: 0 0 1.2rem;
  padding: 6px;
  border: 1px solid var(--mypage-border-color);
  border-radius: 14px;
  background: rgba(16, 14, 22, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: none;
}
.jlgAcctTabs::-webkit-scrollbar {
  display: none;
}
.jlgAcctTabs__btn {
  flex: 1 0 auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mypage-text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.jlgAcctTabs__btn:hover {
  color: var(--mypage-text-main);
  background: rgba(255, 255, 255, 0.04);
}
.jlgAcctTabs__btn.is-active {
  background: linear-gradient(135deg, var(--mypage-accent-pink), var(--mypage-accent-purple));
  color: #fff;
  box-shadow: 0 4px 14px var(--mypage-accent-pink-glow);
}
.jlgAcctTabs__btn.is-danger:not(.is-active) {
  color: #e9768a;
}
.jlgAcctTabs__btn.is-danger.is-active {
  background: #c8344f;
  box-shadow: 0 4px 14px rgba(200, 52, 79, 0.35);
}
.jlgAcctTabs__btn:focus-visible {
  outline: 2px solid var(--mypage-accent-pink);
  outline-offset: 2px;
}
.has-acct-tabs [data-acct-tab][hidden] {
  display: none !important;
}
.has-acct-tabs [data-acct-tab] {
  animation: jlgAcctTabIn 0.25s ease;
}
@keyframes jlgAcctTabIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  .jlgAcctTabs {
    margin-left: -2px;
    margin-right: -2px;
    border-radius: 12px;
  }
  /* 横にスクロールできることが分かるよう、右端を少し薄くする */
  .jlgAcctTabs {
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .jlgAcctTabs__btn {
    flex: 0 0 auto;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .has-acct-tabs [data-acct-tab] {
    animation: none;
  }
}

/* 体重の入力欄と「非公開」チェック */
.jlgMem__withToggle {
  display: grid;
  grid-template-columns: minmax(0, 220px) auto;
  align-items: center;
  gap: 10px;
}
.jlgMem__note {
  display: block;
  margin-top: 6px;
  color: var(--mypage-text-sub);
  font-size: 0.78rem;
}
