* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #222;
  margin: 0;
  line-height: 1.6;
}

.page-wrap {
  max-width: 1100px;
  margin: auto;
  padding: 28px 28px;
}

/* topbar */

.topbar {
  background: #1e3a5f;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-name {
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-size: 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.main-nav a:hover {
  color: #f28c28;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* frontpage */

.main-title {
  text-align: center;
  margin-top: 34px;
}

.main-title h1 {
  color: #1e3a5f;
  font-size: 54px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.subtitle {
  color: #5b6573;
  font-size: 18px;
  text-align: center;
}

.notice {
  margin-top: 30px;
  background: #eef3f8;
  padding: 14px 18px;
  border-left: 4px solid #1e3a5f;
  border-radius: 4px;
  max-width: 760px;
  width: 100%;
}

.contact {
  margin-top: 24px;
  max-width: 760px;
  width: 100%;
}

.contact p {
  margin: 10px 0;
  font-size: 18px;
}

.section-title {
  margin-top: 38px;
  margin-bottom: 14px;
  color: #1e3a5f;
  font-size: 30px;
}

.link-list a {
  display: block;
  margin-top: 10px;
  color: #2f6db3;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease, text-decoration 0.2s ease;
overflow-wrap: break-word;
  word-break: break-word;
}

.link-list a:hover {
  color: #f28c28;
  text-decoration: underline;
}

/* subpages */

.subpage-header {
  margin-top: 34px;
  margin-bottom: 28px;
}

.subpage-header h1 {
  color: #1e3a5f;
  font-size: 46px;
  margin: 0 0 10px 0;
}

.subpage-header p {
  margin: 0;
  color: #5b6573;
  font-size: 18px;
  max-width: 760px;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.doc-list a {
  display: block;
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: #1e3a5f;
  font-weight: 600;
  font-size: 17px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	  overflow-wrap: break-word;
  word-break: break-word;
}

.doc-list a:hover {
  background: #eef3f8;
  border-color: #b7c6d6;
  color: #f28c28;
  text-decoration: underline;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
}

.year-grid a {
  display: block;
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: #1e3a5f;
  font-weight: 600;
  font-size: 17px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

.year-grid a:hover {
  background: #eef3f8;
  border-color: #b7c6d6;
  color: #f28c28;
  text-decoration: underline;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
}

.archive-grid a {
  display: block;
  background: #ffffff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: #1e3a5f;
  font-weight: 600;
  font-size: 17px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	  overflow-wrap: break-word;
  word-break: break-word;
}

.archive-grid a:hover {
  background: #eef3f8;
  border-color: #b7c6d6;
  color: #f28c28;
  text-decoration: underline;
}

/* mobile */

@media (max-width: 900px) {
  .main-title h1 {
    font-size: 40px;
  }

  .subpage-header h1 {
    font-size: 36px;
  }

  .year-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .page-wrap {
    padding: 20px 18px;
  }

  .menu-toggle {
    display: block;
  }

.main-nav {
  display: none;
  position: absolute;
  top: 68px;
  right: 18px;
  background: #24486f;
  border-radius: 8px;
  padding: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 200px;
  max-width: calc(100vw - 36px);
}

  .main-nav.show {
    display: flex;
  }

  .main-nav a {
    width: 100%;
  }

  .main-title h1 {
    font-size: 30px;
  }

  .subtitle,
  .contact p,
  .link-list a,
  .subpage-header p,
  .doc-list a,
  .year-grid a,
  .archive-grid a {
    font-size: 16px;
  }

  .year-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}