/* Candidate: retained nine sell categories; presentation only. */
.legacy-page #teian{margin:48px 0 0;padding:0 0 42px;color:#14394f}
.legacy-page #teian>.cont-w{width:1200px;max-width:calc(100% - 80px);margin:auto}
.legacy-page #teian>.cont-w>.hd{font-size:27px;line-height:1.6;letter-spacing:.05em;margin:0 0 24px;color:#14394f}
.legacy-page #teian .teian-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;margin:0;padding:0;list-style:none}
.legacy-page #teian .teian-list>.card{width:auto!important;min-width:0;margin:0!important;padding:0!important;border:1px solid #d7dfdf!important;background:#fff;display:flex}
.legacy-page #teian .teian-list>.card>a{display:flex;flex-direction:column;min-width:0;width:100%!important;max-width:none;height:100%;padding:0!important;text-decoration:none;color:inherit}
.legacy-page #teian .teian-list>.card .img-fit{height:auto;aspect-ratio:16/9;width:100%;margin:0 0 0!important;border-radius:0;overflow:hidden;position:relative;background:#edf0e9}
.legacy-page #teian .teian-list>.card .img-fit::before{display:none!important;content:none!important}
.legacy-page #teian .teian-list>.card .img-fit img{display:block;width:100%;height:100%;object-fit:cover;position:static;transform:none}
.legacy-page #teian .teian-list>.card .shd{font-size:19px;line-height:1.7;font-weight:600;letter-spacing:.01em;min-height:3.4em;margin:17px 20px 10px;padding:0;color:#14394f}
.legacy-page #teian .teian-list>.card .txt{font-size:14px;line-height:1.85;letter-spacing:0;margin:0 20px 20px;padding:0;flex:1;color:#546c77}
.legacy-page #teian .teian-list>.card .more{position:static;right:auto;bottom:auto;display:block;margin:auto 20px 17px;padding:12px 0 0;border-top:1px solid #dce3e1;text-align:right;font-size:12px;line-height:1.7;min-width:0;width:auto;color:#6f592e}
.legacy-page #teian .teian-list>.card .more::after{content:none!important}
.legacy-page #teian .teian-list>.card>a:hover{background:#f8f9f5}.legacy-page #teian .teian-list>.card>a:focus-visible{outline:3px solid #9b752e;outline-offset:3px}
.sell-support-candidate{padding:38px 0 42px;background:#f2f3ee;color:#14394f}.sell-support-candidate>.cont-w{width:1200px;max-width:calc(100% - 80px);margin:auto}
.sell-support-candidate h2{font-size:27px;line-height:1.6;letter-spacing:.05em;margin:0 0 23px}
.sell-support-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sell-support-links>a{display:flex;align-items:center;min-height:82px;border:1px solid #d8dfda;background:white;padding:18px;font-size:14px;line-height:1.8;text-decoration:none;font-weight:600}
.sell-support-links>a:hover{border-color:#9a8553;background:#fcfbf6}.sell-support-links>a:focus-visible{outline:3px solid #9b752e;outline-offset:3px}
@media(max-width:900px){.legacy-page #teian>.cont-w,.sell-support-candidate>.cont-w{max-width:calc(100% - 40px)}.legacy-page #teian .teian-list{gap:16px!important}.legacy-page #teian .teian-list>.card .shd{font-size:17px;margin:14px 15px 8px}.legacy-page #teian .teian-list>.card .txt{font-size:13px;margin:0 15px 16px}.legacy-page #teian .teian-list>.card .more{margin:0 15px 14px}.sell-support-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .legacy-page #teian{margin-top:30px;padding-bottom:28px}.legacy-page #teian>.cont-w,.sell-support-candidate>.cont-w{max-width:calc(100% - 36px)}
 .legacy-page #teian>.cont-w>.hd{font-size:22px;line-height:1.7;letter-spacing:.025em;margin-bottom:19px}
 .legacy-page #teian .teian-list{grid-template-columns:1fr!important;gap:11px!important}
 .legacy-page #teian .teian-list>.card>a{display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-rows:auto auto;column-gap:15px;row-gap:5px;padding:11px!important;min-height:100px;height:auto;align-items:center}
 .legacy-page #teian .teian-list>.card .img-fit{grid-column:1;grid-row:1/3;align-self:stretch;aspect-ratio:auto;min-height:78px;width:84px;height:100%;margin:0!important}
 .legacy-page #teian .teian-list>.card .img-fit img{object-fit:cover}
 .legacy-page #teian .teian-list>.card .shd{grid-column:2;grid-row:1;font-size:15px;line-height:1.65;min-height:0;margin:0;padding:0;letter-spacing:0;overflow-wrap:anywhere}
 .legacy-page #teian .teian-list>.card .txt{display:none}
 .legacy-page #teian .teian-list>.card .more{grid-column:2;grid-row:2;position:static;align-self:end;justify-self:stretch;font-size:11px;line-height:1.6;white-space:nowrap;min-width:0;padding:0;margin:0;border:0;text-align:right}
 .sell-support-candidate{padding:28px 0 32px}.sell-support-candidate h2{font-size:22px;line-height:1.7;margin-bottom:18px}.sell-support-links{grid-template-columns:1fr 1fr;gap:11px}.sell-support-links>a{font-size:13px;line-height:1.7;padding:14px 12px;min-height:78px}
}

/* Same-slot count badges: no article/title modifications. */
.legacy-page #teian .teian-list>.card .more{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sell-category-count{display:inline-flex;align-items:baseline;justify-content:center;gap:3px;flex:none;min-width:68px;padding:3px 9px;border:1px solid #d9c9a5;border-radius:24px;background:#f5f0e3;color:#634e23;font-size:12px;line-height:1.35;white-space:nowrap}
.sell-category-count strong{font-size:23px;font-weight:800;line-height:1.2}
@media(max-width:600px){.legacy-page #teian .teian-list>.card>a{min-height:116px;grid-template-rows:minmax(40px,auto) auto}.legacy-page #teian .teian-list>.card .more{gap:8px}.sell-category-count{min-width:59px;padding:2px 7px;font-size:11px}.sell-category-count strong{font-size:21px}}

.sell-mobile-title-phrase{display:inline}
@media(max-width:600px){.legacy-page #teian .shd .sell-mobile-title-phrase{display:inline-block;white-space:nowrap}}
