/* components.css — Design system components */

/* ====================================================
   SP固定CTAボタン（フローティングLINEボタン）
   ==================================================== */
.sp-fixed-cta {
  display: none; /* PC では非表示 */
}

/*--------------- CTA Section -----------------*/
.cta-section {
  background: #ece3e7;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: 22px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #333;
}
.cta-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.cta-btn--line {
  background: #06C755;
  color: #fff;
}
.cta-btn--line i {
  font-size: 20px;
}
.cta-btn--contact {
  background: #fff;
  color: #333;
  border: solid 1px #333;
}
.cta-btn--contact i {
  font-size: 16px;
}

/* ====================================================
   Redesign – Common Section Layout
   ==================================================== */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 24px;
}
.section--grey {
  background: var(--color-bg-section);
  max-width: 100%;
  padding: 72px 24px;
}
.section--grey > .section__inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ━━━ Section Header ━━━ */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-header__en {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: var(--fs-section-en);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.section-header__ja {
  font-family: var(--font-jp-serif);
  font-weight: 400;
  font-size: var(--fs-section-ja);
  letter-spacing: 0.1em;
  color: var(--color-text);
}
.section-header__divider {
  width: 36px;
  height: 1px;
  background: var(--color-accent);
  margin: 24px auto 0;
}

/* ━━━ Common Button ━━━ */
.btn {
  display: inline-block;
  font-family: var(--font-jp-sans);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-border);
  padding: 12px 36px;
  transition: all 0.3s ease;
}
.btn:hover {
  background: #f5f5f5;
  color: var(--color-text);
  border-color: #ccc;
}
.btn-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ━━━ Badge ━━━ */
.badge {
  display: inline-block;
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xxs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ====================================================
   1. Plan Header
   ==================================================== */
.plan-header {
  text-align: center;
  margin-bottom: 48px;
}
.plan-header__price {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.04em;
  color: var(--color-text);
  line-height: 1;
  margin-top: 8px;
}
.plan-header__price-tax {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 300;
  color: var(--color-text-light);
  margin-left: 4px;
}
.plan-header__divider {
  width: 36px;
  height: 1px;
  background: var(--color-accent);
  margin: 28px auto;
}
.plan-header__desc {
  font-family: var(--font-jp-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}
.plan-header__desc p + p {
  margin-top: 0.8em;
}

/* ━━━ Highlights (3 icons) ━━━ */
.plan-highlights {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}
.highlight-item {
  flex: 1;
  text-align: center;
}
.highlight-item__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  color: var(--color-accent);
}
.highlight-item__label {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xxs);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.highlight-item__value {
  font-family: var(--font-jp-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

/* ━━━ Details Table (2-col) ━━━ */
.plan-details {
  margin-bottom: 40px;
}
.plan-details__row {
  display: flex;
  border-bottom: 1px solid var(--color-border-light);
}
.plan-details__cell {
  display: flex;
  align-items: baseline;
  padding: 16px 0;
  flex: 1;
}
.plan-details__cell + .plan-details__cell {
  margin-left: 32px;
}
.plan-details__key {
  min-width: 100px;
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.plan-details__val {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

/* ━━━ Present ━━━ */
.plan-present {
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid var(--color-border-light);
}
.plan-present__title-en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
}
.plan-present__title-ja {
  font-family: var(--font-jp-serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.plan-present__highlights {
  display: flex;
  justify-content: space-around;
  margin-bottom: 24px;
  padding: 20px 0;
}
.plan-present__highlights .highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.plan-present__highlights .highlight-item__label {
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
}
.plan-present__note {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.9;
  text-align: left;
  max-width: 540px;
  margin: 0 auto;
}

/* ====================================================
   2. Features List
   ==================================================== */
.feature-list {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}
.feature-list li {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: 0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.feature-list li:first-child {
  border-top: 1px solid var(--color-border-light);
}
.feature-list__num {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  min-width: 20px;
  text-align: right;
}

/* ====================================================
   3. Notes List (Before You Book)
   ==================================================== */
.note-list {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
}
.note-list li {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-small);
  font-weight: 300;
  color: var(--color-text-light);
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.note-list li:first-child {
  border-top: 1px solid var(--color-border-light);
}
.note-list__num {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  flex-shrink: 0;
  min-width: 20px;
  text-align: right;
}

/* ====================================================
   4. Options Price List
   ==================================================== */
.option-list {
  max-width: 560px;
  margin: 0 auto;
}
.option-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.option-item:first-child {
  border-top: 1px solid var(--color-border-light);
}
.option-item__name {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--color-text);
}
.option-item__price {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text);
  white-space: nowrap;
  margin-left: 24px;
  flex-shrink: 0;
}
.option-item__price .yen {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 300;
}
.option-item__price .unit {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xxs);
  font-weight: 300;
  color: var(--color-text-muted);
  margin-left: 2px;
}

/* ====================================================
   5. Plan Comparison Table
   ==================================================== */
.comp-table {
  width: 100%;
  border-collapse: collapse;
}
.comp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.comp-table thead th {
  padding: 20px 12px 16px;
  font-weight: 400;
  vertical-align: bottom;
  text-align: center;
  border-bottom: 2px solid var(--color-border);
}
.comp-table thead th:first-child {
  border-bottom-color: transparent;
}
.comp-table thead th.is-highlight {
  background: var(--color-highlight);
  border-bottom: 2px solid var(--color-accent);
  border-radius: 8px 8px 0 0;
}
.th-plan-name {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.comp-table td:first-child,
.comp-table th:first-child {
  white-space: nowrap;
  text-align: left;
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  padding-right: 16px;
}
.comp-table tbody tr {
  border-bottom: 1px solid var(--color-border-light);
}
.comp-table tbody td {
  padding: 18px 12px;
  text-align: center;
  font-family: var(--font-jp-sans);
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--color-text);
  vertical-align: middle;
  white-space: nowrap;
}
.comp-table tbody td.is-highlight,
.comp-table tfoot td.is-highlight {
  background: var(--color-highlight);
}
.price-value {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 20px;
}
.price-yen {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-xs);
  font-weight: 300;
}

/* ====================================================
   6. Flow Steps
   ==================================================== */
.plan-flow {
  margin: 60px auto 32px;
  max-width: 800px;
  width: calc(100% - 40px);
}
.plan-flow__title {
  text-align: center;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.flow-steps {
  display: flex;
  justify-content: center;
  gap: 0;
}
.flow-step {
  flex: 1;
  max-width: 180px;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -8px;
  width: 16px;
  height: 1px;
  background: var(--color-border);
}
.flow-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-muted);
}
.flow-step-title {
  font-family: var(--font-jp-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.flow-step-desc {
  font-family: var(--font-jp-sans);
  font-weight: 200;
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ====================================================
   7. Other Plans CTA Cards
   ==================================================== */
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cta-card {
  padding: 20px 20px 24px;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.cta-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.cta-card__badge-wrap {
  text-align: center;
  margin-bottom: 16px;
}
.cta-card__badge {
  display: inline-block;
  font-family: var(--font-jp-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 16px;
  border-radius: 3px;
}
.cta-card__en {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 4px;
}
.cta-card__ja {
  font-family: var(--font-jp-serif);
  font-weight: 400;
  font-size: var(--fs-body);
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 20px;
}
.cta-card__desc {
  font-family: var(--font-jp-sans);
  font-size: var(--fs-small);
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 2;
  text-align: left;
  margin-bottom: 28px;
}
.cta-card__btn-wrap {
  text-align: center;
}
