.custom-price-page {
  background: #fff;
  color: #222;
  font-family: Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.custom-price-page * {
  box-sizing: border-box;
}

.custom-price-browser {
  max-width: 1120px;
  margin: 80px auto;
  border: 1px solid #ddd8cf;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .05);
}

.custom-price-inner {
  padding: 54px 36px 48px;
}

.custom-price-title {
  margin: 0 0 12px;
  color: #111;
  text-align: center;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
}

.custom-price-lead {
  margin: 0 0 30px;
  color: #444;
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 700;
}

.custom-price-summary {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 34px;
  padding: 16px 22px;
  border: 1px solid #ddd8cf;
  border-radius: 10px;
  background: #f4f2ec;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}

.custom-price-summary br {
  display: none;
}

.custom-price-section {
  margin-top: 28px;
}

.custom-price-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
}

.custom-price-label h2 {
  margin: 0;
  padding: 8px 15px;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.custom-price-label p {
  margin: 0;
  color: #444;
  font-size: 16px;
  font-weight: 700;
}

.custom-price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #222;
  font-size: 16px;
}

.custom-price-table th,
.custom-price-table td {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #d9d6cf;
  vertical-align: middle;
  font-weight: 700;
}

.custom-price-table th {
  background: #f1efe8;
  color: #333;
  text-align: left;
}

.custom-price-table tr:nth-child(even) td {
  background: #f5f3ee;
}

.custom-price-table td:not(:first-child),
.custom-price-table th:not(:first-child) {
  text-align: center;
}

.custom-price-table td:last-child,
.custom-price-table th:last-child {
  text-align: right;
}

.custom-price-note {
  margin: 10px 0 0;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

.custom-price-scroll-hint {
  display: none;
}

@media (max-width: 767px) {
  .custom-price-browser {
    margin: 40px 16px;
    border-radius: 10px;
  }

  .custom-price-inner {
    padding: 38px 16px 34px;
  }

  .custom-price-title {
    font-size: 22px;
  }

  .custom-price-summary {
    display: block;
    padding: 14px;
    font-size: 14px;
  }

  .custom-price-summary span {
    display: block;
  }

  .custom-price-summary br {
    display: inline;
  }

  .custom-price-summary span + span {
    margin-top: 8px;
  }

  .custom-price-scroll-hint {
    display: block;
    margin: -2px 0 8px;
    color: #7b6d5e;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
    font-weight: 700;
  }

  .custom-price-table-scroll {
    margin-bottom: 8px;
    overflow-x: scroll;
    scrollbar-color: #a19283 #ece9e6;
    scrollbar-width: auto;
    -webkit-overflow-scrolling: touch;
  }

  .custom-price-table-scroll::-webkit-scrollbar {
    height: 16px;
  }

  .custom-price-table-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #ece9e6;
  }

  .custom-price-table-scroll::-webkit-scrollbar-thumb {
    border: 3px solid #ece9e6;
    border-radius: 999px;
    background: #a19283;
  }

  .custom-price-table {
    min-width: 720px;
    font-size: 14px;
  }

  .custom-price-table th:first-child,
  .custom-price-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 150px;
    box-shadow: 1px 0 0 #d9d6cf;
  }

  .custom-price-table th:first-child {
    z-index: 3;
    background: #f1efe8;
  }

  .custom-price-table td:first-child {
    background: #fff;
  }

  .custom-price-table tr:nth-child(even) td:first-child {
    background: #f5f3ee;
  }
}
