/* =====================================================
   S.E.A.T.S Inc. Recruitment LP
   ===================================================== */

:root {
  --blue: #0b83c7;
  --blue-dark: #0a71ab;
  --navy: #22384b;
  --text: #44515e;
  --text-light: #6b7885;
  --bg-lightblue: #e9f3fa;
  --bg-gray: #f4f6f8;
  --bg-sky: #7cbde4;
  --bg-sky-deep: #5da5d6;
  --card-tile: #dcebf7;
  --border: #e3e8ec;
  --white: #ffffff;
  --red: #d43c3c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 6px 24px rgba(34, 56, 75, 0.08);
  --shadow-strong: 0 10px 34px rgba(34, 56, 75, 0.14);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 15px 34px;
  font-size: 15px;
  border: none;
}

.btn-dark {
  background: #14212d;
  color: var(--white);
  padding: 12px 26px;
  font-size: 14px;
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 13px 36px;
  font-size: 15px;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  opacity: 1;
}

.btn-small {
  padding: 7px 24px;
  font-size: 13px;
}

.text-link {
  font-weight: 700;
  font-size: 14px;
}

.text-link:hover {
  text-decoration: underline;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(34, 56, 75, 0.06);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img {
  height: 42px;
  width: auto;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-nav a:not(.btn) {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
}

.header-nav a:not(.btn):hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */

.hero {
  padding: 90px 0 110px;
  background: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  color: var(--navy);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 34px;
}

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

.hero-cta {
  margin-top: 10px;
}

.hero-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}

/* ===== Sections (shared) ===== */

.section {
  padding: 96px 0;
}

.section-lightblue {
  background: var(--bg-lightblue);
}

.section-gray {
  background: var(--bg-gray);
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-label-dark {
  color: var(--navy);
}

.section-title {
  color: var(--navy);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  padding-bottom: 24px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.section-actions {
  text-align: center;
  margin-top: 56px;
}

/* ===== CEO Message ===== */

.ceo-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: start;
}

.ceo-photo img {
  border-radius: var(--radius);
  width: 100%;
}

.quote-mark {
  display: block;
  color: var(--blue);
  font-size: 72px;
  font-weight: 900;
  line-height: 0.6;
  margin-bottom: 22px;
  font-family: Georgia, serif;
}

.ceo-quote {
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.ceo-body p + p {
  margin-top: 14px;
}

.ceo-sign {
  color: var(--text-light);
  margin-top: 22px;
}

/* ===== Ideal Candidate ===== */

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

.candidate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 40px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(34, 56, 75, 0.04);
}

.candidate-num {
  width: 120px;
  height: 84px;
  margin: 0 auto 22px;
  background: var(--card-tile);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 34px;
  font-weight: 700;
}

.candidate-card p {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

/* ===== Open Positions ===== */

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.position-card {
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(34, 56, 75, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.position-photo {
  padding: 28px 28px 0;
}

.position-photo img {
  width: 100%;
  aspect-ratio: 300 / 193;
  object-fit: cover;
  border-radius: 4px;
}

.position-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.position-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.position-body h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.position-desc {
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}

/* ===== Current Challenges ===== */

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.challenge-item img {
  width: 100%;
  aspect-ratio: 214 / 150;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
}

.challenge-num {
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.challenge-text {
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.challenge-closing {
  text-align: center;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin-top: 80px;
}

/* ===== Learn More ===== */

.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.learn-card {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(34, 56, 75, 0.08);
  overflow: hidden;
}

.learn-photo {
  background: #e1e6ea;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-photo span {
  color: #8b98a4;
  font-size: 14px;
}

.learn-body {
  padding: 22px 24px 34px;
  text-align: center;
}

.learn-body h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ===== CTA / Contact ===== */

.cta-section {
  background: var(--bg-sky);
  padding: 130px 0 90px;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 56px;
  align-items: start;
}

.cta-title {
  color: var(--navy);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta-text p + p {
  margin-top: 24px;
}

.cta-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 36px 40px 40px;
  margin-top: -110px;
}

.form-title {
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.required {
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #d6dde3;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 131, 199, 0.12);
}

.form-field input.field-error,
.form-field textarea.field-error {
  border-color: var(--red);
}

.form-field textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  font-size: 16px;
}

.form-note {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  margin-top: 16px;
}

.form-success {
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  padding: 40px 0;
}

/* ===== Footer ===== */

.site-footer {
  background: var(--bg-sky);
  padding: 40px 0 0;
}

.footer-logo {
  display: inline-block;
  padding-bottom: 36px;
}

.footer-logo img {
  height: 48px;
  width: auto;
}

.footer-bottom {
  background: var(--bg-sky-deep);
  height: 14px;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .candidate-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .challenge-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-form-card {
    margin-top: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 30px 28px 34px;
  }

  .ceo-grid {
    grid-template-columns: 280px 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    display: none;
    padding: 20px 24px 28px;
  }

  .header-nav.is-open {
    display: block;
  }

  .header-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header-nav li {
    border-bottom: 1px solid var(--border);
  }

  .header-nav li:last-child {
    border-bottom: none;
    margin-top: 18px;
  }

  .header-nav a:not(.btn) {
    display: block;
    padding: 14px 4px;
  }

  .header-nav .btn {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 56px 0 70px;
  }

  .hero-title {
    font-size: 28px;
  }

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

  .ceo-photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .position-grid,
  .learn-grid {
    grid-template-columns: 1fr;
  }

  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .challenge-closing {
    font-size: 18px;
    margin-top: 48px;
  }

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

  .cta-section {
    padding: 70px 0 60px;
  }

  .cta-card {
    padding: 36px 24px;
  }

  .cta-title {
    font-size: 22px;
  }

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