:root {
  --bg: #f2f5f8;
  --surface: #ffffff;
  --text: #0e1a22;
  --muted: #4b5a66;
  --line: #d7dfe6;
  --brand: #0b6a88;
  --brand-deep: #094f66;
  --highlight: #e6f4f8;
  --radius: 14px;
  --max-width: 1040px;
  --shadow: 0 8px 30px rgba(9, 35, 49, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fafc 0%, #f2f5f8 45%, #eff3f7 100%);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand-deep);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  height: 64px;
  width: auto;
  flex: 0 0 auto;
  display: block;
}

.brand-text {
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.01em;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  color: #21465a;
}

.main {
  padding: 2rem 0 2.5rem;
}

.hero,
.section,
.article,
.faq,
.card,
.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero,
.section,
.article,
.faq,
.notice {
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  line-height: 1.25;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

.lead {
  color: #233644;
  font-size: 1.05rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.badge {
  background: var(--highlight);
  color: #11455c;
  border: 1px solid #bfdeea;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.card {
  padding: 1rem;
}

.card h3,
.section h2,
.article h2,
.faq h2 {
  margin-top: 0;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.steps li {
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-bottom: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.post-card h2,
.post-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.disclosure-line {
  margin: 0.35rem 0;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .brand-logo {
    height: 52px;
  }

  .brand-text {
    font-size: 1.85rem;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .nav-list {
    gap: 0.65rem;
  }

  .main {
    padding-top: 1.3rem;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    height: 44px;
  }

  .brand-text {
    font-size: 1.55rem;
  }
}


.menu-hidden {
  display: none;
}

.footer-tiny {
  font-size: 0.55rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
