/*
Theme Name: SWELL CHILD（トビラの会）
Template: swell
Version: 1.2.0
Description: トビラの会用の子テーマ
*/

/* ヘッダーの相談ボタン */
.tobira-head-btn{display:inline-block;padding:.6em 1.4em;border-radius:40px;background:#e0607e;color:#fff!important;font-weight:700;text-decoration:none;font-size:.9rem;white-space:nowrap}
.tobira-head-btn:hover{opacity:.85}

/* トップのカード */
.tobira-card{background:#fff;border:1px solid #d9ecf5;border-radius:6px;overflow:hidden;padding-bottom:1em}
.tobira-card .wp-block-image{margin-bottom:0}
.tobira-card .wp-block-image img{width:100%;height:auto;display:block}
.tobira-card h3.wp-block-heading{margin:0!important;padding:.6em .8em!important;background:#2096c9;color:#fff;font-size:1rem;text-align:center;border:none}
.tobira-card h3.wp-block-heading::before{display:none}
.tobira-card h3 a{color:#fff;text-decoration:none}
.tobira-card p{padding:.6em 1em 0;font-size:.9rem;margin:0}

/* ボタン */
.tobira-btn .wp-block-button__link{font-weight:700;padding:.9em 2em;box-shadow:0 3px 0 rgba(0,0,0,.12)}

/* 最新のお知らせ */
.tobira-news .wp-block-post-template{border-top:1px solid #e3eef4}
.tobira-news .wp-block-post-template>li{border-bottom:1px solid #e3eef4;padding:.6em 0;margin:0}
.tobira-news .wp-block-post-date{color:#2096c9;min-width:7em;font-size:.85rem}
.tobira-news h3.wp-block-post-title{margin:0;font-size:.95rem;border:none;padding:0;background:none}
.tobira-news h3.wp-block-post-title::before{display:none}

/* ページ下の相談枠 */
.tobira-foot-cta{background:#eaf5fb;border-radius:8px;padding:2em 1em;margin:2em auto;max-width:900px}
.tobira-news .wp-block-post-template{list-style:none;padding-left:0}
.tobira-news .wp-block-post-template>li::before{display:none}

/* ===== スマホ表示の調整（2026-09-19） ===== */

/* ページ名と本文のあいだを詰める */
.l-mainContent .post_content{margin-top:2.5em}
@media (max-width:599px){
  .l-mainContent .post_content{margin-top:1.2em}
  .c-pageTitle{font-size:1.15rem;line-height:1.5}
}

/* 旧サイトの目次・箇条書き枠（contents-oyakusoku）を箱のデザインに */
.post_content .contents-oyakusoku{background:#f3f9fc;border:1px solid #d3e8f3;border-radius:8px;padding:.3em 1.1em;margin:0 0 2em}
.post_content .contents-oyakusoku:has(a[href^="#"])::before{content:"このページの内容";display:block;padding:.8em 0 .2em;font-weight:700;font-size:.85em;color:#2096c9;letter-spacing:.05em}
.post_content .contents-oyakusoku ul{list-style:none;margin:0;padding:0}
.post_content .contents-oyakusoku li{list-style:none;position:relative;margin:0;padding:.7em 0 .7em 1.3em;line-height:1.55;border-bottom:1px dashed #cfe2ec}
.post_content .contents-oyakusoku li:last-child{border-bottom:none}
.post_content .contents-oyakusoku li::before{content:"";position:absolute;left:.15em;top:1.35em;width:6px;height:6px;border-radius:50%;background:#2096c9}
.post_content .contents-oyakusoku li:has(>a)::before{width:.42em;height:.42em;top:1.25em;border-radius:0;background:none;border-top:2px solid #2096c9;border-right:2px solid #2096c9;transform:rotate(45deg)}
.post_content .contents-oyakusoku li a{display:block;color:#1f6f94;font-weight:600;text-decoration:none}

/* 画像の下に置く、スマホ用の文字（画像内の文字が読めないため） */
.tb-sp-only{display:none}
@media (max-width:599px){
  .tb-sp-only{display:block}
  .post_content .tb-banner-text{margin:-1.2em 0 2em;padding:1em 1.1em;background:#b45f6d;color:#fff;border-radius:0 0 6px 6px;font-size:.9rem;line-height:1.7}
  .post_content .tb-banner-text strong{display:block;font-size:1.1rem;margin-bottom:.3em}
}

/* 上部のお知らせバー：スマホは短く（ロゴと同じ文言が重なるため） */
@media (max-width:599px){
  .c-infoBar__text{font-size:0!important;padding:10px 12px!important}
  .c-infoBar__text::before{content:"女性は入会金・年会費 無料｜無料面談はこちら ›";font-size:13px;font-weight:700;letter-spacing:.03em}
}

/* ロゴ：スマホで大きく */
@media (max-width:959px){
  :root{--logo_size_sp:38px}
  .l-header__logo .c-headLogo__img{height:38px!important;width:auto;max-width:none}
}

/* スマホ下部の固定メニュー：空のアイコン枠で文字が押し下げられて切れていたのを直す */
#fix_bottom_menu .menu_list li > a > i:empty{display:none}

/* 間延び対策（スマホ） */
@media (max-width:599px){
  .l-content{padding-top:1em;margin-bottom:2.5em}
  .home .l-content{padding-top:.8em}
  .post_content h2.wp-block-heading{margin-top:2.2em;margin-bottom:1.2em}
  .post_content > *{margin-bottom:1.4em}
  .post_content .wp-block-columns{gap:14px;margin-bottom:14px}
  .tobira-card p{padding-top:.5em}
  .tobira-foot-cta{margin:1.2em auto;padding:1.5em 1em}
}

/* ヘッダー：大きくしたロゴが収まる高さに */
@media (max-width:959px){
  .l-header__inner{height:56px!important;min-height:56px}
  .l-header__logo,.c-headLogo{height:56px!important;display:flex;align-items:center}
}
/* 余白の上書き（SWELL側の指定が強いため!important） */
@media (max-width:599px){
  .l-content{padding-top:1.2em!important}
  .home .l-content{padding-top:.8em!important}
  #before_footer_widget{margin-top:1.5em!important;margin-bottom:1.5em!important}
  .l-sidebar{margin-top:1.5em!important}
}
/* トップの空の記事スライダー（56pxの空白）を隠す */
.home #post_slider:not(:has(.p-postSlider__item, .swiper-slide)){display:none}

/* ヘッダーロゴ（エンブレム＋文字） */
.c-headLogo.tobira-logo{height:auto;max-width:none}
.tobira-logo .c-headLogo__link{display:flex;align-items:center;gap:.55em;text-decoration:none;padding:4px 0}
.tobira-logo__mark{height:56px;width:auto;flex-shrink:0}
.tobira-logo__text{display:flex;flex-direction:column;line-height:1.2;font-family:'Shippori Mincho B1',serif;color:#77601e;white-space:nowrap}
.tobira-logo__sub{font-size:13px;font-weight:600;letter-spacing:.06em}
.tobira-logo__main{font-size:30px;font-weight:700;letter-spacing:.14em}
@media (max-width:959px){.tobira-logo__mark{height:42px}.tobira-logo__sub{font-size:11px;letter-spacing:.02em}.tobira-logo__main{font-size:24px;letter-spacing:.1em}}

/* トップ：相談ボタンと次の見出しの間を狭くする */
.home .post_content .wp-block-buttons{margin-bottom:0}
.home .post_content .wp-block-buttons + h2.wp-block-heading{margin-top:1.5em!important}

/* 全ページ：本文→相談枠→フッターの間を同じ幅（28px）にそろえる（PC・スマホ共通。このブロックを最後に置く） */
.l-content{margin-bottom:0!important}
#before_footer_widget{margin-top:28px!important;margin-bottom:28px!important}
#before_footer_widget .tobira-foot-cta{margin-top:0!important;margin-bottom:0!important}

/* スマホ下の固定メニュー：4項目・文字を大きく・LINEと無料面談をボタンに */
#fix_bottom_menu{bottom:-80px}
[data-scrolled=true] #fix_bottom_menu{bottom:0}
#fix_bottom_menu .menu_btn{display:none!important}
#fix_bottom_menu:before{opacity:1!important;background:#fff!important}
#fix_bottom_menu .menu_list{height:64px;padding:6px 4px;gap:6px;align-items:stretch}
#fix_bottom_menu .menu_list>.menu-item{flex:1 1 0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding-top:9px;border-radius:10px;font-size:22px;line-height:1}
#fix_bottom_menu .menu_list>.menu-item>a{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding-bottom:7px}
#fix_bottom_menu .menu_list>.menu-item>a>i{display:none}
#fix_bottom_menu .menu_list>.menu-item span{font-size:13px;font-weight:700;margin:0;white-space:nowrap}
#fix_bottom_menu .menu_list>.icon-line{background:#06c755;color:#fff}
#fix_bottom_menu .menu_list>.icon-mail{background:#e0607e;color:#fff}
@media (max-width:959px){body{padding-bottom:64px!important}}

/* 画像だけの箇条書き（旧サイトのバナー並びなど）の黒い点を消す */
.post_content li:has(> img, > a > img, > a > picture, > figure){list-style:none}
.post_content li:has(> img, > a > img, > a > picture, > figure)::before,.post_content li:has(> img, > a > img, > a > picture, > figure)::marker{display:none;content:none}
.post_content ul:has(> li > a > img, > li > img){padding-left:0!important;margin-left:0!important}

/* ===== ご入会案内（/members/）のデザイン（2026-09-19） ===== */
.post_content .tb-hero{margin-bottom:1.2em}
.post_content .tb-hero img{width:100%;height:auto;border-radius:8px;display:block}
.post_content .tb-hero__catch{font-size:1.4rem;font-weight:700;line-height:1.6;color:#1f4e66;text-align:center;margin:1em 0 .6em}
.post_content .tb-hero__sub{line-height:1.85}
.post_content ul.tb-points{list-style:none;padding:0;margin:1em 0 1.4em;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.post_content ul.tb-points li{margin:0;padding:.45em 1em;border-radius:20px;background:#eaf5fb;color:#1f6f94;font-weight:700;font-size:.85rem}
.post_content ul.tb-points li::before{display:none}
.post_content .tb-cta{display:flex;flex-direction:column;align-items:center;gap:12px;margin:1.4em 0 2.4em}
.post_content .tb-btn{display:block;width:100%;max-width:360px;box-sizing:border-box;text-align:center;padding:1em;border-radius:40px;color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:0 3px 0 rgba(0,0,0,.12)}
.post_content .tb-btn:hover{opacity:.85}
.post_content .tb-btn--pink{background:#d4687e}
.post_content .tb-btn--line{background:#06c755}
.post_content .tb-cta--final{background:#eaf5fb;border-radius:8px;padding:1.6em 1em}
.post_content .tb-cta__lead{font-weight:700;margin:0 0 .2em;text-align:center}
.post_content ul.tb-check{list-style:none;padding:1em 1.2em;margin:0 0 2em;background:#f3f9fc;border-radius:8px}
.post_content ul.tb-check li{position:relative;margin:0;padding:.55em 0 .55em 2em;line-height:1.6;border-bottom:1px dashed #cfe2ec}
.post_content ul.tb-check li:last-child{border-bottom:none}
.post_content ul.tb-check li::before{content:"✓";position:absolute;left:0;top:.6em;width:1.4em;height:1.4em;border-radius:50%;background:#2096c9;color:#fff;font-size:.8rem;font-weight:700;line-height:1.4em;text-align:center}
.post_content .tb-reasons{display:grid;gap:14px;margin:0 0 2em}
@media (min-width:960px){.post_content .tb-reasons{grid-template-columns:repeat(3,1fr)}}
.post_content .tb-reason{border:1px solid #d3e8f3;border-radius:8px;padding:1.2em;background:#fff}
.post_content .tb-reason__num{display:block;color:#2096c9;font-weight:700;font-size:1.4rem;line-height:1;letter-spacing:.05em}
.post_content .tb-reason h3{margin:.5em 0 .5em;padding:0;border:none;background:none;font-size:1.05rem;color:#1f4e66}
.post_content .tb-reason h3::before,.post_content .tb-reason h3::after{display:none}
.post_content .tb-reason p{margin:0;font-size:.93rem;line-height:1.8}
.post_content .tb-entry{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:1em 0}
.post_content .tb-entry img{width:100%;height:auto;display:block;border-radius:6px}
.post_content .tb-small{font-size:.88rem}
.post_content ol.tb-steps{list-style:none;padding:0;margin:0 0 2em;counter-reset:tbstep}
.post_content ol.tb-steps li{position:relative;margin:0;padding:0 0 1.3em 3em;counter-increment:tbstep;line-height:1.75}
.post_content ol.tb-steps li::before{content:counter(tbstep);position:absolute;left:0;top:0;width:2.1em;height:2.1em;border-radius:50%;background:#2096c9;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.post_content ol.tb-steps li:not(:last-child)::after{content:"";position:absolute;left:1.02em;top:2.4em;bottom:.3em;border-left:2px dotted #9fcbe0}
.post_content ol.tb-steps strong{display:block;color:#1f4e66;font-size:1.05rem;margin-bottom:.2em}
.post_content .tb-note{background:#fbf7ee;border-left:4px solid #e0b25b;border-radius:4px;padding:1em;font-size:.88rem;line-height:1.8;margin-bottom:2em}
@media (max-width:599px){
  .post_content .tb-hero__catch{font-size:1.2rem}
  .post_content table{font-size:.8rem}
}
.post_content .tb-table{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:1.2em}
.post_content .tb-table table{min-width:560px;margin:0}
@media (max-width:599px){
  .post_content ul.tb-check,.post_content .tb-reasons,.post_content ol.tb-steps,.post_content .tb-note{margin-bottom:1.2em}
  .post_content .tb-cta{margin-bottom:1.6em}
}

/* 見出しの上の余白（スマホ）：旧記事の見出しは上が約75pxあいていたので詰める 2026-09-19 */
@media (max-width:599px){
  .post_content h2{margin-top:2.2em}
  .post_content h3{margin-top:1.8em}
  .post_content p:has(> img, > a > img) + h2,
  .post_content figure + h2,
  .post_content .wp-block-image + h2{margin-top:1.3em}
}
.post_content :is(ul,ol):has(> li > a > img, > li > img){padding-left:0!important;margin-left:0!important}
.post_content li:has(> img, > a > img){padding-left:0!important;margin-left:0!important;text-align:center}
.post_content li:has(> img, > a > img) img{display:block;width:100%;max-width:100%;height:auto;margin:0 auto}

/* 全体の余白を詰める（スマホ） 2026-09-19 ともちゃん「全体的に間が空きすぎ」 */
@media (max-width:599px){
  .post_content > *{margin-bottom:1.1em}
  .post_content p{margin-bottom:1.1em}
  .post_content h2,.post_content h2.wp-block-heading{margin-top:1.8em;margin-bottom:.9em}
  .post_content h3,.post_content h3.wp-block-heading{margin-top:1.5em;margin-bottom:.8em}
  .post_content h4{margin-top:1.3em;margin-bottom:.6em}
  .post_content p:has(> img, > a > img) + h2,
  .post_content figure + h2,
  .post_content .wp-block-image + h2{margin-top:1.1em}
  .post_content ul,.post_content ol{margin-bottom:1.1em}
}
.post_content li:has(> img, > a > img){margin-top:0!important;margin-bottom:10px!important;line-height:0}
.post_content li:has(> img, > a > img) br{display:none}

/* 全体の余白を詰める（PC・タブレット） 2026-09-19 */
@media (min-width:600px){
  .l-content{padding-top:1.5em!important}
  .home .l-content{padding-top:1.2em!important}
  .l-mainContent .post_content{margin-top:1.5em}
  .post_content > *{margin-bottom:1.3em}
  .post_content p{margin-bottom:1.3em}
  .post_content h2,.post_content h2.wp-block-heading{margin-top:2.4em;margin-bottom:1.1em}
  .post_content h3,.post_content h3.wp-block-heading{margin-top:1.9em;margin-bottom:.9em}
  .post_content h4{margin-top:1.5em;margin-bottom:.7em}
  .post_content p:has(> img, > a > img) + h2,
  .post_content figure + h2,
  .post_content .wp-block-image + h2{margin-top:1.4em}
  .post_content ul,.post_content ol{margin-bottom:1.3em}
  .post_content .wp-block-columns{margin-bottom:1.3em}
  #before_footer_widget{margin-top:1.5em!important}
}

/* ご入会案内キービジュアルの注記 */
.post_content .tb-hero__note{font-size:.72rem;color:#888;text-align:right;margin:.3em 0 0!important}

/* パンくずリスト（ホーム > …）を読みやすい大きさに */
.p-breadcrumb{padding-top:10px!important;padding-bottom:10px!important}
.p-breadcrumb .p-breadcrumb__text,.p-breadcrumb .p-breadcrumb__item,.p-breadcrumb a,.p-breadcrumb span{font-size:13px!important}
@media (min-width:960px){.p-breadcrumb .p-breadcrumb__text,.p-breadcrumb .p-breadcrumb__item,.p-breadcrumb a,.p-breadcrumb span{font-size:14px!important}}

/* 画像の下のスマホ用の文字：画像（ピンク）と分けて、サイトの青系に */
@media (max-width:599px){
  .post_content .tb-banner-text{margin:.8em 0 2em!important;background:#eaf5fb!important;color:#333!important;border-left:4px solid #2096c9;border-radius:6px!important}
  .post_content .tb-banner-text strong{color:#1f6f94}
}

/* フッター下の空白：下部固定メニュー分の余白がbodyとフッターの両方についていたので、フッター側を消す 2026-09-19 */
@media (max-width:959px){
  #footer{padding-bottom:0!important}
}

/* フッターの届出表示 */
.tobira-todokede{text-align:center;font-size:12px;color:#555;margin:.4em 0 0}

/* 新しい会員様の一覧（画像なし・ラベル＋タイトル） 2026-09-19 */
.tb-newmem__lead{font-size:.9rem;color:#555;margin:1em 0 0}
.tb-newmem__desc{margin-top:1em}
ul.tb-newmem{list-style:none;padding:0;margin:1.2em 0 2em;border-top:1px solid #e3eef4}
.tb-newmem__item{margin:0;border-bottom:1px solid #e3eef4}
.tb-newmem__item::before{display:none}
.tb-newmem__link{display:block;padding:.9em .3em;color:inherit;text-decoration:none}
.tb-newmem__link:hover{background:#f5fafd}
.tb-newmem__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:.4em}
.tb-tag{display:inline-block;font-size:.72rem;font-weight:700;line-height:1;padding:.4em .7em;border-radius:3px}
.tb-tag--area{background:#eaf5fb;color:#1f6f94}
.tb-tag--s{background:#fbe9ee;color:#b0405c}
.tb-tag--m{background:#eee9f8;color:#6a4fa3}
.tb-newmem__date{font-size:.78rem;color:#888;margin-left:auto}
.tb-newmem__title{display:block;font-weight:700;line-height:1.6;color:#1f4e66;font-size:.98rem}

/* 下部固定メニューの高さをヘッダー（56px）とそろえる 2026-09-19 */
@media (max-width:959px){
  #fix_bottom_menu .menu_list{height:56px;padding:5px 4px;gap:5px}
  #fix_bottom_menu .menu_list>.menu-item{padding-top:6px;font-size:19px;border-radius:8px}
  #fix_bottom_menu .menu_list>.menu-item>a{padding-bottom:5px}
  #fix_bottom_menu .menu_list>.menu-item span{font-size:12px}
  body{padding-bottom:56px!important}
}

/* 新しい会員様の記事：上の大きな画像を消し、小さな目盛りを出す 2026-09-19 */
.single-info .p-articleThumb{display:none}
.post_content .tb-love{border:1px solid #d3e8f3;background:#f7fbfd;border-radius:8px;padding:.9em 1em;margin:0 0 1.5em}
.tb-love__row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:.5em}
.tb-love__head{font-size:.8rem;font-weight:700;color:#1f4e66}
.tb-tag--love{background:#fff1e3;color:#b8641b}
.post_content ol.tb-love__scale{list-style:none;display:grid;grid-template-columns:repeat(10,1fr);gap:3px;padding:0;margin:0}
.post_content ol.tb-love__scale li{margin:0;padding:0;height:24px;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;color:#8aa3b3;background:#e6eef3;border-radius:3px;line-height:1}
.post_content ol.tb-love__scale li::before{display:none}
.post_content ol.tb-love__scale li.is-on{background:#e0607e;color:#fff}
.tb-love__ends{display:grid;grid-template-columns:3fr 2fr 2fr 3fr;gap:3px;font-size:.66rem;color:#888;margin-top:4px;text-align:center}
.tb-love__style{margin-top:.8em;padding-top:.7em;border-top:1px dashed #cfe2ec;font-size:.85rem;line-height:1.6}
.tb-love__style strong{margin-left:.6em;color:#1f4e66}
.tb-love__desc{display:block;font-size:.78rem;color:#666;margin-top:.2em}
.tb-love__style:first-child{margin-top:0;padding-top:0;border-top:none}

/* 新しい会員様の記事：本文中の「求める愛情の度合い」「精神／肉体」の画像も隠す（目盛りに置き換えたため） 2026-09-19 */
.single-info .post_content img[src*="/1_910."],.single-info .post_content img[src*="/1_910-"],
.single-info .post_content img[src*="/2_8910."],.single-info .post_content img[src*="/2_8910-"],
.single-info .post_content img[src*="/3_789."],.single-info .post_content img[src*="/3_789-"],
.single-info .post_content img[src*="/4_678."],.single-info .post_content img[src*="/4_678-"],
.single-info .post_content img[src*="/5_567."],.single-info .post_content img[src*="/5_567-"],
.single-info .post_content img[src*="/6_456."],.single-info .post_content img[src*="/6_456-"],
.single-info .post_content img[src*="/7_345."],.single-info .post_content img[src*="/7_345-"],
.single-info .post_content img[src*="/8_234."],.single-info .post_content img[src*="/8_234-"],
.single-info .post_content img[src*="/9_123."],.single-info .post_content img[src*="/9_123-"],
.single-info .post_content img[src*="/91_12."],.single-info .post_content img[src*="/91_12-"],
.single-info .post_content img[src*="/92_1-10."],.single-info .post_content img[src*="/92_1-10-"],
.single-info .post_content img[src*="/seiniku1."],.single-info .post_content img[src*="/seiniku1-"],
.single-info .post_content img[src*="/seiniku2."],.single-info .post_content img[src*="/seiniku2-"],
.single-info .post_content img[src*="/seiniku3."],.single-info .post_content img[src*="/seiniku3-"]{display:none!important}
/* 上の続き：遅延読み込みの画像（data-src）も隠す */
.single-info .post_content img[data-src*="/1_910."],.single-info .post_content img[data-src*="/1_910-"],
.single-info .post_content img[data-src*="/2_8910."],.single-info .post_content img[data-src*="/2_8910-"],
.single-info .post_content img[data-src*="/3_789."],.single-info .post_content img[data-src*="/3_789-"],
.single-info .post_content img[data-src*="/4_678."],.single-info .post_content img[data-src*="/4_678-"],
.single-info .post_content img[data-src*="/5_567."],.single-info .post_content img[data-src*="/5_567-"],
.single-info .post_content img[data-src*="/6_456."],.single-info .post_content img[data-src*="/6_456-"],
.single-info .post_content img[data-src*="/7_345."],.single-info .post_content img[data-src*="/7_345-"],
.single-info .post_content img[data-src*="/8_234."],.single-info .post_content img[data-src*="/8_234-"],
.single-info .post_content img[data-src*="/9_123."],.single-info .post_content img[data-src*="/9_123-"],
.single-info .post_content img[data-src*="/91_12."],.single-info .post_content img[data-src*="/91_12-"],
.single-info .post_content img[data-src*="/92_1-10."],.single-info .post_content img[data-src*="/92_1-10-"],
.single-info .post_content img[data-src*="/seiniku1."],.single-info .post_content img[data-src*="/seiniku1-"],
.single-info .post_content img[data-src*="/seiniku2."],.single-info .post_content img[data-src*="/seiniku2-"],
.single-info .post_content img[data-src*="/seiniku3."],.single-info .post_content img[data-src*="/seiniku3-"]{display:none!important}

/* 新しい会員様の記事の下：同じ地域の新しい会員様（SWELLの関連記事は隠す） 2026-09-19 */
.single-info .l-articleBottom__section.-related{display:none}
.post_content .tb-related{margin-top:2.5em}
.post_content h2.tb-related__title{margin:0 0 .4em!important;padding:0 0 .4em!important;background:none!important;border:none!important;border-bottom:2px solid #2096c9!important;color:#1f4e66!important;font-size:1.05rem!important;text-align:left!important}
.post_content h2.tb-related__title::before,.post_content h2.tb-related__title::after{display:none!important}
.post_content ul.tb-newmem{list-style:none;padding:0;margin:0 0 1em;border-top:none}
.post_content ul.tb-newmem li::before{display:none}
.post_content .tb-related__more{text-align:right;font-size:.88rem;margin:0}

/* キービジュアル：スマホは横幅いっぱい（kv_sp）、PCは横長版（kv_pc） 2026-09-19 */
.post_content .tb-kv--pc{display:none}
@media (min-width:600px){
  .post_content .tb-kv--sp{display:none!important}
  .post_content .tb-kv--pc{display:block}
  .post_content .tb-kv--pc img{width:100%;max-width:950px;height:auto;margin:0 auto;display:block}
}
@media (max-width:599px){
  .home .l-content{padding-top:0!important}
  .post_content .tb-kv--sp,
  .post_content .tb-hero > img{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw!important;max-width:100vw!important}
  .post_content .tb-kv--sp img{width:100%;height:auto;display:block;border-radius:0}
  .post_content .tb-hero > img{border-radius:0!important}
  .post_content .tb-hero__note{padding-right:.2em}
  #body_wrap{overflow-x:clip}
}

/* 見出しをわかりやすく 2026-09-19
   ページ名（h1）：大きく濃い色。小見出し（h3）：左に青い縦線＋薄い青の背景で、ページ名と区別する */
.c-pageTitle{font-size:1.35rem!important;color:#1f4e66;line-height:1.5}
@media (max-width:599px){.c-pageTitle{font-size:1.2rem!important}}
.post_content h3:not(.tb-reason h3):not(.wp-block-post-title){position:relative;padding:.55em .8em!important;background:#f0f7fb;border:none!important;border-left:4px solid #2096c9!important;border-radius:0 4px 4px 0;color:#1f4e66;font-size:1.05rem;line-height:1.5}
.post_content h3:not(.tb-reason h3):not(.wp-block-post-title)::before,
.post_content h3:not(.tb-reason h3):not(.wp-block-post-title)::after{display:none!important}
.tobira-card h3.wp-block-heading{border-left:none!important;border-radius:0}
/* 「目次へ戻る」のリンクは全ページで隠す */
.post_content a[href="#mokuji"]{display:none}
.post_content p:has(> a[href="#mokuji"]:only-child){display:none}
/* トップのカードの見出しは青帯のまま */
.post_content .tobira-card h3.wp-block-heading{background:#2096c9!important;color:#fff!important;border:none!important;border-radius:0!important;padding:.6em .8em!important}

/* よくある質問（/faq/・女性向け・男性向け）：1問ずつカード＋丸いQ・A 2026-09-19 */
.post_content p:has(> .tb-q){position:relative;background:#fff;border:1px solid #dcebf3;border-radius:10px;padding:.9em 1em .9em 3em;margin:0 0 .9em;line-height:1.8;box-shadow:0 1px 3px rgba(31,78,102,.05)}
.post_content .tb-q{display:block;position:relative;color:#1f4e66;font-size:.98rem;line-height:1.6;padding-bottom:.6em;margin-bottom:.6em;border-bottom:1px dashed #d3e8f3}
.post_content .tb-q strong{font-weight:700}
.post_content .tb-q::before{content:"Q";position:absolute;left:-2.3em;top:.05em;width:1.7em;height:1.7em;border-radius:50%;background:#2096c9;color:#fff;font-size:.82rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1}
.post_content .tb-q + br{display:none}
.post_content .tb-a{float:left;margin:.2em 0 0 -2.3em;width:1.7em;height:1.7em;border-radius:50%;background:#e0607e;color:#fff;font-size:.82rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1}

/* 「＞＞」で始まっていたリンクを丸いリンクボタンに（class="tb-link"） 2026-09-19 */
.post_content a.tb-link{display:inline-flex;align-items:center;gap:.6em;max-width:100%;padding:.5em 1.1em .5em 1.2em;margin:.2em 0;border:1px solid #bfdcec;border-radius:40px;background:#f3f9fc;color:#1f6f94;font-weight:700;font-size:.93rem;line-height:1.5;text-decoration:none}
.post_content a.tb-link::after{content:"";flex:0 0 auto;width:.42em;height:.42em;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
.post_content a.tb-link:hover{background:#e3f1f9}
.post_content a.tb-link[href*="customer-service.online"]{background:#fdf0f3;border-color:#f2c3cf;color:#c24d69}
.post_content a.tb-link[href*="customer-service.online"]:hover{background:#fbe2e8}

/* ページ上部のバナー（tobiralife.png：女性・男性からの質問一覧、理念）もスマホで横幅いっぱい 2026-09-19 */
@media (max-width:599px){
  .post_content img[src*="/tobiralife."],
  .post_content img[data-src*="/tobiralife."]{display:block;width:100vw!important;max-width:100vw!important;height:auto;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0}
}

/* ページ内に自前の相談枠（.tb-cta--final）があるページでは、共通の相談枠を出さない（重複防止） */
body:has(.post_content .tb-cta--final) #before_footer_widget{display:none!important}
body:has(.post_content .tb-cta--final) .l-content{margin-bottom:28px!important}

/* PCのグローバルナビ：文字を大きく（14→16px・太め） */
@media (min-width:960px){.c-gnav>.menu-item>a .ttl{font-size:16px!important;font-weight:500}.c-gnav>.menu-item>a{padding-left:14px;padding-right:14px}}
@media (min-width:960px) and (max-width:1199px){.c-gnav>.menu-item>a .ttl{font-size:15px!important}.c-gnav>.menu-item>a{padding-left:10px;padding-right:10px}}

/* ヘッダー上の空の細い帯（アイコンなし）を消す。検索はメニュー内に移動済み */
.l-header__bar{display:none!important}
.c-gnav .c-gnav__s .ttl, .c-gnav .c-gnav__s i{font-size:18px}

/* 会員募集ページのキービジュアル（画像＋文字。PCは画像の左に重ねる、スマホは画像の下） */
.post_content .tb-pagekv{position:relative;margin:0 0 2em;border-radius:8px;overflow:hidden;background:#eaf5fb}
.post_content .tb-pagekv img{display:block;width:100%;height:auto;margin:0}
.post_content .tb-pagekv__text{padding:1.2em 1.2em 1.4em;text-align:center}
.post_content .tb-pagekv__catch{font-family:"Shippori Mincho B1",serif;font-weight:700;color:#1f4e66;font-size:1.35rem;line-height:1.5;margin:0 0 .4em}
.post_content .tb-pagekv__sub{font-size:.9rem;color:#333;line-height:1.7;margin:0 0 .9em}
.post_content .tb-pagekv__btn{display:inline-block;background:#e0607e;color:#fff!important;font-weight:700;text-decoration:none;padding:.7em 1.6em;border-radius:40px;box-shadow:0 3px 0 rgba(0,0,0,.12)}
@media (min-width:600px){
  .post_content .tb-pagekv__text{position:absolute;left:0;top:0;bottom:0;width:38%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;padding:0 0 0 4%;background:linear-gradient(90deg,rgba(255,255,255,.85) 0%,rgba(255,255,255,.6) 70%,rgba(255,255,255,0) 100%)}
  .post_content .tb-pagekv__catch{font-size:1.7rem}
}
.post_content .tb-first{margin:1em 0 1.5em}
.post_content .tb-first img{display:block;width:100%;height:auto;border-radius:8px}
@media (min-width:600px){.post_content .tb-pagekv__text{width:44%}.post_content .tb-pagekv__catch{font-size:1.5rem;white-space:nowrap}}
@media (min-width:960px) and (max-width:1439px){.c-gnav>.menu-item>a .ttl{font-size:15px!important}.c-gnav>.menu-item>a{padding-left:9px!important;padding-right:9px!important}}
@media (min-width:960px) and (max-width:1199px){.c-gnav>.menu-item>a .ttl{font-size:14px!important}.c-gnav>.menu-item>a{padding-left:6px!important;padding-right:6px!important}.tobira-head-btn{padding:.5em .9em;font-size:.8rem}.tobira-logo__main{font-size:24px}.tobira-logo__sub{font-size:11px}.tobira-logo__mark{height:46px}}


/* 会員募集ページのキービジュアル：スマホは画面の端から端まで（ほかのページのキービジュアルと同じ） 2026-09-19 */
@media (max-width:599px){
  .post_content .tb-pagekv{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw!important;max-width:100vw!important;border-radius:0}
}
/* 相談ボタン（面談・LINE）がくっついて見えるので間隔を広げる 2026-09-19 */
.tobira-foot-cta .wp-block-buttons{gap:18px!important}
.post_content .tb-cta{gap:18px}
@media (min-width:960px) and (max-width:1099px){.l-header .w-header{display:none!important}}

/* トップ「出会いまでの流れ」（画像→HTML＋線のアイコン） 2026-09-19 */
.post_content ol.tb-flow{list-style:none;padding:0;margin:0 0 1.6em;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.post_content ol.tb-flow > li.tb-flow__step{position:relative;margin:0;padding:1.4em .9em 1.2em;background:#fff;border:1px solid #dcebf3;border-radius:12px;text-align:center;box-shadow:0 2px 8px rgba(31,78,102,.06);list-style:none}
.post_content ol.tb-flow > li.tb-flow__step::before{display:none}
.post_content ol.tb-flow > li.tb-flow__step:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:8px;height:8px;border-top:2px solid #2096c9;border-right:2px solid #2096c9;transform:translateY(-50%) rotate(45deg)}
.tb-flow__icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;margin:0 auto .8em;border-radius:50%;background:#eaf5fb;color:#2096c9}
.tb-flow__icon svg{width:28px;height:28px}
.tb-flow__step:last-child .tb-flow__icon{background:#fdecf0;color:#e0607e}
.tb-flow__body{display:block}
.tb-flow__num{display:block;font-size:.68rem;font-weight:700;letter-spacing:.14em;color:#2096c9;line-height:1.4}
.tb-flow__step:last-child .tb-flow__num{color:#e0607e}
.tb-flow__title{display:block;font-size:1.02rem;color:#1f4e66;margin:.15em 0 .4em;line-height:1.4}
.tb-flow__txt{display:block;font-size:.8rem;line-height:1.65;color:#666}
@media (max-width:599px){
  .post_content ol.tb-flow{grid-template-columns:1fr;gap:12px}
  .post_content ol.tb-flow > li.tb-flow__step{display:flex;align-items:center;gap:14px;text-align:left;padding:.85em 1em}
  .tb-flow__icon{margin:0;flex:0 0 48px;width:48px;height:48px}
  .tb-flow__icon svg{width:24px;height:24px}
  .post_content ol.tb-flow > li.tb-flow__step:not(:last-child)::after{right:auto;left:calc(1em + 20px);top:auto;bottom:-10px;transform:rotate(135deg)}
}

/* Mochaへのカード型リンク（中央寄せ） 2026-09-19 */
.post_content a.tb-mocha-card{display:block;max-width:420px;margin:1.2em auto;border:1px solid #ecd3dc;border-radius:12px;overflow:hidden;background:#fff;text-decoration:none;box-shadow:0 2px 10px rgba(122,62,84,.08);text-align:center}
.post_content a.tb-mocha-card img{display:block;width:100%;height:auto;margin:0;border-radius:0}
.tb-mocha-card__body{display:block;padding:.9em 1em 1.1em}
.tb-mocha-card__title{display:block;color:#7a3e54;font-size:1.02rem;line-height:1.4}
.tb-mocha-card__txt{display:block;color:#666;font-size:.82rem;line-height:1.6;margin:.3em 0 .8em}
.tb-mocha-card__btn{display:inline-flex;align-items:center;gap:.5em;padding:.5em 1.4em;border-radius:40px;background:#c85a82;color:#fff;font-weight:700;font-size:.88rem}
.tb-mocha-card__btn::after{content:"";width:.42em;height:.42em;border-top:2px solid #fff;border-right:2px solid #fff;transform:rotate(45deg)}
.post_content a.tb-mocha-card:hover{opacity:.9}

/* フォーム（Contact Form 7）：出会いのご報告フォームなど */
.tb-form{background:#f4f9fc;border:1px solid #d9ecf5;border-radius:10px;padding:1.4em 1.2em;margin:1em 0 2em}
.tb-form p{margin:0 0 1.2em;font-weight:600;color:#1f4e66;font-size:.95rem;line-height:1.6}
.tb-form input[type=text],.tb-form input[type=email],.tb-form textarea{width:100%;margin-top:.4em;padding:.7em .8em;border:1px solid #c9dce6;border-radius:8px;background:#fff;font-size:16px;font-weight:400;color:#333;box-sizing:border-box}
.tb-form input:focus,.tb-form textarea:focus{outline:2px solid #2096c9;border-color:#2096c9}
.tb-form .wpcf7-radio{display:flex;flex-direction:column;gap:.4em;margin-top:.4em;font-weight:400;color:#333}
.tb-form .wpcf7-list-item{margin:0}
.tb-req{display:inline-block;margin-left:.5em;padding:0 .5em;border-radius:4px;background:#e0607e;color:#fff;font-size:.72rem;font-weight:700;vertical-align:middle}
.tb-form__consent{font-weight:400!important;color:#333!important;font-size:.88rem!important;background:#fff;border-radius:8px;padding:.8em}
.tb-form__submit{text-align:center;margin:0!important}
.tb-form input[type=submit]{background:#e0607e;color:#fff;border:0;border-radius:40px;padding:.9em 3em;font-size:1rem;font-weight:700;cursor:pointer;box-shadow:0 3px 0 rgba(0,0,0,.12)}
.tb-form input[type=submit]:disabled{opacity:.5;cursor:not-allowed}


/* 本文の小見出し（h3）が本文より小さかったので大きく 2026-09-19 */
.post_content h3:not(.tb-reason h3):not(.wp-block-post-title):not(.tobira-card h3){font-size:17px}
@media (min-width:600px){
  .post_content h3:not(.tb-reason h3):not(.wp-block-post-title):not(.tobira-card h3){font-size:19px}
}


/* 本文の赤い文字（旧記事の color:#ff0000）を、紺の太字＋うすいピンクのマーカーに 2026-09-19 */
.post_content [style*="color: #ff0000" i],.post_content [style*="color:#ff0000" i],.post_content [style*="color: red" i],.post_content font[color="#ff0000" i],.post_content font[color="red" i]{color:#1f4e66!important;font-weight:700;background:linear-gradient(transparent 60%,#f9dde4 60%);padding:0 .1em}


/* 旧バナー「ご入会面談はこちらから」を全ページで非表示（リンク先がフッター上の相談枠と同じため。ウィジェット自体は残している） 2026-09-19 */
.c-widget:has(img[src*="toiawase_banner"]),.c-widget:has(img[data-src*="toiawase_banner"]),.post_content a:has(> img[src*="toiawase_banner"]),.post_content a:has(> img[data-src*="toiawase_banner"]),.post_content figure:has(img[src*="toiawase_banner"]),.post_content figure:has(img[data-src*="toiawase_banner"]),img[data-src*="toiawase_banner"],img[src*="toiawase_banner"]{display:none!important}


/* 流れのステップ：見出し（strong）の後の改行で1行空いていたので詰める 2026-09-19 */
.post_content ol.tb-steps li > strong + br{display:none}
.post_content ol.tb-steps li > strong{margin-bottom:.25em}


/* トップ「トビラの会について」カード：スマホでは写真を画面の横幅いっぱいに（2026-09-19） */
@media (max-width:781px){
  .post_content > .wp-block-columns:has(> .tobira-card){margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw;max-width:100vw}
  .post_content > .wp-block-columns:has(> .tobira-card) > .tobira-card{border-left:none;border-right:none;border-radius:0}
}


/* 相談ボタンが1つの段落に入っているページ（例 /members/mocha/）でも間隔をあける 2026-09-19 */
.post_content .tb-cta > p{display:flex;flex-direction:column;align-items:center;gap:18px;margin:0;width:100%}
.post_content .tb-cta > p > br{display:none}

/* SMコラムのページ（tb-colsec）と、全ページ下の「SM出会いのコツ」の箱（tb-tips） 2026-09-19 */
.post_content .tb-colsec{margin-bottom:1.6em}
.tb-colsec__label{display:inline-block;margin:-.4em 0 .5em;padding:.3em .8em;border-radius:20px;background:#fdecf0;color:#c24d69;font-size:.75rem;font-weight:700}
.post_content .tb-colsec__desc{font-size:.9rem;color:#555;margin:0 0 .6em}
.post_content ul.tb-collist,.post_content ul.tb-tips__list{list-style:none;padding:0;margin:0 0 .8em;border-top:1px solid #e3eef4}
.post_content ul.tb-collist li,.post_content ul.tb-tips__list li{margin:0;padding:0;border-bottom:1px solid #e3eef4}
.post_content ul.tb-collist li::before,.post_content ul.tb-tips__list li::before{display:none}
.post_content ul.tb-collist a,.post_content ul.tb-tips__list a{position:relative;display:block;padding:.75em 1.6em .75em .3em;color:#1f4e66;font-weight:700;font-size:.93rem;line-height:1.55;text-decoration:none}
.post_content ul.tb-collist a::after,.post_content ul.tb-tips__list a::after{content:"";position:absolute;right:.5em;top:50%;width:.4em;height:.4em;border-top:2px solid #2096c9;border-right:2px solid #2096c9;transform:translateY(-50%) rotate(45deg)}
.post_content ul.tb-collist a:hover,.post_content ul.tb-tips__list a:hover{background:#f5fafd}
.post_content .tb-colsec__more,.post_content .tb-tips__more{text-align:center;margin:0}
.post_content .tb-tips{margin:2.5em 0 1em;padding:1.2em 1.1em;background:#f6fafc;border:1px solid #dcebf3;border-radius:12px}
.post_content .tb-tips__label{margin:0 0 .3em;font-size:1.05rem;font-weight:700;color:#1f4e66}
.post_content .tb-tips__label::before{content:"TIPS";display:inline-block;margin-right:.6em;padding:.2em .6em;border-radius:4px;background:#2096c9;color:#fff;font-size:.68rem;letter-spacing:.1em;vertical-align:.15em}
.post_content .tb-tips__lead{font-size:.85rem;color:#555;margin:0 0 .8em;line-height:1.7}


/* 「トビラの会とは」キービジュアル（2026-09-19）：PCは本文幅、スマホは画面の横幅いっぱい */
.post_content .tb-aboutkv{margin:0 0 1.5em}
.post_content .tb-aboutkv img{display:block;width:100%;height:auto}
@media (max-width:781px){
  .post_content .tb-aboutkv{margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw;max-width:100vw}
}


/* トビラの会とは：SMでしてはいけないこと（Geminiのアイコン画像＋文字は画像の下にHTMLで） 2026-09-19 */
.post_content .tb-ng{max-width:720px;margin:1.2em auto 1.6em;background:#f3f6f8;border-radius:8px;overflow:hidden;padding-bottom:.9em}
.post_content .tb-ng img{display:block;width:100%;height:auto;margin:0}
.post_content .tb-ng__labels{display:grid;grid-template-columns:repeat(3,1fr);padding:0 3%}
.post_content .tb-ng__labels span{text-align:center;font-weight:700;color:#1f4e66;font-size:.95rem;line-height:1.4}
@media (max-width:599px){.post_content .tb-ng__labels span{font-size:.85rem}}

/* アイコン画像の上下の余白を切って、文字をアイコンに近づける 2026-09-19 */
.post_content .tb-ng img{aspect-ratio:1792/440;object-fit:cover;object-position:center 46%}
.post_content .tb-ng__labels{margin-top:.2em}


/* 会員募集の4つのボタン（旧画像 nyuukai_btn_01〜04 から作り直し。/about/・/members/・/konkatsu/…） 2026-09-19 */
.post_content .tb-join{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:720px;margin:1.4em auto 1.8em}
.post_content .tb-join__btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1em 1.6em 1em .8em;border:2px solid;border-radius:10px;text-decoration:none!important;line-height:1.4;text-align:center;transition:opacity .2s}
.post_content .tb-join__btn:hover{opacity:.8}
.post_content .tb-join__btn::after{content:"›";position:absolute;right:.7em;top:50%;transform:translateY(-52%);font-size:1.4em;font-weight:700}
.post_content .tb-join__who{font-weight:700;font-size:1.05rem}
.post_content .tb-join__txt{font-size:.85rem;margin-top:.15em}
.post_content .tb-join__btn--w{border-color:#d4687e;background:#fdf1f4;color:#b04a62!important}
.post_content .tb-join__btn--m{border-color:#2096c9;background:#eaf5fb;color:#1f4e66!important}
@media (max-width:599px){.post_content .tb-join{gap:10px}.post_content .tb-join__who{font-size:.95rem}.post_content .tb-join__btn{padding:.9em 1.4em .9em .6em}}
.post_content .tb-join > p{display:contents}
.post_content .tb-join br{display:none}


/* 本文の小見出し（h3）をもう一段大きく（17px→19px／PC 19px→21px） 2026-09-19 */
.post_content h3:not(.tb-reason h3):not(.wp-block-post-title):not(.tobira-card h3){font-size:19px}
@media (min-width:600px){
  .post_content h3:not(.tb-reason h3):not(.wp-block-post-title):not(.tobira-card h3){font-size:21px}
}
/* 流れのステップの番号（丸）を小さく 2026-09-19 */
.post_content ol.tb-steps li{padding-left:2.4em}
.post_content ol.tb-steps li::before{font-size:.8em;width:2em;height:2em;top:.2em}
.post_content ol.tb-steps li:not(:last-child)::after{left:.74em;top:2em}


/* 「〜はこちら」ボタン（tb-link）は全ページ中央ぞろえ（2026-09-19） */
.post_content a.tb-link{display:flex!important;width:fit-content;max-width:100%;margin-left:auto!important;margin-right:auto!important}
.post_content a.tb-link + br,.post_content br:has(+ a.tb-link){display:none}


/* 20代独身男性限定プランの料金比較（旧画像 20plankakaku.jpg から作り直し。M男性・S男性・20代プランのページ） 2026-09-19 */
.post_content .tb-plan20{background:#f3f9fc;border:1px solid #cfe2ec;border-radius:10px;padding:1.2em 1em 1em;margin:1em 0 1.6em}
.post_content .tb-plan20__lead{text-align:center;color:#1f4e66;font-weight:700;font-size:1.05rem;line-height:1.6;margin:0 0 .9em}
.post_content .tb-plan20__lead strong{color:#b04a62}
.post_content .tb-plan20__cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.post_content .tb-plan20__card{background:#fff;border:1px solid #cfe2ec;border-radius:8px;padding:.9em .6em;text-align:center}
.post_content .tb-plan20__case{margin:0 0 .6em;font-size:.85rem;font-weight:700;color:#1f4e66;line-height:1.5}
.post_content .tb-plan20__before{margin:0;font-size:.8rem;color:#777}
.post_content .tb-plan20__before s{text-decoration-thickness:1px}
.post_content .tb-plan20__after{margin:.2em 0 0;font-size:1.5rem;font-weight:700;color:#b04a62;line-height:1.3}
.post_content .tb-plan20__after span{display:block;font-size:.7rem;color:#fff;background:#d4687e;border-radius:20px;padding:.1em .7em;margin:0 auto .3em;width:fit-content}
.post_content .tb-plan20__after small{font-size:.8rem;margin-left:.1em}
.post_content .tb-plan20__note{font-size:.75rem;color:#666;line-height:1.6;margin:.9em 0 0}
@media (max-width:599px){
  .post_content .tb-plan20__cards{grid-template-columns:1fr;gap:8px}
  .post_content .tb-plan20__card{display:flex;align-items:center;justify-content:space-between;text-align:left;padding:.7em .9em}
  .post_content .tb-plan20__case{margin:0}
  .post_content .tb-plan20__case br{display:none}
  .post_content .tb-plan20__price{text-align:right}
  .post_content .tb-plan20__after{font-size:1.3rem}
  .post_content .tb-plan20__after span{margin:0 0 .2em auto}
}

/* トップ「同じ運営会社の姉妹サービス」のバナーをスマホで横幅いっぱい 2026-09-19 */
@media (max-width:599px){
  .home .post_content figure.wp-block-image:has(img[src*="kai_bn"], img[data-src*="kai_bn"], img[src*="fetilabo_bn"], img[data-src*="fetilabo_bn"], img[src*="mocha-mv"], img[data-src*="mocha-mv"]){margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;width:100vw!important;max-width:100vw!important}
  .home .post_content figure.wp-block-image:has(img[src*="kai_bn"], img[data-src*="kai_bn"], img[src*="fetilabo_bn"], img[data-src*="fetilabo_bn"], img[src*="mocha-mv"], img[data-src*="mocha-mv"]) img{width:100%;height:auto;display:block;border-radius:0}
  .home .post_content figure.wp-block-image:has(img[src*="mocha-mv"], img[data-src*="mocha-mv"]) figcaption{padding:0 16px}
}


/* S男性：女性が出会いたい男性の属性（旧画像 160331_4tsunoe.jpg から作り直し） 2026-09-19 */
.post_content .tb-agechart{max-width:680px;margin:1.2em auto 1.8em;background:#f3f9fc;border:1px solid #cfe2ec;border-radius:10px;padding:1.1em 1em 1em}
.post_content .tb-agechart__title{margin:0 0 .8em;font-weight:700;color:#1f4e66;font-size:1.05rem}
.post_content .tb-agechart__body{display:flex}
.post_content .tb-agechart__rows{display:flex;flex-direction:column;width:2.6em;flex-shrink:0}
.post_content .tb-agechart__label{flex:1;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;font-weight:700;font-size:.9rem;color:#fff;letter-spacing:.3em}
.post_content .tb-agechart__label--m{background:#2096c9;border-radius:6px 0 0 0}
.post_content .tb-agechart__label--s{background:#1f4e66;border-radius:0 0 0 6px}
.post_content .tb-agechart__plot{position:relative;flex:1;height:230px;background:#fff;border:1px solid #cfe2ec;border-left:none;overflow:hidden;background-image:linear-gradient(to bottom,transparent calc(50% - 1px),#cfe2ec calc(50% - 1px),#cfe2ec 50%,transparent 50%)}
.post_content .tb-agechart__area{position:absolute;display:flex;align-items:flex-start;justify-content:center;border-radius:50%}
.post_content .tb-agechart__area em{font-style:normal;font-weight:700;font-size:.85rem;line-height:1.3;text-align:center}
.post_content .tb-agechart__area--all{top:7%;height:86%;background:rgba(212,104,126,.18);border:2px solid rgba(212,104,126,.45);padding-top:12%}
.post_content .tb-agechart__area--all em{color:#b04a62}
.post_content .tb-agechart__area--core{top:54%;height:40%;background:rgba(176,74,98,.85);align-items:center}
.post_content .tb-agechart__area--core em{color:#fff;font-size:.8rem;padding:0 .4em}
.post_content .tb-agechart__axis{position:relative;height:1.8em;margin-left:2.6em;font-size:.8rem;color:#555}
.post_content .tb-agechart__axis span{position:absolute;top:.35em;transform:translateX(-50%);white-space:nowrap}
.post_content .tb-agechart__axis .tb-agechart__unit{right:0;left:auto;transform:none;top:1.5em;font-size:.72rem;color:#888}
.post_content .tb-agechart{padding-bottom:1.6em}
@media (max-width:599px){
  .post_content .tb-agechart{padding:.9em .7em 1.5em}
  .post_content .tb-agechart__plot{height:190px}
  .post_content .tb-agechart__rows,.post_content .tb-agechart__axis{margin-left:0}
  .post_content .tb-agechart__rows{width:2.2em}
  .post_content .tb-agechart__axis{margin-left:2.2em;font-size:.72rem}
  .post_content .tb-agechart__area em{font-size:.75rem}
  .post_content .tb-agechart__area--core em{font-size:.68rem}
}
.post_content .tb-agechart__area--all{padding-top:1.4em}
.post_content .tb-agechart__area--core em{white-space:nowrap}
@media (max-width:599px){.post_content .tb-agechart__area--all{padding-top:1em}.post_content .tb-agechart__area--core em{font-size:.62rem}}

/* メニューの「ホーム」はスマホメニューだけに出す（PCのヘッダーでは隠す） 2026-09-19 */
.l-header__gnav .tb-menu-sp-only,.l-fixHeader__gnav .tb-menu-sp-only{display:none!important}
/* 「とくにご希望が多い」を円の外（右）に出す 2026-09-19 */
.post_content .tb-agechart__callout{position:absolute;top:74%;transform:translateY(-50%);padding-left:1.1em;font-weight:700;font-size:.8rem;line-height:1.35;color:#b04a62;white-space:nowrap}
.post_content .tb-agechart__callout::before{content:"";position:absolute;left:0;top:50%;width:.8em;border-top:2px solid #b04a62}
@media (max-width:599px){.post_content .tb-agechart__callout{font-size:.68rem;padding-left:.9em}.post_content .tb-agechart__callout::before{width:.6em}}
@media (max-width:599px){
  .home .post_content figure.wp-block-image:has(img[src*="kai_bn"], img[data-src*="kai_bn"]) figcaption{padding:0 16px}
}


/* リンクボタン（tb-link）が本文のすぐ下にくっついていたので上下に余白（例：「Mochaでできること」30ページ） 2026-09-19 */
.post_content a.tb-link{margin-top:1.1em!important;margin-bottom:.6em!important}
.post_content p > br:has(+ a.tb-link){display:none}


/* PCのグローバルナビ：文字を1px小さく、ロゴとの間を広げる 2026-09-19（ロゴ枠が縮んで文字がはみ出していたので flex-shrink:0。右端のボタンがはみ出さない幅で調整） */
@media (min-width:960px){.l-header__logo{flex-shrink:0!important}}
@media (min-width:1600px){
  .c-gnav>.menu-item>a .ttl{font-size:15px!important}
  .l-header__logo{margin-right:40px!important}
}
@media (min-width:1360px) and (max-width:1599px){
  .c-gnav>.menu-item>a .ttl{font-size:14px!important}
  .c-gnav>.menu-item>a{padding-left:8px!important;padding-right:8px!important}
  .l-header__logo{margin-right:32px!important}
}
@media (min-width:960px) and (max-width:1359px){
  .c-gnav>.menu-item>a .ttl{font-size:13px!important}
  .c-gnav>.menu-item>a{padding-left:6px!important;padding-right:6px!important}
  .l-header__logo{margin-right:20px!important}
}
@media (min-width:960px) and (max-width:1279px){
  .c-gnav>.menu-item>a{padding-left:4px!important;padding-right:4px!important}
  .l-header__logo{margin-right:14px!important}
}


/* スマホ下部の固定メニュー：LINE・無料面談のボタンがつぶれて見えたので、高さにゆとり＋アイコン小さめ＋角丸 2026-09-19 */
#fix_bottom_menu .menu_list{height:64px!important;padding:7px 8px!important;gap:8px!important}
#fix_bottom_menu .menu_list>.menu-item{padding-top:9px!important;font-size:17px!important;border-radius:12px!important}
#fix_bottom_menu .menu_list>.menu-item>a{padding-bottom:8px!important}
#fix_bottom_menu .menu_list>.menu-item span{font-size:11.5px!important;letter-spacing:.02em}
#fix_bottom_menu .menu_list>.icon-line,#fix_bottom_menu .menu_list>.icon-mail{box-shadow:0 2px 6px rgba(0,0,0,.12)}
#fix_bottom_menu .menu_list>.icon-mail{background:#d4687e!important}


/* ご入会案内の費用：女性は無料を先に大きく（.tb-free） 2026-09-19 */
.post_content .tb-free{text-align:center;background:#fdf1f4;border:2px solid #d4687e;border-radius:12px;padding:1.2em 1em 1.1em;margin:1em 0 1.8em}
.post_content .tb-free p{margin:0}
.post_content .tb-free__who{display:inline-block;background:#d4687e;color:#fff;font-weight:700;font-size:.85rem;border-radius:20px;padding:.15em 1.2em;margin-bottom:.4em!important}
.post_content .tb-free__big{font-size:1.3rem;font-weight:700;color:#1f4e66;line-height:1.3}
.post_content .tb-free__big strong{font-size:2.2em;color:#b04a62;margin-left:.1em;letter-spacing:.05em}
.post_content .tb-free__sub{font-size:.9rem;color:#444;margin-top:.4em!important;line-height:1.6}


/* スクロール時の固定ヘッダーを、上のヘッダーと同じ見た目にそろえる（2026-09-20） */
@media (min-width:960px){.l-fixHeader__logo{flex-shrink:0!important;margin-right:32px!important}}
@media (min-width:1600px){.l-fixHeader__logo{margin-right:40px!important}}
@media (min-width:960px) and (max-width:1359px){.l-fixHeader__logo{margin-right:20px!important}}
@media (min-width:960px) and (max-width:1279px){.l-fixHeader__logo{margin-right:14px!important}}
@media (min-width:960px) and (max-width:1099px){.l-fixHeader .w-header{display:none!important}}


/* トビラの会とは・よくある質問の書き直し（2026-09-20）：数字の囲み／Q&A（tb-q と同じ見た目）／FAQの切り替えボタン */
.post_content .tb-lead{margin:1.5em 0 1.2em}
.post_content .tb-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0 0 2em}
@media (min-width:782px){.post_content .tb-stats{grid-template-columns:repeat(4,1fr)}}
.post_content .tb-stat{background:#f3f9fc;border:1px solid #d9ecf5;border-radius:10px;padding:14px 8px;text-align:center;line-height:1.5}
.post_content .tb-stat strong{display:block;color:#1f4e66;font-size:1.15rem;font-weight:700}
.post_content .tb-stat span{display:block;font-size:.8rem;color:#555}
.post_content .tb-stat small{display:block;font-size:.7rem;color:#888;margin-top:2px}
.post_content .tb-faq-nav{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 24px}
.post_content .tb-faq-nav a{flex:1 1 220px;display:block;padding:14px;border-radius:40px;color:#fff!important;text-align:center;text-decoration:none;font-weight:700;background:#2096c9}
.post_content .tb-faq-nav a[href*="faq-woman"]{background:#e0607e}
.post_content .tb-qa{position:relative;background:#fff;border:1px solid #dcebf3;border-radius:10px;padding:.9em 1em .9em 3em;margin:0 0 .9em;line-height:1.8;box-shadow:0 1px 3px rgba(31,78,102,.05)}
.post_content .tb-qa h3.tb-qa__q{position:relative;background:none!important;border:none!important;border-bottom:1px dashed #d3e8f3!important;box-shadow:none!important;margin:0 0 .6em!important;padding:0 0 .6em!important;color:#1f4e66;font-size:.98rem!important;line-height:1.6;font-weight:700}
.post_content .tb-qa h3.tb-qa__q::before,.post_content .tb-qa__a::before{position:absolute;left:-2.3em;top:.05em;width:1.7em;height:1.7em;border-radius:50%;color:#fff;font-size:.82rem;font-weight:700;display:flex;align-items:center;justify-content:center;line-height:1;border:none;content:"Q";background:#2096c9}
.post_content .tb-qa h3.tb-qa__q::after{display:none}
.post_content .tb-qa__a{position:relative}
.post_content .tb-qa__a::before{content:"A";background:#e0607e;top:.25em}
.post_content .tb-qa__a > :last-child{margin-bottom:0}
.post_content .tb-qa__a p,.post_content .tb-qa__a ul{margin-bottom:.6em}

/* Q&Aの質問見出し：全体のh3ルールより優先（2026-09-20） */
.post_content .tb-qa h3.tb-qa__q.tb-qa__q.tb-qa__q{border:none!important;border-bottom:1px dashed #d3e8f3!important;border-left:none!important;background:none!important;padding:0 0 .6em!important;border-radius:0!important}
.post_content .tb-qa h3.tb-qa__q.tb-qa__q.tb-qa__q::before{display:flex!important;content:"Q"!important;position:absolute!important;left:-2.3em!important;top:.05em!important;width:1.7em!important;height:1.7em!important;border-radius:50%!important;background:#2096c9!important;color:#fff!important;font-size:.82rem!important;font-weight:700;align-items:center;justify-content:center;line-height:1;border:none!important}

/* 目次の箱（contents-oyakusoku）の中の文中リンクは改行しない。「くわしく」は右寄せの小さなボタン 2026-09-20 */
.post_content .contents-oyakusoku li a{display:inline}
.post_content .contents-oyakusoku li > a:only-child{display:block}
.post_content .contents-oyakusoku li:not(:has(> a:only-child))::before{width:6px;height:6px;top:1.35em;border:none;border-radius:50%;background:#2096c9;transform:none}
.post_content .contents-oyakusoku li > strong:first-child{color:#1f4e66}
.post_content .contents-oyakusoku li > a:last-child:not(:only-child)[href*="#"]{display:flex;width:fit-content;align-items:center;gap:.45em;margin:.55em 0 0 auto;padding:.3em .9em .3em 1em;border:1px solid #bfdcec;border-radius:30px;background:#fff;color:#1f6f94;font-size:.78rem;font-weight:700;line-height:1.4;text-decoration:none}
.post_content .contents-oyakusoku li > a:last-child:not(:only-child)[href*="#"]::after{content:"";width:.38em;height:.38em;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}
.post_content .contents-oyakusoku li > a:last-child:not(:only-child)[href*="#"]:hover{background:#e3f1f9}

/* SM hotel area list [tb_hotel_list] (2026-09-20) */
.post_content .tb-hotel-list{list-style:none;padding:0;margin:0 0 2em;display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:782px){.post_content .tb-hotel-list{grid-template-columns:repeat(2,1fr)}}
.post_content .tb-hotel-list__item{margin:0;padding:0}
.post_content .tb-hotel-list__item::before{display:none}
.post_content .tb-hotel-list__link{display:block;height:100%;background:#fff;border:1px solid #d9ecf5;border-left:4px solid #2096c9;border-radius:8px;padding:14px 16px;text-decoration:none;color:#333;box-shadow:0 1px 3px rgba(31,78,102,.05)}
.post_content .tb-hotel-list__link:hover{background:#f3f9fc}
.post_content .tb-hotel-list__title{display:block;color:#1f4e66;font-weight:700;font-size:1rem;line-height:1.5;margin-bottom:6px}
.post_content .tb-hotel-list__desc{display:block;font-size:.85rem;line-height:1.7;color:#555}


/* ===== 2026-09-23 スマホ表示の修正（ともちゃん指示） ===== */
/* 下部の固定メニュー：ホーム・ご入会案内の太字をやめて軽く見せる（色はフッターと同じ #333） */
#fix_bottom_menu .menu_list > .icon-home > a,
#fix_bottom_menu .menu_list > .icon-person > a,
#fix_bottom_menu .menu_list > .icon-home i,
#fix_bottom_menu .menu_list > .icon-person i,
#fix_bottom_menu .menu_list > .icon-home span,
#fix_bottom_menu .menu_list > .icon-person span{color:#333!important}
#fix_bottom_menu .menu_list > .icon-home span,
#fix_bottom_menu .menu_list > .icon-person span{font-weight:500!important}

/* スマホの常時表示ヘッダー：お知らせバーもスクロール中ずっと残す（38px＋56px＝94px） */
@media (max-width:959px){
  .c-infoBar{position:sticky;top:0;z-index:102}
  .l-header{top:38px!important}
  html{scroll-padding-top:100px}
}
