/* Requested restoration only. The article body/approved diagrams are not restyled. */
.j1-mobile-company{display:none}
.official-header-candidate .j1-global-nav{width:1200px;max-width:calc(100% - 80px);height:56px;margin:auto;padding:5px 0 7px;border-top:1px solid #e4e0d9}
.official-header-candidate .j1-nav-item>a{padding:11px 4px;text-align:center;font-weight:600}
.official-header-candidate .j1-nav-expand{width:14px}
.official-header-candidate .j1-mega{top:100%;z-index:40}
.official-header-candidate .minor a:hover{text-decoration:underline}
.sp-header .j1-menu-toggle span{height:auto;width:auto;background:transparent}
.mv-radio-row.wrap{width:1200px;max-width:calc(100% - 80px);margin-left:auto;margin-right:auto}
.mv-radio-row .secondary-site{text-decoration:none}
.j1-tool-status{font-size:12px;line-height:1.7;color:#726a60;padding:14px 0 0;margin-bottom:0}
.tools.j1-wrap{width:1200px;max-width:calc(100% - 80px);margin:auto;padding-top:32px}
.fs6-ai-source .submit .original-ai-submit[aria-disabled=true],.compact-ai-cta[aria-disabled=true],.market-art-button[aria-disabled=true]{cursor:default}
.fs6-ai-source .submit .txt{font-size:12px;line-height:1.6}
.fs6-ai-source .title .hd::before{background-size:contain}
.ai-compact:before{box-shadow:none!important}
.market-art-button{font-family:inherit}
.white-market-host{height:100%}
.j1-method-next{margin-top:28px;margin-bottom:0;text-align:right}
.j1-method-detail{padding-top:52px;padding-bottom:52px}
.j1-method-detail h2{font-size:26px;font-family:var(--j1-serif);line-height:1.7}
.j1-restored-categories .teian-list .card{border-radius:0;box-shadow:none}
#knowledge .legacy-page #teian{margin:38px 0 0;padding:0}
#knowledge .legacy-page #teian>.cont-w{width:100%;max-width:100%;margin:0}
#knowledge .legacy-page #teian>.cont-w>.hd{display:none}
#knowledge .legacy-page #teian .teian-list>.card .shd{color:#2a1b09}
#knowledge .legacy-page #teian .teian-list>.card .txt{color:#51483d}
#knowledge .sell-category-count{border-radius:2px;background:#f7f5f0;border-color:#d8ceba}
.j1-other-category{margin:26px 0 0;font-size:14px;text-align:right}
.j1-other-category strong{margin-inline:8px;color:#80621f}
.j1-image-note{display:block;margin:8px 0 0;color:#6d604a;font-size:11px;line-height:1.6}
.j1-image-badge{position:absolute;left:0;bottom:0;max-width:100%;padding:4px 7px;background:#fffef1f0;color:#51483d;font-size:11px;line-height:1.5}
.j1-reference-asset-note{font-size:12px;line-height:1.7;color:#726a60}
@media(min-width:901px){
 body header.official-header-candidate .header-top{height:100px;min-height:100px;flex-wrap:nowrap;padding:10px 0 13px;gap:25px}
 body header.official-header-candidate .official-header-brand{min-width:0;flex:1}
 body header.official-header-candidate .official-header-right{order:initial;width:auto;align-items:flex-end;gap:12px}
 body header.official-header-candidate .minor{display:flex}
 body header.official-header-candidate .official-header-contact p{font-size:12px}
 body header.official-header-candidate .official-header-tel{font-size:32px}
 .official-header-candidate .j1-global-nav{display:flex;flex-wrap:nowrap}
 .sp-radio-wrap{display:none}
 .tools:has(.fs6-ai-original-pc)>.ai-compact{display:none!important}
 .tools>.fs6-ai-original-pc,.tools>.market-banner{height:var(--fs6-original-height,440px)!important}
 .fs6-ai-original-pc>.fs6-ai-source{min-height:440px}
 .market-art-button{height:100%}
}
@media(max-width:900px){
 .official-header-candidate .j1-global-nav{height:auto;width:100%;max-width:none;margin:0;padding:0;display:none}
 .official-header-candidate .j1-global-nav.is-mobile-open{display:flex;flex-direction:column;border-bottom:1px solid #d8ceba}
 .official-header-candidate .j1-nav-item>a{text-align:left;padding:14px 18px}
 .official-header-candidate .j1-nav-expand{width:48px;min-height:48px}
 .official-header-candidate .j1-mega{position:static;width:100%;padding:20px 0}
 .official-header-candidate .j1-nav-item{flex-wrap:wrap}
 .j1-mobile-company{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;padding:10px 18px 15px;border-bottom:1px solid #d8ceba;background:#f7f5f0}
 .j1-mobile-company a{display:block;padding:12px 0;text-decoration:none;font-size:14px;border-bottom:1px solid #e9e2d4}
 .mv-radio-row.wrap{width:auto;max-width:none;margin-left:18px;margin-right:18px}
 .sp-radio-wrap{margin-top:0}
 .tools.j1-wrap{width:auto;max-width:none;margin-left:18px;margin-right:18px}
 .tools:has(.fs6-ai-original-pc)>.ai-compact{display:block!important}
 .tools>.fs6-ai-original-pc{display:none!important}
}
@media(max-width:600px){
 .tools.j1-wrap{grid-template-columns:1fr;gap:16px;padding-top:22px}
 .ai-compact{height:auto!important;aspect-ratio:3/2}
 .ai-compact .compact-ai-copy h2{font-size:25px;font-family:var(--j1-sans)}
 .ai-compact .compact-ai-description{font-size:11px;max-width:calc(100% - 140px)}
 .ai-compact .compact-ai-flow{top:49px}
 .j1-tool-status{width:calc(100% - 36px);font-size:12px;padding-top:12px}
 #knowledge .legacy-page #teian .teian-list>.card>a{grid-template-rows:auto auto auto;row-gap:6px;align-items:start}
 #knowledge .legacy-page #teian .teian-list>.card .img-fit{grid-row:1/4;width:84px;min-height:78px}
 #knowledge .legacy-page #teian .teian-list>.card .shd{grid-row:1;font-size:15px;line-height:1.6}
 #knowledge .legacy-page #teian .teian-list>.card .txt{display:block;grid-column:2;grid-row:2;margin:0;font-size:12px;line-height:1.75}
 #knowledge .legacy-page #teian .teian-list>.card .more{grid-column:2;grid-row:3;font-size:12px;white-space:normal}
 #knowledge .sell-category-count{min-width:55px;padding:2px 6px;font-size:11px}
 #knowledge .sell-category-count strong{font-size:20px}
 .j1-other-category{font-size:13px;text-align:left}
 .j1-method-next{text-align:left;margin-top:24px}
 .j1-method-detail{padding-top:32px;padding-bottom:32px}
 .j1-method-detail h2{font-size:22px}
}
@media(max-width:374px){.mv-radio-row.wrap{margin-left:12px;margin-right:12px}}

/* Retain the mobile hero frame/crop; a small paper backing protects its title. */
@media(max-width:600px){
 .j1-sell-hero h1{display:inline-block;padding:0 .25em;background:rgba(255,255,255,.88)}
}

/* 2026-11-22: finish the retained home/sell UI without changing image frames. */
body[data-page-kind="home"] #voices+.j1-section:not(.j1-paper),
body[data-page-kind="home"] .j1-section:not(.j1-paper)+#latest,
body[data-page-kind="sell"] #knowledge+#voices,
body[data-page-kind="sell"] #success-cases+#latest{padding-top:0}
body[data-page-kind="home"] .j1-voice-text,
body[data-page-kind="sell"] .j1-voice-text{display:flex;flex-direction:column;padding:23px 0 22px;border-top:1px solid var(--j1-line);border-bottom:0;min-width:0}
body[data-page-kind="home"] .j1-voice-text h3,
body[data-page-kind="sell"] .j1-voice-text h3{margin:0 0 13px}
body[data-page-kind="home"] .j1-voice-text p,
body[data-page-kind="sell"] .j1-voice-text p{font-size:14px;line-height:1.8;margin:0 0 22px}
body[data-page-kind="home"] .j1-voice-video-link,
body[data-page-kind="sell"] .j1-voice-video-link{align-self:flex-start;margin-top:auto;line-height:1.7}
body[data-page-kind="home"] .j1-voice-text:hover h3,
body[data-page-kind="sell"] .j1-voice-text:hover h3{color:var(--j1-accent-text)}
#before-deciding .j1-method{display:flex;flex-direction:column;min-width:0}
#before-deciding .j1-method h3{font-size:clamp(20px,2.1vw,27px);letter-spacing:-.015em}
#before-deciding .j1-method p{min-height:0;flex:1;margin:0 0 22px}
#before-deciding .j1-method>.j1-link{align-self:flex-start;margin-top:auto}
.j1-tool-status:empty{display:none}
@media(max-width:600px){
 body[data-page-kind="home"] .j1-voice-text,
 body[data-page-kind="sell"] .j1-voice-text{padding:21px 0 15px}
 body[data-page-kind="home"] .j1-voice-text p,
 body[data-page-kind="sell"] .j1-voice-text p{font-size:13px;margin-bottom:17px}
 #before-deciding .j1-method h3{font-size:24px;letter-spacing:0}
 #before-deciding .j1-method p{margin-bottom:18px}
}

/* Keep a short concluding phrase from becoming a one-character last line. */
.j1-phrase{display:inline-block}

/* Keep the consultation theme label/input in one full-width block. */
body[data-page-kind="contact"] .j1-contact-theme{display:block;box-sizing:border-box;width:100%;max-width:100%}
body[data-page-kind="contact"] .j1-contact-theme input{box-sizing:border-box;min-width:0;max-width:100%}
