/* =========================
   Service Detail（全体）
========================= */
.service-detail {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(#f9fafc, #ffffff);
}

/* =========================
   リード
========================= */
.service-detail__lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 70px;
  color: #333;
}

/* =========================
   本文（基準）
========================= */
.service-detail__content {
  position: relative;
  z-index: 2;

  max-width: 800px;
  margin: 0 auto 100px;

  font-size: 16px;
  line-height: 1.9;
  color: #222;
}

/* 見出し */
.service-detail__content h2 {
  font-size: 22px;
  color: #0f2745;
  margin-bottom: 12px;
}

.service-detail__content h3 {
  font-size: 18px;
  margin-top: 24px;
}

/* =========================
   背景画像
========================= */
.service-detail__visual {
  position: absolute;
  right: -80px;
  bottom: -100px; /* ← 修正（やりすぎ防止） */

  width: 100%;
  max-width: 500px;

  z-index: 1;
  pointer-events: none;
}

/* 本体 */
.service-detail__visual img {
  width: 100%;
  opacity: 0.15;
  filter: blur(1px);
  transform: translate(30%, 30%);
  display: block;
}

/* =========================
   鏡面反射
========================= */
.service-detail__visual .reflection {
  position: absolute;
  top: 100%;
  left: 0;

  width: 100%;

  transform: translate(30%, 30%) scaleY(-1);

  opacity: 0.10;
  filter: blur(2px);

  mask-image: linear-gradient(
    to top,
    rgba(0,0,0,0.4),
    rgba(0,0,0,0)
  );
}

/* =========================
   フロー
========================= */
.service-flow {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

/* カード */
.service-card {
  flex: 1;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,39,69,0.08);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

/* ラベル */
.service-card__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #d4af37;
  margin-bottom: 8px;
}

/* 見出し */
.service-card h3 {
  font-size: 18px;
  color: #0f2745;
  margin-bottom: 12px;
}

/* テキスト */
.service-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ライン */
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 3px;
  height: 40px;
  background: linear-gradient(#d4af37, #f5e6b3);
}

/* 光 */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(212,175,55,0.15),
    transparent
  );
  opacity: 0;
  transition: 0.4s;
}

/* hover */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: rgba(212,175,55,0.4);
}

.service-card:hover::after {
  opacity: 1;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 768px) {

  .service-flow {
    flex-direction: column;
  }

  .service-detail__visual {
    right: -40px;
    bottom: -80px;
    width: 70%;
  }

}
