/* =============================================================
   For Company / For Candidate  CSS  (image‑based, BEM aligned)
   ----------------------------------------------------------------
   ▸ 既存 base.css / layout.css / public.css の上に読み込む想定
   ▸ 画像アセットを必ず使用（CSS での図形生成は行わない）
   ▸ 現行 HTML に合わせ、hero__box など存在しないクラスを除去
   =============================================================*/

/* ----------------------------
   1. Hero Section
-----------------------------*/
#fv_child {
  padding: 150px 0;
}
.hero {
  padding-block: 6rem;
}
/* HTML に <div class="hero__wrapper">… がある想定 */
.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero__content h2 {
  margin-bottom: 50px;
  font-size: 64px;
}
.hero__content h4 {
  font-size: 24px;
  margin-bottom: 30px;
}
@media (max-width: 480px) {
  .hero__wrapper {
    grid-template-columns: 1fr;
  }
  .hero__image {
    order: 1; /* 画像を先頭に */
  }
  #fv_child {
    padding: 0;
    padding-top: 50px;
    padding-bottom: 50px;
    }
  .hero__content h2 {
    margin-bottom: 50px;
    font-size: 40px;
}
.hero__content h4 {
    margin-bottom: 25px;
}
}
/* ----------------------------
   2. About / Donut Chart Section
-----------------------------*/
#about {
  padding-bottom: 150px;
}
/* <div class="about__wrapper">… の想定 */
.about__wrapper {
  display: grid;
  grid-template-columns: minmax(450px, 300px) 1fr;
  gap: 3rem;
  align-items: center;
}
.about__graph {
  width: 100%;
  height: auto;
}
.about__item-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.about__item-sub {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
@media (max-width: 480px) {
  #about {
    padding-bottom: 70px;
  } 
  .about__wrapper {
        grid-template-columns: 1fr;
    }
  .about__graph {
    order: 1;
  }
  .about__item-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 1rem;
}
.about__item-sub {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
}
/* ----------------------------
   3. Reason Section
-----------------------------*/
#reason {
  padding-block: 8rem;
  background-image: url('../img/forCompany_img/reason_bg.png');
  text-align: center;
}
#reason .section-title__image {
  width: 860px;
  max-width: 100%;
}
.reason-cards {
  display: grid;
  gap: 3rem;
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 4rem;
}
.reason-card {
  padding: 2rem;
  border-radius: 0.75rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}
.reason-card:nth-child(2) {
  flex-direction: row-reverse;
}
.reason-card__image {
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
}
.reason-card__body {
  max-width: 500px;
  color: #fff;
  text-align: left;
}
.reason-card__body h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.reason-card__body p {
  line-height: 1.8;
}

@media (max-width: 480px) {
  #reason {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .reason-cards {
    display: grid;
    gap: 3rem;
    max-width: 1000px;
    margin-inline: auto;
    margin-top: 0rem;
}
  .reason-card {
      padding: 0;
      border-radius: 0;
      display: flex;
      justify-content: space-around;
      gap: 1rem;
      flex-direction: column;
  }
  .reason-card__image {
    max-width: 100%;
  }
  .reason-card:nth-child(2) {
  flex-direction: column;
}
  .reason-card__body h3 {
    font-size: 24px;
}
}
/* ----------------------------
   4. Flow / Process Section
-----------------------------*/
#process {
  padding-top: 150px;
  padding-bottom: 150px;
  background-color: #F5F5F5;
}
#process .section-title__image {
  width: 480px;
  max-width: 100%;
}
.process__list {
    width: 950px;
    margin: 0 auto;
    max-width: 100%;
}
.process-cards {
  display: grid;
  gap: 3rem;
}
.process-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.process-card__image{
  width: 150px;
  max-width: 100%;
}
.process-card__body {
    height: 170px;
    background-color: #fff;
    padding: 40px 30px;
}
@media (max-width: 480px) {
  #process {
    padding-top: 70px;
    padding-bottom: 70px;
}
.process-card {
        flex-direction: row;
        gap: 0;
    }
.process-card__image{
  width: 75px;
  height: auto;
  max-width: 100%;
}
.process-card__body {
  background-color: #fff;
  padding: 10px;
  height: 232px;
  overflow: scroll;
}
.process-card h3 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 24px;
}
.process-card p {
  line-height: 1.7;
}
}

/* ----------------------------
   5. Utilities
-----------------------------*/
.u-mb-120 { margin-bottom: 120px; }
