@charset "UTF-8";
:root {
  --ink: #26323a;
  --muted: #6d7880;
  --line: #dce2e5;
  --paper: #f5f7f7;
  --accent: #315b68;
  --accent-dark: #244650;
  --white: #fff;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.7;
}
.page-shell { width: min(920px, calc(100% - 36px)); margin: 0 auto; padding: 48px 0 28px; }
.login-shell { width: min(480px, calc(100% - 36px)); padding-top: 7vh; }
.site-brand { text-align: center; margin-bottom: 30px; }
.brand-en { color: var(--muted); font-size: 11px; letter-spacing: .18em; }
.brand-rule { width: 54px; height: 1px; background: #9aadb3; margin: 17px auto; }
.site-brand h1, .menu-header h1 { margin: 4px 0; font-size: 27px; letter-spacing: .12em; font-weight: 500; }
.site-brand p { margin: 0; color: var(--muted); font-size: 13px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 30px; box-shadow: 0 8px 24px rgba(28, 49, 57, .045); }
.login-panel h2 { margin: 0 0 22px; text-align: center; font-size: 19px; font-weight: 600; }
label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 600; }
input[type="text"], input[type="password"] {
  display: block; width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid #cbd4d8; border-radius: 4px; background: #fff; color: var(--ink); font: inherit;
}
input:focus { outline: 2px solid rgba(49, 91, 104, .2); border-color: var(--accent); }
.primary-button {
  width: 100%; min-height: 48px; margin-top: 25px; border: 0; border-radius: 4px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.primary-button:hover { background: var(--accent-dark); }
.help-text { margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.message { padding: 10px 12px; border-radius: 4px; font-size: 13px; }
.error { color: #8b2f2f; background: #fff1f0; border: 1px solid #f0d0cd; }
.menu-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.menu-header h1 { font-size: 22px; }
.logout-button { border: 1px solid #bdc9cd; border-radius: 4px; padding: 8px 14px; color: var(--ink); background: transparent; font: inherit; font-size: 12px; cursor: pointer; }
.logout-button:hover { background: #eaf0f1; }
.welcome { padding: 34px 0 22px; }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: 10px; letter-spacing: .16em; }
.welcome h2 { margin: 0; font-size: 25px; font-weight: 600; }
.welcome p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.menu-card {
  position: relative; display: flex; min-height: 158px; flex-direction: column; align-items: flex-start;
  padding: 22px; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 7px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.menu-card:hover { border-color: #9aafb5; transform: translateY(-2px); box-shadow: 0 7px 18px rgba(28,49,57,.06); }
.menu-icon { color: var(--accent); font-size: 27px; line-height: 1.2; margin-bottom: 13px; }
.menu-title { font-size: 16px; font-weight: 600; }
.menu-description { margin-top: 4px; color: var(--muted); font-size: 11px; }
.menu-arrow { position: absolute; right: 18px; bottom: 12px; color: #82949a; font-size: 22px; }
.site-footer { margin-top: 42px; color: #879398; text-align: center; font-size: 11px; }
@media (max-width: 680px) {
  .page-shell { padding-top: 26px; }
  .login-shell { padding-top: 6vh; }
  .menu-header { align-items: flex-start; }
  .menu-header h1 { font-size: 18px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .menu-card { min-height: 145px; padding: 17px; }
  .menu-description { font-size: 10px; }
}
@media (max-width: 380px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 118px; }
}

.success { color: #245b3a; background: #edf8f0; border: 1px solid #cce8d3; }
.account-link { margin: 24px 0 0; text-align: right; font-size: 12px; }
.account-link a, .help-text a { color: var(--accent); }

/* -------------------------------------------------
   会員ページ共通：FAQ・お問い合わせ
------------------------------------------------- */
.text-link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
}
.text-link-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.help-text p { margin: 7px 0; }
.help-text a { font-weight: 600; }
.member-content-shell { width: min(760px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 32px; }
.member-page-header { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.member-page-header .brand-en { margin-bottom: 8px; }
.member-page-header h1 { margin: 0; font-size: 23px; font-weight: 600; }
.member-page-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.member-page-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 12px; font-size: 12px; }
.member-page-nav a { color: var(--accent); text-decoration: none; }
.member-page-nav a:hover { text-decoration: underline; }
.member-panel { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.member-panel h2 { margin: 0 0 18px; font-size: 18px; }
.member-panel h3 { margin: 26px 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 16px; }
.member-panel details { padding: 14px 2px; border-bottom: 1px solid #edf0f1; }
.member-panel summary { cursor: pointer; font-weight: 600; }
.member-panel details p { margin: 10px 0 0; color: #4d5960; font-size: 14px; }
.member-notice { margin: 18px 0; padding: 14px 16px; background: #eef3f4; border-left: 3px solid var(--accent); font-size: 13px; }
.member-form label { margin-top: 18px; }
.member-form input[type="text"],
.member-form input[type="email"],
.member-form select,
.member-form textarea {
  display: block; width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #cbd4d8; border-radius: 4px; background: #fff;
  color: var(--ink); font: inherit;
}
.member-form textarea { min-height: 180px; resize: vertical; }
.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus { outline: 2px solid rgba(49,91,104,.2); border-color: var(--accent); }
.required-mark { color: #a33; font-size: 11px; font-weight: 500; }
.form-help { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.form-actions { margin-top: 24px; }
.form-actions .primary-button { margin-top: 0; }
.secondary-link-button { display: inline-block; margin: 12px 0 0; color: var(--accent); font-size: 13px; }
.confirm-list { margin: 0; }
.confirm-list dt { margin-top: 16px; font-weight: 600; font-size: 13px; }
.confirm-list dd { margin: 5px 0 0; padding: 11px 12px; background: #f5f7f7; border-radius: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.member-footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 11px; }
.member-footer a { color: var(--accent); }
@media (max-width: 600px) {
  .member-content-shell { padding-top: 24px; }
  .member-panel { padding: 20px 16px; }
  .member-page-header h1 { font-size: 20px; }
}

/* ログイン状態表示・パスワード表示切替 */
.login-state { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.password-input-wrap { position: relative; display: flex; align-items: center; gap: 8px; }
.password-input-wrap input { flex: 1; min-width: 0; }
.password-toggle { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--accent); font: inherit; font-size: 12px; cursor: pointer; }