/* ===================================================
   personal-services.css
   個人向けサービス 下層ページ（追加分）
   corporate-services.css を読み込んだうえで使用
   =================================================== */

/* ---------- 個人ページ タブ切り替え ---------- */
#tab-kitchen:checked ~ .tabs__labels label[for="tab-kitchen"],
#tab-bath:checked ~ .tabs__labels label[for="tab-bath"],
#tab-toilet:checked ~ .tabs__labels label[for="tab-toilet"],
#tab-vanity:checked ~ .tabs__labels label[for="tab-vanity"] {
  background: #1547c3;
  color: #fff;
  border-color: #1547c3;
}

#tab-kitchen:checked ~ .tabs__panels .tabs__panel--kitchen,
#tab-bath:checked ~ .tabs__panels .tabs__panel--bath,
#tab-toilet:checked ~ .tabs__panels .tabs__panel--toilet,
#tab-vanity:checked ~ .tabs__panels .tabs__panel--vanity {
  display: block;
}

/* =============================================
   リフォームの流れ
   ============================================= */
.flow {
  background: #dce3f2;
  padding: 76px 0 84px;
}

.flow__container {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
}

.flow__header {
  margin-bottom: 40px;
}

.flow__eyebrow {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #4568ac;
  font-weight: 700;
}

.flow__title {
  margin: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 46px;
  color: #0f43c0;
}

.flow__lead {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #23417f;
}

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* 縦のライン */
.flow__steps::before {
  content: "";
  position: absolute;
  top: 0;
  left: 23px;
  width: 2px;
  height: 100%;
  background: #c5d3eb;
}

.flow__step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.flow__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f43c0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.flow__step-body {
  background: #fff;
  border: 1px solid #c5d3eb;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 18px rgba(16, 54, 126, 0.06);
  flex: 1;
  margin-bottom: 20px;
}

.flow__step:last-child .flow__step-body {
  margin-bottom: 0;
}

.flow__step-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f43c0;
}

.flow__step-text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 700;
  color: #333;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 767px) {
  .flow {
    padding: 52px 0 64px;
  }

  .flow__container {
    width: calc(100% - 24px);
  }

  .flow__title {
    font-size: 28px;
    line-height: 1.45;
  }

  .flow__lead {
    font-size: 15px;
  }

  .flow__steps::before {
    left: 19px;
  }

  .flow__num {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .flow__step {
    gap: 16px;
  }

  .flow__step-body {
    padding: 18px 16px;
    margin-bottom: 14px;
  }

  .flow__step-title {
    font-size: 17px;
  }

  .flow__step-text {
    font-size: 14px;
  }
}
