/* LINEオープンチャット「みつきのNISA攻略部屋」ハブ（/nisa-openchat/・page-nisa-openchat.php）
   公式LINEではなくオープンチャットだと一目で分かるように、LINEの緑のボタンとトークルーム風の見本を使う。
   LINE のロゴ画像は使わない（吹き出しアイコンは自前の SVG）。 */
body:has(.noc-page) { background:#f4f7f5; color:#222; }
body:has(.noc-page) .money-header { position:relative; }
body:has(.noc-page) .oc-bottom-nav { display:none; }
.noc-page { --noc-green:#06c755; --noc-green-dark:#05a648; --noc-ink:#1f2a24; --noc-dim:#5d6b63; --noc-line:#dfe7e2;
	font-size:16px; line-height:1.8; padding-bottom:88px; }
.noc-page * { box-sizing:border-box; }
.noc-page p { margin:0; }
.noc-icon { width:1.15em; height:1.15em; flex:none; }
.noc-pc { display:none; }
.noc-pc-only, .noc-qr.noc-pc-only { display:none; }

/* hero */
.noc-hero { background:linear-gradient(180deg,#e7f8ee 0%,#f4f7f5 100%); padding:32px 20px 28px; text-align:center; }
.noc-hero__inner { max-width:640px; margin:auto; }
.noc-kind { display:inline-flex; align-items:center; gap:6px; background:var(--noc-green); color:#fff; font-weight:700; font-size:13px;
	letter-spacing:.04em; padding:5px 12px; border-radius:999px; }
.noc-kind--center { margin:0 auto; }
.noc-title { font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif; font-weight:900; font-size:clamp(30px,8vw,44px);
	line-height:1.35; color:var(--noc-ink); margin:14px 0 12px; }
.noc-lead { color:var(--noc-dim); font-size:15px; }
.noc-benefits { list-style:none; counter-reset:noc-benefit; padding:0; margin:16px 0 0; display:grid; gap:8px; text-align:left; }
.noc-benefits li { counter-increment:noc-benefit; position:relative; background:#fff; border:1px solid var(--noc-line); border-radius:12px;
	padding:10px 12px 10px 44px; margin:0; }
.noc-benefits li::before { content:counter(noc-benefit); position:absolute; left:12px; top:11px; width:24px; height:24px; border-radius:50%;
	background:var(--noc-green); color:#fff; font-weight:800; font-size:13px; line-height:24px; text-align:center; }
.noc-benefits__what { font-weight:800; font-size:15px; line-height:1.5; color:var(--noc-ink); }
.noc-benefits__change { font-size:13px; line-height:1.6; color:var(--noc-dim); margin-top:2px !important; }
.noc-chips { list-style:none; padding:0; margin:18px 0 22px; display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.noc-chips li { background:#fff; border:1px solid #bfe9cf; color:#0d6b37; font-weight:700; font-size:13px; padding:4px 12px; border-radius:999px; }
.noc-chips li::before { content:'✓ '; }

/* join button */
.noc-cta { display:flex; flex-direction:column; align-items:center; gap:8px; }
.noc-cta--mid { margin-top:28px; }
.noc-join { display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; max-width:360px;
	background:var(--noc-green); color:#fff !important; text-decoration:none !important; font-weight:800; font-size:17px;
	padding:15px 22px; border-radius:999px; box-shadow:0 4px 0 var(--noc-green-dark); transition:transform .08s, box-shadow .08s; }
.noc-join:active { transform:translateY(3px); box-shadow:0 1px 0 var(--noc-green-dark); }
.noc-join .noc-icon { width:22px; height:22px; color:#fff; }
.noc-join .noc-icon circle { fill:var(--noc-green); }
.noc-cta__note { font-size:12px; color:var(--noc-dim); }
.noc-qr { margin-top:20px; display:flex; flex-direction:column; align-items:center; gap:6px; }
.noc-qr img { width:148px; height:148px; border-radius:12px; background:#fff; padding:6px; border:1px solid var(--noc-line); }
.noc-qr p { font-size:12px; color:var(--noc-dim); }

/* sections */
.noc-sec { max-width:680px; margin:0 auto; padding:28px 20px 8px; }
.noc-sec--last { padding-bottom:40px; }
.noc-h2 { font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif; font-weight:900; font-size:clamp(20px,5.4vw,24px);
	line-height:1.45; color:var(--noc-ink); margin:0 0 12px; padding:0; border:0; background:none; }
.noc-h2::before, .noc-h2::after { display:none; }
.noc-p { color:#333; margin-bottom:14px !important; }

/* talk room mock */
.noc-room { border-radius:18px; overflow:hidden; border:1px solid #c9d6e8; box-shadow:0 6px 20px rgba(30,60,90,.08); }
.noc-room__bar { display:flex; align-items:center; gap:8px; background:#273246; color:#fff; padding:10px 14px; }
.noc-room__back { font-size:22px; line-height:1; opacity:.8; }
.noc-room__name { font-weight:700; font-size:14px; flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.noc-room__tag { font-size:11px; font-weight:700; background:var(--noc-green); padding:2px 8px; border-radius:999px; }
.noc-room__body { background:#9bb6d8; padding:14px 12px 18px; display:flex; flex-direction:column; gap:12px; }
.noc-room__date { align-self:center; font-size:11px; color:#fff; background:rgba(0,0,0,.22); padding:2px 10px; border-radius:999px; }
.noc-msg { display:flex; gap:8px; align-items:flex-start; }
.noc-msg__avatar, .noc-profile__avatar { flex:none; width:36px; height:36px; border-radius:50%; background:#1f7a66; color:#fff;
	display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; }
.noc-msg__main { min-width:0; max-width:calc(100% - 52px); }
.noc-msg__name { display:block; font-size:11px; color:#fff; margin:0 0 3px 4px; }
.noc-bubble { position:relative; background:#fff; border-radius:16px; padding:10px 13px; font-size:14px; line-height:1.65; color:#222; }
.noc-bubble::before { content:''; position:absolute; left:-6px; top:10px; border:7px solid transparent; border-right-color:#fff; border-left:0; }
.noc-bubble p + p { margin-top:8px; }
.noc-bubble__title { font-weight:700; }
.noc-bubble__note { font-size:12px; color:#666; }

/* three kinds */
.noc-kinds { display:grid; gap:10px; margin-top:20px; }
.noc-kinds__item { background:#fff; border:1px solid var(--noc-line); border-left:4px solid var(--noc-green); border-radius:12px; padding:12px 14px; }
.noc-kinds__when { font-size:12px; font-weight:700; color:#0d6b37; }
.noc-kinds__what { font-weight:800; font-size:16px; margin:2px 0 4px !important; }
.noc-kinds__desc { font-size:14px; color:#444; line-height:1.7; }

/* profile */
.noc-profile { display:flex; gap:14px; background:#fff; border:1px solid var(--noc-line); border-radius:16px; padding:18px 16px; }
.noc-profile__avatar { width:48px; height:48px; font-size:20px; }
.noc-profile__name { font-weight:800; font-size:17px; }
.noc-profile__name span { display:block; font-weight:500; font-size:12px; color:var(--noc-dim); }
.noc-profile__list { margin:10px 0 12px; padding-left:1.2em; font-size:15px; line-height:1.75; }

/* final */
.noc-final { background:#fff; border:2px solid var(--noc-green); border-radius:20px; padding:24px 18px; text-align:center;
	display:flex; flex-direction:column; align-items:center; gap:12px; }
.noc-final__title { font-family:'Zen Kaku Gothic New','Noto Sans JP',sans-serif; font-weight:900; font-size:22px; color:var(--noc-ink); }
.noc-disclaimer { font-size:12px; color:var(--noc-dim); line-height:1.7; margin-top:18px !important; }

/* fixed join bar */
.noc-fixed { position:fixed; left:0; right:0; bottom:0; z-index:90; padding:10px 12px calc(10px + env(safe-area-inset-bottom));
	background:rgba(255,255,255,.96); border-top:1px solid var(--noc-line); box-shadow:0 -4px 14px rgba(0,0,0,.06); }
.noc-fixed[hidden] { display:none; }
.noc-fixed__inner { max-width:640px; margin:auto; display:flex; align-items:center; gap:10px; }
.noc-fixed__label { display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:700; color:#0d6b37; white-space:nowrap; }
.noc-fixed__label .noc-icon { color:var(--noc-green); }
.noc-fixed .noc-join { flex:1; max-width:none; padding:11px 16px; font-size:15px; box-shadow:none; }

@media (min-width:800px) {
	.noc-sp { display:none; }
	.noc-pc { display:inline; }
	.noc-pc-only, .noc-qr.noc-pc-only { display:flex; }
	.noc-hero { padding:56px 20px 40px; }
	.noc-kinds { grid-template-columns:repeat(2,1fr); }
}
