/* 分野別サービスページ */
.service-detail-page { padding-bottom: 0; background: #fff; }.detail-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; font-size: 12px; color: #505763; }
.detail-breadcrumb li + li::before { content: '/'; color: #8c9199; margin-right: 8px; }
.detail-breadcrumb a { text-underline-offset: 3px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) 38%; align-items: center; gap: 48px; padding: 24px 0 56px; }
.detail-hero__label { color: #965b00; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.detail-hero h1 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.5; letter-spacing: -.035em; }
.detail-hero__lead { margin-top: 18px; max-width: 560px; color: #505763; font-size: 16px; line-height: 1.9; }
.detail-hero img { width: 100%; height: auto; border-radius: 12px; }
.detail-services { background: #faf7f2; padding: 64px 0; }
.detail-services h2, .detail-other h2 { font-size: 26px; line-height: 1.5; margin-bottom: 24px; }
.detail-jumps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 28px; font-size: 14px; }
.detail-jumps a { text-underline-offset: 4px; padding: 4px 0; }
.detail-jumps a::after { content: ' ↓'; color: #965b00; }
.detail-list { display: grid; gap: 16px; }
.detail-item { display: grid; grid-template-columns: 32% minmax(0, 1fr); gap: 28px; padding: 28px 32px; border: 1px solid #e3dfd8; border-radius: 10px; background: #fff; scroll-margin-top: 28px; }
.detail-item h3 { font-size: 22px; line-height: 1.6; }
.detail-item__lead { font-size: 14px; font-weight: 700; color: #965b00; margin-top: 8px; }
.detail-item__text { font-size: 15px; line-height: 1.95; color: #505763; }
.detail-item__contact { display: inline-flex; gap: 16px; padding: 8px 0; margin-top: 12px; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.detail-consult { padding: 44px 0 0; }
.detail-consult h2 { font-size: 23px; margin-bottom: 10px; }
.detail-consult p { color: #505763; font-size: 15px; }
.detail-consult a { display: inline-flex; gap: 32px; align-items: center; min-height: 48px; background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 4px; margin-top: 20px; text-decoration: none; font-weight: 700; }
.detail-other { padding: 56px 0; }
.detail-other__links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.detail-other a { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.detail-other a::after { content: '→'; color: #965b00; }
.detail-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 13px; }
.detail-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.service-detail-page a:focus-visible { outline: 3px solid #16658f; outline-offset: 4px; }
@media (max-width: 768px) {  .detail-hero { grid-template-columns: 1fr; gap: 24px; padding: 16px 0 40px; }
  .detail-hero img { max-width: 400px; }
  .detail-hero__lead { font-size: 15px; }
  .detail-services { padding: 40px 0; }
  .detail-item { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .detail-item h3 { font-size: 21px; }
  .detail-other__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {  .detail-other__links { grid-template-columns: 1fr; }
}


/* Lucide: service heading icons. License: img/icons/lucide/LICENSE.txt */
.detail-item__title { display: flex; align-items: center; gap: 12px; }
.detail-item__title h3 { min-width: 0; overflow-wrap: anywhere; }
.detail-item__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; background: transparent; }
.detail-item__icon img { display: block; width: 28px; height: 28px; max-width: none; }
.detail-item__summary .detail-item__lead { margin-top: 12px; }
@media (max-width: 768px) {
  .detail-item__icon { flex-basis: 44px; width: 44px; height: 44px; }
  .detail-item__icon img { width: 26px; height: 26px; }
}
