/* Latest client revision list, 2026-11-28. Kept separate from earlier approved rules. */
/* Final visual audit: preserve photo proportions while keeping the existing frames.
   Include the archive class so the earlier equal-height fill rule cannot win. */
.post-type-archive-works .case-grid img,
.post-type-archive-event .case-grid img,
.section-work-cards img,
.concept-work-track img,
.case-story img.case-story-cover,
.sn-page-company .sn-company-gallery img,
.sn-page-company .sn-access-address>figure img,
.sn-page-company .sn-message-inline-photo img,
.sn-page-cost .sn-cost-case>figure img,
.sn-page-cost .sn-cost-section>.sn-two-col>figure img,
.sn-page-cost .sn-budget-photo img,
.sn-event-template .sn-caption-photo img,
.sn-event-template .sn-event-point>.wp-block-image img,
.sn-event-template .sn-photo-gallery img,
.sn-event-body .sn-photo-gallery img{object-fit:cover}
.post-type-archive-works .case-grid img,
.section-work-cards img,
.concept-work-track img{object-position:center bottom}
.sn-event-template .sn-caption-photo img{object-position:center top}
@media(max-width:760px){.home.home .home-modelhouse>figure img{object-fit:cover}}
.home .card-category,.sn-category,.sn-card-meta small{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;vertical-align:middle}
.home .card-status,.sn-event-status{display:flex;align-items:center;justify-content:center}
.card-status.is-closed,.sn-event-status.is-closed{background:#4e4e4e}
.home .home-event .home-card-track article img,.home .home-works .home-card-track article img,.sn-event-archive .sn-card-photo img,.sn-news-archive .sn-card-photo img,.sn-news-detail .sn-news-featured img,.sn-news-detail .sn-related>img{object-fit:cover}
.home .home-event .event-detail-line,.sn-card-schedule .event-detail-line{display:block;position:relative}
.home .home-event .sn-event-line--hours,.home .home-event .sn-event-line--place,.sn-card-schedule .sn-event-line--hours,.sn-card-schedule .sn-event-line--place{padding-left:1.7em}
.home .home-event .event-detail-line::before{content:none}
.home .home-event .sn-event-line--hours::before,.home .home-event .sn-event-line--place::before,.sn-card-schedule .sn-event-line--hours::before,.sn-card-schedule .sn-event-line--place::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1.1em;height:1.1em;background:center/contain no-repeat}
.home .home-event .sn-event-line--hours::before,.sn-card-schedule .sn-event-line--hours::before{background-image:url(assets/images/top/mobile/event-clock.svg)}
.home .home-event .sn-event-line--place::before,.sn-card-schedule .sn-event-line--place::before{background-image:url(assets/images/top/mobile/event-location.svg)}
.home .home-list>.home-link a,.home .home-guide>.home-link a{display:flex;align-items:center;justify-content:center;line-height:1;height:100%;padding-top:.15em;background-image:none;color:#fff}
.home .guide-card>p:first-child{display:flex;align-items:center;justify-content:center;line-height:1.4;min-height:40px}
.home .model-copy .home-link a{display:flex;align-items:center;justify-content:center;line-height:1.6;padding-block:12px}
.home .model-copy .home-link a::after{content:none}
.home .contact-links a{display:flex;align-items:center;justify-content:center}
.case-grid>a{border:0;box-shadow:none}
.case-grid img,.case-story-cover img{object-fit:cover}
.sn-event-template .sn-event-highlights>.sn-section-heading h2,.sn-event-template .sn-event-points>.sn-section-heading h2{font-weight:400}
.sn-page-company .sn-company-hero>figure img{object-fit:cover}
.sn-page-company .sn-company-hero .sn-hero-copy>p:last-child{margin-top:60px}
.sn-access-address .sn-access-hours{display:block;margin-top:1.4em}
.sn-author{max-width:100%;min-width:0;box-sizing:border-box}
.sn-author>div{min-width:0;flex:1}
.sn-news-detail .sn-back a,.sn-news-sidebar .sn-sidebar-all{display:flex;align-items:center;justify-content:center}
.sn-news-archive .sn-archive-hero{background-repeat:no-repeat}
@media(min-width:761px){
 .sn-page-cost .sn-page-hero>figure img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:50% 76%;aspect-ratio:auto}
 .sn-news-sidebar>a.sn-related:not(.sn-sidebar-all){border:1px solid #e2e5e9;box-shadow:0 0 5px #e4e7ec}
}
@media(max-width:760px){
 .site-footer .home-footer .copyright{white-space:nowrap;font-size:clamp(7px,2.35vw,10px);letter-spacing:.06em}
 .sn-page-company .sn-company-hero{background-size:cover;background-position:center bottom}
 .sn-page-company .sn-company-hero .sn-hero-copy>p:last-child{margin-top:40px}
 .sn-news-archive .sn-author{margin-inline:2px;width:calc(100% - 4px)}
 .sn-news-detail .sn-author{overflow:visible}
}
.sn-news-archive .sn-archive-hero{background-image:url(assets/images/revisions-1128/column-sky.jpeg);background-size:100% auto;background-position:center 32%}
.sn-page-staff .sn-page-hero>figure img{position:static;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;transform:none}
.sn-page-staff .sn-hero-copy{text-shadow:0 1px 3px #596a7c33}
@media(min-width:761px){
 .home.home .home-list>.view-more-wordmark a::after,.home.home .home-guide>.view-more-wordmark a::after{content:"";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:46px;height:9px;box-shadow:none;border:0;border-radius:0;background:#aaa;mask:url(assets/images/top/guide/guide-card-arrow.svg) center/contain no-repeat;-webkit-mask:url(assets/images/top/guide/guide-card-arrow.svg) center/contain no-repeat}
}
@media(max-width:760px){
 .sn-page-staff .sn-page-hero>figure{background:url(assets/images/revisions-1128/staff-hero-sp.jpg) center/cover no-repeat}
 .sn-page-staff .sn-page-hero>figure img{visibility:hidden}
 .sn-news-archive .sn-archive-hero{background-size:auto 250%;background-position:center 32%}
}
.sn-event-highlights .sn-two-col h3,.sn-event-points .sn-point-copy h2{font-weight:500}
.sn-page .sn-news-cover,.sn-news-content figure img,.sn-author-recent img{object-fit:cover}
.sn-news-categories a,.sn-related-tags>span{display:inline-flex;align-items:center;justify-content:center;padding-top:.15em}
.sn-author small+p{margin-top:.2em!important}
.case-grid article{border:0;box-shadow:none}
.sn-page-staff>.sn-section:last-child{padding-bottom:50px}
.sn-page-staff .sn-staff-card:last-child{margin-bottom:0}
.sn-page-company>.sn-section:last-child{padding-bottom:50px}
.sn-page-cost .sn-budget:last-child{margin-bottom:50px}
.sn-page.sn-archive,.sn-page.sn-news-detail,.sn-page.sn-policy{padding-bottom:60px}
@media(max-width:760px){
 [data-design-node="1311:16035"].loop-track{clip-path:none}
 .sn-page-staff>.sn-section:last-child,.sn-page-company>.sn-section:last-child{padding-bottom:35px}
 .sn-page-cost .sn-budget:last-child{margin-bottom:35px}
 .sn-page.sn-archive,.sn-page.sn-news-detail,.sn-page.sn-policy{padding-bottom:40px}
}
/* Hero export contains the Figma wordmark and its exact shadow; retain the semantic heading. */
.sn-page-staff .sn-hero-copy{opacity:0}
.sn-news-detail .sn-news-content img{object-fit:cover}
.sn-news-detail img[src*="sn-figma-news-03"],.sn-news-archive img[src*="sn-figma-news-03"]{object-position:50% 75%}
.sn-news-detail .sn-author-panel .sn-author{row-gap:4px}
@media(max-width:760px){
 .sn-news-detail .sn-author-panel{margin-inline:2px;border:1px solid #eef0f4;box-shadow:0 0 5px #e4e7ed}
}
/* Match the heading-to-lead gap; later paragraphs retain their normal spacing. */
.sn-page-company .sn-company-hero .sn-hero-copy>h2+p{margin-top:40px}
.sn-page-company .sn-company-hero .sn-hero-copy>p:last-child{margin-top:24px}
@media(min-width:761px){
 .sn-page-staff .sn-hero-copy{opacity:1}
 .sn-news-sidebar>a.sn-related:not(.sn-sidebar-all){border:0;box-shadow:none;padding:0}
 .sn-news-sidebar>a.sn-related .sn-author{border:1px solid #eef0f4;box-shadow:0 0 5px #e1e5ed;padding:14px;margin-top:12px}
 .sn-news-sidebar>a.sn-related>h3{padding-inline:0}
 .sn-news-sidebar .sn-related-tags{padding-left:0}
}

.sn-figma-article .sn-column-template.sn-figma-column .wp-block-image img { object-fit: cover; }

.home.home .home-gallery>.home-link a{padding-inline:14px;display:flex;align-items:center;justify-content:center}
.home.home .home-gallery>.home-link a::after{content:none}

.home.home .home-column .home-card-track article img{object-fit:cover}
.home.home .home-column .home-card-track article img[src*='sn-figma-news-03']{object-position:50% 75%}


/* Works detail: design frame proportions; crop without distorting the photo. */
body.single-works .case-story>img.case-story-cover{width:100%;height:auto;aspect-ratio:1440/792;max-height:100svh;object-fit:cover;object-position:center bottom}
@media(max-width:760px){body.single-works .case-story>img.case-story-cover{aspect-ratio:375/250;max-height:none}}
/* VIEW MORE: reference lettering and ellipsis, shared PC/SP. */
.home.home .home-list>.view-more-wordmark a,.home.home .home-guide>.view-more-wordmark a{font-family:"Josefin Sans",sans-serif;font-size:20px;font-weight:400;letter-spacing:.25em;line-height:1;}
.home.home .home-list>.view-more-wordmark a::after,.home.home .home-guide>.view-more-wordmark a::after{content:"";position:absolute;right:28px;top:50%;transform:translateY(-50%);width:2px;height:2px;border:0;border-radius:50%;background:#fff;box-shadow:-6px 0 #fff,6px 0 #fff;mask:none;-webkit-mask:none;}
@media(max-width:760px){.home.home .home-list>.view-more-wordmark a,.home.home .home-guide>.view-more-wordmark a{font-size:16px}}
/* Restore mixed Latin/Japanese works typography instead of numeral substitution. */
body.home.home .home-works :is(h3,article p),body .case-index .case-grid :is(h2,p),body .case-story :is(.case-story-title h1,.case-profile dd){font-family:"Josefin Sans","Noto Sans JP",sans-serif!important}
.home.home .model-copy .home-link a,.home.home .home-gallery>.home-link a{position:relative;padding-inline:18px 38px}
.home.home .model-copy .home-link a::after,.home.home .home-gallery>.home-link a::after{content:"";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:2px;height:2px;margin:0;border:0;border-radius:50%;background:currentColor;box-shadow:-5px 0 currentColor,5px 0 currentColor;mask:none;-webkit-mask:none}
.home.home .home-column .card-category{height:auto;min-height:26px;padding:6px 8px;line-height:1.6;display:inline-flex!important;width:fit-content;align-items:center;justify-content:center;box-sizing:border-box}
@media(max-width:760px){.home.home .home-column .card-category{min-height:24px;padding-block:5px}}

/* Figma exports preserve each photo's crop; responsive sources remain editable. */
body.single-works .case-story>.case-story-cover-picture{display:block;grid-column:1/-1;width:100%;margin:0;line-height:0}
body.single-works .case-story>.case-story-cover-picture>img.case-story-cover{display:block;width:100%;height:auto;aspect-ratio:1440/792;max-height:100svh;object-fit:cover;object-position:center}
.home.home .home-works .home-card-track picture{display:block}
.home.home .model-copy .home-link a::after,.home.home .home-gallery>.home-link a::after{width:3px;height:3px;box-shadow:-6px 0 currentColor,6px 0 currentColor}
@media(max-width:760px){body.single-works .case-story>.case-story-cover-picture>img.case-story-cover{aspect-ratio:375/250;max-height:none}}

/* Consultation/contact: center Jost numerals within the handset's 32-unit row. */
.design-page :is([data-design-node="1311:16579"],[data-design-node="1311:16443"],[data-design-node="1311:15457"],[data-design-node="1311:15383"]){display:flex!important;align-items:center!important;justify-content:flex-start;line-height:1!important;align-self:stretch;white-space:nowrap;font-family:"Jost","Noto Sans JP",sans-serif!important}
.design-page :is([data-design-node="1311:16579"],[data-design-node="1311:16443"],[data-design-node="1311:15457"],[data-design-node="1311:15383"])>span{display:block;line-height:1;text-box-trim:trim-both;text-box-edge:cap alphabetic}
/* Soft outlines for the two search controls, keeping their dimensions. */
body.post-type-archive-works .works-search{border-color:transparent}
body.post-type-archive-works .works-search-tabs{box-shadow:0 0 5px 1px #d7dee566}
body.post-type-archive-works .works-search-tabs a+a{border-left-color:#e9edf2;box-shadow:none}
/* Column author cards retain a complete outline even where the article clips shadows. */
.sn-news-detail .sn-author-panel,.sn-news-detail .sn-author-footer{border:1px solid #e9edf3;box-shadow:0 0 5px #e4e7ed;box-sizing:border-box}
.sn-news-detail .sn-author-panel .sn-author small,.sn-news-detail .sn-author-footer .sn-author small{font-size:12px;line-height:1.8;font-weight:500}
.sn-news-sidebar>a.sn-sidebar-all{min-height:44px;padding:12px 16px;box-sizing:border-box;line-height:1.6}
/* Keep the square stationary while its plus turns into a minus, as on performance. */
.sn-page-cost .sn-cost-examples>summary::before{content:none}
.sn-cost-switch{display:grid;place-items:center;flex:0 0 auto;box-sizing:border-box;width:calc(36 * var(--cu));height:calc(36 * var(--cu));border:calc(3 * var(--cu)) solid #aaa;color:#aaa}
.sn-cost-switch::before{content:'';width:48%;height:48%;background:linear-gradient(currentColor,currentColor) center/100% 16.667% no-repeat,linear-gradient(currentColor,currentColor) center/16.667% 100% no-repeat;transform:rotate(0deg);transition:transform .64s cubic-bezier(.3,0,.2,1),background-size .64s cubic-bezier(.3,0,.2,1)}
.sn-cost-examples[open]:not([data-closing]) .sn-cost-switch::before{transform:rotate(180deg);background-size:100% 16.667%,16.667% 0%}
@media(max-width:760px){.sn-cost-switch{width:36px;height:36px;border-width:3px}.sn-news-detail .sn-author-panel .sn-author small,.sn-news-detail .sn-author-footer .sn-author small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.sn-cost-switch::before{transition:none}}
/* PC cost FV: keep the heading and roof at the design's relative heights. */
@media(min-width:761px){
 .sn-page-cost .sn-page-hero{container-type:size;--cost-fv-height:62.5vw;height:var(--cost-fv-height);max-height:none;overflow:hidden}
 .sn-page-cost .sn-page-hero>figure img{position:absolute;inset:auto;left:0;top:39%;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;transform:translateY(-54.4%)}
 .sn-page-cost .sn-hero-copy{align-self:start;padding:18.111111cqh 0 0;max-width:95%;text-align:center}
 .sn-page-cost .sn-hero-copy h1{font-size:5.555556cqh;font-weight:500;line-height:1.4;max-width:none;white-space:nowrap;letter-spacing:.15em}
 .sn-page-cost .sn-hero-copy>p{font-size:2.222222cqh;font-weight:500;line-height:1.4;margin-top:.666667cqh;letter-spacing:.25em}
}
/* Keep both staff labels in one stable slot; cross-fade with the panel motion. */
.sn-staff-details>summary>.sn-toggle-en,.sn-staff-details>summary>.sn-toggle-ja{display:grid;align-items:center}
.sn-staff-details>summary>.sn-toggle-ja{min-width:5em}
.sn-staff-details .sn-toggle-face{grid-area:1/1;white-space:nowrap;transition:opacity .32s ease}
.sn-staff-details .sn-toggle-open{opacity:0}
.sn-staff-details .sn-toggle-closed{opacity:1}
.sn-staff-details[open]:not([data-closing]) .sn-toggle-open{opacity:1}
.sn-staff-details[open]:not([data-closing]) .sn-toggle-closed{opacity:0}
.sn-staff-details>summary{transition:color .32s ease,border-color .32s ease}
/* Japanese controls use Japanese font metrics for true vertical centering. */
.wpcf7 .request-field b{font-family:'Noto Sans JP',sans-serif!important;display:flex;align-items:center;justify-content:center;line-height:1;padding:0}
.wpcf7 .request-submit input[type=submit]{font-family:'Noto Sans JP',sans-serif!important;line-height:1!important;padding-block:0!important;text-align:center;box-sizing:border-box}
@media(prefers-reduced-motion:reduce){.sn-staff-details .sn-toggle-face,.sn-staff-details>summary{transition:none}}

/* Match the support index slash to its Figma Jost typeface. */
[data-design-node='1311:16022']{font-family:'Jost','Noto Sans JP',sans-serif!important}

@media(max-width:760px){.sn-page-company .sn-company-hero .sn-hero-copy{text-align:center}.sn-page-company .sn-company-hero .sn-hero-copy h2,.sn-page-company .sn-company-hero .sn-hero-copy>p:not(:first-of-type){text-align:center}}

/* Mobile support index: same slash glyph as the corrected desktop index. */
[data-design-node='1311:16047']{font-family:'Jost','Noto Sans JP',sans-serif!important}

