/* YOHAKU デモ購入確認画面（style.css のトークンを継承） */
.confirm-main { padding: 40px 0 56px; }

.demo-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-pink-deeper);
  border-radius: 999px;
  padding: 2px 10px;
}

.confirm-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  margin-bottom: 16px;
}

.confirm-heading {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.course-select { border: none; display: grid; gap: 10px; }

.course-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.course-option:has(input:checked) {
  border-color: var(--color-pink-deeper);
  background: var(--color-bg-soft);
}

.course-option input { accent-color: var(--color-pink-deeper); width: 18px; height: 18px; flex-shrink: 0; }

.course-body { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; flex: 1; }
.course-name { font-weight: 700; font-size: 15px; }
.course-price { font-size: 14px; color: var(--color-pink-deeper); font-weight: 700; }

.item-row { display: flex; gap: 14px; align-items: center; }
.item-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; background: var(--color-bg-alt); }
.item-name { font-weight: 700; font-size: 14.5px; line-height: 1.6; }
.item-meta { font-size: 12px; color: var(--color-text-light); line-height: 1.6; }

.confirm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.confirm-table th,
.confirm-table td { padding: 12px 4px; border-bottom: 1px solid var(--color-border); vertical-align: top; text-align: left; }
.confirm-table th { width: 38%; font-weight: 500; color: var(--color-text-light); padding-right: 10px; }
.confirm-table td strong { color: var(--color-text); }
.confirm-table .sub { display: block; font-size: 12px; color: var(--color-text-light); margin-top: 4px; }
.confirm-table tr:last-child th,
.confirm-table tr:last-child td { border-bottom: none; }

.pending {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-pink-deeper);
  border: 1px solid var(--color-pink-deep);
  border-radius: 999px;
  padding: 0 8px;
  margin-right: 6px;
  line-height: 1.7;
}

.terms-lead {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--color-text-light);
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.terms-lead strong { color: var(--color-text); }

.terms-list > div { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.terms-list > div:last-child { border-bottom: none; }
.terms-list dt { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.terms-list dd { font-size: 13px; color: var(--color-text-light); line-height: 1.7; }

.confirm-action { text-align: center; }
.action-note { font-size: 12.5px; color: var(--color-text-light); line-height: 1.7; margin-bottom: 16px; text-align: left; }
.confirm-action .btn { width: 100%; max-width: 360px; border: none; cursor: pointer; font-family: var(--font-sans); }
.back-link { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--color-pink-deeper); text-decoration: underline; text-underline-offset: 2px; }

.demo-dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: min(360px, calc(100% - 32px));
  margin: auto;
  text-align: center;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}
.demo-dialog::backdrop { background: rgba(74, 59, 53, 0.45); }
.dialog-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.dialog-body { font-size: 13.5px; color: var(--color-text-light); line-height: 1.8; margin-bottom: 20px; text-align: left; }
.demo-dialog .btn { border: none; cursor: pointer; font-family: var(--font-sans); min-width: 160px; }

.confirm-page .site-footer { padding-bottom: 40px; }

[hidden] { display: none !important; }

@media (min-width: 768px) {
  .confirm-main .container { max-width: 640px; }
  .confirm-block { padding: 24px 28px; }
}

.pending--plan {
  color: var(--color-text-light);
  border-color: var(--color-border);
  background: var(--color-bg-alt);
}

.terms-foot { font-size: 11.5px; color: var(--color-text-light); margin-top: 8px; }

.item-kana { display: block; font-size: 12px; font-weight: 500; color: var(--color-text-light); }
