/* ==============================
  Server Page Renewal
============================== */

.server-page {
  color: #061a3a;
  background: #ffffff;
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
}

.server-container {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
}

.server-hero {
  position: relative;
  overflow: hidden;
  padding: 18px 0 0;
  background: #ffffff;
}

.server-hero-inner {
  width: min(1280px, calc(100% - 80px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 0.95fr) minmax(420px, 1.05fr);
  gap: 30px;
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  background:
    url("images/server-hero-bg.webp") right center / cover no-repeat,
    #ffffff;
}

.server-hero-copy {
  position: relative;
  z-index: 2;
  padding: 48px 42px 42px 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 78%, rgba(255, 255, 255, 0) 100%);
}

.server-hero-badge {
  width: fit-content;
  margin: 0 0 22px;
  padding: 8px 14px;
  color: #005fc4;
  background: #ffffff;
  border: 2px solid #9cc6ef;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.server-hero h1 {
  margin: 0 0 18px;
  color: #061a3a;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.server-hero-emphasis {
  color: #5242d6;
  font-size: 1.12em;
}

.server-tablet-break {
  display: none;
}

.server-hero-sub {
  margin: 0 0 18px;
  color: #005fc4;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 900;
}

.server-hero-lead {
  width: min(680px, 100%);
  margin: 0 0 30px;
  color: #1f2937;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 800;
}

