:root {
  color: #19242c;
  background: #f4f8fb;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
}

* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; background: #f4f8fb; }
a { color: #0b6092; }
a:focus-visible { outline: 3px solid #ffcf4c; outline-offset: 3px; }

.page-header {
  padding: 18px 24px;
  background: #12324a;
  color: #fff;
}

.page-header-inner,
.page-main,
.page-footer {
  width: min(880px, calc(100% - 44px));
  margin: 0 auto;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.page-header nav a {
  color: #d8e8f1;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.page-header nav a:hover { color: #fff; }

.brand { color: #fff; font-weight: 900; text-decoration: none; }
.brand b { color: #ffcf4c; }

.breadcrumb {
  margin: 30px 0 12px;
  color: #55707f;
  font-size: 0.9rem;
}

.guide-hero {
  padding: 32px 0 46px;
  border-bottom: 1px solid #c9d8df;
}

.eyebrow { margin: 0; color: #dd4737; font-size: 0.78rem; font-weight: 900; }
h1 { margin: 8px 0 16px; color: #12324a; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.16; }
.lead { max-width: 700px; margin: 0; color: #405663; font-size: 1.1rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  color: #5a6d77;
  font-size: 0.88rem;
}

.article-meta a { font-weight: 700; }

.article-section { padding: 38px 0; border-bottom: 1px solid #c9d8df; }
h2 { margin: 0 0 16px; color: #12324a; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.35; }
h3 { margin: 28px 0 8px; color: #174c74; font-size: 1.18rem; }
p, li { color: #354852; }
li + li { margin-top: 8px; }

.callout {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 5px solid #f0ab3c;
  background: #fff8e8;
}

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

.comparison > div {
  padding: 22px;
  border: 1px solid #b9cad5;
  border-radius: 8px;
  background: #fff;
}

.comparison h3 { margin-top: 0; }

.guide-table-wrap { overflow-x: auto; }
.guide-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.guide-table th,
.guide-table td {
  padding: 14px 16px;
  border: 1px solid #c9d8df;
  text-align: left;
  vertical-align: top;
}

.guide-table th { background: #e8f1f6; color: #12324a; }
.guide-table td:first-child { font-weight: 800; color: #174c74; }

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

.step-list li {
  margin: 0;
  padding: 20px;
  border: 1px solid #c9d8df;
  border-radius: 8px;
  background: #fff;
}

.step-list b { display: block; margin-bottom: 8px; color: #174c74; }

.guide-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.directory-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #b9cad5;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.directory-card:hover { border-color: #0b6092; box-shadow: 0 8px 20px rgba(18, 50, 74, 0.1); }
.directory-card small { color: #dd4737; font-weight: 900; }
.directory-card h2 { margin: 8px 0 10px; font-size: 1.35rem; }
.directory-card p { margin: 0 0 18px; }
.directory-card b { margin-top: auto; color: #0b6092; }

.article-ad {
  width: min(100%, 728px);
  margin: 48px auto 0;
  padding: 32px 0;
  border-top: 1px solid #c9d8df;
  border-bottom: 1px solid #c9d8df;
}

.author-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 38px;
  padding: 24px;
  border: 1px solid #b9cad5;
  border-radius: 8px;
  background: #eef5f8;
}

.author-box h2 { margin-bottom: 8px; font-size: 1.28rem; }
.author-box p { margin: 0; }
.author-box a { font-weight: 800; white-space: nowrap; }

.guide-image { display: block; width: 100%; max-width: 720px; height: auto; margin: 24px auto; border-radius: 8px; }

.fact-list dt { margin-top: 20px; color: #174c74; font-weight: 900; }
.fact-list dd { margin: 6px 0 0; color: #354852; }

.page-footer { padding: 34px 0 48px; color: #58727f; font-size: 0.9rem; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }

@media (max-width: 640px) {
  .page-header-inner, .page-main, .page-footer { width: min(100% - 32px, 880px); }
  .page-header-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-header nav { justify-content: flex-start; gap: 10px 16px; }
  .comparison { grid-template-columns: 1fr; }
  .guide-directory { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; }
}
