/* sub0501 - 相談・予約のご案内／特典 */

/* 特典：無料診断サービス */
.sub0501-benefit {
  width: 100%;
  background-color: #f5fafe;
  border-radius: 40px 40px 0 0;
  padding: 56px 0 64px;
}

.sub0501-benefit__inner {
  box-sizing: border-box;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.sub0501-benefit__heading {
  margin: 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #333333;
}

.sub0501-benefit__lead {
  margin: 16px 0 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: #555555;
}

/* 이용 흐름 카드 */
.sub0501-steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sub0501-step {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #eaf1f8;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(8, 101, 198, 0.04);
  padding: 24px;
}

.sub0501-step__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sub0501-step__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 9999px;
  background-color: #f5fafe;
  color: #0865c6;
}

.sub0501-step__icon svg {
  width: 54px;
  height: 54px;
}

.sub0501-step__title {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #0865c6;
}

.sub0501-step__note {
  margin: 4px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #333333;
}

.sub0501-step__body {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e2e2;
}

.sub0501-step__body p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #333333;
}

.sub0501-step__body strong {
  font-weight: 700;
  color: #333333;
}

/* 모바일에서는 강제 줄바꿈을 해제하고 자연스럽게 흐르도록 한다 */
.sub0501-step__body br,
.sub0501-benefit__outro br {
  display: none;
}

/* 하단 안내 문구 */
.sub0501-benefit__outro {
  margin: 36px 0 0;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: #333333;
}

.sub0501-benefit__outro p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
}

.sub0501-benefit__outro-strong {
  font-weight: 700;
}

@media (min-width: 768px) {
  .sub0501-benefit {
    border-radius: 70px 70px 0 0;
    padding: 88px 0 90px;
  }

  .sub0501-benefit__inner {
    padding: 0 30px;
  }

  .sub0501-benefit__heading {
    font-size: 36px;
  }

  .sub0501-benefit__lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .sub0501-steps {
    margin-top: 52px;
    gap: 20px;
  }

  .sub0501-step {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    align-items: stretch;
    padding: 20px 32px;
  }

  .sub0501-step__head {
    gap: 22px;
    padding: 18px 24px 18px 0;
  }

  .sub0501-step__icon {
    width: 120px;
    height: 120px;
  }

  .sub0501-step__icon svg {
    width: 76px;
    height: 76px;
  }

  .sub0501-step__title {
    font-size: 28px;
  }

  .sub0501-step__note {
    font-size: 15px;
  }

  .sub0501-step__body {
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 18px 0 18px 28px;
    border-top: 0;
    border-left: 1px solid #e2e2e2;
  }

  .sub0501-step__body p {
    font-size: 16px;
    line-height: 1.95;
  }

  .sub0501-step__body br,
  .sub0501-benefit__outro br {
    display: inline;
  }

  .sub0501-benefit__outro {
    margin-top: 48px;
  }

  .sub0501-benefit__outro p {
    font-size: 17px;
    line-height: 2;
  }
}

@media (min-width: 1280px) {
  .sub0501-benefit {
    border-radius: 110px 110px 0 0;
    padding: 130px 0 80px;
  }

  .sub0501-benefit__heading {
    font-size: 52px;
  }

  .sub0501-benefit__lead {
    margin-top: 28px;
    font-size: 24px;
  }

  .sub0501-steps {
    margin-top: 60px;
  }

  .sub0501-step {
    padding: 20px 40px;
  }

  .sub0501-step__head {
    gap: 30px;
    padding: 22px 30px 22px 0;
  }

  .sub0501-step__icon {
    width: 172px;
    height: 172px;
  }

  .sub0501-step__icon svg {
    width: 108px;
    height: 108px;
  }

  .sub0501-step__title {
    font-size: 37px;
  }

  .sub0501-step__note {
    margin-top: 8px;
    font-size: 18px;
  }

  .sub0501-step__body {
    padding: 22px 0 22px 40px;
  }

  .sub0501-step__body p {
    font-size: 21px;
    line-height: 1.9;
  }

  .sub0501-benefit__outro {
    margin-top: 56px;
  }

  .sub0501-benefit__outro p {
    font-size: 22px;
    line-height: 2.05;
  }
}
