/* 修正ドキュメントの局所表示調整。既存のブランド色・写真・本文を維持する。 */
.product-development-section .proposal-visual{max-width:440px;margin:0 0 28px;background:#fff}
.product-development-section .proposal-visual img{display:block;width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain}
.product-store-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-store-links p{margin:0!important}.product-store-links .btn-sq{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;min-height:62px;padding:18px 22px;text-decoration:none;border:1px solid #cdd2df;background:#fff}.product-store-links .btn-sq:hover{background:#13207b;color:#fff}.pg-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body .client-service-photo{max-width:560px;margin:40px auto;background:transparent}body .client-service-photo img{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;background:none}
.product-quality-section{background:#f4f5f9!important;color:#263044!important}
.product-quality-section .s2-h,.product-quality-section .s2-en,.product-quality-section .s2-main,.product-quality-section .s2-main p{color:#263044!important}
.product-quality-section .revision-cycle li,.product-quality-section .revision-block{color:#263044;background:#fff}
.product-quality-section .revision-cycle li::before{content:counter(cycle,decimal-leading-zero)!important;color:#13207b}
.quality-visual{margin:24px 0 0}.quality-visual img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.page-business .pg-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px}
.page-business .pg-summary{max-width:660px;min-width:0}.page-business .pg-lead{line-break:strict;word-break:normal;overflow-wrap:normal;text-wrap:pretty}
.brand-logo-section{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px 36px;align-items:center}
.brand-logo-section h3{grid-column:1/-1;margin:0!important}.brand-logo-section .client-logo{width:180px;margin:0}.brand-logo-section p{margin:0!important}
.fm-row.fm-name-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.fm-name-row .fm-g{min-width:0}
select{appearance:none;-webkit-appearance:none;padding-right:42px!important;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2313207b' stroke-width='2'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 8px!important}
.gallery-filters{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}.gallery-filters .filter-chip{display:inline-flex;align-items:center;justify-content:center;margin:0!important;min-height:44px;box-sizing:border-box;line-height:1.4;padding:10px 18px}
.dual-cta .block{isolation:isolate;position:relative}.dual-cta .block::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.52);z-index:-1}.dual-cta .block :is(.ttl,.desc,.label,.arrow){color:#fff!important;text-shadow:0 1px 4px #0009}
.fv-cases .revision-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fv-cases .revision-gallery a{position:relative;background:#152375;min-height:170px;aspect-ratio:2.2;overflow:hidden}.fv-cases .revision-gallery img{display:block;width:100%;height:100%;object-fit:cover}.fv-cases .revision-gallery a::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,#000b)}.fv-cases .revision-gallery span{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:18px;color:#fff;line-height:1.5;background:none;font-size:14px}
/* CP-2026-2515: use prepared 16:9 service photographs without letterboxing. */
body .menu-service-card img{height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center;transform:none!important}
.shc-thumb,.sd-hero-visual{height:auto!important;min-height:0!important;aspect-ratio:16/9!important;overflow:hidden;background:#eef0f5}
body .shc-thumb img,body .sd-hero-visual img{width:100%!important;height:100%!important;aspect-ratio:16/9;object-fit:cover!important;display:block}
.cwj-video{position:relative;aspect-ratio:16/9;width:100%;background:#0d1636}.cwj-video iframe{position:absolute;inset:0;border:0;width:100%;height:100%}
.cwj-video-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}
.cwj-featured-video{position:relative;display:block;text-decoration:none;color:#fff;overflow:hidden;min-height:180px}.cwj-featured-video>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cwj-featured-video::before{content:"";position:absolute;inset:0;background:#0005;z-index:1}.cwj-featured-video>span{position:relative;z-index:2}
.case-dialog-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:28px}.case-dialog-info{max-width:none;margin:0;min-width:0}.case-dialog-gallery{align-self:start;min-width:0}.case-article-body img{max-width:100%}
.case-paging{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:28px 0}.case-paging select{padding:10px}.case-page-nav{display:flex;gap:6px;flex-wrap:wrap}.case-page-nav button{min-width:44px;min-height:44px;padding:8px 12px;background:#fff;color:#13207b;border:1px solid #cdd2df;cursor:pointer}.case-page-nav button[aria-current=page]{background:#13207b;color:#fff}.case-page-nav button:disabled{opacity:.4;cursor:default}.case-page-nav button:focus-visible{outline:3px solid #1781c2;outline-offset:2px}
.page-recruit .recruit-openings{padding:28px;background:#fff;border:1px solid #dce0e9;line-height:1.9}.recruit-openings table{border-collapse:collapse;width:100%}.recruit-openings th,.recruit-openings td{padding:12px;border:1px solid #ddd;text-align:left}
@media(max-width:900px){.cwj-video-library{grid-template-columns:repeat(2,minmax(0,1fr))}.page-business .pg-row{grid-template-columns:1fr;gap:24px}.brand-logo-section{grid-template-columns:140px minmax(0,1fr);gap:20px}.brand-logo-section .client-logo{width:140px}}
@media(max-width:768px){.case-dialog-layout{grid-template-columns:minmax(0,1fr);padding:16px;gap:20px}.case-paging{align-items:start;flex-direction:column}.brand-logo-section{grid-template-columns:1fr}.brand-logo-section .client-logo{width:160px}.fm-row.fm-name-row{gap:12px}.cwj-video-library{grid-template-columns:1fr}.fv-cases .revision-gallery{gap:10px}.fv-cases .revision-gallery a{aspect-ratio:1.3;min-height:150px}.fv-cases .revision-gallery span{padding:12px;font-size:12px}.product-development-section .proposal-visual{max-width:340px}}
@media(max-width:600px){.product-store-links{grid-template-columns:1fr}.fm-row.fm-name-row{grid-template-columns:1fr!important}}

body .fv-cases .revision-gallery img{object-fit:cover!important;background:transparent}

@media(max-width:768px){.fv-cases .revision-gallery a{min-width:0;width:100%;min-height:0!important}}

.cwj-imported-blog .article-content{overflow-wrap:anywhere}.cwj-imported-blog .article-content img{display:block;max-width:100%!important;width:auto!important;height:auto!important;margin:24px auto}.cwj-imported-blog .article-content .wp-caption{max-width:100%;width:auto!important}
