@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
:root {
  --bg: #ffffff;
  --ink: #1a1a1a;
  --accent: #c0392b;
  --accent2: #0a4d8c;
  --line: #cfcfcf;
  --muted: #595959;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Noto Sans JP', "Yu Gothic", sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.9;
  padding: 0 0 60px;
}

header {
  background: #003893;
  color: white;
  padding: 40px 24px 32px;
  position: relative;
  overflow: hidden;
}

header h1 {
  margin: 0 0 4px;
  font-size: 2rem;
  letter-spacing: .03rem;
  color:white;
}

header .sub {
 margin-top: 6px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}
header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background:  #C0392B;
}

.lang-line {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--accent2);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  margin-top: 34px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #003893;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 8px;
  border-bottom: 2px solid #C0392B;
  margin-bottom: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.tri {
  display: block;
  margin: 2px 0;
}

.tri .np {
  color: var(--accent);
  font-weight: 600;
}

.tri .en {
  color: var(--muted);
  font-style: italic;
  font-size: .92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: none;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  font-size: 1rem;
}

th {
  background: #003893;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: none;
}
ul {
  padding-left: 1.2em;
}

.note {
  color: var(--muted);
  font-size: 1rem;
}

footer {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

a {
  color: var(--accent2);
}
ol {
  padding-left: 1.6em;
}

ol li {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

ol li:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

ol li a {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
}

ol li a:nth-of-type(1) {
  background: #e8f0fc;
  color: #003893;
}

ol li a:nth-of-type(2) {
  background: #fdecea;
  color: #C0392B;
}

ol li a:nth-of-type(3) {
  background: #f0f7e8;
  color: #2e7d32;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead {
    display: none;
  }

  table {
    border: none;
  }

  tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  td {
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
    position: relative;
    padding-left: 45%;
  }

  td:last-child {
    border-bottom: none;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    font-weight: 600;
    color: var(--accent2);
  }
}