/* ==============================
  System Page
============================== */

.system-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 86px;
  background:
    url("images/system-hero-bg.webp") center center / cover no-repeat;
}

.system-hero::before,
.system-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.system-hero::before {
  top: -120px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: linear-gradient(135deg, rgba(0, 137, 232, 0.06), rgba(0, 137, 232, 0));
  transform: rotate(18deg);
}

.system-hero::after {
  right: -120px;
  bottom: -180px;
  width: 620px;
  height: 620px;
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.06), rgba(255, 255, 255, 0));
  transform: rotate(-18deg);
}

.system-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: 10px;
  align-items: center;
}

.system-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.system-hero-subtitle {
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 20px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.system-hero h1 {
  width: max-content;
  max-width: none;
  margin-bottom: 18px;
  padding: 0;
  color: #101828;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-align: center;
}

.system-hero-lead {
  width: fit-content;
  max-width: min(620px, 100%);
  margin: 0 auto;
  padding: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.95;
  font-weight: 800;
  text-align: left;
}

@media (min-width: 901px) {
  .system-hero-subtitle,
  .system-hero h1,
  .system-hero-lead {
    transform: translateY(-132px);
  }

  .system-hero-subtitle {
    margin-left: -20px;
  }

  .system-hero-lead {
    width: max-content;
    max-width: none;
    margin-left: 280px;
    margin-right: 0;
  }
}

.system-image-slot {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: none;
  border: none;
  border-radius: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.system-image-slot::after {
  content: none;
}

.system-image-hero {
  height: 440px;
  margin: 210px -150px -30px 0;
  border: none;
  background:
    url("images/system-hero.png") right bottom / 82% auto no-repeat;
  filter: drop-shadow(0 28px 30px rgba(15, 23, 42, 0.26)) contrast(1.04) saturate(1.04);
}

.system-intro {
  padding: 78px 0 46px;
  background: #ffffff;
}

.system-intro h2 {
  color: #101828;
  text-align: center;
}

.system-lead-text,
.system-article-box {
  color: #374151;
  font-size: 14px;
  line-height: 1.95;
  font-weight: 700;
}

.system-lead-text {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: left;
}

.system-image-main {
  height: min(570px, 75vw);
  min-height: 330px;
  margin: 10px auto -18px;
  overflow: hidden;
  border-radius: 24px;
  background-color: #ffffff;
  background-image: url("images/system-main.png");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.system-section {
  padding: 78px 0;
  background: #ffffff;
}

.system-section-alt {
  background: #f7f8fb;
}

.system-section-head {
  margin-bottom: 30px;
  text-align: center;
}

.system-section-number {
  width: 54px;
  height: 54px;
  margin: 0 12px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: #ffffff;
  background: #0089e8;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.system-section-head h2 {
  position: relative;
  z-index: 0;
  display: inline;
  margin: 0;
  padding: 0 0.08em;
  color: #0089e8;
  background: linear-gradient(transparent 58%, rgba(255, 230, 80, 0.45) 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.45;
  text-align: left;
}

.system-article-box p:last-child {
  margin-bottom: 0;
}

.system-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.system-card,
.system-faq-list article,
.system-lineup-card,
.system-support-grid article {
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #dce5ef;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.system-card h3,
.system-faq-list h3,
.system-lineup-card h3,
.system-support-grid h3 {
  margin-bottom: 10px;
  color: #111827;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.system-card p,
.system-faq-list p,
.system-lineup-card p,
.system-support-grid p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  text-align: center;
}

.system-support-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.system-support-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  object-fit: contain;
  display: block;
}

.system-card {
  padding: 0;
  overflow: hidden;
}

.system-card-image {
  aspect-ratio: 4 / 3;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid #dce5ef;
  border-radius: 10px 10px 0 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.system-card-image-input {
  background-image: url("images/system-card-input.png");
}

.system-card-image-billing {
  background-image: url("images/system-card-billing.png");
}

.system-card-image-handover {
  background-image: url("images/system-card-handover.png");
}

.system-card h3 {
  padding: 20px 20px 0;
  text-align: left;
}

.system-card p {
  padding: 0 20px 20px;
  text-align: left;
}

.system-faq-list {
  display: grid;
  gap: 16px;
}

.system-faq-list h3,
.system-faq-list p {
  text-align: center;
}

.system-faq-list article {
  position: relative;
  overflow: hidden;
  padding: 30px 34px 26px 115px;
  border: none;
  box-shadow: none;
}

.system-faq-badge {
  position: absolute;
  top: 50%;
  left: 88px;
  min-width: 126px;
  padding: 5px 18px;
  color: #ffffff;
  background: #0089e8;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  transform: translateY(-50%) rotate(-12deg);
}

.system-faq-label {
  display: none;
}

.system-consult-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0 92px;
  background:
    url("images/system-consult-cta.webp") center center / cover no-repeat,
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.system-consult-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0.72) 62%, rgba(255, 255, 255, 0.9) 100%);
  pointer-events: none;
}

.system-consult-inner {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 420px;
}

.system-consult-visual {
  display: none;
}

.system-consult-copy {
  width: min(540px, 100%);
  margin-left: auto;
  margin-right: 0;
  padding-top: 34px;
}

@media (min-width: 901px) {
  .system-consult-copy {
    width: min(660px, 100%);
    transform: translateX(9em);
  }

  .system-consult-actions {
    flex-wrap: nowrap;
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  .system-consult-actions {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
  }
}

.system-consult-badge {
  width: fit-content;
  margin: 0 0 20px;
  padding: 10px 32px;
  color: #2d6ff2;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid #4b84f5;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
}

.system-consult-copy h2 {
  margin: 0 0 18px;
  color: #101828;
  font-size: clamp(36px, 4.1vw, 58px);
  line-height: 1.38;
}

.system-consult-copy h2 span {
  background: linear-gradient(transparent 68%, rgba(251, 228, 110, 0.58) 68%);
}

.system-consult-pc-break {
  display: none;
}

@media (min-width: 901px) and (max-width: 1320px) {
  .system-consult-pc-break {
    display: block;
  }
}

.system-consult-copy p {
  margin: 0 0 30px;
  color: #334155;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 700;
}

.system-consult-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.system-consult-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 280px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}

.system-consult-phone {
  color: #ffffff;
  background: linear-gradient(90deg, #3e7cf6 0%, #2062f1 100%);
}

.system-consult-mail {
  color: #2466ef;
  background: #ffffff;
  border: 2px solid #4b84f5;
}

.system-consult-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.system-consult-phone .system-consult-icon {
  color: #2062f1;
  background: rgba(255, 255, 255, 0.96);
}

.system-consult-mail .system-consult-icon {
  color: #ffffff;
  background: #3e7cf6;
}

.system-consult-note {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.system-product-section {
  padding: 86px 0;
  background: #ffffff;
}

.system-product-list {
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.system-product-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background: #f7f8fb;
  border-radius: 18px;
}

.system-product-point {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #2f65bd;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.system-product-row-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.system-product-row-reverse .system-product-copy {
  order: 2;
}
.system-product-copy h3 {
  color: #0089e8;
  font-size: 24px;
  line-height: 1.5;
}

.system-product-copy {
  padding-left: 82px;
}

.system-product-copy p {
  margin: 0;
  color: #374151;
  font-size: 14px;
  line-height: 1.95;
  font-weight: 700;
}

.system-image-panel,
.system-image-unit,
.system-image-touch,
.system-image-printer {
  min-height: 240px;
  background-color: transparent;
}

.system-image-panel {
  background-image: url("images/system-panel.png");
}

.system-image-unit {
  background-image: url("images/system-unit.png");
}

.system-image-touch {
  background-image: url("images/system-touch.png");
}

.system-image-printer {
  background-image: url("images/system-printer.png");
}

.system-gallery-section {
  padding: 86px 0;
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.95) 0%, rgba(255, 255, 255, 1) 42%, rgba(247, 248, 251, 1) 100%);
}

.system-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.system-lineup-visual {
  margin: 14px 0 16px;
  text-align: center;
}

.system-lineup-visual img {
  width: 100%;
  max-width: 220px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.system-support-section {
  padding: 86px 0;
  background: #ffffff;
}

.system-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.system-simple-cta {
  padding: 84px 0;
  background: #f7f8fb;
}

.system-simple-cta p {
  width: min(700px, 100%);
  margin: 0 auto 26px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.system-flow-section {
  background: #ffffff;
}

.system-flow-section .section-title {
  width: min(920px, 100%);
  margin: 0 auto 54px;
}

.system-flow-section .section-outline-badge,
.system-flow-section .section-title p {
  display: none;
}

.system-flow-section .section-title h2 {
  position: relative;
  margin: 0;
  padding: 30px 24px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 12px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.35;
  text-align: center;
}

.system-flow-section .section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -19px;
  width: 0;
  height: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 20px solid #0089e8;
  transform: translateX(-50%);
}

.system-flow-list {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.system-flow-list article {
  position: relative;
  display: grid;
  grid-template-columns: 166px 1fr;
  grid-template-areas:
    "step title"
    "text text";
  column-gap: 30px;
  row-gap: 22px;
  align-items: center;
  padding: 32px 0 48px;
  background: transparent;
  border-top: 1px dotted #9ca3af;
  border-radius: 0;
  box-shadow: none;
}

.system-flow-list article::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 26px solid #0089e8;
  transform: translateX(-50%);
}

.system-flow-list article:last-child::after {
  content: none;
}

.system-flow-list span {
  grid-area: step;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.system-flow-list h3 {
  grid-area: title;
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.45;
  text-align: left;
}

.system-flow-list p {
  grid-area: text;
  width: auto;
  margin: 0;
  color: #111827;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  text-align: left;
}

@media (max-width: 900px) {
  .system-hero {
    padding: 58px 0 70px;
  }
  .system-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .system-hero-lead {
    margin: 0 auto;
  }

  .system-hero-subtitle,
  .system-hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .system-hero h1 {
    display: inline-block;
    width: auto;
    max-width: 100%;
    white-space: normal;
  }

  .system-hero-subtitle,
  .system-hero h1,
  .system-hero-lead {
    transform: translateY(54px);
  }

  .system-image-hero {
    width: min(720px, 100%);
    height: 300px;
    margin: 64px auto -8px;
    background-position: center bottom;
    background-size: min(100%, 390px) auto;
  }

  .system-intro,
  .system-section,
  .system-consult-cta,
  .system-product-section,
  .system-gallery-section,
  .system-support-section,
  .system-simple-cta {
    padding: 64px 0;
  }

  .system-consult-cta {
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .system-consult-inner {
    min-height: 620px;
    text-align: left;
  }

  .system-consult-visual {
    display: none;
  }

  .system-consult-copy {
    width: min(460px, 52vw);
    margin-left: auto;
    margin-right: 0;
    padding-top: 86px;
  }

  .system-consult-badge {
    margin-left: 0;
    margin-right: 0;
  }

  .system-consult-actions {
    justify-content: flex-start;
  }

  .system-consult-note {
    text-align: center;
  }

  .system-product-list {
    width: 100%;
  }

  .system-card-grid,
  .system-lineup-grid,
  .system-support-grid {
    grid-template-columns: 1fr;
  }

  .system-flow-section .section-title {
    margin-bottom: 42px;
  }

  .system-flow-section .section-title h2 {
    padding: 24px 18px;
  }

  .system-flow-list article {
    grid-template-columns: 1fr;
    grid-template-areas:
      "step"
      "title"
      "text";
    gap: 14px;
    padding: 26px 0 46px;
    text-align: left;
  }

  .system-flow-list span {
    width: fit-content;
    min-height: 42px;
    margin: 0;
    font-size: 18px;
  }

  .system-lineup-visual img {
    max-width: 200px;
    height: 136px;
  }

  .system-product-row,
  .system-product-row-reverse {
    grid-template-columns: 1fr;
  }
  .system-product-row-reverse .system-product-copy {
    order: 0;
  }
}

@media (max-width: 760px) {
  .system-image-hero {
    height: 300px;
    margin: 64px auto -8px;
    background-position: center bottom;
    background-size: min(100%, 390px) auto;
    filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.22));
  }
}

@media (max-width: 520px) {
  .system-hero {
    padding: 46px 0 6px;
    background:
      url("images/system-hero-bg.webp") center top / auto 84% no-repeat;
  }

  .system-intro {
    padding-top: 22px;
  }

  .system-hero-subtitle {
    font-size: 12px;
  }
  .system-hero h1 {
    font-size: 34px;
    white-space: normal;
  }

  .system-hero-subtitle,
  .system-hero h1,
  .system-hero-lead {
    transform: translateY(34px);
  }

  .system-hero-lead,
  .system-lead-text,
  .system-article-box,
  .system-simple-cta p {
    font-size: 14px;
  }

  .system-image-hero {
    height: 300px;
    margin: 64px auto -8px;
    background-position: center bottom;
    background-size: min(100%, 390px) auto;
    filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.22));
  }

  .system-section-head {
    text-align: center;
  }

  .system-section-head h2 {
    font-size: 24px;
    text-align: center;
  }

  .system-faq-list article {
    padding: 56px 18px 20px;
  }

  .system-faq-list h3,
  .system-faq-list p {
    text-align: center;
  }

  .system-faq-badge {
    top: 14px;
    left: 18px;
    transform: rotate(-12deg);
  }

  .system-product-row {
    padding: 82px 20px 24px;
  }

  .system-product-point {
    top: 18px;
    left: 18px;
    width: 64px;
    height: 64px;
    font-size: 12px;
  }

  .system-consult-cta {
    background:
      linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  }

  .system-consult-cta::before {
    content: none;
  }

  .system-consult-inner {
    min-height: auto;
  }

  .system-consult-copy {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    text-align: center;
  }

  .system-consult-copy h2 + p::after {
    content: "";
    display: block;
    width: 100%;
    min-height: 330px;
    margin: 24px auto 26px;
    background:
      url("images/system-consult-cta.webp") 12% 50% / 172% auto no-repeat;
  }

  .system-consult-copy h2 {
    font-size: 32px;
  }

  .system-consult-copy p,
  .system-consult-note {
    font-size: 14px;
  }

  .system-consult-actions {
    justify-content: center;
  }

  .system-consult-button {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .system-consult-icon {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .system-product-copy h3 {
    font-size: 20px;
  }

  .system-image-main,
  .system-image-panel,
  .system-image-unit,
  .system-image-touch,
  .system-image-printer {
    min-height: 170px;
  }

  .system-image-main {
    min-height: 255px;
  }
}