.recruit-qa-page,
.recruit-qa-page * {
  box-sizing: border-box;
}

.recruit-qa-page {
  color: #3e3a39;
  font-family: "Noto Sans CJK JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.recruit-qa-hero {
  height: 430px;
  background: url("../../images/recruit/recruit_qa_topimg_pc.jpg") center center / cover no-repeat;
}

.recruit-qa-content {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  padding: 54px 0 110px;
}

.recruit-qa-heading {
  padding-bottom: 23px;
  border-bottom: 1px solid #153a6b;
  color: #003b71;
  text-align: center;
}

.recruit-qa-heading h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-qa-heading p {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-qa-intro {
  margin: 26px 0 75px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
}

.recruit-qa-section + .recruit-qa-section {
  margin-top: 116px;
}

.recruit-qa-section h2 {
  margin: 0 0 45px;
  padding-bottom: 20px;
  border-bottom: 1px solid #003b71;
  color: #222;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
}

.recruit-qa-section h2::after {
  position: absolute;
  bottom: -26px;
  left: 0;
  width: 1px;
  height: 26px;
  background: #003b71;
  content: "";
}

.recruit-qa-section.recruit-qa-common h2,
.recruit-qa-section.recruit-qa-newgrad h2 {
  margin-bottom: 0;
  border-bottom: 0;
}

.recruit-qa-section.recruit-qa-common h2::after,
.recruit-qa-section.recruit-qa-newgrad h2::after {
  content: none;
}

.recruit-qa-section-line {
  width: 100%;
  height: 25px;
  box-sizing: border-box;
  border-top: 1px solid #153a6b;
  border-left: 1px solid #153a6b;
  margin-bottom: 21px;
}

.recruit-qa-group + .recruit-qa-group {
  margin-top: 72px;
}

.recruit-qa-group h3 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-qa-card {
  overflow: hidden;
  border: 1px solid #4945b5;
  border-radius: 5px;
}

.recruit-qa-card + .recruit-qa-card {
  margin-top: 38px;
}

.recruit-qa-question {
  display: flex;
  min-height: 77px;
  align-items: center;
  gap: 0;
}

.recruit-qa-qmark {
  display: grid;
  width: 101.5px;
  height: 69.5px;
  flex: 0 0 101.5px;
  align-self: flex-start;
  place-items: center start;
  padding-left: 23px;
  background: url("../../images/recruit/recruit_qa_q_bg.png") left top / contain no-repeat;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 39px;
  line-height: 1;
}

.recruit-qa-question h4 {
  margin: 0;
  padding: 11px 20px 11px 0;
  color: #4945b5;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.recruit-qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 23px 18px 26px;
}

.recruit-qa-amark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #c5cb38;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.recruit-qa-answer p {
  margin: -4px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .recruit-qa-hero {
    height: 132px;
    background-image: url("../../images/recruit/recruit_qa_topimg_sp.jpg");
  }

  .recruit-qa-content {
    width: calc(100% - 50px);
    padding: 10px 0 78px;
  }

  .recruit-qa-heading {
    padding-bottom: 7px;
  }

  .recruit-qa-heading h1 {
    font-size: 27px;
    line-height: 1.45;
  }

  .recruit-qa-heading p {
    margin-top: 4px;
    font-size: 15px;
  }

  .recruit-qa-intro {
    margin: 9px 0 31px;
    font-size: 15.5px;
    line-height: 1.9;
  }

  .recruit-qa-section + .recruit-qa-section {
    margin-top: 86px;
  }

  .recruit-qa-section h2 {
    margin-bottom: 40px;
    padding-bottom: 16px;
    font-size: 25px;
  }

  .recruit-qa-section h2::after {
    bottom: -24px;
    height: 24px;
  }

  .recruit-qa-section-line {
    margin-bottom: 16px;
  }

  .recruit-qa-group + .recruit-qa-group {
    margin-top: 72px;
  }

  .recruit-qa-group h3 {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .recruit-qa-card + .recruit-qa-card {
    margin-top: 28px;
  }

  .recruit-qa-question {
    min-height: 47px;
    align-items: flex-start;
  }

  .recruit-qa-qmark {
    width: 68.65px;
    height: 47px;
    flex-basis: 68.65px;
    padding-left: 12px;
    font-size: 30px;
    padding-bottom: 4px;
  }

  .recruit-qa-question h4 {
    padding: 12px 11px 7px 0;
    font-size: 17px;
    line-height: 1.45;
  }

  .recruit-qa-answer {
    gap: 8px;
    padding: 12px 10px 18px;
  }

  .recruit-qa-amark {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    font-size: 20px;
  }

  .recruit-qa-answer p {
    margin-top: -3px;
    font-size: 16px;
    line-height: 1.9;
  }
}
