
:root {
  --ink:          #0E1320; 
  --ink-2:        #161C2C; 
  --paper:        #FFFFFF;
  --paper-2:      #F5F6F8; 
  --paper-3:      #E8ECF1; 
  --text:         #0B1220; 
  --text-mute:    #5B6473;
  --text-light:   #5F6B80;
  --line:         #E6E9EE;
  --line-on-paper2: #DFE3EA; 
  --line-strong:  #798498;
  --yellow:       #F4E06B; 
  --yellow-strong:#F2D429;
  --yellow-hover: #EBD24A;
  --navy:         #0B1F44; 
  --link:         #1E3A8A;
  --success:      #15803D;
  --warn:         #B45309;

  --f-head: "Manrope", "Noto Sans JP", system-ui, sans-serif;
  --f-body: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r:    0;
  --r-sm: 0;
  --pill: 999px;

  --s-1:8px; --s-2:16px; --s-3:24px; --s-4:32px;
  --s-5:48px; --s-6:72px; --s-7:104px; --s-8:140px;

  --container: 1200px;
  --w-lede: 880px;
  --measure:   880px; 
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background: var(--paper);
  font-size: 16px; 
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
th, td { overflow-wrap: break-word; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
  text-spacing-trim: trim-start;
}
h1, h2 { word-break: keep-all; line-break: strict; overflow-wrap: normal; }
h3, h4, h5, summary, figcaption { word-break: auto-phrase; overflow-wrap: anywhere; }
th { word-break: auto-phrase; }
h3, h4 { text-wrap: pretty; }
p { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--navy); text-decoration: underline; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}
:where(a, button, summary, input, select, textarea):focus-visible { border-radius: 2px; }
.section.dark a:focus-visible, .section.dark button:focus-visible,
.page-head a:focus-visible, .footer a:focus-visible,
.cta-final a:focus-visible { outline-color: var(--yellow); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


.section { padding: var(--s-7) var(--s-3); }
.section .inner { max-width: var(--container); margin: 0 auto; } 
.section { scroll-margin-top: 80px; }

.section.paper-2 { background: var(--paper-2); }
.section.dark    { background: var(--ink); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .lede { color: rgba(255,255,255,.7); }

.sec-head { max-width: var(--w-lede); margin: 0 0 var(--s-5); position: relative; padding-top: 40px; }
.sec-head::before,
.sec-head::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; }
.sec-head::before { width: 100%;  background: var(--line); }
.sec-head::after  { width: 120px; background: var(--navy); }
.sec-head.center { text-align: center; max-width: 760px; margin: 0 auto var(--s-6); }
.sec-head.center::before,
.sec-head.center::after { left: 50%; transform: translateX(-50%); }
.section.paper-2 .sec-head::before { background: var(--line-on-paper2); }
.sec-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin: 0;
}

.rule-head { position: relative; padding-bottom: 16px; }
.rule-head::before,
.rule-head::after { content: ""; position: absolute; bottom: 0; left: 0; height: 2px; }
.rule-head::before { width: 100%; max-width: 420px; background: var(--line); }
.rule-head::after  { width: 80px;                   background: var(--navy); }
.section.paper-2 .rule-head::before { background: var(--line-on-paper2); }
.sec-head .lede {
  color: var(--text-mute);
  font-size: 17px;
  line-height: 1.9;
  margin: var(--s-2) 0 0;
}

.eyebrow { 
  display: inline-block;
  background: var(--yellow); color: var(--navy);
  font-family: var(--f-head); font-weight: 700;
  font-size: 12px; letter-spacing: .04em;
  padding: 5px 14px; border-radius: var(--pill);
  margin: 0 0 var(--s-2);
}
.section.dark .eyebrow, 
.page-head .eyebrow {
  background: transparent; color: var(--yellow);
  padding: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em;
}

