@charset "utf-8";
/* CSS Document */
/* =========
   Before / After Flow（新方式）
   ========= */
.ba-flow {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 1rem;
  max-width: 100%;
  background-color: #f7f7f7;
}
.ba-flow__item {
  position: relative;
  width: 280px;
  max-width: 100%;
}
/* ラベル */
.ba-flow__label {
  font-weight: 600;
  font-size: 0.9rem !important;
  width: 250px;
  max-width: 100%;
  margin: 0 auto 10px;
  padding: 10px;
  text-align: center;
  background-color: #6a9925;
  color: #fff;
  border: 2px solid #6a9925;
  border-radius: 5px;
  line-height: 1.3;
}
/* 矢印（最後以外） */
.ba-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  width: 25px;
  height: 25px;
  background: url("../images/arrow.webp") no-repeat center / contain;
  transform: translateY(-50%);
}
/* 画像 */
.ba-flow__item img {
  display: block;
  width: 250px;
  max-width: 100%;
  border: 1px solid #f5f5f5;
  margin: auto;
  aspect-ratio: 49/80;
}
/* SP対応 */
@media (max-width: 768px) {
  .ba-flow {
    flex-wrap: wrap;
  }
  .ba-flow__item {
    width: 100%;
  }
  /* 矢印を下向きにする */
  .ba-flow__item:not(:last-child)::after {
    top: auto;
    bottom: -35px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(90deg);
  }
}
.ba-flow-wrapper {
  background-color: #f7f7f7;
  margin: 2rem auto;
  padding: 20px;
}
.ba-flow-wrapper .attension {
  font-size: 0.8rem !important;
}