/* おトク page — calm, small type, thin rules */
.ok { max-width: 760px; padding-bottom: 8px; }
.crumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.ok-hd { margin: 18px 0 8px; }
.ok-hd h1 { font-size: clamp(22px, 5.2vw, 28px); font-weight: 700; line-height: 1.4; margin: 0; letter-spacing: .01em; }
.ok-hd p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: 8px 0 0; }

.ksteps { list-style: none; margin: 16px 0 0; padding: 0; }
.ksteps > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 24px 0; border-top: 1px solid var(--hair); }
.ksteps > li:last-child { border-bottom: 1px solid var(--hair); }
.ksteps .sn { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); padding-top: 3px; letter-spacing: .04em; }
.ksteps h2 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.5; }
.ksteps p { font-size: 14px; line-height: 1.8; margin: 6px 0 0; }
.lk { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.calc2 { margin-top: 16px; border: 1px solid var(--hair); border-radius: 12px; padding: 16px; background: var(--raised); }
.c-hd { display: flex; justify-content: space-between; align-items: baseline; }
.c-hd h3 { font-size: 15px; font-weight: 700; margin: 0; }
.c-hd .pr { font-size: 11px; color: var(--muted); }
.c-in { display: grid; gap: 6px; margin-top: 12px; }
.c-in > span:first-child { font-size: 13px; color: var(--muted); }
.ci { display: flex; align-items: center; gap: 6px; border: 1px solid #c9ccc8; border-radius: 8px; padding: 0 12px; background: var(--paper); max-width: 260px; }
.ci:focus-within { border-color: var(--ink); }
.ci span { font-family: var(--f-num); font-weight: 800; font-size: 18px; color: var(--muted); }
.ci input { border: 0; outline: 0; background: transparent; color: var(--ink); width: 100%; min-height: 46px; font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-size: 20px; font-variant-numeric: tabular-nums; }
.c-rows { list-style: none; margin: 14px 0 0; padding: 0; }
.c-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px dashed var(--hair); font-size: 14px; }
.c-rows li small { display: block; font-size: 12px; color: var(--muted); }
.c-rows b { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.c-rows .dn b { color: var(--cheap); }
.c-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--ink); }
.c-total span { font-size: 14px; font-weight: 700; }
.c-total b { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; font-size: 24px; color: var(--cheap); }
.c-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; }
.c-soon { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); border: 1px solid var(--hair); border-radius: 999px; padding: 6px 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.tags li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.ok-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; }
@media (min-width: 760px) {
  .ksteps > li { grid-template-columns: 56px minmax(0, 1fr); padding: 28px 0; }
  .ksteps .sn { font-size: 14px; }
}
.c-apply { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; border-radius: 8px; background: var(--cta); color: var(--on-cta); font-weight: 700; font-size: 15px; text-decoration: none; max-width: 360px; }
.c-fine { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
/* /rakuten-card/ */
.sec { padding: 28px 0 4px; border-top: 1px solid var(--hair); margin-top: 24px; }
.sec h2 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.sec h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.lead2 { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.fine { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; }
.exgrid { display: grid; gap: 12px; }
@media (min-width: 760px) { .exgrid { grid-template-columns: 1fr 1fr; } }
.exc { border: 1px solid var(--hair); border-radius: 12px; padding: 16px; background: var(--raised); }
.exh a { font-weight: 700; font-size: 16px; text-decoration: none; }
.exh span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.exs { margin: 8px 0 0; font-size: 13px; }
.exs b { color: var(--cheap); font-family: var(--f-num); font-weight: 800; }
.tbl { overflow-x: auto; margin-top: 8px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 0; }
.tbl table:has(thead th:nth-child(4)) { min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl thead th { font-size: 12px; color: var(--muted); font-weight: 700; }
.tbl tbody th { font-weight: 700; font-size: 13px; white-space: nowrap; }
.tbl small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.tbl .n { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl tr.hl td { background: var(--mist); }
.tbl tr.hl td.n { color: var(--cheap); }
.notes { margin: 12px 0 0; padding-left: 1.2em; font-size: 13px; line-height: 1.8; }
.dl2 { display: grid; grid-template-columns: 4em 1fr; gap: 8px 12px; margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.dl2 dt { font-weight: 700; color: var(--muted); }
.dl2 dd { margin: 0; }
.dl2 b { font-family: var(--f-num); font-weight: 800; }
.be { margin-top: 16px; padding: 14px 16px; background: var(--mist); border-radius: 10px; font-size: 14px; line-height: 1.8; }
.be p { margin: 6px 0 0; }
.ok .c-apply { margin-top: 18px; }
.ok-more { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; }
/* rakuten-card v2: less text, more visual */
.rcp .rc-hero { margin: 18px 0 4px; }
.rcp .eb { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.rcp .rc-hero h1 { font-size: clamp(26px, 7vw, 40px); font-weight: 700; line-height: 1.3; margin: 6px 0 0; }
.rcp .rc-hero h1 em { font-style: normal; font-family: var(--f-num); font-weight: 800; font-stretch: 100%; color: var(--cheap); white-space: nowrap; }
.rcp .sub { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.steps3 { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 18px 0 0; }
.steps3 li { background: var(--mist); border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.5; }
.steps3 b { display: block; font-family: var(--f-num); font-weight: 800; font-size: 20px; color: var(--muted); }
.rcp .sec { border-top: 0; margin-top: 8px; padding-top: 28px; }
.rcp .sec h2 { font-size: 20px; }
.exn { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; }
.exn span { font-size: 13px; color: var(--muted); }
.exn b { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-size: 30px; color: var(--cheap); }
.exn small { font-size: 14px; margin-left: 2px; }
.sbar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin-top: 8px; background: var(--mist); }
.sbar i, .lg i { display: block; }
.sbar .s-real, .lg .s-real { background: var(--ink); }
.sbar .s-bonus, .lg .s-bonus { background: var(--marker); }
.sbar .s-pts, .lg .s-pts { background: #f3d36b; }
.sbar .s-day, .lg .s-day { background: var(--cheap); }
.lg { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 13px; }
.lg li { display: flex; align-items: center; gap: 8px; }
.lg i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.lg b { margin-left: auto; font-family: var(--f-num); font-weight: 800; font-variant-numeric: tabular-nums; }
.lg .from { display: none; }
.pbars { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.pbars li { display: grid; grid-template-columns: 7em minmax(0, 1fr) 4.6em; align-items: center; gap: 10px; font-size: 13px; }
.pbars .pb { height: 12px; background: var(--mist); border-radius: 6px; overflow: hidden; }
.pbars .pb i { display: block; height: 100%; background: #9aa09c; border-radius: 6px; }
.pbars .hl .pb i { background: var(--cheap); }
.pbars .hl .pl, .pbars .hl b { font-weight: 700; color: var(--cheap); }
.pbars b { font-family: var(--f-num); font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.more { margin-top: 14px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.more summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "＋"; color: var(--muted); }
.more[open] summary::after { content: "−"; }
.more .notes { margin: 0 0 12px; }
.bn { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 12px; }
.bn > div:not(.plus) { flex: 1; max-width: 200px; background: var(--marker); color: var(--on-marker); border-radius: 12px; padding: 16px 8px; text-align: center; }
.bn b { display: block; font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-size: 34px; line-height: 1.1; }
.bn b small { font-size: 15px; margin-left: 2px; }
.bn span { font-size: 13px; font-weight: 700; }
.bn .plus { font-size: 22px; font-weight: 700; color: var(--muted); }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; margin-top: 12px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.ct { border: 1px solid var(--hair); border-radius: 12px; padding: 14px; background: var(--raised); scroll-snap-align: start; }
.ct.main { border-color: var(--ink); }
.face { aspect-ratio: 85.6 / 54; border-radius: 10px; background: linear-gradient(135deg, var(--mist), #e3e6e2); display: flex; align-items: flex-end; padding: 10px; }
.face span { font-size: 12px; font-weight: 700; color: var(--muted); }
.face.img { background: transparent; padding: 0; align-items: center; justify-content: center; }
.face.img img { max-width: 100%; height: auto; display: block; }
.cn { font-weight: 700; font-size: 15px; margin-top: 10px; }
.cf, .cr { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-top: 6px; }
.cf span, .cr span { color: var(--muted); }
.cf b, .cr b { font-family: var(--f-num); font-weight: 800; font-size: 16px; }
.ct.main .cr b { color: var(--cheap); }
.cw { font-size: 12px; line-height: 1.6; margin: 8px 0 0; color: var(--muted); }
.cx { font-size: 12px; margin: 4px 0 0; }
.notes.small { font-size: 12px; color: var(--muted); }
.rcp .sec.last { padding-bottom: 12px; }
.more { display: block; width: 100%; }
.face.img { aspect-ratio: auto; background: var(--paper); border: 1px solid var(--hair); }
.face.img img { width: 72%; max-width: 160px; height: auto; margin: 4px auto; }
.ct .cl { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }
