:root {
  --ink: #17323a;
  --muted: #5f7479;
  --line: #dfece8;
  --bg: #f7fbf8;
  --panel: #ffffff;
  --green: #3f9b75;
  --green-dark: #197154;
  --blue: #377fa7;
  --cream: #fff7e8;
  --shadow: 0 18px 50px rgba(22, 65, 68, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  translate: 0 -160%;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  translate: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 236, 232, 0.82);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo {
  width: 156px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand-name,
.brand-company {
  display: block;
  line-height: 1.25;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: #40565c;
}

.nav a,
.header-cta,
.button,
.sticky-apply a,
.footer a {
  text-decoration: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #eef8f4;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-media {
  display: block;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 251, 248, 0.98) 0%, rgba(247, 251, 248, 0.82) 34%, rgba(247, 251, 248, 0.12) 64%),
    linear-gradient(0deg, rgba(247, 251, 248, 1) 0%, rgba(247, 251, 248, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 86px 0 110px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #2f4d54;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(25, 113, 84, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-facts {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 44px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-facts div {
  background: rgba(255, 255, 255, 0.94);
  padding: 18px 20px;
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.trust-strip {
  background: #fff;
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 1px solid var(--line);
}

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

.trust-grid strong {
  font-size: 17px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 430px minmax(0, 1fr);
}

.split.reverse .section-copy {
  order: 2;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.22;
}

.section h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.section-copy p:not(.section-kicker),
.section-head p {
  color: #466067;
  font-size: 16px;
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-head.narrow {
  max-width: 680px;
}

.message-panel,
.card,
.job-card,
.faq-list details,
.apply-form,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(22, 65, 68, 0.08);
}

.message-panel {
  padding: 34px;
  background: linear-gradient(180deg, #fff, #f7fcfa);
}

.panel-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 30px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #eaf7f2;
  color: var(--green-dark);
  font-weight: 900;
}

.dx {
  background: #edf8f7;
}

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

.dx-list div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d5e8e5;
}

.dx-list span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.dx-list strong {
  font-size: 17px;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.job-card {
  padding: 26px;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.job-card.accent {
  background: var(--cream);
}

.job-top p {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-card > p {
  color: #48646a;
}

.job-card dl {
  margin: auto 0 0;
  padding-top: 16px;
}

.job-card dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.job-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.job-card dd {
  margin: 0;
  font-weight: 700;
}

.job-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.faq {
  background: #fff;
}

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

.faq-list details {
  padding: 0;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: #4a6167;
}

.apply {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef8f4 100%);
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.contact-box {
  margin-top: 28px;
  padding: 22px;
  box-shadow: none;
}

.contact-box p {
  margin: 0;
}

.contact-box p + p {
  margin-top: 12px;
}

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

.apply-form label {
  display: grid;
  gap: 7px;
  color: #35535a;
  font-size: 14px;
  font-weight: 800;
}

.apply-form label:nth-last-of-type(-n + 2),
.form-button,
.form-status,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cadbd8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
summary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(55, 127, 167, 0.28);
  outline-offset: 2px;
}

.form-button {
  min-height: 56px;
}

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

.form-status {
  min-height: 1.75em;
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  background: #17323a;
  color: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 2px 0 0;
  color: #bdd3d7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
}

.content-page {
  min-height: 60vh;
  padding: 72px 0;
}

.content-page h1 {
  margin: 0 0 30px;
  font-size: clamp(32px, 5vw, 52px);
}

.content-panel {
  max-width: 880px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.content-panel h2 {
  margin: 36px 0 12px;
  font-size: 24px;
}

.content-panel p {
  color: #466067;
}

.sticky-apply {
  display: none;
}

.job-detail-hero {
  padding: 62px 0 72px;
  background: linear-gradient(135deg, #eef8f4, #f7fbf8 62%, #eef7fb);
}

.job-detail-hero h1 {
  max-width: none;
  font-size: clamp(38px, 6vw, 68px);
}

.job-detail-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #395960;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a::after {
  content: "/";
  margin-left: 10px;
}

.detail-summary {
  background: #fff;
  border-block: 1px solid var(--line);
}

.detail-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.detail-summary-grid div {
  padding: 22px 16px;
  border-left: 1px solid var(--line);
}

.detail-summary-grid div:last-child {
  border-right: 1px solid var(--line);
}

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

.detail-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-summary-grid strong {
  margin-top: 2px;
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: start;
}

.detail-main > h2,
.detail-block h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.detail-block {
  margin-top: 64px;
}

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

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

.condition-list dt {
  color: var(--green-dark);
  font-weight: 800;
}

.condition-list dd {
  margin: 0;
}

.detail-side-box {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 65, 68, 0.08);
}

.detail-side-box h2 {
  margin: 0;
  font-size: 23px;
}

.detail-side-box ul {
  padding-left: 20px;
  color: #466067;
}

.detail-apply {
  padding: 64px 0;
  background: #eaf7f2;
  text-align: center;
}

.detail-apply h2 {
  margin: 0;
  font-size: clamp(27px, 4vw, 40px);
}

.detail-apply p {
  color: #466067;
}

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

  .hero {
    min-height: 660px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(247, 251, 248, 0.98) 0%, rgba(247, 251, 248, 0.78) 46%, rgba(247, 251, 248, 0.08) 100%),
      linear-gradient(0deg, rgba(247, 251, 248, 1) 0%, rgba(247, 251, 248, 0) 36%);
  }

  .trust-grid,
  .cards.three,
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .split.reverse,
  .apply-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side-box {
    position: static;
  }

  .split.reverse .section-copy {
    order: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-logo {
    width: 126px;
    height: 42px;
  }

  .brand-name {
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    align-items: end;
  }

  .hero-media {
    height: 44%;
  }

  .hero-image {
    height: 100%;
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(247, 251, 248, 0.08) 0%, rgba(247, 251, 248, 1) 42%),
      linear-gradient(90deg, rgba(247, 251, 248, 0.88), rgba(247, 251, 248, 0.16));
  }

  .hero-content {
    padding: 260px 0 56px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .trust-grid,
  .cards.three,
  .job-grid,
  .apply-form,
  .detail-summary-grid {
    grid-template-columns: 1fr;
  }

  .detail-summary-grid div,
  .detail-summary-grid div:last-child {
    border: 0;
    border-top: 1px solid var(--line);
  }

  .condition-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  .message-panel,
  .card,
  .job-card,
  .apply-form {
    padding: 22px;
  }

  .apply-form label:nth-last-of-type(-n + 2),
  .form-button,
  .form-status,
  .form-note {
    grid-column: auto;
  }

  .footer-inner {
    display: block;
    padding-bottom: 72px;
  }

  .footer-links {
    display: grid;
    justify-content: start;
    gap: 10px;
    margin-top: 20px;
  }

  .sticky-apply {
    position: fixed;
    inset: auto 14px 14px;
    z-index: 30;
    display: block;
  }

  .sticky-apply a {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--green-dark);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(12, 63, 48, 0.24);
  }
}
