:root {
  color-scheme: light;
  --text: #1f2328;
  --muted: #667085;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f3f8fb;
  --accent: #0ea5a3;
  --accent-dark: #087a78;
  --accent-warm: #ff8a5b;
  --accent-sun: #f3c14b;
  --ink: #0f1720;
  --gold: #d28a24;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-height);
  padding: 10px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 222, 232, 0.8);
  backdrop-filter: blur(12px);
}

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

.brand img {
  display: block;
  width: min(205px, 44vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #344054;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  transition: border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.54)),
    url("assets/hero-background.png") center / cover no-repeat;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  display: block;
  width: min(520px, 82vw);
  height: auto;
  margin: 0 auto clamp(42px, 6vw, 78px);
}

.hero .eyebrow {
  margin-bottom: clamp(18px, 2.5vw, 30px);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  font-weight: 800;
  line-height: 1.28;
}

.hero h1 {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(3rem, 4.6vw, 4.35rem);
  line-height: 1.14;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-copy {
  max-width: 760px;
  margin: clamp(28px, 3vw, 42px) auto 0;
  color: #475467;
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-inner[id] {
  scroll-margin-top: var(--header-height);
}

.split-layout,
.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
}

.section h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
}

.section-text {
  color: #475467;
  font-size: 1.03rem;
}

.section-text p {
  margin: 0;
}

.section-text p + p {
  margin-top: 18px;
}

.concept-section {
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 54%, rgba(243, 248, 251, 0.88) 100%);
}

.services-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(243, 248, 251, 0.88) 0%, rgba(14, 165, 163, 0.06) 36%, rgba(255, 249, 241, 0.76) 100%),
    #ffffff;
}

.services-section::before,
.company-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(60px, 15vw, 216px);
  right: clamp(60px, 15vw, 216px);
  height: 1px;
  background: rgba(8, 122, 120, 0.18);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.service-card {
  min-height: 280px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(20, 35, 45, 0.08);
}

.service-card:nth-child(2) {
  border-top-color: var(--accent-warm);
}

.service-card:nth-child(3) {
  border-top-color: var(--accent-sun);
}

.service-number {
  display: block;
  color: var(--accent);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.45;
}

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

.company-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 249, 241, 0.76) 0%, rgba(255, 255, 255, 0.96) 52%, rgba(14, 165, 163, 0.06) 100%),
    #ffffff;
}

.company-section::before {
  background: rgba(210, 138, 36, 0.2);
}

.company-lead {
  margin: 22px 0 10px;
  color: #475467;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-dark);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mail-link:hover,
.mail-link:focus-visible {
  color: var(--accent-warm);
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

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

.company-list dt {
  color: #344054;
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  color: #475467;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: linear-gradient(90deg, var(--accent-dark), #21485b);
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: var(--accent-dark);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(15, 23, 32, 0.22);
  font-size: 1.35rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  :root {
    --header-height: 138px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0;
    font-size: 0.88rem;
  }

  .site-nav a {
    display: block;
    padding: 4px 6px 7px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    text-align: center;
  }

  .hero h1 {
    width: auto;
    font-size: clamp(2.3rem, 9vw, 4.2rem);
    white-space: normal;
  }

  .split-layout,
  .company-layout,
  .service-grid {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 821px) and (max-width: 1080px) {
  .hero h1 {
    font-size: clamp(2.7rem, 4.15vw, 3.25rem);
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(190px, 72vw);
  }

  .site-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
