/* 結び花 v1.2: 新トップと統一した詳細ページ専用 */
#mb-site .mb-preview-ribbon{background:#fff7df;color:#77582f;display:flex;align-items:center;justify-content:center;gap:18px;padding:8px 18px;font-size:12px;font-weight:750;border-bottom:1px solid #ffe7b0}
#mb-site .mb-preview-ribbon a{color:#9f3f69;text-decoration:underline;text-underline-offset:3px}
#mb-site .mb-detail-hero{background:linear-gradient(115deg,#fff0f5,#fffbf9 74%,#ffe8f0);padding:68px 0 72px;position:relative;overflow:hidden;text-align:center;border-bottom:1px solid #f4dce6}
#mb-site .mb-detail-hero .mb-wrap{position:relative}
#mb-site .mb-detail-hero h1{font-size:clamp(31px,4vw,45px);margin:4px 0 16px;line-height:1.5}
#mb-site .mb-detail-hero p:last-of-type{font-size:16px;max-width:720px;margin:0 auto;color:#715e66}
#mb-site .mb-detail-decoration{position:absolute;right:5%;top:-28px;font-size:125px;color:#f8bdd0;opacity:.6;pointer-events:none}
#mb-site .mb-detail-footnote{padding-top:20px}
#mb-site .mb-detail-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:1020px;margin:auto;border:1px solid var(--mb-line);border-radius:18px;background:#fff;box-shadow:var(--mb-shadow)}
#mb-site .mb-detail-table{border-collapse:collapse;width:100%;min-width:630px;color:var(--mb-ink);font-size:14px}
#mb-site .mb-detail-table th,#mb-site .mb-detail-table td{padding:17px 15px;border-bottom:1px solid #f3dfe7;text-align:center}
#mb-site .mb-detail-table thead th{background:#fff1f6;color:#a52b60;font-weight:900}
#mb-site .mb-detail-table tbody tr:nth-child(even){background:#fffafb}
#mb-site .mb-detail-table tbody th{text-align:left;font-weight:800;white-space:nowrap}
#mb-site .mb-detail-table th:nth-child(3),#mb-site .mb-detail-table td:nth-child(3){background:#ffeff6a8}
#mb-site .mb-detail-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:13px;max-width:970px;margin:auto}
#mb-site .mb-detail-chips span{background:#fff;border:1px solid #f4d7e0;border-radius:999px;padding:11px 19px;color:#69515e;font-weight:750;font-size:14px}
#mb-site .mb-detail-message{max-width:790px;padding:38px 45px;background:#fffafc;border:1px solid #f5dfeb;border-radius:22px;box-shadow:var(--mb-shadow);line-height:2.1}
#mb-site .mb-detail-message p{margin:0 0 20px}
#mb-site .mb-detail-message p:last-child{margin:0}
#mb-site .mb-detail-message strong{color:var(--mb-rose-dark)}
#mb-site .mb-detail-flow-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1060px;margin:auto}
#mb-site .mb-detail-flow-step{display:flex;gap:15px;align-items:flex-start;padding:25px 23px;border:1px solid var(--mb-line);border-radius:20px;background:#fffafb;min-height:175px;box-shadow:0 6px 20px #a06c8110}
#mb-site .mb-detail-step-num{color:var(--mb-rose);font-size:14px;font-weight:900;white-space:nowrap}
#mb-site .mb-detail-step-ico{font-size:28px;line-height:1.2}
#mb-site .mb-detail-flow-step h3{font-size:19px;line-height:1.45;margin-bottom:8px}
#mb-site .mb-detail-flow-step p{font-size:14px;color:var(--mb-muted);margin:0;line-height:1.9}
#mb-site .mb-detail-about .mb-section-heading em{font-style:normal;color:var(--mb-rose)}
#mb-site .mb-detail-page .mb-plans{background:#fff}
#mb-site .mb-price-grid{padding-top:14px}
#mb-site .mb-worry-list>div{min-height:65px}
#mb-site .mb-header .mb-nav [aria-current="page"]{color:var(--mb-rose-dark);border-bottom:2px solid var(--mb-rose)}
@media(max-width:700px){#mb-site .mb-detail-hero{padding:45px 0 51px}#mb-site .mb-detail-hero h1{font-size:30px}#mb-site .mb-detail-hero p:last-of-type{font-size:14px}#mb-site .mb-detail-decoration{font-size:80px;right:-3%;top:-25px}#mb-site .mb-detail-flow-list{grid-template-columns:1fr}#mb-site .mb-detail-flow-step{min-height:unset;padding:20px 17px}#mb-site .mb-detail-message{padding:25px 23px;font-size:15px}#mb-site .mb-preview-ribbon{gap:8px;font-size:10px;flex-wrap:wrap}#mb-site .mb-detail-chips span{font-size:12px}#mb-site .mb-detail-table th,#mb-site .mb-detail-table td{padding:13px 10px}}

/* v1.6 detail pages use the same restrained palette and icon system */
#mb-site .mb-detail-hero{background:linear-gradient(120deg,#FFF9F6,#FFF2F6 75%,#FFF9F6)}
#mb-site .mb-detail-table thead th{background:#F9E2E9;color:#A72D5B}
#mb-site .mb-detail-table tbody tr:nth-child(even){background:#FFF9F6}
#mb-site .mb-detail-chips span{border-color:#EED9DF;color:#60484F}
#mb-site .mb-detail-message{background:#FFFCFB;border-color:#EED9DF}
#mb-site .mb-detail-flow-step{background:#FFFCFB;border-color:#EED9DF}
#mb-site .mb-detail-step-ico{width:47px;height:47px;flex:0 0 47px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#F9E2E9}
#mb-site .mb-detail-step-ico .mb-ui-icon{width:26px;height:26px}
@media(max-width:640px){#mb-site .mb-detail-flow-step p{font-size:16px}#mb-site .mb-detail-chips span{font-size:14px}}


/* v3.4 — detail-page visual consistency with the polished diagnosis and home */
#mb-site .mb-detail-hero{background:linear-gradient(155deg,#FFF9F7,#FFF0F5 72%,#FFFCFB);padding:76px 0 80px;border-bottom-color:#ECD8E0}
#mb-site .mb-detail-hero h1{font-size:clamp(29px,4vw,43px);font-weight:780;line-height:1.39;max-width:15em;margin:10px auto 16px;text-wrap:balance}
#mb-site .mb-detail-hero p:last-of-type{max-width:34em;font-size:16px;line-height:1.8;color:#6C5B64}
#mb-site .mb-detail-decoration{color:#E7B5C6;opacity:.22;right:3%;top:6%;font-size:105px}
#mb-site .mb-detail-message{border:1px solid #ECD9E1;border-radius:25px;background:#FFFCFB;padding:36px 42px;line-height:1.8;box-shadow:0 13px 32px rgba(119,69,89,.065)}
#mb-site .mb-detail-message p{font-size:16px;line-height:1.8;margin-bottom:16px}
#mb-site .mb-detail-flow-list{gap:16px}
#mb-site .mb-detail-flow-step{min-height:0;background:#FFFEFD;border:1px solid #EBD8E0;border-radius:22px;box-shadow:0 10px 26px rgba(113,74,88,.05);padding:25px 23px;gap:15px}
#mb-site .mb-detail-step-ico{background:#F9E6ED;color:#B84370}
#mb-site .mb-detail-flow-step h3{font-size:20px;line-height:1.45;margin-bottom:10px}
#mb-site .mb-detail-flow-step p{font-size:16px;line-height:1.75;color:#705F68}
#mb-site .mb-detail-chips{gap:10px}
#mb-site .mb-detail-chips span{border-color:#EBD6DF;background:#FFFCFB;font-size:14px;padding:10px 16px}
#mb-site .mb-detail-table-scroll{border-color:#EBD6DF;border-radius:19px;box-shadow:0 10px 27px rgba(118,70,88,.06)}
#mb-site .mb-detail-table{font-size:15px}
#mb-site .mb-detail-table thead th{background:#F9E7EE;color:#A93563}
#mb-site .mb-detail-table th,#mb-site .mb-detail-table td{padding:15px 13px}
#mb-site .mb-preview-ribbon{background:#FFF7E8;border-bottom-color:#F5E6C8;font-size:12px;line-height:1.5}
@media(max-width:700px){
 #mb-site .mb-detail-hero{padding:53px 0 58px}
 #mb-site .mb-detail-hero h1{font-size:clamp(26px,7vw,31px);line-height:1.4}
 #mb-site .mb-detail-hero p:last-of-type{font-size:15px;line-height:1.73;max-width:22em}
 #mb-site .mb-detail-decoration{font-size:68px;opacity:.16;top:9%;right:-1%}
 #mb-site .mb-detail-message{padding:26px 23px;border-radius:20px}
 #mb-site .mb-detail-message p{font-size:15px;line-height:1.75}
 #mb-site .mb-detail-flow-list{gap:12px}
 #mb-site .mb-detail-flow-step{padding:20px 18px;gap:13px;border-radius:18px}
 #mb-site .mb-detail-flow-step h3{font-size:18px;line-height:1.45}
 #mb-site .mb-detail-flow-step p{font-size:15px;line-height:1.75}
 #mb-site .mb-detail-chips span{font-size:13px;padding:9px 13px}
 #mb-site .mb-detail-table{font-size:14px}
 #mb-site .mb-preview-ribbon{padding:10px;font-size:11px}
}

/* v3.5 consistency with the main site and diagnosis */
#mb-site .mb-detail-hero{background:linear-gradient(145deg,#FFF8F8,#FFF0F5)}
#mb-site .mb-detail-hero h1{color:#594550;line-height:1.43;letter-spacing:.012em}
#mb-site .mb-detail-hero p{line-height:1.75}
#mb-site .mb-detail-message{background:#FFFCFC;border-color:#EEDBE3}
#mb-site .mb-detail-message p{line-height:1.77;color:#695762}
#mb-site .mb-detail-table th,#mb-site .mb-detail-table td{line-height:1.65}
@media(max-width:640px){#mb-site .mb-detail-hero h1{font-size:clamp(27px,7vw,33px)}#mb-site .mb-detail-hero p{font-size:15px;line-height:1.7}}

/* v4.3: Keep mobile consultation links above decorative layers, with touch-friendly navigation. */
#mb-site .mb-header .mb-nav-cta,
#mb-site .mb-mobile-menu .mb-menu-line,
#mb-site .mb-consult .mb-consult-button,
#mb-site .mb-consult .mb-line-alt a {
  position:relative;
  pointer-events:auto;
  touch-action:manipulation;
  cursor:pointer;
}
#mb-site .mb-header .mb-nav-cta{z-index:2}
#mb-site .mb-consult .mb-consult-button{z-index:2}
/* v4.7: The CTA section was changed from rose to very pale pink in v4.0;
   keep the fallback link legible instead of white on pale pink. */
#mb-site .mb-consult p.mb-line-alt:not(.mb-en):not(.mb-consult-note){
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:0 .45em;width:min(100%,580px);box-sizing:border-box;
  margin:16px auto 0!important;padding:0 10px;
  color:#60484F!important;font-size:14px!important;line-height:1.85!important;
  text-align:center;position:relative;z-index:2;
}
#mb-site .mb-consult .mb-line-alt a{
  color:#A42D60!important;text-decoration:underline!important;
  text-decoration-thickness:1.25px;text-underline-offset:4px;
  font-weight:750;overflow-wrap:anywhere;
}
#mb-site .mb-consult .mb-line-alt a:hover{color:#762244!important}
#mb-site .mb-consult .mb-line-alt a:focus-visible{outline:3px solid #A42D60;outline-offset:4px;border-radius:3px}
@media(max-width:480px){#mb-site .mb-consult p.mb-line-alt:not(.mb-en):not(.mb-consult-note){font-size:13.5px!important;margin-top:13px!important}}

/* v4.6: Company page - consistent with the new detail design */
#mb-site .mb-company-section{background:#FFFCFA}
#mb-site .mb-company-panel{border:1px solid #EBDCE2;border-radius:22px;background:#FFFEFD;box-shadow:0 8px 24px rgba(96,58,77,.05);overflow:hidden}
#mb-site .mb-company-info{margin:0;display:block}
#mb-site .mb-company-info>div{display:grid;grid-template-columns:minmax(138px,32%) minmax(0,1fr);gap:20px;padding:18px 24px;border-bottom:1px solid #F1E6EA;align-items:start}
#mb-site .mb-company-info>div:last-child{border-bottom:none}
#mb-site .mb-company-info dt{font-weight:750;color:#6D5961;font-size:15px}
#mb-site .mb-company-info dd{margin:0;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
#mb-site .mb-company-info a{color:#A53865;text-decoration:underline;text-underline-offset:4px}
#mb-site .mb-company-note{margin:22px auto 0;max-width:700px;padding:17px 21px;background:#FFF6F8;border-radius:16px;color:#66565E;font-size:14px;line-height:1.8}
#mb-site .mb-company-note p{margin:0 0 7px}
#mb-site .mb-company-note p:last-child{margin:0}
@media(max-width:600px){#mb-site .mb-company-info>div{display:block;padding:15px 18px}#mb-site .mb-company-info dt{font-size:13px;margin:0 0 5px}#mb-site .mb-company-info dd{font-size:16px}#mb-site .mb-company-note{font-size:13px;padding:15px 16px}}

/* v4.8.9: explain what the approved fees cover, under the genuine 6-month totals. */
#mb-site .mbc191-price-why{max-width:760px;margin:13px auto 10px;padding:0 8px;color:#594542;font-family:"Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:clamp(12px,1.5vw,14px);line-height:1.75;text-align:center}

/* v4.8.11: native contact page. Show the genuine form first, not an old LINE promotion. */
#mb-site .mbc193-contact{padding:clamp(24px,4vw,48px) 16px 54px!important;background:#fffdfb!important}
#mb-site .mbc193-contact .mb-section-heading{margin-bottom:24px!important}
#mb-site .mbc193-contact .mb-section-heading h2{font-family:'Yu Mincho','Hiragino Mincho ProN',serif!important;font-size:clamp(22px,3vw,30px)!important;color:#513b38!important}
#mb-site .mbc193-contact .mb-section-heading p{font-size:14px!important;line-height:1.75!important;color:#513b38!important}
#mb-site .mbc193-form-shell{max-width:680px;margin:auto;background:#fff!important;border:1px solid #efdce3!important;border-radius:20px!important;padding:clamp(18px,4vw,30px)!important;color:#513b38!important}
#mb-site .mbc193-form-shell form{display:block!important;width:100%!important}
#mb-site .mbc193-form-shell :is(p,label,dt,dd,th,td){font-size:14px!important;color:#513b38!important;line-height:1.7!important}
#mb-site .mbc193-form-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){box-sizing:border-box!important;width:100%!important;max-width:100%!important;border:1px solid #d9c5cd!important;border-radius:9px!important;background:#fffdfb!important;min-height:44px!important;padding:10px 12px!important;font:inherit!important;color:#513b38!important}
#mb-site .mbc193-form-shell textarea{min-height:120px!important;resize:vertical!important}
#mb-site .mbc193-form-shell :is(input[type=submit],button[type=submit]){background:#CE356C!important;color:white!important;border:0!important;border-radius:999px!important;min-height:48px!important;padding:11px 24px!important;max-width:100%!important;font-size:15px!important;font-weight:700!important;cursor:pointer!important}
#mb-site .mbc193-form-shell :is(input,textarea,select):focus-visible{outline:2px solid #CE356C!important;outline-offset:2px!important}
#mb-site .mbc193-form-shell table{width:100%!important;border-collapse:collapse!important}
#mb-site .mbc193-form-shell tr{display:block!important;padding:10px 0!important;border-bottom:1px solid #f3e9ec!important}
#mb-site .mbc193-form-shell :is(th,td){display:block!important;width:100%!important;padding:4px 0!important;text-align:left!important}
#mb-site .mbc193-form-sub{text-align:center;font-size:12px!important;line-height:1.8!important;color:#6b5555!important;margin:20px auto!important}
#mb-site .mbc193-form-sub a{color:#AE356C!important;text-decoration:underline!important;text-underline-offset:3px!important}


/* v4.8.14: one compact, easy-to-scan terms area on the detailed pricing page. */
#mb-site .mbc194-terms {background:#fffdfb;padding:clamp(30px,5vw,64px) 16px}
#mb-site .mbc194-terms .mb-section-heading{margin-bottom:24px}
#mb-site .mbc194-terms details {border:1px solid #eedbe2;border-radius:14px;background:#fff;margin:10px 0;overflow:hidden;box-shadow:none}
#mb-site .mbc194-terms summary {cursor:pointer;color:#513b38;font-weight:750;font-size:clamp(15px,2.2vw,17px);padding:16px 20px;line-height:1.6;list-style-position:inside}
#mb-site .mbc194-terms details[open] summary{border-bottom:1px solid #f4e8ec;background:#fff8fa}
#mb-site .mbc194-term-body{padding:14px 20px 18px;font-size:clamp(13.5px,1.8vw,15px);color:#513b38;line-height:1.85}
#mb-site .mbc194-term-body p{margin:0 0 11px}
#mb-site .mbc194-term-body p:last-child{margin:0}
#mb-site .mbc194-term-body a{color:#a42d60;text-decoration:underline;text-underline-offset:3px}
#mb-site .mbc194-terms .mb-fineprint{font-size:12px;margin-top:18px}
#mb-site .mbc194-terms summary:focus-visible{outline:3px solid #ce356c;outline-offset:-3px}
@media (max-width:430px){#mb-site .mbc194-terms summary{padding:14px 15px}#mb-site .mbc194-term-body{padding:13px 15px 17px}}

/* v4.8.15: approved meeting cadence & common self-understanding sheet. */
#mb-site .mbc195-included{margin:8px auto 0;line-height:1.55;font-size:13px;color:#6d4952;font-weight:700}
#mb-site .mbc195-included span{display:inline-block;border:1px solid #edcada;background:#fff3f7;border-radius:999px;padding:2px 8px;font-size:11px}
#mb-site .mbc195-worksheet{background:#fffdfb;border:1px solid #ecd6e0;border-radius:14px;padding:4px 18px;margin:16px auto}
#mb-site .mbc195-worksheet summary{cursor:pointer;font-weight:700;color:#a53161;line-height:1.7;padding:9px 0}
#mb-site .mbc195-worksheet li{line-height:1.7;padding:5px 0}
#mb-site .mbc195-worksheet p{font-size:12px;line-height:1.7;color:#736369}
