/* サポート体制図：お客様 ⇄ サポート・営業 ⇄ 開発（2026-08-22） */
.support-page .sup-structure-horizontal {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(300px, 1.2fr) minmax(96px, .48fr) minmax(250px, 1fr) minmax(96px, .48fr) minmax(220px, 1fr);
  width: 100% !important;
  max-width: 1300px !important;
  height: auto !important;
  margin: 38px auto 72px !important;
  padding: 0 !important;
  align-items: center;
  overflow: visible !important;
}

.support-page .sup-structure-horizontal > .sup-flow-card {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto;
  width: 100% !important;
  height: 260px !important;
  min-height: 260px !important;
  margin: 0 !important;
  padding: 30px 24px 24px !important;
  transform: none !important;
  align-content: center;
  justify-items: center;
  gap: 0 !important;
  border: 1px solid #cbddea !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 22px 46px -34px rgba(8, 43, 82, .58) !important;
  text-align: center;
}

.support-page .sup-structure-horizontal > .sup-flow-card.customer {
  height: 326px !important;
  min-height: 326px !important;
  padding: 38px 30px 30px !important;
  border: 2px solid #1658a0 !important;
  border-radius: 4px !important;
  background: #e9f4fb !important;
  box-shadow: 0 28px 56px -35px rgba(3, 76, 146, .58) !important;
}

.support-page .sup-structure-horizontal .sup-flow-icon {
  display: grid !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto 20px !important;
  place-items: center;
  border-radius: 50% !important;
  background: #eaf5fb !important;
  color: #034c92;
  box-shadow: none !important;
}

.support-page .sup-structure-horizontal .customer .sup-flow-icon {
  width: 86px !important;
  height: 86px !important;
  background: #fff !important;
  box-shadow: 0 12px 24px -19px rgba(8, 43, 82, .5) !important;
}

.support-page .sup-structure-horizontal .sup-flow-icon svg {
  width: 40px !important;
  height: 40px !important;
}

.support-page .sup-structure-horizontal .sup-flow-copy {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.support-page .sup-structure-horizontal .sup-flow-title {
  margin: 0 !important;
  color: #082b52;
  font-size: 30px !important;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal !important;
}

.support-page .sup-structure-horizontal .customer .sup-flow-title {
  font-size: 36px !important;
}

.support-page .sup-structure-horizontal .support .sup-flow-title {
  white-space: nowrap !important;
}

.support-page .sup-structure-horizontal .sup-flow-sub {
  min-height: 52px;
  margin: 10px auto 0 !important;
  color: #58738a !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
}

.support-page .sup-horizontal-connector {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 230px;
}

.support-page .sup-horizontal-lane {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 2px;
  background: #034c92;
}

.support-page .sup-horizontal-lane.primary { top: 82px; }
.support-page .sup-horizontal-lane.return { top: 154px; background: #68a4cf; }

.support-page .sup-horizontal-lane.to-right::after,
.support-page .sup-horizontal-lane.to-left::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.support-page .sup-horizontal-lane.to-right::after {
  right: -1px;
  border-left: 13px solid #034c92;
}

.support-page .sup-horizontal-lane.to-left::before {
  left: -1px;
  border-right: 13px solid #68a4cf;
}

.support-page .sup-horizontal-label {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: 150%;
  transform: translateX(-50%);
  color: #496b83;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.support-page .sup-horizontal-lane.primary .sup-horizontal-label { bottom: 13px; }
.support-page .sup-horizontal-lane.return .sup-horizontal-label { top: 13px; }

@media (max-width: 1010px) {
  .support-page .sup-structure-horizontal {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    margin: 28px auto 56px !important;
  }

  .support-page .sup-structure-horizontal > .sup-flow-card {
    width: 100% !important;
    height: auto !important;
    min-height: 218px !important;
    padding: 28px 24px 24px !important;
    border-radius: 4px !important;
  }

  .support-page .sup-structure-horizontal > .sup-flow-card.customer {
    min-height: 278px !important;
    padding: 34px 24px 28px !important;
  }

  .support-page .sup-horizontal-connector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 112px;
  }

  .support-page .sup-horizontal-lane {
    position: relative;
    top: auto !important;
    left: auto;
    width: auto;
    height: 112px;
    background: none !important;
  }

  .support-page .sup-horizontal-lane::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: currentColor;
  }

  .support-page .sup-horizontal-lane.to-right {
    color: #034c92;
  }

  .support-page .sup-horizontal-lane.to-right::before {
    top: 30px;
    height: 56px;
    border: 0;
  }

  .support-page .sup-horizontal-lane.to-right::after {
    top: auto;
    right: auto;
    bottom: 17px;
    left: 50%;
    transform: translateX(-50%);
    border: 0;
    border-top: 11px solid #034c92;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
  }

  .support-page .sup-horizontal-lane.to-left {
    color: #68a4cf;
  }

  .support-page .sup-horizontal-lane.to-left::before {
    top: 23px;
    height: 56px;
    border: 0;
  }

  .support-page .sup-horizontal-lane.to-left::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    border-right: 7px solid transparent;
    border-bottom: 11px solid #68a4cf;
    border-left: 7px solid transparent;
  }

  .support-page .sup-horizontal-label {
    width: 100%;
    max-width: none;
    font-size: 13px;
  }

  .support-page .sup-horizontal-lane.primary .sup-horizontal-label {
    top: 0;
    bottom: auto;
  }

  .support-page .sup-horizontal-lane.return .sup-horizontal-label {
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 480px) {
  .support-page .sup-structure-horizontal > .sup-flow-card {
    min-height: 210px !important;
    padding-inline: 20px !important;
  }

  .support-page .sup-structure-horizontal > .sup-flow-card.customer {
    min-height: 264px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-icon {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 16px !important;
  }

  .support-page .sup-structure-horizontal .customer .sup-flow-icon {
    width: 74px !important;
    height: 74px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-icon svg {
    width: 36px !important;
    height: 36px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-title {
    font-size: 26px !important;
  }

  .support-page .sup-structure-horizontal .customer .sup-flow-title {
    font-size: 31px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-sub {
    min-height: 48px;
    font-size: 14px !important;
  }
}

/* スマホ：カードを横長に圧縮し、往復矢印を中央で連結する（2026-09-02） */
@media (max-width: 768px) {
  .support-page .sup-structure-horizontal {
    margin-bottom: 44px !important;
  }

  .support-page .sup-structure-horizontal > .sup-flow-card,
  .support-page .sup-structure-horizontal > .sup-flow-card.customer {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 148px !important;
    padding: 20px !important;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    column-gap: 16px !important;
  }

  .support-page .sup-structure-horizontal > .sup-flow-card.customer {
    min-height: 156px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-icon,
  .support-page .sup-structure-horizontal .customer .sup-flow-icon {
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-icon svg,
  .support-page .sup-structure-horizontal .customer .sup-flow-icon svg {
    width: 33px !important;
    height: 33px !important;
  }

  .support-page .sup-structure-horizontal .sup-flow-copy {
    text-align: left;
  }

  .support-page .sup-structure-horizontal .sup-flow-title,
  .support-page .sup-structure-horizontal .customer .sup-flow-title {
    font-size: 24px !important;
    line-height: 1.35;
  }

  .support-page .sup-structure-horizontal .sup-flow-sub,
  .support-page .sup-structure-horizontal .customer .sup-flow-sub {
    width: auto;
    min-height: 0;
    margin: 5px 0 0 !important;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .support-page .sup-horizontal-lane.to-left::before {
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
  }
}
