@import url("https://fonts.googleapis.com/css2?family=Abel&display=swap");

.job-description-title__text .sp-only {
  display: none;
}

.system2 {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  letter-spacing: 0.08em;
  color: #2C2C2C;
}
.page-system2 #sec01 .ttl .txt {
  width: 32.35%;
  padding-bottom: 40px;
}

.page-system2 #sec01 .ttl .txt h2 {
  margin: 0;
  font-weight: normal;
  line-height: 1.5;
}

.page-system2 #sec01 .ttl .txt h2 small {
  color: #e18f9b;
  font-size: 20px;
  font-weight: normal;
}

.page-system2 #sec01 .ttl .txt h2 span {
  color: #2c2c2c;
  font-size: 49px;
}

.english {
  margin: 0 0 8px;
  color: #e18f9b;
  font-size: 18px;
  letter-spacing: 0.08em;
  font-family: "Abel", sans-serif;
}

h2 {
  margin: 0 0 16px;
  color: #b52033;
  font-size: 28px;
  font-weight: bold;
}

h3 {
  font-size: 24px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .page-system2 #sec01 .ttl .txt {
    width: 100%;
    padding: 20px 0;
  }

  .page-system2 #sec01 .ttl .txt h2 small {
    font-size: 16px;
  }

  .page-system2 #sec01 .ttl .txt h2 span {
    font-size: 32px;
  }
}

.system-detail__heading {
  text-align: center;
  margin: 0 0 80px;
}
.system-detail__heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.system-detail__heading h2 img {
  height: 1em;
  width: auto;
}

#job-description-title > img {
  width: auto !important;
  max-width: none;
  height: 1em;
}
.support-detail__inner,
.training-detail__inner,
.internship-detail__inner {
  max-width: 1200px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.support-detail > .support-detail__inner,
.training-detail > .training-detail__inner,
.internship-detail > .internship-detail__inner {
  width: 100%;
  max-width: 1200px !important;
  min-width: 0 !important;
  margin: 0 auto;
  box-sizing: border-box;
}

.support-detail__body,
.training-detail__body,
.internship-detail__body {
  display: grid;
  grid-template-columns: 450fr 500fr;
  gap: 50px;
  align-items: start;
}

.support-detail,
.training-detail,
.internship-detail {
  padding: 80px 20px;
}

.support-detail > *,
.training-detail > *,
.internship-detail > * {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.support-detail {
  background-image: url(../../images/system/bg01.webp);
  background-repeat: no-repeat;
  background-position: calc(50% - 565px) 500px;
}
.support-detail__photo img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: 0;
  height: auto;
}

.support-detail__photo,.training-detail__photo img{
  width: 448px;
  max-width: 100%;
  margin: 0;
  justify-self: end;
  text-align: right;
}

.support-detail__intro h3 {
  margin: 20px 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.8;
}

.training-detail__intro h3 {
  line-height: 1.8;
  margin: 20px 0;
}

.internship-detail__body {
  align-items: center;
}

.internship-detail__photo {
  max-width: 100%;
  margin: 0;
  justify-self: end;
}

.internship-detail__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.internship-detail__intro h3 {
  margin: 20px 0;
  line-height: 1.8;
}

.support-detail__text,
.training-detail__text,
.internship-detail__text {
  margin: 10px 0;
  font-size: 15px;
  line-height: 2;
}
.training-detail {
  background-image: url(../../images/system/bg02.webp);
  background-repeat: no-repeat;
  background-position: calc(50% + 565px) 500px;
}
.internship-detail {
  background-color: #fffaf9;
  background-image: url(../../images/system/bg03.webp);
  background-repeat: no-repeat;
  background-position: calc(50% - 365px) top;
}

@media (max-width: 768px) {
  .support-detail,  .internship-detail {
    padding: 60px 20px 40px;
  }
  .training-detail {
    padding: 40px 20px 40px;
  }

    .support-detail {
      background-position: 20px 250px;
      background-size: 140px auto;
    }

    .training-detail {
      background-position: right 50px top 250px;
      background-size: 140px auto;
    }

    .internship-detail {
      background-position: 20px 80px;
      background-size: 140px auto;
    }

  .system-detail__heading {
    margin:0 0 40px;
  }
  .system-detail__heading h2 {
    font-size: 20px;
    line-height: 1.5;
    gap: 3px;
  }
  .support-detail__body, .training-detail__body, .internship-detail__body {
    display: block;
  }

  .support-detail__body {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .support-detail__photo {
    order: -1;
  }

  .support-detail__intro h3,
  .training-detail__intro h3,
  .internship-detail__intro h3 {
    font-size: 18px;
    margin: 20px 0;
  }

  .support-detail__intro h3 br {
    display: none;
  }
}

.q-a {
  padding: 80px 20px 160px;
}

.q-a__inner {
  max-width: 1200px;
  width: 100%;
  min-width: 0 !important;
  box-sizing: border-box;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  border: 1px solid #b52033;
  border-radius: 16px;
  background: #fffaf9;
  overflow: hidden;
}

.system-q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 26px 80px 26px 30px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  color: #2c2c2c;
  cursor: pointer;
  list-style: none;
}

.system-q::-webkit-details-marker {
  display: none;
}

.system-q__num {
  flex: 0 0 auto;
  color: #b52033;
  font-size: 32px;
  font-family: "Abel", sans-serif;
  line-height: 1;
}

.system-q__toggle {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #b52033;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-position: center;
  background-repeat: no-repeat;
  background-size:
    16px 2px,
    2px 16px;
  transition: background-size 0.3s;
  cursor: pointer;
}

.faq-item[open] .system-q__toggle {
  background-size:
    16px 2px,
    2px 0;
}

.system-a {
  padding: 0 30px 28px 30px;
}

.system-a p {
  margin: 0;
  padding-top: 20px;
  border-top: 2px dotted #b52033;
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .q-a {
    padding: 60px 20px 80px;
  }

  .system-q {
    gap: 14px;
    padding: 20px 60px 20px 20px;
    font-size: 15px;
  }

  .system-q__num {
    font-size: 26px;
  }

  .system-q__toggle {
    right: 16px;
    width: 36px;
    height: 36px;
    background-size:
      14px 2px,
      2px 14px;
  }

  .faq-item[open] .system-q__toggle {
    background-size:
      14px 2px,
      2px 0;
  }

  .system-a {
    padding: 0 20px 22px 20px;
  }
}
.job-description {
  padding: 90px 20px 100px;
  text-align: center;
  background-image: url(../../images/recruit/jobdescription-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.job-description__inner {
  margin: 0 auto;
}

.job-description__heading h2 {
  color: #fff;
}

.job-description__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.job-description__link,
.job-description__link:link,
.job-description__link:visited,
.job-description__link:hover,
.job-description__link:active {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 40px;
  border: 1px dashed #b52033;
  border-radius: 8px;
  background: #fff;
  color: #b52033;
  font-size: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-description__link-text {
  text-decoration: underline;
  text-underline-offset: 10px;
}

.job-description__link-arrow {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .job-description-title__text .sp-only {
    display: block;
  }

  .job-description {
    padding: 60px 20px 70px;
  }

  .job-description__heading h2 {
    font-size: 20px;
    line-height: 1.5;
    gap: 3px;
  }

  .job-description__text {
    margin-bottom: 30px;
    font-size: 14px;
  }

  .job-description__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job-description__link {
    width: 100%;
    padding: 18px 20px;
    font-size: 13px;
  }
}
