/* ++++++++++全体++++++++++ */
body {
  line-height: 1.6;
  background: #dfe8f7;
  color: #333;
  font-size: 1.6rem;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 1px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;

  &.confirmWrap {
    margin-top: 120px !important;
  }
}

section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(22, 64, 129, 0.08);
}

h2 {
  display: table;
  margin: 0 auto;
  margin-bottom: 20px;
  position: relative;
  color: #003893;
  font-size: 3rem;
  text-align: center;
  font-weight: 600;
}

h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #003893;
  margin-top: 5px;
}

.sectionText {
  text-align: center;
  line-height: 1.9;
}

.pcObj {
  display: block;
}

.spObj {
  display: none;
}

@media only screen and (max-width: 768px) {

  .telLink a,
  .telLink a:visited,
  .telLink a:hover {
    color: #333;
  }

  .telLink a {
    text-decoration: underline;
  }

  .pcObj {
    display: none;
  }

  .spObj {
    display: block;
  }
}

/* ++++++++++ヘッダー++++++++++ */
header {
  background-color: #fff;
  padding: 18px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  box-shadow: 0 5px 10px rgba(0, 56, 147, 0.1);

  &.header {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  & ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  & li {
    display: flex;
    align-items: center;

    &:nth-child(2) {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  }

  & h1 {
    margin: 0;
    line-height: 1;
  }

  & img {
    display: block;
  }
}

header.show {
  opacity: 1;
  visibility: visible;
}

.contactBtnHeader {
  display: block;
  background-color: #EA5520;
  color: #FFF;
  font-weight: 600;
  text-align: center;
  padding: 10px 20px;
  border-radius: 50px;
  width: fit-content;
  line-height: 1.4;

  & i {
    margin-left: 8px;
  }
}

/* B-comロゴ */
header ul li:nth-child(1) img {
  width: 130px;
}

/* ジョブブーストテキスト */
header ul li:nth-child(2) img {
  width: 300px;
}

/* ++++++++++メイン++++++++++ */
.main img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.main p {
  line-height: 1.9;
}

.contactBtn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 12px 40px;
  background: #003893;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.8rem;
}

/* ++++++++++概要（まとめ）++++++++++ */
section {
  margin-top: 40px;
  padding: 40px;
}

/* ++++++++++ジョブブーストとは？++++++++++ */
.what > p {
  text-align: center;
}

.whatList {
  margin-top: 20px;
  padding: 20px;
  border-radius: 15px;
  background: #f5f7fa;
}

.whatList > p {
  margin-bottom: 20px;
  color: #003893;
  font-weight: bold;
  text-align: center;
  font-size: 1.8rem;
}

.whatList ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.whatList li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}

.whatList li::before {
  content: "✓";
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #003893;
  font-weight: 900;
}

/* ++++++++++ジョブブーストの機能は？++++++++++ */
.feature > p {
  text-align: center;
}

.featureWrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.featureItem {
  padding: 30px 25px;
  text-align: center;
  border: 1px solid #cbd8e8;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(22, 64, 129, 0.08);

  & h3 {
    margin-bottom: 10px;
    color: #003893;
  }

  & p {
    text-align: left;
  }
}

.featureSubTitle {
  margin: 30px 0 10px;
  color: #003893;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.featureTable {
  width: 100%;
  table-layout: fixed;
  border: 2px solid;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1.4rem;
}

.featureTable th:first-child,
.featureTable td:first-child {
  width: 50%;
}

.featureTable th:nth-child(2),
.featureTable td:nth-child(2) {
  width: 25%;
}

.featureTable th:nth-child(3),
.featureTable td:nth-child(3) {
  width: 25%;
}

.featureTable th,
.featureTable td {
  text-align: center;
  border: 1px solid #cbd8e8;
  padding: 10px;
}

.featureTable thead th {
  color: #fff;
  background: #003893;
  font-weight: bold;
}

.featureTable tbody td:last-child {
  font-weight: bold;
}

.check {
  font-size: 2.4rem;
  color: #003893;
}

/* ++++++++++ジョブブーストの使い方は？++++++++++ */
.way > p {
  text-align: center;
}