.prose { max-width: var(--measure); margin: 0; }
.prose p  { color: var(--text); font-size: 16px; line-height: 1.9; margin: 0 0 var(--s-2); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { color: var(--text); font-size: 16px; line-height: 1.9; padding-left: 1.2em; margin: 0 0 var(--s-2); }


.stack { max-width: var(--measure); margin: 0; }
.stack > * { padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.stack > *:last-child { border-bottom: 1px solid var(--line); }
.stack h3 { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.6; margin: 0 0 6px; }
.stack p  { font-size: 16px; color: var(--text-mute); line-height: 1.9; margin: 0; }
.section.paper-2 .stack > * { border-color: var(--line-on-paper2); } 

.numbered { max-width: var(--measure); margin: 0; display: flex; flex-direction: column; gap: var(--s-4); counter-reset: jst-n; }
.numbered > * { display: flex; gap: var(--s-2); align-items: flex-start; counter-increment: jst-n; }
.numbered > *::before {
  content: counter(jst-n);
  content: counter(jst-n) / "";
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: var(--pill);
  background: var(--yellow); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 800; font-size: 14px; margin-top: 2px;
}
.numbered .body { min-width: 0; }
.numbered h3 { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.6; margin: 0 0 6px; }
.numbered p  { font-size: 16px; color: var(--text-mute); line-height: 1.9; margin: 0; }

.grid { display: grid; gap: var(--s-3); }
.grid > * { min-width: 0; } 
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-2 { grid-template-columns: 1fr; }
  .g-2:has(.svc-card) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: var(--s-6) var(--s-3); }
  .sec-head { margin-bottom: var(--s-4); }
}


.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--navy); color: #fff !important;
  padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  transition: top 120ms ease;
}
.skip-link:focus { top: 8px; text-decoration: none; outline: 2px solid var(--link); outline-offset: 2px; }

.header { position: sticky; top: 0; z-index: 90; border-bottom: 1px solid var(--line); background: #fff; }
.header .inner {
  max-width: calc(var(--container) + 2 * var(--s-3)); margin: 0 auto;
  display: flex; align-items: center; gap: var(--s-4);
  padding: 14px var(--s-3); 
}
.brand { font-family: var(--f-head); font-weight: 700; font-size: 16px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; display: block; } 
.header nav.primary { display: flex; gap: var(--s-3); margin-left: auto; margin-right: var(--s-4); position: relative; }
.header nav.primary a { color: var(--text); font-family: var(--f-head); font-weight: 600; font-size: 14px; padding: 8px 0; border-bottom: 2px solid transparent; } 
.header nav.primary a:hover { color: var(--navy); border-bottom-color: var(--yellow); text-decoration: none; }
.header nav.primary a.is-active { border-bottom-color: var(--yellow); }
.header .util { display: flex; gap: var(--s-2); align-items: center; }

.btn-contact {
  background: var(--yellow); color: var(--navy) !important;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; font-weight: 600; font-size: 14px; min-height: 44px; 
  border-radius: var(--pill); transition: background 200ms ease;
}
.btn-contact:hover { background: var(--yellow-hover); color: var(--navy) !important; text-decoration: none; }

.nav-toggle { display: none; }
@media (max-width: 900px) {
  .header nav.primary { display: none; }
  .header .inner { flex-wrap: wrap; }
  .header .util { margin-left: auto; }
  .btn-contact { padding: 10px 18px; font-size: 13px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm); 
    color: var(--navy); cursor: pointer;
  }
  .header nav.primary.is-open {
    display: flex; flex-direction: column; gap: 0; width: 100%; order: 3;
    margin: 8px 0 0; border-top: 1px solid var(--line); 
  }
  .header nav.primary.is-open > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header nav.primary {
    opacity: 0; transform: translateY(-8px);
    transition: opacity 200ms ease-out, transform 200ms ease-out, display 200ms allow-discrete;
  }
  .header nav.primary.is-open { opacity: 1; transform: none; }
  @starting-style {
    .header nav.primary.is-open { opacity: 0; transform: translateY(-8px); }
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .header nav.primary { transition: none; }
}

.crumbs { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text-mute); } 
.crumbs .inner { max-width: calc(var(--container) + 2 * var(--s-3)); margin: 0 auto; padding: 12px var(--s-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--text-mute); }
.crumbs .sep { color: var(--text-light); }
.crumbs .current { color: var(--text); font-weight: 500; }

.page-head { background: var(--ink); color: #fff; padding: var(--s-6) var(--s-3); }
.page-head .inner { max-width: var(--container); margin: 0 auto; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 40px); color: #fff; line-height: 1.3; margin: 12px 0; }
.page-head.is-hub h1::before {
  content: ""; display: block; width: 40px; height: 4px; background: var(--yellow); margin: 0 0 20px;
}
.page-head .lede { color: rgba(255,255,255,.75); font-size: 16px; max-width: var(--w-lede); line-height: 1.8; text-wrap: pretty; }

.scope { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: var(--s-3) 0 0; }
.scope dt {
  font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--navy); background: var(--yellow); padding: 5px 14px; border-radius: var(--pill); 
}
.scope dd { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }


