:root {
  color-scheme: dark;
  --bg: #0b0820;
  --surface: #19142c;
  --surface-hover: #211a38;
  --surface-deep: #110d22;
  --line: #39304f;
  --line-soft: #2a223e;
  --gold: #f0c96c;
  --gold-light: #ffe9b0;
  --lilac: #bca7ff;
  --text: #f7f4ff;
  --text-secondary: #c9c4df;
  --text-muted: #a59ebc;
  --danger: #ffc0c7;
  --success: #a9e6cb;
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--text); }
body, button, input, textarea, select { font-family: var(--font); }
button, input, textarea, select { font-size: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
button, input, textarea { border-radius: 0; }
button { line-height: 1.55; }
a { color: var(--gold); text-underline-offset: 4px; }
a:hover { color: var(--gold-light); }
a, button { transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease; }
input, textarea, button, a, summary, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--gold); }
:focus:not(:focus-visible) { outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: var(--gold); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; flex-shrink: 0; }
.preview-banner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px 20px; padding: 9px 16px; background: #302543; color: #e3d8ff; font-size: 11px; line-height: 1.65; border-bottom: 1px solid #5b477d; text-align: center; }
.preview-banner strong { font-weight: 700; }
.preview-banner a { color: #f3e8ff; white-space: nowrap; }
.masthead { width: min(960px, calc(100% - 48px)); margin: 0 auto; height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 11px; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.masthead__note { color: var(--text-muted); font-size: 12px; }
.page { width: min(680px, calc(100% - 40px)); margin: 0 auto; padding: 16px 0 48px; }
.page-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 16px; }
.page-header h1 { font-size: 25px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; text-align: center; }
.page-header__right { justify-self: end; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--surface); text-decoration: none; }
.icon-button:hover { color: var(--gold); background: var(--surface-hover); border-color: #66517f; }
.page-header > .icon-button { justify-self: start; }
.page-intro { font-size: 13px; color: var(--text-muted); margin-bottom: 27px; text-align: center; }
.quiet-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; font-size: 12px; text-decoration: none; color: var(--text-secondary); }
.quiet-link .material-symbols-rounded { font-size: 21px; }
.quiet-link:hover { color: var(--gold); }
.news-list { display: grid; gap: 17px; }
.news-card { display: block; padding: 22px 24px; border-radius: 24px; border: 1px solid var(--line-soft); background: var(--surface); color: var(--text); text-decoration: none; }
.news-card:hover { background: var(--surface-hover); border-color: #675381; color: var(--text); }
.news-card__meta { display: flex; align-items: center; gap: 10px; min-height: 21px; margin-bottom: 9px; }
.news-card__date { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.news-card h2 { font-size: 17px; font-weight: 700; line-height: 1.65; letter-spacing: .015em; }
.news-card hr { border: 0; border-top: 1px solid var(--line); margin: 15px 0 13px; }
.news-card__excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.support { margin-top: 30px; }
.support__feedback { display: flex; align-items: center; gap: 14px; padding: 18px 21px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); text-decoration: none; }
.support__feedback:hover { background: var(--surface); color: var(--text); border-color: #66517f; }
.support__feedback > .material-symbols-rounded:first-child { color: var(--lilac); font-size: 25px; }
.support__text { flex: 1; }
.support__text strong { display: block; font-size: 14px; font-weight: 500; }
.support__text small { display: block; margin-top: 2px; font-size: 12px; color: var(--text-muted); }
.support__feedback > .material-symbols-rounded:last-child { color: var(--text-muted); font-size: 20px; }
.support__contact { font-size: 12px; color: var(--text-muted); line-height: 1.9; text-align: center; margin-top: 17px; }
.footer { width: min(680px, calc(100% - 40px)); margin: 0 auto; border-top: 1px solid var(--line-soft); padding: 23px 0 max(30px, env(safe-area-inset-bottom)); color: var(--text-muted); text-align: center; }
.footer__links { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--text-muted); font-size: 11px; }
.footer small { display: block; margin-top: 15px; font-size: 10px; letter-spacing: .04em; }
.loading-state { min-height: 255px; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 16px; color: var(--text-muted); font-size: 13px; }
.loading-state .material-symbols-rounded { color: var(--lilac); font-size: 28px; }
.empty-state { display: flex; align-items: center; flex-direction: column; justify-content: center; min-height: 290px; padding: 36px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; }
.empty-state__icon { color: var(--lilac); font-size: 34px; margin-bottom: 17px; }
.empty-state h2 { font-size: 18px; margin-bottom: 10px; }
.empty-state p { max-width: 360px; font-size: 14px; color: var(--text-secondary); line-height: 1.85; }
.empty-state .button { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; min-height: 48px; padding: 12px 20px; border-radius: 14px; background: var(--gold); color: #241b0c; font-size: 14px; font-weight: 700; text-decoration: none; }
.button:hover:not(:disabled) { color: #241b0c; background: var(--gold-light); }
.button .material-symbols-rounded { font-size: 21px; }
.button--secondary { color: var(--text); background: var(--surface); border-color: var(--line); font-weight: 500; }
.button--secondary:hover:not(:disabled) { color: var(--text); background: var(--surface-hover); border-color: #66517f; }
.button--quiet { background: transparent; color: var(--text-secondary); border-color: transparent; font-weight: 500; }
.button--quiet:hover:not(:disabled) { background: var(--surface); color: var(--text); }
.button--danger { background: #39222f; border-color: #644050; color: var(--danger); }
.button--danger:hover:not(:disabled) { background: #503040; color: #ffe1e5; }
.button--full { width: 100%; }
.button--small { min-height: 40px; padding: 9px 14px; border-radius: 11px; font-size: 12px; }
.notice { border: 1px solid #55446f; border-radius: 13px; padding: 13px 16px; margin-bottom: 18px; color: #e2d5ff; background: #211b34; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.notice[data-kind='error'] { border-color: #6a404e; background: #2a1925; color: var(--danger); }
.notice[data-kind='success'] { border-color: #3d6859; background: #152b29; color: var(--success); }
.article { padding: 27px 28px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-soft); }
.article__title { font-size: 22px; line-height: 1.7; margin: 12px 0 20px; }
.article__body { border-top: 1px solid var(--line); padding-top: 24px; color: var(--text-secondary); font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.article__body p { white-space: pre-wrap; margin-bottom: 1.5em; }
.article__body p:last-child { margin-bottom: 0; }
.article__link { margin-top: 28px; }
.article__back { margin-top: 23px; text-align: center; }
.form-panel { border: 1px solid var(--line-soft); background: var(--surface); border-radius: 24px; padding: 25px 24px; }
.form-intro { color: var(--text-secondary); font-size: 14px; line-height: 1.9; margin-bottom: 25px; }
.field { display: block; margin-bottom: 22px; }
.field label, .field__label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 9px; color: var(--text); }
.field input, .field textarea { display: block; width: 100%; background: var(--surface-deep); color: var(--text); border: 1px solid #504366; border-radius: 13px; padding: 13px 14px; outline-offset: 3px; font-size: 15px; line-height: 1.9; }
.field input::placeholder, .field textarea::placeholder { color: #a59ab7; opacity: 1; }
.field textarea { resize: vertical; min-height: 208px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field__foot { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-top: 7px; color: var(--text-muted); font-size: 11px; }
.field__count { white-space: nowrap; font-variant-numeric: tabular-nums; }
.field__count[data-invalid='true'] { color: var(--danger); }
.feedback-expectation { border-top: 1px solid var(--line); padding-top: 17px; margin-bottom: 22px; font-size: 12px; color: var(--text-muted); line-height: 1.9; }
.feedback-expectation a { white-space: nowrap; }
.feedback-privacy { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 16px; line-height: 1.8; }
.confirmation { text-align: center; padding: 39px 25px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 24px; }
.confirmation > .material-symbols-rounded { color: var(--success); font-size: 42px; margin-bottom: 17px; }
.confirmation h2 { font-size: 21px; margin-bottom: 13px; }
.confirmation p { font-size: 14px; color: var(--text-secondary); line-height: 1.9; }
.confirmation .button { margin-top: 28px; }
.confirmation .preview-note { color: var(--gold); font-size: 12px; margin-top: 17px; }
.link-row { display: flex; align-items: center; justify-content: center; margin-top: 20px; font-size: 13px; }

@media (min-width: 760px) {
  .page { padding-top: 27px; }
  .page-header { margin-bottom: 16px; }
  .page-header h1 { font-size: 28px; }
  .page-intro { margin-bottom: 33px; }
  .news-list { gap: 20px; }
  .news-card { padding: 25px 28px; }
  .news-card h2 { font-size: 18px; }
  .news-card__excerpt { font-size: 15px; }
  .article { padding: 33px 36px 38px; }
  .form-panel { padding: 30px 32px; }
}

@media (max-width: 380px) {
  .masthead { width: calc(100% - 36px); height: 72px; }
  .page { width: calc(100% - 32px); padding-top: 12px; }
  .page-header h1 { font-size: 21px; }
  .page-header .quiet-link span:not(.material-symbols-rounded) { display: none; }
  .news-card { padding: 19px 20px; }
  .article, .form-panel { padding: 23px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
