:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #242b35;
  --muted: #63707c;
  --line: #e3e6e7;
  --accent: #3c668b;
  --accent-strong: #315875;
  --accent-pale: #f3f6f8;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #91bad4; outline-offset: 4px; border-radius: 2px; }
.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 20;
  inset: 8px auto auto 8px;
  transform: translateY(-160%);
  padding: 8px 12px;
  background: var(--surface);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.wordmark, .footer-brand {
  font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}
.wordmark { font-size: 32px; text-decoration: none; }
.wordmark-dot { color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; gap: 30px; }
.site-header nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--accent-strong); }
.hero {
  padding-block: clamp(65px, 9vw, 106px) clamp(72px, 10vw, 110px);
}
.eyebrow, .section-kicker, .service-type, .domain {
  font-family: ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .1em;
}
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 49px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.45;
}
.hero-description {
  max-width: 600px;
  margin: 24px 0 24px;
  color: var(--muted);
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 2;
}
.text-link, .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover, .card-link:hover { text-decoration: underline; }
.services-section {
  background: #fcfcfc;
  border-top: 1px solid var(--line);
  padding-block: clamp(58px, 7vw, 86px) clamp(68px, 8vw, 100px);
}
.section-heading { margin-bottom: 35px; }
.section-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 800; color: var(--accent); }
.section-heading h2, .about-grid h2 { font-size: clamp(25px, 3vw, 30px); font-weight: 650; line-height: 1.5; letter-spacing: -.035em; }
.section-heading h2 { margin: 0; }
.site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.site-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 295px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.card-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; flex-wrap: wrap; }
.service-type {
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
}
.domain {
  font-size: 11px;
  letter-spacing: .01em;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.site-card h3 { margin: 28px 0 10px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 650; line-height: 1.55; letter-spacing: -.035em; }
.english-name { display: inline-block; font-size: .75em; font-weight: 600; color: var(--muted); }
.site-card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-bottom { margin-top: auto; padding-top: 30px; }
.about-section { padding-block: clamp(80px, 10vw, 125px); }
.about-rule { height: 1px; margin-bottom: 40px; background: var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(180px, .75fr) 1.5fr; gap: clamp(30px, 6vw, 85px); }
.about-grid h2 { margin: 0; }
.about-grid p { max-width: 600px; margin: 0 0 16px; color: var(--muted); }
.site-footer { background: #f8f9fa; color: var(--ink); border-top: 1px solid var(--line); padding-block: 30px 34px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 23px; }
.site-footer small { color: var(--muted); font-size: 12px; }

@media (max-width: 700px) {
  .container { width: min(calc(100% - 36px), var(--max-width)); }
  .header-inner { min-height: 72px; }
  .wordmark { font-size: 27px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 12px; }
  .hero { padding-block: 56px 75px; }
  .hero-description { margin-top: 27px; }
  .site-grid, .about-grid { grid-template-columns: 1fr; }
  .site-card { min-height: 280px; }
  .about-rule { margin-bottom: 31px; }
  .about-grid { gap: 18px; }
}
@media (max-width: 370px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 18px; gap: 15px; }
  .site-header nav { gap: 20px; }
}
/* Align the homepage with saorz-media's light editorial presentation. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Brand-wide supporting pages: retain the white editorial visual system. */
.site-header nav a[aria-current="page"] { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 6px; }
.subpage { max-width: 840px; padding-block: clamp(48px, 7vw, 88px) clamp(65px, 8vw, 100px); }
.subpage h1 { margin: 0 0 22px; font-size: clamp(30px, 4vw, 42px); font-weight: 650; line-height: 1.5; letter-spacing: -.045em; }
.page-lead { margin: 0 0 46px; font-size: clamp(14px, 1.5vw, 16px); line-height: 2; color: var(--muted); }
.reading-content section { padding: 29px 0 31px; border-top: 1px solid var(--line); }
.reading-content h2 { margin: 0 0 16px; font-size: clamp(19px, 2.2vw, 23px); font-weight: 650; letter-spacing: -.025em; line-height: 1.6; }
.reading-content p { max-width: 760px; margin: 0 0 14px; line-height: 2; color: var(--ink); }
.reading-content a, .back-link { color: var(--accent-strong); text-decoration: underline; }
.reading-content a:hover, .back-link:hover { color: var(--accent); }
.link-list { list-style: none; padding: 0; margin: 16px 0 20px; }
.link-list li { padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.9; }
.link-list li:first-child { border-top: 1px solid var(--line); }
.back-link { display: inline-block; margin-top: 32px; font-weight: 650; }
.footer-inner { align-items: start; gap: 36px; }
.footer-identity { display: flex; flex-direction: column; gap: 14px; min-width: 110px; }
.footer-brand { text-decoration: none; display: inline-block; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; column-gap: 19px; row-gap: 8px; max-width: 710px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-strong); text-decoration: underline; }
@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; padding-block: 14px; }
  .site-header nav { flex: 1 0 100%; gap: 12px 20px; }
  .subpage { padding-block: 45px 66px; }
  .page-lead { margin-bottom: 33px; }
  .reading-content section { padding-block: 24px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .footer-links { justify-content: flex-start; gap: 8px 17px; }
}
