/* top 固有設定 01 */
body.top-page{margin:0;background:#fff;color:#303a40;font-family:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;-webkit-font-smoothing:antialiased}
.top-page *{box-sizing:border-box}
.top-page .site-header{background:#fff!important}
.top-page .site-footer{background:#fff!important;border-top:1px solid #ece9e3;color:#334346!important}
.top-page .site-footer a{color:inherit}
.top-page .main-nav a.active{color:#607987}
.top-page .top-hero{position:relative;min-height:440px;display:grid;place-items:center;overflow:hidden;background:#d6d8d8;text-align:center;padding:90px 25px}
.top-page .top-hero-image{position:absolute;inset:0;background:#d6d8d8;z-index:0}
.top-page .top-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 90%;display:block}
.top-page .top-hero-content{position:relative;z-index:1;max-width:920px;padding:30px 36px;background:rgba(255,255,255,.78)}
.top-page .top-hero-content p{font-size:clamp(17px,2vw,27px);line-height:2;letter-spacing:.16em;font-weight:400;margin:0;color:#303a40}
.top-page .top-container{width:min(1120px,89%);margin:0 auto}
.top-page .top-intro{background:#f3f4f3;padding:68px 0}
.top-page .top-intro p{max-width:850px;margin:0 auto;font-size:clamp(14px,1.25vw,17px);line-height:2.55;letter-spacing:.08em}
.top-page .top-profile{padding:105px 0 90px}
.top-page .top-kicker{font-family:"Noto Sans JP",sans-serif;font-size:11px;letter-spacing:.25em;color:#718b9a;margin:0 0 22px}
.top-page .top-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);align-items:center;gap:clamp(40px,7vw,110px)}
.top-page .top-profile-name{font-size:clamp(24px,2.8vw,36px);font-weight:400;letter-spacing:.1em;margin:0 0 12px}
.top-page .top-profile-name small{display:block;font-size:12px;font-family:Georgia,serif;color:#849097;letter-spacing:.15em;margin-top:10px}
.top-page .top-profile-line{width:65px;height:1px;background:#9cb0b9;margin:27px 0}
.top-page .top-profile-role{font-size:15px;line-height:2.2;letter-spacing:.08em;margin:0;color:#53656e}
.top-page .top-profile-photo{aspect-ratio:2/3;border-radius:0;overflow:visible}
.top-page .top-profile-photo img{width:100%;height:100%;object-fit:contain;display:block}
.top-page .top-services{padding:0 0 106px}
.top-page .top-section-title{font-weight:400;font-size:clamp(22px,2.1vw,29px);letter-spacing:.06em;color:#405a68;margin:0 0 34px}
.top-page .top-section-title small{font-size:12px;color:#84939b;display:block;margin-top:10px}
.top-page .top-service-list{border-top:1px solid #dce3e6}
.top-page .top-service-item{display:flex;align-items:center;gap:26px;padding:24px 16px;border-bottom:1px solid #dce3e6;font-size:clamp(14px,1.25vw,17px);line-height:1.9;letter-spacing:.05em}
.top-page .top-service-item span{font:12px Georgia,serif;color:#718b9a;min-width:24px}
.top-page .top-works-link{padding:85px 0 110px;background:#f3f4f3;text-align:center}
.top-page .top-works-link a{display:inline-flex;align-items:center;justify-content:center;gap:28px;min-width:min(460px,90%);border:1px solid #a8b9c2;padding:19px 30px;text-decoration:none;color:#405a68;font-size:clamp(16px,1.6vw,21px);letter-spacing:.09em;background:#fff;transition:background .2s}
.top-page .top-works-link a:hover{background:#e9eff1}
.top-page .top-footer-contact{width:100%;padding-top:18px;border-top:1px solid #e5e9ea;font-size:12px;line-height:2;color:#68767c}
.top-page .top-footer-contact strong{font-weight:500;color:#405a68}
@media(max-width:768px){
 .top-page .top-hero{min-height:380px;padding:45px 17px}
 .top-page .top-hero-content{padding:23px 17px}
 .top-page .top-hero-content p{font-size:clamp(14px,4vw,19px);letter-spacing:.08em}
 .top-page .top-intro{padding:48px 0}
 .top-page .top-intro p{font-size:14px;line-height:2.25}
 .top-page .top-profile{padding:70px 0}
 .top-page .top-profile-grid{grid-template-columns:1fr;gap:32px}
 .top-page .top-profile-photo{max-width:520px;width:100%;margin:auto}
 .top-page .top-services{padding-bottom:70px}
 .top-page .top-service-item{gap:14px;padding:20px 4px}
 .top-page .top-works-link{padding:65px 0}
}

/* top 固有設定 02 */
/* Match the image proportions in the supplied TOP-page PDF mockup. */
.top-page .top-hero{
  width:100%; aspect-ratio:1440 / 1360; min-height:0!important;
  padding:0 25px!important; box-sizing:border-box;
}
.top-page .top-hero-image{inset:0!important}
.top-page .top-profile-photo{
  aspect-ratio:1 / 1!important;
  width:100%; height:auto!important;
}
@media(max-width:700px){
 .top-page .top-hero{
   aspect-ratio:1440 / 1360; min-height:0!important;
   padding:0 16px!important;
 }
 .top-page .top-profile-photo{aspect-ratio:1 / 1!important}
}

/* top 固有設定 03 */
/* Shared fixed footer and harmonized typography: TOP / WORKS */
body.top-page,body.works-page{padding-bottom:128px!important}
body.top-page .site-footer,body.works-page .site-footer{
 position:fixed!important;left:0;right:0;bottom:0;z-index:1000;
 box-sizing:border-box;display:flex!important;flex-wrap:wrap!important;
 justify-content:space-between!important;align-items:center!important;
 gap:9px 24px!important;padding:11px clamp(18px,4vw,60px)!important;
 background:#293b3e!important;color:#f5f4ee!important;
 border-top:1px solid #607078!important;
 box-shadow:0 -4px 18px rgba(25,35,40,.08);
 font-family:'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif!important;
}
body.top-page .site-footer a,body.works-page .site-footer a{color:#f5f4ee!important}
body.top-page .site-footer .footer-brand,body.works-page .site-footer .footer-brand{font-size:11px!important;gap:10px!important}
body.top-page .site-footer .footer-logo-img,body.works-page .site-footer .footer-logo-img{width:32px!important;height:32px!important}
body.top-page .site-footer .footer-links,body.works-page .site-footer .footer-links{gap:14px!important}
body.top-page .site-footer .footer-links a,body.works-page .site-footer .footer-links a{font-size:10px!important}
body.top-page .site-footer small,body.works-page .site-footer small{font-size:9px!important;color:#d6e0df!important}
body.top-page .site-footer .top-footer-contact,body.works-page .site-footer .top-footer-contact{
 width:100%!important;margin:0!important;padding:6px 0 0!important;
 border-top:1px solid rgba(255,255,255,.22)!important;
 display:flex!important;justify-content:center!important;gap:15px!important;
 color:#e2e8e7!important;font-size:10px!important;line-height:1.5!important;
}
body.top-page .site-footer .top-footer-contact strong,body.works-page .site-footer .top-footer-contact strong{color:#e2e8e7!important}
/* Serif-led TOP typography matched to WORKS text scale */
body.top-page .top-intro p{font-size:clamp(15px,1.35vw,18px)!important}
body.top-page .top-service-item{font-size:clamp(15px,1.4vw,18px)!important}
body.top-page .top-section-title{font-size:clamp(21px,2.15vw,27px)!important}
body.top-page .top-profile-name{font-size:clamp(24px,2.6vw,34px)!important}
body.top-page .top-profile-role{font-size:clamp(15px,1.4vw,18px)!important}
body.top-page .top-kicker{font-family:'Yu Mincho','Hiragino Mincho ProN','Noto Serif JP',serif!important}
@media(max-width:768px){
 body.top-page,body.works-page{padding-bottom:120px!important}
 body.top-page .site-footer,body.works-page .site-footer{padding:10px 14px!important;gap:6px 10px!important;justify-content:center!important}
 body.top-page .site-footer .footer-links,body.works-page .site-footer .footer-links{display:none!important}
 body.top-page .site-footer .footer-brand,body.works-page .site-footer .footer-brand{font-size:10px!important}
 body.top-page .site-footer .footer-logo-img,body.works-page .site-footer .footer-logo-img{width:25px!important;height:25px!important}
 body.top-page .site-footer .top-footer-contact,body.works-page .site-footer .top-footer-contact{display:block!important;text-align:center!important;font-size:9px!important;line-height:1.45!important}
 body.top-page .site-footer .top-footer-contact strong,body.works-page .site-footer .top-footer-contact strong{display:none!important}
 body.top-page .top-intro p{font-size:15px!important}
}

/* top 固有設定 04 */
/* TOP: typography directly on the image; no text plate. */
body.top-page .top-hero-content{
 background:transparent!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;padding:24px 20px!important;
 max-width:min(94%,980px)!important;
}
body.top-page .top-hero-content p{
 color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.70),0 1px 3px rgba(0,0,0,.65)!important;
}
/* A light, full-image veil, not a rectangular panel. */
body.top-page .top-hero-image:after{
 content:'';position:absolute;inset:0;
 background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.28));
 pointer-events:none;
}
body.top-page .top-hero-image{position:absolute!important;inset:0!important}
body.top-page .top-hero-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body.top-page .top-profile-copy{padding-top:0!important}
@media(max-width:768px){
 body.top-page .top-hero-content{padding:16px 10px!important;max-width:100%!important}
 body.top-page .top-hero-content p{line-height:1.9!important}
}

/* top 固有設定 05 */
/* Navigation always available on both screen sizes. */
body.top-page .site-footer .footer-links,body.works-page .site-footer .footer-links{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-wrap:wrap!important;gap:8px 18px!important;
}
body.top-page .site-footer .footer-links a,body.works-page .site-footer .footer-links a{
 display:inline-block!important;white-space:nowrap!important;font-size:clamp(11px,1.1vw,13px)!important;
}
body.top-page,body.works-page{padding-bottom:160px!important}
@media(max-width:768px){
 body.top-page .site-footer,body.works-page .site-footer{gap:5px 8px!important;padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}
 body.top-page .site-footer .footer-links,body.works-page .site-footer .footer-links{display:flex!important;order:0;width:100%;gap:5px 14px!important}
 body.top-page .site-footer .footer-brand,body.works-page .site-footer .footer-brand{order:1}
 body.top-page .site-footer .top-footer-contact,body.works-page .site-footer .top-footer-contact{order:2;padding-top:4px!important}
 body.top-page .site-footer small,body.works-page .site-footer small{display:none!important}
 body.top-page,body.works-page{padding-bottom:170px!important}
}
/* Keep WORKS tabs above the entries, with the same desktop/mobile styling. */
body.works-page .works-tab-nav{z-index:950!important}
body.works-page .works-tab-nav.is-fixed-tabs{
 position:fixed!important;top:0!important;left:var(--tabs-left,0px)!important;
 width:var(--tabs-width,100%)!important;box-sizing:border-box!important;
 margin:0!important;z-index:950!important;
}
body.works-page .works-tab-placeholder{display:none;height:0}
body.works-page .works-tab-placeholder.is-active{display:block}

/* top 固有設定 06 / header-fixed-corrected */
/* Corrected: navigation stays at TOP, footer stays in document flow. */
:root{--fixed-header-height:94px}
html{scroll-padding-top:calc(var(--fixed-header-height) + 18px)!important;scroll-padding-bottom:0!important}
body.works-page,body.top-page{padding-top:var(--fixed-header-height)!important;padding-bottom:0!important}
body.works-page > header.site-header,body.top-page > header.site-header{
 position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;
 z-index:2000!important;box-sizing:border-box!important;background:#fff!important;
}
body.works-page > footer.site-footer,body.top-page > footer.site-footer{
 position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
 transform:none!important;translate:none!important;width:100%!important;z-index:auto!important;
 box-shadow:none!important;
}
body.works-page .works-tab-nav.is-fixed-tabs{
 top:var(--fixed-header-height)!important;z-index:1900!important;
}
body.works-page .works-tab-nav{scroll-margin-top:calc(var(--fixed-header-height) + 12px)}
@media(max-width:768px){
 body.works-page,body.top-page{padding-bottom:0!important}
 body.works-page > footer.site-footer .footer-brand,body.top-page > footer.site-footer .footer-brand,
 body.works-page > footer.site-footer .top-footer-contact,body.top-page > footer.site-footer .top-footer-contact,
 body.works-page > footer.site-footer small,body.top-page > footer.site-footer small{display:initial!important}
}

/* top 固有設定 10 / top-layout-refinement-20261113 */
/* Align the outer edges of all TOP content blocks without shrinking type. */
body.top-page{--top-content-width:min(1120px,89%)}
body.top-page .top-container{width:var(--top-content-width)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
/* The image keeps its original aspect ratio; the width is constrained by the viewport height
   so the following section peeks into view on typical desktop displays. */
body.top-page .top-hero{
 width:min(1120px,89%,calc((100svh - var(--fixed-header-height, 94px) - 112px) * 1440 / 1360))!important;
 max-width:89%!important;aspect-ratio:1440 / 1360!important;
 height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;
}
body.top-page .top-hero-content{
 width:100%!important;max-width:100%!important;box-sizing:border-box!important;
 padding:20px clamp(18px,4vw,48px)!important;text-align:center!important;
}
body.top-page .top-hero-content p{font-size:clamp(19px,2.15vw,30px)!important;line-height:1.95!important;letter-spacing:.075em!important}
body.top-page .top-intro p{max-width:none!important;margin:0!important;font-size:clamp(17px,1.55vw,21px)!important;line-height:2.35!important}
@media(max-width:700px){
 body.top-page .top-hero{width:89%!important;max-width:89%!important;aspect-ratio:1440 / 1360!important}
 body.top-page .top-hero-content{padding:12px 10px!important}
 body.top-page .top-hero-content p{font-size:clamp(14px,3.9vw,19px)!important;line-height:1.85!important;letter-spacing:.025em!important}
 body.top-page .top-intro p{font-size:clamp(16px,4vw,19px)!important;line-height:2.1!important}
}

/* top 固有設定 11 / final-top-inset-hero-ratio-20261113 */
/* One shared horizontal alignment for the hero and all TOP sections. */
body.top-page{--top-content-width:min(1080px,85%)}
body.top-page .top-container{width:var(--top-content-width)!important;}
/* Slightly shorter photograph: 1.20:1 instead of 1.06:1, without stretching the image. */
body.top-page .top-hero{width:min(1080px,85%,calc((100svh - var(--fixed-header-height,94px) - 112px) * 1440 / 1200))!important;max-width:85%!important;aspect-ratio:1440 / 1200!important;}
@media(max-width:700px){body.top-page .top-hero{width:85%!important;max-width:85%!important;aspect-ratio:1440 / 1200!important;}}

/* top 固有設定 12 / smooth-scroll-preserved */
html{scroll-behavior:smooth!important;}
body.top-page #about,body.top-page #service{scroll-margin-top:calc(var(--fixed-header-height,94px) + 18px)}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* top 固有設定 13 / philosophy-framed-layout */
/* The label and unchanged copy share a restrained editorial outline. */
body.top-page .top-intro .philosophy-frame{
 display:grid;grid-template-columns:minmax(145px,24%) minmax(0,1fr);
 align-items:center;column-gap:clamp(20px,3.4vw,52px);
 border:1px solid #9eafb6;border-radius:0 34px 0 0;
 padding:clamp(26px,4vw,52px) clamp(25px,4vw,54px);
 background:transparent;
}
body.top-page .top-intro .philosophy-frame-title{
 margin:0;color:#587581;font-family:"Noto Serif JP",serif;
 font-weight:400;font-size:clamp(18px,1.65vw,23px);
 letter-spacing:.12em;line-height:1.7;
}
body.top-page .top-intro .philosophy-frame > p{
 margin:0!important;padding:0!important;max-width:none!important;
 min-width:0;overflow-wrap:anywhere;
}
@media(max-width:700px){
 body.top-page .top-intro .philosophy-frame{
  grid-template-columns:1fr;row-gap:16px;padding:26px 22px;
  border-radius:0 26px 0 0;
 }
 body.top-page .top-intro .philosophy-frame-title{font-size:19px}
 body.top-page .top-intro .philosophy-frame > p br{display:none}
}

/* top 固有設定 14 / philosophy-title-only-frame */
/* Only the title is framed; the paragraph stays outside, to its right. */
body.top-page .top-intro .philosophy-frame{border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;grid-template-columns:minmax(145px,24%) minmax(0,1fr);align-items:center;column-gap:clamp(20px,3.4vw,52px)}
body.top-page .top-intro .philosophy-frame-title{border:1px solid #9eafb6;border-radius:0 26px 0 0;padding:22px 16px;text-align:center;box-sizing:border-box;}
@media(max-width:700px){body.top-page .top-intro .philosophy-frame{grid-template-columns:1fr!important;row-gap:18px!important;}body.top-page .top-intro .philosophy-frame-title{justify-self:start;padding:15px 22px;}}

/* top 固有設定 15 / philosophy-oblong-label-adjustment */
/* Only the label has an outline; wider-than-tall with the upper-right corner rounded. */
body.top-page .top-intro .philosophy-frame{grid-template-columns:minmax(205px,24%) minmax(0,1fr)!important;}
body.top-page .top-intro .philosophy-frame-title{
 width:100%; min-height:76px; padding:12px 20px!important;
 display:flex;align-items:center;justify-content:center;
 border-radius:0 24px 0 0!important;
}
@media(max-width:700px){
 body.top-page .top-intro .philosophy-frame{grid-template-columns:minmax(0,1fr)!important;}
 body.top-page .top-intro .philosophy-frame-title{width:220px;max-width:100%;min-height:65px;padding:10px 16px!important;}
}

/* top 固有設定 16 / philosophy-wide-rectangle-final */
/* Explicit dimensions prevent the label from becoming a square. */
body.top-page .top-intro .philosophy-frame{grid-template-columns:260px minmax(0,1fr)!important;align-items:center!important;}
body.top-page .top-intro .philosophy-frame-title{
  width:260px!important;height:66px!important;min-height:0!important;max-height:66px!important;
  padding:0 16px!important;margin:0!important;box-sizing:border-box!important;
  aspect-ratio:auto!important;align-self:center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #9eafb6!important;border-radius:0 24px 0 0!important;
}
@media(max-width:700px){
 body.top-page .top-intro .philosophy-frame{grid-template-columns:minmax(0,1fr)!important;}
 body.top-page .top-intro .philosophy-frame-title{width:220px!important;height:60px!important;max-height:60px!important;}
}

/* top 固有設定 17 / horizontal-gray-title-bands */
/* The philosophy label returns to the original thin outlined oblong. */
body.top-page .top-intro .philosophy-frame-title{background:transparent!important;color:#587581!important;border:1px solid #9eafb6!important;border-radius:0 26px 0 0!important;box-shadow:none!important;font-size:clamp(18px,1.6vw,23px)!important;font-weight:400!important}
/* Full-bleed horizontal bands, visually echoing the WORKS heading bars. */
body.top-page{overflow-x:clip}
body.top-page .top-profile{position:relative;isolation:isolate;overflow:hidden}
body.top-page .top-profile-grid{position:relative;isolation:isolate}
body.top-page .top-profile-copy{position:relative;z-index:2;min-width:0}
body.top-page .top-profile-name{position:relative;z-index:1;display:flex;align-items:center;min-height:84px;width:max-content;max-width:100%;margin:0 0 20px!important;padding:12px 0!important;background:transparent!important;box-shadow:none!important;border:0!important;color:#53646e!important;font-weight:400!important;white-space:nowrap;letter-spacing:.09em}
body.top-page .top-profile-name::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-100vw;width:200vw;background:#f0f2f3;pointer-events:none}
body.top-page .top-profile-photo{position:relative;z-index:3}
body.top-page .top-services{position:relative;isolation:isolate}
body.top-page .top-services .top-container{position:relative}
body.top-page .top-services .top-section-title{position:relative;z-index:1;display:flex;align-items:center;gap:16px;min-height:84px;width:100%;margin:0 0 34px!important;padding:12px 0!important;background:transparent!important;box-shadow:none!important;border:0!important;color:#53646e!important;font-size:clamp(22px,2.2vw,30px)!important;font-weight:400!important}
body.top-page .top-services .top-section-title::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(-1 * (100vw - 100%) / 2);width:100vw;background:#f0f2f3;pointer-events:none}
body.top-page .top-services .top-section-title small{display:inline!important;margin:0!important;font-size:clamp(11px,1vw,14px)!important;color:#7d8c95!important}
@media(max-width:700px){
 body.top-page .top-profile-name,body.top-page .top-services .top-section-title{min-height:66px}
 body.top-page .top-profile-name::before{left:-100vw}
 body.top-page .top-services .top-section-title::before{left:calc(-1 * (100vw - 100%) / 2)}
 body.top-page .top-services .top-section-title{flex-wrap:wrap;gap:4px 12px}
}

/* top 固有設定 18 / consistent-left-alignment-20261113 */
/* Restore the natural text start: no additional 3em indent. */
body.top-page .top-intro .top-container > p,
body.top-page .top-profile-copy,
body.top-page .top-services .top-section-title {padding-left:0!important;text-align:left!important;}
body.works-page .works-intro-copy,
body.works-page .works-category-heading,
body.works-page .works-subheading,
body.works-page .works-entry-text,
body.works-page .works-more-note,
body.works-page .works-credit-expo {padding-left:0!important;text-align:left!important;}
/* Category numbers (01–05) and labels share the same left edge. */
body.works-page .works-category-heading {justify-content:flex-start!important;margin-left:0!important;}
/* Mobile: retain an even outer gutter, not a separate text-only indent. */
@media(max-width:700px){
 body.works-page .works-list-new {padding-left:6%!important;padding-right:6%!important;}
 body.works-page .works-intro-new {padding-left:6%!important;padding-right:6%!important;}
 body.works-page .works-category-heading,
 body.works-page .works-subheading,
 body.works-page .works-entry-text {text-align:left!important;}
}

/* top 固有設定 19 / mobile-readable-wrap-20261113 */
/* Keep the same text start for photographed and unphotographed project rows. */
body.works-page .works-category-section .works-entry .works-entry-text {min-width:0;text-align:left!important;}
body.works-page .works-category-section .works-entry .works-entry-title {text-align:left!important;margin-left:0!important;}
@media(max-width:768px){
 body.works-page .works-category-section[data-category="ceremony"] .works-entry.has-photo .works-entry-text {width:100%!important;align-self:stretch!important;justify-self:start!important;margin-left:0!important;padding-left:0!important;}
 body.works-page .works-category-section[data-category="ceremony"] .works-entry.has-photo .works-entry-title {width:100%!important;text-align:left!important;margin-left:0!important;padding-left:19px!important;box-sizing:border-box!important;}
 body.works-page .works-credit-inline {display:inline-block!important;white-space:nowrap!important;vertical-align:baseline;}
 body.top-page .top-intro .philosophy-frame p,body.top-page .top-profile-role,
 body.works-page .works-entry-title,body.works-page .works-subheading {overflow-wrap:anywhere;word-break:normal;}
}

.top-page .top-footer-contact div {
    font-size: 150%;
}

.top-page .top-footer-contact strong {
    font-size: 150%;
}

.top-page .top-footer-contact {
    padding-bottom: 100px;
}

/* 2026-11-16: Footer contact alignment fix.
   This file is loaded AFTER common.css; override legacy footer rules here. */
body.works-page > footer.site-footer.site-footer--organized {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0 !important;
  padding: 48px 6% 80px !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-brand {
  display: flex !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  order: 0 !important;
  justify-self: stretch !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr) !important;
  gap: 36px !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 26px 0 30px !important;
  border-top: 1px solid #e1e5e8 !important;
  border-bottom: 1px solid #e1e5e8 !important;
  box-sizing: border-box !important;
  order: 1 !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  justify-self: start !important;
  align-self: start !important;
  gap: 0 !important;
  order: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
  color: #e2e8e7 !important;
  line-height: normal !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact::before,
body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact::after {
  content: none !important;
  display: none !important;
}
body.works-page > footer.site-footer.site-footer--organized .top-footer-contact > strong {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  font-weight: 600 !important;
  text-align: left !important;
  color: #e2e8e7 !important;
}
body.works-page > footer.site-footer.site-footer--organized .top-footer-contact > .footer-contact-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
body.works-page > footer.site-footer.site-footer--organized .footer-contact-details > div {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-align: left !important;
  text-indent: 0 !important;
  color: #e2e8e7 !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout > .footer-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  order: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body.works-page > footer.site-footer.site-footer--organized > .footer-copyright {
  display: block !important;
  order: 2 !important;
  margin: 0 !important;
  padding: 22px 0 0 !important;
  border-top: 0 !important;
  width: 100% !important;
}
@media (max-width: 640px) {
  body.works-page > footer.site-footer.site-footer--organized > .footer-info-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 25px !important;
  }
  body.works-page > footer.site-footer.site-footer--organized .footer-contact-details > div {
    font-size: 15px !important;
  }
}

/* トップページのキャッチコピーを約2文字分上へ */
body.top-page .top-hero-content > p {
  transform: translateY(-2em);
}

/* プロフィールのローマ字表記を小さくする */
.top-profile-name .profile-name-en {
  font-size: 0.5em;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 漢字とローマ字の間隔 */
.top-profile-name .profile-name-en {
  margin-left: 2em;
}


/* top 固有設定 / おもな業務範囲：横長プレートを縦3段に統一 */
/* 旧カード型（横3列・中央揃え・右上角丸）の競合設定は整理済み。 */
body.top-page .top-services .top-service-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  border-top: 0;
}

body.top-page .top-services .top-service-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 22px 28px;
  gap: 22px;
  border: 1px solid #cbd9e0;
  border-radius: 0;
  background: #f9fafb;
  box-shadow: none;
  text-align: left;
  cursor: default;
}

/* アイコンの右側に細い縦の区切り線 */
body.top-page .top-services .top-service-item .service-icon {
  display: flex;
  flex: 0 0 70px;
  width: 70px;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 20px 0 0;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #b8cbd5;
  color: #8ea9b8;
}
body.top-page .top-services .top-service-item .service-icon svg {
  display: block;
  width: 42px;
  height: 42px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1;
}

/* 番号 */
body.top-page .top-services .top-service-item .service-number {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  min-width: 0;
  margin: 0;
  font-family: "Helvetica Neue", "Didot", "Bodoni MT", Georgia, serif;
  font-size: 35px;
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: .09em;
  text-align: left;
  white-space: nowrap;
  color: #9bb8c8;
}

/* PCは各段1行、タブレット・スマホは折り返し可 */
body.top-page .top-services .top-service-item .service-copy,
body.top-page .top-services .top-service-item .service-copy-third {
  display: block;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .025em;
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  color: #405a68;
}
body.top-page .top-services .top-service-item .service-copy br {
  display: none;
}

/* 文字の下側に淡い黄色の蛍光ペン */
body.top-page .top-services .top-service-item .service-highlight {
  display: inline;
  min-width: 0;
  font: inherit;
  color: inherit;
  background: linear-gradient(
    transparent 77%,
    rgba(247, 238, 122, .65) 77%,
    rgba(247, 238, 122, .65) 94%,
    transparent 94%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media screen and (max-width: 800px) {
  body.top-page .top-services .top-service-list { gap: 12px; }
  body.top-page .top-services .top-service-item {
    padding: 16px 14px;
    gap: 12px;
  }
  body.top-page .top-services .top-service-item .service-icon {
    flex-basis: 46px;
    width: 46px;
    height: 38px;
    padding-right: 10px;
  }
  body.top-page .top-services .top-service-item .service-icon svg {
    width: 30px;
    height: 30px;
  }
  body.top-page .top-services .top-service-item .service-number {
    flex-basis: 32px;
    width: 32px;
    font-size: 23px;
  }
  body.top-page .top-services .top-service-item .service-copy,
  body.top-page .top-services .top-service-item .service-copy-third {
    font-size: clamp(13px, 2.1vw, 17px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media screen and (max-width: 480px) {
  body.top-page .top-services .top-service-item {
    padding: 14px 10px;
    gap: 8px;
  }
  body.top-page .top-services .top-service-item .service-icon {
    flex-basis: 34px;
    width: 34px;
    height: 30px;
    padding-right: 6px;
  }
  body.top-page .top-services .top-service-item .service-icon svg {
    width: 25px;
    height: 25px;
  }
  body.top-page .top-services .top-service-item .service-number {
    flex-basis: 26px;
    width: 26px;
    font-size: 18px;
  }
  body.top-page .top-services .top-service-item .service-copy,
  body.top-page .top-services .top-service-item .service-copy-third {
    font-size: 13px;
    line-height: 1.75;
    letter-spacing: 0;
  }
}

/* スマホ：業務範囲の指定した改行を表示 */
@media screen and (max-width: 600px) {
  body.top-page .top-services .service-copy br {
    display: inline !important;
  }
}

/* 業務範囲：ボタンらしさを抑えたグレーのプレート */
body.top-page .top-services .top-service-item {
  border: none !important;
  border-radius: 0 !important;
  background: #f1f3f4 !important;
  box-shadow: none !important;
}

/* TOPページ：実績ページと同じスクロール演出 */
@media (prefers-reduced-motion: no-preference) {

  body.top-page.reveal-enabled .top-services .top-service-item.reveal-pending {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
    transition: opacity .62s ease,
                transform .62s cubic-bezier(.22,1,.36,1);
  }

  body.top-page.reveal-enabled .top-services .top-service-item.reveal-pending.reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

}
/* TOP：仕事への想いのスライド・フェード */
@media (prefers-reduced-motion: no-preference) {

  body.top-page.reveal-enabled
  .top-intro .reveal-pending {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
    transition: opacity .62s ease,
                transform .62s cubic-bezier(.22,1,.36,1);
  }

  body.top-page.reveal-enabled
  .top-intro .reveal-pending.reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

}
/* TOP：プロフィールのスライド・フェード */
@media (prefers-reduced-motion: no-preference) {

  body.top-page.reveal-enabled
  .top-profile .reveal-pending {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
    transition: opacity .62s ease,
                transform .62s cubic-bezier(.22,1,.36,1);
  }

  body.top-page.reveal-enabled
  .top-profile .top-profile-photo.reveal-pending {
    transform: translate3d(0, 12px, 0);
  }

  body.top-page.reveal-enabled
  .top-profile .reveal-pending.reveal-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

}

/* TOPメイン写真：スマホだけメッセージを小さくする */
@media screen and (max-width: 600px) {
  body.top-page .top-hero-content p {
    font-size: 12px !important;
  }
}


/* TOP写真内の全文表示 */
.top-page .top-hero {
  min-height: 760px;
  padding: 55px 20px;
}

.top-page .top-hero-content {
  width: 100%;
  max-width: 920px;
  padding: 28px 22px;
  box-sizing: border-box;
}

.top-page .top-hero-content p {
  font-size: clamp(15px, 1.65vw, 22px);
  line-height: 1.4;
  letter-spacing: .06em;
  text-align: center;
}

.top-page .top-hero-content p + p {
  margin-top: 1.8em;
}

/* iPad・iPhone */
@media (max-width: 768px) {
  .top-page .top-hero {
    min-height: 0;
    padding: 45px 12px;
  }

  .top-page .top-hero-content {
    padding: 24px 10px;
  }

  .top-page .top-hero-content p {
    font-size: clamp(12px, 2.5vw, 17px);
    line-height: 1.4;
    letter-spacing: 0;
  }
}

/* TOP写真内の文章：行間を狭くし、全体を約1文字分上へ */
/* 以前の段落ごとの上移動を解除し、文章全体を一緒に動かす */
body.top-page .top-hero-content > p {
  transform: none;
}
body.top-page .top-hero-content {
  transform: translateY(-18px);
}
body.top-page .top-hero-content p {
  line-height: 1.4 !important;
}

/* Macのみ：写真内の文章を約1.15倍、上位置は維持 */
@media screen and (min-width: 769px) {
  body.top-page .top-hero-content p {
    font-size: clamp(21.85px, 2.4725vw, 34.5px) !important;
    line-height: 1.4 !important;
  }
  body.top-page .top-hero-content {
    transform: translateY(-85px);
  }
}

/* iPad・iPhone：白い文章をさらに約0.5文字分（6px）下へ */
/* Macの設定と、文字サイズ・改行・行間・写真のサイズは変更しない */
@media screen and (max-width: 768px) {
  body.top-page .top-hero-content {
    transform: translateY(-36px);
  }
}


/* フッター住所：iPad・iPhoneだけ指定位置で改行 */
.mobile-address-break {
  display: none;
}

@media screen and (max-width: 1024px) {
  .mobile-address-break {
    display: inline;
  }
}


/* TOP footer: match the WORKS green footer's height and inner spacing.
   Scoped to TOP only; WORKS and common.css remain unchanged. */
body.top-page .top-footer-contact {
  padding-bottom: 0 !important;
}
body.top-page > footer.site-footer.site-footer--organized {
  padding-top: 28px !important;
}
/* 2026-11-16: Footer contact alignment fix.
   This file is loaded AFTER common.css; override legacy footer rules here. */
body.top-page > footer.site-footer.site-footer--organized {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 0 !important;
  padding: 48px 6% 80px !important;
}
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .65fr) !important;
  gap: 36px !important;
  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 26px 0 30px !important;
  border-top: 1px solid #e1e5e8 !important;
  border-bottom: 1px solid #e1e5e8 !important;
  box-sizing: border-box !important;
  order: 1 !important;
}
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  justify-self: start !important;
  align-self: start !important;
  gap: 0 !important;
  order: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
  color: #e2e8e7 !important;
  line-height: normal !important;
}
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact::before,
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout > .top-footer-contact::after {
  content: none !important;
  display: none !important;
}
body.top-page > footer.site-footer.site-footer--organized .top-footer-contact > strong {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  font-weight: 600 !important;
  text-align: left !important;
  color: #e2e8e7 !important;
}
body.top-page > footer.site-footer.site-footer--organized .top-footer-contact > .footer-contact-details {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
body.top-page > footer.site-footer.site-footer--organized .footer-contact-details > div {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  text-align: left !important;
  text-indent: 0 !important;
  color: #e2e8e7 !important;
}
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout > .footer-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  order: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body.top-page > footer.site-footer.site-footer--organized > .footer-copyright {
  display: block !important;
  order: 2 !important;
  margin: 0 !important;
  padding: 22px 0 0 !important;
  border-top: 0 !important;
  width: 100% !important;
}
@media (max-width: 640px) {
  body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 25px !important;
  }
  body.top-page > footer.site-footer.site-footer--organized .footer-contact-details > div {
    font-size: 15px !important;
  }
}


body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout {
  margin-top: 0 !important;
}
body.top-page > footer.site-footer.site-footer--organized .mobile-address-break {
  display: none;
}
@media screen and (max-width:1024px) {
  body.top-page > footer.site-footer.site-footer--organized .mobile-address-break {
    display: inline;
  }
}

/* TOP footer: align green-top-to-divider spacing with WORKS.
   Move the divider and all following footer content together, not text alone. */
body.top-page > footer.site-footer.site-footer--organized > .footer-info-layout {
  margin-top: -18px !important;
}
body.top-page > footer.site-footer.site-footer--organized {
  padding-bottom: 98px !important;
}

/* Mac / Chrome 100%: move only the hero message upward by roughly two lines. */
@media screen and (min-width: 769px) {
  body.top-page .top-hero-content {
    transform: translateY(-165px) !important;
  }
}


/* TOP hero: keep the message position proportional to the photo width on Mac.
   The previous desktop offset was -165px; 15.28% of the 1080px
   maximum hero width gives approximately the same position.
   Existing responsive font sizes, photo dimensions, and mobile rules stay intact. */
@media screen and (min-width: 769px) {
  body.top-page .top-hero {
    container-type: inline-size;
  }
  body.top-page .top-hero-content {
    transform: translateY(-15.28cqw) !important;
  }
}

/* TOP hero v2: once the photo stops growing, keep the text size and position
   tied to the photo rather than the browser window. Desktop only. */
@media screen and (min-width: 769px) {
  body.top-page .top-hero {
    container-type: inline-size;
  }
  body.top-page .top-hero-content {
    transform: translateY(-15.28cqw) !important;
  }
  body.top-page .top-hero-content p {
    font-size: clamp(21.85px, 2.91cqw, 34.5px) !important;
  }
}


/* TOP hero v3: iPad / iPhone only. Lift the entire top message by
   approximately two text lines relative to the existing -36px offset.
   Keep desktop photo/text locking and footer unchanged. */
@media screen and (max-width: 600px) {
  body.top-page .top-hero-content {
    transform: translateY(calc(-36px - 33.6px)) !important;
  }
}
@media screen and (min-width: 601px) and (max-width: 768px) {
  body.top-page .top-hero-content {
    transform: translateY(calc(-36px - clamp(42px, 7vw, 47.6px))) !important;
  }
}

/* プロフィール本文：PCのみ改行を調整 */
@media screen and (min-width: 1025px) {
  body.top-page .top-profile-copy .profile-biography {
    display: block;
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }
}
/* プロフィール本文：スマホ・iPadは新聞記事のように自然に折り返す */
@media screen and (max-width: 1024px) {
  body.top-page .top-profile-copy .profile-biography br {
    display: none;
  }
}

/* PCのみ：プロフィール本文の文字サイズを画面幅に応じて調整 */
@media screen and (min-width: 1025px) {
  body.top-page .top-profile-copy .profile-biography {
    font-size: clamp(11px, 0.9vw, 13px) !important;
  }
}

/* PCのみ：プロフィール本文を通常13px、狭い画面では少し小さくする */
@media screen and (min-width: 1025px) {
  body.top-page .top-profile-copy .profile-biography {
    font-size: clamp(11px, 1vw, 13px) !important;
  }
}

/* TOP写真内の文章を全端末で約1文字分上へ */
body.top-page .top-hero-content {
  translate: 0 -25px;
}

@media screen and (max-width: 768px) {
  body.top-page .top-hero-content {
    translate: 0 -12px;
  }
}

/* TOP写真内の文章：スマホ・iPadの位置調整 */
@media screen and (max-width: 768px) {
  body.top-page .top-hero-content {
    transform: translateY(-55px) !important;
    translate: none !important;
  }
}

/* TOP：スマホ横向き専用の表示調整 */
@media screen and (max-width: 1024px)
  and (max-height: 500px)
  and (orientation: landscape) {

  body.top-page .top-hero {
    width: 85% !important;
    max-width: 85% !important;
  }

  body.top-page .top-hero-content {
    transform: translateY(-107px) !important;
    translate: none !important;
  }

  body.top-page .top-hero-content p {
    font-size: 12px !important;
  }
}