/* ====================================================
   service-detail.css  サービス詳細ページ（LP強化版）
   ==================================================== */

/* ── パンくず ── */
.svc-d-bread {
  background: var(--bs);
  border-bottom: 1px solid var(--bm);
  padding: 12px 0;
  font-size: 13px;
  color: var(--txm);
}
.svc-d-bread .si {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-d-bread a { color: var(--txm); text-decoration: none; }
.svc-d-bread a:hover { color: var(--or); text-decoration: underline; }
.svc-d-bread span[aria-hidden] { color: #bbb; }

/* ── ヒーロー ── */
.svc-d-hero {
  padding: 72px 0 64px;
  background: linear-gradient(135deg, #0e1a2b 0%, #1a2e4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-d-hero--elec { background: linear-gradient(135deg, #142535 0%, #1a3252 100%); }
.svc-d-hero--biz  { background: linear-gradient(135deg, #102030 0%, #18304a 100%); }
.svc-d-hero--plan { background: linear-gradient(135deg, #1a1530 0%, #28204e 100%); }

/* デコレーション円 */
.svc-d-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.svc-d-hero-deco::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px;
  right: -140px;
}
.svc-d-hero-deco::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(232,119,34,.10);
  bottom: -120px;
  left: -80px;
}

.svc-d-hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
}
.svc-d-hero-text { flex: 1; min-width: 0; }
.svc-d-hero-img {
  flex-shrink: 0;
  width: 260px;
}
.svc-d-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.4));
  animation: svc-float 4s ease-in-out infinite;
}
@keyframes svc-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.svc-d-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  padding: 4px 12px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.85);
}
.svc-d-title {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #fff;
}
.svc-d-lead {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin: 0 0 30px;
}

/* ヒーロー内ボタン */
.svc-d-hero-btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.svc-d-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--or);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(232,119,34,.4);
}
.svc-d-btn-hero-primary:hover {
  background: #d06514;
  transform: translateY(-2px);
}
.svc-d-btn-hero-tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.85);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 6px;
  padding: 11px 20px;
  transition: border-color .2s, color .2s;
  letter-spacing: .02em;
}
.svc-d-btn-hero-tel:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* ── コンタクトストリップ ── */
.svc-d-strip {
  background: #fff;
  border-bottom: 1px solid var(--bm);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  padding: 14px 0;
}
.svc-d-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.svc-d-strip-label {
  font-size: 13px;
  color: #555;
  margin: 0;
}
.svc-d-strip-label strong { color: var(--n); }
.svc-d-strip-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.svc-d-tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eef2ff;
  border: 1.5px solid var(--n);
  color: var(--n);
  font-size: 17px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 7px;
  text-decoration: none;
  letter-spacing: .03em;
  transition: background .2s;
}
.svc-d-tel-btn:hover { background: #dde5ff; }
.svc-d-web-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--or);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
}
.svc-d-web-btn:hover { background: #d06514; }

/* ── セクション共通 ── */
.svc-d-sec { padding: 64px 0; }
.svc-d-sec--alt { background: var(--bs); }

.svc-d-h2 {
  font-size: clamp(18px, 2.8vw, 23px);
  font-weight: 700;
  color: var(--n);
  margin: 0 0 32px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--or);
  display: inline-block;
}
.svc-d-text {
  font-size: 15px;
  line-height: 1.95;
  color: #333;
  max-width: 760px;
}

/* ── FAQグリッド ── */
.svc-d-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.svc-d-faq-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--bm);
  border-left: 4px solid var(--or);
  border-radius: var(--r2);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #333;
  transition: box-shadow .2s, transform .15s;
}
.svc-d-faq-item:hover {
  box-shadow: var(--s1);
  transform: translateY(-2px);
}
.svc-d-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #fff3e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  margin-top: -1px;
}
.svc-d-faq-text { padding-top: 4px; }
.svc-d-faq-note {
  font-size: 13px;
  color: #666;
  margin: 0;
  text-align: center;
}

