/* career support Section */
/*--career-suport-top3--*/
.career-suport-top3 {
  margin-bottom: 8rem;
}
.career-suport-top3 .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.career-suport-top3 .title {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.15rem;
  line-height: 1.4;
}

.career-suport-top3 .title .ex {
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  font-family: "Lucida Console", sans-serif;
  font-weight: 500;
  color: var(--link-color);
}

.career-suport-top3 .underline-svg {
  width: 400px;
  height: 30px;
  margin: 0 auto;
}

.career-suport-top3 .cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.career-suport-top3 .card {
  background: white;
  border: 3px solid var(--link-color);
  border-radius: 20px;
  padding: 40px;
  max-width: 340px;
  width: 100%;
  position: relative;
}

.career-suport-top3 .card-number {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--link-color);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.career-suport-top3 .card-title {
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 5%;
  margin-top: 13%;
  letter-spacing: 0.18rem;
}

.career-suport-top3 .card:nth-child(3) .card-title {
  font-size: 1.3rem;
}

.career-suport-top3 .card-icon {
  max-width: 105px;
  width: 100%;
  height: 105px;
  margin: 0 auto 8%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.career-suport-top3 .card-value {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--link-color);
  line-height: 1.4;
}

.career-suport-top3 .card-value .counter {
  display: inline-block;
  margin-right: 2%;
  letter-spacing: 0.1rem;
}

.career-suport-top3 .card-value .decimal {
  display: inline-block;
}

.career-suport-top3 .card-unit {
  font-size: 2rem;
  color: #000;
  font-weight: 300;
}

