/* =========================
   料金表
========================= */

.price {
  background-image: linear-gradient(#eaddea, #d3e1ea);
}

.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}


/* =========================
   各カテゴリー（カード化）
========================= */

.price-category {
  background: #fff;
  border-radius: 16px;
  padding: 40px 35px;
  box-shadow: 0 4px 20px rgba(76, 89, 118, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-category:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(76, 89, 118, 0.16);
}


/* =========================
   見出し
========================= */

.price-category-title {
  display: flex;
  align-items: center;
  margin: 0 0 35px;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: #4c5976;
}

.price-category-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 20px;
  margin-right: 10px;
  background: #4c5976;
  flex-shrink: 0;
}


/* =========================
   料金項目
========================= */

.price-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}.price-item {
  position: relative;
  padding-left: 20px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.price-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: #4c5976;
}

.price-item-name {
  flex: 1 1 auto;
}

.price-amount {
  flex: 0 0 auto;
  font-weight: 700;
  color: #4c5976;
  font-size: 17px;
  white-space: nowrap;
}
/* =========================
   補足項目
========================= */

.price-sub-items {
  margin-top: 5px;
  padding-left: 5px;
}

.price-sub-item {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}


/* =========================
   タブレット
========================= */

@media screen and (max-width: 1200px) {

  .price-table {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-category {
    padding: 35px 30px;
  }

}


/* =========================
   スマートフォン
========================= */

@media screen and (max-width: 900px) {

  .price-table {
    grid-template-columns: 1fr;
  }

  .price-category {
    padding: 30px 25px;
  }

  .price-category-title {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .price-item {
    font-size: 15px;
  }

  .price-category:hover {
    transform: none;
  }

}


/* =========================
   小さいスマートフォン
========================= */

@media screen and (max-width: 480px) {

  .price-category {
    padding: 25px 20px;
  }

  .price-category-title {
    font-size: 16px;
  }

  .price-item {
    font-size: 14px;
  }

  .price-sub-item {
    font-size: 13px;
  }

}