/*
 * サポート体制図の比較表示（2026-08-27）
 * 案A：現行の横並び
 * 案C：IMG-202を基にHTML内SVGで再構築した循環配置
 * お客様と開発は直接接続せず、必ずサポート・営業を経由する。
 */

.support-page .sup-diagram-compare {
  position: relative;
  display: grid;
  width: 100%;
  gap: 34px;
  margin: 34px 0 72px;
}

.support-page .sup-diagram-option {
  padding: 28px 30px 32px;
  border: 1px solid #d7e4ee;
  border-radius: 4px;
  background: #fff;
}

/* 採用案Aは比較カードではなく、図解単体として表示する。 */
.support-page .sup-diagram-option.sup-diagram-option--horizontal {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.support-page .sup-diagram-option--image {
  display: none;
}

.support-page .sup-diagram-option-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.support-page .sup-diagram-option-head h3 {
  margin: 0;
  color: #082b52;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.support-page .sup-diagram-option-label {
  display: inline-flex;
  min-width: 52px;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid #c5dcea;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  background: #edf5fb;
  color: #1658a0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.support-page .sup-diagram-option .sup-structure-horizontal {
  margin: 24px 0 16px !important;
}

.support-page .sup-cycle-diagram {
  width: 100%;
  margin: 18px auto 0;
}

.support-page .sup-cycle-desktop {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.support-page .sup-cycle-html-svg {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.support-page .sup-cycle-line {
  fill: none;
  stroke-width: 3;
}

.support-page .sup-cycle-line-primary { stroke: #034c92; }
.support-page .sup-cycle-line-return { stroke: #68a4cf; }

.support-page .sup-cycle-arrow-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.support-page .sup-cycle-arrow-label-primary { fill: #034c92; }
.support-page .sup-cycle-arrow-label-return { fill: #58738a; }

.support-page .sup-cycle-node > circle:first-child {
  fill: #fff;
  stroke: #cbddea;
  stroke-width: 2;
}

.support-page .sup-cycle-node-customer > circle:first-child {
  fill: #edf5fb;
  stroke: #c5dcea;
}

.support-page .sup-cycle-icon-disc {
  fill: #eaf5fb !important;
  stroke: none !important;
}

.support-page .sup-cycle-icon-disc-customer {
  fill: #2f609a !important;
}

.support-page .sup-cycle-icon {
  fill: none;
  stroke: #034c92;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-page .sup-cycle-icon-customer { stroke: #fff; }

.support-page .sup-cycle-title,
.support-page .sup-cycle-sub,
.support-page .sup-cycle-desc {
  font-family: "Noto Sans JP", sans-serif;
}

.support-page .sup-cycle-title {
  fill: #082b52;
  font-size: 42px;
  font-weight: 800;
}

.support-page .sup-cycle-title-customer { font-size: 52px; }
.support-page .sup-cycle-title-support { font-size: 32px; }

.support-page .sup-cycle-sub-box {
  fill: rgba(255, 255, 255, .82);
  stroke: #b8d4e7;
  stroke-width: 1.5;
}

.support-page .sup-cycle-sub {
  fill: #315f82;
  font-size: 19px;
  font-weight: 800;
}

.support-page .sup-cycle-desc {
  fill: #58738a;
  font-size: 16px;
  font-weight: 700;
}

.support-page .sup-cycle-note {
  max-width: none;
  margin: 0 auto !important;
  color: #58738a !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.8 !important;
  text-align: center;
}

.support-page .sup-cycle-mobile { display: none; }

@media (max-width: 900px) {
  .support-page .sup-diagram-option {
    padding: 24px 22px 28px;
  }

  .support-page .sup-cycle-arrow-label { font-size: 20px; }
}

@media (max-width: 768px) {
  .support-page .sup-diagram-compare {
    gap: 26px;
    margin: 28px 0 56px;
  }

  .support-page .sup-diagram-option {
    padding: 22px 18px 26px;
  }

  .support-page .sup-diagram-option-head {
    margin-bottom: 18px;
  }

  .support-page .sup-diagram-option-head h3 { font-size: 20px; }

  .support-page .sup-diagram-option .sup-structure-horizontal {
    margin: 14px 0 8px !important;
  }

  .support-page .sup-cycle-desktop { display: none; }

  .support-page .sup-cycle-mobile {
    display: grid;
    justify-items: center;
    gap: 0;
    padding-top: 4px;
  }

  .support-page .sup-cycle-mobile-node {
    display: flex;
    width: min(100%, 278px);
    aspect-ratio: 1;
    padding: 28px;
    border: 1px solid #cbddea;
    border-radius: 50%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
  }

  .support-page .sup-cycle-mobile-node.customer {
    width: min(100%, 300px);
    border-color: #c5dcea;
    background: #edf5fb;
  }

  .support-page .sup-cycle-mobile-icon {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    place-items: center;
    background: #eaf5fb;
    color: #034c92;
  }

  .support-page .sup-cycle-mobile-node.customer .sup-cycle-mobile-icon {
    background: #2f609a;
    color: #fff;
  }

  .support-page .sup-cycle-mobile-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .support-page .sup-cycle-mobile-node h4 {
    margin: 0;
    color: #082b52;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.4;
  }

  .support-page .sup-cycle-mobile-node.customer h4 { font-size: 31px; }

  .support-page .sup-cycle-mobile-node p {
    max-width: 220px;
    margin: 8px 0 0 !important;
    color: #58738a !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.7 !important;
  }

  .support-page .sup-cycle-mobile-exchange {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 360px);
    min-height: 112px;
    gap: 10px;
    color: #496b83;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
  }

  .support-page .sup-cycle-mobile-exchange span {
    position: relative;
    display: flex;
    padding-top: 48px;
    align-items: flex-start;
    justify-content: center;
  }

  .support-page .sup-cycle-mobile-exchange span::before {
    position: absolute;
    top: 14px;
    left: 50%;
    color: #034c92;
    font-size: 30px;
    line-height: 1;
    transform: translateX(-50%);
  }

  .support-page .sup-cycle-mobile-exchange span:first-child::before { content: "↓"; }
  .support-page .sup-cycle-mobile-exchange span:last-child::before {
    content: "↑";
    color: #68a4cf;
  }

  .support-page .sup-cycle-note {
    max-width: 360px;
    margin-top: 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 420px) {
  .support-page .sup-diagram-option {
    padding-inline: 14px;
  }

  .support-page .sup-cycle-mobile-node { width: min(100%, 250px); }
  .support-page .sup-cycle-mobile-node.customer { width: min(100%, 272px); }
  .support-page .sup-cycle-mobile-node h4 { font-size: 23px; }
  .support-page .sup-cycle-mobile-node.customer h4 { font-size: 28px; }
}
