* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--theme-surface); color: var(--theme-ink); font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--theme-accent-ink); text-underline-offset: 4px; }
a:hover { color: var(--theme-accent-hover); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--theme-accent-ink); outline-offset: 4px; }
h1, h2, h3, h4 { line-height: 1.5; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: normal; }
.phrase { display: inline-block; white-space: nowrap; }
h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.5; margin: 18px 0 24px; }
h2 { font-size: clamp(24px, 2.1vw, 30px); }
h3 { font-size: 21px; }
h4 { font-size: 24px; margin: 0 0 24px; }
p { color: var(--theme-body); margin: 16px 0; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--theme-surface); border-bottom: 1px solid var(--theme-line); }
.header-inner { max-width: 1440px; margin: auto; padding: 12px clamp(18px, 4vw, 56px); display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--theme-ink); flex-shrink: 0; }
.brand-logo { display: block; width: 42px; height: 42px; border-radius: 50%; box-shadow: var(--theme-panel-shadow); }
.brand strong { display: block; font-size: 17px; line-height: 1.2; }
.brand span { display: block; font-size: 11px; color: var(--theme-muted); line-height: 1.5; }
.nav-links { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.nav-links > a:not(.nav-cta) { color: var(--theme-muted); padding: 8px 10px; text-decoration: none; }
.nav-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 26px; border-radius: 10px; background: var(--brand-accent); color: white; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav-cta:hover, .primary-button:hover { color: white; background: var(--theme-accent-hover); }
.nav-cta { min-width: 184px; box-shadow: var(--theme-shadow); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 0; list-style: none; font-size: 12px; color: var(--theme-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; padding-left: 12px; color: var(--theme-line-strong); }
.breadcrumbs a { color: var(--theme-muted); }
.article-page { padding: 20px 0 80px; }
.article-page > nav, .article-page > article > :not(.article-heading) { width: min(880px, calc(100% - 40px)); margin-inline: auto; }
.article-heading { margin: 24px 0 40px; padding: 36px max(20px, calc((100% - 880px) / 2)) 40px; background: linear-gradient(110deg, #fcfbff 0%, #f0e9fc 100%); border-block: 1px solid var(--theme-line); }
.eyebrow { font-size: 11px; color: var(--theme-accent-ink); font-weight: 800; letter-spacing: .1em; margin: 0 0 16px; }
.category-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0 4px; max-width: 100%; border-radius: 30px; padding: 3px 12px 3px 3px; background: color-mix(in srgb, var(--card-accent, #7135d6) 8%, white); color: var(--card-accent, #7135d6); font-size: 12px; font-weight: 800; line-height: 1.7; }
.category-badge .badge-text { min-width: 0; }
.category-badge svg { flex: 0 0 28px; width: 28px; height: 28px; margin-right: 3px; padding: 5px; border-radius: 9px; background: var(--card-accent, #7135d6); color: white; }
.disclosure { padding: 20px 24px; border: 1px solid var(--theme-accent-line); border-left: 4px solid var(--brand-accent); border-radius: 10px; color: var(--theme-ink); font-size: 15px; font-weight: 700; background: var(--theme-surface); box-shadow: var(--theme-shadow); }
.dates { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--theme-muted); margin: 20px 0 24px; }
.article-heading > p:last-child { margin-bottom: 0; }
.note { font-size: 13px; line-height: 1.85; color: var(--theme-muted); }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--theme-line); border-radius: 12px; background: white; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; line-height: 1.85; }
caption { text-align: left; font-weight: 800; color: var(--theme-ink); padding: 18px 20px; background: var(--theme-surface-muted); }
th, td { padding: 16px 20px; vertical-align: top; border-top: 1px solid var(--theme-line); }
thead th { background: var(--theme-surface-muted); font-size: 12px; color: var(--theme-muted); }
tbody th { font-weight: 700; }
td { color: var(--theme-body); }
.comparison-table { min-width: 700px; }
.comparison-table th:first-child { width: 23%; }
.comparison-table th:nth-child(2) { width: 42%; }
.quick-compare tbody tr:first-child { background: var(--theme-highlight); }
.quick-compare tbody tr:first-child th { box-shadow: inset 4px 0 var(--brand-accent); }
.consultation { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; margin: 30px 0; border: 1px solid var(--theme-accent-line); border-radius: 14px; background: linear-gradient(115deg, #f6f0ff, #ebe5ff); color: var(--theme-ink); }
.consultation strong { font-size: 19px; }
.consultation p { color: var(--theme-body); font-size: 13px; margin: 6px 0 0; }
.consultation > a { flex-shrink: 0; text-align: center; background: var(--brand-accent); border-radius: 10px; padding: 13px 24px; text-decoration: none; font-size: 14px; font-weight: 800; color: white; box-shadow: var(--theme-shadow); }
.consultation > a:hover { background: var(--theme-accent-hover); }
.toc { background: var(--theme-surface-muted); border: 1px solid var(--theme-line); padding: 26px 30px; margin-block: 42px 60px; border-radius: 12px; }
.toc h2 { font-size: 18px; margin: 0 0 14px; }
.toc ol { margin: 0; padding-left: 23px; columns: 2; column-gap: 36px; }
.toc li { font-size: 14px; padding: 5px 0; break-inside: avoid; }
.toc li::marker { color: var(--brand-accent); font-weight: 800; }
.toc a { color: var(--theme-body); text-decoration: none; }
.article-body > section { margin-top: 64px; }
.article-body > section > h2 { display: block; border-bottom: 1px solid var(--theme-accent-line); padding-bottom: 18px; margin-bottom: 26px; }
.article-body > section > h2::before { content: ''; display: inline-block; width: 30px; height: 30px; border-radius: 8px; margin-right: 12px; vertical-align: -.15em; background: var(--theme-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E") center / 20px no-repeat; }
.text-section { margin: 26px 0; }
.text-section h3 { margin-bottom: 10px; }
.text-section p { margin-top: 0; }
.company-group { margin-top: 42px; }
.company-group > h3 { border-left: 3px solid var(--theme-accent-line); padding-left: 16px; margin-bottom: 26px; }
.company { padding: 30px; border: 1px solid var(--theme-line); border-radius: 16px; margin: 24px 0; background: white; box-shadow: 0 4px 18px rgb(76 29 149 / .03); }
.company.own-company { border: 2px solid var(--brand-accent); background: linear-gradient(150deg, #f8f4ff, white 65%); box-shadow: var(--theme-shadow); }
.own-label { display: inline-block; background: var(--brand-accent); color: white; font-weight: 800; font-size: 12px; border-radius: 30px; padding: 4px 14px; margin: 0 0 16px; }
.service-image { display: block; width: 100%; height: 260px; object-fit: contain; border-radius: 10px; margin-bottom: 24px; background: var(--theme-accent-soft); }
.service-image[src$="ai-advisory.webp"] { object-fit: cover; object-position: center 22%; }
.company-table th { width: 27%; background: var(--theme-surface-muted); }
.company-table th, .company-table td { padding: 13px 16px; }
.company > p { font-size: 14px; }
.company-actions { display: flex; gap: 12px; margin-top: 24px; }
.company-actions > a { flex: 1; text-align: center; }
.service-link { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--theme-accent-line); border-radius: 10px; padding: 10px 20px; color: var(--brand-accent); font-size: 14px; font-weight: 800; background: white; text-decoration: none; }
.company .source { font-size: 12px; color: var(--theme-muted); border-top: 1px solid var(--theme-line); padding-top: 16px; margin-bottom: 0; }
.source span { display: block; margin-top: 4px; }
.author { padding: 28px; border-radius: 12px; background: var(--theme-surface-muted); }
.author h2 { margin-top: 0; }
.related { margin-top: 64px; border-top: 1px solid var(--theme-line); padding-top: 22px; }
.related h2 { font-size: 20px; }
.related ul { padding-left: 22px; font-size: 14px; }
.related li { margin: 12px 0; }
.index-page { max-width: 1440px; padding: 20px 24px 80px; margin: auto; }
.index-heading { margin: 16px -24px 0; padding: 26px 24px 30px; background: linear-gradient(105deg, #fcfbff, #f0e9fc); border-block: 1px solid var(--theme-line); }
.index-heading h1 { margin-top: 0; }
@media (min-width: 761px) { .index-heading h1 br { display: none; } }
.index-heading > p:not(.eyebrow), .index-heading .disclosure { max-width: 900px; }
.index-heading .disclosure { margin-top: 24px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px 0 48px; }
.article-card { --card-accent: #7135d6; --card-soft: #eee7ff; min-width: 0; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--card-accent) 22%, white); border-radius: 12px; background: linear-gradient(125deg, white 20%, var(--card-soft)); overflow: hidden; }
.article-card[data-theme="training"] { --card-accent: #a95409; --card-soft: #fff2e4; }
.article-card[data-theme="security"] { --card-accent: #5744a3; --card-soft: #eeebfa; }
.article-card:hover { border-color: var(--card-accent); box-shadow: var(--theme-shadow); }
.card-visual { display: block; height: 160px; background: linear-gradient(125deg, #ffffff88, var(--card-soft)); border-bottom: 1px solid color-mix(in srgb, var(--card-accent) 12%, white); }
.card-service-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.article-card[data-theme="advisory"] .card-service-image { object-fit: cover; object-position: center 22%; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.article-card .category-badge { align-self: flex-start; }
.article-card h2 { font-size: 24px; margin: 16px 0 12px; }
.article-card h2 a { text-decoration: none; color: var(--theme-ink); }
.article-card p { font-size: 14px; margin: 0 0 24px; }
.card-bottom { margin-top: auto; }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--theme-muted); font-size: 11px; }
.card-read { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--card-accent); font-size: 13px; font-weight: 800; margin-top: 16px; }
.card-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--theme-accent-line); border-radius: 50%; background: white; color: var(--theme-ink); font-size: 25px; font-weight: 400; box-shadow: 0 3px 7px #25346b12; }
.editorial-policy { background: var(--theme-surface-muted); border-radius: 12px; padding: 26px 30px; }
.editorial-policy h2 { font-size: 20px; margin: 0; }
.editorial-policy p { font-size: 14px; margin-bottom: 0; }
.floating-consult { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; display: none; align-items: center; justify-content: space-between; gap: 12px; width: min(560px, calc(100% - 28px)); padding: 10px 12px 10px 20px; border: 1px solid var(--theme-accent-line); border-radius: 999px; background: white; box-shadow: var(--theme-panel-shadow); text-decoration: none; color: var(--theme-ink); transform: translateX(-50%); }
.floating-consult-copy { display: grid; gap: 3px; min-width: 0; }
.floating-consult-copy small { color: var(--brand-accent); font-size: 10px; font-weight: 800; line-height: 1.3; }
.floating-consult-copy strong { font-size: 12px; line-height: 1.5; }
.floating-consult-action { flex-shrink: 0; display: grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: white; background: var(--brand-accent); font-size: 12px; font-weight: 800; }
.site-footer { background: #0d0b1e; color: #f5f3ff; padding: 44px max(24px, calc((100% - 1096px) / 2)); display: flex; justify-content: space-between; gap: 32px; }
.site-footer strong { font-size: 22px; }
.site-footer p { color: #cdc7e8; font-size: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; max-width: 550px; align-content: center; }
.site-footer a { color: #cdc7e8; font-size: 13px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { display: block; padding: 12px 24px; }
@media (min-width: 761px) and (max-width: 1100px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  html { scroll-padding-top: 92px; }
  h1 { font-size: 30px; line-height: 1.55; }
  .header-inner { padding: 12px 18px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand strong { font-size: 15px; }
  .brand span { font-size: 10px; }
  .nav-links { gap: 0; flex-direction: column; align-items: flex-end; }
  .nav-links > a:not(.nav-cta) { font-size: 10px; padding: 0 0 4px; }
  .nav-cta { min-width: 0; min-height: 34px; padding: 6px 13px; font-size: 11px; border-radius: 7px; }
  .article-page { padding-top: 16px; }
  .article-heading { padding-block: 28px 30px; margin-top: 20px; }
  .disclosure { padding: 16px; font-size: 14px; }
  .dates { gap: 4px 18px; }
  .consultation { display: block; padding: 22px; }
  .consultation strong { font-size: 18px; }
  .consultation > a { display: block; margin-top: 20px; }
  .toc { padding: 22px; margin-bottom: 44px; }
  .toc ol { columns: 1; }
  .company { padding: 22px 16px; }
  .company h4 { font-size: 21px; }
  .company-table { font-size: 13px; }
  .company-table th { width: 34%; font-size: 12px; }
  .company-table th, .company-table td { padding: 12px 10px; }
  .service-image { height: 200px; }
  .company-actions { flex-direction: column; }
  th, td { padding: 13px 14px; }
  .article-body > section { margin-top: 48px; }
  .text-section h3 { font-size: 19px; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 28px 0 40px; }
  .index-page { padding-inline: 18px; }
  .index-heading { margin-inline: -18px; padding: 28px 18px; }
  .article-card h2 { font-size: 23px; }
  .card-visual { height: 190px; }
  .card-body { padding: 20px; }
  .author, .editorial-policy { padding: 22px; }
  .floating-consult { display: flex; }
  .site-footer { display: block; padding: 36px 24px 140px; }
  .site-footer nav { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
