/* =========================================================
   料金プラン page styles
   ========================================================= */
/* プランページは横幅を広く使う */
body .wrap { max-width: 1320px; }
.content { max-width: none; }

.trial-banner {
  background: linear-gradient(135deg, #a4713d, #8a5a30);
  color: #fff; border-radius: var(--r-lg, 22px); padding: 26px 30px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin: 0 0 26px; box-shadow: var(--shadow-sm);
}
.tb-badge {
  background: #fff; color: var(--brown); font-family: var(--jp);
  font-weight: 900; font-size: 15px; border-radius: 14px; padding: 12px 18px;
  text-align: center; line-height: 1.35;
}
.tb-badge b { display: block; font-family: var(--en); font-size: 26px; }
.tb-body h2 { font-family: var(--jp); font-weight: 800; font-size: clamp(17px, 2.4vw, 21px); margin: 0 0 4px; }
.tb-body p { font-size: 13.5px; opacity: .92; margin: 0; line-height: 1.7; }

.plan-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(195px, 1fr));
  gap: 14px; margin: 0 0 18px;
}
@media (max-width: 1020px) {
  .plan-row { display: flex; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .plan-card { flex: 0 0 240px; }
}
.plan-card {
  background: var(--card); border-radius: var(--r-lg, 22px);
  border: 1.5px solid var(--line); padding: 22px 18px 20px;
  display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--camel); }
.plan-card.reco { border: 2.5px solid var(--brown); }
.reco-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brown); color: #fff; font-family: var(--jp); font-weight: 800;
  font-size: 12px; border-radius: 99px; padding: .35em 1.3em; white-space: nowrap;
}
.pc-name { font-family: var(--jp); font-weight: 800; font-size: 16px; color: var(--ink); margin: 0 0 2px; }
.pc-sub { font-size: 11.5px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.pc-price { font-family: var(--en); font-weight: 800; font-size: 28px; color: var(--brown); margin: 0; line-height: 1; }
.pc-price small { font-size: 13px; font-weight: 700; color: var(--muted); font-family: var(--jp); }
/* 月額の右に控えめに添える日額換算（試作・スタンダードのみ）。月額より小さく・ミュート */
.pc-price .pc-daily { font-family: var(--jp); font-weight: 600; font-size: 11px; color: var(--muted); margin-left: 8px; white-space: nowrap; vertical-align: 2px; }
.pc-feats { list-style: none; margin: 16px 0 18px; padding: 14px 0 0; border-top: 1.5px dashed var(--line); display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.pc-feats li { font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: flex; gap: 7px; line-height: 1.5; }
.pc-feats li::before { content: '✓'; color: var(--correct); font-weight: 800; }
.pc-btn {
  font-family: var(--jp); font-weight: 800; font-size: 14px; cursor: pointer;
  border: none; border-radius: 99px; padding: .85em 0; text-align: center;
  background: var(--peach); color: var(--brown); transition: all .15s; text-decoration: none; display: block;
}
.pc-btn:hover { background: var(--camel); color: #fff; }
.plan-card.reco .pc-btn { background: var(--brown); color: #fff; }
.plan-card.reco .pc-btn:hover { opacity: .88; }
.plan-note {
  text-align: center; font-size: 12px; color: var(--muted); line-height: 1.9; margin: 4px 0 0;
}
.plan-note a { color: var(--brown); font-weight: 700; }

/* ===== プラン表示（準備中バッジ／鍵feat／問題数テーブル／方式B説明）===== */
.plan-card { position: relative; }
.plan-card.soon { opacity: .82; }
.soon-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--jp); font-weight: 800; font-size: 10.5px; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--camel-soft);
  border-radius: var(--r-pill); padding: .22em .7em;
}
.pc-feats li.lock { color: var(--muted); }
.pc-feats li.lock::before { content: '🔒'; color: var(--muted); font-weight: 400; }
.pc-feats li.soon::before { content: '✓'; color: var(--camel); }
.feat-soon {
  font-size: 10px; font-weight: 700; color: var(--brown); background: var(--peach-2);
  border-radius: var(--r-pill); padding: .05em .55em; margin-left: 2px; white-space: nowrap;
}
.pc-btn[disabled], .pc-btn[disabled]:hover { opacity: .55; cursor: default; background: var(--paper-2); color: var(--muted); }

.method-b { background: var(--peach-2); border-radius: var(--r); padding: 16px 20px; margin: 0 0 22px; }
.method-b .mb-t { font-family: var(--jp); font-weight: 800; font-size: 15px; color: var(--ink); margin: 0 0 5px; }
.method-b .mb-p { font-size: 13px; color: var(--body); line-height: 1.85; margin: 0; }

.dl-title { font-family: var(--jp); font-weight: 800; font-size: 16px; color: var(--ink); text-align: center; margin: 30px 0 12px; }
.dl-wrap { max-width: 560px; margin: 0 auto; overflow-x: auto; }
.dl-table { width: 100%; border-collapse: collapse; font-family: var(--jp); font-size: 13.5px; }
.dl-table th, .dl-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.dl-table th { font-weight: 800; color: var(--ink); background: var(--paper-2); }
.dl-table td:first-child, .dl-table th:first-child { text-align: left; color: var(--ink-2); font-weight: 700; }
.dl-table .reco { color: var(--brown); font-weight: 800; }
.dl-table th.reco { background: var(--peach-2); }
.dl-foot { text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.8; margin: 12px 0 8px; }
