:root {
  --color-brand: #cf1838;
  --color-brand-dark: #a90f2b;
  --color-ink: #162520;
  --color-green: #123c34;
  --color-green-soft: #e9f0ed;
  --color-paper: #f7f7f4;
  --color-line: #dfe4e1;
  --color-muted: #5e6964;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 60px rgba(20, 44, 36, 0.09);
  --radius-sm: 0.35rem;
  --radius-md: 0.75rem;
  --container: 72rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(207, 24, 56, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--color-white);
  background: var(--color-green);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(223, 228, 225, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 13.5rem;
  height: auto;
}

.nav-wrap,
.site-nav,
.nav-list,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-wrap {
  gap: 1.7rem;
}

.nav-list,
.language-switch {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list {
  gap: 1.65rem;
}

.nav-list a {
  position: relative;
  color: #27322e;
  font-size: 0.91rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  background: var(--color-brand);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-switch {
  gap: 0.55rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--color-line);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.language-switch a {
  color: var(--color-muted);
  text-decoration: none;
}

.language-switch a[aria-current="true"] {
  color: var(--color-brand);
}

.menu-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only),
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.27rem auto;
  background: var(--color-green);
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:not(.sr-only) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 12% 12%, rgba(18, 60, 52, 0.045), transparent 32%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  display: grid;
  min-height: 41rem;
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(26rem, 1.08fr);
  gap: 2rem;
  padding-block: 5rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::after {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.26;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.hero h1 .accent {
  display: inline-block;
  color: var(--color-brand);
  white-space: nowrap;
}

.hero-lead {
  max-width: 38rem;
  margin: 1.8rem 0 0;
  color: #394640;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 2;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.72rem 1.35rem;
  border: 1px solid var(--color-green);
  border-radius: var(--radius-sm);
  background: var(--color-green);
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button::after {
  content: "→";
}

.button:hover {
  border-color: var(--color-brand);
  background: var(--color-brand);
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--color-green);
}

.button-secondary:hover {
  color: var(--color-white);
}

.button-disabled,
.button-disabled:hover {
  border-color: #bcc4c0;
  background: #eef0ef;
  color: #69736e;
  cursor: not-allowed;
  transform: none;
}

.hero-visual {
  position: relative;
  align-self: stretch;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-soft {
  background: var(--color-paper);
}

.section-green {
  color: var(--color-white);
  background: var(--color-green);
}

.section-header {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.7fr) minmax(20rem, 1.3fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-header h2,
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
}

.section-header p {
  max-width: 42rem;
  margin: 0;
  color: var(--color-muted);
}

.section-green .eyebrow,
.section-green .section-header p {
  color: #d7e1dd;
}

.message-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.message-grid h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.5;
}

.message-copy {
  color: #3f4c46;
  font-size: 1.07rem;
}

.message-copy p:first-child {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.business-card,
.info-card,
.contact-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.business-card {
  position: relative;
  min-height: 24rem;
  padding: clamp(2rem, 4vw, 3.2rem);
  overflow: hidden;
}

.business-card::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(18, 60, 52, 0.13);
  border-radius: 50%;
  content: "";
}

.card-number {
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.business-card h3 {
  max-width: 18em;
  margin: 1.5rem 0 1rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.5;
}

.business-card p {
  max-width: 34rem;
  color: var(--color-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--color-brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(0.25rem);
}

.cta {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta p {
  margin: 0;
  color: var(--color-muted);
}

.page-hero {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--color-line);
  background: linear-gradient(90deg, #fff 0%, #fff 60%, var(--color-paper) 100%);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.page-hero .lead {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.breadcrumb {
  padding-block: 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 0.5rem;
  color: #9aa39f;
  content: "/";
}

.content-narrow {
  max-width: 52rem;
  margin-inline: auto;
}

.content-narrow > :first-child {
  margin-top: 0;
}

.content-narrow h2 {
  margin: 3.5rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.5;
}

.content-narrow h3 {
  margin: 2.3rem 0 0.7rem;
  font-size: 1.25rem;
}

.content-narrow p,
.content-narrow li {
  color: #3d4944;
}

.service-block {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(12rem, 0.55fr) 1.45fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--color-line);
}

.service-block:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-index {
  color: var(--color-brand);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 1;
}

.service-content h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.5;
}

.service-content p {
  max-width: 45rem;
  color: var(--color-muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--color-brand);
  background: var(--color-paper);
  font-weight: 650;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
}

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

.profile-table th {
  width: 12rem;
  padding-right: 2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.company-note {
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 2rem;
}

.contact-panel,
.info-card {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.contact-panel h2,
.info-card h2 {
  margin-top: 0;
}

.contact-steps {
  margin: 2rem 0;
  padding-left: 1.4rem;
}

.contact-steps li + li {
  margin-top: 0.6rem;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--color-brand);
  background: #fff4f6;
  color: #56212c;
  font-size: 0.92rem;
}

.legal-meta {
  margin-top: 3rem;
  color: var(--color-muted);
  font-weight: 650;
}

.site-footer {
  padding-block: 3.5rem 2rem;
  color: #d9e2de;
  background: #102d27;
}

.footer-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}

.footer-brand img {
  width: 12rem;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-brand p {
  max-width: 30rem;
  margin: 1rem 0 0;
  color: #b8c7c1;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #ecf2ef;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.copyright {
  margin: 3rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #93a8a0;
  font-size: 0.78rem;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

.error-code {
  margin: 0;
  color: var(--color-brand);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.error-page h1,
.error-page h2 {
  margin: 1rem 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 62rem) {
  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    position: fixed;
    inset: 5.25rem 0 auto;
    display: none;
    max-height: calc(100vh - 5.25rem);
    padding: 1.5rem 1.25rem 2rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
  }

  .nav-wrap.is-open,
  .nav-list,
  .site-nav {
    display: block;
  }

  .nav-list li + li {
    border-top: 1px solid var(--color-line);
  }

  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
  }

  .nav-list a::after {
    display: none;
  }

  .language-switch {
    margin-top: 1rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--color-line);
    border-left: 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 4rem 2rem;
  }

  .hero-visual {
    min-height: 23rem;
  }

  .section-header,
  .message-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 1.5rem;
  }
}

@media (max-width: 42rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .header-inner {
    min-height: 4.6rem;
  }

  .brand img {
    width: 10.5rem;
  }

  .nav-wrap {
    top: 4.65rem;
    max-height: calc(100vh - 4.65rem);
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .hero-grid {
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 17rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .feature-list,
  .footer-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: auto;
  }

  .cta {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-index {
    font-size: 3.5rem;
  }

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

  .profile-table tr {
    padding-block: 1rem;
    border-bottom: 1px solid var(--color-line);
  }

  .profile-table th,
  .profile-table td {
    padding: 0;
    border: 0;
  }

  .profile-table th {
    margin-bottom: 0.35rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
