/* ===== DX Service Page ===== */

/* --- Breadcrumb --- */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #999;
}
.breadcrumb li + li::before {
  content: ">";
  margin-right: 8px;
  color: #ccc;
}
.breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #555;
}
.breadcrumb [aria-current="page"] {
  color: #555;
  font-weight: 500;
}

/* --- Section Title Text --- */
.section-title-text {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
  color: #1a1a2e;
}

/* --- DX Hero --- */
.dx-hero {
  padding: 60px 24px 80px;
  background:
    radial-gradient(circle, rgba(26, 26, 46, 0.08) 1.5px, transparent 1.5px),
    radial-gradient(ellipse at 20% 50%, rgba(26, 26, 46, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(176, 90, 58, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #f0f2f5 0%, #e8eaef 100%);
  background-size: 24px 24px, 100% 100%, 100% 100%, 100% 100%;
  color: #1a1a2e;
  text-align: center;
}
.dx-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.dx-hero-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}
.dx-hero-label {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 16px;
}
.dx-hero-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 20px;
}
.dx-hero-desc {
  font-size: 16px;
  color: #555;
  line-height: 2;
  margin-bottom: 32px;
}
.dx-hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.pc-only { display: inline; }

/* --- Narrator Card --- */
.dx-narrator {
  padding: 0 24px;
}
.narrator-card {
  max-width: 720px;
  margin: -40px auto 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px 36px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.narrator-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(26, 26, 46, 0.1);
  flex-shrink: 0;
}
.narrator-body {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.narrator-intro {
  margin-bottom: 8px;
}

/* --- Challenge Section --- */
.dx-challenges {
  padding: 96px 24px;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.challenge-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.challenge-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.challenge-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.challenge-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.challenge-cta {
  font-size: 16px;
  color: #1a1a2e;
  font-weight: 600;
  text-align: center;
  margin-top: 36px;
}

/* --- Approach Section --- */
.dx-approach {
  padding: 96px 24px;
}
.approach-sub {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-top: -32px;
  margin-bottom: 12px;
}
.approach-desc {
  text-align: center;
  font-size: 15px;
  color: #666;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 48px;
}
.approach-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.approach-step {
  flex: 1;
  max-width: 260px;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.step-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1a1a2e;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.approach-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.approach-step p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 12px;
}
.step-time {
  font-size: 13px;
  font-weight: 600;
  color: #b05a3a;
}
.approach-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  padding-top: 48px;
}
.approach-arrow::after {
  content: "\2192";
  font-size: 24px;
  color: #ccc;
}

/* --- Case Studies Section --- */
.dx-cases {
  padding: 96px 24px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 40px 36px;
  max-width: 800px;
  margin: 0 auto 16px;
}
.case-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.case-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1a1a2e;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.case-industry {
  font-size: 13px;
  color: #888;
}
.case-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 28px;
  line-height: 1.5;
}
.case-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.case-before {
  background: #f7f3f0;
  border-left: 3px solid #d4a88c;
  border-radius: 8px;
  padding: 20px;
}
.case-after {
  background: #f0f4f7;
  border-left: 3px solid #5b8db8;
  border-radius: 8px;
  padding: 20px;
}
.case-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.case-label-before {
  background: #e8d5c8;
  color: #8b5e3c;
}
.case-label-after {
  background: #c8d8e8;
  color: #3c5e8b;
}
.case-before p,
.case-after p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
.case-results {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.case-result-item {
  flex: 1;
  min-width: 140px;
  padding: 16px 12px;
  background: #f9fafb;
  border-radius: 8px;
  text-align: center;
}
.case-result-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.case-result-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

/* Case Comparison Table */
.case-comparison {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}
.case-comparison th {
  background: #f0f2f5;
  padding: 12px 16px;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
}
.case-comparison td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}
.case-comparison td.highlight {
  color: #1a1a2e;
  font-weight: 600;
}

/* Case Score Table */
.case-score-table {
  max-width: 400px;
  margin: 0 auto 24px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.case-score-table th {
  background: #f0f2f5;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid #e0e0e0;
}
.case-score-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}
.score-highlight {
  background: #f0f7f0;
}
.score-highlight td {
  color: #1a7a3a;
  font-weight: 700;
}

/* Case Meta Note (Case 4) */
.case-meta-note {
  background: linear-gradient(135deg, #f8f6f3 0%, #f0eeeb 100%);
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 3px solid #b05a3a;
  margin-top: 20px;
}
.case-meta-note p {
  font-size: 14px;
  font-style: italic;
  color: #555;
  line-height: 1.8;
}

/* Narrator Comment (between cases) */
.narrator-comment {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 720px;
  margin: 16px auto 32px;
  padding: 20px 24px;
}
.narrator-comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.narrator-comment p {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  font-style: italic;
}

/* --- Strengths Section --- */
.dx-strengths {
  padding: 96px 24px;
}
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.strength-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.strength-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.strength-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.strength-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
.strength-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* --- Team Discussion (Chat UI) --- */
.dx-discussion {
  padding: 96px 24px;
}
.discussion-lead {
  text-align: center;
  font-size: 15px;
  color: #888;
  margin-top: -36px;
  margin-bottom: 48px;
  line-height: 1.8;
}
.chat-timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chat-message-user {
  flex-direction: column;
  align-items: flex-end;
}
.chat-message-user .chat-meta {
  text-align: right;
}
.chat-bubble-user {
  background: #1a1a2e;
  color: #fff;
  border-radius: 12px 12px 0 12px;
  max-width: 85%;
}
.chat-bubble-user p {
  color: rgba(255, 255, 255, 0.9);
}
.chat-message-ai {
  align-items: flex-start;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 4px;
}
.chat-body {
  flex: 1;
  max-width: 85%;
}
.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.chat-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.chat-role {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-left: 4px;
}
.chat-role::before {
  content: "\2014 ";
}
.chat-time {
  font-size: 11px;
  color: #b05a3a;
  font-weight: 600;
  font-family: "Courier New", monospace;
}
.chat-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 16px 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.chat-bubble p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}
.chat-bubble p:last-child {
  margin-bottom: 0;
}

/* --- Service Plans Section --- */
.dx-plans {
  padding: 96px 24px;
}
.plans-lead {
  text-align: center;
  font-size: 16px;
  color: #888;
  margin-top: -36px;
  margin-bottom: 48px;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.plan-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}
.plan-card-ume {
  border: 2px solid #1a1a2e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}
.plan-price {
  margin-bottom: 20px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.plan-price-label {
  font-size: 13px;
  color: #888;
  display: block;
  margin-bottom: 4px;
}
.plan-price-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
}
.plan-price-unit {
  font-size: 13px;
  font-weight: 400;
  color: #888;
}
.plan-price-note {
  font-size: 13px;
  color: #888;
}
.plan-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}
.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 14px;
  color: #555;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #1a7a3a;
  font-weight: 600;
}
.btn-plan {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-top: auto;
}
.btn-plan-primary {
  background: #1a1a2e;
  color: #fff;
}
.btn-plan-primary:hover {
  background: #2a2a4a;
  transform: translateY(-1px);
}
.btn-plan-secondary {
  background: transparent;
  color: #1a1a2e;
  border: 1px solid rgba(26, 26, 46, 0.3);
}
.btn-plan-secondary:hover {
  border-color: rgba(26, 26, 46, 0.6);
  transform: translateY(-1px);
}
/* --- CTA Section --- */
.dx-cta {
  padding: 96px 24px;
}
.cta-body {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-desc {
  font-size: 16px;
  color: #555;
  line-height: 2;
  margin-bottom: 32px;
}
.cta-buttons {
  margin-bottom: 24px;
}
.cta-note {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

/* --- Page Credit --- */
.dx-credit {
  text-align: center;
  padding: 24px;
}
.dx-credit p {
  font-size: 13px;
  color: #999;
  font-style: italic;
}

/* ===== Responsive: Tablet (768px) ===== */
@media (max-width: 768px) {
  .dx-hero { padding: 40px 24px 64px; }
  .dx-hero-title { font-size: 28px; }
  .dx-hero-buttons { flex-direction: column; align-items: center; }
  .dx-hero-buttons .btn-hero-primary,
  .dx-hero-buttons .btn-hero-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .pc-only { display: none; }

  .narrator-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 28px 24px;
  }
  .narrator-avatar { margin-bottom: 0; }

  .dx-challenges,
  .dx-approach,
  .dx-cases,
  .dx-strengths,
  .dx-discussion,
  .dx-plans,
  .dx-cta { padding: 64px 16px; }

  /* Chat UI */
  .chat-avatar { width: 32px; height: 32px; }
  .chat-bubble-user { max-width: 95%; }
  .chat-body { max-width: 90%; }

  .challenge-grid { grid-template-columns: 1fr; }

  .approach-steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .approach-step { max-width: 100%; width: 100%; }
  .approach-arrow {
    padding-top: 0;
    width: auto;
    height: 32px;
  }
  .approach-arrow::after { transform: rotate(90deg); }

  .case-before-after { grid-template-columns: 1fr; }
  .case-card { padding: 28px 20px; }
  .case-title { font-size: 19px; }

  .strengths-grid { grid-template-columns: 1fr; }

  /* Plans */
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
  .plan-card-ume { order: -1; }

  .section-title-text { font-size: 24px; }
}

/* ===== Responsive: Mobile (480px) ===== */
@media (max-width: 480px) {
  .dx-hero-title { font-size: 24px; }
  .breadcrumb { font-size: 12px; }
  .case-comparison { font-size: 13px; }
  .case-comparison th,
  .case-comparison td { padding: 10px 12px; }
  .case-result-item { min-width: 100px; }
}
