.ohtani-dx {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e293b;
  line-height: 1.8;
}

.ohtani-dx * {
  box-sizing: border-box;
}

.ohtani-dx a {
  text-decoration: none;
}

.dx-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dx-section {
  padding: 100px 0;
}

.dx-section-gray {
  background: #f7f9fc;
}

.dx-title {
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;
  color: #0a2a66;
  text-align: center;
  margin-bottom: 18px;
}

.dx-lead {
  text-align: center;
  color: #64748b;
  font-size: 17px;
  margin-bottom: 48px;
}

.dx-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s;
}

.dx-btn-primary {
  background: #0a2a66;
  color: #fff;
}

.dx-btn-primary:hover {
  background: #2d7ff9;
  color: #fff;
}

.dx-btn-secondary {
  border: 2px solid #0a2a66;
  color: #0a2a66;
}

.dx-btn-secondary:hover {
  background: #0a2a66;
  color: #fff;
}

/* Hero */
.dx-hero {
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.dx-hero-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 48px;
}

.dx-badge {
  display: inline-block;
  background: rgba(45,127,249,0.1);
  color: #2d7ff9;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 24px;
}

.dx-hero h1 {
  font-size: 56px;
  line-height: 1.25;
  color: #0a2a66;
  margin: 0 0 24px;
  font-weight: 800;
}

.dx-hero p {
  font-size: 18px;
  color: #475569;
  margin-bottom: 32px;
}

.dx-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.dx-hero-points {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
}

.dx-hero-visual{

    width:100%;
    max-width:680px;

    margin-left:auto;
    margin-right:0;

    background:#fff;
    padding:20px;
    border-radius:30px;

    box-shadow:
      0 20px 45px rgba(0,0,0,.08),
      0 45px 90px rgba(10,42,102,.15);
}

.dx-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;

  object-fit:contain;

  transform:none;
  transition:.3s;
}

.dx-hero-visual img:hover {
  transform:scale(1.03);
}

/* Cards */
.dx-card-grid {
  display: grid;
  gap: 24px;
}

.dx-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dx-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.dx-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(10,42,102,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dx-card-icon {
  text-align: center;
  margin-bottom: 20px;
}

.dx-icon-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: inline-block;
}

.dx-card h3 {
  font-size: 21px;
  color: #0a2a66;
  margin: 0 0 12px;
}

.dx-card p {
  color: #64748b;
  margin: 0;
}

/* DX capability */
.dx-capability-card {
  min-height: 260px;
}

.dx-capability-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.dx-capability-card h3,
.dx-capability-card p {
  min-height: auto;
}

/* Flow */
.dx-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  position: relative;
}

.dx-flow-item {
  background: #ffffff;
  padding: 40px 24px 36px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 14px 45px rgba(10,42,102,0.10);
  border: 1px solid rgba(45,127,249,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 460px;
}

.dx-flow-simple .dx-flow-item {
  min-height: 460px;
}

/*==========================
  ステップ間の矢印
==========================*/

.dx-flow-item{
    position:relative;
}

.dx-flow-item:not(:last-child)::after{

    content:"";

    position:absolute;

    top:50%;
    right:-42px;

    width:42px;
    height:42px;

    transform:translateY(-50%);

    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cpath d='M12 6 L28 21 L12 36' fill='none' stroke='%23155bd5' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

}

.dx-flow-num {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2a66, #2d7ff9);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(45,127,249,0.25);
}

.dx-flow-icon {
  margin-bottom: 24px;
  text-align: center;
}

.dx-flow-icon img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  display: inline-block;
}

.dx-flow-item h3 {
  font-size: 22px;
  color: #0a2a66;
  margin: 0 0 12px;
  font-weight: 700;
}

.dx-flow-item p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.dx-flow-message {
  margin-top: 48px;
  padding: 28px 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eef6ff, #f7f9fc);
  color: #0a2a66;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.dx-flow-message img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* Case cards */
.dx-case-image {
  width: 100%;
  height: 260px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dx-case-image img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
  transition: all .3s ease;
}

.dx-case-image img:hover {
  transform: translateY(-4px);
}

.dx-case-card h3 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dx-case-card p {
  min-height: 72px;
}

/* Dark */
.dx-dark {
  background: #0a2a66;
  color: #fff;
}

.dx-dark .dx-title,
.dx-dark h3 {
  color: #fff;
}

.dx-dark .dx-lead,
.dx-dark p {
  color: rgba(255,255,255,0.78);
}

.dx-dark-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
}

/* Two column */
.dx-two-col {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 56px;
  align-items: center;
}

