@charset "UTF-8";

:root {
  color-scheme: light;
  --background: #FFFFFF;
  --text: #111827;
  --accent: #14213D;
  --section-background: #F8FAFC;
  --line: #D8DEE8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: break-word;
  line-break: strict;
}
a { color: inherit; text-underline-offset: 0.3em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.5; font-weight: 700; }
h1 { max-width: 1120px; font-size: clamp(1.75rem, 4.4vw, 3.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; text-wrap: balance; }
.headline-part { display: inline-block; white-space: nowrap; }
.headline-lead { display: block; }
.word-nowrap { display: inline-block; white-space: nowrap; }
p { text-wrap: pretty; }
h3 { font-size: 1.25rem; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: var(--accent); color: white; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0; padding-block: 4px; }
.brand { display: block; width: 168px; flex-shrink: 0; }
nav { max-width: 100%; }
nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 0; margin: 0; list-style: none; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.hero { padding-block: 48px 64px; }
.eyebrow { margin-bottom: 20px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.hero-copy { max-width: 680px; margin-top: 28px; }
.hero-copy p + p, .body-copy p + p { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 8px; font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.button-primary { background: var(--accent); color: white; }
.button-outline { background: white; color: var(--accent); }
.section { padding-block: 64px; }
.about, .services { background: var(--section-background); }
.about { border-top: 1px solid var(--line); }
.services { padding-top: 16px; }
.split-layout { display: grid; gap: 32px; }
.body-copy { max-width: 680px; font-size: 1rem; line-height: 1.95; }
.about h2 { max-width: 440px; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 36px; }
.service-card { padding: 22px 20px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.service-number { color: var(--accent); font-size: 0.875rem; letter-spacing: 0.12em; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 20px; }
.service-card p:not(.service-number) { font-size: 0.9375rem; }
.service-card p + p { margin-top: 16px; }
.company-details { margin: 0; }
.company-details > div { display: grid; gap: 8px; padding-block: 24px; border-top: 1px solid var(--line); }
.company-details > div:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 600; }
dd { margin: 0; }
dd ul { list-style: none; padding: 0; margin: 0; }
.contact { background: var(--accent); color: white; }
.contact .eyebrow { color: white; }
.contact-copy { margin-top: 28px; }
.contact-label { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 52px; margin-top: 28px; padding: 12px 28px; border: 1px solid #8D99AF; border-radius: 8px; font-weight: 600; }
.contact-label, .contact-label:hover { text-decoration: none; }
.site-footer { padding-block: 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.footer-brand { width: 256px; max-width: 100%; text-align: center; }
.footer-brand p { margin-top: 12px; font-size: 0.8125rem; }

@media (min-width: 768px) {
  .container { width: min(1120px, calc(100% - 80px)); }
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; padding-block: 4px; }
  .brand { width: 152px; }
  nav ul { justify-content: flex-start; gap: 28px; }
  .hero { padding-block: 88px 104px; }
  .hero-copy { font-size: 1.0625rem; }
  .section { padding-block: 88px; }
  .services { padding-top: 24px; }
  .split-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
  .company-details > div { grid-template-columns: 100px minmax(0, 1fr); gap: 24px; }
  .service-card { padding: 28px 24px; }
  .footer-brand { text-align: left; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
