:root {
  --ink: #14201f;
  --muted: #667270;
  --line: #dce5e2;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #0b8074;
  --teal-dark: #075c55;
  --amber: #c47a19;
  --coral: #d35c4a;
  --shadow: 0 18px 50px rgba(22, 34, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Segoe UI",
    "Hiragino Sans",
    "Yu Gothic UI",
    Meiryo,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(247, 250, 249, 0.92);
  border-bottom: 1px solid rgba(220, 229, 226, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-width: 170px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #33423f;
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-button,
.ghost-button,
.apply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.header-action,
.primary-button,
.apply-button {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(11, 128, 116, 0.2);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.header-action:hover,
.primary-button:hover,
.ghost-button:hover,
.apply-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: clamp(620px, 83vh, 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #17211f;
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 19, 18, 0.86), rgba(10, 19, 18, 0.52) 44%, rgba(10, 19, 18, 0.08) 78%),
    linear-gradient(0deg, rgba(20, 32, 31, 0.72), rgba(20, 32, 31, 0.08) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 80px clamp(20px, 7vw, 92px) 142px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
}

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

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(116px, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(560px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
}

.hero-panel div {
  padding: 18px;
  background: rgba(247, 250, 249, 0.9);
}

.hero-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(18px, 2.3vw, 26px);
}

section {
  padding: 72px clamp(18px, 5vw, 68px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 86px clamp(18px, 5vw, 68px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 32, 31, 0.94), rgba(11, 128, 116, 0.74)),
    url("assets/hero-office.png") center/cover;
}

.page-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.page-stat {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.page-stat strong {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.content-band {
  padding: 72px clamp(18px, 5vw, 68px);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.content-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(22, 34, 32, 0.08);
}

.content-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

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

.search-band {
  background: var(--white);
}

.section-heading {
  max-width: 980px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.search-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(160px, 220px);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto 22px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 700;
}

input:focus,
select:focus {
  outline: 3px solid rgba(11, 128, 116, 0.16);
  border-color: var(--teal);
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.job-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.job-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: left;
  background: var(--white);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.job-card:hover,
.job-card.is-active {
  border-color: rgba(11, 128, 116, 0.65);
  box-shadow: 0 14px 30px rgba(22, 34, 32, 0.08);
  transform: translateY(-1px);
}

.job-card-title {
  display: block;
  margin: 8px 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.job-card-summary,
.job-detail p {
  color: var(--muted);
}

.job-card-summary {
  display: block;
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--teal-dark);
  background: #e7f3f1;
  font-size: 12px;
  font-weight: 900;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  color: #41504d;
  font-size: 13px;
  font-weight: 800;
}

.job-detail {
  position: sticky;
  top: 96px;
  align-self: start;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: #fbfdfc;
  box-shadow: var(--shadow);
}

.job-detail h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detail-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #33423f;
}

.detail-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.teams,
.process {
  background: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.team-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.team-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.team-grid h3 {
  margin: 24px 0 10px;
  font-size: 20px;
  line-height: 1.3;
}

.team-grid p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.benefits {
  color: var(--white);
  background: #14201f;
}

.benefits .section-heading .eyebrow {
  color: #f0a74b;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.benefit-grid div {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.benefit-grid strong,
.benefit-grid span {
  display: block;
}

.benefit-grid strong {
  margin-bottom: 12px;
  font-size: 20px;
}

.benefit-grid span {
  color: rgba(255, 255, 255, 0.76);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline li {
  border-top: 3px solid var(--teal);
  padding-top: 18px;
}

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

.timeline strong {
  display: block;
  margin: 14px 0 6px;
  font-size: 19px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 68px);
  color: rgba(255, 255, 255, 0.74);
  background: #0d1615;
}

.site-footer strong {
  color: var(--white);
  margin-right: auto;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 28px;
  color: var(--muted);
  background: #fbfdfc;
}

.apply-page {
  min-height: calc(100vh - 72px);
  padding: clamp(30px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(211, 92, 74, 0.45), transparent 26%),
    radial-gradient(circle at 14% 78%, rgba(196, 122, 25, 0.32), transparent 24%),
    linear-gradient(135deg, #071412, #123b36 48%, #071412);
}

.apply-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.apply-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.apply-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.apply-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.apply-highlights div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.apply-highlights strong,
.apply-highlights span {
  display: block;
}

.apply-highlights strong {
  font-size: 23px;
}

.apply-highlights span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.apply-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.apply-form h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
}

.apply-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.apply-form label {
  display: grid;
  gap: 7px;
  color: #263532;
  font-size: 13px;
  font-weight: 900;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

.apply-form textarea {
  min-height: 118px;
  resize: vertical;
}

.upload-look {
  min-height: 72px;
  border: 1px dashed #a7b8b4;
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: #f6faf8;
}

.apply-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-bottom: 210px;
  }

  .hero-panel,
  .search-tools,
  .job-layout,
  .team-grid,
  .benefit-grid,
  .timeline,
  .page-hero,
  .content-grid,
  .apply-shell,
  .apply-highlights {
    grid-template-columns: 1fr;
  }

  .job-detail {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand {
    min-width: auto;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 19, 18, 0.9), rgba(10, 19, 18, 0.58)),
      linear-gradient(0deg, rgba(20, 32, 31, 0.78), rgba(20, 32, 31, 0.2));
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-panel {
    right: 18px;
    bottom: 22px;
  }

  .hero-panel div {
    padding: 14px;
  }

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

  .apply-form .form-row {
    grid-template-columns: 1fr;
  }

  section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
