/* D comparison typography, shared across every page. */
:root{--sans:"Noto Sans JP",system-ui,sans-serif;--serif:"Noto Sans JP",system-ui,sans-serif}body,body *{font-family:"Noto Sans JP",system-ui,sans-serif}body{font-size:14px;line-height:1.7}h1,h2,h3,.brand,.rep-title,.rank-title{font-weight:700}.site-header .brand{font-size:22px;font-weight:800}.hero h1{font-size:23px;font-weight:800}.hero-inner{display:block}.d-home.b-priority-grid #report{background:transparent;border:none;border-radius:0;padding:0}.d-home.b-priority-grid .sec-head h2,#topics h2,#news h2{font-size:22px;font-weight:700}.d-home.b-priority-grid .rep-title{font-size:15px}.d-home.b-priority-grid .rep-cat{font-size:10px}.d-home.b-priority-grid .rep-body{padding:14px 17px 17px}.d-home.b-priority-grid #report>.wrap{padding:0}.d-home.b-priority-grid .rep-card{border:1px solid #efdde5}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.topic-grid .rep-card{min-width:0}.topic-placeholder{background:white;border:1px solid #efdde5;border-radius:16px;overflow:hidden}.topic-thumb{aspect-ratio:16/9;background:linear-gradient(125deg,#f4dce7,#e5e1f2);display:grid;place-items:center;font-size:12px;color:#856475}.topic-placeholder h3{font-size:15px;margin:14px 17px}.topic-grid .rep-thumb{aspect-ratio:16/9;height:auto}#topics,#news{padding:28px 24px}#topics .sec-head,#news .sec-head{margin-bottom:15px}#news .news-list{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:4px 0 14px;scrollbar-width:thin}#news .rep-card{flex:0 0 27%;min-width:0;scroll-snap-align:start;border:1px solid #efdde5;border-radius:14px;background:white;overflow:hidden}#news .rep-thumb{height:145px;display:grid;place-items:center}#news .rep-body{padding:12px 14px}#news .rep-title{font-size:13px;line-height:1.65}#news .rep-cat,#news .rep-meta{font-size:10px}#news .latest-more{margin-top:15px}.home-contact{margin:35px 24px;border-radius:28px;padding:60px 24px;text-align:center;background:linear-gradient(110deg,#ffe6dc,#ffdbeb)}.home-contact h2{font-size:24px;margin:0 0 18px}.home-contact p{max-width:590px;margin:0 auto 26px;font-size:13px;color:#886b7e}.home-contact .form-note{font-size:11px;margin:12px auto}.home-contact>.wrap>a:last-child{font-size:12px}.foot-logo{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:800}.foot-logo img{width:38px;height:38px;object-fit:cover;border-radius:10px}.foot-tagline{font-size:12px;line-height:1.9}.foot-col h4{font-size:12px;font-weight:500}.foot-col a{font-size:12px}@media(max-width:860px){#news .rep-card{flex-basis:35%}}@media(max-width:560px){.site-header .brand{font-size:19px}.hero h1{font-size:20px}.d-home.b-priority-grid .sec-head h2,#topics h2,#news h2{font-size:19px}.d-home.b-priority-grid .rep-title{font-size:14px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-placeholder h3{font-size:12px;margin:10px}.topic-thumb{font-size:10px}#topics,#news{padding:22px 18px}#news .rep-card{flex-basis:70%}#news .rep-thumb{height:135px}.home-contact{margin:24px 18px;padding:35px 18px}.home-contact h2{font-size:19px}.home-contact p{font-size:12px}.foot-logo{font-size:19px}}

