.notice-section {
  h3 {
    margin-bottom: 1em;
  }
}

.vps-pricing__grid {
	gap: 85px 0;
}


/* ============================================================
   スペック
   ============================================================ */

.vps-specs {
  padding: 100px 0 100px;
  background: #ffffff;
}

.vps-specs__intro {
  text-align: center;
  margin-bottom: 20px;
}

.vps-specs__title {
  margin-bottom: 24px;
}

.vps-specs__subtitle {
  font-size: 22px;
  text-align: center;
}

.vps-specs__content {
  max-width: 1200px;
  margin: 0 auto;
}

.vps-specs__description {
  text-align: center;
  margin-bottom: 60px;
}

.vps-specs__table-wrapper {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1000px;
  &:has(.vps-specs__group:nth-child(2)) {
    max-width: 1200px;
  }
  margin-inline: auto;
}

.vps-specs__group {
  display: flex;
  flex-direction: column;
}

.vps-specs__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid #dbe5f3;
  min-height: 100px;
}

.vps-specs__row:first-child {
  border-top: 1px solid #dbe5f3;
}

.vps-specs__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  border-right: 1px solid #dbe5f3;
  border-left: 1px solid #dbe5f3;
  padding: 10px 0;
}

.vps-specs__cell:first-child {
  border-right: none;
}

/* 項目名セル */

.vps-specs__label {
  color: #ffffff;
  position: relative;
  padding-right: 45px;
}

/* 左グループの奇数行項目名 - 青 */

.vps-specs__group--left .vps-specs__row:nth-child(odd) .vps-specs__label {
  background: #568F4C;
}

/* 左グループの偶数行項目名 - 水色 */

.vps-specs__group--left .vps-specs__row:nth-child(even) .vps-specs__label {
  background: #CCE2C8;
  color: black;
}

/* 右グループの奇数行項目名 - 青 */

.vps-specs__group--right .vps-specs__row:nth-child(odd) .vps-specs__label {
  background: #568F4C;
}

/* 右グループの偶数行項目名 - 水色 */

.vps-specs__group--right .vps-specs__row:nth-child(even) .vps-specs__label {
  background: #CCE2C8;
  color: black;
}

/* 値セル */

.vps-specs__value {
  background: #f2f4f8;
  color: #111111;
}

.vps-specs__label {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vps-specs__tooltip-btn {
  position: absolute;
  top: 50%;
  right: 23px;
  /* transform で中央寄せすると子要素の position: fixed の基準が
     viewport ではなく button になってしまうため、margin-top で代替 */
  margin-top: -12.5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}

.vps-specs__tooltip-btn img {
  width: 25px;
  height: 25px;
  display: block;
}

.vps-specs__tooltip-btn:hover {
  opacity: 0.8;
}

/* ツールチップ吹き出し本体 (data-tooltip 属性のテキストを表示)
   .vps-specs__tooltip-btn と .vps-options__tooltip-btn 両方に共通適用。
   position: fixed で viewport 基準。位置 (top/left) は JS が
   getBoundingClientRect から計算して --tooltip-top / --tooltip-left に設定。
   非表示時は -9999px に逃がして親 overflow に影響させない。 */
.vps-specs__tooltip-btn::before{
  content: attr(data-tooltip);
  position: fixed;
  top: var(--tooltip-top, -9999px);
  left: var(--tooltip-left, -9999px);
  width: max-content;
  max-width: 280px;
  padding: 10px 14px;
  background: #333333;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 1.5;
  border-radius: 6px;
  white-space: pre-wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
  z-index: 9999;
}

/* 三角矢印 */
.vps-specs__tooltip-btn::after,
.vps-options__tooltip-btn::after {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333333;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
  z-index: 20;
}

.vps-specs__tooltip-btn:hover::before,
.vps-specs__tooltip-btn:focus-visible::before,
.vps-specs__tooltip-btn:hover::after,
.vps-specs__tooltip-btn:focus-visible::after {
  opacity: 1;
  visibility: visible;
}


.vps-specs__note {
  text-align: right;
}

.vps-pricing__specs + .vps-pricing__btn {
  margin-top: auto;
}

.vps-pricing__info:has(.vps-pricing_price-table) {
  background-color: initial;
}
.vps-pricing_price-table {
  th {
    font-weight: normal;
  }
}

@media (max-width: 768px) {
	.vps-pricing__grid {
		gap: 60px 15px;
	}
}


@media (max-width: 1024px) {
	
  .vps-specs__subtitle {
    font-size: 20px;
  }

}

@media (max-width: 768px) {
  /* vps-specs */

  .vps-specs__table-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vps-specs__tooltip-btn {
    right: 10px;
  }

  .vps-specs__tooltip-btn img {
    width: 18px;
    height: 18px;
  }

  .vps-specs__cell {
    padding: 16px 12px;
    text-align: left;
    justify-content: flex-start;
    font-size: 14px;
  }

  .vps-specs__label {
    justify-content: flex-start;
  }

  .vps-specs {
    padding: 60px 0 60px;
  }

  .vps-specs__intro {
    margin-bottom: 40px;
  }

  .vps-specs__description {
    margin-bottom: 40px;
  }

  .vps-specs__row {
    height: auto !important;
    min-height: 60px;
  }

  .vps-specs__note {
    font-size: 12px;
  }
}


/* =============================================================
   ご利用までの流れ (PC_専用サーバー)
   ============================================================= */

.vps-steps {
  padding: 100px 0;
  background: #ffffff;
}

.vps-steps__lead {
  text-align: center;
  margin: 0 0 60px;
}

.vps-steps__lead a {
  color: #568F4C;;
  text-decoration: underline;
}

.vps-steps__list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.vps-steps__list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 38px;
  width: 2px;
  background: #00a590;
  z-index: 0;
}

