@charset "UTF-8";

/* Additional implementation details for the existing DX consulting page only. */
body#consulting .dx-one-stop {
  background: #f7fafc;
}

/* Keep the requested search heading readable as complete Japanese phrases,
   including on narrow phones where the shared hero has limited width. */
body#consulting .service-hero h1 .dx-hero-title__phrase {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 767px) {
  body#consulting .service-hero h1 {
    font-size: clamp(23px, 6.2vw, 31px);
    line-height: 1.55;
    letter-spacing: .005em;
  }

  body#consulting .service-hero h1 .dx-hero-title__phrase {
    margin-right: .12em;
  }
}

@media (max-width: 359px) {
  body#consulting .service-hero h1 {
    font-size: 22px;
  }
}

body#consulting .dx-one-stop .service-section__head {
  max-width: 900px;
}

body#consulting .dx-one-stop .service-section__head h2,
body#consulting .dx-product-choice h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.55;
}

body#consulting .dx-one-stop .service-section__head h2 span,
body#consulting .dx-product-choice h2 span {
  display: inline-block;
  white-space: nowrap;
}

body#consulting .dx-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

body#consulting .dx-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 23px 22px 20px;
  border: 1px solid var(--service-line);
  border-top: 3px solid var(--service-blue);
  background: var(--service-white);
}

body#consulting .dx-service-card__index {
  margin: 0 0 9px;
  color: var(--service-blue);
  font-family: Georgia, serif;
  font-size: 14px;
}

body#consulting .dx-service-card h3 {
  margin: 0 0 9px;
  color: var(--service-deep);
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body#consulting .dx-service-card__description {
  margin: 0 0 15px;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.9;
}

body#consulting .dx-service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

body#consulting .dx-service-card li {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #e0e9ef;
  color: #425b72;
  background: #f6f9fb;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

body#consulting .dx-service-card__link {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--service-line);
  color: var(--service-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body#consulting .dx-service-card__link span {
  flex: 0 0 auto;
  font-size: 17px;
  text-decoration: none;
}

body#consulting .dx-flow-container {
  max-width: 1120px;
  margin: 42px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--service-line);
}

body#consulting .dx-flow-container > h3 {
  margin: 0 0 20px;
  color: var(--service-deep);
  font-size: 18px;
  line-height: 1.7;
}

body#consulting .dx-flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

body#consulting .dx-flow-list li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 16px 18px 16px 15px;
  border-top: 1px solid #cbd9e4;
  border-bottom: 1px solid #cbd9e4;
  background: rgba(255,255,255,.56);
}

body#consulting .dx-flow-list li + li {
  border-left: 1px solid #cbd9e4;
}

body#consulting .dx-flow-list li:not(:last-child)::after {
  position: absolute;
  z-index: 1;
  right: 2px;
  top: calc(50% - 12px);
  color: var(--service-blue);
  font-size: 16px;
  content: "→";
}

body#consulting .dx-flow-list li > span {
  color: var(--service-blue);
  font-family: Georgia, serif;
  font-size: 13px;
}

body#consulting .dx-flow-list strong {
  color: var(--service-deep);
  font-size: 12px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body#consulting .dx-product-choice {
  background: var(--service-white);
}

/* Microsoft tools are a distinct capability section, visually separate from
   the implementation cards and the deliberately white #dx-method section. */
body#consulting .dx-microsoft {
  background: #edf4f8;
}

body#consulting .dx-microsoft h2 span {
  display: inline-block;
  white-space: nowrap;
}

body#consulting .dx-microsoft .service-section__head {
  max-width: 900px;
}

body#consulting .dx-microsoft .service-section__head h2 {
  font-size: clamp(26px, 3.3vw, 39px);
}

body#consulting .dx-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto;
}

body#consulting .dx-product-card {
  min-width: 0;
  padding: 20px 18px 19px;
  border: 1px solid #d5e1ea;
  border-top: 2px solid var(--service-blue);
  background: var(--service-white);
}

body#consulting .dx-product-card h3 {
  margin: 0 0 8px;
  color: var(--service-deep);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

body#consulting .dx-product-card p {
  margin: 0;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.85;
}

body#consulting .dx-microsoft__note {
  max-width: 1120px;
  margin: 20px auto 0;
  padding-left: 14px;
  border-left: 2px solid #91abc2;
  color: var(--service-muted);
  font-size: 13px;
  line-height: 1.85;
}

/* Keep #dx-method white against the existing pale-blue process section. */
body#consulting #dx-method {
  background: var(--service-white);
}

