:root {
  color-scheme: light;
  --ink: #111b2b;
  --muted: #5e6877;
  --line: #d8dde3;
  --blue: #174b79;
  --blue-hover: #103b61;
  --accent: #cb7852;
  --sidebar: #f8f9fa;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
}

.sidebar {
  min-height: 100vh;
  padding: 68px 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}

.name,
.archive,
.period,
.sidebar-note,
.eyebrow,
.description,
.redirect-note {
  margin: 0;
}

.name {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.accent {
  width: 34px;
  height: 4px;
  display: block;
  margin: 34px 0 34px;
  background: var(--accent);
}

.archive {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.period {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.sidebar-note {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.main-content {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 72px clamp(48px, 9vw, 150px);
}

.notice {
  width: min(100%, 900px);
}

.eyebrow {
  font-family: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(72px, 9vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 {
  margin: 36px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.32;
  letter-spacing: 0.01em;
}

.description {
  margin-top: 34px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.9;
}

.button {
  min-height: 56px;
  width: fit-content;
  margin-top: 44px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
  outline-offset: 4px;
}

.redirect-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.route {
  margin-top: 66px;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--blue);
  border-top: 1px solid var(--line);
  font-size: 16px;
}

.route strong {
  font-weight: 700;
}

@media (max-width: 760px) {
  .page-shell {
    display: block;
  }

  .sidebar {
    min-height: auto;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .name {
    font-size: 28px;
  }

  .accent {
    width: 28px;
    height: 3px;
    margin: 18px 0;
  }

  .archive {
    font-size: 15px;
  }

  .period {
    margin-top: 5px;
    font-size: 13px;
  }

  .sidebar-note {
    display: none;
  }

  .main-content {
    min-height: calc(100vh - 190px);
    display: block;
    padding: 64px 24px 48px;
  }

  .eyebrow {
    font-size: clamp(64px, 22vw, 88px);
  }

  h1 {
    margin-top: 28px;
    font-size: 28px;
  }

  .description {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 500;
  }

  .button {
    width: 100%;
    margin-top: 34px;
    justify-content: center;
  }

  .route {
    margin-top: 50px;
    padding-top: 24px;
    gap: 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