.vps-steps__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  column-gap: 24px;
  position: relative;
}

.vps-steps__item:not(:last-child) {
  margin-bottom: 40px;
}

.vps-steps__badge {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  background: #568F4C;
  color: #ffffff;
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
}

.vps-steps__step-title {
  font-size: 20px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.vps-steps__text {
  font-size: 15px;
  margin: 0;
}

.vps-steps__btn.btn-more-link {
  width: auto;
  max-width: none;
  height: 52px;
  padding: 0 28px;
  margin: 16px 0 0;
}

.vps-steps__btn.vps-pricing__btn {
  max-width: none;
  margin: 16px 0 0;
}

/* =============================================================
   レスポンシブ
   ============================================================= */
@media (max-width: 768px) {
  .vps-steps {
    padding: 60px 0;
  }

  .vps-steps__lead {
    margin: 0 0 40px;
  }

  .vps-steps__list {
    max-width: 100%;
  }

  .vps-steps__list::before {
    left: 30px;
  }

  .vps-steps__item {
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
  }

  .vps-steps__item:not(:last-child) {
    margin-bottom: 28px;
  }

  .vps-steps__badge {
    padding: 6px 10px;
    font-size: 13px;
  }

  .vps-steps__step-title {
    font-size: 17px;
  }

  .vps-steps__text {
    font-size: 14px;
  }

  .vps-steps__btn.btn-more-link {
    width: 100%;
    height: 48px;
    padding: 0;
  }
}


.vps-pricing__grid {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1024px) {
  .vps-pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.btn-more-link {
  color: #568F4C;
  border: 2px solid #568F4C;
  &:hover, &:focus-visible {
    background-color: #568F4C;
  }
}

/* =============================================================
   用途別 (PC_専用サーバー)
   ============================================================= */

.vps-selection {
    padding: 100px 0;
    background: #ffffff;
}

.vps-selection__table-wrapper {
  margin-top: 40px;
}

.vps-selection__table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-collapse: collapse;
  table-layout: fixed;
}

.vps-selection__table th,
.vps-selection__table td {
  width: 33.333%;
  border: 1px solid #dbe5f3;
  padding: 20px 24px;
  vertical-align: middle;
}

.vps-selection__header {
  background: #568F4C;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  border-color: #568F4C;
}

.vps-selection__cell {
  font-size: 15px;
  text-align: center;
}

.vps-selection__table td.vps-selection__cell--btn {
  border: none;
  border-top: 1px solid #dbe5f3;
  padding: 24px 24px 0;
  background: transparent;
}

@media (max-width: 768px) {
  .vps-selection {
    padding: 0px 0 60px;
  }

  .vps-selection__table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 24px;
  }

  .vps-selection__table {
    width: 700px;
    max-width: none;
  }

  .vps-selection__header {
    font-size: 15px;
    padding: 14px 16px;
  }

  .vps-selection__cell {
    font-size: 13px;
    padding: 16px;
  }

  .vps-selection__cell--btn {
    padding: 16px 16px 0;
  }
}

.vps-consultation {
  background: #ffffff;
  text-align: center;
  img {
    display: inline;
  }
  .sp {
    display: none;
  }
  @media (max-width: 768px) {
    .pc {
      display: none;
    }
    .sp {
      display: initial;
    }
  }
}

.vps-trial-top-cta {
  background-color: #EFF9EB;
  padding: 60px 0;
}


.vps-what-is {
  background-color: #EFF9EB;
}

.vps-subpage-header {
  background-image: none;
  background-color: #568F4C;
}

.vps-pricing__grid {
  grid-template-columns: repeat(6, 1fr);
}
.vps-pricing__card {
  grid-column-start: span 3;
}
.vps-pricing__card:nth-child(1),.vps-pricing__card:nth-child(2),.vps-pricing__card:nth-child(3) {
  grid-column-start: span 2;
}


@media (max-width: 768px) {

  .vps-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vps-pricing__card {
    grid-column-start: span 1;
  }
  .vps-pricing__card:nth-child(1),.vps-pricing__card:nth-child(2),.vps-pricing__card:nth-child(3) {
    grid-column-start: span 1;
  }
}

.vps-specs__row .vps-specs__value:not(:nth-child( 1 of .vps-specs__value)) {
  font-weight: 400;
}