:root {
  --hp-blue: #168acb;
  --hp-blue-dark: #086da8;
  --hp-link: #0675b5;
  --hp-ink: #27323a;
  --hp-muted: #65747f;
  --hp-line: #d6e0e6;
  --hp-surface: #fff;
  --hp-page: #f2f5f7;
  --hp-soft: #eaf5fb;
  --hp-warm: #fff7e6;
  --hp-max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hp-page); color: var(--hp-ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; font-size: 15px; line-height: 1.75; }
a { color: var(--hp-link); text-decoration: none; }
a:hover { color: var(--hp-blue-dark); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.hp-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.hp-skip:focus { left: 8px; top: 8px; }
.hp-site-header { background: var(--hp-surface); border-bottom: 1px solid var(--hp-line); }
.hp-header-inner { width: min(100% - 32px, var(--hp-max)); min-height: 56px; margin: auto; display: flex; align-items: center; gap: 22px; }
.hp-brand { display: flex; align-items: baseline; gap: 8px; min-width: max-content; color: var(--hp-ink); text-decoration: none; line-height: 1.1; }
.hp-brand small { font-size: 10px; color: var(--hp-muted); letter-spacing: .06em; }
.hp-brand strong { font-size: 17px; letter-spacing: .02em; }
.hp-nav { display: flex; flex: 1; align-items: center; gap: 18px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.hp-nav a { font-size: 13px; color: #41515b; padding: 18px 0 15px; border-bottom: 3px solid transparent; }
.hp-nav a:hover, .hp-nav a[aria-current="page"] { color: var(--hp-blue-dark); border-bottom-color: var(--hp-blue); text-decoration: none; }
.hp-nav-search { margin-left: auto; color: var(--hp-blue-dark) !important; font-weight: 700; }
.hp-mobile-nav { display: none; margin-left: auto; }
.hp-mobile-nav summary { cursor: pointer; color: var(--hp-link); font-size: 13px; }
.hp-mobile-nav nav { position: absolute; right: 16px; top: 54px; z-index: 5; display: grid; min-width: 220px; background: #fff; border: 1px solid var(--hp-line); box-shadow: 0 8px 20px rgba(20, 58, 82, .14); }
.hp-mobile-nav a { padding: 10px 12px; border-bottom: 1px solid #edf1f3; }
.hp-breadcrumbs { width: min(100% - 32px, var(--hp-max)); margin: 0 auto; padding: 10px 0; color: var(--hp-muted); font-size: 12px; }
.hp-breadcrumbs ol { display: flex; gap: 7px; padding: 0; margin: 0; list-style: none; }
.hp-breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #96a5ae; }
.hp-main { width: min(100% - 32px, var(--hp-max)); margin: 0 auto 44px; }
.hp-panel { background: var(--hp-surface); border: 1px solid var(--hp-line); }
.hp-home-hero { padding: 28px 30px 26px; }
.hp-eyebrow { margin: 0 0 4px; color: var(--hp-blue-dark); font-size: 12px; font-weight: 700; letter-spacing: .07em; }
h1, h2, h3 { color: #25333c; line-height: 1.38; }
h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
h2 { margin: 0 0 13px; font-size: 21px; }
h3 { margin: 25px 0 8px; font-size: 17px; border-left: 4px solid #a9d7ed; padding-left: 9px; }
.hp-deck { max-width: 760px; margin: 10px 0 0; color: #4d5d67; font-size: 15px; }
.hp-search-box { margin-top: 20px; padding: 16px; background: var(--hp-soft); border: 1px solid #cce6f3; }
.hp-search-box form { display: flex; gap: 8px; }
.hp-search-box input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #9fc6da; border-radius: 0; background: #fff; }
.hp-search-box button { min-width: 74px; padding: 10px 13px; border: 1px solid var(--hp-blue-dark); border-radius: 0; background: var(--hp-blue); color: #fff; cursor: pointer; font-weight: 700; }
.hp-trend-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hp-trend-links a, .hp-tag { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 8px; background: #f4fafc; border: 1px solid #cfe6f1; color: #386980; font-size: 12px; }
.hp-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 18px; margin-top: 18px; }
.hp-section { padding: 20px; }
.hp-section + .hp-section { margin-top: 18px; }
.hp-section-title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin-bottom: 14px; border-bottom: 2px solid #e2edf2; padding-bottom: 8px; }
.hp-section-title h2 { margin: 0; font-size: 19px; }
.hp-section-title a { font-size: 12px; }
.hp-article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #e4ecef; }
.hp-article-card { display: flex; gap: 11px; min-height: 116px; padding: 12px 8px; border-bottom: 1px solid #e4ecef; }
.hp-article-card:nth-child(odd) { border-right: 1px solid #e4ecef; }
.hp-card-image { flex: 0 0 86px; width: 86px; height: 86px; background: #e6edf0; overflow: hidden; }
.hp-card-image img { width: 100%; height: 100%; object-fit: cover; }
.hp-card-type { margin: 0 0 2px; color: var(--hp-blue-dark); font-size: 11px; font-weight: 700; }
.hp-article-card h3 { margin: 0; padding: 0; border: 0; font-size: 15px; }
.hp-article-card p:last-child { margin: 4px 0 0; color: var(--hp-muted); font-size: 12px; line-height: 1.55; }
.hp-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-category-list a { display: block; padding: 10px; background: #fafcfd; border: 1px solid var(--hp-line); color: #2f5d76; font-size: 13px; }
.hp-category-list strong { display: block; color: #283b47; font-size: 14px; }
.hp-side-list { list-style: none; padding: 0; margin: 0; }
.hp-side-list li { border-bottom: 1px solid #e4ecef; }
.hp-side-list a { display: block; padding: 9px 0; font-size: 13px; }
.hp-side-list small { display: block; color: var(--hp-muted); font-size: 11px; }
.hp-meta { margin: 0; color: var(--hp-muted); font-size: 12px; }
.hp-directory-intro { padding: 24px 28px; }
.hp-filter-bar { display: grid; grid-template-columns: 1fr 170px; gap: 10px; padding: 14px; background: var(--hp-soft); border: 1px solid #cce6f3; }
.hp-filter-bar input, .hp-filter-bar select { width: 100%; padding: 10px; background: #fff; border: 1px solid #a9c9d8; border-radius: 0; }
.hp-result-status { margin: 12px 0 0; color: var(--hp-muted); font-size: 12px; }
.hp-directory-list { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--hp-line); }
.hp-directory-list li { padding: 13px 3px; border-bottom: 1px solid var(--hp-line); }
.hp-directory-list a { font-weight: 700; }
.hp-directory-list p { margin: 3px 0 0; color: var(--hp-muted); font-size: 13px; }
.hp-directory-list [hidden] { display: none !important; }
.hp-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 242px; gap: 18px; align-items: start; }
.hp-article { padding: 27px 30px 34px; }
.hp-article header { border-bottom: 1px solid var(--hp-line); padding-bottom: 19px; }
.hp-article .hp-deck { font-size: 16px; }
.hp-article-body { overflow-wrap: anywhere; }
.hp-article-body p { margin: 0 0 16px; }
.hp-article-body ul, .hp-article-body ol { padding-left: 1.4em; }
.hp-article-body li { margin: 5px 0; }
.hp-article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.hp-article-body th, .hp-article-body td { padding: 9px; border: 1px solid var(--hp-line); vertical-align: top; text-align: left; }
.hp-article-body th { width: 27%; background: #f2f8fb; }
.hp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 21px 0 24px; }
.hp-gallery figure { margin: 0; border: 1px solid var(--hp-line); background: #f5f7f8; }
.hp-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hp-gallery figcaption { padding: 6px 7px; color: #667882; font-size: 11px; line-height: 1.45; }
.hp-article-sidebar { padding: 15px; position: sticky; top: 12px; }
.hp-article-sidebar h2 { margin: 0 0 8px; font-size: 14px; }
.hp-article-sidebar ol { margin: 0; padding-left: 1.2em; font-size: 12px; line-height: 1.55; }
.hp-article-sidebar li { margin: 7px 0; }
.hp-related { margin-top: 28px; padding-top: 20px; border-top: 2px solid #dbeaf1; }
.hp-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hp-related-grid a { display: block; padding: 9px; border: 1px solid var(--hp-line); background: #fafcfd; font-size: 13px; }
.hp-related-grid small { display: block; color: var(--hp-muted); font-size: 11px; }
.hp-fact-box { margin: 18px 0; padding: 14px; background: var(--hp-warm); border: 1px solid #efdba7; }
.hp-fact-box h3 { border: 0; padding: 0; margin: 0 0 6px; font-size: 15px; }
.hp-fact-box p { margin: 0; font-size: 13px; }
.hp-footer { border-top: 1px solid var(--hp-line); background: #fff; color: var(--hp-muted); }
.hp-footer-inner { width: min(100% - 32px, var(--hp-max)); padding: 22px 0 30px; margin: auto; font-size: 12px; }
.hp-footer nav { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 9px; }
.hp-footer p { margin: 0; }

@media (max-width: 820px) {
  .hp-header-inner { min-height: 50px; }
  .hp-nav { display: none; }
  .hp-mobile-nav { display: block; }
  .hp-home-grid, .hp-article-layout { grid-template-columns: 1fr; }
  .hp-article-sidebar { position: static; order: -1; }
  .hp-article-sidebar ol { columns: 2; }
}
@media (max-width: 600px) {
  body { font-size: 14px; line-height: 1.7; }
  .hp-header-inner, .hp-breadcrumbs, .hp-main, .hp-footer-inner { width: min(100% - 20px, var(--hp-max)); }
  .hp-brand strong { font-size: 15px; }
  .hp-home-hero, .hp-directory-intro, .hp-article, .hp-section { padding: 18px; }
  .hp-article-list, .hp-category-list { grid-template-columns: 1fr; }
  .hp-article-card:nth-child(odd) { border-right: 0; }
  .hp-filter-bar { grid-template-columns: 1fr; }
  .hp-gallery { grid-template-columns: 1fr; }
  .hp-gallery img { aspect-ratio: 16 / 9; }
  .hp-related-grid { grid-template-columns: 1fr; }
  .hp-article-sidebar ol { columns: 1; }
}