.dx-image-placeholder {
  min-height: 360px;
  border-radius: 24px;
  background: linear-gradient(135deg, #dbeafe, #f7f9fc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a2a66;
  font-weight: 700;
}

.dx-storage-image{
    width:100%;
    max-width:520px;
    margin:0 auto;

    border-radius:24px;
    overflow:hidden;

    box-shadow:0 20px 60px rgba(10,42,102,.12);
}

.dx-storage-image img{
    width:100%;
    height:340px;

    object-fit:cover;

    display:block;
}

/* DX支援サービスカード：コンパクト版 */
.dx-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.dx-service-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px 20px 26px;
  box-shadow: 0 14px 45px rgba(10,42,102,0.08);
  text-align: center;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dx-service-image {
  width: 100%;
  height: 145px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dx-service-image img {
  max-width: 92%;
  max-height: 145px;
  object-fit: contain;
  display: block;
}

.dx-service-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

.dx-service-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2a66, #2d7ff9);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dx-service-heading h3 {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.35;
  color: #0a2a66;
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.dx-service-line {
  width: 40px;
  height: 3px;
  background: #b7c7dc;
  border-radius: 999px;
  margin: 0 auto 16px;
}

.dx-service-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

/* 4列でタイトルが詰まる場合だけさらに調整 */
@media (max-width: 1180px) {
  .dx-service-heading h3 {
    font-size: 16px;
  }

  .dx-service-num {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .dx-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dx-service-card {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .dx-service-grid {
    grid-template-columns: 1fr;
  }

  .dx-service-card {
    min-height: auto;
    padding: 26px 22px;
  }

  .dx-service-image {
    height: 150px;
  }

  .dx-service-image img {
    max-height: 150px;
  }

  .dx-service-heading h3 {
    white-space: normal;
    font-size: 20px;
  }
}

/* 私たちの想い + DX支援コンセプト */
.dx-concept-section {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.dx-concept-hero {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 42px;
  align-items: center;
  margin-bottom: 52px;
}

.dx-concept-label {
  color: #2d7ff9;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.dx-concept-label::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: #2d7ff9;
  border-radius: 999px;
  margin-top: 10px;
}

.dx-concept-title {
  font-size: 38px;
  line-height: 1.35;
  color: #0a2a66;
  font-weight: 800;
  margin: 0 0 28px;
  margin-bottom: 22px;
}

.dx-concept-text p {
  color: #1e293b;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 20px;
  margin-bottom: 14px;
}

.dx-concept-visual {
  text-align: center;
}

.dx-concept-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

.dx-concept-flow-title {
  margin-top: 0;
  text-align: center;
  font-size: 30px;
  color: #0a2a66;
  font-weight: 800;
  margin-bottom: 10px;
}

.dx-concept-flow-lead {
  text-align: center;
  color: #64748b;
  font-size: 16px;
  margin-bottom: 32px;
}

.dx-concept-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.dx-concept-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 18px 24px;
  text-align: center;
  box-shadow: 0 14px 45px rgba(10,42,102,0.08);
  position: relative;
}

.dx-concept-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2a66, #2d7ff9);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.dx-concept-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display:block;
  margin:0 auto;
}

.dx-concept-card h3 {
  font-size: 18px;
  color: #0a2a66;
  margin: 0 0 10px;
  font-weight: 800;
}

.dx-concept-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1024px) {
  .dx-concept-hero {
    grid-template-columns: 1fr;
  }

  .dx-concept-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .dx-concept-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .dx-concept-title {
    font-size: 30px;
  }

  .dx-concept-flow {
    grid-template-columns: 1fr;
  }
}

/* 私たちのDX支援コンセプト：矢印 */
.dx-concept-card {
  position: relative;
}

.dx-concept-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cpath d='M12 6 L28 21 L12 36' fill='none' stroke='%23155bd5' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 既存の丸い矢印を無効化 */
.dx-concept-card:not(:last-child)::after {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  color: transparent;
  font-size: 0;
}

/* タブレット・スマホでは矢印非表示 */
@media (max-width: 1024px) {
  .dx-concept-card:not(:last-child)::after {
    display: none;
  }
}

/* CTA */
.dx-final-cta {
  background: linear-gradient(135deg, #0a2a66, #071d49);
  color: #fff;
  border-radius: 32px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.dx-final-cta h2 {
  font-size: 36px;
  margin: 0 0 12px;
  color: #ffffff !important;
}

.dx-final-cta p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.dx-btn-white {
  background: #fff;
  color: #0a2a66;
}

/* Responsive */
@media (max-width: 1024px) {
  .dx-hero-grid,
  .dx-two-col {
    grid-template-columns: 1fr;
  }

  .dx-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dx-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .dx-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .dx-flow-item:not(:last-child)::after {
    display: none;
  }

  .dx-hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 767px) {
  .dx-section {
    padding: 64px 0;
  }

  .dx-hero {
    padding: 72px 0;
  }

  .dx-hero h1 {
    font-size: 34px;
  }

  .dx-title {
    font-size: 30px;
  }

  .dx-grid-4,
  .dx-grid-3,
  .dx-flow {
    grid-template-columns: 1fr;
  }

  .dx-card {
    padding: 26px;
  }

  .dx-final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

  .dx-final-cta h2 {
    font-size: 28px;
  }

  .dx-flow-item,
  .dx-flow-simple .dx-flow-item {
    min-height: auto;
    padding: 30px 24px;
  }

  .dx-flow-message {
    font-size: 18px;
    padding: 24px 20px;
    flex-direction: column;
  }

  .dx-flow-icon img {
    width: 120px;
    height: 120px;
  }
}