@charset "UTF-8";
.sec_flow {
  position: relative;
}
.sec_flow::after {
  content: "";
  display: block;
  width: 100vw;
  height: 100%;
  background-image: none;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  transform: translateX(-50%);
}
@media (min-width: 768px) {
  .sec_flow::after {
    background-image: url("../images/flow//bg_pc.jpg");
  }
}
.sec_flow .step {
  margin-bottom: 30px;
}
.sec_flow .step:last-of-type::after {
  display: none;
}
.sec_flow .step .title {
  margin-bottom: 10px;
  padding: 0 0 0 30px;
  color: var(--yae-red);
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  position: relative;
}
@media (min-width: 768px) {
  .sec_flow .step .title {
    margin-bottom: 30px;
    padding: 0 0 0 44px;
    font-size: 30px;
  }
}
.sec_flow .step .title .step_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  width: 24px;
  height: 24px;
  line-height: 22px;
  border-radius: 50%;
  background: var(--yae-red);
  top: 1px;
  left: 0px;
  position: absolute;
}
@media (min-width: 768px) {
  .sec_flow .step .title .step_number {
    font-size: 21px;
    line-height: 30px;
    width: 32px;
    height: 32px;
    top: 5px;
  }
}
.sec_flow .step .headline {
  margin-bottom: 15px;
  color: var(--yae-red);
  font-size: 14px;
  line-height: 1.5714;
}
@media (min-width: 768px) {
  .sec_flow .step .headline {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.94;
  }
}
.sec_flow .step .image {
  width: 100%;
}
.sec_flow .step .image img {
  width: 100%;
}
.sec_flow .step .description {
  margin-top: 10px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.5714;
}
@media (min-width: 768px) {
  .sec_flow .step .description {
    margin: 0;
    font-size: 18px;
    line-height: 1.94;
  }
}

/* 768px以上の画面幅 (PC/タブレット) */
@media (min-width: 768px) {
  .step {
    /* Gridコンテナとして設定 */
    display: grid;
    /* 2つの列を定義: 左側30% (画像用), 右側1fr (残り全体) */
    grid-template-columns: calc(41.574% - 18px) 1fr;
    /* 行方向の要素間の隙間 (縦の隙間) */
    row-gap: 0;
    /* 列方向の要素間の隙間 (横の隙間) */
    column-gap: 36px;
  }
  .step:last-child {
    margin: 0;
  }
  /* * 1. 画像 (.rfs-image) の配置 */
  .image {
    /* 画像を1列目のエリアに配置 */
    grid-column: 1;
    /* 画像は常に左側のグリッドエリアの最も上の位置に配置 */
    grid-row: 1/span 4; /* rfs-step の全てのコンテンツ行をまたぐように設定 */
  }
  /* * 2. 右側の要素の配置 (縦に並べる) */
  .title {
    /* タイトルを2列目 (右側エリア) の1行目に配置 */
    grid-column: 2;
    grid-row: 1;
  }
  .headline {
    /* headlineを2列目 (右側エリア) の2行目に配置 */
    grid-column: 2;
    grid-row: 2;
  }
  .description {
    /* descriptionを2列目 (右側エリア) の3行目に配置 */
    grid-column: 2;
    grid-row: 3;
  }
  /* 注: HTMLの記述順は無視されますが、すべての要素を明示的に配置する必要があります。 */
}

/*# sourceMappingURL=style-p-flow.css.map */
