* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  background: #f5f0e8;
  color: #111111;
}

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 12px;
}

.brand-block {
  border-left: 3px solid #1976D2;
  padding-left: 12px;
}

.brand-mark {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1976D2;
}

.brand-vision {
  margin: 4px 0 0;
  font-size: 13px;
  color: #333333;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-size: 13px;
  text-decoration: none;
  color: #111111;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-bottom-color: #1976D2;
  outline: none;
}

.hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.hero-date {
  font-size: 12px;
  color: #555555;
  margin: 0 0 2px;
}

.hero-note {
  font-size: 11px;
  color: #8a0000;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.hero-lead {
  font-size: 14px;
  max-width: 760px;
  margin: 0 0 16px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #E0F2FF;
}

.section {
  padding: 32px 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.section > h2,
.section > h3 {
  margin-top: 0;
}

h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  font-size: 14px;
  margin: 0 0 10px;
}

strong {
  font-weight: 600;
}

.toc {
  padding-top: 24px;
}

.toc-list {
  font-size: 14px;
  padding-left: 20px;
}

.toc-list ol {
  padding-left: 18px;
  margin-top: 6px;
}

.toc a {
  color: #111111;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.data-table th,
.data-table td {
  border: 1px solid rgba(0,0,0,0.12);
  padding: 6px 8px;
  vertical-align: top;
}

.data-table thead th {
  background: #000000;
  color: #ffffff;
  font-weight: 500;
}

.data-table tbody th[scope="row"] {
  background: #f5f5f5;
  font-weight: 600;
}

.data-table--dense td,
.data-table--dense th {
  padding: 5px 6px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-scroll::-webkit-scrollbar {
  height: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
}

.note {
  font-size: 12px;
  color: #555555;
}

.point-list {
  font-size: 13px;
  padding-left: 18px;
  margin: 6px 0 4px;
}

.point-list li + li {
  margin-top: 4px;
}

.step-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.step-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 4px;
  font-size: 14px;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1976D2;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item {
  border-top: 1px solid rgba(0,0,0,0.12);
  padding: 8px 0;
}

.faq-item:last-of-type {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "＋";
  margin-right: 4px;
  font-weight: 600;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-body {
  padding: 6px 0 0 2px;
  font-size: 13px;
}

.site-footer {
  margin-top: 24px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(0,0,0,0.12);
  background: #111111;
  color: #f5f5f5;
}

.footer-meta {
  font-size: 11px;
  margin: 0 0 4px;
  color: #dddddd;
}

.footer-credit {
  font-size: 12px;
  margin: 0;
}

.footer-credit a {
  color: #FFCC00;
  text-decoration: none;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.br-md {
  display: none;
}

@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: 28px;
  }

  .br-md {
    display: inline;
  }
}

:focus-visible {
  outline: 2px solid #FFCC00;
  outline-offset: 2px;
}