body#consulting .dx-product-choice__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(28px, 6vw, 76px);
  max-width: 1120px;
  margin: 0 auto;
}

body#consulting .dx-product-choice__heading .service-kicker {
  margin-bottom: 12px;
}

body#consulting .dx-product-choice h2 {
  margin: 0;
  color: var(--service-deep);
}

body#consulting .dx-product-choice__copy {
  padding-top: 5px;
}

body#consulting .dx-product-choice__copy p {
  margin: 0;
  color: var(--service-muted);
  font-size: 14px;
  line-height: 2;
}

body#consulting .dx-product-choice__copy p + p {
  margin-top: 14px;
}

body#consulting .dx-case-panel {
  grid-column: 1 / -1;
  background: #f7fafc;
}

body#consulting .dx-case-panel h3 {
  max-width: 850px;
  overflow-wrap: anywhere;
}

body#consulting .dx-case-panel .case-facts {
  max-width: 1000px;
}

body#consulting .faq-list .dx-faq-link {
  display: inline-block;
  margin: 0 45px 22px 4px;
  color: var(--service-deep);
  font-size: 14px;
  line-height: 1.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1050px) {
  body#consulting .dx-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#consulting .dx-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#consulting .dx-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body#consulting .dx-flow-list li:nth-child(4) {
    border-left: 0;
  }

  body#consulting .dx-flow-list li:nth-child(n+4) {
    border-top: 0;
  }
  body#consulting .dx-flow-list li:nth-child(3)::after {
    right: calc(50% - 8px);
    top: auto;
    bottom: -12px;
    transform: rotate(90deg);
  }
}

@media (max-width: 767px) {
  body#consulting .dx-one-stop .service-section__head h2,
  body#consulting .dx-product-choice h2 {
    font-size: clamp(23px, 6.1vw, 28px);
    line-height: 1.55;
    letter-spacing: .02em;
  }

  body#consulting .dx-one-stop .service-section__head h2 span,
  body#consulting .dx-product-choice h2 span {
    display: inline-block;
  }

  body#consulting .dx-service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  body#consulting .dx-product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  body#consulting .dx-product-card {
    padding: 17px 16px;
  }

  body#consulting .dx-product-card h3 {
    font-size: 15px;
  }

  body#consulting .dx-microsoft .service-section__head h2 {
    font-size: clamp(23px, 6vw, 28px);
    line-height: 1.55;
    letter-spacing: .01em;
  }

  body#consulting .dx-microsoft__note {
    font-size: 12px;
  }

  body#consulting .dx-service-card {
    padding: 20px 18px 17px;
  }

  body#consulting .dx-service-card h3 {
    font-size: 17px;
  }

  body#consulting .dx-service-card__description {
    font-size: 13px;
  }

  body#consulting .dx-flow-container {
    margin-top: 30px;
    padding-top: 23px;
  }

  body#consulting .dx-flow-container > h3 {
    margin-bottom: 13px;
    font-size: 16px;
  }

  body#consulting .dx-flow-list {
    grid-template-columns: minmax(0, 1fr);
  }

  body#consulting .dx-flow-list li {
    min-height: 0;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 14px 13px;
    border-bottom: 0;
    border-left: 1px solid #cbd9e4;
    background: rgba(255,255,255,.56);
  }

  body#consulting .dx-flow-list li + li {
    border-left: 1px solid #cbd9e4;
  }

  body#consulting .dx-flow-list li:last-child {
    border-bottom: 1px solid #cbd9e4;
  }

  body#consulting .dx-flow-list li:nth-child(n+4) {
    border-top: 1px solid #cbd9e4;
  }
  body#consulting .dx-flow-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 21px;
    bottom: -12px;
    transform: rotate(90deg);
  }

  body#consulting .dx-flow-list li > span {
    flex: 0 0 24px;
  }

  body#consulting .dx-flow-list strong {
    font-size: 13px;
  }

  body#consulting .dx-product-choice__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  body#consulting .dx-product-choice__copy {
    padding-top: 0;
  }

  body#consulting .dx-product-choice__copy p {
    font-size: 13px;
  }

  body#consulting .faq-list .dx-faq-link {
    margin: 0 28px 19px 2px;
    font-size: 13px;
  }

  body#consulting .dx-case-panel {
    grid-column: auto;
  }
}

@media (max-width: 359px) {
  body#consulting .dx-one-stop .service-section__head h2,
  body#consulting .dx-product-choice h2 {
    font-size: 23px;
  }

  body#consulting .dx-service-card {
    padding-right: 15px;
    padding-left: 15px;
  }
}