@charset "utf-8";
/* ===== お悩み別ページ共通（水漏れ・排水のつまり・各種取り換え） ===== */

.tb-section {
  margin: 0 auto;
  max-width: 1000px;
  padding: 60px 20px 0;
}
.tb-section h2 {
  border-left: 5px solid #52b096;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 28px;
  padding-left: 14px;
}

/* 写真＋リード文 */
.tb-lead {
  align-items: center;
  display: flex;
  gap: 40px;
}
.tb-lead figure {
  flex: 0 0 45%;
  margin: 0;
}
.tb-lead figure img {
  border-radius: 16px;
  display: block;
  height: auto;
  width: 100%;
}
.tb-lead p {
  font-size: 16px;
  line-height: 2;
  margin: 0;
}

/* こんなお悩みありませんか */
.tb-check {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 60, 120, 0.1);
  list-style: none;
  margin: 0;
  padding: 28px 32px;
}
.tb-check li {
  border-bottom: 1px dashed #cfd8dc;
  font-size: 16px;
  line-height: 1.7;
  padding: 12px 0 12px 32px;
  position: relative;
}
.tb-check li:last-child {
  border-bottom: none;
}
.tb-check li::before {
  color: #52b096;
  content: "✔";
  font-weight: bold;
  left: 4px;
  position: absolute;
}

/* 対応内容カード */
.tb-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.tb-cards li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 60, 120, 0.1);
  padding: 24px;
}
.tb-cards h3 {
  color: #52b096;
  font-size: 18px;
  margin: 0 0 10px;
}
.tb-cards p {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* 対応の流れ */
.tb-flow {
  counter-reset: tbstep;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.tb-flow li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 60, 120, 0.1);
  font-size: 15px;
  line-height: 1.7;
  padding: 24px 18px 20px;
  position: relative;
  text-align: center;
}
.tb-flow li::before {
  background: #52b096;
  border-radius: 50%;
  color: #fff;
  content: counter(tbstep);
  counter-increment: tbstep;
  display: block;
  font-weight: bold;
  height: 32px;
  line-height: 32px;
  margin: 0 auto 10px;
  width: 32px;
}
.tb-flow-note {
  font-size: 14px;
  margin-top: 16px;
  text-align: right;
}
.tb-flow-note a {
  color: #1d3a8a;
}

/* ほかのお悩みページへ */
.tb-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tb-links a {
  background: #fff;
  border: 2px solid #52b096;
  border-radius: 60px;
  color: #52b096;
  display: block;
  font-weight: bold;
  padding: 12px 28px;
  text-decoration: none;
}
.tb-links a:hover {
  background: #52b096;
  color: #fff;
}

/* ページ下の余白 */
.tb-bottom {
  height: 60px;
}

/* スマホ */
@media screen and (max-width: 600px) {
  .tb-section {
    padding: 40px 16px 0;
  }
  .tb-section h2 {
    font-size: 21px;
  }
  .tb-lead {
    display: block;
  }
  .tb-lead figure {
    margin-bottom: 20px;
  }
  .tb-cards,
  .tb-flow {
    grid-template-columns: 1fr;
  }
  .tb-links {
    flex-direction: column;
  }
  .tb-flow-note {
    text-align: left;
  }
}