@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

:root {
  --white: #fff;
  --surface: #f6f8fa;
  --line: #dce3e8;
  --line-dark: #c8d1d8;
  --ink: #17212b;
  --ink-soft: #465563;
  --muted: #71808d;
  --blue-dark: #187db9;
  --error: #b63838;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

input,
select,
textarea,
button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(24, 125, 185, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  transform: translateY(-150%);
  border: 1px solid var(--line-dark);
  background: var(--white);
  padding: 8px 12px;
  font-size: 0.875rem;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1080px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-home {
  display: block;
  width: fit-content;
}

.brand img {
  width: auto;
  height: 29px;
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: var(--line-dark);
}

.brand-service {
  color: var(--ink-soft);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.header-home {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
}

.header-home:hover {
  color: var(--blue-dark);
}

.page-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(58px, 7vw, 82px) 0;
}

.page-head p,
.form-heading > p {
  margin-bottom: 9px;
  color: var(--blue-dark);
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.page-head .page-description {
  max-width: 720px;
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
}

.form-section {
  padding: clamp(68px, 8vw, 100px) 0;
}

.requirements-section {
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0;
}

.requirements-heading {
  margin-bottom: 32px;
}

.requirements-group,
.requirements-location {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
}

.requirements-employment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.requirements-group + .requirements-group,
.requirements-location {
  margin-top: 0;
}

.requirements-location {
  border-bottom: 1px solid var(--line);
}

.requirements-address {
  padding: 20px 24px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.requirements-list {
  font-size: 0.9375rem;
}

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

.requirements-list > div:last-child {
  border-bottom: 0;
}

.requirements-list dt {
  font-weight: 500;
}

.requirements-list dd {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.form-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 8vw, 96px);
}

.form-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.form-panel {
  border: 1px solid var(--line);
  padding: clamp(24px, 5vw, 48px);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field-grid {
  display: grid;
  gap: 20px;
}

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

#recruitForm > .field + .field,
#recruitForm > .field-grid + .field,
#recruitForm > .field + .field-grid {
  margin-top: 22px;
}

.field-label {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.field-label > span {
  flex: 0 0 auto;
  color: var(--error);
  font-size: 0.625rem;
}

.field-label .optional {
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--white);
}

.field input,
.field textarea {
  appearance: none;
}

.field input:not([type="file"]),
.field select {
  height: 50px;
  padding: 0 13px;
}

.field select {
  cursor: pointer;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.7;
}

.field input[type="file"] {
  min-height: 50px;
  padding: 7px;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.field input[type="file"]::file-selector-button {
  margin-right: 10px;
  border: 0;
  background: var(--surface);
  padding: 8px 11px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(24, 125, 185, 0.1);
}

.field small,
.file-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.6875rem;
}

.file-note {
  margin-top: 10px;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  font-size: 0.8125rem;
  cursor: pointer;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--blue-dark);
}

.privacy-check a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  margin-top: 14px;
  color: var(--error);
  font-size: 0.8125rem;
}

.submit-button {
  display: grid;
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  place-items: center;
  border: 1px solid var(--blue-dark);
  background: var(--blue-dark);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.submit-button:hover {
  background: #126d9f;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-success {
  min-height: 240px;
  place-content: center;
  text-align: center;
}

.form-success:not([hidden]) {
  display: grid;
}

.form-success p {
  margin-bottom: 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-success span {
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.6875rem;
}

.footer-inner a:hover {
  color: var(--blue-dark);
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 32px);
  }

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

  .brand img {
    height: 26px;
  }

  .header-home {
    font-size: 0.75rem;
  }

  .page-head {
    padding: 52px 0;
  }

  .form-section {
    padding: 58px 0 70px;
  }

  .form-layout,
  .field-grid--two {
    grid-template-columns: 1fr;
  }

  .form-layout {
    gap: 30px;
  }

  .field-grid--two {
    gap: 22px;
  }

  .form-panel {
    padding: 24px 18px;
  }

  .requirements-list > div {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 8px;
    padding: 16px 10px;
  }

  .requirements-list {
    font-size: 0.875rem;
  }

  .requirements-group,
  .requirements-location {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .requirements-employment {
    padding: 16px 10px;
    font-size: 0.875rem;
  }

  .requirements-address {
    padding: 16px 10px;
    font-size: 0.875rem;
  }
}
