:root {
  --color-primary: #d7003a;
  --color-text: #333333;
  --color-bg-light: #f7f7f7;
  --font-base: "Noto Sans JP", sans-serif;
}
.page-container {
  margin: 0;
  padding: 0;
}
.section {
  padding: 80px 40px;
  position: relative;
  background: none;
  margin-bottom: 0;
  border-radius: 0;
  border-top: 1px solid #e0e0e0;
}
.section-intro {
  border-top: none;
  text-align: center;
}

h3 {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-primary);
}

/* キャリア登録とは */
.section-intro h2 {
  color: var(--color-text);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 30px;
}
.section-intro p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s;
  position: relative;
  padding-right: 60px;
  box-shadow: 0 4px 15px rgba(217, 0, 108, 0.3);
}
.cta-button::after {
  content: "→";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s;
}
.cta-button:hover {
  opacity: 0.85;
  box-shadow: 0 6px 20px rgba(217, 0, 108, 0.4);
  transform: translateY(-2px);
}
.cta-button:hover::after {
  right: 20px;
}

/* こんな方におすすめ */
.section-recommend {
  padding-bottom: 0;
}
.section-recommend h3 {
  color: var(--color-primary);
  margin-bottom: 15px;
}
.recommend-subtitle {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 50px;
}

.recommend-content-wrapper {
  position: relative;
  max-width: 900px;
  height: 480px;
  margin: 0 auto;
  display: block;
}
.person-image-space {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
}
.person-image-space::before {
  content: "";
}
.person-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.person-image-space:has(.person-image)::before {
  display: none;
}

/* ★ 吹き出しのスタイル */
.speech-bubble {
  background-color: #fff;
  border: none;
  border-radius: 10px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  position: absolute;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  width: 280px;
  text-align: center;
  line-height: 1.6;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 113px;
}

.speech-bubble::after,
.speech-bubble::before {
  content: "";
  position: absolute;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  z-index: 4;
}
.speech-bubble::after {
  width: 24px;
  height: 24px;
}
.speech-bubble::before {
  width: 15px;
  height: 15px;
}

/* 上段左 */
.speech-bubble-1 {
  top: 0;
  left: 100px;
}
.speech-bubble-1::after {
  bottom: -12px;
  right: 40px;
}
.speech-bubble-1::before {
  bottom: -30px;
  right: 20px;
}

/* 上段右 */
.speech-bubble-2 {
  top: 0;
  right: 100px;
}
.speech-bubble-2::after {
  bottom: -12px;
  left: 40px;
}
.speech-bubble-2::before {
  bottom: -30px;
  left: 20px;
}

/* 下段左 */
.speech-bubble-3 {
  bottom: 210px;
  left: 20px;
  transform: translateX(-100% - 10px);
  z-index: 1;
}
.speech-bubble-3::after {
  top: 102px;
  right: 80px;
}
.speech-bubble-3::before {
  top: 130px;
  right: 55px;
}

/* 下段右 */
.speech-bubble-4 {
  bottom: 210px;
  right: 20px;
  transform: translateX(10px);
  z-index: 1;
}
.speech-bubble-4::after {
  top: 102px;
  left: 80px;
}
.speech-bubble-4::before {
  top: 130px;
  left: 55px;
}

.recommend-footer {
  display: none;
}

/* 利用イメージ */
.section-steps {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 0 !important;
  background: none !important;
  border-top: 1px solid #e0e0e0 !important;
}
.section-steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 1;
  clip-path: polygon(0% 0%, 100% 15%, 100% 100%, 0% 85%);
}

.section-steps::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 15% 30%,
      rgba(255, 255, 255, 0.15) 200px,
      transparent 201px
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(255, 255, 255, 0.15) 150px,
      transparent 151px
    );

  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}
.section-steps .section-inner {
  position: relative;
  z-index: 2;
  padding: 100px 40px;
  max-width: 960px;
  margin: 0 auto;
}
.section-steps h3 {
  color: #ffffff;
}
.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
  gap: 20px;
}
.step-item {
  flex: 1;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.step-label {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
}
.step-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
.step-item p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.step-arrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  align-self: center;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  position: relative;
}
.step-arrow::after {
  content: "›";
  position: absolute;
  top: 37%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #fff;
  font-weight: 100;
}

/* CTA 注意事項 */
.section-footer-cta {
  background-color: #ffffff;
  padding: 60px 40px;
  position: static;
  overflow: visible;
  text-align: center;
  border-top: 1px solid #eee;
  border-radius: 0 0 16px 16px;
  margin-bottom: 0;
}
.section-footer-cta::before {
  display: none;
}
.section-footer-cta .cta-button {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 0, 108, 0.3);
}
.section-footer-cta .cta-button:hover {
  background-color: var(--color-primary);
  opacity: 0.85;
}
.notes {
  margin-top: 40px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.notes h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}
.notes p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* レスポンシブ */

@media screen and (max-width: 768px) {
  .page-container {
    margin-top: 0;
    margin-bottom: 0;
  }
  .section {
    padding: 50px 20px;
    border-radius: 0;
    margin-bottom: 0;
    border-top: 1px solid #eee;
  }
  .section-intro {
    border-top: none;
  }

  h3 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .section-intro h2 {
    font-size: 24px;
  }
  .section-intro p {
    padding: 0 10px;
  }

  /* おすすめ */
  .section-recommend {
    padding: 40px 20px;
    border-top: 1px solid #eee;
  }
  .recommend-subtitle {
    font-size: 16px;
  }
  .recommend-content-wrapper {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-bottom: 0;
  }
  .speech-bubble {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    font-size: 14px;
    border-radius: 10px;
    min-height: 100px;
  }
  .speech-bubble::after,
  .speech-bubble::before {
    display: none;
  }
  .speech-bubble-3,
  .speech-bubble-4 {
    bottom: auto;
    left: auto;
    transform: none;
    z-index: auto;
  }
  .person-image-space {
    display: none;
  }
  .person-image-space::before {
    display: none;
  }
  .person-image-space:has(.person-image)::before {
    display: none;
  }

  /* ステップ */
  .section-steps {
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }
  .section-steps .section-inner {
    padding: 60px 20px;
  }
  .section-steps::before {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .steps-container {
    flex-direction: column;
    gap: 15px;
    padding: 0;
  }
  .step-arrow {
    transform: rotate(90deg);
    margin: 10px auto;
  }

  /* できること */
  .merit-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .merit-icon {
    width: 80px;
    height: 80px;
  }
  .merit-item h4 {
    font-size: 14px;
  }

  /* フッターCTA */
  .section-footer-cta {
    padding: 50px 20px;
  }
}
