@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/red-hat-display.ttf") format("truetype");
}
/* 主题颜色与字号：改色优先修改这里的变量。 */
:root {
  --paper: #f8f7f4;
  --white: #fff;
  --ink: #252a31;
  --muted: #60656b;
  --blue: #185581;
  --blue-dark: #103f65;
  --blue-pale: #edf3f8;
  --warm: #f1ede5;
  --field: #f4f5f6;
  --error: #92342e;
  --body: 17px;
  --small: 14px;
  --lead: 23px;
  --head: 30px;
  --display: clamp(38px, 3.6vw, 52px);
  --gutter: 32px;
  --reading: 1200px;
  --serif: "Songti SC", "Hiragino Mincho ProN", "Batang", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 var(--body)/1.85 "Red Hat Display",
    "Hiragino Sans",
    "Microsoft YaHei",
    "Malgun Gothic",
    sans-serif;
  overflow-wrap: break-word;
}
body:lang(ko) {
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: var(--blue);
  color: var(--white);
}
p,
h1,
h2,
h3,
figure {
  margin: 0;
}
p + p {
  margin-top: 1em;
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h2 {
  font-size: var(--head);
  line-height: 1.4;
}
h3 {
  font-size: var(--lead);
  line-height: 1.5;
}
p {
  max-width: 65ch;
}
.page-width,
.header-inner {
  width: min(var(--reading), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}
.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}
.languages {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  align-items: center;
}
.language {
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  min-height: 44px;
  padding: 10px 12px;
  display: grid;
  place-items: center;
}
.language.active {
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-pale);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 17px;
  font-weight: 500;
}
nav a {
  padding-block: 12px;
}
a:hover {
  color: var(--blue);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--white);
  padding: 12px 18px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 8%;
  padding-block: 50px 56px;
  align-items: center;
}
.hero-main {
  min-width: 0;
}
h1 {
  font: 500 var(--display)/1.3 var(--serif);
  letter-spacing: -0.04em;
}
h1 span {
  display: block;
}
.hero-description {
  font-size: 18px;
  max-width: 38em;
  line-height: 1.8;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.hero .button {
  margin-top: 26px;
}
.button:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(1px);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.button span {
  font-size: 18px;
}
.hero-letter {
  padding: 28px 0 28px 28px;
}
.hero-letter > p:first-child {
  font-family: var(--serif);
  font-size: var(--lead);
  line-height: 1.9;
  max-width: 18em;
}
.archive-years {
  margin-top: 32px;
  font-size: var(--head);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.archive-caption {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 4px;
}
.notice-paper {
  background: var(--white);
  padding: 34px 38px;
}
.chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.chapter-header > p {
  font-size: var(--small);
  color: var(--muted);
  white-space: nowrap;
}
.status-list {
  display: grid;
  gap: 6px;
}
.status {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 17px 20px;
  background: var(--field);
}
.status h3 {
  font-size: var(--body);
  letter-spacing: 0;
}
.status strong {
  font-size: var(--body);
  font-weight: 500;
}
.status p {
  font-size: var(--small);
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pending {
  background: var(--blue-pale);
}
.pending strong {
  color: var(--blue);
  font-weight: 600;
}
.notice-letter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 38px;
  row-gap: 12px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
}
.notice-letter p {
  margin: 0;
}
.notice-letter p:last-child {
  grid-column: 1/-1;
}
.status-note {
  font-size: var(--small);
  line-height: 1.8;
  color: var(--muted);
  max-width: none;
  margin-top: 20px;
}
.chapter {
  padding-block: 80px;
}
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8%;
}
.facts {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}
.facts strong {
  font-size: var(--lead);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.facts p,
.facts span {
  font-size: var(--small);
  display: block;
}
.facts p {
  margin-top: 3px;
}
.facts span {
  color: var(--muted);
}
.history-text p {
  max-width: 42em;
}
.archive-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 36px;
  background: var(--blue-pale);
  padding: 28px 32px;
}
.archive-print img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 150px;
  object-fit: contain;
  object-position: left center;
  filter: saturate(0.45);
}
.archive-print figcaption {
  font-size: var(--small);
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}
.gallery-caption {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 12px;
}
.fields {
  background: var(--field);
}
.fields-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8%;
  padding-block: 58px;
}
.area-list {
  display: grid;
  gap: 24px;
}
.area p {
  font-size: 16px;
  margin-top: 5px;
  max-width: 42em;
}
.area h3 {
  font-size: var(--lead);
  font-weight: 500;
}
.gratitude {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8%;
}
.gratitude h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.6;
  letter-spacing: -0.04em;
}
.gratitude-intro > p {
  margin-top: 20px;
  font-size: var(--small);
  color: var(--muted);
}
.gratitude-text p {
  max-width: 42em;
}
.signature {
  margin-top: 24px !important;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: var(--lead);
}
.contact {
  background: var(--blue-pale);
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 8%;
  padding-block: 58px;
}
.contact h2 {
  max-width: 13em;
}
.contact-intro > p {
  font-size: 16px;
  margin-top: 20px;
  max-width: 25em;
}
form {
  min-width: 0;
}
label {
  font-size: var(--small);
  display: block;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  margin-top: 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  min-height: 140px;
}
textarea::placeholder {
  color: var(--muted);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.privacy {
  font-size: var(--small);
  line-height: 1.8;
  margin-top: 16px;
  max-width: none;
}
.submit-row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.submit-row .button {
  white-space: nowrap;
}
.form-status {
  font-size: var(--small);
  margin: 0;
}
.form-status.error {
  color: var(--error);
}
.honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
footer {
  padding-block: 30px;
}
.footer-main {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-brand {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.footer-main > p,
.back-top {
  font-size: var(--small);
}
.back-top {
  margin-left: auto;
  white-space: nowrap;
}
a,
button {
  transition:
    color 180ms,
    background-color 180ms,
    transform 180ms var(--ease);
}
@media (max-width: 1050px) {
  :root {
    --gutter: 28px;
    --body: 16px;
  }
  nav {
    display: none;
  }
  .hero {
    gap: 5%;
    padding-top: 38px;
  }
  .hero-letter {
    padding-left: 12px;
  }
  .notice-paper {
    padding: 28px;
  }
  .status {
    grid-template-columns: 1.1fr 1fr;
    gap: 8px 20px;
  }
  .status p {
    grid-column: 2;
    text-align: left;
  }
  .status h3 {
    grid-row: 1/3;
  }
  .history-layout,
  .fields-inner,
  .gratitude,
  .contact-inner {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 5%;
  }
  .archive-gallery {
    gap: 16px;
    padding: 24px;
  }
  .archive-print img {
    height: 125px;
  }
  .chapter {
    padding-block: 64px;
  }
  .gratitude h2 {
    font-size: 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .submit-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact h2 {
    font-size: 28px;
  }
}
@media (max-width: 650px) {
  :root {
    --gutter: 20px;
    --body: 16px;
    --small: 14px;
    --lead: 22px;
    --head: 28px;
    --display: 36px;
  }
  html {
    scroll-padding-top: 80px;
  }
  .header-inner {
    min-height: 76px;
    gap: 10px;
  }
  .brand-logo {
    font-size: 26px;
  }
  .language {
    font-size: 15px;
    padding: 10px 8px;
  }
  .hero {
    display: block;
    padding-block: 28px 36px;
  }
  .hero-description {
    font-size: 17px;
    margin-top: 22px;
  }
  .hero .button {
    margin-top: 22px;
  }
  .hero-letter {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 24px;
    row-gap: 6px;
    margin-top: 30px;
    padding: 0;
  }
  .hero-letter > p:first-child {
    font-size: 18px;
    line-height: 1.7;
    grid-row: 1/3;
    max-width: none;
  }
  .archive-years {
    font-size: 18px;
    margin: 0;
    align-self: end;
    white-space: nowrap;
  }
  .archive-caption {
    font-size: 14px;
    margin: 0;
  }
  .notice-paper {
    padding: 24px 20px;
  }
  .chapter-header {
    display: block;
    margin-bottom: 22px;
  }
  .chapter-header > p {
    margin-top: 10px;
    white-space: normal;
    font-size: 14px;
  }
  .status {
    display: block;
    padding: 18px 16px;
  }
  .status h3 {
    font-size: 16px;
  }
  .status strong {
    display: block;
    margin-top: 8px;
    font-size: 16px;
  }
  .status p {
    margin-top: 4px;
    font-size: 14px;
  }
  .notice-letter {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .status-note {
    font-size: 14px;
  }
  .chapter {
    padding-block: 44px;
  }
  .history-layout {
    display: block;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 26px;
  }
  .facts strong {
    font-size: 20px;
  }
  .facts p,
  .facts span {
    font-size: 14px;
    line-height: 1.7;
  }
  .history-text p {
    line-height: 1.9;
  }
  .archive-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    padding: 20px;
    margin-top: 26px;
  }
  .archive-print img {
    height: auto;
    aspect-ratio: 4/3;
    max-width: 200px;
  }
  .archive-print figcaption,
  .gallery-caption {
    font-size: 14px;
  }
  .fields-inner {
    display: block;
    padding-block: 36px;
  }
  .area-list {
    margin-top: 26px;
    gap: 24px;
  }
  .area h3 {
    font-size: 22px;
  }
  .area p {
    line-height: 1.9;
  }
  .gratitude {
    display: block;
  }
  .gratitude h2 {
    font-size: 30px;
  }
  .gratitude-intro > p {
    margin-top: 12px;
  }
  .gratitude-text {
    margin-top: 24px;
  }
  .contact-inner {
    display: block;
    padding-block: 36px;
  }
  .contact h2 {
    font-size: 28px;
  }
  .contact-intro > p {
    margin-top: 14px;
    max-width: none;
  }
  .contact form {
    margin-top: 26px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .privacy {
    font-size: 14px;
  }
  .submit-row {
    gap: 14px;
  }
  .footer-main {
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-brand {
    font-size: 28px;
  }
  .footer-main > p {
    font-size: 14px;
    flex: 1;
    line-height: 1.6;
  }
  .back-top {
    font-size: 14px;
  }
  footer {
    padding-block: 24px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-main h1 span {
    animation: title-enter 750ms var(--ease) both;
  }
  .hero-main h1 span:nth-child(2) {
    animation-delay: 80ms;
  }
  .hero-letter {
    animation: letter-enter 900ms var(--ease) both;
  }
  .reveal {
    animation: section-enter 700ms var(--ease) both;
  }
  .status.reveal:nth-child(2) {
    animation-duration: 850ms;
  }
  .archive-print.reveal {
    animation: print-enter 900ms var(--ease) both;
  }
  .archive-print:first-child img {
    animation: picture-settle 1500ms var(--ease) both;
  }
  @keyframes title-enter {
    from {
      opacity: 0.45;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes letter-enter {
    from {
      opacity: 0.45;
      transform: translateX(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes section-enter {
    from {
      opacity: 0.4;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes print-enter {
    from {
      opacity: 0.45;
      transform: translateY(8px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes picture-settle {
    from {
      transform: scale(1.025);
    }
    to {
      transform: scale(1);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@font-face {
  font-family: "XTEK Serif SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/archive-serif-zh.ttf") format("truetype");
}
@font-face {
  font-family: "XTEK Serif JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/archive-serif-ja.ttf") format("truetype");
}
@font-face {
  font-family: "XTEK Serif KR";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/archive-serif-ko.ttf") format("truetype");
}
:root {
  --serif: "XTEK Serif SC", serif;
}
body:lang(ja) {
  --serif: "XTEK Serif JP", serif;
}
body:lang(ko) {
  --serif: "XTEK Serif KR", serif;
}
.hero-description {
  font-size: 18px;
}
@media (max-width: 650px) {
  .history {
    padding-top: 64px;
  }
  .facts strong {
    font-size: 22px;
  }
  .gratitude h2 {
    font-size: 28px;
  }
  .hero-letter > p:first-child {
    grid-row: auto;
  }
  .archive-years {
    align-self: center;
  }
}

.archive-years {
  font-size: var(--lead);
}
@media (max-width: 650px) {
  .archive-years {
    font-size: 18px;
  }
}
.hero-letter > p:first-child {
  text-wrap: balance;
}
