:root {
  --paper: #f6f0e8;
  --ink: #191817;
  --muted-ink: #3f3b36;
  --accent: #2f5874;
  --rule: #33302d;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Serif TC",
    "Source Han Serif TC",
    "Songti TC",
    "PMingLiU",
    "MingLiU",
    serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.notice-page {
  width: min(100%, 1447px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 68px 96px 68px;
  background: var(--paper);
}


h1 {
  margin: 0 0 74px;
  text-align: center;
  font-size: clamp(3.1rem, 4.4vw, 4.45rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.02em;
}


.notice-list {
  max-width: 1210px;
  margin: 0 auto;
}

.notice-list p {
  margin: 0 0 49px;
  color: var(--ink);
  font-size: clamp(1.75rem, 2.05vw, 2.35rem);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0.045em;
  text-align: left;
}

.notice-list strong {
  display: inline-block;
  margin-right: 0.48em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.emphasis {
  color: var(--accent);
}


.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  width: min(100%, 1280px);
  margin: 44px auto 0;
  color: var(--ink);
}

.page-footer p {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(1.45rem, 1.85vw, 2rem);
  line-height: 1;
  letter-spacing: 0.12em;
}

.footer-line {
  position: relative;
  flex: 1 1 auto;
  height: 16px;
  display: flex;
  align-items: center;
}

.footer-line::before {
  content: "";
  width: 100%;
  border-top: 2px solid var(--rule);
}

.footer-line span {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--rule);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

.footer-line::after {
  content: none;
}

.page-footer .footer-line:last-child {
  transform: scaleX(-1);
}


.brand-logo {
  display: block;
  width: clamp(210px, 24vw, 315px);
  height: auto;
  margin: 38px 0 0 auto;
}


@media (max-width: 900px) {
  .notice-page {
    padding: 48px 34px 56px;
    min-height: 100vh;
  }

  h1 {
    margin-bottom: 48px;
    font-size: clamp(2.35rem, 10vw, 3.55rem);
  }

  .notice-list p {
    margin-bottom: 34px;
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
    line-height: 1.74;
    letter-spacing: 0.025em;
  }

  .notice-list strong {
    margin-right: 0.3em;
  }

  .page-footer {
    width: 100%;
    gap: 18px;
  }

  .page-footer p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    letter-spacing: 0.08em;
  }

  .footer-line {
    flex-basis: 84px;
  }

  .brand-logo {
    width: min(245px, 54vw);
    margin-top: 32px;
  }
}


@media (max-width: 540px) {
  .notice-page {
    padding: 38px 22px 48px;
    min-height: 100vh;
  }

  .notice-list p {
    margin-bottom: 28px;
  }

  .page-footer {
    width: 100%;
    gap: 12px;
  }

  .footer-line {
    flex: 1 1 auto;
    height: 12px;
  }

  .footer-line::before {
    border-top-width: 1px;
  }

  .footer-line span {
    right: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
  }

  .footer-line::after {
    content: none;
  }

  .brand-logo {
    width: min(220px, 58vw);
    margin-top: 28px;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 88, 116, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}