@charset "UTF-8";

/* ==========================================================
   TNSB SITE STYLES
   (Global Elements, LP, Comments, Access Control)
   ========================================================== */

/* ----------------------------------------------------------
   TNSB. MEMBERSHIP のみ毎月、背景色を変化 / 背景BLK
   ---------------------------------------------------------- */
.bg_blk {
    background: #121212;
    color: #fff;
}
.bg_blk .sub--cts--wrap > .logo a .tcms--logo {
    background: url(../../images/logo/logo_tcms_wht.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
.bg_blk .sub--cts--wrap {
    border-right: 1px solid #1b1b1b;
    background: rgba(17, 17, 17, 0.8);
}
.bg_blk a, .bg_blk .sub--cts--wrap ul li a {
    color: #fff;
}
.bg_blk #loading {
    background-color: #121212;
}
.bg_blk .sub--cts--wrap ul li.tnsb a .tnsb--logo {
    background: url(../../images/ico/ico_tnsb_wht-max.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 90px;
    height: 50px;
}
.bg_blk .sub--cts--wrap ul li.monspo a .monspo--logo {
    background: url(../../images/ico/ico_monspo_wht.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 120px;
    height: 28px;
}
.bg_blk .membership--area .mypage--btn a, 
.bg_blk .membership--area .login--btn a {
    color: #5b5b5b;
}
.bg_blk .membership--area .mypage--btn a:hover, 
.bg_blk .membership--area .login--btn a:hover {
    color: #414141;
}
.bg_blk .membership--area .mypage--btn a:hover {
    color: #909090;
}
.bg_blk .membership--area .logout--btn a {
    border: 1px solid #888;
    color: #888;
}
.bg_blk .membership--area .logout--btn a:hover {
    background: #bbb;
    color: #000;
}
.bg_blk .cr-area p a {
    color: rgba(255, 255, 255, 0.36);
}
.bg_blk div#sp-icon span, 
.bg_blk div#sp-icon span:before, 
.bg_blk div#sp-icon span:after {
    background: #fff;
}


/* ----------------------------------------------------------
   TNSB / メインページ (LP Header)
   ---------------------------------------------------------- */
.tnsb-top {
    position: relative;
    overflow: hidden;
    height: 100vh;
}
.tnsb-top::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: url(../../images/tnsb/tnsb_top/top_b.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    will-change: transform;
    z-index: 0;
    transform: translate3d(0, var(--tnsb-top-parallax, 0), 0) scale(var(--tnsb-top-scale, 1));
}
.tnsb-top > * {
    position: relative;
    z-index: 1;
}
.tnsb-top .logo {
    width: 170px;
    margin: 0 auto;
    padding: 20vh 0 6vh;
}
.tnsb-top h1 {
    font-size: 3.6rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4vh;
}
.tnsb-top h1 span {
    font-size: 1.1em;
    position: relative;
    top: 0.03em;
    padding-right: 0.05em;
}
.tnsb-top .tex {
    font-size: 1.3em;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 5vh;
    font-weight: 600;
}
.tnsb-top .tex p {
    margin: .5em 0 0;
    font-size: 1em;
}
.tnsb-top .btn-area {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3vh;
}
.tnsb-top .btn-area a {
    display: inline-block;
    text-align: center;
    line-height: 1;
    min-width: 9em;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 500;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 1em 3em;
    margin: 0 1em;
}
.tnsb-top .btn-area a:nth-child(2) {
    background: #fff;
    color: #000;
}
.tnsb-top .btn-area a:hover {
    background: #fff;
    color: #000;
    border: 1px solid #000;
}
.tnsb-top .btn_add {
    text-align: center;
    text-decoration: underline;
}
.tnsb-top .btn_add:hover {
    text-decoration: none;
}
@media(max-width:444px) {
    .tnsb-top .btn-area.stay { opacity: 0; transition: ease-in-out .2s; }
    .tnsb-top .btn-area.stay.ready { opacity: 1; position: fixed; z-index: 9; width: 94%; left: 0; bottom: -170px; padding: 10px 3% 20px; transition: ease-in-out .2s; }
    .tnsb-top .btn-area.stay.ready.go { bottom: -27px; transition: ease-in-out .5s; }
}
.tnsb_add_alpha {
    margin: 3em 0 0;
    font-size: .9em;
    color: #939393;
}
.tnsb_add_alpha span {
    display: block;
    color: rgb(209, 255, 0);
    margin-bottom: 1em;
}
.tnsb_add_alpha b {
    font-family: -apple-system;
    padding-right: .1em;
}
ul.plan i {
    color: rgb(209, 255, 0);
    display: inline-block;
    margin: 0 0.4em;
}
.tnsb_add_alpha.plans span {
    display: block;
    color: #000;
    margin-bottom: 1em;
}
@media(max-width:780px) {
    .tnsb-top { height: 88vh; }
    .tnsb-top .logo { width: 140px; margin: 0 auto; padding: 16vh 0 4vh; }
    .tnsb-top .tex { line-height: 1.6; text-align: center; font-size: .9em; }
    .tnsb-top h1 { font-size: 1.8rem; }
    .tnsb-top .btn-area a { padding: 1em 2vw; margin: 0 3vw; }
}


/* ----------------------------------------------------------
   TNSB / LP Main Content (About, Plan, etc.) ★ここから復元箇所
   ---------------------------------------------------------- */

/* .iphone-popup */
.iphone-popup-overlay {
    position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 9999;
}
.iphone-popup-overlay.is-active {
    display: flex;
}
.iphone-popup-backdrop {
    position: absolute; inset: 0; background: rgba(0, 0, 0, 0.88);
}
.iphone-popup-inner {
    position: relative; max-width: min(410px, 85vw); width: 100%; z-index: 1;
}
.iphone-popup-close {
    position: absolute; top: -43px; right: 0; border: none; background: #000; font-size: 24px; cursor: pointer; color: #fff; outline: none; border-radius: 100px; padding: 0.3em; width: 40px; height: 40px; line-height: 1;
}
.iphone-popup-close:hover {
    opacity: 0.8;
}
.iphone-frame {
    position: relative; width: 100%;
}
.iphone-frame-img {
    display: block; width: 100%; height: auto; pointer-events: none;
}
.iphone-screen-img {
    display: block; width: 100%; height: auto;
}
.iphone-popup-trigger {
    display: inline; border: none; background: inherit; cursor: pointer; font-size: 0.9rem; color: #fff; border-bottom: 1px dashed; margin: 1em 0 0; padding: 0 0 .3em;
}
.iphone-popup-trigger:hover {
    border-bottom: none;
}
.iphone-screen {
    position: absolute; top: 1.2%; bottom: 1%; left: 4%; right: 4.7%; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 39px; background: #1d1d1d;
}
/* メルマガプレビュー */
.auto_bg {
    white-space: pre-line; line-height: 1.7; color: #c5cacf; padding: 10px 14px; padding: 0.5em; font-size: 0.8rem;
}
.auto_bg i{ color: #177efc; }
.mag_tit_wrap{ color: #c5cacf; line-height: 1.2em; }
.mag_tit {
    padding: 2.6em 0 0.6em 0.4em; font-size: 1.2rem; font-weight: 600; border-bottom: 4px solid #000; margin-bottom: 0.6em;
}
.mag_tex_area{ padding: 0 0.4em; position: relative; }
.mag_tex_area p:nth-child(1){ color: #c5cacf; }
.mag_tex_area p:nth-child(1) i{ color: #177efc; font-size: 0.7em; }
.mag_tex_area p:nth-child(2) {
    position: absolute; right: 0.7em; top: .1em; font-size: 0.7em; text-align: right; color: #888;
}
@media(max-width:736px){
    .auto_bg { font-size: 0.7rem; }
}

/* プラン別背景色 */
.plan-free{background: #ccc;}
.plan-guest{background: #f0f0f0;}
.plan-paid{background: #dce8ff;}

/* .tnsb wrapper */
.tnsb{ max-width: 800px; }
.tnsb .logo--area{ margin: 10vw 0 20px; }
.tnsb .logo--area img{
    width: 300px; margin: 0 auto 10px; transform: scale(1.2); transition: transform 1s ease-in-out;
}
.tnsb .logo--area--h1 {
    text-align: center; font-weight: 600; padding: 0.6em 0; font-size: 1.5em;
}
.tnsb .btn--area{
    display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; margin-bottom: 160px;
}
.tnsb .btn--area a{
    display: inline-block; background: #000; color: #fff; border: 2px solid #000; text-align: center; padding: 1em 2em; margin: 0 1em; line-height: 1; min-width: 9em; border-radius: 50px; font-size: 1.1em
}
.tnsb .btn--area a:nth-child(1){ background: #fff; color: #000; }
.tnsb .btn--area a:hover{ background: #fff; color: #000; }

.tnsb .about--text{ font-size: 1.1em; }
.tnsb .about--text p{ margin-bottom: 1em; }
.tnsb .about--text p.tit{ font-size: 1.4em; font-weight: 600; }

.tnsb ul.contents li:before{ content: '●'; color: #eaff62; margin-right: .5em; }
.tnsb ul.contents li{ line-height: 1em; margin-bottom: 1.5em; font-family: -apple-system; }
.tnsb ul.contents .cs{ opacity: .7; font-size: 0.9em; }

/* プランリスト */
.tnsb ul.plan{ border:1px solid #ccc; border-radius: 10px; margin: 2em 0 0; }
.tnsb ul.plan li{ display: flex; flex-direction: row; flex-wrap: wrap; font-size: 1.1em; }
.tnsb ul.plan li br{ display: contents; }
.tnsb ul.plan li br:after{ content: '｜'; }
.tnsb ul.plan li p:nth-child(odd) { width: 72%; padding: 3% 4%; }
.tnsb ul.plan li p:nth-child(even) { width: 12%; padding: 3% 4%; }
.tnsb ul.plan li p span{ font-size: 0.8em; display: block; }
.tnsb ul.plan li p span span{ display: inline; }
.tnsb ul.plan li p span span:before{ content: ' ｜ '; }
.tnsb ul.plan li p:nth-child(2) { text-align: right; position: relative; top: .8em; }
.tnsb ul.plan li:nth-child(1), .tnsb ul.plan li:nth-child(2){ border-bottom: 1px solid #ccc; }

/* 特典アイコン */
.tnsb--ico--wrap{ display: flex; flex-direction: row; flex-wrap: wrap; }
.tnsb--ico--wrap .tnsb--ico--box{
    width: 24%; height: 180px; background-color: #1f1f1f; color: #fff; margin-right: 1.33%; margin-bottom: 1.33%; border-radius: 3px; text-align: center; position: relative; background-size: 60px; background-repeat: no-repeat; background-position: top 40px center; transition: ease-in-out .2s; box-sizing: border-box;
}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(1){background-image: url(../../images/tnsb/ico/ico_letter-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(2){background-image: url(../../images/tnsb/ico/ico_file-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(3){background-image: url(../../images/tnsb/ico/ico_radio-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(4){background-image: url(../../images/tnsb/ico/ico_tv-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(5){background-image: url(../../images/tnsb/ico/ico_book-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(6){background-image: url(../../images/tnsb/ico/ico_ticket-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(7){background-image: url(../../images/tnsb/ico/ico_bag-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(8){background-image: url(../../images/tnsb/ico/ico_tcms-wht.png);}
.tnsb--ico--wrap .tnsb--ico--box:nth-child(4), .tnsb--ico--wrap .tnsb--ico--box:nth-child(8){ margin-right: 0; }
.tnsb--ico--wrap .tnsb--ico--box p{ position: absolute; bottom: 25px; left: 0; right: 0; margin: auto; line-height: 1.4; }

/* カードエリア */
.tnsb .card_area{ position: relative; width: 100%; height: 201px; margin-bottom: 20px; }
.tnsb .card_area img{ position: absolute; width: 351px; height: auto; left: 0; top:0; transition: left 0.5s ease; }
.tnsb .card_area img.c1{ left: 0; z-index: 3; }
.tnsb .card_area img.c2{ left: 10px; z-index: 2; }
.tnsb .card_area img.c3{ left: 20px; z-index: 1; }
.tnsb .card_area img.c1:hover + img.c2 { left: 80px; }
.tnsb .card_area img.c1:hover + img.c2 + img.c3 { left: 160px; }
.tnsb .card_area img.c2:hover{ left: 160px; }
.tnsb .card_area img.c2:hover ~ img.c3 { left: 180px; }
.tnsb .card_area img.c3:hover{ left: 190px; }

/* SP / スクロール後にボタンの位置を制御 */
@media(max-width:444px){
    .tnsb .btn--area.stay{ opacity: 0; transition: ease-in-out .2s; }
    .tnsb .btn--area.stay.ready{ opacity: 1; position: fixed; z-index: 9; width: 94%; left: 0; bottom: -170px; padding: 10px 3% 20px; transition: ease-in-out .2s; }
    .tnsb .btn--area.stay.ready.go { bottom: -83px; transition: ease-in-out .5s; background: #fff; }
}

@media(max-width:1029px){
    .tnsb--ico--wrap .tnsb--ico--box { width: 48%; height: 180px; margin: 1%; }
}

@media(max-width:780px){
    .tnsb .logo--area { margin: 50vw 0 28vw; }
    .tnsb .btn--area { margin-bottom: 20vw; }
    .tnsb .logo--area img { width: 60%; margin: 0 auto 2vw; }
    .tnsb .btn--area a { padding: 1.2em 0em; font-size: 1.1em; border-radius: 100px; width: 46%; margin: 0 1%; border: 2px solid #000; }
    .tnsb .btn--area a:nth-child(1) { border: 2px solid #000; color: #000; background: #fff; font-weight: 600; }
    .tnsb .logo--area--h1 { font-size: 1.2em; }
    .tnsb ul.contents li { line-height: 1.5em; margin-bottom: 0.7em; }
    .tnsb ul.plan li p:nth-child(odd) { width: 70%; padding: 6% 0 6% 6%; }
    .tnsb ul.plan li p:nth-child(even) { width: 18%; padding: 8% 6% 0 0; }
    .tnsb ul.plan li:last-child p:nth-child(even){ padding: 6% 6% 0 0; }
    
    .tnsb .card_area img { width: 181px; }
    .tnsb .card_area { height: 101px; }
    .tnsb .card_area img.c2:hover , .tnsb .card_area img.c2:hover ~ img.c3 , .tnsb .card_area img.c3:hover { left: 0; }
}
@media(max-width:444px){
    .tnsb ul.plan li p span span{ display: block; }
    .tnsb ul.plan li p span span:before{ content: ''; }
}

/* SP / スクロールアニメーション */
.sp--wrap{ position: relative; height: inherit; width: inherit; padding: inherit; }
.line-container {
    display: block; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 50px; overflow: hidden; border-radius: 100px;
}
.line-container_tex{
    position: absolute; bottom:8vh; display: inline-block; text-align: center; left: 0; right: 0; margin: 0 auto;
} 
.line-container .line {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; border-radius: 100px; background-color: #eaff62; transform-origin: bottom; animation: flowAnimation 2s infinite ease-in-out;
}
@keyframes flowAnimation {0% {transform: translateY(-100%);}100% {transform: translateY(100%);}}

@media(max-width:780px){
    .sp--wrap { position: relative; height: 14vh; width: 100%; padding: 30vh 0 38vh; }
    .tnsb .logo--area { margin: -50px 0 8vw; }
}


/* ----------------------------------------------------------
   TNSB / コンテンツページ・リスト (tnsb/contents, membership)
   ---------------------------------------------------------- */
.tnsb_contents-wrap .tnsb_contents-mainimg {
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 8px;
}
.tnsb_contents-wrap .tnsb_contents-mainimg img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
    transform: scale(1);
    filter: brightness(100%);
}
.tnsb_contents-wrap .tnsb_contents-mainimg:hover img {
    transform: scale(1.05);
    filter: brightness(90%);
}
.tnsb_contents-wrap ul.update li {
    border-bottom: 1px solid rgba(1, 0, 0, 0.10);
}
.tnsb_contents-wrap ul.update li .flex-wrap {
    display: flex;
    justify-content: flex-end;
    flex-direction: row-reverse;
    position: relative;
    font-size: 1.1em;
    padding: 20px 0;
}
.update .img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
@media(max-width:736px) {
    .tnsb_contents-wrap ul.update li .flex-wrap { padding: 24px 0; }
}
.tnsb_contents-wrap ul.update li .img { width: 40vw; }
.tnsb_contents-wrap ul.update li .tex { width: calc(100%); font-size: 1.1em; }
.tnsb_contents-wrap ul.update li span.date { font-size: .8em; position: relative; }
.tnsb_contents-wrap ul.update li span.tit { font-size: 1.1em; width: calc(100% - 1.6em); display: block; line-height: 1.5; }
.tnsb_contents-wrap ul.update li span.cat { text-align: center; border-radius: 100px; font-size: .7em; line-height: 1; padding: 0.5em 1em .3em; border: 1px solid #000; display: inline-block; margin-top: 10px; background: #fff; }

.update > details summary {
    display: flex;
    align-items: center;
    font-size: 2em;
    padding: 6px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    cursor: pointer;
    font-family: Avenir Next;
    font-weight: bold;
    -webkit-text-stroke: 1px #333;
    -webkit-background-clip: text;
    color: #fff;
    letter-spacing: -0.01em;
    list-style: none;
}
.update > details summary::-webkit-details-marker { display: none; }
.update > details { position: relative; }
.update > details:before {
    content: '▽';
    position: absolute;
    right: 0em;
    top: 1.4em;
    font-size: 1em;
}
.update > details[open]:before { content: '△'; }
@media(max-width:736px) {
    .update > details:before { top: 1.6em; }
}
.tnsb_contents-wrap ul.update details:first-of-type:before { content: ''; }

@media(max-width:780px) {
    .tnsb_contents-wrap ul.update li { font-size: 1.1em; font-weight: 600; padding: 0; }
    .tnsb_contents-wrap ul.update li span.date { margin-right: 0; }
    details summary { font-size: 1.7em; }
    .tnsb_contents-wrap ul.update li span.tit { font-size: 1em; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 2; text-overflow: ellipsis; }
    .tnsb_contents-wrap ul.update li .img { width: 100vw; }
    .tnsb_contents-wrap ul.update li .tex { font-size: .9em; }
    .tnsb_contents-wrap ul.update li span.cat { font-size: .8em; padding: 0.5em 0.9em 0.5em; font-weight: 600; }
}
@media(max-width:444px) {
    .tnsb_contents-wrap .tnsb_contents-mainimg { width: 110%; position: relative; left: -5%; margin-top: -30px; border-radius: 0; }
    .tnsb_contents-wrap ul.update li .flex-wrap { flex-direction: column; }
    .tnsb_contents-wrap ul.update li .img { width: 92vw; }
}




/* ----------------------------------------------------------
   TNSB / 非会員の閲覧制御 (Access Control)
   ---------------------------------------------------------- */
.tnsb_key { position: relative; display: block; }
.tnsb_key img { transform: scale(1); }
.tnsb_key .tit_16_9 { opacity: .35; }
.tnsb_key img:hover { transform: scale(1); }
.tnsb_key:before {
    content: ''; display: block; width: 50px; height: 50px; position: absolute; top: 0; left: 0; bottom: 0; right: 0; text-align: center; z-index: 9; margin: auto; opacity: .8; border-radius: 100px; background-color: rgba(0, 0, 0, 0.6);
}
.bg_blk .tnsb_key:before { background-color: #222; }
.tnsb_key:after {
    content: ''; display: block; background-size: contain; width: 16px; height: 16px; 
    background-image: url(../../images/ico/ico_key_wht.png); 
    position: absolute; top: 0; left: 0; bottom: 0; right: 0; z-index: 10; margin: auto;
}
.tnsb_key.lime:after { 
    background-image: url(../../images/ico/ico_key_lime.png); 
}

/* 非会員トップ */
.membership-announce {
    background: #f5f5f5; text-align: center; padding: 4.2vw 0 3vw; position: relative; overflow: hidden; margin-bottom: 16px;
}
.membership-announce .logo { width: 170px; margin: 0 auto 1.6em; }
.membership-announce .logo img { transform: scale(1.2); transition: transform 1s ease-in-out; }
.membership-announce .h1 { font-weight: bold; font-size: 2.9em; margin: 0 auto .4em; }
.membership-announce .tex { margin-bottom: 1.6em; }
.membership-announce .btn { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; margin: 0 auto 1.6em; }
.membership-announce .btn a { text-align: center; width: 9em; background: #fff; margin: 0 1em; line-height: 1; padding: 1em 2em; border-radius: 10em; border: 1px solid #000; }
.membership-announce .btn a:hover { background: #000; color: #fff; }
.membership-announce .btn-tex a { text-decoration: underline; }
.membership-announce .btn-tex a:hover { text-decoration: none; }
.membership-announce__bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-position: center center; background-size: cover; filter: grayscale(100%) blur(6px); transform: scale(1.05); z-index: 1; opacity: .5;
}
.membership-announce__inner { position: relative; z-index: 2; text-align: center; }

@media(max-width:444px) {
    .membership-announce { padding: 10vw 0 7vw; width: 102vw; position: relative; left: -5vw; }
    .membership-announce .logo { width: 140px; }
    .membership-announce .h1 { font-size: 4.6vw; line-height: 2; }
    .membership-announce .btn a { width: 8em; margin: 0 0.3em; padding: 1em 1em; }
}

/* ログアウト状態の画面 */
.tnsb_key_screen { font-size: .9em; opacity: 1; text-align: center; }
.tnsb_key_screen img { width: 180px; margin: 35vh auto 1em; }
.tnsb_key_screen p.tit { font-size: 1.2em; font-weight: 600; margin-bottom: .3em; }
.tnsb_key_screen p span { font-size: 1em; display: block; background: #000; width: 11em; margin: 1em auto; border-radius: 100px; line-height: 1; padding: 1em; }
.tnsb_key_screen a { color: #fff !important; }
.tnsb_key_screen p span:hover { background: #cacaca; }
.tnsb_key_screen .blk-img { display: block; }
.tnsb_key_screen .wht-img { display: none; }
.bg_blk .tnsb_key_screen .blk-img { display: none; }
.bg_blk .tnsb_key_screen .wht-img { display: block; }
.bg_blk .tnsb_key_screen p span { background: #fff; }
.bg_blk .tnsb_key_screen p span a { color: #000 !important; }
.bg_blk .tnsb_key_screen p span:hover { background: #b3b3b3; }

/* 簡易ポップアップ */
.overlay { opacity: 0; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: -1; backdrop-filter: blur(2px); }
.overlay.on { opacity: 1; z-index: 9999; }
.popup-trigger:hover { cursor: pointer; }
.popup-trigger img { filter: grayscale(100%); }
.popup { opacity: 0; position: fixed; width: 400px; height: 260px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #000; text-align: center; padding: 40px; border-radius: 10px; box-shadow: 0 0 29px rgba(0, 0, 0, 0.1); z-index: -1; }
.popup.on { opacity: 1; z-index: 9999; }
.popup p { margin-bottom: 15px; }
.popup p.img { width: 170px; margin: 0 auto 10px; }
.popup p.tit { font-size: 1em; font-weight: 600; }
.popup p { font-size: .9em; }
#closeBtn { background: #fff; width: 40%; margin: 0 auto; text-align: center; border-radius: 100px; line-height: 1em; padding: 0.9em 0; cursor: pointer; font-size: 1em; border: 2px solid #000; color: #000; font-weight: 600; margin-right: .5em; }
a.openBtn { border: 2px solid #000; line-height: 1; padding: 1em 0; width: 40%; display: inline-block; border-radius: 100px; background: #000 !important; margin-left: .5em; color: #fff !important; font-size: .9em; }
#closeBtn:hover, a.openBtn:hover { opacity: .567; }
.free_plan img { filter: inherit; }
.popup-trigger.free_plan .tnsb_key img, .tnsb_key.free_plan img { opacity: 1; }
.none_plan img { filter: grayscale(100%); }
@media(max-width:780px) {
    .popup { width: 70%; height: auto; padding: 6%; }
    .popup p.img { width: 40%; margin: 10px auto 10px; }
    .tnsb_key_screen img { width: 160px; margin: 28vh auto 1em; }
}


/* ----------------------------------------------------------
   TNSB / コメント機能 (Comments)
   ---------------------------------------------------------- */
.tnsb-comments { max-width: 720px; margin: 0 auto; padding: 24px 0; }
.tnsb-comments__title { font-size: 20px; letter-spacing: .06em; margin: 0 0 16px; font-weight: 700; }
.tnsb-commentlist { list-style: none; margin: 0; padding: 0; }
.tnsb-comment { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.tnsb-comment:last-child { border-bottom: none; }
.tnsb-comment__avatar img { width: 42px; height: 42px; border-radius: 9999px; display: block; border: none; }
.tnsb-comment__body { flex: 1; min-width: 0; }
.tnsb-comment__meta { font-size: 13px; color: #666; align-items: center; gap: 6px; }
.tnsb-comment__author { font-weight: 700; color: #111; }
.tnsb-comment__content { font-size: 1em; line-height: 1.7; word-break: break-word; }
.tnsb-comment__time { font-size: 0.9em; color: rgba(0, 0, 0, 0.4); letter-spacing: 0; text-align: left; }
.tnsb-commentform { margin-top: 16px; padding-top: 8px; }
.tnsb-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; outline: none; }
.tnsb-field textarea:focus { border-color: #999; }
.tnsb-btn { display: inline-block; margin-top: 12px; padding: 10px 16px; border-radius: 8px; border: 0; background: #2383e2; color: #fff; font-weight: 700; cursor: pointer; }
.tnsb-btn:hover { filter: brightness(0.95); }
.comment-notes, .form-allowed-tags, .comment-form-author, .comment-form-email, .comment-form-url { display: none; }
.comments-area:not(.tnsb-comments) { display: none !important; }

/* コメントリスト（横並び） */
.tnsb-latest-comments { list-style: none; margin: 0; padding: 0; }
.tnsb-latest-comments .tnsb-comment { padding: 14px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
.tnsb-latest-comments .tnsb-comment:last-child { border-bottom: none; }
.tnsb-latest-comments .tnsb-comment__link { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; color: inherit; }
.tnsb-latest-comments .tnsb-comment__avatar img { width: 42px; height: 42px; border-radius: 9999px; border: none; display: block; object-fit: cover; flex-shrink: 0; }
.tnsb-latest-comments .tnsb-comment__body { flex: 1; min-width: 0; }
.tnsb-latest-comments .tnsb-comment__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(0, 0, 0, 0.6); line-height: 1; margin-bottom: 6px; }
.tnsb-latest-comments .tnsb-comment__author { font-weight: 700; color: #111; }
.tnsb-latest-comments .tnsb-comment__time { color: rgba(0, 0, 0, 0.4); }
.tnsb-latest-comments .tnsb-comment__content { line-height: 1.7; word-break: break-word; }

/* アバターぼかし処理 */
.tnsb-comment__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; position: relative; border: 1px solid var(--tnsb-avatar-ring, #e7e7e7); background: #fff; }
.tnsb-comment__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border: none; filter: none; }
.inner--cts--wrap.tnsb_key_opacity .tnsb-comment__avatar img, .tnsb-latest-comments.is-guest .tnsb-comment__avatar img { filter: grayscale(100%) blur(4px); }
.inner--cts--wrap.free_plan .tnsb-comment__avatar img, .tnsb-latest-comments.is-free .tnsb-comment__avatar img { filter: blur(4px); }
.inner--cts--wrap:not(.tnsb_key_opacity):not(.free_plan) .tnsb-comment__avatar img, .tnsb-latest-comments.is-paid .tnsb-comment__avatar img { filter: none; }

/* MP3ページでのコメント */
.mp3-comment-wrap { margin-bottom: 80px; }
.mp3-comment-wrap .tnsb-comment__author { color: #fff; }
.mp3-comment-wrap .tnsb-field textarea { border: 1px solid #494949; background: #282828; color: #fff; }
.mp3-comment-wrap .tnsb-comments { max-width: 1000px; margin: 0 auto; padding: 24px 0; }
.mp3-comment-wrap .tnsb-comment { border-bottom: 1px solid #444; }
@media(max-width:736px) { .mp3-comment-wrap { margin-bottom: 0px; } .tnsb-field textarea { width: 92%; } }

/* コメント新着切り替え */
.tnsb-comments-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tnsb-comment-toggle { display: flex; gap: 0; background: #f5f5f5; border-radius: 6px; padding: 3px; position: relative; bottom: -30px; }
.tnsb-toggle-btn { padding: 8px 16px; border: none; background: transparent; color: #666; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; }
.tnsb-toggle-btn:hover { color: #333; }
.tnsb-toggle-btn.active { background: #fff; color: #000; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
@media (max-width: 768px) {
    .tnsb-comments-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tnsb-comment-toggle { width: 100%; justify-content: center; position: inherit; bottom: inherit; }
    .tnsb-toggle-btn { flex: 1; padding: 10px 12px; }
}


/* ----------------------------------------------------------
   TNSB / 追加CSS (Extra & UI Components)
   ---------------------------------------------------------- */
.special_info { border: 1px solid #ccc; border-radius: 20px; margin-bottom: 40px; padding: 20px; }
.special_info .tit { font-size: 1.2em; margin-bottom: 2em; font-weight: bold; }
.special_info p { margin-bottom: 1em; }
.special_info p a { text-decoration: underline; }
.special_info p a:hover { text-decoration: none; }

/* 1st Anniv */
.anniv-wrap { text-align: center; max-width: 800px; margin: 0 auto; }
.anniv-wrap-main_box img, .anniv-wrap-main_box video { width: 100%; display: block; }
.anniv-wrap-main_box_thumbnail { margin-top: 20px; text-align: center; }
.anniv-wrap-main_box_thumbnail img { width: 50px; margin: 10px; cursor: pointer; display: inline-block; }

/* ページャー */
.post-navigation { display: flex; position: relative; margin-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.4); border-bottom: 1px solid rgba(0, 0, 0, 0.4); margin-bottom: 1.4rem; }
.post-navigation .nav-item { width: 50%; padding: 1rem 0; display: flex; flex-direction: column; }
.post-navigation .nav-previous { text-align: left; position: relative; padding-right: 1em; }
.post-navigation .nav-previous::after { content: ''; position: absolute; top: 1rem; bottom: 1rem; right: 0em; width: 1px; background-color: rgba(0, 0, 0, 0.4); }
.post-navigation .nav-next { text-align: right; position: relative; padding-left: 1em; margin-left: auto; }
.post-navigation .nav-label { font-size: 0.85em; color: rgba(0, 0, 0, 0.6); margin-bottom: 0.5rem; }
.post-navigation .nav-link { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.5; height: 3em; padding-bottom: 0; white-space: normal; font-size: 1rem; }
.post-navigation-separator { border: none; border-top: 1px solid rgba(255, 255, 255, 0.3); margin: 1.5rem 0; }
.post-navigation-buttons { display: flex; justify-content: center; gap: 2rem; }
.post-navigation-buttons .btn-all, .post-navigation-buttons .btn-top { display: inline-block; padding: 0.2em 2em; font-weight: bold; text-transform: uppercase; color: #333; text-decoration: none; border: 1px solid #333; border-radius: 9999px; transition: background-color 0.2s; }
.post-navigation-buttons .btn-all:hover, .post-navigation-buttons .btn-top:hover { background-color: #f5f5f5; }

/* お知らせ欄 */
.tnsb-info-row { display: flex; align-items: center; gap: 16px; margin: 24px 0 -1px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,.22); border-bottom: 1px solid rgba(0,0,0,.12); position: relative; }
.tnsb-info-badge { display: inline-block; font-size: .8rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1; padding: 0.4em 1em 0.4em; border: 1px solid #666; border-radius: 4px; position: relative; top: -.06em; }
.tnsb-info-date { font-size: .9rem; letter-spacing: .03em; color: #333; position: relative; top: -0.05em; white-space: nowrap; }
.tnsb-info-title { flex: 1; min-width: 0; font-size: 1em; letter-spacing: .02em; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tnsb-info-more { font-size: 12px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; color: inherit; text-decoration: none; opacity: .7; }
a.tnsb-info-title:hover, a.tnsb-info-more:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tnsb-info-badge-wrap { position: relative; display: inline-block; }
.tnsb-info-unread-badge { position: absolute; top: -9px; right: -12px; min-width: .8em; height: 1.6em; padding: 0 .45em; background: #db1533; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.6em; text-align: center; pointer-events: none; border: 2px solid #fff; }
@media (max-width: 768px) {
    .tnsb-info-row { flex-wrap: wrap; gap: 10px 14px; padding: 12px 0; line-height: 1.6; }
    .tnsb-info-title { flex-basis: 100%; order: 4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; text-overflow: ellipsis; }
    .tnsb-info-more { margin-left: auto; }
}

/* フローティングボタン */
.tnsb-talkroom-btn { position: fixed; right: 20px; bottom: 72px; z-index: 9; width: 44px; height: 44px; background: #fff; color: #111; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease; cursor: pointer; }
.tnsb-talkroom-btn:active { transform: scale(0.95); }
.tnsb-odayori-btn { position: fixed; right: 20px; bottom: 126px; z-index: 9; width: 44px; height: 44px; background: #111; color: #fff; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease; cursor: pointer; }
.tnsb-odayori-btn:active { transform: scale(0.95); }
@media (max-width: 736px) {
    .tnsb-talkroom-btn { right: 3%; bottom: 66px; }
    .tnsb-odayori-btn { right: 3%; }
}

/* メンバーリスト (Discord風) */
.tnsb-member-toggle { 
    position: fixed; 
    top: -1000px; /* 画面外へ飛ばして非表示にする（base.css準拠） */
    z-index: 999; 
}
.tnsb-member-aside { position: fixed; inset: 0 0 0 auto; width: 240px; transform: translateX(100%); transition: transform .25s ease; background: #fff; z-index: 1000; display: flex; flex-direction: column; border-left: 1px solid #e2e2e2; }
.tnsb-member-aside.is-open { transform: translateX(0); }
.tnsb-member-aside .tnsb-member-aside-inner { padding: 16px; height: 100%; overflow: auto; }
.tnsb-member-close { position: absolute; top: 16px; right: 16px; font-size: 17px; background: #fff; outline: none; border: 1px solid #bdbdbd; border-radius: 100px; width: 28px; height: 28px; line-height: 1em; color: #7a7a7a; }
.tnsb-member-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.tnsb-member-item { display: flex; align-items: center; gap: 10px; }
.tnsb-avatar { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; }
.tnsb-name { font-size: .9em; color: #7d7d7d; }
.tnsb-member-toggle-icon { display: block; width: 36px; height: 36px; padding: 4px; position: fixed; right: 19px; bottom: 18px; background: #fff; border-radius: 100px; border: 1px solid #d1d1d1; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.tnsb-aside-open .main--cts--wrap { margin-right: 240px; }
@media (min-width: 1025px) {
    html.tnsb-aside-open { overflow: auto; }
    .main--cts--wrap { transition: margin-right .25s ease; }
}
@media (max-width: 1024px) {
    html.tnsb-aside-open { overflow: hidden; }
    .tnsb-aside-open .main--cts--wrap { margin-right: 0; }
}
@media (max-width: 736px) {
    .tnsb-member-aside { inset: auto 0 0 0; opacity: 0; width: 100%; height: 70vh; transform: translateY(100%); border-radius: 12px 12px 0 0; box-shadow: 0 -10px 24px rgba(0,0,0,.2); }
    .tnsb-member-aside.is-open { transform: translateY(0); opacity: 1; }
    .tnsb-member-toggle-icon { width: 38px; height: 38px; padding: 3px; right: 3%; bottom: 12px; }
}

/* ==========================================================
   いいねボタン (WP ULike)
   ========================================================== */
/* 装飾リセット */
.wpulike-heart .wp_ulike_general_class {
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.wpulike {
    padding: 0 0 0 !important;
}
.wpulike-heart button.wp_ulike_btn {
    padding: 0 15px 0 10px !important;
}
.category--ulike {
    position: absolute;
    z-index: 9;
    bottom: 14px;
    right: 19px;
    z-index: 1;
}
.wpulike-heart .count-box {
    color: rgba(0, 0, 0, 0.6) !important;
}
.bg_blk .wpulike-heart .count-box {
    color: rgba(255, 255, 255, 0.6) !important;
}

.wpulike-default .wp_ulike_is_liked .wp_ulike_btn,
.wpulike-heart .wp_ulike_put_text,
.wpulike-heart button.wp_ulike_btn:hover,
.wpulike-heart button.wp_ulike_btn:focus {
    color: #757575 !important;
}

/* Responsive */
@media(max-width:780px) {
    .wpulike {
        padding: 0 0 0 !important;
    }
    .category--ulike {
        transform: scale(.8);
        bottom: 8px;
        right: -8px;
    }
}

/* ==========================================================
   コメント数表示エリア・レイアウト (Meta Items)
   ========================================================== */

/* メタ行を横並びに（ハートとコメントが同じ行に） */
.ulike {
    display: flex;
    align-items: center;
    column-gap: 4px;
    row-gap: 6px;
    flex-wrap: wrap;
    padding-top: 10px;
}
.text-cts--list-ulike .ulike {
    margin-bottom: 0;
}

/* 1アイテムの基本レイアウトを統一 */
.ulike .meta-item {
    display: inline-flex !important;
    align-items: center;
    gap: .35em;
    white-space: nowrap;
    line-height: 1;
    font-size: 14px;        /* 数字のサイズ感 */
    color: rgba(0, 0, 0, 0.6);
}

/* 数字が改行されないように */
.ulike .meta-item b {
    display: inline !important;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}
.bg_blk .ulike .meta-item b {
    color: rgba(255, 255, 255, 0.6);
}

/* コメントのアイコン（絵文字・SVG） */
.ulike .meta-comments .ico-comment-emoji {
    font-size: 20px;
    line-height: 1;
    transform: translateY(1px); /* ベースライン微調整 */
}
.ulike .meta-comments .ico {
    color: rgba(0, 0, 0, 0.2);
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.ulike .meta-comments.has-comments .ico-comment {
    color: #afe421;
}

/* ---------------------------------------
   カテゴリ・背景色による配色調整
   --------------------------------------- */
.category--ulike .ulike .meta-comments .ico-comment,
.ulike.bg-blk-mode .meta-comments .ico-comment {
    color: #676767;
}

.category--ulike .ulike .meta-comments.has-comments .ico-comment,
.ulike.bg-blk-mode .meta-comments.has-comments .ico-comment {
    color: #afe421;
}

.category--ulike .wpulike-heart .wp_ulike_put_image:after,
.ulike.bg-blk-mode .wpulike-heart .wp_ulike_put_image:after {
    opacity: .5;
}

.category--ulike .wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after,
.ulike.bg-blk-mode .wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after {
    opacity: 1;
}

/* ==========================================================
   TNSBロゴ（ヘッダー・サイドバー切り替え用）
   ========================================================== */
.logo a .tnsb--logo {
    background: url(../../images/ico/ico_tnsb_blk-max.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 90px;
    height: 50px;
}

.bg_blk .logo a .tnsb--logo,
.logo.blk a .tnsb--logo {
    background: url(../../images/ico/ico_tnsb_wht-max.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    width: 90px;
    height: 50px;
}

/* レスポンシブ調整（TNSBロゴ） */
@media(max-width:1333px) {
    .logo.add_tnsb a .tnsb--logo {
        width: 80px !important;
        height: 45px !important;
    }
}

@media(max-width:1029px) {
    .logo.add_tnsb a .tnsb--logo {
        width: 54px !important;
        height: 30px !important;
    }
}

/* ----------------------------------------------------------
   メンバーリスト (Discord風) - 完全版 (Restored from base_past.css)
   ---------------------------------------------------------- */

/* 右上トグルボタンの配置（お好みで） */
.tnsb-member-toggle { position: fixed; top: 16px; right: 16px; z-index: 1000; }

/* スライドパネル */
.tnsb-member-aside {
    position: fixed;
    inset: 0 0 0 auto;
    width: 240px;
    transform: translateX(100%); transition: transform .25s ease;
    background: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e2e2e2;
}
.tnsb-member-aside.is-open { transform: translateX(0); }
.tnsb-member-aside .tnsb-member-aside-inner { padding: 16px; height: 100%; overflow: auto; }
.tnsb-member-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 17px;
    background: #fff;
    outline: none;
    border: 1px solid #bdbdbd;
    border-radius: 100px;
    width: 28px;
    height: 28px;
    line-height: 1em;
    color: #7a7a7a;
}

/* リスト */
.tnsb-member-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.tnsb-member-item { display: flex; align-items: center; gap: 10px; }
.tnsb-avatar { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; }
.tnsb-name { font-size: .9em; color: #7d7d7d; }

/* パネル開時にページ側へ何かしたい場合 */
/* 背景スクロール抑止など */
/* html.tnsb-aside-open { overflow: hidden; }  */

/* デスクトップ：ページはスクロール可能、右側だけ押し出し運用 */
@media (min-width: 1025px){
    html.tnsb-aside-open { overflow: auto; } /* スクロール抑止しない */
    .tnsb-member-aside { overscroll-behavior: contain; } /* パネル内の慣性だけ抑える保険 */
    .main--cts--wrap { transition: margin-right .25s ease; } /* 押し出しをなめらかに（任意） */
}

/* モバイル：オーバーレイとして振る舞うので背景は止める */
@media (max-width: 1024px){
    html.tnsb-aside-open { overflow: hidden; } /* ここでのみスクロール抑止 */
    .tnsb-aside-open .main--cts--wrap { margin-right: 0; } /* モバイルは押し出さない */
}

/* ▼ パス修正済み */
.tnsb-avatar-wrap{
    width: 36px;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 100px;
    background: url(../../images/tnsb/avatar/avatar-none.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* リスト - TNSB.IN 表示 */
.tnsbin .tnsb-name { color: #6fa221;}
/* .tnsbin .tnsb-avatar-wrap{border: 1px solid #6fa221;} */

/* トグルの見た目（サイズは好みで調整） */
.tnsb-member-toggle {
    position: fixed;
    z-index: 999;
    top: -1000px; /* 画面外へ飛ばして非表示にする */
}
.tnsb-member-toggle-icon {
    display: block;
    width: 36px;
    height: 36px;
    padding: 4px;
    position: fixed;
    right: 19px;
    bottom: 18px;
    background: #fff;
    border-radius: 100px;
    border:1px solid #d1d1d1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tnsb-aside-open .main--cts--wrap{
    margin-right: 240px;
}

/* aside 内のスクロールバーを非表示にする（スクロール自体は可能） */
.tnsb-member-aside .tnsb-member-aside-inner{
    overflow-y: auto;                 /* 既存どおりスクロール可能 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;            /* Firefox */
    -ms-overflow-style: none;         /* IE/Edge (旧) */
}
.tnsb-member-aside .tnsb-member-aside-inner::-webkit-scrollbar{
    width: 0;
    height: 0;                        /* WebKit系 */
}

.tnsb-member-group-title{
    font-size: 12px; letter-spacing: .04em; color: #888;
    margin:40px 0 0px; padding: 0 4px; text-transform: none;
}
.tnsb-member-group + .tnsb-member-group{ margin-top: 12px; }
.tnsb-member-item.is-offline{ opacity:.5; }

/* オフラインの人数を非表示にする */
.tnsb-member-group.tnsb-group-offline .tnsb-member-group-title .tnsb-count{
    /* display: none; */
}

.tnsb-member-group-title .tnsb-count:before {
    content: '─';
    font-size: 0.6em;
    position: relative;
    top: -0.2em;
    padding-right: 0.7em;
}
.tnsb-member-group-title .tnsb-count{
    margin-left: .4em; font-size: 12px; color: #666;
}

.tnsb-member-foot{
    margin: 14px 8px 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-size: .8em;
    letter-spacing: .08em;
    color: #888;
}

/* スマホ：下から上にスライド表示 */
@media (max-width:736px){
    /* パネルを画面下部に固定し、縦方向のスライドに変更 */
    .tnsb-member-aside{
        inset: auto 0 0 0;            /* 下固定 */
        opacity: 0;
        width: 100%;
        margin: 0 auto;
        height: 70vh;                 /* お好みで 60–85vh */
        transform: translateY(100%);  /* 下に隠す */
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -10px 24px rgba(0,0,0,.2);
    }
    .tnsb-member-aside.is-open{
        transform: translateY(0);     /* 上にせり上げる */
        opacity: 1;
    }

    /* 内側スクロール（見た目は前の指定どおりでOK） */
    .tnsb-member-aside .tnsb-member-aside-inner{
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    }
    /* モバイルはオーバーレイ運用：本文は押し出さない */
    .tnsb-aside-open .main--cts--wrap{ margin-right: 0 !important; }
    body.tnsb-push{ margin-right: 0 !important; }

    .tnsb-member-toggle-icon {
        display: block;
        width: 38px;
        height: 38px;
        padding: 3px;
        position: fixed;
        right: 3%;
        top: initial;
        bottom: 12px;
        background: #fff;
        border-radius: 100px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }
    .tnsb-member-close {
        font-size: 2.1em;
        width: 42px;
        height: 42px;
        font-weight: 100;
        bottom: 22px;
        position: fixed;
        right: 20px;
        top: initial;
        background: #dbdbdb;
        border: none;
        color: #fff;
        line-height: 1;
    }
    .tnsb-member-aside-inner{
        position: relative;
    }
    .tnsb-member-aside-inner:before {
        content: 'MEMBER';
        text-align: center;
        position: fixed;
        background: white;
        display: block;
        width: 100%;
        margin: 0;
        padding: 20px 0 12px 0;
        left: 0;
        top: -1px;
        border-radius: 13px 13px 0 0;
        border-bottom: 1px solid #f2f2f2;
        z-index: 9;
        font-size: 1.06em;
        font-weight: 500;
    }

    /* 下に向けてスワイプで閉じるバー */
    .tnsb-member-aside.is-open:before {
        content: '';
        position: fixed;
        top: 5px;
        right: 0;
        left: 0;
        margin: auto;
        display: block;
        background: #cbcbcb;
        height: 4px;
        width: 40px;
        border-radius: 10px;
        z-index: 99;
    }
}

/* =========================================  背景blkの時の挙動制御 */
.bg_blk .tnsb-member-aside {
    background: #000;
    border-left: 1px solid #282828;
}
.bg_blk .tnsb-avatar-wrap {
    border: 1px solid #000;
}
.bg_blk .tnsb-member-close {
    background: #000;
    border: 1px solid #fff;
    color: #fff;
}
.bg_blk .tnsb-member-aside-inner:before {
    background: #000;
    border-bottom: 1px solid #2a2a2a;
}

@media(max-width:736px){
    .bg_blk .tnsb-member-aside {
        background: #000;
    }
}

/* ==========================================================
   FAQ / よくある質問 (Move from base.css)
   ========================================================== */
p.faq-tit {
    font-size: 1.2em;
    font-weight: 600;
}
dl.faq {
    list-style: none;
    margin: 2em 0 5em;
    padding: 0;
    border-bottom: 1px solid #7c7c7c;
}
dl.faq dt {
    font-size: 1.15em;
    cursor: pointer;
    border-top: 1px solid #7c7c7c;
    padding: 1em 4em 1em 0;
    position: relative;
    line-height: 1.4;
}
dl.faq dd {
    opacity: 0;
    position: relative;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}
dl.faq dd p {
    margin-bottom: 0.5em;
}
dl.faq dd p:first-child { margin-top: 1em; }
dl.faq dd p:last-child { margin-bottom: 2em; }

dl.faq dd p span {
    background: #eaff62;
    color: #000;
}
dl.faq dd ul {
    margin: 1em 0 0;
}
dl.faq dd li {
    padding-left: 1em;
}
.faq dt::after {
    content: '＋';
    position: absolute;
    top: 34%;
    right: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.faq dt.active::after {
    transform: rotate(45deg);
}
.faq dt.active + dd {
    max-height: 1000px;
    opacity: 1;
}
a#faq {
    display: block;
    margin-top: -100px;
    padding-top: 100px;
}

/* FAQページ用メニュー */
.faq-menu {
    margin-bottom: 4em;
}
.faq-menu a {
    border-bottom: 1px solid #000;
    padding: 0 0 0.5em;
    margin: 0 1em 0 0;
}
.faq-menu a:before {
    content: '▽';
    font-size: 0.7em;
    margin: 0 0.4em 0 0;
    position: relative;
    top: -.1em;
}
.faq-menu a:hover:before {
    content: '▼';
}
.faq_section_tit {
    font-size: 1.3em;
    padding: 4em 0 2em;
    font-weight: 600;
    color: #ccc;
}
@media(max-width:780px) {
    .faq-menu {
        margin-bottom: 0em;
    }
    .faq-menu a {
        display: block;
        padding: 0 0 0.1em;
        margin: 0 0 1em 0;
    }
}

/* ==========================================================
   LIVE VIDEO (Restored from base_past.css)
   ========================================================== */
/* LIVE VIDEO */
.live_video p.tit_16_9{
    font-size: 1em;
    padding: .8em 0;
    line-height: 1.6;
}
.times{
    background: #404040;
    color: #fff;
    display: inline-block;
    padding: 0.5em;
    line-height: 1;
    border-radius: 3px;
    font-size: 11px;
    margin: 0.2em 0 2em;
}
.tnsb_key .times{
    opacity: .5;
}
.live_video .popup-trigger.color_on img{
    filter: initial;
}
.live_video .color_on .tnsb_key img{
    opacity: 1;
}

/* 閲覧制限キーアイコンの調整 */
.plan--detail p{
    font-size: .9em;
    color: #acacac;
    margin-left: 1em;
    display: inline;
}
.plan--detail p span{
    background-size: contain;
    position: relative;
    top: 1px;
    width: 14px;
    height: 14px;
    margin-right: .1em;
    display: inline-block;
}
/* ▼ パス修正済み */
.plan--detail p.basic span{
    background-image: url(../../images/ico/ico_key_wht.png);  
}
.plan--detail p.gold span{
    background-image: url(../../images/ico/ico_key_lime.png);
}
.plan--detail.on_video p{
    margin-left: 0;
}

@media(max-width:780px){
    .plan--detail p{
        display: block;
        margin-left: 1%;
    }
}


/* ==========================================================
   【復元】記事一覧画面の閲覧制限 (.tnsb_key_area)
   ========================================================== */
.tnsb_key_area .tnsb_key_screen {
    position: fixed;
    left: 48vw;
    z-index: 9;
}
.tnsb_key_area .mp3_cts--inner {
    opacity: 0.3;
    -webkit-user-select: none !important;
    user-select: none !important;
}
.tnsb_key_area .mp3_cts--inner a {
    pointer-events: none;
}

/* レスポンシブ調整 */
@media(max-width:1029px) {
    .tnsb_key_area .tnsb_key_screen {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
    }
}

/* ----------------------------------------------------------
   TNSB / サウンドコンテンツ (mp3_cts) & Player Layout
   ---------------------------------------------------------- */
.mp3_cts--inner { position: relative; }

/* ▼ 修正：PCでも初期状態を非表示(opacity:0)にし、.addがついたら表示するよう変更 */
.mp3_cts--inner #pankuzu--area {
    position: fixed; 
    width: 100%; 
    height: 58px; 
    line-height: 1; 
    display: flex; 
    flex-direction: row; 
    flex-wrap: wrap; 
    background: rgba(0, 0, 0, 0.62); 
    z-index: 99;
    /* ここから追加 */
    opacity: 0; 
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; /* 見えていない時はクリック不可に */
}

/* スクロールしてJSが .add クラスを付けたら表示 */
.mp3_cts--inner #pankuzu--area.add {
    opacity: 1;
    pointer-events: auto;
}


/* ----------------------------------------------------------
パンくずエリアの表示・非表示
   ---------------------------------------------------------- */

.comment-reply-title,
.logged-in-as{
display: none
}