.page-guide-step3 .site-main {
  background: #f5f5f5;
}

.page-guide-step3 .guide-accent-orange {
  --guide-step-color: var(--color-primary);
}

.page-guide-step3 .guide-accent-red {
  --guide-step-color: var(--guide-red);
}

.page-guide-step3 .guide-accent-blue {
  --guide-step-color: #3458b7;
}

.page-guide-step3 .guide-accent-green {
  --guide-step-color: #219653;
}

.page-guide-step3 .guide-hero {
  padding: 72px 24px 170px;
  overflow: hidden;
  background: none;
}

.guide-step3-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.guide-step3-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-guide-step3 .guide-hero::after {
  right: 0;
  left: 0;
  height: 110px;
  border-radius: 0;
  background: url("../../img/guide/curve_pc.svg") center bottom / 100% 100% no-repeat;
}

.page-guide-step3 .guide-step-label {
  margin-bottom: 18px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.page-guide-step3 .guide-step-label::after {
  content: "";
  display: block;
  width: 160px;
  margin: 18px auto 0;
  border-top: 1px dashed currentColor;
}

.page-guide-step3 .guide-hero__title {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.9;
}

.page-guide-step3 .guide-section {
  padding: 0 24px 94px;
  background: #f5f5f5;
}

.page-guide-step3 .guide-section__inner {
  width: min(940px, 100%);
}

.guide-job-card {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 68px 52px 56px;
  border-radius: 60px;
  background: #fff;
  box-shadow:
    20px 20px 30px rgba(0, 0, 0, 0.1),
    -20px -20px 20px rgba(255, 255, 255, 0.3);
  text-align: center;
}

.guide-job-card__illust {
  display: block;
  width: 200px;
  height: auto;
  margin: -112px auto 28px;
}

.guide-job-card .guide-heading-en {
  margin-bottom: 16px;
  color: var(--guide-step-color, var(--color-primary));
  font-size: 15px;
}

.guide-job-card h2 {
  margin: 0 0 26px;
  padding-bottom: 24px;
  border-bottom: 1px dashed #777;
  color: #565656;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.45;
  transform: scaleY(1.2);
}

.guide-job-list {
  display: grid;
  gap: 18px;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.guide-job-list li {
  position: relative;
  padding-left: 22px;
  color: #565656;
  font-size: 16px;
  line-height: 1.7;
}

.guide-job-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--guide-step-color, var(--color-primary));
}

.guide-step3-divider {
  width: min(760px, 100%);
  margin: 72px auto 48px;
  border: 0;
  border-top: 1px dashed #777;
}

.guide-step3-message {
  margin-bottom: 54px;
  text-align: center;
}

.guide-step3-message__bubble {
  display: block;
  width: min(430px, 100%);
  height: auto;
  margin: 0 auto 24px;
}

.guide-step3-message__illust {
  display: block;
  width: min(310px, 78%);
  height: auto;
  margin: 0 auto 30px;
}

.page-guide-step3 .guide-text {
  width: min(620px, 100%);
  margin-bottom: 0;
  color: #676767;
  font-size: 16px;
  line-height: 2.3;
}

.page-guide-step3 .guide-text p {
  margin: 0;
}

.page-guide-step3 .guide-button {
  font-size: 15px;
}

.page-guide-step3 .guide-button--job {
  font-size: 13px;
}

.page-guide-step3 .guide-button + .guide-button {
  margin-top: 18px;
}

.page-guide-step3 .guide-button-group .guide-button + .guide-button {
  margin-top: 0;
}

@media (min-width: 768px) {
  .page-guide-step3 .guide-hero {
    padding: 72px 24px 150px;
  }

  .page-guide-step3 .guide-section {
    padding-bottom: 120px;
  }

  .page-guide-step3 .guide-section__inner {
    width: min(980px, 100%);
  }

  .guide-job-card {
    width: min(650px, 100%);
    padding: 66px 30px 58px;
    border-radius: 54px;
  }

  .guide-job-card__illust {
    margin-top: -122px;
    margin-bottom: 24px;
  }

  .guide-job-card .guide-heading-en {
    margin-bottom: 5px;
    font-size: 13px;
  }

  .guide-job-card h2 {
    margin-bottom: 28px;
    padding-bottom: 24px;
    font-size: 26px;
  }

  .guide-job-list {
    grid-template-columns: repeat(2, max-content);
    gap: 10px 46px;
  }

  .guide-job-list li {
    font-size: 13px;
    line-height: 1.7;
  }

  .guide-step3-divider {
    width: min(880px, 100%);
    margin: 88px auto 76px;
  }

  .guide-step3-message {
    margin-bottom: 70px;
  }

  .guide-step3-message__bubble {
    width: min(330px, 100%);
    margin-bottom: 28px;
  }

  .guide-step3-message__illust {
    width: min(360px, 78%);
    margin-bottom: 46px;
  }

  .page-guide-step3 .guide-text {
    width: min(680px, 100%);
    font-size: 15px;
    line-height: 2.35;
  }

  .page-guide-step3 .guide-button + .guide-button {
    margin-top: 16px;
  }

  .page-guide-step3 .guide-button-group .guide-button + .guide-button {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .page-guide-step3 .guide-hero {
    padding: 36px 24px 84px;
  }

  .page-guide-step3 .guide-hero::after {
    height: 50px;
    background-image: url("../../img/guide/curve.svg");
  }

  .page-guide-step3 .guide-step-label {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .page-guide-step3 .guide-step-label::after {
    width: 118px;
    margin-top: 14px;
  }

  .page-guide-step3 .guide-hero__title {
    font-size: 22px;
    line-height: 1.85;
  }

  .page-guide-step3 .guide-section {
    padding: 42px 24px 80px;
  }

  .guide-job-card {
    padding: 38px 20px 44px;
    border-radius: 42px;
  }

  .guide-job-card__illust {
    width: 130px;
    margin: -78px auto 16px;
  }

  .guide-job-card .guide-heading-en {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .guide-job-card h2 {
    margin-bottom: 22px;
    padding-bottom: 20px;
    font-size: 20px;
  }

  .guide-job-list {
    gap: 13px;
  }

  .guide-job-list li {
    padding-left: 18px;
    font-size: 13px;
    line-height: 1.75;
  }

  .guide-job-list li::before {
    width: 7px;
    height: 7px;
  }

  .guide-step3-divider {
    margin: 56px auto 42px;
  }

  .guide-step3-message {
    margin-bottom: 44px;
  }

  .guide-step3-message__bubble {
    width: min(304px, 100%);
    margin-bottom: 24px;
  }

  .guide-step3-message__illust {
    width: min(238px, 78%);
    margin-bottom: 28px;
  }

  .page-guide-step3 .guide-text {
    font-size: 13px;
    line-height: 2.25;
  }

  .page-guide-step3 .guide-button + .guide-button {
    margin-top: 16px;
  }
}
