:root {
  color-scheme: light;
  --ink: #172321;
  --muted: #52615e;
  --forest: #0f4c42;
  --forest-dark: #0a372f;
  --sage: #dce9e4;
  --mist: #f3f7f5;
  --line: #d7dfdc;
  --paper: #ffffff;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
main { display: block; }
a { color: inherit; text-underline-offset: 0.22em; }
a:focus-visible { outline: 3px solid #b5ddd2; outline-offset: 4px; border-radius: 3px; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: 0.03em; }
p { margin-bottom: 1.4em; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--forest-dark);
  box-shadow: 0 4px 20px #0002;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #d7dfdcaa;
  background: #ffffffed;
  backdrop-filter: blur(14px);
}
.header-inner, .section-inner, .footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--forest-dark);
  text-decoration: none;
}
.brand-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-company { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
  font-weight: 700;
}
.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-nav a:hover, .footer-links a:hover { text-decoration: underline; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100svh - 76px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 84% 24%, #d8ebe5 0 9%, transparent 9.3%),
    radial-gradient(circle at 80% 25%, #eef6f3 0 27%, transparent 27.2%),
    linear-gradient(145deg, #fff 0 60%, var(--mist) 60% 100%);
}
.hero::after {
  content: "C";
  position: absolute;
  right: max(4vw, 24px);
  bottom: -0.18em;
  color: #0f4c4209;
  font: 700 min(42vw, 560px)/1 Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding: 96px 0 112px;
}
.eyebrow {
  margin-bottom: 22px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1000px;
  margin-bottom: 30px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}
.hero-copy {
  max-width: 680px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 2;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  background: var(--forest);
  color: white;
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: var(--forest-dark); }
.button-secondary { background: transparent; color: var(--forest); }
.button-secondary:hover { background: var(--sage); }

.section { padding: 112px 0; }
.section-soft { background: var(--mist); }
.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) 1fr;
  gap: 52px;
  margin-bottom: 56px;
}
.section-heading h2, .page-hero h1, .not-found h1 {
  margin-bottom: 0;
  color: var(--forest-dark);
  font-size: clamp(2rem, 4vw, 3.45rem);
}
.section-heading p { max-width: 620px; margin: 7px 0 0; color: var(--muted); }
.business-card {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 48px;
  padding: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 20px 50px #142f2910;
}
.business-number { color: #8ba59e; font: 700 3rem/1 Georgia, "Times New Roman", serif; }
.business-card h3 {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
}
.business-card p { max-width: 710px; margin-bottom: 0; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle {
  min-height: 250px;
  padding: 34px 30px;
  border-top: 3px solid var(--forest);
  background: var(--paper);
}
.principle h3 { margin-bottom: 18px; color: var(--forest-dark); font-size: 1.18rem; }
.principle p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }
.company-grid { display: grid; grid-template-columns: 0.36fr 1fr; gap: 52px; }
.company-grid h2, .contact-grid h2 {
  color: var(--forest-dark);
  font-size: clamp(2rem, 4vw, 3.45rem);
}
.company-list { margin: 0; border-top: 1px solid var(--line); }
.company-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.company-row dt { color: var(--muted); font-size: 0.875rem; font-weight: 700; }
.company-row dd { margin: 0; overflow-wrap: anywhere; }
.contact { background: var(--forest-dark); color: white; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 68px;
  align-items: center;
}
.contact-grid h2 { color: white; }
.contact-copy { color: #dce9e4; }
.email-link {
  display: inline-block;
  max-width: 100%;
  padding-bottom: 6px;
  border-bottom: 1px solid #ffffff66;
  font-size: clamp(1.25rem, 3.6vw, 2.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.email-link:hover { border-color: white; }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-company { margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px 24px;
}
.page-hero { padding: 96px 0 64px; background: var(--mist); }
.page-content {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding: 80px 0 112px;
}
.page-content h2 { margin: 2.6em 0 0.8em; color: var(--forest-dark); font-size: 1.35rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content p, .page-content li { color: var(--muted); }
.page-content ul { padding-left: 1.4em; }
.not-found {
  min-height: calc(100svh - 220px);
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}
.not-found-inner { max-width: 620px; }
.not-found-code {
  margin-bottom: 12px;
  color: #8ba59e;
  font: 700 1rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.2em;
}
.not-found p { margin: 26px 0 34px; color: var(--muted); }

@media (max-width: 760px) {
  .header-inner, .section-inner, .footer-inner, .hero-inner { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-company { display: none; }
  .header-inner { gap: 14px; }
  .site-nav { gap: 12px; font-size: 0.75rem; }
  .hero { min-height: 650px; }
  .hero-inner { padding: 76px 0 90px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .section { padding: 78px 0; }
  .section-heading, .business-card, .company-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading, .company-grid { gap: 24px; }
  .section-heading { margin-bottom: 38px; }
  .business-card { gap: 24px; padding: 30px 24px; }
  .business-number { font-size: 2.2rem; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .company-row { grid-template-columns: 110px 1fr; gap: 18px; }
  .contact-grid { gap: 28px; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .hero-actions .button { width: 100%; }
  .company-row { grid-template-columns: 1fr; gap: 5px; }
}

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