:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-muted: #eef1ed;
  --ink: #1f272b;
  --muted: #687277;
  --line: #d9ded9;
  --accent: #315f52;
  --accent-strong: #24493f;
  --warm: #c99f4a;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(31, 39, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 0;
  padding: 14px clamp(18px, 5vw, 64px) 16px;
  border-bottom: 1px solid rgba(217, 222, 217, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 246, 0.9));
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(31, 39, 43, 0.055);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.brand img {
  flex: 0 0 auto;
  width: clamp(92px, 8vw, 108px);
  height: clamp(92px, 8vw, 108px);
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, rgba(235, 249, 247, 0.9), rgba(255, 252, 231, 0.86));
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(31, 39, 43, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand span {
  min-width: 0;
}

.brand strong {
  font-size: clamp(20px, 2.1vw, 24px);
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.35;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(217, 222, 217, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  background: var(--surface-muted);
  color: var(--accent);
}

.site-nav a:active {
  transform: translateY(1px);
}

.language-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(217, 222, 217, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.language-switch a:hover {
  background: var(--surface-muted);
  color: var(--accent);
}

.language-switch a:active {
  transform: translateY(1px);
}

.language-switch .is-active {
  background: var(--accent);
  color: #ffffff;
}

.language-switch .is-active:hover {
  background: var(--accent);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100dvh - 76px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

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

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: clamp(360px, 46vw, 590px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 36px clamp(20px, 5vw, 64px);
  background: var(--accent-strong);
  color: #f9fbf8;
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.section {
  padding: clamp(72px, 10vw, 122px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 920px;
  margin: 0 auto 36px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.18;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.profile-list {
  margin: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

.profile-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--muted);
  font-weight: 700;
}

.profile-list dd {
  margin: 0;
}

.company-note {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.company-note h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.company-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.business {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
  background: #ffffff;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--warm);
  font-weight: 800;
}

.service-grid h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  background: var(--accent-strong);
  color: #ffffff;
}

.contact .section-label {
  color: #e7c36f;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.contact-panel p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
}

address {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

address a {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
}

address span {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
}

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

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .company-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    gap: 14px;
  }

  .brand strong {
    font-size: 21px;
  }

  .header-actions {
    width: 100%;
  }

  .site-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switch {
    margin-top: 2px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 98px;
    height: 98px;
  }

  .site-nav {
    font-size: 14px;
  }

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

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

  .service-grid article {
    min-height: 0;
    padding: 24px;
  }

  .service-grid span {
    margin-bottom: 26px;
  }

  address {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
