/* ===== 20_site.css ===== */
/* ===== S01282 有限会社柴丸 site.css =====
   受領14ページの style 要素を全ページ union（同一宣言は1本化／食い違いは「最多ページの宣言＝全体・少数派＝そのページ配下に限定」）。
   ・ページ配下に限定した規則は先頭に .sw-p-ページ名 を付けてある（本文ラッパー div.sw-page.sw-p-ページ名）。
   ・受領の hover 用クラス（hv1〜hv5）は番号の意味がページごとに違ったため、宣言本体で一意化して swh1〜 へ付け替え済み。
   ・ロゴ img の alt を付け直したので、alt 一致のセレクタは #site-header img へ書き換え済み。
   ・::before/::after の content は現在の CueZilla では落ちない（R-27 改訂 2026-10-05）ので受領のまま残している。
 */
html{overflow-y:scroll;scrollbar-gutter:stable;scroll-behavior:smooth;background:#f0efec}
html,body{background:#f0efec;margin:0;color-scheme:light;}
@keyframes splashLogoDoc{from{opacity:0;}to{opacity:1;}}
@keyframes splashOutDoc{0%,62%{opacity:1;}100%{opacity:0;visibility:hidden;}}
.sw-p-index #splash-doc{position:fixed;inset:0;z-index:2000;background:#111;display:flex;align-items:center;justify-content:center;animation:splashOutDoc 2.4s ease forwards;}
.sw-p-index #splash-doc img{width:min(280px,56vw);height:auto;filter:brightness(0) invert(1);opacity:0;animation:splashLogoDoc 1.1s ease-out .05s forwards;}
body{margin:0;font-family:'Zen Kaku Gothic New',sans-serif;color:#222;background:#f0efec;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.9;}
body.splash-done{background:#f0efec;}
a{color:#8c7440;text-decoration:none;}
a:hover{color:#6f5a2e;}
::selection{background:#d8c397;color:#2b261d;}
.sw-p-index .hero-track::-webkit-scrollbar{display:none;}
@keyframes fadeUp{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:none;}}
@keyframes heroRise{from{transform:translateY(112%);opacity:0;}to{transform:translateY(0);opacity:1;}}
.sw-p-index #hero-copy .hero-line{display:block;overflow:hidden;padding-bottom:.16em;margin-bottom:-.16em;}
.sw-p-index #hero-copy .hero-line-in{display:block;transform:translateY(112%);opacity:0;animation:heroRise 1.15s cubic-bezier(.22,1,.36,1) 2.45s forwards;}
.sw-p-index #hero-copy .hero-line:nth-of-type(2) .hero-line-in{animation-delay:2.62s;}
@media (prefers-reduced-motion:reduce){
  .sw-p-index #hero-copy .hero-line-in{animation:none;transform:none;opacity:1;}
}
@keyframes splashLogo{0%{opacity:0;transform:scale(.92);}45%{opacity:1;transform:scale(1);}100%{opacity:1;transform:scale(1);}}
@keyframes splashOut{0%,62%{opacity:1;}100%{opacity:0;visibility:hidden;}}
#hamburger{display:none;}
.nav-drop:hover .nav-submenu{opacity:1 !important;visibility:visible !important;pointer-events:auto !important;transform:translateX(-50%) translateY(0) !important;}
@media (max-width:600px){
  .sw-p-index #hero-svc{display:grid !important;grid-template-columns:1fr 1fr !important;gap:8px 14px !important;margin-bottom:26px !important;}
  .sw-p-index #hero-svc > span{flex-direction:column !important;gap:1px !important;align-items:flex-start !important;}
  .sw-p-index #hero-svc > span > span:first-child{font-size:9.5px !important;letter-spacing:.14em !important;}
  .sw-p-index #hero-svc > span > span:last-child{font-size:13px !important;}
  #site-header img{height:15px !important;}
}
.sw-p-recruit .menu-card:hover .menu-img,.sw-p-recruit .entry-band:hover .menu-img{transform:scale(1.05);}
@media (max-width:760px){
  .sw-p-recruit .entry-band{grid-template-columns:1fr !important;}
}
.sw-p-index #flow-grid p{max-width:9.5em;margin-left:auto !important;margin-right:auto !important;}
@media (max-width:960px){
  .sw-p-index #flow-grid{grid-template-columns:repeat(6,1fr) !important;}
  .sw-p-index #flow-grid > div{grid-column:span 2;}
}
@media (max-width:560px){
  .sw-p-index #flow-grid{grid-template-columns:1fr !important;}
  .sw-p-index #flow-grid > div{grid-column:auto !important;}
}
@media (max-width:600px){
  .sw-p-index #flow-grid p{max-width:none !important;}
}
@media (max-width:1024px){
  #footer-grid{grid-template-columns:1fr 1fr !important;}
}
@media (max-width:600px){
  #footer-grid{grid-template-columns:1fr !important;}
}
@keyframes flowPulse{0%{left:0;opacity:0;}2%{opacity:1;}15%{opacity:1;}16.66%{left:100%;opacity:0;}100%{left:100%;opacity:0;}}
@keyframes flowPulseV{0%{top:0;opacity:0;}2%{opacity:1;}15%{opacity:1;}16.66%{top:100%;opacity:0;}100%{top:100%;opacity:0;}}
@media (prefers-reduced-motion:reduce){
  .sw-p-service .flow-pulse{animation:none !important;opacity:0 !important;}
}
@media (min-width:601px) and (max-width:1024px) and (orientation:landscape){
  .sw-p-index #flow-grid{grid-template-columns:repeat(5,1fr) !important;gap:12px !important;}
  .sw-p-index #flow-grid > div{grid-column:auto !important;}
}
.sw-p-index #works-track{-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,0) 0,#000 clamp(56px,12vw,220px),#000 calc(100% - clamp(56px,12vw,220px)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(90deg,rgba(0,0,0,0) 0,#000 clamp(56px,12vw,220px),#000 calc(100% - clamp(56px,12vw,220px)),rgba(0,0,0,0) 100%);}
a[data-sweep-init]{transition:color .35s ease,background .3s ease;}
a[data-sweep-init]::before{content:"";position:absolute;left:0;top:0;right:0;bottom:0;z-index:-1;background:var(--sweep-fill,#f0efec);transform:scaleX(var(--sweep-x,0));transform-origin:left center;transition:transform .5s cubic-bezier(.65,0,.35,1);pointer-events:none;}
#mobile-menu a[data-mm]{font-size:18px !important;line-height:1.2 !important;}
#mobile-menu a[data-sub]{font-size:14.5px !important;line-height:1.2 !important;color:#b3a58a !important;}
@media (max-height:780px){
  #mobile-menu a[data-mm]{font-size:16.5px !important;padding-top:8px !important;padding-bottom:8px !important;}
  #mobile-menu a[data-sub]{font-size:13.5px !important;padding-top:6px !important;padding-bottom:6px !important;}
}
@media (max-height:620px){
  #mobile-menu a[data-mm]{font-size:15px !important;padding-top:6px !important;padding-bottom:6px !important;}
  #mobile-menu a[data-sub]{padding-top:5px !important;padding-bottom:5px !important;}
}
@media (max-width:1240px){
  .sw-p-wallpaper .c-5col{grid-template-columns:repeat(3,1fr) !important;grid-auto-rows:1fr !important;}
}
@media (max-width:1080px){
  .sw-p-wallpaper .c-4col{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:900px){
  .sw-p-index #philo-grid{grid-template-columns:1fr !important;}
  .sw-p-index #philo-text h2{white-space:normal !important;}
}
@media (max-width:600px){
  section h2{font-size:26px !important;}
  .sw-p-recruit .wanted-grid{grid-template-columns:1fr !important;}
}
@media (max-width:860px){
  .sw-p-recruit .why-row{grid-template-columns:1fr !important;gap:16px !important;}
  .sw-p-recruit .why-row .why-photo{max-width:420px;}
}
@media (max-width:600px){
  .sw-p-index #philo-text h2{font-size:19.5px !important;}
  .sw-p-index #contact-sec h2{font-size:28px !important;}
}
@media (max-width:1100px){
  .sw-p-index #contact-sec{text-align:center;padding-top:64px;}
  .sw-p-index #contact-img-left,.sw-p-index #contact-img-right{position:relative !important;top:auto !important;bottom:auto !important;left:auto !important;right:auto !important;display:inline-block !important;width:44% !important;max-width:220px !important;margin:0 -6px -8px !important;vertical-align:top;}
}
@media (max-width:1024px) and (orientation:portrait){
  .sw-p-index #philo-images{order:-1 !important;}
}
@media (max-width:1024px){
  #site-header nav{display:none !important;}
  #site-header a[data-cta]{display:none !important;}
  #hamburger{display:flex !important;}
  #site-header #header-mail{display:flex !important;}
}
@media (max-width:900px){
  .sw-p-recruit-environment #benefit-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:600px){
  .sw-p-recruit-environment #benefit-grid{grid-template-columns:1fr !important;}
}
@media (max-width:760px){
  :is(.sw-p-commitment,.sw-p-wallpaper) .c-3col{grid-template-columns:1fr !important;}
  .sw-p-wallpaper .c-5col{grid-template-columns:repeat(2,1fr) !important;}
  :is(.sw-p-commitment,.sw-p-wallpaper) .c-4col > div{grid-column:auto !important;}
  .sw-p-wallpaper .c-4col > div[data-photo]{aspect-ratio:4/3 !important;}
}
@media (max-width:600px){
  .sw-p-wallpaper .c-4col{grid-template-columns:1fr !important;}
  .sw-p-wallpaper .c-5col{grid-template-columns:1fr !important;grid-auto-rows:auto !important;}
  .sw-p-wallpaper .c-5col > div{display:flex !important;flex-direction:column !important;}
  .sw-p-wallpaper .c-5col > div > div:first-child{aspect-ratio:16/10 !important;height:auto !important;}
  .sw-p-wallpaper .c-5col > div p[style*="min-height"]{min-height:0 !important;}
  .sw-p-wallpaper .c-5col > div > div:last-child{padding:20px 22px 24px !important;}
}
@media (max-width:900px){
  .sw-p-wallpaper .wp-places{grid-template-columns:1fr !important;}
  .sw-p-wallpaper .wp-type-row{grid-template-columns:1fr !important;gap:20px !important;}
  .sw-p-wallpaper .wp-type-row > div{order:0 !important;}
  .sw-p-wallpaper .wp-feature{grid-template-columns:1fr !important;}
  .sw-p-wallpaper .wp-feature > div:first-child{grid-row:auto !important;}
  .sw-p-wallpaper .wp-stagger{grid-template-columns:1fr 1fr !important;}
  .sw-p-wallpaper .wp-stagger > div{margin-top:0 !important;}
  .sw-p-wallpaper .wp-float{position:static !important;width:auto !important;border:0 !important;box-shadow:none !important;margin-top:clamp(10px,1.6vw,16px);}
}
@media (max-width:600px){
  .sw-p-wallpaper .wp-type-row{grid-template-columns:1fr !important;gap:16px !important;}
}
@media (max-width:760px){
  .sw-p-commitment .intro-band{grid-template-columns:1fr 1fr !important;grid-auto-rows:clamp(150px,34vw,220px) !important;}
  .sw-p-commitment .intro-band > div:first-child{grid-column:1 / 3 !important;}
}
@media (max-width:900px){
  :is(.sw-p-commitment,.sw-p-recruit-job) .c-4col{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:760px){
  .sw-p-recruit-job .job-groups{grid-template-columns:1fr !important;}
}
@media (max-width:900px){
  .sw-p-commitment .c-5col{grid-template-columns:repeat(3,1fr) !important;}
}
@media (max-width:1024px){
  :is(.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) .two-col{grid-template-columns:minmax(0,1fr) !important;}
  :is(.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) .two-col > *{min-width:0 !important;}
  :is(.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) .two-col .col-media{order:-1 !important;}
}
@media (max-width:900px){
  .sw-p-service .svc-row{grid-template-columns:1fr !important;}
  .sw-p-service .svc-row .svc-media{order:-1 !important;}
}
@media (max-width:1240px){
  .sw-p-service #flow-grid{grid-template-columns:repeat(3,1fr) !important;}
  .sw-p-service .flow-rail,.sw-p-service .flow-pulse{display:none !important;}
}
@media (max-width:900px){
  .sw-p-service #flow-grid{grid-template-columns:repeat(3,1fr) !important;}
  .sw-p-service .flow-rail,.sw-p-service .flow-pulse{display:none !important;}
}
@media (min-width:601px) and (max-width:760px){
  .sw-p-service #flow-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:600px){
  .sw-p-service #flow-grid{grid-template-columns:1fr !important;row-gap:0 !important;}
  .sw-p-service #flow-grid > [data-flow]{display:grid !important;grid-template-columns:104px 1fr;gap:0 20px;align-items:center;padding-bottom:26px;position:relative;}
  .sw-p-service #flow-grid > [data-flow] > .flow-photo{grid-row:1 / span 4;aspect-ratio:1/1;}
  .sw-p-service #flow-grid > [data-flow] > div:nth-child(2){position:absolute !important;left:52px;top:114px;bottom:0;width:1px;height:auto !important;margin:0 !important;background:#4a4030;}
  .sw-p-service #flow-grid > [data-flow]:last-child > div:nth-child(2){display:none !important;}
  .sw-p-service #flow-grid .flow-rail{display:none !important;}
  .sw-p-service #flow-grid .flow-dot{top:0 !important;left:0 !important;}
  .sw-p-service #flow-grid .flow-pulse{display:block !important;left:0 !important;animation-name:flowPulseV !important;animation-duration:4.8s !important;}
  .sw-p-service #flow-grid > [data-flow] > div,.sw-p-service #flow-grid > [data-flow] > h3,.sw-p-service #flow-grid > [data-flow] > p{text-align:left !important;}
  .sw-p-service #flow-grid > [data-flow] > h3{margin:6px 0 0 !important;font-size:16px !important;}
  .sw-p-service #flow-grid > [data-flow] > p{margin:4px 0 0 !important;font-size:13.5px !important;}
  .sw-p-service #page-hero h1{font-size:34px !important;}
  .sw-p-service .type-grid{grid-template-columns:1fr 1fr !important;}
  .sw-p-service .wish-grid{grid-template-columns:1fr !important;}
}
@media (max-width:1180px){
  .sw-p-service .type-grid{grid-template-columns:repeat(3,1fr) !important;}
  .sw-p-service .type-grid > div{grid-column:auto !important;}
}
@media (min-width:601px) and (max-width:1100px){
  .sw-p-service .wish-grid{grid-template-columns:1fr 1fr !important;}
}
@media (max-width:660px){
  .sw-p-service .type-grid{grid-template-columns:1fr !important;}
}
@media (max-width:1024px){
  :is(.sw-p-service,.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) #page-hero{height:36vh !important;min-height:320px !important;}
}
@media (max-width:600px){
  :is(.sw-p-service,.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) #page-hero{height:auto !important;min-height:280px !important;}
  :is(.sw-p-service,.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) #page-hero > div:last-child{position:relative !important;height:auto !important;}
  :is(.sw-p-commitment,.sw-p-works,.sw-p-wallpaper,.sw-p-recruit,.sw-p-recruit-job,.sw-p-recruit-environment,.sw-p-recruit-faq,.sw-p-information,.sw-p-blog,.sw-p-contact,.sw-p-entry,.sw-p-privacy) #page-hero h1{font-size:28px !important;}
}
.sw-p-blog .blog-row:hover .blog-title{color:#8c7440;}
@media (max-width:960px){
  .sw-p-blog .blog-layout{grid-template-columns:1fr !important;}
}
@media (max-width:520px){
  .sw-p-blog .blog-grid{grid-template-columns:1fr !important;}
  .sw-p-blog .blog-grid .blog-title{font-size:17px !important;}
}
.sw-p-commitment [data-sx="1"]{background:rgba(17,17,17,.97);box-shadow:0 24px 44px -22px rgba(0,0,0,.7);transition:opacity .28s ease,transform .28s ease;}
.sw-p-commitment [data-sx="2"]{transition:background .25s ease,color .25s ease;}
.sw-p-commitment [data-sx="3"]{right:clamp(20px,5vw,64px);}
.sw-p-commitment [data-sx="4"]{transition:transform .35s ease,opacity .35s ease;}
.sw-p-commitment [data-sx="5"]{right:calc(clamp(20px,5vw,64px) + 48px);}
.sw-p-commitment [data-sx="6"]{padding:clamp(72px,10vh,96px) clamp(28px,8vw,64px) clamp(20px,4vh,32px);}
.sw-p-commitment [data-sx="7"]{font-family:Shippori Mincho,serif;}
.sw-p-commitment [data-sx="8"]{background:linear-gradient(102deg,rgba(16,13,9,.9) 0%,rgba(16,13,9,.55) 46%,rgba(16,13,9,.28) 100%);}
.sw-p-commitment [data-sx="9"]{background:linear-gradient(to top,rgba(16,13,9,.7) 0%,rgba(16,13,9,0) 34%);}
.sw-p-commitment [data-sx="10"]{padding:clamp(88px,12vw,120px) clamp(20px,6vw,96px) clamp(40px,6vw,72px);}
.sw-p-commitment [data-sx="11"]{font-family:Cormorant Garamond,serif;}
.sw-p-commitment [data-sx="12"]{font-family:Shippori Mincho,serif;font-size:clamp(32px,4.6vw,56px);text-shadow:0 2px 30px rgba(0,0,0,.35);}
.sw-p-commitment [data-sx="13"]{font-size:clamp(15px,1.5vw,18px);}
.sw-p-commitment [data-sx="14"]{padding:clamp(64px,8vw,120px) clamp(20px,6vw,80px);}
.sw-p-commitment [data-sx="15"]{font-family:Shippori Mincho,serif;font-size:clamp(26px,3.1vw,42px);}
.sw-p-commitment [data-sx="16"]{font-family:Shippori Mincho,serif;font-size:clamp(17px,1.6vw,20px);}
.sw-p-commitment [data-sx="17"]{gap:clamp(12px,1.6vw,18px);grid-auto-rows:clamp(200px,21vw,280px);margin-top:clamp(40px,5vw,60px);}
.sw-p-commitment [data-sx="18"]{box-shadow:0 22px 48px -28px rgba(43,38,29,.45);}
.sw-p-commitment [data-sx="19"]{padding:clamp(64px,8vw,120px) clamp(20px,6vw,80px);grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:clamp(36px,5vw,72px);}
.sw-p-commitment [data-sx="20"]{box-shadow:0 24px 54px -30px rgba(43,38,29,.5);}
.sw-p-commitment [data-sx="21"]{margin:0 auto clamp(36px,4.5vw,52px);}
.sw-p-commitment [data-sx="22"]{grid-template-columns:repeat(3,1fr);gap:clamp(16px,2vw,26px);}
.sw-p-commitment [data-sx="23"]{grid-template-columns:repeat(4,1fr);gap:clamp(12px,1.6vw,20px);margin-bottom:clamp(28px,3.5vw,44px);}
.sw-p-commitment [data-sx="24"]{grid-template-columns:repeat(3,1fr);gap:clamp(12px,1.6vw,20px);}
.sw-p-commitment [data-sx="25"]{margin-top:clamp(32px,4vw,48px);}
.sw-p-commitment [data-sx="26"]{background:linear-gradient(to bottom,rgba(16,13,9,.9) 0%,rgba(16,13,9,.82) 50%,rgba(16,13,9,.92) 100%);}
.sw-p-commitment [data-sx="27"]{padding:clamp(72px,9vw,130px) clamp(20px,6vw,80px);}
.sw-p-commitment [data-sx="28"]{font-family:Shippori Mincho,serif;font-size:clamp(26px,3.2vw,42px);}
.sw-p-commitment [data-sx="29"]{padding:clamp(64px,7vw,96px) clamp(20px,6vw,80px) clamp(40px,4vw,56px);grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(140px,1fr));gap:clamp(32px,4vw,56px);}
.sw-p-commitment [data-sx="30"]{padding:26px clamp(20px,6vw,80px);}
.sw-p-commitment [data-sx="31"]{box-shadow:0 8px 24px -8px rgba(0,0,0,.5);transition:opacity .35s ease,transform .35s ease,background .3s ease;}
@media (max-width:600px){
  .sw-p-index #news-bar{flex-wrap:nowrap !important;justify-content:center !important;}
  .sw-p-index #news-bar ul{min-width:0 !important;flex:0 1 auto !important;}
  .sw-p-index #news-bar li{overflow:hidden !important;}
  .sw-p-index #news-bar .news-text{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
}
@media (min-width:601px) and (max-width:1024px){
  .sw-p-index #news-bar{flex-wrap:nowrap !important;}
  .sw-p-index #news-bar ul{min-width:0 !important;}
  .sw-p-index #news-bar li{overflow:hidden !important;}
  .sw-p-index #news-bar .news-text{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
}
@media (max-width:1024px){
  .sw-p-index #num-grid{grid-template-columns:repeat(4,1fr) !important;}
  .sw-p-index #num-grid > div > div:first-child{font-size:26px !important;}
}
@media (max-width:600px){
  .sw-p-index #num-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:1024px){
  .sw-p-index #hero-copy > p:first-child{font-size:15px !important;margin-bottom:16px !important;}
  .sw-p-index #hero-copy h1{font-size:27px !important;}
  .sw-p-index #hero-copy h1 span{font-size:33px !important;}
  .sw-p-index #hero-copy > p{font-size:13px !important;margin:16px 0 26px !important;}
  .sw-p-index #hero-copy a{font-size:13px !important;}
  .sw-p-index #hero-copy .hero-btn-row a{padding:11px 22px !important;}
  .sw-p-index #hero-copy .hero-recruit{padding:11px 16px !important;}
}
@media (max-width:600px){
  .sw-p-index #hero-copy > p:first-child{font-size:13px !important;}
  .sw-p-index #hero-copy h1{font-size:22px !important;}
  .sw-p-index #hero-copy h1 span{font-size:27px !important;}
  .sw-p-index #hero-copy > p{font-size:12px !important;}
  .sw-p-index #hero-copy{justify-content:flex-end !important;padding-top:clamp(88px,14vh,120px) !important;padding-bottom:clamp(72px,11vh,96px) !important;}
  .sw-p-index #hero-svc{margin-bottom:22px !important;}
  .sw-p-index #hero-copy .hero-btn-row{flex-wrap:wrap !important;}
  .sw-p-index #hero-slide-0 img{object-position:42% center !important;}
  .sw-p-index #hero-slide-1 img{object-position:38% center !important;}
  .sw-p-index #hero-slide-2 img{object-position:center 60% !important;}
  .sw-p-index #hero-slide-3 img{object-position:55% center !important;}
  .sw-p-index #hero-slide-4 img{object-position:50% center !important;}
}
@media (max-width:860px){
  .sw-p-index #craft-rows > div{grid-template-columns:1fr !important;gap:20px !important;}
  .sw-p-index #craft-rows .craft-photo{max-width:420px;}
}
@media (min-width:601px) and (max-width:1024px) and (orientation:portrait){
  .sw-p-index #hero-copy{justify-content:flex-start !important;padding-top:54vh !important;}
  .sw-p-index #hero-copy h1{font-size:36px !important;}
  .sw-p-index #hero-copy h1 span{font-size:44px !important;}
  .sw-p-index #hero-copy > p{font-size:16px !important;}
  .sw-p-index #hero-copy a{font-size:15px !important;}
  .sw-p-index #hero-copy .hero-btn-row a{padding:15px 30px !important;}
  .sw-p-index #hero-copy .hero-recruit{padding:14px 20px !important;}
}
@media (max-width:1024px){
  .sw-p-index .svc-grid{grid-template-columns:repeat(2,1fr) !important;}
  .sw-p-index #svc-strip{grid-template-columns:repeat(2,1fr) !important;}
}
@media (max-width:760px){
  .sw-p-index #craft-grid,.sw-p-index #design-grid{grid-template-columns:1fr !important;}
}
@media (max-width:600px){
  .sw-p-index .svc-grid{grid-template-columns:1fr 1fr !important;}
}
@media (max-height:920px) and (min-width:1025px){
  .sw-p-index #hero-copy > p:first-child{font-size:18px !important;margin-bottom:16px !important;}
  .sw-p-index #hero-copy h1{font-size:clamp(24px,3.5vw,42px) !important;}
  .sw-p-index #hero-copy h1 span{font-size:clamp(30px,4.4vw,52px) !important;}
  .sw-p-index #hero-copy > p{margin:18px 0 22px !important;}
  .sw-p-index #hero-svc{gap:10px 28px !important;margin-bottom:24px !important;}
  .sw-p-index #hero-copy .hero-btn-row a{padding:13px 26px !important;font-size:15px !important;}
  .sw-p-index #hero-copy .hero-recruit{padding:12px 18px !important;}
}
@media (orientation:portrait){
  .sw-p-index #hero-overlay{background:linear-gradient(to bottom,rgba(16,13,9,.5) 0%,rgba(16,13,9,.3) 38%,rgba(16,13,9,.85) 100%) !important;}
}

/* === hover 用クラス（受領の .hvN:hover を一意化したもの。宣言は受領のとおり !important 付き） === */
.swh1:hover{background:rgba(200,172,114,.14) !important;color:#fff !important;}
.swh2:hover{background:rgba(200,172,114,.12) !important;color:#fff !important;}
.swh3:hover{background:#8c6f3a !important;}
.swh4:hover{background:#dcc38a !important;}
.swh5:hover{color:#fff !important;}
.swh6:hover{color:#6f5a2e !important;border-color:#8c7440 !important;}
.swh7:hover{background:rgba(164,133,74,.1) !important;}
.swh8:hover{background:#c8ac72 !important;border-color:#c8ac72 !important;color:#1a1610 !important;}
.swh9:hover{background:#f0efec !important;}
.swh10:hover{color:#8c7440 !important;}

/* === インライン animation/transition の退避（CueZilla は style 属性から除去する）===
   3重クラスで受領のインライン相当の強さを保つ。JS が後から付けるインライン transition はこれに勝つ（受領と同じ）。 */
.swa1.swa1.swa1{transition:background .4s ease,box-shadow .4s ease,padding .4s ease;}
.swa2.swa2.swa2{transition:color .4s ease;}
.swa3.swa3.swa3{transition:opacity .28s ease,transform .28s ease;}
.swa4.swa4.swa4{transition:background .25s ease,color .25s ease;}
.swa5.swa5.swa5{transition:background .3s ease;}
.swa6.swa6.swa6{transition:transform .35s ease,opacity .35s ease;}
.swa7.swa7.swa7{transition:opacity .4s ease;}
.swa8.swa8.swa8{transition:opacity .35s ease,transform .35s ease,background .3s ease;}
.swa9.swa9.swa9{transition:opacity 1.6s ease;}
.swa10.swa10.swa10{animation:flowPulse 4.8s linear infinite;animation-delay:0.0s;}
.swa11.swa11.swa11{animation:flowPulse 4.8s linear infinite;animation-delay:0.8s;}
.swa12.swa12.swa12{animation:flowPulse 4.8s linear infinite;animation-delay:1.6s;}
.swa13.swa13.swa13{animation:flowPulse 4.8s linear infinite;animation-delay:2.4s;}
.swa14.swa14.swa14{animation:flowPulse 4.8s linear infinite;animation-delay:3.2s;}
.swa15.swa15.swa15{animation:flowPulse 4.8s linear infinite;animation-delay:4.0s;}


/* ===== cuezilla-skin.css ===== */
/* ============================================================
   ★★★ このファイルは【全案件共通の資産】です。案件では編集しないでください ★★★
   ------------------------------------------------------------
   （Claude Code / Claude Design / 手作業、いずれの経路でも同じです）

   ■ 案件ごとの調整は、必ず `override.css` に書いてください。
     読み込み/結合順が  … → style.css → cuezilla-skin.css → 【override.css】  なので、
     override.css に書いた指定は本ファイルに打ち消されません。**案件の上書きが効く唯一の場所です。**
     （例: カード面を白にしたい → override.css に `:root{ --dyn-surface:#fff; }`）

   ■ なぜ編集してはいけないか
     本ファイルを案件で書き換えた瞬間、その案件の skin は共通資産から切り離されます。
     以後、共通側で直した修正（カード高さの不揃い／サイドバーの可読性／
     フォーム送信ボタンの崩れ 等）が **その案件には二度と届きません**。
     実際に S01189 で本ファイルの §0 が案件調整で書き換えられ、共通修正が届かなくなりました。
     「毎案件おなじ崩れを直している」の原因はこれです。

   ■ 共通で直すべき崩れを見つけたら
     案件で握り込まず、正本 `skin/cuezilla-skin.css` へ還流してください（全案件に効きます）。
     還流し忘れると、次の同期でその修正は消えます。

   詳細は R-30（70_運用ルール/運用ルール集.md）。
   ============================================================ */

/* ============================================================
   CueZilla 動的パーツ スキンキット v1.0
   ------------------------------------------------------------
   目的: ブログ/施工実績(blog-ex)/お問い合わせ/パンくず/ページヘッダー等の
         CueZilla 既定パーツを、サイトのトンマナ（ダーク/ライト・ブランド色・
         フォント・角丸）に "自動で寄せる" 汎用CSS。案件ごとの調整を最小化する。

   思想:
     (1) 色は CueZilla テーマ変数(--main-color 等)から自動連動
         → サイトのテーマ設定がそのまま skin にも効く（色は一元管理）
     (2) フォント/角丸/グリッド幅はトークンで指定（テーマ変数に無いため）
     (3) partsNNN は採番が可変だが接尾辞は共通(_post_wrap 等)
         → 属性セレクタ [class*="_xxx"] で番号非依存に当てる（単一属性セレクタまで。積んで詳細度を稼がない）

   ★適用範囲と安全契約（重要・memory: cuezilla-css-safety-contract）:
     ・本skinは「CueZilla既定の動的パーツ」だけを寄せる。サイトのフリーコーディング設計には当てない
       （生成サイトCSSは変数非依存＋具体値＋自作接頭辞クラスで組む＝構造的に非衝突・skinと干渉しない）。
     ・[class*=…]を積んで詳細度を同点/超過させる手法は禁止（脆い・過剰マッチ・アーマーレース）。
       単一の番号非依存セレクタ＋!important1個で当てる（theme_defaultは非importantなので確定勝ち）。
     ・!important可は「レイヤーで越えられない相手」＝theme_default／body内インライン／BSユーティリティ／
       .partsNNN_blog_＜ID＞(0,3,0) のみ。後者(0,3,0)+!importantには詳細度で負けるため、
       負けた時だけ §14 の手順で実採番(0,3,1)を【案件CSS】に足して勝つ（汎用skinには番号を書かない）。
     ・変数の注意：実機は body内コンポの style 要素の :root が7色(--main-color等)を撒きうる（490件中16件）。
       →§0の--dyn-*はその頁で乗っ取られ得る。動的パーツの色合わせには許容だが、サイト設計の主機構にしない。

   使い方:
     1. §0 のトークンを案件に合わせて調整（ダーク/ライトはプリセットをコピー）
     2. CueZilla テーマカラー(--main-color 等)をブランド値に設定
     3. 本ファイルをサイト全体CSS(AddCssInfo)へ貼る（サイト固有のフリーコーディングCSSの後ろ）
   ============================================================ */


/* ============================================================
   §0  トークン ─ ここだけ案件ごとに調整
   ============================================================ */
:root{
  /* --- 色: CueZilla テーマ変数から自動取得（無い場合のフォールバック付き） ---
     ※これらは【動的パーツの色合わせ用】。生成サイトCSSはこの変数に依存せず具体値で書く（安全契約）。
       実機では body内コンポの style 要素の :root が --main-color 等を頁単位で上書きしうる＝--dyn-*も追従する。 */
  --dyn-bg:        var(--background-color, #ffffff);   /* ページ/セクション背景 */
  --dyn-surface:   var(--temporary-color, #f4f4f2);    /* カード/パネル/入力欄の面 */
  --dyn-text:      var(--text-color, #222222);         /* 本文 */
  --dyn-heading:   var(--text-color, #111111);         /* 見出し */
  --dyn-muted:     var(--sub-color, #8a8a8a);          /* 補助/日付 */
  --dyn-border:    var(--sub-color, #dddddd);          /* 罫線/枠 */
  --dyn-accent:    var(--main-color, #1e3a5f);         /* アクセント（ボタン/チップ/見出しバー） */
  --dyn-accent-2:  var(--link-color, var(--main-color, #1e3a5f)); /* リンク/ホバー */
  --dyn-on-accent: #ffffff;                             /* アクセント面の上の文字 */

  /* --- フォント（site.css の :root に定義があればそれを使用） ---
     KEEP: ★既定を明朝にしない（2026-08-31 ディレクター判断）。旧既定は display と numeric が
     `"Noto Serif JP","Yu Mincho",serif` / `"EB Garamond","Noto Serif JP",serif` ＝**明朝**で、
     案件が `--font-*` を渡し忘れると**動的ページ（ブログ・施工実績）だけが明朝で出る**。
     実測 S00757 スマイルカミオン: 記事タイトル・抜粋・タグ（display）7要素＋20要素、日付（numeric）各4要素が明朝になり、
     ディレクター指摘「ブログページに明朝が活用されていますが、サイト全体のフォントで統一してください」を受けた。
     ★渡し忘れは"案件のミス"だが、**気づけるのが公開直前の目視だけ**で、静的ページを見ている限り絶対に露見しない。
     ＝**既定が事故を作っていた**ので、既定側を直す。方針は「今後進める案件がサイトに使用しているフォントで
     反映される仕様にする」（ディレクター 2026-08-31）。
     ★意図して明朝にしたい案件は、これまでどおり `--font-display` 等を渡せばそのまま効く（機構は不変）。
     ★numeric は日付・英字ラベル用なので、和文本文より英字の顔が合う。sans を既定にしつつ英字を先頭へ置く。
     ★既存の納品済み案件は影響を受けない（納品CSSは書き出し時にベイク済みで、再エクスポートしない限り変わらない）。 */
  --dyn-font-display: var(--font-display, "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif);
  --dyn-font-body:    var(--font-body, "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif);
  --dyn-font-numeric: var(--font-numeric, "Helvetica Neue",Arial,"Noto Sans JP",sans-serif);
  /* /KEEP */

  /* --- 角丸（チップ/ボタン/カード）。角なしにするなら 0 --- */
  --dyn-radius: 6px;
  /* --- 一覧カードの最小幅 / 段組ギャップ --- */
  --dyn-card-min: 300px;
  --dyn-gap: 32px;
}

/* === テーマ プリセット（使う方を §0 の後にコピペして上書き） =========
   【ダーク】
   :root{
     --dyn-bg:#0A0A0A; --dyn-surface:#111110; --dyn-text:#F4F1EC; --dyn-heading:#FAF7F1;
     --dyn-muted:#8C857A; --dyn-border:#3A352D; --dyn-accent:#8E3A22; --dyn-accent-2:#B0533A;
     --dyn-on-accent:#FAF7F1; --dyn-radius:0;
   }
   【ライト】
   :root{
     --dyn-bg:#ffffff; --dyn-surface:#f7f7f5; --dyn-text:#222222; --dyn-heading:#111111;
     --dyn-muted:#8a8a8a; --dyn-border:#e3e3e3; --dyn-accent:#1e3a5f; --dyn-accent-2:#1e3a5f;
     --dyn-on-accent:#ffffff; --dyn-radius:6px;
   }
   ※ CueZilla テーマ変数(--main-color 等)を設定する場合は §0 が自動連動するのでプリセット不要。
   ============================================================ */


/* ============================================================
   §1  パンくず（CueZilla parts###_breadcrumb / p-breadcrumb）
   実markup: div.parts###_breadcrumb.p-breadcrumb.c-breadcrumb
             > ul.p-breadcrumb__inner(BreadcrumbList) > li.p-breadcrumb__item(ListItem)
   CueZilla共通CSSにパンくず装飾は無い → skin側で横並び・区切り・配色を付与
   ============================================================ */
[class*="_breadcrumb"], .p-breadcrumb{ background:var(--dyn-bg) !important; }
.p-breadcrumb__inner{
  list-style:none; margin:0 auto; padding:14px 24px;
  max-width:1200px; display:flex; flex-wrap:wrap; align-items:center;
}
.p-breadcrumb__item{
  display:inline-flex; align-items:center;
  color:var(--dyn-muted) !important; font-family:var(--dyn-font-body);
  font-size:.78rem; letter-spacing:.04em;
}
.p-breadcrumb__item a{ color:var(--dyn-muted) !important; text-decoration:none; }
.p-breadcrumb__item a:hover{ color:var(--dyn-accent-2) !important; text-decoration:underline; }
.p-breadcrumb__item:last-child{ color:var(--dyn-text) !important; }   /* 現在地 */
/* 区切り（2件目以降の左に縦罫線）※R-27対応（2026-08-26）
   旧実装は `::before` の content 宣言（文字リテラル "›"）で区切りを描いていたが、AddCssInfo は
   疑似要素の content 宣言をサニタイズで落とすため、実機では区切りが消えて
   「ホーム私たちの歴史」のように語が詰まっていた。
   ★実要素（＜span＞）へ昇格させず「content を使わない罫線」で代替した理由:
     パンくずの運用第一候補は「CueZilla がページ階層から自動描画するパンくずパーツ」で、
     その markup に区切り用の要素を挿す手段が無い。templates/breadcrumb.html（明示設置版）だけ
     直しても自動描画側は直らないので、両経路に1本のCSSで効く手段を採った。
     border / padding はサニタイズ後も残る（R-27「残る」側）。
   ★物理プロパティ（border-left）で書く理由: サニタイズのホワイトリストに論理プロパティが
     載っていない可能性を避ける。和文サイトは横書きLTR固定なので意味は同じ。 */
.p-breadcrumb__item + .p-breadcrumb__item{
  margin-left:.7em; padding-left:.7em;
  border-left:1px solid var(--dyn-border) !important;
}
.p-breadcrumb meta{ display:none; }   /* schema.org の ＜meta itemprop="position"＞ は非表示 */


/* ============================================================
   §2  ページヘッダー（[class*="_article_header"]）画像上のタイトル
   ============================================================ */
[class*="_article_header"] .ja, [class*="_article_header"] h1, [class*="_article_header"] h2{
  color:var(--dyn-heading) !important; font-family:var(--dyn-font-display) !important;
  text-shadow:0 2px 14px rgba(0,0,0,.5) !important;
}
[class*="_article_header"] .en{ color:var(--dyn-muted) !important; font-family:var(--dyn-font-numeric) !important; letter-spacing:.1em; text-shadow:0 1px 10px rgba(0,0,0,.5) !important; }


/* ============================================================
   §3  ページネーション（2系統。テーマCSSの持ち方が違うので扱いを分ける＝崩れ防止）
   ・.pagination_*（enjoyworks系）            … テーマが素 → 体裁＋色を一式付与
   ・[class*="_pagenation"]（parts222/225/228系）… テーマが体裁を持つ（flex/padding/border/白黒ハードコード）
        → レイアウト・サイズはテーマに任せ、ハードコードの白黒(#000/#fff)だけブランド色へ置換（最小限）。
          a/.current 以外（余白用の素の ＜span＞）には触らない＝二重ボックス化を防ぐ。
          --dyn-accent は §0 で var(--main-color) にバインド済み＝サイトのCMS色に自動一致（案件側の手当て不要）。
   ============================================================ */
/* (A) pagination_* 系：テーマ装飾が無いので一式付与 */
.pagination_num, .pagination_prev, .pagination_next{
  font-family:var(--dyn-font-numeric); color:var(--dyn-text) !important;
  border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius);
  min-width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none;
}
.pagination_num.current{ background:var(--dyn-accent) !important; border-color:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important; }
.pagination_num:hover, .pagination_prev:hover, .pagination_next:hover{ border-color:var(--dyn-accent-2) !important; color:var(--dyn-accent-2) !important; }

/* (B) _pagenation 系：色だけ寄せる（ジオメトリはテーマのまま＝箱を再定義しない） */
[class*="_pagenation"] a{ border-color:var(--dyn-accent) !important; color:var(--dyn-text) !important; }
[class*="_pagenation"] span.current, [class*="_pagenation"] .current, [class*="_pagenation"] .active{
  background:var(--dyn-accent) !important; border-color:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important;
}
[class*="_pagenation"] a:hover{ border-color:var(--dyn-accent-2) !important; color:var(--dyn-accent-2) !important; }
/* KEEP: R-32 _pagenation 系の中の .pagination_num/_prev/_next は a を包む外箱（span）。上の(A)や、素の span を選ぶ生成CSSが付ける border・height:40px が中の a の枠と二重になり、高さもズレる（O01931 ほか毎回発生。テーマ自体は外箱に枠を付けない＝実機で確認）。外箱の枠と高さを消して a の箱だけを見せる */
[class*="_pagenation"] .pagination_num,
[class*="_pagenation"] .pagination_prev,
[class*="_pagenation"] .pagination_next{ border:none !important; height:auto !important; }
/* /KEEP */
.pe-none{ opacity:.3; pointer-events:none; }


/* ============================================================
   §4  ブログ / 施工実績(blog-ex) 一覧（番号非依存）
   ============================================================ */
/* 一覧セクションの地 */
[class*="_post_list"], [class*="_post_wrap"]{ } /* 下で個別指定 */
/* カード並び（最小幅を確保して細くなりすぎない） */
[class*="_post_list"]{ display:grid !important; grid-template-columns:repeat(auto-fill, minmax(var(--dyn-card-min), 1fr)) !important; gap:var(--dyn-gap) !important; }
/* カード */
[class*="_post_wrap"]{
  /* カード等寸化：中身を縦に積み、内側の ＜a＞/本文枠を flex で伸長させて高さを揃える（S01189還流） */
  display:flex !important; flex-direction:column;
  margin:0 !important;   /* theme_default の margin-bottom(55px等)残存で最終行カードだけ高さ不揃いになるのを打ち消す */
  width:auto !important; max-width:none !important; text-decoration:none;
  background:var(--dyn-surface) !important; border:1px solid var(--dyn-border) !important;
  border-radius:var(--dyn-radius); overflow:hidden;
  transition:transform .3s ease, border-color .3s ease;
}
[class*="_post_wrap"]:hover{ transform:translateY(-4px); border-color:var(--dyn-accent-2) !important; }
[class*="_post_wrap"] > a{ display:flex; flex-direction:column; flex:1 1 auto; color:inherit; }  /* カード全体ラップ＜a＞を縦伸長（内容を上下に満たす） */
/* サムネ等寸化：グリッド列の幅から高さを算出（幅制約下＝§6.5の aspect-ratio×height 併用の罠には該当しない） */
[class*="_post_img"]{ width:100%; display:block; border-radius:0; aspect-ratio:16/10; overflow:hidden; }
[class*="_post_img"] img{ width:100%; height:100%; object-fit:cover; display:block; }
/* カード内のテキストに左右余白 */
[class*="_post_status"]{ border:none !important; background:transparent !important; margin:14px 16px 0 !important; padding:0 !important; display:flex !important; flex-wrap:wrap; justify-content:flex-start !important; gap:10px; align-items:center; }
[class*="_post_status"]:has([class*="_title-excerpt"]){ display:block !important; }   /* parts228系「日付｜タイトル」の横並びを解除（:has非対応環境ではflex-wrapで折返し） */
[class*="_post_title-excerpt"]{ padding:10px 16px 16px !important; flex:1 1 auto; }   /* 本文枠を伸長＝カード等寸化の要 */
[class*="_post_status"]:has([class*="_title-excerpt"]) [class*="_title-excerpt"]{ padding:10px 0 16px !important; }   /* 施工実績は左端揃え */
[class*="_post_title"]{ font-family:var(--dyn-font-display) !important; color:var(--dyn-heading) !important; font-weight:700 !important; line-height:1.5; }
[class*="_post_excerpt"]{ color:var(--dyn-muted) !important; }
[class*="_post_date"]{ font-family:var(--dyn-font-numeric) !important; color:var(--dyn-muted) !important; }
/* カテゴリ/ステータスは1チップに。
   テーマは既に _post_category に border:1px solid var(--main-color) を持つ＝枠を“足す”と2重になるので
   同一要素に !important で単一の枠を確定（色は --dyn-accent=var(--main-color) で一致）。幅は % 制約を解除し content 幅に。 */
[class*="_post_category"]:not([class*="_sidebar"]), [class*="_post_status"] > span:last-child{
  /* :not(_sidebar) ＝ この§4チップ装飾が §5 の _sidebar_post_category_count へ漏れ二重適用されるのを防ぐ（S01189還流） */
  width:auto; max-width:none !important;
  background:var(--dyn-bg) !important; border:1px solid var(--dyn-accent) !important;
  border-radius:var(--dyn-radius); padding:2px 8px; color:var(--dyn-accent) !important;
}
.parts-blog-ex-tag_wrap{ display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 14px; }
.parts-blog-ex_tag{ font-size:.72rem; color:var(--dyn-muted) !important; background:var(--dyn-surface) !important; border:1px solid var(--dyn-border); border-radius:var(--dyn-radius); padding:2px 8px; }

/* --- 一覧パーツ固有の崩れ2点（実共有CSS=theme parts222/225/228 を突き合わせて確定）---
   (a) 自動セクション見出し（「ブログ」「施工実績」等）の撤去：
       テーマは `.parts222_section h2 / .parts228_section h2` に
       color:var(--main-color)/font-size:35px/text-align:center を付与し、
       一覧上部に大見出しを自動描画する。自前の下層ヘッダー(hero)と二重化＝崩れ。
       → 一覧パーツ(_post_list を含む _section)直下の素の h2 だけ隠す。
         残したいサイトは案件CSSで個別に復帰。`:has()` 非対応保険に f_meiryo 版も併記。 */
[class*="_section"]:has([class*="_post_list"]) > h2,
[class*="_section"] > h2.f_meiryo{ display:none !important; }
/* (b) flex前提の余白スペーサー ::after の無効化：
       テーマは `.parts228_post_list::after{content:"";width:32.465%}` で flex の最終行詰めをする。
       §4 で _post_list を grid 化すると、この ::after が「空のゴースト列」になり最終行が片寄る。
       → grid では不要なので除去（content:none で擬似要素自体を消す）。 */
[class*="_post_list"]::after{ content:none !important; display:none !important; }


/* ============================================================
   §4-b  ブログ枠パーツ（parts131415_blog 系）＝ 内側でBootstrapが生きている型
   ------------------------------------------------------------
   §4 は parts222/225/228 の `_post_list` / `_post_wrap` 接尾辞を前提にしている。
   parts131415_blog 系は接尾辞が違い（`.row.row-cols-lg-3 > .col > .card`）、§4のセレクタが
   **1つも届かない**。そのため案件ごとに同じCSSを書き直す状態になっていた。
   教訓: 70_運用ルール/デザイン教訓/cms-part-bootstrap-grid-collapses-cards.md
         70_運用ルール/デザイン教訓/cms-part-heading-typography-override.md
   （承認: 2026-09-01「A・B・C ＋ I ＋ G/H（受領チェック1項目）」）

   (a) カードが列幅のさらに1/3に潰れる（独立3案件で真因一致: S02150・O01540・S00459）
       パーツが吐く `.row.row-cols-1.row-cols-sm-2.row-cols-lg-3` は Bootstrap の
       `.row-cols-lg-3 > *{flex:0 0 auto; width:33.3333%}` が生きたまま。案件側で `.row` を
       grid 化しても **grid の子に残った width:33.3333% が「列幅の33.3%」として再び効く**ため、
       341px の列の中でカードが 114px（サムネイル 52px）まで潰れる（実測 S02150 2026-08-25）。
       ★崩れるのは実機だけで、受領データを単体で開くと正常に見える＝**受領物を見ている限り
         絶対に気づけない**。だから案件ごとの気づきに任せず skin の既定にする。
       → §4 の `_post_list` と同じ扱い（auto-fill グリッド＋子の幅指定を落とす）を対にして当てる。
         **grid 化と子の無効化は必ずセット**。片方だけだと、grid 化なしで幅を落とせば1列に伸び、
         幅を落とさず grid 化すれば上記の 1/3 潰れが起きる。
       ★施工実績枠には当たらない。あちらは `.content.d-flex`（`.row` を持たない）で、
         flex の子に幅を当てると3枚が横にあふれる。クラス名では枠を判別できない
         （CMSが `parts131415_blog_DKhwGnz7DM` のように乱数の接尾辞を付け、作り直すと変わる）ため、
         **`.row` を持つか＝中身で分岐している**。 */
[class*="parts131415_blog"] .row{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(var(--dyn-card-min), 1fr)) !important;
  gap:var(--dyn-gap) !important;
}
[class*="parts131415_blog"] .row > *{
  width:auto !important; max-width:none !important; min-width:0 !important;
  flex:none !important; margin:0 !important; padding:0 !important;
}

/* (b) パーツ見出しがCMS既定の書体・色のまま出てブランドタイポから浮く（独立2案件: S00459・S01926）
       レイアウト（配置・カラム）は案件CSSで整えられる一方、**パーツ自身が生成する見出し要素の
       書体・色はパーツ内部に付いているため見落とされやすい**。結果「配置は整っているのに見出しだけ
       フォントが違う・色が違う」という部分的な浮きが残る。
       実測: S00459 `.design-parts-11 .parts-title` が色 #0E6FB8 のまま／
             S01926 `.parts131415_blog_title_wrap .title` が明朝のまま（一度PC幅だけ直して
             「全端末で適用」と差し戻された＝BP単位の個別対応では同じ穴が別BPで再発する）。
       → §4 の `_post_title` / §5 の `_sidebar_post_title` と同じ扱いで、**書体と色だけ**を寄せる。
       ★サイズ・寄せは案件ごとのデザイン判断なので skin では触らない（§4の既存方針と同じ）。
         そちらは 30_コード生成/AI生成指示書_CueZilla.md 側の手順で担保する。
       ★全BP共通で当たる（メディアクエリの外に置いてある）。
       ★実測で確認できた2クラスだけに絞ってある。`.card-title` / `.card-text` は当てていない
         （O01540 では `.card-title` が「濃緑地に白文字のチップ」＝見出しではなくラベルとして
         使われており、`--dyn-heading` を当てると読めなくなる）。パーツが増えたら実機で確認して追記する。 */
[class*="_blog_title_wrap"] .title,
[class*="design-parts-"] .parts-title{
  font-family:var(--dyn-font-display) !important; color:var(--dyn-heading) !important;
}


/* ============================================================
   §4-c  テーマが一覧サムネに掛ける「固定の高さ」を打ち消す（番号非依存）
   ------------------------------------------------------------
   ★§4 の意図が theme_default に**黙って負けていた**のを直すぶん（2026-09-11 実測）。

   何が起きていたか:
     §4 は `[class*="_post_img"]{ aspect-ratio:16/10 }` でサムネを等寸化する設計だが、
     theme_default は `.parts228_post_wrap .parts228_post_img{ height:240px }` と
     `… img{ max-height:240px }` を持つ。**セレクタの詳細度は テーマ(0,2,0) > skin(0,1,0)** なので、
     skin の aspect-ratio は計算に使われず**常にテーマの240pxで確定**していた。
     実測（local-sandbox・theme+skin のみ・案件CSS無し）:
       打ち消し前: .parts228_post_img の computed height = 240px（aspect-ratio:16/10 は設定されているのに無効）
       打ち消し後: 233px（＝列幅375px ÷ 1.6）＝**skin 自身の設計どおりになる**
     ＝「skin を採用しているのにサムネだけテーマの寸法」という状態で、案件側は毎回
     `.parts228_post_wrap .parts228_post_img img{ max-height:unset; height:200px }` を手で書いていた
     （実測: 収穫ログで4案件が同じ規則を貼っていた。機械化台帳 B1）。

   線引き（§4 の既存方針と同じ。ここを広げないこと）:
     ・**打ち消すだけ**＝テーマが持ち込む固定値を外して §4 の aspect-ratio に戻す。
     ・**寸法の具体値と色は入れない**。案件が貼っていた `height:200px` `margin-bottom:45px`
       `background:#FFFFFF` は**デザイン判断**なので案件CSSに残す（値は案件ごとに違う）。

   ★入れなかったもの（実測して落とした・同じ検討を繰り返さないため）:
     `[class*="_sidebar"]{ max-width:none !important }`（案件が4件で手貼りしていた規則）は
     **skin に入れてはいけない**。theme_default は `.parts222_sidebar{ max-width:28.179%; width:100% }`
     と対で持っており、max-width だけ外すと width:100% が生きて**2カラムが崩れる**。
     実測（local-sandbox）: main 780px + sidebar 333px → **main 590px + sidebar 590px**。
     サイドバー幅は案件ごとのレイアウト判断なので、案件CSSで width とセットで指定すること。
   ============================================================ */
[class*="_post_wrap"] [class*="_post_img"]{ height:auto !important; }          /* テーマの height:240px を外し §4 の aspect-ratio に戻す */
[class*="_post_wrap"] [class*="_post_img"] img{ max-height:none !important; }  /* 同 max-height:240px の頭打ちを外す（§4 の height:100% を効かせる） */



/* ============================================================
   §5  サイドバー / 最近の投稿 / カテゴリ記事数
   ============================================================ */
[class*="_sidebar"], .recent_posts_wrap{ color:var(--dyn-text); }
/* サイドバー見出し（「最近の投稿」「カテゴリ」）の可読性を確保。
   theme_default は `.partsNNN_sidebar h3{ background-color:var(--main-color); color:#fff }` と
   色を直当てするが、§12 の見出しリセットが**背景だけ**を transparent にするため、
   ライト基調の案件では「白地に白文字」で消える（ダーク案件では地に映えるため露見しない）。
   背景は戻さず（skinのフラット化方針を維持）、文字色だけトークンへ寄せて両基調で可読にする。
   あわせて左右パディングも解除する：`padding:15px 20px` は**帯があった前提**の内側余白のため、
   帯を透明化したまま残すと「見出しだけ20px字下げ」になり、直下の日付／タイトルと文頭がズレる。
   （詳細ページ側の .recent_post_title には下で同じ手当てをしており、一覧側だけ取り残されていた） */
[class*="_sidebar"] h3{ color:var(--dyn-heading) !important; padding-left:0 !important; padding-right:0 !important; }
[class*="_sidebar_post_title"], .recent_post_title{ font-family:var(--dyn-font-display) !important; color:var(--dyn-heading) !important; }
/* 「最近の投稿」見出し（詳細ページ側）の帯を外して一覧側と体裁を揃える。
   theme_default は `.recent_posts_wrap .recent_post_title{ background-color:var(--main-color); color:#fff }` で帯を敷くが、
   §12 の見出しリセットは (a) 包み(parts166_single_article / parts-blog-ex-single-wrap)が `_section` を含まない
   (b) 要素が ＜div＞（h2/h3でない）── の2点で**届かず**、帯だけが生き残る。
   一方すぐ上の §5 が文字色を --dyn-heading（＝ライトでは濃色）へ寄せるため「濃い帯に濃い文字」となり、
   案件ごとに帯との視認性を見て文字色を手当てする必要があった。帯を外せば一覧（§12で帯が外れる）と揃い、手当ても不要になる。
   ※帯を活かしたい案件は案件側で `background:var(--dyn-accent); color:var(--dyn-on-accent)` を再指定する。 */
.recent_post_title{ background:transparent !important; padding-left:0 !important; }
[class*="_sidebar_date"], .recent_post_date{ font-family:var(--dyn-font-numeric) !important; color:var(--dyn-muted) !important; }
/* 記事li の区切り罫線：theme_default が #666 をハードコードしており地に合わず過剰に見える → トークンへ */
[class*="_sidebar"] ul li, .recent_posts_wrap ul li{ border-bottom-color:var(--dyn-border) !important; }
/* カテゴリ右の記事数を視認できるチップに */
[class*="_sidebar_post_category_count"]{ background:var(--dyn-surface) !important; color:var(--dyn-text) !important; border:1px solid var(--dyn-border); border-radius:var(--dyn-radius); padding:0 8px !important; }
/* カテゴリ一覧 li：theme_default 由来の左右縦罫線(1px solid #666)を除去（下罫線は区切りとして意図的に残す）。S01189還流 */
[class*="category_post_count"] li{ border-left:0 !important; border-right:0 !important; }
/* カテゴリ名と件数チップが重ならないよう両端寄せ。
   あわせて左右パディングを解除：theme_default は `.category_post_count ul li a{ padding:15px 20px }` と
   **帯／箱があった前提**の字下げを持つため、帯を外した状態では
   カテゴリ名だけが 20px 右にずれ、見出し(h3)や「最近の投稿」リストと頭が揃わない。
   上下15pxはタップ領域として残す。 */
[class*="category_post_count"] li a{ display:flex; justify-content:space-between; align-items:center; gap:8px; padding-left:0 !important; padding-right:0 !important; }


/* ============================================================
   §6  詳細ページ（本文 / 署名 / SNS / 詳細内スライダー）
   ============================================================ */
.parts-blog-ex_text{ font-family:var(--dyn-font-body); color:var(--dyn-text) !important; line-height:1.9; }
.parts-blog-ex_text h2, .parts-blog-ex_text h3{ font-family:var(--dyn-font-display) !important; color:var(--dyn-heading) !important; }
.signature_wrap{ font-family:var(--dyn-font-display); color:var(--dyn-muted) !important; border-top:1px solid var(--dyn-border); padding-top:16px; }
.slick-prev, .slick-next{ color:var(--dyn-accent-2) !important; }
/* ※詳細本文の親ラッパーが固定class薄め。崩れる場合は実ページで本文コンテナを確認し追補 */


/* ============================================================
   §7  お問い合わせフォーム
   ============================================================ */
.contact_section, [class*="_section_form"], [class*="_section_content"], [class*="_content_wrap"], [class*="_content"]{ background:var(--dyn-bg) !important; color:var(--dyn-text) !important; }
[class*="_form_wrap"]{ max-width:720px; margin:0 auto; }
[class*="_form_wrap"] label, [class*="_form_wrap"] dt, [class*="_form_wrap"] .ja, [class*="_form_wrap"] .en{ color:var(--dyn-text) !important; }
/* 入力欄を十分な大きさに（チェック/ラジオは除外） */
[class*="_form_wrap"] dd input:not([type="checkbox"]):not([type="radio"]),
[class*="_form_wrap"] dd select{ width:100% !important; max-width:none !important; padding:14px 16px !important; font-size:16px !important; min-height:54px !important; background:var(--dyn-surface) !important; color:var(--dyn-text) !important; border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius); }
[class*="_form_wrap"] textarea, .form_textarea textarea{ width:100% !important; padding:14px 16px !important; font-size:16px !important; min-height:220px !important; background:var(--dyn-surface) !important; color:var(--dyn-text) !important; border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius); }
/* チェックボックス/ラジオはサイズ統一 */
[class*="_form_wrap"] input[type="checkbox"], [class*="_form_wrap"] input[type="radio"]{ width:18px !important; height:18px !important; min-height:0 !important; padding:0 !important; margin:0 8px 0 0 !important; vertical-align:-3px; accent-color:var(--dyn-accent); flex:none !important; }
/* 必須バッジ: 文字を中央・折り返さない・角丸はトークン */
.required{ display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:1 !important; white-space:nowrap !important; padding:6px 12px !important; border-radius:var(--dyn-radius) !important; background:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important; }
.error{ color:var(--dyn-accent-2) !important; }
/* 「お問い合わせ内容」を囲む大きな箱(枠線)を撤去 */
.form_textarea, .form_text_dt{ border:none !important; background:transparent !important; }
/* 送信ボタン。★セレクタに包み(.contact_submit 自体)を含めないこと：
   包みは複数ボタンを載せるレイアウト用のdivで、ここを accent で塗ると
   (a) 完了ページ=藍の包みに藍のボタンが乗って同化し、ボタンが消えて見える
   (b) 確認ページ=すぐ下でアウトライン化する「戻る」が藍地に濃色文字となり判読不能（実測 1.01:1）
   になる。当てる先はボタン実体だけでよい（dynamic-form.md §1 の意図も「送信 .contact_submit input = accent地」）。 */
.contact_submit button, .contact_submit input{ background:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important; border:none !important; border-radius:var(--dyn-radius) !important; }
/* 確認ページの「戻る」は副ボタン（送信＝アクセント／戻る＝アウトライン）＝誤導線防止 */
.contact_submit input[name="back"]{ background:transparent !important; color:var(--dyn-text) !important; border:1px solid var(--dyn-border) !important; }
/* 送信前 disabled（reCAPTCHA未完了）の見え方 */
.contact_submit input[disabled]{ opacity:.5; cursor:not-allowed; }

/* --- フォーム実コードで頻出するが §7本体に無かった部品（parts213等の実装を突き合わせ）--- */
/* ファイル添付の自作UI：受領のインライン style が #eee 地・#999 文字・明るいグラデで固定し、
   ダーク地で白い箱・低コントラストになる。トークンで地・枠・文字を寄せる（label_file_upload に限定）。 */
.label_file_upload{ display:block; width:100%; padding:12px 14px; cursor:pointer;
  background:var(--dyn-surface) !important; color:var(--dyn-text) !important;
  border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius); }
.label_file_upload button{ background:var(--dyn-bg) !important; color:var(--dyn-text) !important;
  border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius) !important; pointer-events:none; }
.label_file_upload span, #file-chosen, [id$="filechosen"]{ color:var(--dyn-muted) !important; }
.des{ color:var(--dyn-muted) !important; }
/* 注意書き（文字数制限・ファイル名規則等の補助）：色未指定/未定義var(--red)で可読性がばらつくため muted で固定（AA確保色） */
.attention{ color:var(--dyn-muted) !important; }
/* 郵便番号は narrow に保つ：上の入力欄ルール `[class*="_form_wrap"] dd input:not([checkbox]):not([radio])`
   は (0,3,2)+!important で .zip も全幅化し〒[郵便番号][住所]を壊す。これに勝つよう :not() を重ねて
   詳細度を (0,4,2) に上げて .zip だけ幅を戻す（parts219等 form_address系・番号非依存）。 */
[class*="_form_wrap"] dd input.zip:not([type="checkbox"]):not([type="radio"]){ width:9em !important; max-width:9em !important; display:inline-block; margin-right:8px; }
/* プライバシー同意 */
.privacypolicy{ background:var(--dyn-surface) !important; border:1px solid var(--dyn-border); border-radius:var(--dyn-radius); padding:16px; color:var(--dyn-muted) !important; }
.privacypolicy-link{ color:var(--dyn-accent-2) !important; }
/* 電話/メール等の content バー（角丸はトークン） */
[class*="_content"] [class*="btn"], [class*="_content"] a[class*="round"]{ border-radius:var(--dyn-radius) !important; }


/* ============================================================
   §7b  お問い合わせフォーム ─ wpcf7 / .formBox 系（第2系統）
   ------------------------------------------------------------
   【重要】フォームには構造が2系統ある（dynamic-harvest.js の「フォーム系統」で判定）：
     ・§7  = parts_form/dl 系（[class*="_form_wrap"] / dt / dd / .required / .contact_submit）
     ・§7b = wpcf7/.formBox 系（.formWrap > .formBox > dt>label>span.req + dd>input,
              送信=input.wpcf7-submit。SEIKEN/協力会社フォーム等 Contact Form 7 由来）
   §7 の `[class*="_form_wrap"]` は §7b 構造に当たらないため、当該系統では本セクションが要る。
   いずれも番号非依存のセマンティッククラスで記述。
   ============================================================ */
.formWrapbg, .formWrap, .form, [class*="formSec"]{ background:var(--dyn-bg) !important; color:var(--dyn-text) !important; }
.formWrap{ max-width:720px; margin:0 auto; }
.formBox{ margin-bottom:20px; }
.formBox dt, .formBox label{ color:var(--dyn-text) !important; }
.formBox dd input:not([type="checkbox"]):not([type="radio"]),
.formBox dd select,
.formWrap input[type="text"], .formWrap input[type="email"], .formWrap input[type="tel"]{
  width:100% !important; max-width:none !important; padding:14px 16px !important; font-size:16px !important;
  min-height:54px !important; background:var(--dyn-surface) !important; color:var(--dyn-text) !important;
  border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius);
}
.formBox dd textarea, .formWrap textarea{
  width:100% !important; padding:14px 16px !important; font-size:16px !important; min-height:220px !important;
  background:var(--dyn-surface) !important; color:var(--dyn-text) !important;
  border:1px solid var(--dyn-border) !important; border-radius:var(--dyn-radius);
}
.formWrap input[type="checkbox"], .formWrap input[type="radio"]{
  width:18px !important; height:18px !important; min-height:0 !important; padding:0 !important; margin:0 8px 0 0 !important;
  vertical-align:-3px; accent-color:var(--dyn-accent); flex:none !important;
}
/* 必須バッジ（wpcf7系は .req） */
.req, .formBox .req{
  display:inline-flex !important; align-items:center !important; justify-content:center !important; line-height:1 !important;
  white-space:nowrap !important; padding:6px 12px !important; border-radius:var(--dyn-radius) !important;
  background:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important;
}
.wpcf7-not-valid-tip, .wpcf7-response-output{ color:var(--dyn-accent-2) !important; }
/* 送信（Contact Form 7） */
input.wpcf7-submit, .formWrap button[type="submit"]{
  background:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important;
  border:none !important; border-radius:var(--dyn-radius) !important;
  min-height:54px !important; padding:14px 28px !important; font-size:16px !important; cursor:pointer;
}
/* プライバシー同意（両系統共通の .privacypolicy* は §7 で適用済） */


/* ============================================================
   §14  自動CSSに負けた時の手順（R-27）※汎用アーマーは持たない＝安全契約
   ------------------------------------------------------------
   CueZilla は body内コンポの style 要素でパーツ単位に `.partsNNN_blog_＜ID＞ .card .card-body{…!important}`
   等の高詳細度(0,3,0)+!important を吐く。§1〜§9 の単一属性セレクタ(0,1,0〜0,2,0)+!important は
   同プロパティで【負ける】（症状：当てているのに反映されない＝崩れの常連）。

   → 【禁止】[class*=…]を積んで(0,3,0)に並べる汎用アーマー（脆い・過剰マッチ・アーマーレース）。
        ＝以前ここにあった `[class*="parts"][class*="_blog"] .card` 等は本契約により撤去した。
        （theme_default 非importantへの色寄せは §8 の単一 `[class*="_blog"] .card`(0,2,0)+!important で足りる）
   → 【正】負けたパーツだけ、harvestで実採番を取り【案件CSS】末尾に (0,3,1) を1個足して確実に勝つ：
        section.parts131415_blog_xxxx .card .card-body{ … !important }   ← 実採番。構造変化に不感
     ※ skin は全案件共通なので案件固有の番号は書かない（負けた時だけ案件側で対処）。
     ※ 採番取得＝verify/dynamic-harvest.js。当て方＝50_CSS・動的ページ/動的ページCSS_実セレクタ参考.md §14。 */
/* 見出しのテーマ装飾(角丸/中央寄せ/背景/罫線)残りをパーツ内でリセット（R-21）。
   theme_default は非importantなので、単一 [class*="_section"] + !important で確定勝ち（[class*]を積まない）。 */
[class*="_section"] h2, [class*="_section"] h3{
  border-radius:0 !important; background:transparent !important; border:none !important; text-align:inherit !important;
}


/* ============================================================
   §8  トップ用 お知らせ/ブログ teaser（notice-news / blog teaser）
   ============================================================ */
.parts040506_notice-news{ background:var(--dyn-bg) !important; color:var(--dyn-text) !important; }
.parts040506_notice-news *{ color:var(--dyn-text) !important; }
.parts040506_notice-news .title, .parts040506_notice-news .title a{ color:var(--dyn-heading) !important; }
.parts040506_notice-news [class*="date"], .parts040506_notice-news .f_yugothic{ font-family:var(--dyn-font-numeric) !important; color:var(--dyn-muted) !important; }
.parts040506_notice-news .more{ white-space:nowrap !important; color:var(--dyn-accent-2) !important; }
.parts040506_notice-news a{ color:var(--dyn-accent-2) !important; }
/* サムネ型ブログ teaser */
[class*="_blog_title_wrap"]{ font-family:var(--dyn-font-display) !important; color:var(--dyn-heading) !important; }
[class*="_blog_thumbnail"]{ border-radius:var(--dyn-radius); }
/* teaser内が Bootstrap .card（既定で白）の場合のダーク/トーン化 */
[class*="_blog"] .card{ background:var(--dyn-surface) !important; border-color:var(--dyn-border) !important; border-radius:var(--dyn-radius) !important; }
[class*="_blog"] .card-title, [class*="_blog"] .card-text{ color:var(--dyn-text) !important; }
[class*="_blog"] .card-title{ font-family:var(--dyn-font-display) !important; }


/* ============================================================
   §9  Bootstrap汎用クラスの地ならし（パーツ内に限定）
       text-dark / bg-light 等がパーツ内でトーンを乱すのを抑える
   ============================================================ */
[class*="parts"] .text-dark{ color:var(--dyn-text) !important; }
[class*="parts"] .bg-light{ background:var(--dyn-surface) !important; }
.card-header.bg-light{ background:var(--dyn-accent) !important; color:var(--dyn-on-accent) !important; }


/* ============================================================
   §10  プライバシーポリシー（templates/privacy-policy.html のフリーコーディング設置版）
   ※CueZilla既定パーツ(item_title/item_description)へ転記する場合は §5 等で別途適用される
   ============================================================ */
.privacy{ max-width:880px; margin:0 auto; padding:64px 24px; color:var(--dyn-text); font-family:var(--dyn-font-body); line-height:1.9; }
.privacy__title{ font-family:var(--dyn-font-display); color:var(--dyn-heading); font-size:clamp(1.8rem,4vw,2.6rem); }
.privacy__subtitle{ font-family:var(--dyn-font-display); color:var(--dyn-heading); font-size:1.2rem; margin-top:8px; }
.privacy__lead{ color:var(--dyn-muted); margin:24px 0 40px; }
.privacy-item{ margin-bottom:32px; }
.privacy-item__title{ font-family:var(--dyn-font-display); color:var(--dyn-heading); border-left:3px solid var(--dyn-accent); padding-left:12px; margin-bottom:12px; }
.privacy-item__body{ color:var(--dyn-text); }
/* 原文の (1)(2)… 表記は【HTML側のテキスト】で持つ ※R-27対応（2026-08-26）
   旧実装は `li::before` の content 宣言（`counter(pp)` を括弧で挟む）で番号を描いていたが、AddCssInfo は
   content 宣言をサニタイズで落とす（counter() は content 専用なのでCSS単独の代替が無い）。実機では番号が消えたうえに
   下のぶら下げインデントだけが残り、本文が左へはみ出していた。
   ★番号を捨てず HTML テキストへ移した理由: 本文が「上記(1)から(6)に掲げるほか」と番号を参照しており、
     番号は装飾ではなく文書の一部（消すと文意が壊れる）。会社承認の定型文なので表記も変えられない。
     → templates/privacy-policy.html の各 ＜li＞ 先頭に "(1) " 等を直接書く形へ変更した。
   ★ぶら下げインデント（padding-left / text-indent）は残す: 番号が行頭テキストになった今も、
     折り返し行を本文位置に揃えるために必要（＝この2行が番号の受け皿）。
     番号を持たない古い privacy HTML に当たると字下げだけが見えるので、その場合はCSSではなく
     HTML側に番号を入れて直す。counter-reset / counter-increment は用が無くなったので外した。 */
.privacy-item__list{ list-style:none; margin:8px 0; padding:0; }
.privacy-item__list li{ padding-left:2.2em; text-indent:-2.2em; margin:4px 0; color:var(--dyn-text); }


/* ============================================================
   §11  下層ヘッダーパーツ（templates/subpage-header.html）
   サイトヘッダーとパンくずの間。フリーコーディングで別パーツ化
   ============================================================ */
/* padding-top に固定ヘッダー高さ(--fixed-header-h)を加算＝固定ヘッダーへのめり込み防止。
   固定ヘッダーが無いサイトは既定0で無影響。固定ヘッダー採用サイトは案件CSSで :root{ --fixed-header-h:88px } 等を設定（R-18）。 */
.subpage-header{ position:relative; padding:calc(72px + var(--fixed-header-h, 0px)) 24px 72px; background:var(--dyn-surface); text-align:center; overflow:hidden; }
.subpage-header__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.45; z-index:0; }
.subpage-header__inner{ position:relative; z-index:1; }
.subpage-header__title{ font-family:var(--dyn-font-display); color:var(--dyn-heading); font-size:clamp(1.8rem,5vw,3rem); line-height:1.3; text-shadow:0 2px 14px rgba(0,0,0,.5); }
.subpage-header__en{ font-family:var(--dyn-font-numeric); color:var(--dyn-muted); letter-spacing:.12em; margin-top:8px; }


/* ============================================================
   §12  システム定型ページ：送信完了(thanks) / 404
   templates/thanks.html, templates/404.html 用。トークンスキン準拠
   ============================================================ */
.thanks, .notfound{ max-width:760px; margin:0 auto; padding:calc(80px + var(--fixed-header-h, 0px)) 24px 96px; text-align:center; }
/* CueZilla 既定404（section.not-found）はレイアウトを変えず、固定ヘッダー分の上余白だけ確保（R-18） */
.not-found{ padding-top: calc(var(--fixed-header-h, 0px) + 24px); }
.thanks__title, .notfound__title{ font-family:var(--dyn-font-display); color:var(--dyn-heading); font-size:clamp(1.8rem,5vw,2.6rem); line-height:1.3; margin-bottom:28px; }
.thanks__lead, .notfound__lead{ color:var(--dyn-text); line-height:2; margin-bottom:40px; }
.thanks__action, .notfound__action{ margin-top:8px; }


/* ============================================================
   §13  Bootstrap(テーマ)既定の恒久打ち消し（R-20）
   ------------------------------------------------------------
   CueZillaテーマが読み込む Bootstrap の "素のタグ/汎用クラス" が
   フリーHTMLに当たって崩す症状を、案件ごとの手当て無しで地ならしする。
   ここは確認済みの実害2件（test0605）に限定して打ち消す。
   ※「色/余白/タイポ」を意図して変える装飾は接頭辞クラス(.xw- 等)で
     付け直す＝下記より高詳細度になり、本セクションに勝つ（壊さない）。
   ============================================================ */
/* (a) ＜mark＞ / .mark の黄ハイライト背景：ロゴや見出しが黄色い箱になる症状 → 無効化。
       意図的なマーカー装飾は専用クラスで（Bootstrap名 .mark を流用しない＝R-20）。 */
mark, .mark{
  background-color:transparent !important; color:inherit !important;
  padding:0 !important; border-radius:0 !important;
}
/* (b) a:hover が Bootstrap青(#0a58ca)になる症状 → 既定は「ホバーで色を変えない」。
       !important は付けない＝個別のホバー装飾(接頭辞クラスや site.css の指定)が
       そのまま勝ち、未指定リンクだけが青化を免れる（フォールバック）。 */
a:hover{ color:inherit; }

/* (c) 電話番号リンク(tel:)の最低タップ確保（R-24／§5.5-3）。
       本文中インラインでも折り返さない。CTA/ボタン用途は接頭辞クラスで44px確保。 */
a[href^="tel:"]{ white-space:nowrap; }


/* ===== 29_override.css ===== */
/* S01282 有限会社柴丸 — override（skin の後に結合）
   skin（skin/cuezilla-skin.css）は採用: 動的パーツ（ブログ・施工実績・お問い合わせ・応募）は受領に実DOMが無く
   （受領のカード/フォームは自作のダミー）、CueZilla が描く素のパーツを skin で整える方針（cz-judgment §3）。 */

/* KEEP: 固定ヘッダーの高さ（R-18）。ヘッダーは position:fixed（受領）。
   システム描画ページ（確認・完了・404・記事詳細）の先頭が潜り込まないよう skin が上余白に加算する。
   値は受領のヘッダー実高さ: PC=ナビ1行(15px×行高1.9)＋上下padding 14px×2 ≒ 57px、1024px以下=ナビ非表示でロゴ行のみ ≒ 48px。 */
:root{ --fixed-header-h: 57px; }
@media (max-width:1024px){ :root{ --fixed-header-h: 48px; } }
/* /KEEP */

/* KEEP: テーマの html,body{height:100%} と body{overflow-x:hidden} を打ち消す（教訓 cuezilla-theme-html-body-height-100-kills-sticky）。
   受領CSSは html{overflow-y:scroll} を持つので、html がスクロール容器になり body の overflow が伝播しない。
   そこへテーマの body{height:100%;overflow-x:hidden} が重なると **body 自身が1画面高のスクロール容器**になり、
   window.scrollY が常に 0＝ヘッダーのスクロール状態・トップへ戻るボタン・スクロール演出が全部動かなくなる
   （実測: プレビューで body.scrollHeight 8159 に対し documentElement.scrollHeight 768）。
   min-height は、テーマが height:100% で担保していた「短いページでも1画面分」（確認/完了/404）を維持するため。 */
html{ height:auto !important; }
body{ height:auto !important; min-height:100vh; min-height:100dvh; }
/* /KEEP */

/* KEEP: テーマ（Bootstrap reboot）の見出し line-height:1.2 を受領どおりに戻す。
   受領は見出しの line-height を指定せず body の 1.9 を継承していた（デザイナー環境にはテーマが無い）。
   実測: 仕事を知る h3（font-size 20px）が受領 38px → テーマ込み 24px（1.9 → 1.2）で、見出しまわりが詰まっていた。
   スコープ（親）は :where()、要素の並びは :is() ＝ 詳細度 (0,0,1)。Bootstrap の h3{line-height:1.2} と同じ強さで後勝ちし、
   受領CSS側で見出しに line-height を書いている箇所（インライン・クラス・ID）には負ける（教訓 where-wrapped-element-list-loses-to-bootstrap-element-rules）。 */
:where(.sw-page) :is(h1,h2,h3,h4,h5,h6){ line-height:inherit; }
/* /KEEP */

/* KEEP: テーマの *{box-sizing:border-box} を、受領ブロック（本文・ヘッダー・モバイルメニュー・フッター）の中だけ受領どおり content-box に戻す。
   受領はテーマの無い環境で作られたので、max-width:1240px＋左右padding のコンテナは中身 1240px 前提。border-box だと
   padding 込みで 1240px＝中身が痩せる（実測: サービスの section の中身 1009px → 960px、説明文が narrow になって折り返しが増える）。
   CMSが描くパーツ（フォーム・一覧）は skin が border-box 前提なので触らない（スコープを切るのが要点）。
   :where(*) は Bootstrap の *{box-sizing} と同じ (0,0,0)＝後勝ち。受領が意図して書いた border-box（インライン・クラス）は上書きしない。
   （教訓 theme-border-box-shrinks-fixed-max-width-containers） */
:where(.sw-page, #site-header, #mobile-menu, footer, #to-top),
:where(.sw-page, #site-header, #mobile-menu, footer, #to-top) :where(*),
:where(.sw-page, #site-header, #mobile-menu, footer, #to-top) :where(*)::before,
:where(.sw-page, #site-header, #mobile-menu, footer, #to-top) :where(*)::after{ box-sizing:content-box; }
/* /KEEP */

/* KEEP: CueZilla 自動パンくずは非表示（R-10a）。受領は各ページのヒーロー内に自前のパンくず（HOME / ページ名）を持つ。 */
.parts231_breadcrumb{ display:none !important; }
/* /KEEP */

/* KEEP: 受領は a:hover の色を指定している（#6f5a2e）。skin §13 の a:hover{color:inherit} が後から勝つので、ここで戻す。
   個別にインライン color を持つリンク（ナビ・ボタン等）はインラインが勝つので影響しない。 */
a:hover{ color:#6f5a2e; }
/* /KEEP */

/* KEEP: ヘッダー・モバイルメニュー・トップへ戻るボタンは JS がインラインstyleで状態を変える。
   JS が動かないときも内容は見える（初期状態が不可視なのはモバイルメニュー #mobile-menu のみ＝ハンバーガーで開く設計）。 */
#to-top{ -webkit-tap-highlight-color:transparent; }
/* /KEEP */

/* KEEP: 1025〜1400px のヘッダーナビ崩れ対策。お問い合わせ(a[data-cta])は position:absolute で右端に固定＝flex の幅計算に入らない。
   そのためナビが右へはみ出して重なる（実測: 1025px で最後のリンク右端が CTA の左端より 54px 右＝重なり、1100px で 21px 重なり、1200px 以上は余裕あり）。
   ナビの右に CTA 分の余白を確保し、重なる幅だけ文字・間隔・CTA 余白を詰める。インライン指定に勝つため !important。1112px 以下はハンバーガーなので対象外。 */
@media (min-width:1113px) and (max-width:1400px){
  #site-header nav{ margin-right:100px; gap:clamp(10px,1.1vw,18px) !important; }
  #site-header nav a[data-navlink]{ font-size:13px !important; letter-spacing:.03em !important; }
  #site-header a[data-cta]{ font-size:14px !important; padding:0 16px !important; }
}
/* /KEEP */

/* KEEP: ヘッダーのハンバーガー切替を 1024px → 1112px に引き上げ（1025〜1112px はナビが2段に折り返すため・2026-10-21 ディレクター指示）。
   受領の @media (max-width:1024px) と同じ宣言を 1112px 以下へ。--fixed-header-h も同じ幅で 48px（ナビ非表示＝ロゴ行のみ）。 */
@media (max-width:1112px){
  :root{ --fixed-header-h: 48px; }
  #site-header nav{display:none !important;}
  #site-header a[data-cta]{display:none !important;}
  #hamburger{display:flex !important;}
  #site-header #header-mail{display:flex !important;}
}
/* /KEEP */

/* KEEP: お問い合わせ・応募フォーム（CMS が描く parts213/219）を受領デザインへ寄せる（2026-10-21 ディレクター指摘「フォームデザインが合っていない」）。
   skin の既定は「ラベル左・入力右の2カラム／地=テーマ背景のグレー／枠=黒／必須バッジ=ゴールド」で、受領は
   「ラベル上・入力下の1カラム／地=白／枠 #d6c9b2・角丸2px／必須=橙 #e2703a／送信=#a4854a」。値は受領 contact.html / entry.html の実値。
   skin（共通資産）は触らず、案件側の上書きだけで寄せる。skin は !important なので同じく !important で後勝ち（override は skin の後に結合）。 */
.contact_section, .contact_section [class*="_section_form"]{ background:#fff !important; }
[class*="_form_wrap"]{ max-width:760px !important; margin:0 auto !important; padding:0 clamp(20px,6vw,40px) clamp(64px,8vw,120px) !important; box-sizing:border-box !important; }
[class*="_form_wrap"] dl{ display:block !important; margin:0 0 30px !important; padding:0 !important; border:none !important; }
[class*="_form_wrap"] dt{ display:flex !important; flex-wrap:wrap !important; justify-content:flex-start !important; align-items:center !important; gap:10px !important; width:auto !important; max-width:none !important; color:#2b261d !important; margin:0 0 10px !important; padding:0 !important; font-size:15px !important; font-weight:700 !important; letter-spacing:.02em !important; }
[class*="_form_wrap"] dt > span:not(.required):not(.attention){ display:contents !important; }
[class*="_form_wrap"] dt .attention{ order:3 !important; flex:0 0 100% !important; display:block !important; }
[class*="_form_wrap"] dd{ width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; }
[class*="_form_wrap"] .required{ background:#e2703a !important; color:#fff !important; font-size:11.5px !important; font-weight:700 !important; letter-spacing:.06em !important; padding:3px 10px !important; border-radius:2px !important; flex:0 0 auto !important; margin:0 !important; position:static !important; inset:auto !important; transform:none !important; }
[class*="_form_wrap"] dd input:not([type="checkbox"]):not([type="radio"]):not(.zip),
[class*="_form_wrap"] dd select,
[class*="_form_wrap"] textarea{ background:#fff !important; color:#2b261d !important; border:1px solid #d6c9b2 !important; border-radius:2px !important; padding:13px 14px !important; min-height:0 !important; font-size:16px !important; font-family:inherit !important; box-sizing:border-box !important; }
[class*="_form_wrap"] textarea{ min-height:190px !important; resize:vertical; }
[class*="_form_wrap"] dd > label:not(.label_file_upload){ display:flex !important; align-items:center !important; gap:10px !important; margin:0 !important; padding:9px 0 !important; font-size:15.5px !important; font-weight:400 !important; color:#4a4234 !important; cursor:pointer; }
[class*="_form_wrap"] dd > label:not(.label_file_upload) input[type="checkbox"]{ margin:0 !important; accent-color:#a4854a !important; }
[class*="_form_wrap"] .label_file_upload{ display:flex !important; align-items:center !important; gap:14px !important; background:#f2eee6 !important; border:1px solid #d6c9b2 !important; border-radius:2px !important; padding:12px 14px !important; }
[class*="_form_wrap"] .label_file_upload button{ flex:0 0 auto !important; height:auto !important; background:#fff !important; background-image:none !important; color:#2b261d !important; border:1px solid #c8bda4 !important; border-radius:2px !important; padding:9px 18px !important; font-size:14px !important; font-weight:700 !important; letter-spacing:.04em !important; }
[class*="_form_wrap"] .label_file_upload span, [class*="_form_wrap"] #file-chosen{ font-size:14px !important; color:#8c8272 !important; }
[class*="_form_wrap"] .des{ margin:8px 0 0 !important; font-size:12.5px !important; line-height:1.7 !important; font-weight:400 !important; font-family:inherit !important; color:#8c8272 !important; }
[class*="_form_wrap"] .attention{ font-size:12.5px !important; font-weight:400 !important; letter-spacing:0 !important; color:#8c8272 !important; }
[class*="_form_wrap"] .contact_submit, .contact_submit{ text-align:center !important; margin-top:28px !important; }
.contact_submit input[type="submit"], .contact_submit button{ min-width:260px !important; height:auto !important; background:#a4854a !important; color:#fff !important; font-family:inherit !important; font-size:16px !important; font-weight:700 !important; letter-spacing:.12em !important; padding:18px 44px !important; border:none !important; border-radius:2px !important; cursor:pointer; transition:background .3s ease; }
.contact_submit input[type="submit"]:hover, .contact_submit button:hover{ background:#8c7440 !important; }
/* /KEEP */

/* KEEP: ブログ一覧（CMS parts222）のサイドバー（最近の投稿・カテゴリ）を受領 blog.html の aside へ寄せる（2026-10-21 ディレクター指示）。
   受領: 見出し=明朝600・17px・地 #f0efec・左に4pxのゴールド帯／項目=14px・行高1.7・下罫 #ece6da／日付=12px・ゴールド・項目の上に1行。
   CMS の既定は見出しがゴシック太字・帯なし、日付が黒でタイトルの横に並ぶ、罫線が黒＝受領と別物だった。skin/共通資産は触らず案件側で上書き（!important は skin・theme に勝つため）。 */
.parts222_sidebar .parts222_sidebar_wrap{ margin:0 0 clamp(28px,3vw,36px) !important; padding:0 !important; }
.parts222_sidebar .parts222_sidebar_wrap h3{ font-family:"Shippori Mincho",serif !important; font-weight:600 !important; font-size:17px !important; letter-spacing:.06em !important; color:#2b261d !important; background:#f0efec !important; border-left:4px solid #a4854a !important; padding:14px 18px !important; margin:0 0 6px !important; }
.parts222_sidebar .parts222_sidebar_wrap ul{ list-style:none !important; padding:0 !important; margin:0 !important; display:flex !important; flex-direction:column !important; }
.parts222_sidebar .parts222_sidebar_wrap li{ list-style:none !important; margin:0 !important; padding:0 !important; border:none !important; }
.parts222_sidebar .parts222_sidebar_wrap li a{ display:block !important; font-size:14px !important; line-height:1.7 !important; color:#4a4234 !important; padding:14px 4px !important; border-bottom:1px solid #ece6da !important; text-decoration:none !important; }
.parts222_sidebar .parts222_sidebar_wrap li a:hover{ color:#8c7440 !important; }
.parts222_sidebar .parts222_sidebar_date{ display:block !important; font-family:inherit !important; font-size:12px !important; color:#a4854a !important; font-variant-numeric:tabular-nums; margin:0 0 4px !important; }
.parts222_sidebar .parts222_sidebar_post_title{ font-family:inherit !important; font-size:14px !important; font-weight:400 !important; line-height:1.7 !important; color:inherit !important; margin:0 !important; }
.parts222_sidebar .category_post_count li a{ display:flex !important; justify-content:space-between !important; align-items:baseline !important; padding:13px 4px !important; }
.parts222_sidebar .parts222_sidebar_post_category{ font-family:inherit !important; font-size:14px !important; font-weight:400 !important; color:inherit !important; margin:0 !important; }
.parts222_sidebar .parts222_sidebar_post_category_count{ font-family:inherit !important; font-size:14px !important; color:#a4854a !important; }
/* /KEEP */
.parts222_section{
    background-color: #ffffff!important;
}
.parts131415_blog_tJcNWKEKAL.bg-color{
    background-color: #f0efec00!important;
    padding-top: 1px!important;
    padding-bottom: 1px!important;
}
@media screen and (max-width: 520px) {
    .parts131415_blog_tJcNWKEKAL .card{
        max-width: 75%!important;
    }
}