/*
Theme Name: 島崎建設
Description: Sites完成見本を引き継ぐ専用テーマ。
Version: 0.2.2
Requires PHP: 8.0
Text Domain: shimazaki
*/



:root{color-scheme:light;--background:#fff;--foreground:#242321;--card:#fff;--card-foreground:#242321;--popover:#fff;--popover-foreground:#242321;--primary:#9c7953;--primary-foreground:#fff;--secondary:#f5f3f0;--secondary-foreground:#242321;--muted:#f5f3f0;--muted-foreground:#625f5a;--accent:#ede5da;--accent-foreground:#242321;--border:#ded8cf;--input:#ded8cf;--ring:#687d54;--radius:.35rem;--destructive:#ae2424;}

*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#fff;color:#242321;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.8}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #176642;outline-offset:4px}img{display:block}h1,h2,h3,p,figure{margin:0}h2{font-size:clamp(1.5rem,2.35vw,2.1rem);font-weight:500;line-height:1.55;letter-spacing:.06em}h3{font-size:1rem;font-weight:600;line-height:1.6}ol,dl,dd{margin:0;padding:0}ol{list-style:none}.site-shell{max-width:1600px;margin:auto}.reference-crop{position:relative;overflow:hidden;width:100%;flex-shrink:0}.reference-crop img{height:auto;pointer-events:none}.photo{width:100%;height:auto}.brand{display:block;flex-shrink:0}.logo{width:265px}.site-header{position:relative;z-index:10;display:flex;align-items:center;gap:24px;padding:18px 3.5%;min-height:90px;background:#fff}.brand-message{font-size:.875rem;white-space:nowrap}.desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:24px;flex:1;font-size:.875rem;white-space:nowrap}.desktop-nav a,.desktop-nav button{padding:10px 0}.desktop-nav a:hover,.desktop-nav button:hover{color:#8d6b48}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:13px 24px;border:0;border-radius:5px;font-weight:600;font-size:1rem;line-height:1.5;text-align:center;transition:filter .15s}.button:hover{filter:brightness(.92)}.button svg{width:18px;height:18px;flex-shrink:0}.tan-button{background:#b49672;color:#fff;text-shadow:0 1px 1px #785d3c}.line-button{background:#25bb23;color:#fff;text-shadow:0 1px 1px #11720f}.line-bubble{display:inline-flex;align-items:center;justify-content:center;position:relative;border-radius:50%;background:#fff;color:#158519;text-shadow:none;width:27px;height:24px;flex-shrink:0;font-size:9px;letter-spacing:-.5px;font-weight:800}.line-bubble:after{content:"";position:absolute;bottom:-3px;left:8px;border:4px solid transparent;border-top-color:white;transform:rotate(18deg)}.header-line .button{min-height:46px;padding:10px 18px;font-size:.875rem}.header-phone{position:absolute;right:0;top:100%;background:#fff;border-radius:0 0 0 34px;padding:3px 3.5% 13px 28px}.phone-block a{display:flex;align-items:center;gap:8px;font-size:1.9rem;font-weight:650;line-height:1.3;white-space:nowrap;letter-spacing:.025em}.phone-block svg{width:25px;height:25px;fill:currentColor}.phone-block span{display:block;font-size:.875rem;white-space:nowrap}.menu-toggle{display:none}.hero{position:relative;min-height:560px;isolation:isolate;display:flex;align-items:center}.hero-photo{position:absolute;inset:0;background:url("assets/hero.webp") center/cover no-repeat;z-index:-2}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.82) 25%,rgba(255,255,255,.22) 43%,transparent 62%);z-index:-1}.hero-copy{padding:58px 4.9% 52px}.hero h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;font-size:clamp(2.6rem,4.5vw,4.1rem);letter-spacing:.13em;line-height:1.6}.hero-subtitle{font-size:clamp(1.25rem,1.95vw,1.7rem);letter-spacing:.05em;line-height:1.6;margin-top:20px;font-weight:500}.hero-description{font-size:1rem;line-height:1.85;margin-top:14px}.hero-actions{display:flex;gap:24px;margin-top:28px}.hero-signature{position:absolute;right:4.2%;bottom:38px;font:italic 2.75rem/1.05 "Brush Script MT","Segoe Script",cursive;color:#fff;transform:rotate(-9deg);text-align:center;text-shadow:0 1px 8px #916644}.hero-signature span{font-size:1.85rem}.image-note{position:absolute;bottom:5px;right:10px;font-size:.75rem;background:rgba(255,255,255,.8);color:#4c443b;padding:0 5px}.section-pad{padding:38px 3.5%}.section-heading p{font-size:.95rem;margin-top:14px;line-height:1.9}.reform-section{display:grid;grid-template-columns:24% 1fr;gap:26px;align-items:center}.reform-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px;min-width:0}.reform-card{overflow:hidden;border-radius:5px;background:#f5f3f0;display:block;text-align:center}.reform-card span{display:flex;align-items:center;justify-content:center;min-height:38px;padding:5px 2px;font-size:.875rem;line-height:1.4}.reform-card:hover{outline:2px solid #b49672;outline-offset:3px}.strength-section{display:grid;grid-template-columns:34% 39% 27%;align-items:center;background:#f6f5f3}.craft-photo{position:relative;align-self:stretch;overflow:hidden;display:flex;align-items:center}.craft-photo .reference-crop{width:100%}.strength-copy{padding:22px 9%}.strength-copy p{font-size:1rem;margin-top:18px;line-height:1.9}.strength-list{padding:20px 20px 20px 5px;display:grid;gap:23px}.strength-list li{display:flex;gap:16px;align-items:center}.strength-list li>span{background:#b49672;color:#fff;border-radius:50%;width:57px;height:57px;flex-shrink:0;display:grid;place-items:center;font-size:1.2rem}.strength-list p{font-size:.875rem;color:#5c5751}.strength-list h3{font-size:1rem}.works-section{display:grid;grid-template-columns:20% 1fr;column-gap:24px;row-gap:14px}.works-section .section-heading .button{margin-top:24px;font-size:.875rem;padding:12px 15px;gap:7px}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.work-title{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:9px;flex-wrap:wrap}.sample-tag{font-size:.75rem;line-height:1.4;padding:2px 5px;border:1px solid #c9bda9;color:#725c41;background:#fffaf2;border-radius:3px}.before-after{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:5px;align-items:center}.before-after figure{position:relative;overflow:hidden;border-radius:5px;min-width:0}.before-after .reference-crop{aspect-ratio:1/1!important}.before-after figcaption{position:absolute;bottom:0;left:0;right:0;background:#27211b9c;color:#fff;font-size:.875rem;text-align:center;line-height:1.6;padding:2px}.between{font-size:26px;color:#b49672}.work-info{font-size:.875rem;color:#5d5851;line-height:1.7;margin-top:9px}.work-info div{display:flex;gap:6px;flex-wrap:wrap}.work-info dt{font-weight:500}.sample-disclaimer{grid-column:1/-1;font-size:.75rem;color:#696057;text-align:right}.flow-section{display:grid;grid-template-columns:24% 1fr;gap:20px;align-items:center;background:#f6f5f3;padding-top:28px;padding-bottom:28px}.flow-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.flow-list li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.step-number{color:#987653;font-weight:600;font-size:1.1rem}.flow-list svg{width:36px;height:36px}.flow-list h3{font-size:.875rem;font-weight:500}.flow-list li:not(:last-child):after{content:"▸";position:absolute;right:-12px;top:38px;color:#b49672}.area-contact-row{display:grid;grid-template-columns:47.2% 52.8%}.area-section{position:relative;display:grid;grid-template-columns:60% 40%;align-items:center;padding:30px 5% 30px 7.4%;min-width:0;overflow:hidden}.area-copy{position:relative;z-index:1}.area-copy p{font-size:1rem;line-height:1.75;margin-top:12px}.small-note{font-size:.75rem!important;color:#696057;line-height:1.7}.area-image{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;position:relative;z-index:0;aspect-ratio:1;min-width:0;color:#315738;text-align:center;background:radial-gradient(circle,#d8ead5 0 29%,#e1eedf 30% 42%,#edf3eb 43% 55%,#f7f9f5 56% 70%,transparent 71%)}.area-image svg{width:19px}.area-image small{width:100%;font-size:.75rem;line-height:1.4}.area-image small:last-child{font-size:.75rem;position:absolute;top:100%;color:#696057}.contact-section{background:url("assets/hero.webp") center/cover;padding:26px 6%;display:flex;align-items:center}.contact-inner{background:#ffffffe0;padding:20px 24px;border-radius:5px;width:100%}.contact-inner h2{font-size:clamp(1.25rem,1.9vw,1.75rem);line-height:1.45}.contact-actions{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:18px}.contact-actions .button{white-space:nowrap;padding:13px 18px}.contact-actions .phone-block a{font-size:clamp(1.5rem,2.2vw,2rem)}.site-footer{padding:25px 3.5% 28px}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.footer-top .logo{width:235px}.footer-top nav{display:flex;align-items:center;justify-content:center;gap:21px;font-size:.875rem;flex-wrap:wrap}.footer-top nav a,.footer-top nav button{min-height:44px;display:flex;align-items:center}.footer-contact{font-size:.875rem;padding:8px 22px;min-height:44px;white-space:nowrap}.company-details{display:flex;gap:16px;font-size:.75rem;margin-top:18px;color:#696057}.company-details address{font-style:normal}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:13px;color:#77716b}.footer-bottom small{font-size:.75rem}.footer-bottom>div{display:flex;gap:24px;font-size:.75rem}.footer-bottom button{min-height:44px}.skip-link{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:10px}.skip-link:focus{top:10px}.mobile-sheet{padding:30px 24px;width:min(90vw,360px)!important;max-height:100dvh;overflow:auto}.mobile-sheet nav,.sitemap{display:flex;flex-direction:column}.mobile-sheet nav a,.mobile-sheet nav button,.sitemap a,.sitemap button{text-align:left;padding:12px 0;border-bottom:1px solid #eee}.mobile-sheet .phone-block{margin-top:15px}.mobile-sheet .phone-block a{font-size:1.55rem}.mobile-sheet .phone-block span{font-size:.75rem}.info-dialog{max-height:88dvh;overflow:auto;line-height:1.8}.info-dialog h2{font-size:1.5rem}.works-dialog{max-width:min(850px,calc(100% - 32px))!important}.supplied-works{display:grid;gap:30px}.supplied-works h3{margin-bottom:12px}.supplied-works .photo{height:260px;object-fit:contain;background:#f5f3f0}.faq-list details{padding:14px 0;border-bottom:1px solid #ded8cf}.faq-list summary{cursor:pointer;font-weight:600}.faq-list p{padding-top:10px}.info-dialog [data-slot="dialog-close"],.mobile-sheet [data-slot="sheet-close"]{min-width:44px;min-height:44px;display:grid;place-items:center}
@media(min-width:1600px){.hero{min-height:675px}.hero-copy{padding-top:70px;padding-bottom:70px}.section-pad{padding-top:44px;padding-bottom:44px}}
@media(max-width:1390px){.brand-message{display:none}.site-header{gap:22px}.desktop-nav{gap:20px}.logo{width:230px}.hero{min-height:540px}.strength-copy{padding:22px 7%}.strength-copy p{font-size:.95rem}.desktop-break{display:none}.contact-actions{gap:14px;flex-wrap:wrap}.contact-section{padding:23px 6%}.footer-top{gap:18px}.footer-top nav{gap:16px}.footer-top .logo{width:210px}}
@media(max-width:1100px){.site-header{gap:16px;padding-top:13px;padding-bottom:13px}.desktop-nav{gap:14px;font-size:.875rem}.logo{width:215px}.header-line .button{padding:10px}.hero{min-height:500px}.hero-copy{padding-top:48px;padding-bottom:40px}.hero h1{font-size:3rem}.reform-section{grid-template-columns:23% 1fr;gap:18px}.reform-grid{gap:10px}.section-pad{padding-top:30px;padding-bottom:30px}.reform-card span{font-size:.875rem;min-height:43px}.strength-section{grid-template-columns:33% 39% 28%}.strength-list li{gap:10px}.strength-list li>span{width:46px;height:46px}.strength-list h3{font-size:.875rem}.strength-list{gap:18px;padding-right:12px}.strength-copy{padding:22px 8%}.strength-copy p{font-size:.875rem}.works-grid{gap:20px}.works-section{grid-template-columns:20% 1fr;column-gap:18px}.work-title h3{font-size:.875rem}.flow-section{grid-template-columns:25% 1fr}.area-section{grid-template-columns:1fr 35%;padding-right:12px}.area-copy p{font-size:.875rem}.contact-inner{padding:18px}.footer-top{flex-wrap:wrap}.footer-top nav{order:3;width:100%;justify-content:flex-start}.phone-block a{font-size:1.65rem}}
@media(max-width:900px){.desktop-nav{display:none}.site-header{min-height:82px}.header-line{margin-left:auto}.menu-toggle{display:grid;place-items:center;width:44px;height:44px}.header-phone{padding-right:4%;padding-bottom:9px}.reform-section{grid-template-columns:1fr}.reform-grid{gap:12px}.strength-section{grid-template-columns:42% 58%}.strength-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);padding:22px 4%;gap:18px}.strength-list li{align-items:flex-start}.works-section{grid-template-columns:1fr}.works-section .section-heading{margin-bottom:16px}.works-section .section-heading .button{margin-top:16px}.flow-section{grid-template-columns:1fr;gap:24px}.area-contact-row{grid-template-columns:1fr}.area-section{padding:30px 4%;grid-template-columns:60% 40%}.area-image{max-height:190px;aspect-ratio:auto;min-height:170px}.contact-section{padding:30px 4%;min-height:220px}.contact-actions{flex-wrap:nowrap}.contact-inner{max-width:700px;margin:auto}.contact-inner h2{font-size:1.6rem}.contact-actions .phone-block a{font-size:2rem}.company-details{flex-wrap:wrap;gap:4px 15px}}
@media(max-width:600px){html{scroll-padding-top:12px}.site-header{padding:13px 18px 9px;gap:10px;min-height:116px;flex-wrap:wrap}.logo{width:190px}.header-line .button{font-size:.875rem;padding:8px 10px;min-height:44px}.header-line .line-bubble{display:none}.menu-toggle{width:38px;min-width:38px}.header-phone{position:static;order:4;flex-basis:100%;border-radius:0;padding:0;display:flex;justify-content:flex-end}.header-phone .phone-block{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.header-phone .phone-block a{font-size:1.3rem;gap:5px;letter-spacing:0}.header-phone .phone-block svg{width:18px;height:18px}.header-phone .phone-block span{font-size:.75rem;white-space:normal;line-height:1.35;text-align:right;max-width:150px}.hero{min-height:650px;align-items:flex-end;display:block;padding-top:245px}.hero-photo{bottom:auto;height:330px;background-position:61% center}.hero-wash{background:linear-gradient(0deg,#fbfaf8 0%,#fbfaf8 52%,rgba(251,250,248,.94) 61%,rgba(251,250,248,0) 76%)}.hero-copy{padding:0 24px 34px;position:relative}.hero h1{font-size:2.25rem;letter-spacing:.07em;line-height:1.55}.hero-subtitle{font-size:1.25rem;margin-top:15px;line-height:1.6}.hero-description{font-size:.95rem;margin-top:14px;line-height:1.9}.hero-description br{display:none}.hero-actions{gap:11px;margin-top:23px;display:grid;grid-template-columns:1fr}.hero-actions .button{min-height:54px}.hero-signature{top:180px;right:22px;bottom:auto;font-size:1.8rem}.hero-signature span{font-size:1.15rem}.hero>.image-note{top:4px;bottom:auto;font-size:.75rem}.section-pad{padding:32px 24px}.section-heading h2,h2{font-size:1.6rem;line-height:1.55}.section-heading p{font-size:1rem;margin-top:12px}.reform-section{gap:23px}.reform-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reform-card span{font-size:1rem;min-height:44px}.reform-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.reform-card:last-child span{padding:12px}.strength-section{display:flex;flex-direction:column;align-items:stretch}.craft-photo{display:block;max-height:none}.craft-photo .reference-crop{width:100%}.strength-copy{padding:28px 24px 22px}.strength-copy p{font-size:1rem;margin-top:16px;line-height:1.9}.strength-list{display:grid;grid-template-columns:1fr;padding:0 24px 30px;gap:18px}.strength-list li{align-items:center;gap:16px}.strength-list li>span{width:50px;height:50px}.strength-list h3{font-size:1rem}.strength-list p{font-size:.875rem}.works-section{gap:20px}.works-grid{grid-template-columns:1fr;gap:27px}.works-section .section-heading{margin:0}.works-section .section-heading .button{margin-top:18px}.work-title h3{font-size:1rem}.before-after{gap:5px;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr)}.work-info{font-size:.875rem}.sample-disclaimer{text-align:left;font-size:.75rem}.flow-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 14px}.flow-list li:nth-child(3):after{display:none}.flow-list svg{height:35px;width:35px}.flow-list h3{font-size:.875rem}.flow-section{gap:24px}.area-section{display:block;padding:32px 24px 40px}.area-copy p{font-size:1rem}.area-image{width:220px;height:180px;margin:10px auto 0}.contact-section{padding:28px 18px;min-height:300px}.contact-inner{padding:22px 17px}.contact-inner h2{font-size:1.3rem;letter-spacing:.015em;line-height:1.6}.contact-actions{flex-direction:column;gap:18px;align-items:stretch}.contact-actions .phone-block a{font-size:1.85rem;justify-content:center}.contact-actions .phone-block span{text-align:center;font-size:.875rem;white-space:normal}.contact-actions .button{min-height:56px}.site-footer{padding:28px 24px 22px}.footer-top{gap:20px}.footer-top .logo{width:210px}.footer-top nav{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;font-size:.875rem;order:2}.footer-contact{order:3;width:100%;min-height:48px}.company-details{display:flex;flex-direction:column;gap:2px;font-size:.875rem;margin-top:22px}.footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.footer-bottom>div{order:-1;gap:20px;font-size:.75rem}.footer-bottom small{font-size:.75rem}.supplied-works .photo{height:auto;max-height:300px;object-fit:contain}.info-dialog .phone-block a{font-size:1.55rem}.info-dialog .phone-block span{font-size:.75rem}.info-dialog h2{font-size:1.3rem}}
@media(max-width:380px){.site-header{padding-left:14px;padding-right:14px;gap:7px}.logo{width:182px}.hero-copy{padding-left:22px;padding-right:22px}.hero h1{font-size:2.1rem}.section-pad{padding-left:22px;padding-right:22px}.header-line .button{padding:8px}.phone-block span{font-size:.75rem}}
.before-after .reference-crop{aspect-ratio:var(--photo-ratio)!important}
.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.work-card .before-after figure{background:#f5f3f0}
.work-card .before-after .photo{aspect-ratio:3/4;object-fit:contain}
.work-card .before-after figcaption{position:static}
@media(max-width:600px){.works-grid{grid-template-columns:1fr}}
.eyebrow{display:block;font-size:12px;letter-spacing:.17em;color:#8a7159;margin:8px 0 16px}
.news-section .section-heading h2{font-size:26px;white-space:nowrap}
.craft-photo>.photo{width:100%;height:100%;object-fit:cover}.before-after.single-photo{grid-template-columns:1fr}.work-info dd{overflow-wrap:anywhere}
.estimate-label{display:inline-block;color:#59734a;font-weight:700;border-bottom:1px solid #a6b698;margin-bottom:10px}.contact-actions{flex-wrap:wrap}
.news-section{display:grid;grid-template-columns:220px 1fr;gap:36px;border-top:1px solid #e9e3dc;background:#faf8f5}.news-list a{display:flex;align-items:center;gap:24px;padding:20px 0;border-bottom:1px solid #e4dfd8}.news-list a span:last-child{margin-left:auto}.news-list time{font-size:14px;color:#766e64;white-space:nowrap;flex-shrink:0}
.mobile-contact{display:none}.content-page,.cms-page{max-width:1060px;margin:0 auto;padding:48px 28px 100px;line-height:1.9;color:#403c36}.content-page h1,.cms-page h1{font-size:clamp(26px,4vw,40px);font-weight:600;line-height:1.55;margin:28px 0}.content-page h2,.cms-page h2{font-size:24px;margin:28px 0 16px}.content-page a:not(.button),.cms-header a{text-decoration:underline;text-underline-offset:5px}.article-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:24px 0}.article-meta{font-size:14px;color:#746b60}.content-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.content-photos figure{margin:0;min-width:0}.content-photos img{width:100%;height:auto;max-height:660px;object-fit:contain;background:#f5f2ed}.content-photos figcaption{padding:8px;font-size:14px;color:#665c50}.works-detail{padding:30px 0 50px;border-bottom:1px solid #ded6cb;margin-bottom:30px}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.post-card{background:#f8f5f0;padding:20px;text-decoration:none!important;overflow-wrap:anywhere}.post-card img{width:100%;aspect-ratio:4/3;object-fit:contain}.post-card span{font-size:14px;color:#766650}.post-card h2{font-size:23px}.policy{max-width:860px}.cms-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.cms-header>a{white-space:nowrap}.cms-status{padding:12px;background:#f5f1e9;min-height:48px;white-space:pre-wrap}.cms-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:18px 0}.cms-actions button:not(.button){border:1px solid #c8b9a8;padding:8px 15px;min-height:44px;border-radius:5px}.cms-list{display:grid;gap:15px;margin-top:25px}.cms-list-item{text-align:left;display:flex;flex-direction:column;gap:6px;padding:22px;border:1px solid #d9cfc3;border-radius:7px;background:#fff}.cms-list-item span{font-size:14px;color:#6b6259}.cms-list-item strong{font-size:20px}.cms-form{border:0;padding:0;margin:25px 0;min-width:0}.cms-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;font-weight:500}.cms-form input,.cms-form textarea{font:inherit;width:100%;padding:12px;border:1px solid #b7aa9a;border-radius:5px;background:#fff;min-height:48px;min-width:0}.cms-form [data-slot=select-trigger]{width:100%;height:auto;min-height:48px;font-size:16px;white-space:normal}.cms-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.cms-upload{background:#eee7de;padding:14px;cursor:pointer}.cms-upload input{font-size:14px}.cms-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.cms-photo{padding:18px;border:1px solid #dbd2c7;border-radius:6px;min-width:0}.cms-photo img{width:100%;height:240px;object-fit:contain;background:#f4f2ef;margin-bottom:15px}.cms-photo .cms-upload{margin-top:15px}.cms-save{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:12px;background:#fffdf9;box-shadow:0 -2px 14px #4b392312;padding:18px 0}.cms-publish{background:#497447;color:white}.cms-delete{color:#a1392f}.cms-page button:disabled{opacity:.55;cursor:wait}.cms-page input:focus,.cms-page textarea:focus{outline:2px solid #6b8054;outline-offset:2px}.cms-page .button{min-height:48px;font-size:16px}.cms-form>p{font-size:14px}.content-page .button{margin-top:25px}
@media(max-width:700px){.news-section{grid-template-columns:1fr;gap:15px}.news-list a{gap:12px}.cms-page,.content-page{padding:26px 20px 95px}.cms-header{display:block}.cms-two,.cms-photos,.post-grid{grid-template-columns:1fr}.cms-save{gap:8px;padding:10px 0}.cms-save .button{padding:10px 14px;flex:1 1 auto}.content-photos{gap:10px}.content-photos figcaption{font-size:13px;padding:6px 0}.cms-upload input{font-size:13px}.cms-header h1{font-size:25px}.site-shell{padding-bottom:70px}.mobile-contact{display:grid;grid-template-columns:1fr 1.65fr;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;box-shadow:0 -2px 10px #0001;padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:8px}.mobile-contact a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;font-size:14px;font-weight:600;background:#ece3d8;border-radius:5px}.mobile-contact a:last-child{background:#4b7d3b;color:white}.mobile-contact svg{width:17px}.info-dialog{max-height:85dvh}.mobile-sheet{padding-bottom:90px}}
.mobile-sheet{max-width:calc(100% - 24px)!important;box-sizing:border-box}
.mobile-sheet>button:last-child,.info-dialog>button:last-child{min-width:44px;min-height:44px;display:grid;place-items:center}
@media(max-width:600px){.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto 38px;column-gap:8px}.site-header .brand{min-width:0;max-width:190px}.site-header .logo{width:100%}.header-line{margin-left:0}.header-phone{grid-column:1/-1}.mobile-sheet .button{padding-left:12px;padding-right:12px;min-width:0;width:100%}}
@media(max-width:600px){.flow-list h3,.contact-inner h2{text-wrap:balance}}
@media(min-width:901px){.reform-section h2{font-size:clamp(1.35rem,2.05vw,1.85rem);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

.wp-dialog{max-width:min(600px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #ded8cf;border-radius:8px;padding:24px;color:#242321;background:#fff}.wp-dialog::backdrop{background:#0006}.dialog-close{display:block;margin-left:auto;min-width:48px;min-height:48px}.wp-dialog nav{display:flex;flex-direction:column;gap:12px}.wp-dialog a{padding:8px}.work-link{display:block}.wp-content img{max-width:100%;height:auto}.wp-content p{margin:1em 0}.wp-content ul,.wp-content ol{padding-left:1.5em}.wp-content ol{list-style:decimal}.content-page{min-height:55vh}.before-after .photo{object-fit:contain}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Review corrections: keep original geometry; constrain uploaded media and long text. */
.work-title h2{font-size:1rem;font-weight:600;line-height:1.6;letter-spacing:normal}.post-card img{width:100%;height:auto}.work-card,.post-card,.news-list,.wp-content{min-width:0;overflow-wrap:anywhere}.wp-content iframe,.wp-content video{max-width:100%}.wp-content figure{max-width:100%}.wp-dialog button,.menu-toggle{min-width:44px;min-height:44px}.site-header button,.site-footer button{border:0;background:transparent;color:inherit;padding:0}.wp-dialog{overscroll-behavior:contain}.before-after figure{min-width:0}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.area-map{position:relative;z-index:0;min-width:0;align-self:center}.area-map figure{margin:0}.area-map img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}.area-copy{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.area-map{margin-top:20px}}
