:root {
  color-scheme: light;
  --ink: #20211f;
  --muted: #62665f;
  --line: #dcd8cd;
  --paper: #f7f5ef;
  --white: #fffdfa;
  --sage: #607568;
  --sumi: #2f3830;
  --gold: #b88a44;
  --mist: #e8ece5;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(32, 33, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.78;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(218, 214, 202, 0.82);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sumi);
  color: var(--white);
  background: var(--sumi);
  font-weight: 700;
  line-height: 1;
}

.brand-text {
  display: grid;
  line-height: 1.18;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 750;
  white-space: nowrap;
}

.brand-text span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(115deg, rgba(47, 56, 48, 0.95), rgba(47, 56, 48, 0.76) 48%, rgba(96, 117, 104, 0.58)),
    linear-gradient(135deg, #344238 0%, #657568 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
  opacity: 0.78;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 100px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #e7ddc8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark,
.section-kicker {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  line-break: strict;
}

h1 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.18;
  font-weight: 720;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 253, 250, 0.88);
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button,
.tel {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 253, 250, 0.32);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
}

.button.primary {
  color: var(--sumi);
  border-color: var(--white);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 253, 250, 0.08);
}

.dark-button {
  color: var(--white) !important;
  border-color: var(--sumi) !important;
  background: var(--sumi) !important;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 56px;
  align-items: start;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.3;
  font-weight: 760;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 760;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-card,
.policy-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(32, 33, 31, 0.04);
}

.service-number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.service-card p,
.policy-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tone-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.company-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.company-note {
  padding: 22px 24px;
  border-left: 4px solid var(--sage);
  background: var(--mist);
}

.company-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.company-table th,
.company-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 280px;
  padding-right: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.company-table td {
  font-weight: 520;
  overflow-wrap: anywhere;
}

.business-list {
  margin: 0;
  padding-left: 1.15em;
}

.business-list li + li {
  margin-top: 4px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.tel {
  min-width: 190px;
  color: var(--white);
  border-color: var(--sumi);
  background: var(--sumi);
  font-size: 18px;
  white-space: nowrap;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.page-hero .section {
  padding: 76px 0;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(34px, 4vw, 52px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 22px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content address {
  color: var(--muted);
  font-style: normal;
}

.updated {
  margin-top: 40px;
  font-size: 14px;
}

.site-footer {
  padding: 34px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--sumi);
  color: rgba(255, 253, 250, 0.74);
}

.footer-inner,
.copyright {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  color: var(--white);
  font-weight: 760;
}

.footer-inner p {
  margin: 10px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  justify-content: flex-end;
  font-size: 13px;
}

.copyright {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 250, 0.12);
  font-size: 13px;
}

.not-found {
  min-height: 100vh;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
}

.not-found p:not(.section-kicker) {
  color: var(--muted);
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .section-heading,
  .company-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 28px, 1120px);
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner,
  .section,
  .footer-inner,
  .copyright {
    width: min(100% - 28px, 1120px);
  }

  .hero-inner {
    padding: 68px 0 78px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 44px);
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.22;
  }

  .section {
    padding: 72px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .policy-grid article {
    min-height: 0;
  }

  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .company-table td {
    padding-top: 0;
  }

  .contact-panel {
    padding: 24px;
  }

  .tel {
    width: 100%;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
