/* ========================================
   youkou.html 専用スタイル
   ======================================== */

/* 募集職種セクション */
.job-listings {
  padding: 150px 0;
}
@media (max-width: 768px) {
  .job-listings {
    padding: 60px 0;
  }
}

.job-listings__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .job-listings__inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }
}

.job-listings__title {
  font-size: 40px;
  color: #06132f;
  margin-bottom: 40px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .job-listings__title {
    font-size: 24px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

.job-listings__leftBox {
  width: fit-content;
}

.job-listings__rightBox {
  width: 800px;
}
@media (max-width: 768px) {
  .job-listings__rightBox {
    width: 100%;
  }
}

/* 職種アイテム */
.job-item {
  padding: 24px 0;
  border-top: 1px solid #707070;
}

@media (max-width: 768px) {
  .job-item {
    padding: 16px 0;
  }
}

.job-item:last-child {
  border-bottom: 1px solid #707070;
}

.job-item__header {
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s;
}

.job-item__header:hover {
  opacity: 0.7;
}

.job-item__title {
  font-size: 24px;
  line-height: 1.5;
  flex: 1;
}
@media (max-width: 768px) {
  .job-item__title {
    font-size: 18px;
  }
}

.job-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #06132f;
}

.job-item__toggle svg {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .job-item__toggle svg {
    width: 25px;
    height: 25px;
  }
}

.job-item__toggle-horizontal {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.job-item__toggle-vertical {
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: center;
}

.job-item.active .job-item__toggle-vertical {
  opacity: 0;
  transform: rotate(90deg);
}


/* 職種詳細 */
.job-item__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
  opacity: 0;
}

.job-item.active .job-item__details {
  max-height: 3000px;
  opacity: 1;
  margin-bottom: 76px;
}
@media (max-width: 768px) {
  .job-item.active .job-item__details {
    margin-bottom: 40px;
  }
}

.job-item__coming-soon {
  font-size: 18px;
  color: #999;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
@media (max-width: 768px) {
  .job-item__coming-soon {
    font-size: 16px;
  }
}

.job-item.active .job-item__coming-soon {
  padding: 24px 0;
  max-height: 200px;
  opacity: 1;
}

.job-detail {
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 0;
  padding: 30px 0;
  border-bottom: 1px dotted #707070;
}
@media (max-width: 768px) {
  .job-detail {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }
}

.job-detail:first-of-type {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .job-detail:first-of-type {
    margin-top: 16px;
  }
}

.job-detail:last-of-type {
  border-bottom: none;
}

.job-detail__label {
  font-size: 16px;
  color: #06132f;
  font-weight: bold;
}

.job-detail__content {
  font-size: 16px;
  color: #06132f;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .job-detail__content {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* 職種CTA */
.job-item__cta {
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  display: flex;
  justify-content: center;
}

.job-item.active .job-item__cta {
  max-height: 200px;
  opacity: 1;
}

/* エントリーセクション */
.entry-section {
  padding: 100px;
  text-align: center;
}
@media (max-width: 768px) {
  .entry-section {
    padding: 60px 20px;
  }
}

.entry-section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.entry-section__title {
  font-size: 60px;
  color: #fff;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .entry-section__title {
    font-size: 32px;
    margin-bottom: 30px;
  }
}

.entry-section__subtitle {
  font-size: 34px;
  color: #fff;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .entry-section__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
  }
}

.entry-section__content {
  max-width: 1080px;
  margin: 0 auto 80px;
}

.entry-section__card {
  background-color: #fff;
  padding: 60px 80px;
  text-align: left;
}
@media (max-width: 768px) {
  .entry-section__card {
    padding: 30px 20px;
  }
}

.entry-section__card-title {
  font-size: 24px;
  color: #06132f;
  margin-bottom: 30px;
  text-align: center;
}

.entry-section__card-text {
  font-size: 16px;
  color: #06132f;
  line-height: 1.8;
  margin-bottom: 40px;
}

.entry-section__card .btn {
  display: block;
  margin: 0 auto;
}

.entry-section__message {
  margin-top: 60px;
}

.entry-section__message p {
  font-family: "YuMincho", "游明朝", "Yu Mincho", serif;
  font-size: 24px;
  color: #fff;
  line-height: 1.8;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .entry-section__message p {
    font-size: 18px;
  }
}