.header-social{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #ecd9e2;border-radius:50%;color:#48323f;flex-shrink:0;background:#fff}.header-social:hover{background:#ffe3ed}.header-social:focus-visible{outline:2px solid #ac3d6c;outline-offset:2px}.header-social svg{display:block;width:18px;height:18px}#news .rep-card{display:flex;flex-direction:column;align-items:stretch;padding:0;gap:0}#news .rep-card .rep-thumb{width:100%;min-width:0;height:145px;flex:0 0 145px;aspect-ratio:auto;border-radius:0;background-size:cover;background-position:center;margin:0}#news .rep-card .rep-body{width:100%;min-width:0;flex:1}.home-contact>.wrap>.btn{font-size:14px}.header-actions{flex-shrink:0}@media(max-width:560px){.header-actions{gap:5px}.header-social{width:28px;height:28px}.header-social svg{width:16px;height:16px}.site-header .brand{font-size:17px}.header-actions .btn{font-size:9px;padding:7px 6px}#news .rep-card .rep-thumb{height:135px;flex-basis:135px}}

/* Compact carousel headers; controls sit beside headings, not in a separate row. */
.d-home.b-priority-grid #report>.wrap,.d-home.b-priority-grid #ranking>.wrap{position:relative}.d-home .d-controls{position:absolute;top:5px;right:0;margin:0}.d-home.b-priority-grid .sec-head{margin-bottom:5px!important;padding-right:82px}.d-home.b-priority-grid .sec-head p{margin-bottom:0}.d-home.b-priority-grid .sec-head h2{margin-bottom:5px}#latest .latest-more{text-align:center;margin-top:22px}#news .latest-more{text-align:right}#news .btn{font-size:11px;padding:8px 12px}.listing-page.b-page-grid{display:block}.listing-page>.art{padding:30px 0}.listing-page>.art>.wrap{max-width:none;padding:0}.listing-page .card-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;overflow:visible!important;margin:0;padding:0}.listing-page .card-grid .rep-card{min-width:0}.listing-page .card-grid .rep-thumb{height:auto;aspect-ratio:16/9}.listing-page>.b-sidebar{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;margin:30px 0 45px}.listing-page .b-side-contact{margin-top:0;align-self:start}.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:30px 0}.pagination a,.pagination span{padding:8px 14px;border:1px solid #dec1d0;border-radius:9px;background:white}.pagination [aria-current]{background:#9e426c;color:white}.about-grid{align-items:center}#about .about-photo{background:none;display:flex;justify-content:center;align-items:center;height:auto;align-self:center}#about .about-photo img{display:block;width:100%;max-width:340px;height:auto;border-radius:22px;object-fit:contain}.contact-wrap{max-width:680px!important;text-align:left!important}#inquiry-form{display:flex;flex-direction:column;gap:10px;margin:32px 0}#inquiry-form label{font-size:13px;font-weight:700;margin-top:12px}.required{font-size:10px;color:#bc416d;background:#ffe5e6;padding:3px 8px;border-radius:10px;margin-left:8px}#inquiry-form input,#inquiry-form select,#inquiry-form textarea{width:100%;min-width:0;padding:14px;border:1px solid #ffd8d1;border-radius:12px;background:white;font:inherit;color:inherit}#inquiry-form textarea{resize:vertical}#inquiry-form .btn{align-self:flex-start;border:0;cursor:pointer}#inquiry-form .mail-help,#inquiry-status{font-size:12px;color:#795d6d}.contact-mail a{color:#a23d69;text-decoration:underline}#inquiry-draft{font-size:12px;text-decoration:underline}.contact-mail{overflow-wrap:anywhere}@media(max-width:860px){.listing-page .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-page>.b-sidebar{grid-template-columns:1fr}}@media(max-width:560px){.d-home.b-priority-grid .sec-head{padding-right:68px}.d-home .d-controls{top:0}.listing-page .card-grid{gap:12px}.listing-page .rep-body{padding:10px}.listing-page .rep-title{font-size:12px}.listing-page .b-ranking-box{padding:15px}#about .about-photo img{max-width:280px}.contact-wrap{padding:0!important}#inquiry-form input,#inquiry-form select,#inquiry-form textarea{font-size:16px}.contact-mail{font-size:13px}}

.imported-prose img{display:block;max-width:100%;height:auto;margin:24px auto}.imported-prose table{display:block;overflow-x:auto;width:100%;border-collapse:collapse}.imported-prose td,.imported-prose th{border:1px solid #e2ccd6;padding:8px;min-width:65px}.source-note{font-size:12px;color:#795a6d}.source-note a{text-decoration:underline}.topic-grid .rep-card .rep-thumb{aspect-ratio:16/9;background-size:contain!important;background-repeat:no-repeat}.imported-prose{overflow-wrap:anywhere}

#topics .topic-grid .rep-thumb{height:auto;aspect-ratio:16/9}#topics .rep-body{padding:10px 12px}#topics .rep-title{font-size:13px;line-height:1.65}.rank-meta{font-size:10px;margin-top:8px;color:inherit}#report .rep-cat,#ranking .rank-cat{color:#ae426d}

/* Fit topic cards to the source image, not the image into a shallow letterbox. */
#topics .topic-grid{max-width:1120px;margin:0 auto;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
@media(max-width:1000px) and (min-width:701px){#topics .topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
#topics .topic-grid .topic-image,.listing-page .rep-thumb.topic-image,.editorial-grid .rep-thumb.topic-image{display:flex;height:auto;aspect-ratio:4/5;background:#f8f1f5!important;align-items:center;justify-content:center;overflow:hidden}
#topics .topic-image img,.listing-page .topic-image img,.editorial-grid .topic-image img{display:block;width:100%;height:100%;object-fit:contain}
#topics .topic-placeholder .rep-thumb{aspect-ratio:4/5}
.listing-page .topic-image{height:auto!important;aspect-ratio:4/5!important}.listing-page .topic-image img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){#topics .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

#inquiry-form[hidden],#inquiry-complete[hidden]{display:none!important}#inquiry-complete{margin:32px 0;padding:30px;background:#fff;border-radius:20px}#inquiry-complete:focus{outline:2px solid #ab6787}

.listing-page>.b-sidebar:has(.editorial-related){display:block;margin:56px 0 48px}.editorial-related{padding:0!important;margin:0 0 40px}.editorial-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #dfd1d8;padding-bottom:14px;margin-bottom:24px}.editorial-heading h2{font-size:19px;margin:0}.editorial-heading>a{font-size:12px;white-space:nowrap;color:#9b5779}.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.editorial-grid .rep-card{border:0;background:transparent;box-shadow:none;border-radius:0;min-width:0}.editorial-grid .rep-thumb{aspect-ratio:16/9;height:auto;border-radius:12px;background-size:cover}.editorial-grid .rep-body{padding:14px 0 0}.editorial-grid .rep-title{font-size:14px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.editorial-grid .rep-cat{font-size:10px}.editorial-business{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px!important;background:#f8eef3;border-radius:16px}.editorial-business h2{font-size:18px;margin:0}.editorial-business p{font-size:13px;margin:8px 0 0}.editorial-actions{display:flex;gap:12px;flex-wrap:wrap}.editorial-actions a{font-size:12px;border:1px solid #dec5d2;padding:10px 15px;border-radius:10px;background:white}.service-details{margin:48px 0}.service-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.service-detail-grid article{padding:24px;background:#fff;border:1px solid #eadbe3;border-radius:16px}.service-detail-grid h3{font-size:17px;margin:8px 0}.service-detail-grid p{font-size:13px;line-height:1.9}.service-detail-grid small,.service-detail-grid span{font-size:11px;color:#986883}@media(max-width:700px){.editorial-grid{grid-template-columns:1fr;gap:24px}.editorial-grid .rep-card{display:grid;grid-template-columns:110px 1fr;gap:16px}.editorial-grid .rep-body{padding:0}.editorial-heading h2{font-size:16px}.editorial-business{display:block}.editorial-actions{margin-top:20px}.service-detail-grid{grid-template-columns:1fr}}
