/* TOP recruitment gateway */
#recruitArea .recruitLead {
  margin: 0 0 2em;
  font-size: 1.6rem;
  line-height: 1.9;
  text-align: center;
}

#recruitArea .recruitGateway {
  display: grid;
  gap: 16px;
  margin: 0 0 30px;
}

#recruitArea .recruitGatewayCard {
  position: relative;
  display: flex;
  min-height: 170px;
  padding: 28px 26px;
  overflow: hidden;
  flex-direction: column;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 36px rgba(24, 48, 68, 0.14);
}

#recruitArea .recruitGatewayCard::before,
.recruitPageCard::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ea889e, #c96ce7, #41aae4);
  content: "";
}

#recruitArea .recruitGatewayCard::after {
  position: absolute;
  right: 24px;
  bottom: 25px;
  width: 11px;
  height: 11px;
  border-top: 2px solid #41aae4;
  border-right: 2px solid #41aae4;
  transform: rotate(45deg);
  content: "";
}

#recruitArea .recruitGatewayEn {
  margin-bottom: 12px;
  color: #ea889e;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#recruitArea .recruitGatewayCard strong {
  margin-bottom: 10px;
  font-size: 2.1rem;
  line-height: 1.4;
}

#recruitArea .recruitGatewayCard > span:last-of-type {
  max-width: 88%;
  color: #59646b;
  font-size: 1.4rem;
  line-height: 1.7;
}

#recruitArea .buttonArea {
  width: min(269px, 80%);
  margin: 0 auto;
}

/* Recruitment page */
.recruitSection .content {
  padding: 60px 0;
}

.recruitHeading {
  margin-bottom: 34px;
  text-align: center;
}

.recruitHeading .en {
  margin-bottom: 10px;
  color: #e87598;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.recruitHeading h2 {
  color: #414b51;
  font-size: 2.8rem;
  line-height: 1.4;
}

.recruitAbout .content {
  background: linear-gradient(135deg, #fff7f9 0%, #f1f9ff 100%);
}

.recruitStatement {
  margin-bottom: 26px;
  color: #414b51;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.recruitBodyText {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 2;
}

.recruitBodyText p + p,
.recruitMessageText p + p,
.recruitFeature p + p {
  margin-top: 1.25em;
}

.recruitFeature {
  max-width: 900px;
  margin: 38px auto 0;
  padding: 28px 24px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 10px 32px rgba(25, 54, 74, 0.1);
}

.recruitFeature h3 {
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 5px solid #e87598;
  font-size: 2rem;
  line-height: 1.5;
}

.recruitFeature p {
  font-size: 1.5rem;
  line-height: 1.9;
}

.recruitMessage .content {
  background: #fff;
}

.recruitMessageGrid {
  display: flex;
  max-width: 980px;
  margin: 0 auto;
  flex-direction: column-reverse;
  gap: 26px;
}

.recruitMessageText {
  font-size: 1.6rem;
  line-height: 2;
}

.recruitMessageImage {
  width: min(100%, 210px);
  margin: 0 auto;
  background: linear-gradient(135deg, #fff5f8, #edf8ff);
}

.recruitMessageImage img {
  display: block;
  width: 100%;
  height: auto;
}

.recruitRepresentativeName {
  margin-top: 26px !important;
  font-size: 2rem;
  font-weight: 700;
  text-align: right;
}

.recruitRepresentativeName span {
  margin-right: 0.7em;
  font-size: 1.3rem;
  font-weight: 500;
}

.recruitJobsSection .content,
.recruitFaq .content {
  background: #f3f9fc;
}

.recruitCampaign {
  max-width: 900px;
  margin: 0 auto 44px;
  padding: 26px 22px;
  border: 2px solid #e87598;
  box-sizing: border-box;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: center;
}

.recruitCampaignLabel {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: #e87598;
}

.recruitCampaign strong {
  color: #d84e78;
  font-size: 1.15em;
}

.recruitCampaignNote {
  margin-top: 8px;
  font-size: 0.85em;
}

.recruitJobGroup {
  max-width: 960px;
  margin: 0 auto 42px;
}

.recruitJobGroup h3 {
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 5px solid #e77d9a;
  font-size: 2rem;
  line-height: 1.5;
}

.recruitJobGroup h3 small {
  display: block;
  margin-top: 4px;
  color: #e87598;
  font-size: 0.65em;
  font-weight: 500;
}

.recruitJobList {
  background: #fff;
}

.recruitJobList li + li {
  border-top: 1px solid #dce7ec;
}

.recruitJobList a {
  position: relative;
  display: flex;
  padding: 20px 42px 20px 20px;
  flex-direction: column;
  gap: 8px;
}

.recruitJobList a::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #41aae4;
  border-right: 2px solid #41aae4;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.recruitJobList span {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.55;
}

.recruitJobList em {
  color: #53707f;
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1.4;
}

.recruitAllJobs,
.recruitCareerButton {
  width: min(340px, 92%);
  margin: 38px auto 0;
}

.recruitAllJobs .button,
.recruitCareerButton .button {
  width: 100%;
}

.recruitCareerLead {
  max-width: 820px;
  margin: 0 auto 30px;
  font-size: 1.6rem;
  line-height: 1.9;
}

.recruitRecommend {
  max-width: 820px;
  margin: 0 auto;
  padding: 26px 24px;
  box-sizing: border-box;
  background: #f3f4f5;
}

.recruitRecommend h3 {
  margin-bottom: 14px;
  font-size: 1.9rem;
}

.recruitRecommend li {
  position: relative;
  padding-left: 1.3em;
  font-size: 1.5rem;
  line-height: 1.8;
}

.recruitRecommend li::before {
  position: absolute;
  left: 0;
  color: #e87598;
  content: "・";
}

.recruitFaqGroup {
  max-width: 900px;
  margin: 0 auto 42px;
}

.recruitFaqGroup h3 {
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 5px solid #e87598;
  font-size: 2rem;
}

.recruitFaq details {
  border-bottom: 1px solid #d6e1e6;
  background: #fff;
}

.recruitFaq summary {
  position: relative;
  padding: 20px 48px 20px 48px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.recruitFaq summary::-webkit-details-marker {
  display: none;
}

.recruitFaq summary::before {
  position: absolute;
  top: 20px;
  left: 18px;
  color: #e87598;
  font-size: 1.8rem;
  content: "Q";
}

.recruitFaq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: #41aae4;
  font-size: 2.2rem;
  font-weight: 400;
  transform: translateY(-50%);
  content: "+";
}

.recruitFaq details[open] summary::after {
  content: "−";
}

.recruitFaq details > div {
  padding: 0 24px 22px 48px;
  color: #53616a;
  font-size: 1.5rem;
  line-height: 1.9;
}

.recruitFlowList {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  gap: 16px;
}

.recruitFlowList li {
  display: flex;
  padding: 22px 20px;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(25, 54, 74, 0.09);
}

.recruitFlowList li > span {
  color: #e87598;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.recruitFlowList h3 {
  margin-bottom: 6px;
  font-size: 1.8rem;
  line-height: 1.5;
}

.recruitFlowList p {
  color: #59646b;
  font-size: 1.4rem;
  line-height: 1.8;
}

.recruitFlowNote {
  max-width: 900px;
  margin: 18px auto 0;
  color: #68747b;
  font-size: 1.3rem;
}

#recruitEntry .content {
  padding: 58px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg, #e7859f, #4ba9db);
}

