:root {
  --ink: #1f2b2f;
  --muted: #627076;
  --paper: #fbfaf6;
  --soft: #eef7f3;
  --white: #ffffff;
  --teal: #1d6e72;
  --teal-dark: #123f44;
  --coral: #e77958;
  --leaf: #6f8c56;
  --line: rgba(31, 43, 47, 0.15);
  --shadow: 0 22px 52px rgba(18, 63, 68, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.sheet-crop {
  background-image: url("./assets/generated/contact-sheet.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
}

.sheet-crop.facility {
  background-position: 0 0;
}

.sheet-crop.service {
  background-position: 100% 0;
}

.sheet-crop.staff {
  background-position: 0 100%;
}

.sheet-crop.area {
  background-position: 100% 100%;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(18, 63, 68, 0.82), rgba(18, 63, 68, 0));
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--coral) 0 48%, transparent 49%),
    linear-gradient(315deg, var(--leaf) 0 48%, var(--white) 49%);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.brand small {
  margin-top: 1px;
  font-size: 0.74rem;
  opacity: 0.86;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--teal-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .sheet-crop {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 42, 45, 0.9), rgba(10, 42, 45, 0.62) 47%, rgba(10, 42, 45, 0.12)),
    linear-gradient(180deg, rgba(10, 42, 45, 0.18), rgba(10, 42, 45, 0.78));
}

.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 clamp(36px, 7vh, 76px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.18rem, 5.8vw, 5.1rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.25;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(231, 121, 88, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.button.light {
  color: var(--teal-dark);
  background: var(--white);
}

.button.outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 40px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.fact-strip div {
  padding: 16px;
  background: rgba(18, 63, 68, 0.52);
}

.fact-strip dt,
.fact-strip dd {
  margin: 0;
}

.fact-strip dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
}

.fact-strip dd {
  margin-top: 4px;
  font-weight: 900;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section,
.section-band,
.feature-band,
.final-cta {
  padding: clamp(64px, 9vw, 110px) 0;
}

.intro-grid,
.feature-layout,
.recruit-layout,
.area-layout,
.final-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

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

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

h2 {
  margin-bottom: 0;
  font-size: clamp(1.72rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-image {
  display: block;
  height: 216px;
}

.support-card h3,
.support-card p {
  padding-right: 22px;
  padding-left: 22px;
}

.support-card h3 {
  margin-top: 22px;
}

.support-card p {
  margin-bottom: 24px;
}

.feature-band,
.final-cta {
  color: var(--white);
  background: var(--teal-dark);
}

.feature-band p,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-list strong {
  color: var(--white);
  font-size: 1.06rem;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.74);
}

.recruit-section {
  background: #fff7f1;
}

.recruit-panel {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(18, 63, 68, 0.3), rgba(18, 63, 68, 0.78)),
    url("./assets/generated/staff-care.png") center / cover;
  box-shadow: var(--shadow);
}

.recruit-panel span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.recruit-panel strong {
  max-width: 420px;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.22;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-top: 1px solid var(--line);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: var(--leaf);
  font-weight: 900;
}

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

.office-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.office-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  background: var(--white);
}

.office-list dt,
.office-list dd {
  margin: 0;
}

.office-list dt {
  color: var(--teal);
  font-weight: 900;
}

.site-footer {
  padding: 22px 20px;
  color: rgba(255, 255, 255, 0.72);
  background: #0f3034;
  text-align: center;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    padding-top: 112px;
    padding-bottom: 32px;
  }

  .hero-copy {
    margin-top: 18px;
  }

  .fact-strip {
    margin-top: 26px;
  }

  .fact-strip div {
    padding: 13px 14px;
  }

  .intro-grid,
  .feature-layout,
  .recruit-layout,
  .area-layout,
  .final-layout,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 220px;
  }
  .feature-list div,
  .flow-list li,
  .office-list div {
    grid-template-columns: 1fr;
  }
}

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

  .brand strong {
    font-size: 0.84rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .hero-content,
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero-actions,
  .final-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