/* ── 対応内容リスト ── */
.svc-d-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.svc-d-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bs);
  border-radius: var(--r2);
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  transition: box-shadow .2s, transform .15s;
}
.svc-d-items li:hover {
  box-shadow: var(--s1);
  transform: translateY(-1px);
}
.svc-d-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.svc-d-sec--alt .svc-d-items li { background: #fff; }

/* ── 作業の流れ（タイムライン型） ── */
.svc-d-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 680px;
}
.svc-d-flow-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.svc-d-flow-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}
.svc-d-flow-num {
  width: 40px;
  height: 40px;
  background: var(--n);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(14,26,43,.3);
}
.svc-d-flow-line {
  display: block;
  width: 2px;
  flex: 1;
  min-height: 20px;
  background: linear-gradient(to bottom, rgba(14,26,43,.5), rgba(14,26,43,.08));
  margin: 4px 0;
}
.svc-d-flow-body {
  flex: 1;
  padding: 4px 0 28px;
}
.svc-d-flow-item:last-child .svc-d-flow-body { padding-bottom: 0; }
.svc-d-flow-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--n);
  margin: 0 0 4px;
}
.svc-d-flow-desc {
  font-size: 14px;
  line-height: 1.75;
  color: #555;
  margin: 0;
}

/* ── 注意点ボックス ── */
.svc-d-notes {
  background: #fffaf5;
  border: 1px solid #f0d8b0;
  border-radius: var(--r3);
  padding: 24px 28px;
  max-width: 760px;
}
.svc-d-notes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-d-notes-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: #5a4a30;
}
.svc-d-notes-list li::before {
  content: '※';
  flex-shrink: 0;
  color: #c8882a;
  font-weight: 700;
  margin-top: 1px;
}
.svc-d-price-note {
  font-size: 13px;
  line-height: 1.7;
  color: #7a6540;
  border-top: 1px solid #f0d8b0;
  margin: 0;
  padding-top: 14px;
}

/* ── CTA ── */
.svc-d-cta {
  padding: 72px 0 96px;
  background: linear-gradient(135deg, #0b1622 0%, #162540 50%, #1e3050 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-d-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(232,119,34,.08);
  top: -100px;
  left: -100px;
  pointer-events: none;
}
.svc-d-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.svc-d-cta-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.svc-d-cta-text {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,.78);
  margin: 0 0 32px;
}

/* ホワイトカード */
.svc-d-cta-card {
  position: relative;
  background: #f8f5ef;
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  padding: 36px 48px 36px 220px;
  box-shadow: 0 8px 48px rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  min-height: 160px;
  overflow: visible;
  margin-bottom: 28px;
}
.svc-d-cta-char {
  position: absolute;
  bottom: 0;
  left: 16px;
  pointer-events: none;
}
.svc-d-cta-char img {
  width: 185px;
  height: auto;
  display: block;
}
.svc-d-cta-card-body { flex: 1; }
.svc-d-cta-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.svc-d-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--or);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 16px rgba(232,119,34,.4);
}
.svc-d-cta-primary:hover {
  background: #d06514;
  transform: translateY(-2px);
}
.svc-d-cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--n);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  transition: background .2s;
}
.svc-d-cta-tel:hover { background: #0d1e30; }
.svc-d-cta-tel span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.svc-d-cta-tel small {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  line-height: 1;
  margin-bottom: 3px;
}
.svc-d-cta-tel strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .04em;
}
.svc-d-cta-back a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.svc-d-cta-back a:hover { color: rgba(255,255,255,.85); }

/* ── タブレット ── */
@media (max-width: 1024px) {
  .svc-d-faq-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-d-items    { grid-template-columns: repeat(2, 1fr); }
}

/* ── モバイル ── */
@media (max-width: 768px) {
  .svc-d-hero         { padding: 48px 0 40px; }
  .svc-d-hero-inner   { flex-direction: column-reverse; gap: 24px; }
  .svc-d-hero-img     { width: 180px; align-self: center; }
  .svc-d-hero-btns    { gap: 10px; }
  .svc-d-btn-hero-tel { font-size: 14px; }

  .svc-d-strip-inner  { flex-direction: column; align-items: flex-start; }
  .svc-d-tel-btn      { font-size: 15px; }

  .svc-d-sec { padding: 44px 0; }
  .svc-d-cta { padding: 56px 0 72px; }

  .svc-d-faq-grid { grid-template-columns: 1fr; }
  .svc-d-items    { grid-template-columns: 1fr; }
  .svc-d-notes    { padding: 20px; }

  .svc-d-cta-card  { padding: 120px 24px 28px; min-height: auto; }
  .svc-d-cta-char  { bottom: auto; top: -16px; left: 50%; transform: translateX(-50%); }
  .svc-d-cta-char img { width: 110px; }
  .svc-d-cta-btns  { flex-direction: column; align-items: stretch; }
  .svc-d-cta-primary,
  .svc-d-cta-tel   { justify-content: center; }
  .svc-d-cta-tel span { align-items: center; text-align: center; }
}
