/* =====================================
   基本設定
===================================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =====================================
   共通レイアウト
===================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 50px;
}
.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: #16a34a;
  margin: 14px auto 0;
}

/* =====================================
   ヘッダー
===================================== */
header {
  text-align: center;
  padding: 90px 20px;
}
header h1 {
  font-size: 30px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 10px;
}
header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 25px;
}

.cta-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 14px 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.cta-btn:hover { background: #128838; }

/* =====================================
   お悩み（Bootstrap row を使ってるので、ここは最低限でOK）
===================================== */
.feature-box {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
}
.pain-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* =====================================
   Before / After
===================================== */
.ba-section { background: #fafafa; }

/* 2列 × 2段（合計4枚）を想定 */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.ba-cell {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ★高さ固定をやめて “自然な比率” に（崩れにくい） */
.ba-img {
  width: 100%;
  height: auto;
}

/* タグ */
.ba-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
}
.ba-tag.before { background: #dc2626; }
.ba-tag.after  { background: #16a34a; }

.ba-note {
  max-width: 900px;
  margin: 25px auto 0;
  text-align: center;
  font-size: 16px;
  color: #555;
}

/* =====================================
   導入プロセス
===================================== */
.process-list {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
}
.process-list li { margin-bottom: 10px; }

/* =====================================
   料金
===================================== */
.price-box {
  max-width: 700px;
  margin: 0 auto;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 35px;
  text-align: center;
}
.price-box p {
  font-size: 18px;
  margin: 10px 0;
}

/* =====================================
   フッター
===================================== */
footer {
  background: #f1f5f9;
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
}

/* =====================================
   レスポンシブ
===================================== */
@media (max-width: 960px) {
  .ba-grid { grid-template-columns: 1fr; }
}




/* フッター内のリンクは主張しすぎない */
footer a {
  color: inherit;
  text-decoration: none;
}

/* ホバー時だけ、うっすらリンクと分かるようにする（任意） */
footer a:hover {
  text-decoration: underline;
}