@charset "UTF-8";

.auribeo-pricing {
  padding: calc(var(--header-h) + 60px) 0 100px;
}

.auribeo-pricing .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.auribeo-pricing .section-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 50px;
}

/* Pricing table */
.table-wrapper {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding-top: 18px;
  overflow-x: auto;
  overflow-y: visible;
  margin-bottom: 60px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  table-layout: fixed;
}

.pricing-table th,
.pricing-table td {
  padding: 24px 15px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
  position: relative;
  overflow: visible;
}

.pricing-table td.label,
.pricing-table thead th:first-child {
  text-align: left;
  padding-left: 24px;
  background: #fcfdfe;
  font-weight: 700;
  width: 200px;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

/* Popular badge */
.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  background: #ff7e67;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(255, 126, 103, 0.22);
}

.highlight-plan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  bottom: 0;
  background: var(--accent-soft);
  z-index: -1;
  pointer-events: none;
}
.highlight-cell {
  background: rgba(124, 168, 247, 0.06);
}

/* Rules */
.rule .lead {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 22px;
}
.rule h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.05rem;
}
.rule-list {
  list-style: none;
  padding-left: 1.2em;
  display: grid;
  gap: 5px;
}

/* Options */
.options-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.options-title {
  font-size: 1.6rem;
  margin: 0 0 8px;
  font-weight: 800;
}
.options-lead {
  color: var(--muted);
  margin: 0 0 30px;
}

.options-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.option-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-width: 0; /* ←これ重要 */
}

.option-name {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
}

.option-list {
  list-style: none;
}
.option-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(58, 71, 80, 0.16);
  font-size: 0.95rem;
}
.option-list li:last-child {
  border-bottom: none;
}

.option-list li > div {
  min-width: 0;
  flex: 1;
}
.option-price {
  font-weight: 800;
  white-space: nowrap;
}

.option-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.pricing-footer {
  text-align: center;
  margin-top: 20px;
}
.pricing-footer p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--muted);
}

/* CTA */
.cta-box {
  background: rgba(124, 168, 247, 0.1);
  padding: 44px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
}
.cta-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}
.cta-lead {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .options-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
