/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --red:        #e05a00;
  --red-dk:     #b84400;
  --orange:     #ff6600;
  --bg:         #f4f4f0;
  --surface:    #ffffff;
  --gray-50:    #fafafa;
  --gray-100:   #f0f0f0;
  --border:     #dddddd;
  --text:       #1a1a1a;
  --text-sub:   #555555;
  --text-muted: #999999;
  --link:       #0066cc;
  --font: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  --r:    3px;
  --r-md: 6px;
  --shadow:    0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; font-size: 14px; }
body {
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 8px;
}
@media (min-width: 640px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--red);
  border-bottom: 3px solid var(--red-dk);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 8px;
}
.logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: none;
}
.logo:hover { text-decoration: none; }
.logo span {
  font-size: 11px;
  font-weight: 400;
  display: block;
  letter-spacing: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.85);
}
.header-right { display: flex; align-items: center; gap: 8px; }
.header-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 5px 12px;
  border-radius: var(--r);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font);
}
.header-btn.primary {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.search-bar { background: var(--red-dk); padding: 8px 16px 10px; }
.search-inner { display: flex; gap: 6px; max-width: 600px; }
.search-inner input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: var(--r) 0 0 var(--r);
  font-size: 14px;
  outline: none;
  font-family: var(--font);
}
.search-inner button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: background 0.15s;
}
.search-inner button:hover { background: #e55a00; }

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.nav-bar {
  background: #222;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-bar::-webkit-scrollbar { display: none; }
.nav-item {
  color: #ddd;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
  border-right: 1px solid #333;
  transition: background 0.15s;
  text-decoration: none;
  display: block;
}
.nav-item:hover { background: #333; color: #fff; text-decoration: none; }
.nav-item.active { color: var(--orange); font-weight: 700; }
.nav-item-btn { background: none; border: none; font-family: var(--font); cursor: pointer; }
.nav-item-caret { font-size: 9px; margin-left: 3px; opacity: 0.7; }
.nav-dropdown-wrap { position: relative; display: flex; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #2a2a2a;
  border: 1px solid #444;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  z-index: 200;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ddd;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid #3a3a3a;
  white-space: nowrap;
  text-decoration: none;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: #3a3a3a; color: #fff; text-decoration: none; }
.nav-dropdown-label {
  font-size: 10px;
  color: var(--orange);
  font-weight: 700;
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid var(--orange);
  border-radius: 2px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--link); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-sub); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2340 50%, #112952 100%);
  padding: 32px 0;
}
@media (max-width: 480px) { .hero { padding: 20px 0; } }
.hero-inner { max-width: 720px; }
.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}
@media (max-width: 480px) { .hero-title { font-size: 22px; } }
.hero-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 14px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px 0 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .layout { grid-template-columns: 1fr 260px; }
}

/* ============================================================
   SECTION CARD
   ============================================================ */
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
}
.section-card:last-child { margin-bottom: 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 2px solid var(--red);
  background: var(--gray-50);
}
.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
}
.update-date {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.section-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lead-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.75;
}
.sub-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-left: 3px solid var(--red);
  padding-left: 8px;
}

/* ============================================================
   SUMMARY GRID（概要カード）
   ============================================================ */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .summary-grid { grid-template-columns: repeat(4, 1fr); }
}
.summary-item {
  border-radius: var(--r-md);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--border);
}
.summary-item--blue  { background: #e8f4fd; border-color: #90caf9; }
.summary-item--orange{ background: #fff3e0; border-color: #ffcc80; }
.summary-item--green { background: #e8f5e9; border-color: #a5d6a7; }
.summary-item--red   { background: #fff5f5; border-color: #ffcdd2; }
.summary-icon { font-size: 22px; margin-bottom: 6px; }
.summary-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.summary-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 2px;
}
.summary-note {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: #f0faf4;
  border: 1px solid #a5d6a7;
  border-left: 3px solid #2e7d32;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}
.highlight-box-title {
  font-size: 12px;
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 20px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -17px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--surface);
  flex-shrink: 0;
  z-index: 1;
}
.timeline-dot--highlight { background: var(--orange); }
.timeline-dot--current   { background: var(--red); }
.timeline-content { flex: 1; }
.timeline-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  margin-bottom: 3px;
}
.timeline-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}
.timeline-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}
.timeline-item--latest .timeline-content {
  background: #fff9e6;
  border: 1px solid #ffe082;
  border-radius: var(--r-md);
  padding: 10px 12px;
}

/* ============================================================
   ROLE CARDS（ガイドライン役割別）
   ============================================================ */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 640px) {
  .role-cards { flex-direction: row; }
}
.role-card {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.role-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-bottom: 2px solid var(--red);
}
.role-icon { font-size: 18px; }
.role-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.role-list {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.role-list li {
  font-size: 12px;
  color: var(--text-sub);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.role-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 10px;
  top: 1px;
}

/* ============================================================
   PRINCIPLE GRID（7原則）
   ============================================================ */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .principle-grid { grid-template-columns: repeat(4, 1fr); }
}
.principle-item {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 10px;
  text-align: center;
}
.principle-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  font-family: 'Menlo', 'Monaco', monospace;
  margin-bottom: 5px;
}
.principle-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.principle-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   COPYRIGHT FLOW（著作権フロー）
   ============================================================ */
