/* TOLTO 認証まわり（ログイン・会員登録・パスワード再設定）の画面。tolto-site.css と併用 */
body.t-auth { min-height: 100vh; display: flex; flex-direction: column; }
.a-main { flex: 1; background: #f8fafb; padding: 66px 20px 100px; display: flex; justify-content: center; align-items: flex-start; }
.a-wrap { width: 100%; max-width: 420px; }
.a-heading { text-align: center; margin: 0 0 12px; font-size: 27px; font-weight: 800; letter-spacing: .035em; color: var(--t-ink); }
.a-intro { text-align: center; color: #7a8490; font-size: 13px; margin: 0 0 30px; line-height: 1.9; }
.a-card { background: #fff; border: 1px solid #e8edf0; border-radius: 16px; padding: 32px 32px 30px; box-shadow: 0 8px 30px rgba(25, 43, 56, .035); }
.a-help { font-size: 13px; line-height: 1.9; color: #6f7b87; margin: 0 0 25px; }

.a-field { display: block; margin-bottom: 17px; }
.a-label { display: block; font-size: 12px; font-weight: 700; color: #485461; margin-bottom: 8px; }
.a-input { width: 100%; border: 1px solid #dfe6eb; border-radius: 8px; background: #fff; min-height: 45px; padding: 0 13px; font-size: 14px; outline: none; color: var(--t-ink); }
.a-input:focus { border-color: var(--t-blue); box-shadow: 0 0 0 3px rgba(7, 155, 217, .1); }
.a-input.is-invalid { border-color: #d94e64; }
.a-error { display: block; color: #c2334d; font-size: 12px; margin-top: 6px; line-height: 1.6; }
.a-notice { background: #edf8fd; color: #0b5f86; border-radius: 10px; padding: 12px 15px; font-size: 12px; line-height: 1.8; margin: -10px 0 18px; text-align: center; }
.a-alert { background: #fdeef0; color: #a3243b; border-radius: 9px; padding: 13px 15px; font-size: 12px; line-height: 1.8; margin: 0 0 20px; }
.a-alert a { color: #087eb2; font-weight: 700; text-decoration: none; display: inline-block; margin-top: 4px; }

.a-pw { position: relative; display: block; }
.a-pw .a-input { padding-right: 70px; }
.t-site .a-pw-toggle { position: absolute; right: 9px; top: 7px; background: transparent; border: 0; padding: 8px; color: #637482; font-size: 12px; }

.t-site .a-submit { width: 100%; background: var(--t-blue); color: #fff; border: 0; border-radius: 9px; min-height: 48px; font-size: 14px; font-weight: 750; }
.t-site .a-submit:hover { background: #0688bf; }
.a-back { text-align: center; margin: 24px 0 0; }
.a-back a { font-size: 12px; font-weight: 700; color: #087eb2; text-decoration: none; }
.a-back a:hover { text-decoration: underline; }

/* LINE・区切り・新規登録への導線 */
.t-site .a-line { width: 100%; background: #06c755; border: 0; border-radius: 9px; color: #fff; font-size: 14px; font-weight: 750; min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.t-site .a-line:hover { background: #05b34c; color: #fff; }
.a-line-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #06c755; font-size: 9px; font-weight: 900; margin-right: 7px; }
.a-separator { display: flex; align-items: center; gap: 13px; color: #99a2ac; font-size: 12px; margin: 25px 0 22px; }
.a-separator::before, .a-separator::after { content: ''; height: 1px; background: #e8ecef; flex: 1; }
.a-forgot { text-align: right; margin: -4px 0 22px; }
.a-forgot a, .a-signup a { color: #087eb2; text-decoration: none; font-weight: 700; }
.a-forgot a { font-size: 12px; }
.a-forgot a:hover, .a-signup a:hover { text-decoration: underline; }
.a-signup { font-size: 13px; color: #67717c; text-align: center; border-top: 1px solid #eef1f3; padding-top: 25px; margin: 26px 0 0; }

/* 会員登録 */
.a-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-req { color: #e24b5b; margin-left: 3px; }
.a-line-desc { text-align: center; font-size: 11px; color: #8a95a0; margin: 10px 0 0; line-height: 1.6; }
.a-linked { background: #e9f9ef; color: #157a3e; border-radius: 9px; padding: 12px 15px; font-size: 12px; line-height: 1.8; margin: 0 0 22px; text-align: center; }
.a-next-host { background: #edf8fd; color: #0b5f86; border-radius: 9px; padding: 12px 15px; font-size: 12px; line-height: 1.8; margin: 0 0 22px; }
.t-site .a-submit.is-spaced { margin-top: 14px; }

/* ホスト登録 */
.h-wrap { width: 100%; max-width: 510px; margin: 0 auto; }
.h-icon { width: 54px; height: 54px; border-radius: 50%; background: #e5f5fc; color: var(--t-blue); display: grid; place-items: center; margin: 0 auto 17px; font-size: 26px; }
.h-heading { text-align: center; color: #203c61; font-size: 25px; margin: 0 0 12px; font-weight: 750; text-wrap: balance; }
.h-lead { text-align: center; font-size: 13px; color: #72808c; line-height: 1.85; margin: 0 0 27px; }
.h-benefits { border-radius: 12px; background: #edf8fd; padding: 19px 22px; margin-bottom: 17px; }
.h-benefits h2 { margin: 0 0 11px; font-size: 13px; color: #235777; }
.h-benefits p { margin: 7px 0; font-size: 12px; color: #426779; }
.h-card { background: #fff; border: 1px solid #e8edf1; border-radius: 15px; padding: 29px 30px; box-shadow: 0 2px 7px #102c4108; }
.h-card .a-field { margin-bottom: 19px; }
.h-card textarea.a-input { resize: vertical; min-height: 85px; padding: 11px 13px; line-height: 1.7; }
.h-help { font-size: 11px; color: #87939e; margin: 7px 0 0; line-height: 1.7; }
.h-section { font-size: 13px; font-weight: 750; margin: 26px 0 15px; color: #344553; border: 0; padding: 0; }
.h-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 12px 0 10px; border: 0; padding: 0; }
.h-plan { cursor: pointer; position: relative; }
.h-plan input { position: absolute; opacity: 0; }
.h-plan-face { border: 1.5px solid #dce5ea; border-radius: 10px; min-height: 102px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 13px 6px; text-align: center; transition: .15s; }
.h-plan-face strong { font-size: 16px; color: #263e53; }
.h-plan-face span { font-size: 11px; color: #71808e; line-height: 1.5; }
.h-plan input:checked + .h-plan-face { border-color: var(--t-blue); background: #edf8fd; }
.h-plan input:focus-visible + .h-plan-face { outline: 3px solid #acdfff; }
.h-plan input:disabled + .h-plan-face { opacity: .45; cursor: not-allowed; }
.h-plan-explain { font-size: 11px; color: #697e8b; line-height: 1.8; margin: 0 0 24px; }
.h-optional { border-top: 1px solid #edf0f2; margin: 24px 0; padding-top: 19px; }
.h-optional summary { cursor: pointer; color: #087eb2; font-weight: 700; font-size: 13px; }
.h-optional .h-inner { padding-top: 20px; }
.h-cancel { display: block; text-align: center; margin: 17px 0 0; font-size: 12px; color: #73818b; text-decoration: none; }
.h-cancel:hover { color: var(--t-blue); }

/* 任意ラベル・入力欄のグループ見出し */
.a-opt { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; color: #7a8692; background: #f1f4f6; border-radius: 4px; padding: 1px 6px; vertical-align: 1px; }
.a-group { border-top: 1px solid #eef1f3; margin: 26px 0 18px; padding-top: 22px; }
.a-group h2 { font-size: 14px; font-weight: 750; margin: 0 0 4px; color: #344553; }
.a-group p { font-size: 11px; color: #87939e; margin: 0; line-height: 1.7; }
.a-note { font-size: 11px; color: #87939e; margin: 6px 0 0; line-height: 1.7; }
.a-radios { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.a-radios label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.a-radios input { accent-color: var(--t-blue); width: 16px; height: 16px; }

/* 送信完了 */
.a-success-icon { width: 48px; height: 48px; margin: 0 auto 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e8f8ef; color: #19a86a; font-size: 24px; font-weight: 800; }
.a-success-heading { text-align: center; font-size: 17px; font-weight: 750; color: #25384a; margin: 0 0 16px; }
.a-success-desc { text-align: center; font-size: 12px; line-height: 1.9; color: #596675; margin: 0 0 12px; overflow-wrap: anywhere; }
.a-success-desc strong { color: #273d52; }
.a-help-note { background: #f6f8fa; border-radius: 9px; padding: 16px; margin: 22px 0 0; color: #6b7885; font-size: 11px; line-height: 1.9; }

/* 簡易フッター */
.t-compact-footer { padding: 27px 24px; background: #fff; border-top: 1px solid var(--t-line); }
.t-compact-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.t-compact-links { display: flex; gap: 24px; flex-wrap: wrap; }
.t-compact-links a { text-decoration: none; color: #7b8792; font-size: 11px; }
.t-compact-links a:hover { color: var(--t-blue); }
.t-compact-inner small { font-size: 10px; color: #89949d; }

@media (max-width: 600px) {
  .a-main { padding: 45px 16px 70px; }
  .a-card { padding: 25px 20px; }
  .a-heading { font-size: 24px; }
  .a-name-grid { gap: 10px; }
  .h-card { padding: 24px 20px; }
  .h-heading { font-size: 22px; }
  .h-benefits { padding: 16px; }
  .h-plans { gap: 9px; }
  .t-compact-inner { justify-content: center; }
}

/* 確認コード入力 */
.t-site .a-input[name="code"] { font-size: 22px; letter-spacing: .4em; text-align: center; font-weight: 700; }
.a-resend { text-align: center; margin: 16px 0 0; }
.t-site .a-resend-btn { background: none; border: 0; padding: 4px; color: #087eb2; font-size: 13px; font-weight: 700; cursor: pointer; }
.t-site .a-resend-btn:hover { text-decoration: underline; }
.a-resend .a-error { display: block; margin-top: 4px; }
