@font-face {
  font-family: GameSans;
  src: url('/entry/lettering.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}

:root {
  color: #173360;
  background: #eef4ff;
  color-scheme: light;
  font: 100%/1.75 GameSans, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  scrollbar-color: #93b3de #eef4ff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #244b80; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #165fdb; outline-offset: 3px; }
::selection { background: #bed0ec; color: #173360; }

.notice-bar {
  background: #dce7fb;
  padding: max(8px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left));
}

.notice-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 750;
}

.notice-document {
  margin: 0 auto;
  padding: clamp(22px, 5vw, 52px) max(18px, env(safe-area-inset-right)) max(42px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  width: min(100%, 76ch);
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.notice-document h1,
.notice-document h2 {
  margin: 0;
  line-height: 1.3;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.notice-document h1 { font-size: clamp(26px, 6vw, 34px); }
.notice-document h2 { font-size: clamp(21px, 4vw, 26px); }
.notice-document p { margin: .5em 0; }
.notice-document li + li { margin-top: .45em; }
.notice-document ul { padding-inline-start: 1.2em; }
.notice-document section { margin-block-start: clamp(1.7rem, 5vw, 2.4rem); scroll-margin-top: 1em; }
.notice-lead { font-size: 1.15rem; font-weight: 750; }
.notice-draft { color: #244b80; }
.notice-config { white-space: pre-line; }
.notice-data dt { font-weight: 780; margin-top: .9em; }
.notice-data dd { margin: .1em 0 0; }
.email-link { display: inline-flex; align-items: center; min-height: 44px; }

.notice-tabs,
.notice-index { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.notice-tabs { margin: 1rem 0 1.5rem; border-bottom: 1px solid #bed0ec; }
.notice-index { margin-top: .85rem; }
.notice-tabs a,
.notice-index a { display: inline-flex; align-items: center; min-height: 44px; }
.notice-tabs a { border-bottom: 3px solid transparent; font-weight: 720; text-decoration: none; }
.notice-tabs a[aria-current='page'] { border-color: #2469ce; color: #173360; }
.notice-tabs a:hover { text-decoration: underline; }
