@charset "UTF-8";

:root {
  --ink: #202c3b;
  --text: #46586b;
  --muted: #63768a;
  --paper: #ffffff;
  --line: #dce5ee;
  --accent: #1767ad;
  --wash: #f2f7fc;
  --font: "BIZ UDPGothic", "BIZ UDPゴシック", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 118px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; }
.nowrap { white-space: nowrap; }
.container { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.brand { color: var(--accent); font-size: 28px; font-weight: 700; letter-spacing: .015em; text-decoration: none; white-space: nowrap; }
.header-nav, .footer-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 14px; text-decoration: none; padding-block: 12px; white-space: nowrap; }
.header-nav a:hover, .footer-nav a:hover { color: var(--accent); text-decoration: underline; }
.introduction { background: var(--wash); border-bottom: 1px solid var(--line); }
.introduction-inner { padding-top: 72px; padding-bottom: 68px; }
h1 { font-size: clamp(31px, 3.1vw, 39px); line-height: 1.65; letter-spacing: 0; }
.introduction p { max-width: 700px; margin-top: 27px; color: var(--text); line-height: 2; }
.services { padding-top: 76px; padding-bottom: 84px; }
.services-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 50px; }
.section-heading { padding-top: 2px; }
h2 { font-size: 24px; line-height: 1.7; }
.section-heading::after { content: ""; display: block; width: 38px; height: 3px; background: var(--accent); margin-top: 20px; }
.service-row { padding-top: 29px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.service-row:first-child { padding-top: 0; }
h3 { color: var(--accent); font-size: 23px; line-height: 1.6; }
.service-row p { color: var(--text); margin-top: 15px; }
.service-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 19px; }
.sales-status { color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-footer { padding-top: 32px; padding-bottom: 26px; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 22px; }
.footer-brand { font-size: 23px; }
.footer-nav { gap: 26px; }
.footer-nav a { color: var(--text); font-size: 13px; text-decoration: none; padding-block: 6px; }
.site-footer small { color: var(--muted); font-size: 12px; }

/* 404ページ */
.section { padding-block: 64px; }
.section-label { margin-bottom: 16px; color: var(--muted); }
.hero-description { margin-top: 20px; color: var(--text); }
.button { display: inline-block; margin-top: 28px; }
.button span { margin-left: 16px; }

@media (max-width: 900px) {
  .container { width: calc(100% - 64px); }
  .header-nav { gap: 23px; }
  .header-nav a { font-size: 13px; }
  .services-layout { grid-template-columns: 160px minmax(0,1fr); gap: 36px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 136px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 110px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding-top: 13px; padding-bottom: 10px; }
  .brand { font-size: 24px; }
  .header-nav { width: 100%; gap: 24px; }
  .header-nav a { font-size: 13px; padding-block: 4px; }
  .introduction-inner { padding-top: 42px; padding-bottom: 42px; }
  h1 { font-size: 28px; line-height: 1.7; }
  .introduction p { margin-top: 21px; }
  .services { padding-top: 43px; padding-bottom: 50px; }
  .services-layout { grid-template-columns: 1fr; gap: 29px; }
  h2 { font-size: 22px; }
  .section-heading::after { margin-top: 13px; width: 31px; }
  h3 { font-size: 21px; }
  .service-row { padding-top: 26px; padding-bottom: 29px; }
  .service-row p { margin-top: 12px; }
  .sales-status { font-size: 12px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .footer-brand { font-size: 23px; }
  .footer-nav { flex-wrap: wrap; gap: 8px 24px; }
  .footer-nav a { font-size: 12px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 40px); }
  h1 { font-size: 25px; }
  .header-nav { gap: 18px; }
  .header-nav a { font-size: 12px; }
}