#recruitEntry h2 {
  margin-bottom: 18px;
  font-size: 2.4rem;
  line-height: 1.5;
}

#recruitEntry p {
  margin-bottom: 28px;
  font-size: 1.5rem;
  line-height: 1.9;
}

#recruitEntry .button {
  display: block;
  width: min(320px, 90%);
  margin: auto;
  color: #414b51;
  background: #fff;
}

@media screen and (min-width: 769px) {
  #recruitArea .recruitLead {
    margin: -15px 0 34px;
    font-size: 1.8rem;
    line-height: 2;
  }

  #recruitArea .recruitGateway {
    max-width: 960px;
    margin: 0 auto 40px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  #recruitArea .recruitGatewayCard {
    min-height: 210px;
    padding: 40px 38px;
  }

  #recruitArea .recruitGatewayCard strong {
    font-size: 2.6rem;
  }

  #recruitArea .recruitGatewayCard > span:last-of-type {
    font-size: 1.6rem;
  }

  .recruitSection .content {
    padding: 90px 0;
  }

  .recruitHeading {
    margin-bottom: 48px;
  }

  .recruitHeading h2 {
    font-size: 3.8rem;
  }

  .recruitStatement {
    margin-bottom: 34px;
    font-size: 3.8rem;
  }

  .recruitBodyText,
  .recruitMessageText {
    font-size: 1.7rem;
  }

  .recruitFeature {
    margin-top: 48px;
    padding: 36px 42px;
  }

  .recruitFeature h3,
  .recruitJobGroup h3,
  .recruitFaqGroup h3 {
    font-size: 2.4rem;
  }

  .recruitFeature p,
  .recruitCampaign,
  .recruitCareerLead {
    font-size: 1.6rem;
  }

  .recruitMessageGrid {
    align-items: center;
    flex-direction: row;
    gap: 54px;
  }

  .recruitMessageText {
    flex: 1;
  }

  .recruitMessageImage {
    width: 240px;
    min-width: 240px;
    margin: 0;
  }

  .recruitJobGroup {
    margin-bottom: 52px;
  }

  .recruitJobGroup h3 small {
    display: inline;
    margin: 0 0 0 0.7em;
  }

  .recruitJobList a {
    padding: 24px 60px 24px 28px;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .recruitJobList span {
    font-size: 1.8rem;
  }

  .recruitJobList em {
    font-size: 1.3rem;
  }

  .recruitRecommend {
    padding: 34px 40px;
  }

  .recruitRecommend li,
  .recruitFaq details > div {
    font-size: 1.6rem;
  }

  .recruitFaq summary {
    padding: 24px 60px 24px 54px;
    font-size: 1.7rem;
  }

  .recruitFaq summary::before {
    top: 24px;
    left: 22px;
  }

  .recruitFlowList {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .recruitFlowList li {
    min-height: 130px;
    padding: 28px 26px;
    box-sizing: border-box;
  }

  #recruitEntry .content {
    padding: 78px 0;
  }

  #recruitEntry h2 {
    font-size: 3.2rem;
  }

  #recruitEntry p {
    font-size: 1.7rem;
  }
}
