/*
Theme Name: Neolight
Description: ネオライト電気工事の公式サイトテーマ
Version: 1.0.20
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: neolight
*/
:root{--ink:#142b4c;--muted:#405671;--blue:#0865d1;--blue-deep:#094fa8;--pale:#eaf7ff;--line:#d7e9f8;--sky:#69c8fa;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;font-size:16px;line-height:1.85}
a{color:var(--blue);text-underline-offset:.25em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
img{display:block;max-width:100%;height:auto}
p,h1,h2,h3{margin:0 0 1rem}
h1,h2,h3{line-height:1.35;letter-spacing:.025em}
h1{font-size:clamp(2.2rem,4.8vw,4.4rem)}
h2{font-size:clamp(1.7rem,3.3vw,2.65rem)}
h3{font-size:1.25rem}
figure{margin:0}
.wrap,.band,.page-head,.article{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line);background:#fff}
.header-inner,.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.header-inner{min-height:82px}
.brand{display:inline-flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);line-height:1.15;flex-shrink:0}
.brand-mark{width:40px;height:40px;border-radius:11px;background:linear-gradient(145deg,#188eed,var(--blue));display:grid;place-items:center}
.brand-mark::before{content:"";display:block;width:19px;height:24px;background:white;clip-path:polygon(61% 0,0 57%,44% 57%,36% 100%,100% 37%,55% 37%)}
.brand strong{display:block;font-size:21px;letter-spacing:.075em}
.brand small{font-size:12px;letter-spacing:.08em}
.site-nav{display:flex;align-items:center;gap:clamp(14px,2.1vw,32px);flex-wrap:wrap}
.site-nav a{font-size:.9rem;color:var(--ink);text-decoration:none;font-weight:700}
.site-nav a:hover{text-decoration:underline}
.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:10px;padding:10px 20px;background:var(--blue);color:#fff;text-decoration:none;font-weight:700;line-height:1.5}
.button:hover,.wp-block-button__link:hover{background:var(--blue-deep);color:#fff}
.button.secondary,.secondary .wp-block-button__link{background:#fff;color:var(--blue);box-shadow:inset 0 0 0 1px #88bdf0}
.button.secondary:hover,.secondary .wp-block-button__link:hover{background:#eff8ff;color:var(--blue)}
.hero{background:radial-gradient(ellipse at 90% 10%,#ccefff 0,transparent 62%),linear-gradient(120deg,#f9fdff 10%,#e4f5ff 100%);padding:58px 0 66px}
.hero-layout,.feature-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(25px,5vw,70px);align-items:center}
.hero-copy p:not(.eyebrow){max-width:34em;color:var(--muted)}
.eyebrow{font-size:.9rem;color:var(--blue);font-weight:750;letter-spacing:.08em;margin-bottom:14px;padding-left:12px;border-left:4px solid var(--sky)}
.hero-photo img{width:100%;aspect-ratio:1.22;object-fit:cover;border-radius:20px;box-shadow:0 14px 36px #1768ad21}
.hero-photo figcaption,.photo-caption{color:var(--muted);font-size:.875rem;margin:8px 0 0;text-align:right}
.wp-block-buttons,.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.band{padding-block:60px}
.section-lead{color:var(--muted);max-width:48em}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}
.card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 8px 22px #1768ad12}
.card-body{padding:22px}
.card p{color:var(--muted)}
.card img{width:100%;aspect-ratio:1.85;object-fit:cover}
.card a{font-weight:700}
.feature{background:#f4faff;border-block:1px solid var(--line)}
.feature img,.article img{border-radius:16px}
.feature img{width:100%;max-height:355px;object-fit:cover}
.contact-band{background:linear-gradient(110deg,#e8f7ff,#d7f0ff)}
.contact-band .band{display:flex;gap:26px;align-items:center;justify-content:space-between}
.contact-band p{margin:0;color:var(--muted)}
.site-footer{padding:34px 0;background:#f4faff;border-top:1px solid var(--line);color:var(--ink)}
.site-footer p{margin:0;color:var(--muted);font-size:.875rem}
.site-footer a{color:var(--blue)}
.footer-links{display:flex;gap:16px;flex-wrap:wrap}
.page-head{padding:58px 0 26px;border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(2rem,4vw,3.4rem)}
.page-head p{margin:0}
.article{padding:32px 0 65px;min-height:40vh}
.article>p,.article>ul,.article>ol,.article>table,.article>.wp-block-table{max-width:52rem}
.article>h2{margin-top:32px}
.article>figure{margin-block:24px;max-width:680px}
table{width:100%;border-collapse:collapse}
th,td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}
th{background:var(--pale)}
.price-guide{max-width:52rem;margin-bottom:32px}
.price-guide tbody th{background:var(--white);font-weight:600}
.price-guide th:last-child,.price-guide td{text-align:right;white-space:nowrap}
.post-list{display:grid;gap:14px;margin:24px 0;padding:0;list-style:none}
.post-list li{border-top:1px solid var(--line);padding:14px 0}
.post-list time{display:block;color:var(--muted);font-size:.875rem}
.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.skip:focus{position:absolute;z-index:5;background:white;padding:12px}
@media(max-width:960px){.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{flex-wrap:wrap;padding-block:13px;gap:12px}.site-nav{order:3;width:100%;gap:10px 24px}.card-body{padding:16px}}
@media(max-width:700px){.wrap,.band,.page-head,.article{width:calc(100% - 36px)}.hero,.band{padding-block:38px}.hero-layout,.feature-layout,.card-grid{grid-template-columns:1fr}.hero-photo img{aspect-ratio:1.6}.site-nav{gap:8px 14px}.site-nav a{font-size:.83rem}.brand strong{font-size:17px}.brand-mark{width:35px;height:35px}.header-inner>.button{padding:8px 11px;min-height:40px;font-size:.81rem}.footer-inner,.contact-band .band{align-items:flex-start;flex-direction:column}.page-head{padding-top:35px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.site-nav ul{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;margin:0;padding:0}

.hero-photo img[src$="/ev-wk4322s.jpg"],.card img[src$="/ev-wk4322s.jpg"]{object-fit:contain;background:#dce9f3}

.feature img[src$="/work-ev-concealed.jpg"]{max-height:none}
.feature figcaption{color:var(--muted);font-size:.875rem;margin-top:8px}
.work-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(16px,4vw,36px);max-width:52rem;margin-bottom:26px;padding:clamp(14px,3vw,24px);border:1px solid var(--line);border-radius:17px;background:var(--pale)}
.work-case img{width:100%}
.work-case h2{font-size:clamp(1.25rem,2.5vw,1.7rem);margin-bottom:.55rem}
.work-case p{margin:0;color:var(--muted)}
@media(max-width:700px){.work-case{grid-template-columns:1fr}}

img[src$="/ev-charging-lineup.jpg"]{filter:hue-rotate(-23deg) saturate(1.18) brightness(1.05)}
img[src$="/outlet-illustration.jpg"]{filter:hue-rotate(27deg) saturate(1.14) brightness(1.05)}

img[src$="/ac-illustration.jpg"],img[src$="/tv-illustration.jpg"]{filter:saturate(1.12) brightness(1.06)}

.card img[src$="/ev-charging-lineup.jpg"]{object-position:center}