.consequence { margin-top: var(--s-5); max-width: var(--measure); }
.consequence h3 { font-size: 18px; color: var(--navy); margin: 0 0 10px; }
.consequence p { font-size: 16px; color: var(--text-mute); line-height: 1.9; margin: 0; }


:is(.cat-index, .cat-nav) a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--pill);
  font-size: 14px; font-weight: 600; color: var(--navy); background: #fff;
}
:is(.cat-index, .cat-nav) a:hover { border-color: var(--link); color: var(--navy); text-decoration: none; }
:is(.cat-index, .cat-nav) a :is(.n, .cat-count) { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--text-mute); }

.jump-nav { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: var(--s-3); font-size: 13px; }
.jump-nav a { color: rgba(255,255,255,.75); font-weight: 500; padding: 6px 0; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.jump-nav a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; border-radius: var(--pill);
  cursor: pointer; min-height: 44px; 
  transition: background 200ms ease, border-color 200ms ease;
}
.btn-primary { background: var(--yellow); color: var(--navy); } 
.btn-primary:hover { background: var(--yellow-hover); color: var(--navy); text-decoration: none; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #091833; color: #fff; text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); } 
.btn-outline:hover { border-color: var(--navy); text-decoration: none; }
.btn-outline-invert { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-invert:hover { border-color: #fff; color: #fff; text-decoration: none; }


.card {
  border: 1px solid var(--line); background: #fff;
  padding: var(--s-3);
  display: flex; flex-direction: column; gap: 10px;
  border-radius: var(--r);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card h3 { font-size: 16px; color: var(--navy); line-height: 1.6; margin: 0; }
.card p  { font-size: 14px; font-weight: 500; color: var(--text-mute); line-height: 1.8; } 
.card a.more { margin-top: auto; font-size: 14px; font-weight: 600; }
.card a.more::after { content: " →"; content: " →" / ""; } 

.svc-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; color: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.svc-card:hover { border-color: var(--link); box-shadow: 0 8px 28px rgba(11,31,68,0.08); text-decoration: none; }
a.svc-card { border-bottom-width: 2px; border-bottom-color: var(--navy); }
.svc-visual { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-bottom: 1px solid var(--line); display: block; overflow: hidden; }
.svc-visual img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.65) saturate(0.9) brightness(1.02) contrast(1.03); }
.svc-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, rgba(11,31,68,0.14) 0%, rgba(11,31,68,0.06) 55%, rgba(30,58,138,0.03) 100%); }
.svc-visual.is-logo { background: #fff; }
.svc-visual.is-logo img { object-fit: contain; padding: 8% 20%; box-sizing: border-box; filter: none; }
.svc-visual.is-logo::after { display: none; }
.svc-body .meta { font-size: 12px; color: var(--text-light); margin: 0; }
@media (max-width: 700px) {
  .grid.case-grid:has(.svc-card) { grid-template-columns: 1fr; gap: var(--s-3); }
  .case-grid .svc-card .svc-body { padding: var(--s-2) var(--s-2) 18px; gap: 8px; }
  .case-grid .svc-card .svc-body :is(h2, h3) { font-size: 15.5px; }
  .case-grid .svc-card .svc-body p:not(.meta) { font-size: 13px; display: block; -webkit-line-clamp: unset; overflow: visible; }
}
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: var(--s-2) var(--s-2) 18px; flex: 1; }
.svc-body :is(h3, h4) { font-family: var(--f-head); font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.5; margin: 0; }
.svc-body :is(h3, h4) .sub { font-size: 11px; color: var(--text-mute); font-weight: 500; }
.svc-body p { font-size: 13px; font-weight: 500; color: var(--text-mute); line-height: 1.7; margin: 0; } 
.svc-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--link); }
.svc-card:hover .svc-more { color: var(--navy); }

.svc-card.is-pending { cursor: default; }
.svc-card.is-pending:hover { border-color: var(--line); box-shadow: none; }