.copyright-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.copyright-step {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.copyright-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}
.copyright-step-num {
  font-size: 10px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 1px 7px;
  border-radius: 2px;
  font-family: 'Menlo', 'Monaco', monospace;
}
.copyright-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.copyright-step-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.copyright-result {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.55;
  padding: 8px 10px;
  border-radius: var(--r);
}
.copyright-ok     { background: #e8f5e9; border: 1px solid #a5d6a7; }
.copyright-caution{ background: #fffde7; border: 1px solid #ffe082; }
.copyright-gray   { background: var(--gray-50); border: 1px solid var(--border); }
.copyright-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.copyright-badge--ok     { background: #2e7d32; color: #fff; }
.copyright-badge--caution{ background: #f57f17; color: #fff; }
.copyright-badge--gray   { background: #757575; color: #fff; }
.copyright-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.55;
  padding-left: 4px;
  border-left: 2px solid var(--border);
}
.copyright-arrow {
  text-align: center;
  font-size: 18px;
  color: var(--text-muted);
  padding: 4px 0;
}

/* ============================================================
   RISK LIST
   ============================================================ */
.risk-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.risk-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.risk-high { background: #fff5f5; border-color: #ffcdd2; }
.risk-mid  { background: #fffde7; border-color: #fff176; }
.risk-low  { background: #f3f3f3; border-color: #e0e0e0; }
.risk-level {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  height: fit-content;
  flex-shrink: 0;
}
.risk-high .risk-level { background: #c62828; color: #fff; }
.risk-mid  .risk-level { background: #f57f17; color: #fff; }
.risk-low  .risk-level { background: #757575; color: #fff; }
.risk-content { flex: 1; }
.risk-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.risk-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table caption {
  font-size: 11px;
  color: var(--text-muted);
  text-align: left;
  padding: 0 0 6px;
}
.compare-table th {
  background: var(--gray-100);
  padding: 8px 10px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
  font-size: 12px;
}
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.compare-table tr.recommended td { background: #fff9e6; }
.compare-table .highlight { color: var(--red); font-weight: 700; }

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  background: #e8f4fd;
  border: 1px solid #90caf9;
  border-left: 3px solid #1565c0;
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.65;
}
.info-box-title {
  font-size: 12px;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   OUTLOOK LIST（今後の動向）
   ============================================================ */
.outlook-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.outlook-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.outlook-item--high { background: #fff5f5; border-color: #ffcdd2; }
.outlook-item--mid  { background: #fffde7; border-color: #ffe082; }
.outlook-item--low  { background: var(--gray-50); }
.outlook-priority {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  height: fit-content;
  flex-shrink: 0;
}
.outlook-item--high .outlook-priority { background: #c62828; color: #fff; }
.outlook-item--mid  .outlook-priority { background: #f57f17; color: #fff; }
.outlook-item--low  .outlook-priority { background: #757575; color: #fff; }
.outlook-content { flex: 1; }
.outlook-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.outlook-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ============================================================
   ACTION LIST（対応チェックリスト）
   ============================================================ */
.action-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.action-section {}
.action-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}
.action-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.action-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.action-check {
  font-size: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 1px;
}
.action-content { flex: 1; }
.action-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.action-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-body { padding: 8px 16px 14px; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 12px 32px 12px 32px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 11px;
  width: 20px;
  height: 20px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 20px;
}
.faq-q::after {
  content: '▼';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 9px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
details[open] .faq-q::after { transform: rotate(180deg); }
.faq-a {
  padding: 4px 0 12px 32px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}
.faq-a p { margin: 0; }

/* ============================================================
   DISCLAIMER BOX
   ============================================================ */
.disclaimer-box {
  padding: 10px 14px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 12px;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
}
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-widget-head {
  padding: 8px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--red);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.sidebar-widget-head--warn {
  border-left-color: #c84f14;
  color: #c84f14;
}
.sidebar-widget-body { padding: 10px 12px; }
.toc-list {
  display: flex;
  flex-direction: column;
}
.toc-list li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.toc-list li:last-child { border-bottom: none; }
.toc-list a { color: var(--link); }
.toc-list a:hover { text-decoration: underline; }
.doc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.doc-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.doc-list li:last-child { border-bottom: none; }
.doc-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.4;
}
.doc-meta {
  font-size: 10px;
  color: var(--text-muted);
}
.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-list li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.5;
}
.related-list li:last-child { border-bottom: none; padding-bottom: 0; }
.related-list a { color: var(--link); }
.related-list a:hover { text-decoration: underline; }
.sidebar-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 20px 16px;
  font-size: 12px;
  line-height: 1.8;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-bottom: 8px;
}
.footer-links a { color: #aaa; }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
  .summary-grid     { grid-template-columns: repeat(2, 1fr); }
  .principle-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-tags        { gap: 6px; }
  .hero-tag         { font-size: 10px; padding: 3px 8px; }
  .role-cards       { flex-direction: column; }
  .timeline         { padding-left: 16px; }
}

/* ============================================================
   RESPONSIVE SAFETY — モバイル横はみ出し防止（自動追加）
   グリッド/フレックス項目は min-width:auto のため内部のワイド要素
   （比較テーブル等）で縮まず横スクロールが発生する。min-width:0 で解消。
   ============================================================ */
.layout > *,
.layout__inner > *,
.left-col, .right-col,
.left-col > *, .right-col > *,
.layout-main, .layout-side {
  min-width: 0;
}
.table-wrap { max-width: 100%; }
