/* 料金 */

.amount {
  margin: 16px 0;
  color: var(--blue);
  font-size: 27px;
  font-weight: 900;
}

.section:has(.price) .container {
  background-color: #ffffff !important;
  border-radius: 20px;
  padding: 40px;
}

.section.soft {
  background-color: #ffffff !important;
}

.price {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e1effa;
  text-align: center;
  box-shadow: 0 8px 24px rgba(8, 120, 191, 0.08);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
}

.price:hover {
  transform: translateY(-7px);
  border-width: 2.5px;
  border-color: #0878bf;
  box-shadow: 0 16px 34px rgba(8, 120, 191, 0.15);
}

.price:nth-child(2)::before {
  content: "おすすめ";
  position: absolute;
  top: 13px;
  right: -31px;
  width: 110px;
  transform: rotate(45deg);
  background: var(--blue, #0878bf);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.price .tag,
.price .tag-spacer {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding: 0 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #e2f2d9;
  color: #558b2f;
  margin-bottom: 0.5rem;
}

.price .tag-spacer {
  visibility: hidden;
}

.price h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a2b3c;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue, #0878bf);
  margin: 0.5rem 0 1rem 0;
  width: 100%;
}

.price .amount .unit {
  font-size: 0.875rem;
  color: #55687d;
  font-weight: 400;
}

.price .price-desc {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
  margin-top: 0.5rem;
  text-align: left;
  width: 100%;
}

.price ul {
  width: 100%;
  padding: 0;
  margin: 0.5rem 0 0;
  list-style: none;
  text-align: left;
}

.price ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.price ul li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--blue, #0878bf);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.section-icon {
  font-size: 1.5rem;
}

.table-wrapper {
  margin-top: 2rem;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.95rem;
}

.pricing-table th {
  background-color: #dbeafe;
  color: #1e3a8a;
  font-weight: 700;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  width: 25%;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  width: 30%;
}

.pricing-table td.tb-title {
  background-color: #114b7e;
  color: #ffffff;
  font-weight: 700;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.table-notes {
  margin-top: 1rem;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
  list-style-type: disc;
  line-height: 1.6;
}

.table-notes li {
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.85rem;
  color: #666666;
  margin-top: 1.5rem;
}