.server-hero-points {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.server-hero-points span {
  min-height: 70px;
  padding: 14px 12px;
  display: grid;
  place-items: center;
  color: #061a3a;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d9e8f7;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.server-hero-points span br {
  display: none;
}

.server-hero-points b {
  color: #005fc4;
}

.server-hero-visual {
  min-height: 560px;
  background: transparent;
}

.server-hero-visual img {
  display: none;
}

.server-block {
  padding: 64px 0;
}

.server-white {
  background: #ffffff;
}

.server-blue {
  background:
    linear-gradient(180deg, #f5faff 0%, #eef6ff 100%);
}

.server-section-title {
  margin-bottom: 30px;
  text-align: center;
}

.server-section-title h2 {
  margin: 0;
  color: #061a3a;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.45;
  font-weight: 900;
}

.server-benefit-title {
  margin-top: 34px;
}

.server-card-grid {
  display: grid;
  gap: 20px;
}

.server-card-grid-5 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.server-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.server-card {
  min-height: 210px;
  padding: 28px 18px 24px;
  display: grid;
  align-content: start;
  justify-items: center;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.server-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  color: #005fc4;
  font-size: 34px;
  line-height: 1;
}

.server-card-image {
  width: 62px;
  height: 62px;
  display: block;
  object-fit: contain;
  margin: 0 auto 12px;
}

.server-card h3,
.server-feature-panel h3 {
  margin: 0 0 8px;
  color: #005fc4;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.server-card p,
.server-feature-panel p {
  margin: 0;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 750;
}

.server-solution-flow {
  margin: 0 auto;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, #f5faff 0%, #eef6ff 100%);
  border-radius: 10px;
}

.server-solution-box {
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 10px;
}

.server-solution-box h3 {
  margin: 0 0 12px;
  color: #005fc4;
  font-size: 20px;
  text-align: center;
}

.server-solution-box ul {
  margin: 0;
  padding-left: 1.2em;
  color: #061a3a;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 800;
}

.server-solution-arrow {
  color: #78aee5;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.server-feature-panel {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.server-feature-panel article {
  min-height: 132px;
  padding: 18px 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 8px;
  text-align: left;
}

.server-feature-panel article:last-child {
  border-right: 1px solid #d8e5f2;
}

.server-feature-image {
  width: 82px;
  height: 82px;
  display: block;
  object-fit: contain;
  margin: 0;
}

.server-maintenance-box {
  padding: 42px;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 44px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.server-maintenance-copy {
  padding-left: 0;
}

.server-maintenance-copy h3 {
  margin: 0 0 18px;
  color: #061a3a;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 900;
}

.server-maintenance-image-frame {
  width: min(520px, 100%);
  margin: 0 0 22px;
  display: grid;
  place-items: center;
}

.server-maintenance-main-image {
  width: 100%;
  height: auto;
  display: block;
}

.server-maintenance-copy p {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 800;
}

.server-maintenance-list {
  display: grid;
  gap: 14px;
}

.server-maintenance-list article {
  min-height: 126px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.server-maintenance-icon {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
}

.server-maintenance-list h3 {
  margin: 0 0 6px;
  color: #005fc4;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
}

.server-maintenance-list p {
  margin: 0;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 750;
}

.server-plan-box {
  padding: 28px;
  display: grid;
  grid-template-columns: 230px 1fr 360px;
  gap: 28px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.server-plan-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
}

.server-plan-label {
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 12px;
  color: #ffffff;
  background: #005fc4;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
}

.server-plan-copy h2 {
  margin: 0 0 6px;
  color: #061a3a;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
}

.server-plan-lead {
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
}

.server-plan-price {
  margin: 0 0 10px;
  color: #061a3a;
  font-size: 18px;
  font-weight: 900;
}

.server-plan-price strong {
  color: #005fc4;
  font-size: 44px;
  line-height: 1;
}

.server-plan-copy ul,
.server-plan-recommend ul {
  margin: 0;
  padding-left: 1.2em;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 800;
}

.server-plan-recommend {
  padding: 20px;
  background: #ffffff;
  border: 1px solid #bcd4ed;
  border-radius: 8px;
}

.server-plan-recommend h3 {
  margin: 0 0 10px;
  color: #005fc4;
  font-size: 17px;
  font-weight: 900;
}

.server-flow-block {
  padding-top: 20px;
}

.server-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: visible;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.server-flow article {
  position: relative;
  min-height: 178px;
  padding: 52px 16px 20px;
  text-align: center;
  border-right: 1px solid #d8e5f2;
}

.server-flow article:last-child {
  border-right: 0;
}

.server-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 22px;
  height: 22px;
  border-top: 5px solid #78aee5;
  border-right: 5px solid #78aee5;
  transform: translateY(-50%) rotate(45deg);
  background: #ffffff;
  z-index: 2;
}

.server-flow span {
  width: 58px;
  height: 58px;
  margin: 0;
  position: absolute;
  top: -29px;
  left: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #005fc4;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 900;
  transform: translateX(-50%);
}

.server-flow h3 {
  margin: 0 0 10px;
  color: #005fc4;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}

.server-flow p {
  margin: 0;
  color: #1f2937;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 750;
}

.server-reason-card {
  min-height: 190px;
}

.server-reason-card strong {
  color: #005fc4;
  font-size: 30px;
  line-height: 1;
}

.server-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.server-case-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e2ee;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.server-case-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.server-case-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.server-case-body {
  padding: 22px 22px 24px;
  text-align: center;
}

.server-case-body h3 {
  margin: 0 0 12px;
  color: #005fc4;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 900;
}

.server-case-body p {
  margin: 0 0 14px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 750;
}

.server-case-body a {
  color: #005fc4;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .server-container,
  .server-hero-inner {
    width: min(100% - 44px, 1120px);
  }

  .server-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    background:
      url("images/server-hero-bg.webp") right top / cover no-repeat,
      #ffffff;
  }

  .server-hero-copy {
    width: min(560px, 100%);
    padding: 48px 0 36px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 78%, rgba(255, 255, 255, 0) 100%);
  }

  .server-tablet-break {
    display: none;
  }

  .server-hero h1 {
    width: min(560px, 100%);
    font-size: clamp(44px, 6vw, 58px);
  }

  .server-hero-visual {
    display: none;
    min-height: 0;
  }

  .server-card-grid-5,
  .server-feature-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-card-grid-4,
  .server-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-feature-panel article {
    border-right: 1px solid #d8e5f2;
    border-bottom: 0;
  }

  .server-feature-panel article:last-child {
    border-bottom: 0;
  }

  .server-plan-box {
    grid-template-columns: 180px 1fr;
  }

  .server-plan-recommend {
    grid-column: 1 / -1;
  }

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

  .server-flow article {
    border-bottom: 1px solid #d8e5f2;
  }

  .server-flow article::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .server-container,
  .server-hero-inner {
    width: calc(100% - 28px);
  }

  .server-hero {
    background: #ffffff;
  }

  .server-hero-inner {
    min-height: 0;
    row-gap: 0;
    background: #ffffff;
  }

  .server-hero-copy {
    display: contents;
    padding: 0;
    background: none;
  }

  .server-hero-badge,
  .server-hero h1,
  .server-hero-sub,
  .server-hero-lead {
    margin-left: 18px;
    margin-right: 18px;
  }

  .server-tablet-break {
    display: block;
  }

  .server-hero-badge {
    order: 1;
    margin-top: 18px;
  }

  .server-hero h1 {
    order: 2;
    width: auto;
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.25;
  }

  .server-hero-sub {
    order: 3;
    font-size: 18px;
  }

  .server-hero-lead {
    order: 4;
    width: auto;
  }

  .server-hero-visual {
    order: 5;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin: 14px 0 0;
    overflow: hidden;
    border-radius: 10px;
    background: url("images/server-hero-bg.png") right bottom / cover no-repeat;
  }

  .server-hero-points {
    order: 6;
    width: calc(100% - 36px);
    margin: -32px auto 18px;
    position: relative;
    z-index: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .server-hero-points span {
    min-height: 46px;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    line-height: 1.25;
  }

  .server-hero-points span br {
    display: none;
  }

  .server-card-grid-5,
  .server-card-grid-4,
  .server-case-grid,
  .server-feature-panel,
  .server-plan-box,
  .server-maintenance-box,
  .server-flow,
  .server-solution-flow {
    grid-template-columns: 1fr;
  }

  .server-solution-arrow {
    transform: rotate(90deg);
  }

  .server-card {
    min-height: auto;
  }

  .server-feature-panel {
    padding: 0;
  }

  .server-feature-panel article {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .server-maintenance-box {
    padding: 28px 20px;
    gap: 24px;
  }

  .server-maintenance-copy {
    padding-left: 0;
  }

  .server-maintenance-copy h3 {
    font-size: 23px;
  }

  .server-maintenance-list article {
    grid-template-columns: 72px 1fr;
    padding: 18px;
  }

  .server-maintenance-icon {
    width: 58px;
    height: 58px;
  }

  .server-plan-box {
    padding: 22px 18px;
  }

  .server-plan-image {
    width: 180px;
    margin: 0 auto;
  }

  .server-plan-copy h2 {
    font-size: 22px;
  }

  .server-plan-price strong {
    font-size: 38px;
  }

  .server-flow article {
    min-height: 150px;
    border-right: 0;
  }

  .server-block {
    padding: 52px 0;
  }
}