@media (max-width: 768px) {
  .career-suport-top3 .title {
    padding-top: 10%;
  }

  .career-suport-top3 .underline-svg {
    width: 300px;
  }

  .career-suport-top3 .cards-container {
    flex-direction: column;
    align-items: center;
    gap: 55px;
  }

  .career-suport-top3 .card {
    width: 100%;
    max-width: 290px;
  }

  .career-suport-top3 .card-number {
    top: -30px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .career-suport-top3 .card-title {
    font-size: 1.3rem;
    margin-bottom: 3%;
    margin-top: 8%;
  }
  .career-suport-top3 .card-icon {
    max-width: 90px;
    height: auto;
    margin: 0 auto 3%;
  }
  .career-suport-top3 .card-value .counter {
    margin-right: 1%;
    margin-left: 1rem;
  }
  .career-suport-top3 .card-unit {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .career-suport-top3 .subtitle::after {
    width: 250px;
  }

  .career-suport-top3 .card {
    padding: 30px 20px 20px;
  }

  .career-suport-top3 .card-value {
    font-size: 2.8rem;
  }
}

/*--Job Search Assistance--*/

.job-search-assistance-section {
  margin-bottom: -3rem;
  z-index: 3;
}

.job-search-assistance-section::after {
  content: "";
  position: absolute;
  bottom: 3rem;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(to right, #f8ddd8, #f2f4f8);
  background-size: 100vw 100%; /* ビューポート幅に合わせる */
  background-position: 0 0; /* 位置を合わせる */
  mask: url("/assets/img/section-line-curve.svg");
  mask-size: cover;
  -webkit-mask: url("/assets/img/section-line-curve.svg") no-repeat;
  -webkit-mask-size: cover;
  transform: rotate(180deg);
  z-index: 1;
}
.job-search-assistance-section::before {
  content: "";
  position: absolute;
  bottom: -72px;
  left: 0;
  width: 120px;
  height: 120px;
  background: #fff; /* 好きな色 */
  mask: url("/assets/img/section-line-curve.svg");
  background-size: cover;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .job-search-assistance-section::after {
    mask: url("/assets/img/section-line-curve_sp.svg");
    bottom: 48px;
    right: 0;
    width: 60px;
    height: 60px;
    -webkit-mask: url("/assets/img/section-line-curve_sp.svg") no-repeat;
    transform: rotate(180deg);
  }
  .job-search-assistance-section::before {
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 60px;
    mask: url("/assets/img/section-line-curve_sp.svg");
  }
}

.job-search-assistance-section .job-search-box {
  max-width: 1420px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 3rem;
}
@media screen and (max-width: 1150px) {
  .job-search-assistance-section .job-search-box {
    padding-bottom: 7rem;
    align-items: end;
  }
}
.job-search-assistance-section .job-search-img {
  margin-left: -2rem;
  width: 100%;
  max-width: 800px;
}

.job-search-assistance-section .job-search-img img {
  width: 100%;
  height: auto;
}

.job-search-assistance-section .job-search-text {
  text-align: justify;
  padding-right: 2rem;
}

.job-search-assistance-section .job-search-text p {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 2;
  letter-spacing: 0.08rem;
  margin-bottom: 40px;
}
.job-search-assistance-section .job-search-text p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .job-search-assistance-section .job-search-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 0;
  }

  .job-search-assistance-section .job-search-img {
    flex: none;
    width: 100%;
    order: 2;
  }
  .job-search-assistance-section .job-search-text {
    padding: 0px 20px;
    margin-right: 0%;
    order: 1;
  }
  .job-search-assistance-section .job-search-img img {
    max-width: 550px;
  }

  .job-search-assistance-section .job-search-text p {
    margin-bottom: 15px;
  }
}

/* -- joub search process flow --*/

.job-search-process-section {
  position: relative;
  background: linear-gradient(to right, #f2f4f8, #f8ddd8);
  padding: 10rem 0;
}
.job-search-process-section::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 0;
  width: 120px;
  height: 120px;
  background: url("/assets/img/section-line-curve.svg");
  background-size: cover;
  transform: rotate(180deg);
  z-index: 1;
}
.job-search-process-section::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(to right, #f2f4f8, #f8ddd8);
  background-size: 100vw 100%; /* ビューポート幅に合わせる */
  background-position: 0 0; /* 位置を合わせる */
  mask: url("/assets/img/section-line-curve.svg");
  mask-size: cover;
  -webkit-mask: url("/assets/img/section-line-curve.svg") no-repeat;
  -webkit-mask-size: cover;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .job-search-process-section::after {
    bottom: 0px;
    right: 0rem;
    width: 60px;
    height: 60px;
    background: url("/assets/img/section-line-curve_sp.svg");
    transform: rotate(180deg);
  }
  .job-search-process-section::before {
    bottom: -60px;
    left: 0rem;
    width: 60px;
    height: 60px;
    mask: url("/assets/img/section-line-curve_sp.svg");
    -webkit-mask: url("/assets/img/section-line-curve_sp.svg") no-repeat;
  }
}
.process-list li::after {
  background-image: url(/assets/img/career-processflow-01.svg);
}
.process-list li:last-child {
  margin-bottom: 0;
}
.process-list li:nth-child(2)::after {
  background-image: url(/assets/img/career-processflow-02.svg);
}
.process-list li:nth-child(3)::after {
  background-image: url(/assets/img/career-processflow-03.svg);
}
.process-list li:nth-child(4)::after {
  background-image: url(/assets/img/career-processflow-04.svg);
}
.process-list li:nth-child(5)::after {
  background-image: url(/assets/img/career-processflow-05.svg);
}

@media (max-width: 768px) {
  .job-search-process-section {
    padding: 8rem 0;
  }
  .job-search-process-section .section_title {
    margin-bottom: 5rem;
  }
}

/* -- job search Detail --*/

.job-detail {
  padding: 8rem 0;
}

.job-detail .section_title {
  margin-bottom: 5%;
  margin-left: 5%;
}

.job-detail-content {
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 0.08rem;
  position: relative;
}

.job-detail .job-detail-map {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
}

.job-detail .info-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.job-detail .section-left {
  position: sticky;
  top: 8rem;
}

.job-detail .content-title-box {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.job-detail .content-number {
  color: var(--link-color);
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.2rem);
  flex-shrink: 0;
  margin-top: 0rem;
}

.job-detail .info-title {
  font-size: clamp(1.5rem, 3vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.1rem;
}

.job-detail .section-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.job-detail .info-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.job-detail .item-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-detail .item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.job-detail .item-content h4 {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.job-detail .item-content p {
  font-size: clamp(15px, 1.8vw, 1.1rem);
  line-height: 1.7;
  text-align: justify;
  padding-right: 2rem;
}
/*--ボタン--*/

.job-detail .course_button {
  display: inline-flex;
  align-items: center;
  color: white;
  background-color: var(--link-color);
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 350px;
  justify-content: space-between;
  font-size: var(--font-lg);
}
.job-detail .detail-btn {
  margin: 0 auto;
  text-align: center;
}
.job-detail .course_button::after {
  content: "";
  display: block;
  width: 45px;
  height: 45px;
  background-image: url("/assets/img/white-arrow.svg");
  background-size: 45px 45px;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .job-detail {
    padding: 4rem 0 9rem 0;
  }
  .job-detail .section_title {
    margin-left: 0%;
  }

  .job-detail-content {
    margin: 4rem auto 0 auto;
  }
  .job-detail .job-detail-map {
    gap: 3rem;
  }

  .job-detail .info-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .job-detail .content-title-box {
    gap: 0rem;
    margin-bottom: 1rem;
  }
  .job-detail .section-left {
    position: relative;
    top: 0;
  }

  .job-detail .section-right {
    gap: 2rem;
  }

  .job-detail .info-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .job-detail .item-icon {
    width: 40px;
    height: 40px;
  }
  .job-detail .course_button {
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    width: 100%;
    font-size: 1.1rem;
  }
  .job-detail .detail-btn {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .job-detail .info-item {
    grid-template-columns: 30px 1fr;
    gap: 0.8rem;
  }

  .job-detail .item-icon {
    width: 30px;
    height: 30px;
  }
}

/* -- Features of Career Support --*/
.features_item {
  cursor: auto;
}
.features-of-career-support {
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
  padding: 8rem 0 6rem 0;
}
.features-of-career-support .container {
  max-width: 1200px;
}
.features-of-career-support .section_title {
  margin-bottom: 8rem;
}
.features-of-career-support .features_icon {
  background: #6aaae6;
}
@media (max-width: 768px) {
  .features-of-career-support {
    padding: 5rem 0 2rem 0;
  }
  .features-of-career-support .container {
    padding: 1rem 1.5rem 4rem 1.5rem;
  }
  .features-of-career-support .section_title {
    margin-bottom: 5rem;
  }
  .features-of-career-support .features_grid {
    gap: 9rem;
  }
  .features-of-career-support .features_item:nth-child(2) {
    margin-top: -4rem;
  }
}

/* Dedicated Contact Section */
.dedicated-contact-section {
  padding: 8em 0;
}

.dedicated-contact-section .contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.dedicated-contact-section .contact-image {
  margin-left: -2rem;
  width: 100%;
  max-width: 850px;
}
.dedicated-contact-section .contact-info {
  margin-right: 18%;
}
.dedicated-contact-section .section_title {
  margin-bottom: 2rem;
}

.dedicated-contact-section .contact-info p {
  font-size: var(--font-base);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.dedicated-contact-section .contact-button {
  width: 100%;
}
.dedicated-contact-section .hover-button {
  font-size: 22px;
  letter-spacing: 0.15rem;
}
.dedicated-contact-section .hover-button:hover {
  border: 1px solid var(--link-color);
}
.dedicated-contact-section .hover-button:hover .hover-button__text {
  color: var(--link-color);
}
.dedicated-contact-section .hover-button__circle {
  right: 1.4rem;
}

.dedicated-contact-section .hover-button:hover .hover-button__background {
  width: 50px;
  height: 50px;
  left: calc(100% - 50px - 1rem);
  transform: translateY(-50%);
  top: 50%;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .dedicated-contact-section {
    padding: 1rem 0 8em;
  }
  .dedicated-contact-section .contact-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    align-items: flex-start;
  }
  .dedicated-contact-section .contact-image {
    width: 100%;
    margin-left: -1rem;
  }
  .dedicated-contact-section .contact-info {
    margin-right: 0%;
    padding: 0 1.5rem;
    width: 100%;
  }

  .dedicated-contact-section .hover-button {
    font-size: 18px;
    padding: 1rem 6rem 1rem 3rem;
  }

  .dedicated-contact-section .hover-button__circle {
    right: 1.4rem;
  }

  .dedicated-contact-section .hover-button:hover .hover-button__background {
    width: 50px;
    height: 50px;
    left: calc(100% - 50px - 1rem);
    transform: translateY(-50%);
    top: 50%;
    border-radius: 50%;
  }
}

.download-section {
  max-width: 1200px;
  margin: 8rem auto 0;
  position: relative;
  border: 1px solid #000;
  border-radius: 20px;
  padding: 60px 40px 40px;
  background-color: #fff;
}

.documents-section-title {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: white;
  padding: 1% 4%;
  border-radius: 30px;
  font-size: var(--font-lg);
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  letter-spacing: 0.15rem;
}

.documents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
}

.document-item:nth-child(1)::after,
.document-item:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 30px solid var(--link-color);
  z-index: 1;
}

.document-item {
  text-align: center;
  padding: 20px 30px;
  position: relative;
}

.document-number {
  font-size: 40px;
  font-weight: 500;
  color: var(--link-color);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.document-number::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--link-color);
}

.document-title {
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1rem;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 7px 4px 20px;
  border: 2px solid var(--link-color);
  border-radius: 30px;
  background-color: #fff;
  color: var(--link-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 120px;
}

.download-button:hover {
  background: var(--link-color);
  color: white;
}

.download-icon {
  width: 40px;
  height: 40px;
  background: var(--link-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  margin-left: 24px;
}

.download-button:hover .download-icon {
  background: white;
  color: var(--link-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .documents-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .document-item:nth-child(1)::after,
  .document-item:nth-child(2)::after {
    display: none;
  }

  /* モバイル用の下向き三角形 */
  .document-item:nth-child(1)::before,
  .document-item:nth-child(2)::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--link-color);
    z-index: 1;
  }
  .document-item {
    padding: 0 0 35px;
  }
  .document-title-number {
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
  }

  .document-number {
    font-size: 18px;
    margin-bottom: 0.2rem;
  }

  .document-number::after {
    display: none;
  }

  .document-title {
    font-size: 24px;
    margin-bottom: 0rem;
    text-align: center;
  }
  .pdf-icon {
    width: 50px;
    margin: 0 auto 2rem;
  }
  .document-item:last-child {
    border-bottom: none;
    padding-bottom: 20px;
  }

  .download-section {
    padding: 60px 40px 30px;
    max-width: 300px;
  }

  .documents-section-title {
    font-size: 16px;
    padding: 12px 30px;
  }

  .download-button {
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: auto;
    max-width: 600px;
  }
}
/* Recruitment Guidelines Section */
.partner-section {
  padding: 0 8rem 8rem;
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
}

.partner-section .section-title-discription {
  width: 50%;
  margin: -3rem 5% 5rem 40%;
}
.partner-section .guidelines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin: 3rem auto 0 auto;
}

.partner-section .guideline-card {
  background: white;
  border: 1px solid #000;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.partner-section .guideline-icon {
  width: 80%;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}
.partner-section .guideline-icon img {
  margin: 0 auto;
  height: 100px;
}
.partner-section .guideline-icon-h4 {
  text-align: center;
  font-size: var(--font-lg);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.partner-section .h4-title-sub {
  display: block;
  font-size: var(--font-base);
}
.partner-section .guideline-card p {
  font-size: var(--font-base);
  text-align: start;
  margin-bottom: 2.5rem;
}
.partner-section .course_button {
  background-color: #000;
  width: 280px;
  font-size: var(--font-base);
  padding: 0.7rem 1.5rem 0.7rem 2rem;
}
.partner-section .course_button::after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url("/assets/img/jump-link-icon.svg");
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .partner-section {
    padding: 2rem 0 6rem 0;
  }

  .partner-section .section-title-discription {
    width: 100%;
    margin: 0%;
  }

  .partner-section .guidelines-grid {
    grid-template-columns: 1fr;
  }
  .partner-section .guideline-card {
    padding: 2rem;
  }
  .partner-section .guide-card-number {
    font-size: 24px;
  }

  .partner-section .guideline-icon-h4 {
    margin-bottom: 1rem;
  }
  .partner-section .guideline-card p {
    text-align: start;
    line-height: 1.5;
  }
  .partner-section::after {
    bottom: -60px;
    left: 0px;
    width: 60px;
    height: 60px;
    mask: url("/assets/img/section-line-curve_sp.svg");
    mask-size: cover;
    -webkit-mask: url("/assets/img/section-line-curve_sp.svg") no-repeat;
    z-index: 1;
  }
  .partner-section::before {
    bottom: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    transform: rotate(180deg);
    mask: url("/assets/img/section-line-curve_sp.svg");
    z-index: 1;
  }
}

/*--動画--*/
.information-section {
  background: linear-gradient(to right, #f2f4f8, #d8e9f8);
  padding-bottom: 8rem;
}

.information-section .section-title-discription {
  margin-top: 0;
  margin-bottom: 3rem;
}
.video-container-wrapper {
  position: relative;
  width: 50%;
  margin: 0 auto;
}
.video-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 1rem;
}
.video-container-wrapper .video-container {
  aspect-ratio: 16/9;
  margin: 0 auto 5rem auto;
}

.video-container-wrapper:last-child .video-container {
  margin-bottom: 0;
}
.video-container iframe {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 767px) {
  .video-container-wrapper {
    width: 90%;
    margin: 0 auto;
  }
  .video-container {
    height: 0;
    padding-top: 56.25%;
    position: relative;
  }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
