/* ============================================================
   service.css — 事業内容ページ固有スタイル
============================================================ */

/* ---- ページヒーロー ---- */
.page-hero {
  background: var(--bg);
  padding: calc(72px + clamp(64px, 10vw, 120px)) 0 clamp(64px, 8vw, 100px);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-muted);
}
.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 32px;
}
.page-hero__lead {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-sub);
  line-height: 1.85;
}
.page-hero__lead .pc-only {
  display: none;
}
@media (min-width: 1024px) {
  .page-hero__lead .pc-only {
    display: inline;
  }
}

/* ---- サービスセクション共通 ---- */
.service-section {
  padding: clamp(80px, 11vw, 160px) 0;
}
.service-section--dark {
  background: var(--bg);
}
.service-section--light {
  background: var(--bg-light);
}

/* ---- ビジュアル（写真） ---- */
.service-section__visual {
  width: 100%;
  height: 220px;
  border-radius: var(--r);
  overflow: hidden;
  margin: 28px 0;
}
.service-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.service-section__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .service-section__layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .service-section__layout--reverse {
    direction: rtl;
  }
  .service-section__layout--reverse > * {
    direction: ltr;
  }
}

/* ---- サービスヘッダー ---- */
.service-section__header {
  position: relative;
}
.service-section__num {
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(255,255,255,0.05);
  margin-bottom: -16px;
  display: block;
}
.service-section--light .service-section__num {
  color: rgba(0,15,30,0.05);
}
@media (min-width: 1024px) {
  .service-section__detail {
    padding-top: calc(clamp(80px, 14vw, 200px) * 0.85 - 16px + 36px);
  }
}
.service-section__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  border-left: 6px solid var(--accent);
  padding-left: 20px;
}
.service-section--dark .service-section__title {
  color: var(--text);
}
.service-section--light .service-section__title {
  color: var(--text-dark);
}
.service-section__lead {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
  margin-bottom: 40px;
}
.service-section--dark .service-section__lead {
  color: var(--text-sub);
}
.service-section--light .service-section__lead {
  color: var(--text-dark-sub);
}

/* ---- 提供内容リスト ---- */
.service-section__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid;
}
.service-section--dark .service-section__list {
  border-color: var(--border);
}
.service-section--light .service-section__list {
  border-color: var(--border-light);
}
.service-section__list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid;
  font-size: 14px;
  line-height: 1.7;
}
.service-section--dark .service-section__list-item {
  border-color: var(--border);
  color: var(--text-sub);
}
.service-section--light .service-section__list-item {
  border-color: var(--border-light);
  color: var(--text-dark-sub);
}
.service-section__list-item::before {
  content: '—';
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}
.service-section--dark .service-section__list-item::before {
  color: var(--accent);
}
.service-section--light .service-section__list-item::before {
  color: var(--text-dark);
}

/* ---- 課題ボックス ---- */
.service-section__problems {
  margin-top: 48px;
}
.service-section__problems-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.service-section--dark .service-section__problems-title {
  color: var(--text-muted);
}
.service-section--light .service-section__problems-title {
  color: #888888;
}
.service-section__problems-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-section__problems-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  padding: 16px 20px;
  border-radius: var(--r);
}
.service-section--dark .service-section__problems-item {
  background: var(--bg-card);
  color: var(--text-sub);
}
.service-section--light .service-section__problems-item {
  background: #ffffff;
  color: var(--text-dark-sub);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.service-section__problems-item::before {
  content: '✓';
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}
.service-section--dark .service-section__problems-item::before {
  color: var(--accent);
}
.service-section--light .service-section__problems-item::before {
  color: var(--text-dark);
}

/* ---- サービス詳細リストラップ ---- */
.service-section__list-wrap {
  margin-top: 40px;
}

/* ---- CTAエリア ---- */
.service-section__cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.service-section--dark .service-section__cta {
  border-color: var(--border);
}
.service-section--light .service-section__cta {
  border-color: var(--border-light);
}

/* ライト背景セクション用（DX・マーケティング） */
.service-section__detail-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark-sub);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--t-fast);
}
.service-section__detail-link:hover {
  color: var(--text-dark);
}
/* ダーク背景セクション用（WEB） */
.service-section__detail-link--on-dark {
  color: var(--text-sub);
}
.service-section__detail-link--on-dark:hover {
  color: var(--text);
}

