/* NISAオプチャ参加者だけの特典ページ（page-nisa-room-settei.php・2026-11-12）
   見出し・本文・注意書きはハブ（nisa-openchat.css の .noc-*）を使い、手順と画面の並べ方だけここに書く。 */
.nst-page .noc-sec .noc-p + .noc-p { margin-top:10px; }
.nst-small { font-size:12px; line-height:1.7; color:var(--noc-dim); margin-top:8px !important; }

.nst-mine { list-style:none; margin:14px 0 0; padding:0; border:1px solid var(--noc-line); border-radius:12px; background:#fff; overflow:hidden; }
.nst-mine li { display:flex; justify-content:space-between; gap:12px; padding:10px 14px; font-weight:700; font-size:15px; color:var(--noc-ink); }
.nst-mine li + li { border-top:1px solid var(--noc-line); }
.nst-mine li span { font-weight:400; font-size:13px; color:var(--noc-dim); }

.nst-steps { list-style:none; counter-reset:nst-step; margin:16px 0 0; padding:0; }
.nst-step { counter-increment:nst-step; position:relative; padding:0 0 26px 40px; }
.nst-step::before { content:counter(nst-step); position:absolute; left:0; top:0; width:28px; height:28px; border-radius:50%;
	background:var(--noc-green); color:#fff; font-weight:800; font-size:14px; line-height:28px; text-align:center; }
.nst-step::after { content:""; position:absolute; left:13px; top:34px; bottom:6px; width:2px; background:var(--noc-line); }
.nst-step:last-child::after { display:none; }
.nst-step__title { font-size:16px; line-height:1.5; font-weight:800; color:var(--noc-ink); margin:2px 0 8px; }

.nst-shots { display:flex; gap:10px; overflow-x:auto; padding:10px 0 4px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.nst-shots--one { overflow-x:visible; }
.nst-shot { flex:0 0 auto; width:min(70vw, 240px); margin:0; scroll-snap-align:start; }
.nst-shots--one .nst-shot { width:min(80vw, 280px); }
.nst-shot img { display:block; width:100%; height:auto; border:1px solid var(--noc-line); border-radius:12px; background:#fff; }

@media (min-width:768px) {
	.nst-shot { width:220px; }
	.nst-shots--one .nst-shot { width:260px; }
}

/* 画像をタップで全画面（2026-11-12 本人「スマホだと画像が小さいから全画面でも見られるように」） */
.nst-shot__open { position:relative; display:block; text-decoration:none !important; }
.nst-shot__zoom { position:absolute; right:8px; bottom:8px; background:rgba(31,42,36,.78); color:#fff; font-size:11px; font-weight:700;
	line-height:1; padding:6px 8px; border-radius:999px; pointer-events:none; }
.nst-noscroll, .nst-noscroll body { overflow:hidden; }
.nst-lightbox { width:100vw; height:100vh; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0;
	background:rgba(0,0,0,.92); color:#fff; }
.nst-lightbox[open] { display:flex; align-items:center; justify-content:center; }
.nst-lightbox::backdrop { background:rgba(0,0,0,.92); }
.nst-lightbox__img { display:block; max-width:100vw; max-height:calc(100dvh - 56px); width:auto; height:auto; touch-action:pinch-zoom; }
.nst-lightbox__close { position:absolute; top:10px; right:12px; width:44px; height:44px; border:0; border-radius:50%;
	background:rgba(255,255,255,.16); color:#fff; font-size:26px; line-height:44px; cursor:pointer; }
.nst-lightbox__nav { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:64px; border:0; border-radius:10px;
	background:rgba(255,255,255,.16); color:#fff; font-size:32px; line-height:64px; cursor:pointer; }
.nst-lightbox__nav--prev { left:6px; }
.nst-lightbox__nav--next { right:6px; }
.nst-lightbox__count { position:absolute; bottom:12px; left:0; right:0; text-align:center; font-size:13px; color:rgba(255,255,255,.85); margin:0; }

/* 楽天証券のアフィリンク（2026-11-12・PR 表記はページ上部の1行だけ） */
/* 消費者庁 Q&A（ステマ規制 Q13）＝冒頭の表示も文字の大きさ・色で明瞭かを見る→本文と同じ濃さ・枠で囲む */
/* 2026-11-24 本人「仰々しいから『PR』だけで控えめに」＋「PR浮いてない？」
   ＝リード文の下に単独で置くと浮くので、本文の幅の右上（ラベルと同じ高さ）に小さく置く（中央揃えの流れから外す） */
.nst-page .noc-hero__inner { position:relative; }
.nst-disclose { position:absolute; top:6px; right:0; margin:0 !important; font-size:11px; font-weight:400; line-height:1;
	color:var(--noc-dim); letter-spacing:.05em; }
/* リード文の最後の1〜2文字だけが次の行に落ちないように */
.nst-page .noc-lead { text-wrap:pretty; }
.nst-aff-link { color:var(--noc-ink); font-weight:700; text-decoration:underline; }
.nst-aff { margin-top:18px; text-align:center; }
.nst-aff__btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; max-width:360px;
	background:#ff8a1f; color:#fff !important; text-decoration:none !important; font-weight:800; font-size:16px;
	padding:14px 20px; border-radius:999px; box-shadow:0 4px 0 #d96f0c; }
.nst-aff__btn:active { transform:translateY(3px); box-shadow:0 1px 0 #d96f0c; }
