@charset "utf-8";

/* =========================
   First visit flow
========================= */

.section--flow{
  background: #fff;
}

.flow{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  gap: 14px;
}

.flow__item{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: start;

  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 18px 18px;

  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.flow__num{
  width: 56px;
  height: 56px;
  border-radius: 16px;

  display: grid;
  place-items: center;

  background: rgba(76,140,122,.10);
  color: var(--color-main);
  font-weight: 800;
  letter-spacing: .06em;
}

.flow__title{
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: .02em;
}

.flow__text{
  margin: 6px 0 0;
  color: rgba(51,51,51,.90);
  line-height: 1.8;
}

@media (max-width: 600px){
  .flow__item{
    grid-template-columns: 56px 1fr;
    padding: 16px 16px;
  }

  .flow__num{
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}


/* =========================
   Flow background image
========================= */

.section--flow{
  position: relative;
  overflow: hidden;

  /* 背景画像（ここで指定） */
  background: #fff;
}

/* 画像レイヤー */
.section--flow::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background-image: url("../../img/flow/flow-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 主張を抑える調整（ここが肝） */
opacity: .9;
filter: blur(2px) saturate(.9) brightness(1.05);

  transform: scale(1.06);
}

/* 白い霞（可読性の保険） */
.section--flow::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;

  background: linear-gradient(
    rgba(255,255,255,.94),
    rgba(255,255,255,.88)
  );
}

/* 中身を前面へ */
.section--flow > .container{
  position: relative;
  z-index: 2;
}


/* 01のみ少し余白を増やす */
.flow__item--cta .flow__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ボタン横並び */
.flow__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 小さめボタン */
.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 999px;
}