@media (max-width: 700px) {
  .grid:has(.svc-card),
  .tnd-feat-cases:has(.svc-card) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card .svc-body { padding: 12px 12px 14px; gap: 6px; }
  .svc-card .svc-body :is(h3, h4) { font-size: 14px; }
  .svc-card .svc-body p {
    font-size: 12px; line-height: 1.65;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
}
@media (max-width: 900px) {
  .svc-related:has(.svc-card) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.svc-pending { margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 600; color: var(--text-mute); }

.tag {
  display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 12px; line-height: 1.5;
  background: transparent; color: var(--text-mute);
  border: 1px solid var(--line); border-radius: 14px;
  max-width: 100%; word-break: auto-phrase; text-wrap: balance; text-spacing-trim: trim-start;
}

details.faq { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
details.faq summary {
  font-size: 17px; font-weight: 600; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; gap: 12px; align-items: center; min-height: 44px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "Q."; color: var(--link); font-family: var(--f-head); font-weight: 700; flex-shrink: 0; white-space: nowrap; } 
details.faq summary::after { content: "+"; margin-left: auto; color: var(--text-light); flex-shrink: 0; }
details.faq[open] summary::after { content: "−"; }
details.faq .ans { font-size: 16px; color: var(--text-mute); padding: 10px 0 0 28px; line-height: 1.9; }
:root { interpolate-size: allow-keywords; }
details::details-content {
  block-size: 0; overflow: clip;
  transition: block-size 220ms ease-out, content-visibility 220ms allow-discrete;
}
details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  details::details-content { transition: none; }
}
.faq-list { max-width: var(--measure); margin: 0; }
.faq-list details.faq:first-child { border-top: 1px solid var(--line); }
.section.paper-2 .faq-list details.faq { border-color: var(--line-on-paper2); } 


.table-scroll { overflow-x: auto; max-width: 100%; margin: 0; -webkit-overflow-scrolling: touch; }
.table-scroll-hint { margin: 0 0 8px; font-size: 13px; color: var(--text-mute); }
.table-scroll:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; } 
.data-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
  font-variant-numeric: tabular-nums; text-align: left;
}
.data-table caption {
  caption-side: top; text-align: left; font-size: 14px; color: var(--text-mute);
  padding: 0 0 12px; line-height: 1.8;
}
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th {
  background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 600;
  font-size: 14px; white-space: nowrap; border-bottom: none;
}
.data-table thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
.data-table thead th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
.data-table tbody th { font-weight: 600; color: var(--navy); }
.data-table tbody td { color: var(--text-mute); }
.data-table tbody tr:nth-child(even) { background: var(--paper-2); }
.section.paper-2 .data-table tbody tr:nth-child(even) { background: #fff; }
.data-table .st { font-weight: 600; white-space: nowrap; }
.table-caption { margin: 0 0 8px; font-size: 14px; color: var(--text-mute); line-height: 1.8; }
.src { font-size: 13px; color: var(--text-light); line-height: 1.8; margin: 12px 0 0; }
.data-table caption.sr-only { padding: 0; }
@media (max-width: 600px) {
  .data-table:not(.kv) { font-size: 14px; }
  .data-table:not(.kv) th, .data-table:not(.kv) td { padding: 10px 8px; }
  .data-table:not(.kv) thead th { white-space: normal; }
}

.data-table.kv tbody th { white-space: nowrap; }

@media (max-width: 600px) {
  .data-table.kv tbody th, .data-table.kv tbody td { display: block; width: auto; }
  .data-table.kv tbody th { border-bottom: none; padding-bottom: 0; }
  .data-table.kv tbody td { padding-top: 4px; }
}

.case-ref {
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; padding: var(--s-3) var(--s-4);
  max-width: var(--measure); display: flex; flex-direction: column; gap: 8px;
}
.section.paper-2 .case-ref { border-color: var(--line-on-paper2); }
.case-ref + .case-ref { margin-top: var(--s-2); }
.case-ref .case-meta {
  font-family: var(--f-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--text-light); text-transform: uppercase;
}
.case-ref h3 { font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.6; margin: 0; }
.case-ref p  { font-size: 16px; color: var(--text-mute); line-height: 1.9; margin: 0; }
.case-ref:not(:has(a)),
.section.paper-2 .case-ref:not(:has(a)) {
  border: 0; border-left: 3px solid var(--paper-3); border-radius: 0;
  background: transparent; padding: 4px 0 4px var(--s-3);
}

.cta-final { background: var(--ink); color: #fff; padding: var(--s-7) var(--s-3); }
.cta-final .inner { max-width: var(--container); margin: 0 auto; }
.cta-final .box { background: var(--yellow); color: var(--navy); border-radius: 0; padding: var(--s-6) var(--s-5); text-align: center; }
.cta-final .box a:focus-visible, .cta-final .box button:focus-visible { outline-color: var(--navy); }
.cta-final h2 { font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); color: var(--navy); margin: 0 0 var(--s-2); } 
.cta-final .box p { color: rgba(11,31,68,.78); font-size: 16px; margin: 0 auto var(--s-4); max-width: 560px; }
.cta-final .sla { font-size: 14px; color: rgba(11,31,68,.72); margin: -6px auto var(--s-3); } 
.cta-final .actions { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; }
.cta-final .btn { padding: 15px 28px; min-height: 52px; font-weight: 700; font-size: 15px; border-width: 1.5px; }
.cta-final .box .btn-outline { background: transparent; color: var(--navy); border-color: rgba(11,31,68,.4); }
.cta-final .box .btn-outline:hover { background: rgba(11,31,68,.08); border-color: var(--navy); }

.footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: var(--s-5) var(--s-3) var(--s-3); font-size: 13px;
  font-weight: 500;
}
.footer .inner { max-width: var(--container); margin: 0 auto; }
.footer .grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; margin-bottom: var(--s-4); }
.footer h3 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.brand-logo--footer { height: 38px; width: auto; max-width: none; display: block; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: #fff; }
.footer .copy {
  margin-top: var(--s-3);
  color: rgba(255,255,255,.6); font-size: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
@media (max-width: 900px) {
  .footer .grid { grid-template-columns: repeat(3, 1fr); }
  .footer .grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .footer .grid { grid-template-columns: repeat(2, 1fr); } }

.illust { margin: var(--s-5) 0 0; }
.illust img {
  display: block; width: 100%; max-width: 560px; height: auto;
  border-radius: var(--r);
}


@media (max-width: 900px) {
  .crumbs a, .btn-contact, .brand, .jump-nav a,
  a.more, a.more-link, .svc-more {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .footer a, .news-row a { display: flex; align-items: center; min-height: 44px; }
  .case-ref p > a, .case-jump a { display: inline-flex; align-items: center; min-height: 44px; gap: .3em; }
  .data-table th[scope="row"] a { display: inline-block; min-height: 44px; }
}

@media (max-width: 600px) {
  h1, h2 { word-break: normal; word-break: auto-phrase; }
  h3, h4 { text-wrap: wrap; }
  .cta-final .box { padding: var(--s-5) var(--s-3); }
  .cta-final .actions { flex-direction: column; align-items: center; }
  .cta-final .actions .btn { width: 100%; }
}

.wb-phrase { word-break: auto-phrase; }

@media (min-width: 360px) { .nowrap { white-space: nowrap; } } 
@media (min-width: 601px) { .nowrap-pc { white-space: nowrap; } }

:is(.section, .tnd-block) :is(p, li, .src) > a[target="_blank"]::after { content: "↗" / ""; margin-left: .15em; font-size: .85em; }

@supports not (word-break: auto-phrase) {
  :root :is(h1, h2, h3, h4, h5, summary, figcaption, .tag, .tnd-tag, .p-tag, .btn, .btn-contact) {
    word-break: keep-all; overflow-wrap: anywhere;
  }
  :root th { word-break: keep-all; }
}
:root { --jst-phrase: 1; }
h1, h2 { --jst-phrase: 0; }
.wb-phrase { --jst-phrase: 1; }
@media (min-width: 601px) {
  wbr.ph-sp { display: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.footer .related { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 28px; }
.footer .related-links { display: flex; flex-flow: row wrap; gap: 8px 24px; }
.footer .related-links a { font-size: 13px; }

.data-table.bordered th, .data-table.bordered td { border: 1px solid var(--line); }
.data-table.bordered tbody th { background: var(--navy); color: #fff; border-color: var(--navy); width: 220px; vertical-align: middle; }
.data-table.bordered tbody td { background: #fff; color: var(--text); }
.data-table.bordered tbody tr + tr th { border-top: 2px solid #fff; }
.data-table.bordered .li { display: block; padding-left: 1em; text-indent: -1em; }
@media (max-width: 600px) {
  .data-table.bordered tbody th { width: auto; padding: 8px 12px; }
  .data-table.bordered tbody td { padding: 10px 12px; }
}


.svc-body :is(h2, h3), .tnd-ccard h3, .case-row :is(h2, h3) {
  word-break: auto-phrase; text-wrap: balance; overflow-wrap: normal;
}
.svc-body p, .case-row .desc, .cat-lede, .tnd-ccard p {
  word-break: auto-phrase; text-wrap: pretty; overflow-wrap: normal;
}
.svc-body h3 .nowrap, .tnd-ccard h3 .nowrap { display: inline-block; }

@media (min-width: 641px) {
  h1.wb-k, h2.wb-k, h3.wb-k { word-break: keep-all; overflow-wrap: anywhere; }
}
