@charset "utf-8";

body.recruit-page {
  background: #fff;
  color: #151a22;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

.recruit-page .bgImg {
  background: #fff;
}

.recruit-main {
  background: #fff;
}

.recruit-hero {
  position: relative;
  min-height: 620px;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 18, 34, 0.72) 0%, rgba(4, 18, 34, 0.38) 46%, rgba(4, 18, 34, 0.08) 100%),
    url("../../img/recruit-bg.jpg") center / cover no-repeat;
}

.recruit-hero-inner {
  width: min(100%, 1280px);
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 24px;
  display: flex;
  flex-direction: column;
}

.recruit-hero-copy {
  margin-top: auto;
  padding-bottom: clamp(46px, 7vw, 86px);
  margin-left: clamp(0px, 1.2vw, 18px);
}

.recruit-en {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  font-weight: 100;
  letter-spacing: 0.22em;
  line-height: 1;
}

.recruit-hero h1 {
  margin: 0 0 54px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.05;
}

.recruit-lead {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.9;
}

.recruit-intro {
  padding: 70px 0 54px;
  background: #fff;
}

.recruit-intro p {
  max-width: 980px;
  margin: 0;
  color: #333b46;
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.recruit-openings {
  padding: 0 0 76px;
  background: #fff;
}

.recruit-opening {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 52px;
  padding: 42px 0;
  border-top: 1px solid rgba(21, 26, 34, 0.18);
}

.recruit-opening:last-child {
  border-bottom: 1px solid rgba(21, 26, 34, 0.18);
}

.recruit-contact-inner p {
  margin: 0 0 18px;
  color: #9a2028;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.recruit-region-link {
  position: relative;
  display: inline-block;
  margin: 0 0 20px;
  color: #9a2028;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.46em;
  text-decoration: none;
}

.recruit-region-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #9a2028;
  transition: width 0.3s ease;
}

.recruit-region-link:hover::after {
  width: calc(100% - 0.46em);
}

.recruit-opening-head h2 {
  margin: 0;
  color: #151a22;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.25;
  white-space: nowrap;
}

html[lang="en"] .recruit-opening-head h2 {
  max-width: 300px;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  letter-spacing: 0.055em;
  line-height: 1.45;
  white-space: normal;
}

.recruit-opening-body dl {
  margin: 0;
}

.recruit-role + .recruit-role {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(21, 26, 34, 0.18);
}

.recruit-opening-body dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid rgba(21, 26, 34, 0.1);
}

.recruit-opening-body dl > div:first-child {
  padding-top: 0;
  border-top: none;
}

.recruit-opening-body dt {
  color: #151a22;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.recruit-opening-body dd {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.recruit-contact {
  padding: 0 0 86px;
  background: #fff;
}

.recruit-contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid rgba(21, 26, 34, 0.18);
  border-bottom: 1px solid rgba(21, 26, 34, 0.18);
}

.recruit-contact-inner h2 {
  margin: 0;
  color: #151a22;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.recruit-contact-inner a {
  position: relative;
  display: inline-block;
  color: #151a22;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.recruit-contact-inner a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: #151a22;
  transition: width 0.3s ease;
}

.recruit-contact-inner a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .recruit-opening {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .recruit-opening-body dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recruit-role + .recruit-role {
    margin-top: 28px;
    padding-top: 28px;
  }
}

@media (max-width: 640px) {
  .recruit-hero {
    min-height: auto;
    aspect-ratio: 1920 / 720;
  }

  .recruit-hero {
    background:
      linear-gradient(90deg, rgba(4, 18, 34, 0.7) 0%, rgba(4, 18, 34, 0.36) 52%, rgba(4, 18, 34, 0.08) 100%),
      url("../../img/recruit-bg.jpg") center / cover no-repeat;
  }

  .recruit-hero-inner {
    min-height: auto;
    height: 100%;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .recruit-en {
    font-size: clamp(2.2rem, 13vw, 3.8rem);
  }

  .recruit-hero h1 {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .recruit-intro {
    padding: 52px 0 34px;
  }

  .recruit-intro p,
  .recruit-opening-body dd {
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .recruit-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