.textMIni {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.waySubtitle {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.wayWrap {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.wayItem {
  flex: 1;
  padding: 30px 25px;
  border: 1px solid #cbd8e8;
  border-radius: 15px;
  box-shadow: 0 5px 18px rgba(22, 64, 129, 0.08);
  text-align: center;
  background: #f5f7fa;

  & .actionJobboost {
    margin-left: 8px;
    padding: 7px 16px;
    color: #fff;
    border: 2px solid #003893;
    border-radius: 30px;
    background: #003893;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(22, 64, 129, 0.35);
  }

  & .actionNormal {
    margin-left: 8px;
    padding: 5px 12px;
    color: #003893;
    border: 2px solid #003893;
    border-radius: 30px;
    background: #f5f7fa;
    font-size: 2rem;
    font-weight: bold;
  }

  & .high,
  & .middle {
    font-weight: bold;
    font-size: 2rem;
  }

  & .high {
    color: #d9534f;
  }

  & .middle {
    color: #e09b3d;
  }

  & .waycase {
    margin-bottom: 15px;
  }

  & .wayListTitle {
    margin-top: 15px;
  }
}

.wayAvailability {
  margin-top: 15px;
  margin-bottom: 10px;
  border-radius: 15px;
  border: 1px solid #cbd8e8;
  padding: 20px 0;
}

.wayAvailability h3 {
  color: #003893;
  font-size: 1.5rem;
  text-align: center;
}

.wayAvailability ul {
  width: fit-content;
  margin: 0 auto;
  padding-left: 0;
}

.wayAvailability li {
  font-size: 1.4rem;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.wayAvailability li::before {
  content: "・";
}

/* ++++++++++ジョブブーストの効果は？++++++++++ */
.benefitItem {
  display: flex;
  align-items: center;
  border: 1px solid #cbd8e8;
  border-radius: 10px;
  padding: 25px 30px;
  margin-top: 15px;
}

.benefitNumber {
  font-size: 2.6rem;
  margin-right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #003893;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ++++++++++まとめ++++++++++ */
.summary {
  text-align: center;
  margin-bottom: 30px;

  & ul {
    margin-top: 20px;
  }
}

/* ++++++++++トップへ++++++++++ */
#goTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 5;

  & a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    border: 1px solid #FFF;
    background-color: #003893;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s ease;
  }
}

body > footer {
  position: sticky;
  top: 100vh;
}

/* ++++++++++フッター++++++++++ */
footer {
  margin-top: 100px;
  background-color: #003893;
  color: #FFF;
  text-align: center;
  font-size: 1rem;
  padding: 5px 5%;
  letter-spacing: 1px;
}

/* ++++++++++++++++++++++++++++++++++++++++メディアクエリ+++++++++++++++++++++++++++++++++++++++++ */
@media only screen and (max-width: 768px) {

  /* ++++++++++全体++++++++++ */
  .wrap {
    padding: 0;
  }

  h2 {
    font-size: 2.6rem;
  }

  .sectionText {
    line-height: 1.6;
    text-align: justify;
  }

  .sectionText p {
    margin-bottom: 8px;
  }

  /* ++++++++++ヘッダー++++++++++ */
  header ul li:nth-child(2) {
    display: none;
  }

  /* ++++++++++メイン++++++++++ */
  .main img {
    margin-bottom: 15px;
  }

  .main p {
    line-height: 1.6;
    padding: 0 5%;
    text-align: justify;
  }

  /* ++++++++++概要（まとめ）++++++++++ */
  section {
    padding: 40px 5% 5%;
    margin: 30px 5% 0px;
  }

  /* ++++++++++ジョブブーストとは？++++++++++ */
  .whatList ul {
    grid-template-columns: 1fr;
  }

  /* ++++++++++ジョブブーストの機能は？++++++++++ */
  .featureWrap {
    grid-template-columns: 1fr;
  }

  .featureItem {
    padding: 20px 25px;

    & h3 {
      margin-bottom: 5px;
    }

    & p {}
  }

  .featureSubTitle {
    margin: 30px 0 10px;
    font-size: 1.8rem;
  }

  .featureTable {
    font-size: 1.2rem;
  }

  .check {
    font-size: 2rem;
  }

  /* ++++++++++ジョブブーストの使い方は？++++++++++ */
  .wayWrap {
    display: block;
  }

  .waySubtitle {
    margin-top: 30px;
  }

  .wayItem {
    margin-bottom: 10px;
    box-shadow: 0 0cap 0cap rgba(22, 64, 129, 0.08);

    & .actionJobboost {
      display: block;
      text-align: center;
      margin-top: 10px;
    }

    & .actionNormal {
      display: block;
      text-align: center;
      margin-top: 10px;
    }

    & .waycase {
      text-align: center;
      font-size: 1.8rem;
      font-weight: bold;
    }
  }

  .wayAvailability {
    padding: 15px 25px;
  }

  .wayAvailability h3 {
    margin-bottom: 10px;
  }

  /* ++++++++++ジョブブーストの効果は？++++++++++ */
  .benefitItem {
    flex-direction: column;
    text-align: center;
  }

  .benefitNumber {
    width: 50px;
    height: 50px;
    font-size: 2.2rem;
    margin: 0 auto 15px;
  }

  .benefitContent h3 {
    margin-bottom: 10px;
  }

  /* ++++++++++まとめ++++++++++ */
}
