/*
Theme Name: NCF LP
Theme URI: https://ncf.cs-yamagata.co.jp/ncf
Author: 株式会社カーサービス山形
Description: カーサービス山形 NCF鈑金塗装工場のランディングページ用テーマ。TÜVゴールド認証・水性塗料・SDGs・DAMD正規代理店の紹介ページをトップページとして表示します。
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ncf-lp
*/

:root{
  --paper:#F6F4EF;
  --surface:#FFFFFF;
  --surface-2:#EFEBE1;
  --ink:#201C16;
  --ink-soft:#5B5648;
  --ink-faint:#8B8571;
  --line:#E3DCC9;
  --orange:#E8622C;
  --orange-deep:#C24E20;
  --orange-ink:#FFFFFF;
  --navy:#1C2B3E;
  --navy-soft:#E9EEF3;
  --navy-ink:#FFFFFF;
  --gold:#A9761E;
  --gold-deep:#8A611A;
  --gold-soft:#F6ECD4;
  --green:#3E6B4C;
  --green-soft:#E6EEE8;
  --shadow: 0 20px 44px -22px rgba(20,16,8,.38);
  /* 端末がダークモードでもライトモードのデザインで固定する */
  color-scheme: only light;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%;}
/* メニューからジャンプしたとき、見出しが固定ヘッダーに隠れないようにする */
section[id]{scroll-margin-top:calc(var(--wp-admin--admin-bar--height, 0px) + 76px);}
body{margin:0; background:var(--paper); color:var(--ink); font-family:'Noto Sans JP','Hiragino Sans',sans-serif; line-height:1.85; -webkit-font-smoothing:antialiased; overflow-x:hidden; padding-bottom:64px;}
.sticky-cta{position:fixed; left:0; right:0; bottom:0; z-index:50; display:flex; box-shadow:0 -10px 26px -14px rgba(0,0,0,.45); padding-bottom:env(safe-area-inset-bottom,0);}
.sticky-cta a{flex:1; display:flex; align-items:center; justify-content:center; gap:8px; padding:15px 10px; font-size:15px; font-weight:900; text-decoration:none; color:#fff; letter-spacing:.01em;}
.sticky-cta a span{font-size:16px;}
.sticky-cta .sc-line{background:#06C755;}
.sticky-cta .sc-tel{background:var(--orange); color:#000;}
h1,h2,h3,h4{font-family:'Zen Kaku Gothic New',sans-serif; text-wrap:balance; margin:0; overflow-wrap:anywhere;}
p{margin:0; overflow-wrap:anywhere;}
img{max-width:100%; display:block;}
a{color:inherit;}
.wrap{max-width:1180px; margin:0 auto; padding:0 clamp(24px, 4.2vw, 64px);}
section{padding:88px 0;}
.eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.08em; padding:6px 14px; border-radius:999px; margin-bottom:16px;}
.eyebrow::before{content:""; width:6px; height:6px; border-radius:50%; background:currentColor;}
.section-head{max-width:640px; margin:0 auto 48px; text-align:center;}
.section-head h2{font-size:clamp(28px,4vw,42px); font-weight:900; line-height:1.35; margin-bottom:16px; letter-spacing:-.01em;}
.section-head p{color:var(--ink-soft); font-size:15.5px;}
.section-head.left{margin:0 0 40px; text-align:left;}

/* typography accents */
.hl{font-weight:900; background-image:linear-gradient(180deg, transparent 62%, var(--hl-c, rgba(232,98,44,.32)) 62%); padding:0 3px; box-decoration-break:clone; -webkit-box-decoration-break:clone;}
.hl-orange{--hl-c: rgba(232,98,44,.32); color:var(--orange-deep);}
.hl-gold{--hl-c: rgba(169,118,30,.28); color:var(--gold-deep);}
.hl-navy{--hl-c: rgba(28,43,62,.14); color:var(--navy);}
.hl-green{--hl-c: rgba(62,107,76,.24); color:var(--green);}
.hl-white{--hl-c: rgba(255,255,255,.22); color:#fff;}
.hl-peach{--hl-c: rgba(242,167,107,.28); color:#F2A76B;}
.accent-num{font-family:'Kaisei Decol',serif; font-weight:700;}
.lede-lg strong, .section-head p strong{font-weight:900; color:var(--ink);}

/* buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; border-radius:999px; font-weight:700; font-size:15px; text-decoration:none; border:none; cursor:pointer; white-space:nowrap;}
.btn-primary{background:var(--orange); color:var(--orange-ink); box-shadow:var(--shadow);}
.btn-ghost{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55);}
.btn-line{background:#06C755; color:#fff;}
.btn-tel{background:var(--orange); color:#000; font-weight:900;}
.btn-outline{background:transparent; color:var(--ink); border:1.5px solid var(--line);}
.btn-sm{padding:10px 18px; font-size:13.5px;}

/* header */
.draft-banner{background:var(--navy); color:var(--navy-ink); text-align:center; font-size:12px; letter-spacing:.05em; padding:7px 16px;}
header.site{position:sticky; top:0; z-index:30; background:color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter:blur(10px); border-bottom:1px solid var(--line);}
.nav-inner{max-width:1320px; margin:0 auto; padding:12px clamp(16px, 2.4vw, 40px); display:flex; align-items:center; justify-content:space-between; gap:16px;}
.brand{display:flex; align-items:center; gap:10px; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:900; font-size:17px; flex-shrink:0; white-space:nowrap;}
.brand .mark{width:38px; height:38px; border-radius:10px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px; letter-spacing:0; flex-shrink:0;}
.brand small{display:block; font-size:10px; font-weight:500; color:var(--ink-faint); letter-spacing:.02em; white-space:nowrap;}
.brand .brand-logo{width:46px; height:46px; flex-shrink:0; display:block; filter:drop-shadow(0 3px 6px rgba(0,0,0,.18));}
.brand .brand-text{display:flex; flex-direction:column; gap:3px; line-height:1;}
.brand .brand-sub{font-family:'Zen Kaku Gothic New',sans-serif; font-weight:900; font-size:10.5px; letter-spacing:.1em; color:var(--ink-soft);}
.brand .brand-main{display:flex; align-items:baseline; gap:5px;}
.brand .brand-niko{font-family:'Mochiy Pop One',sans-serif; font-weight:400; font-size:20px; color:var(--orange); letter-spacing:.01em;}
.brand .brand-cf{font-family:'Dela Gothic One',sans-serif; font-weight:400; font-size:12px; color:var(--navy); letter-spacing:0;}
@media (min-width:1400px){ .brand .brand-logo{width:52px; height:52px;} .brand .brand-niko{font-size:24px;} .brand .brand-cf{font-size:14.5px;} .brand .brand-sub{font-size:11.5px;} }
nav.links{display:flex; gap:14px; font-size:13px; font-weight:500; flex-shrink:0;}
nav.links a{color:var(--ink-soft); text-decoration:none; white-space:nowrap;}
nav.links a:hover{color:var(--ink);}
.nav-inner{flex-wrap:nowrap;}
@media (max-width:980px){ nav.links{display:none;} }

/* hero */
.hero{position:relative; padding:0; overflow:hidden; background:var(--navy);}
.hero-photo{position:absolute; inset:0;}
.hero-photo img{width:100%; height:100%; object-fit:cover; opacity:.55;}
.hero-photo::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,20,28,.55) 0%, rgba(15,20,28,.72) 45%, rgba(15,20,28,.92) 100%);}
.hero-inner{position:relative; z-index:2; padding-top:120px; padding-bottom:76px; color:#fff;}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px;}
.hero-badge{display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.28); backdrop-filter:blur(6px); font-size:12.5px; font-weight:700; letter-spacing:.03em; padding:8px 14px; border-radius:999px;}
.hero-badge.gold{background:rgba(217,178,102,.18); border-color:rgba(217,178,102,.55); color:#F2D794;}
.hero h1{font-size:clamp(32px,5.2vw,60px); line-height:1.28; font-weight:900; max-width:860px; margin-bottom:20px; letter-spacing:-.01em;}
.hero h1 em{font-style:normal; color:#F2A76B;}
.hero h1 .sm{font-size:.55em; font-weight:700; display:block; color:rgba(255,255,255,.78); margin-bottom:6px; letter-spacing:.02em;}
.hero-lede{font-size:16px; color:rgba(255,255,255,.82); max-width:56ch; margin-bottom:32px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:20px;}
.hero-note{font-size:12.5px; color:rgba(255,255,255,.6);}
.hero-mascot{position:absolute; right:clamp(16px,4vw,64px); bottom:20px; width:clamp(96px,11vw,160px); height:auto; z-index:3; border-radius:18px; box-shadow:0 14px 26px rgba(0,0,0,.45), 0 0 0 4px rgba(255,255,255,.85); pointer-events:none;}
@media (max-width:760px){ .hero-mascot{display:none;} }

/* trust bar */
.trustbar{background:var(--surface); border-bottom:1px solid var(--line);}
.trust-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:0;}
.trust-item{display:flex; align-items:center; gap:12px; padding:22px 20px; border-left:1px solid var(--line);}
.trust-item:first-child{border-left:none;}
.trust-item .ic{width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:19px;}
.trust-item .tx div:first-child{font-weight:700; font-size:13.5px;}
.trust-item .tx div:last-child{font-size:11.5px; color:var(--ink-faint);}
@media (max-width:900px){ .trust-grid{grid-template-columns:repeat(2,1fr);} .trust-item:nth-child(3){border-left:none;} }
@media (max-width:560px){ .trust-grid{grid-template-columns:1fr;} .trust-item{border-left:none !important; border-top:1px solid var(--line);} .trust-item:first-child{border-top:none;} }

/* TUV section */
.tuv{background:linear-gradient(180deg, var(--gold-soft), var(--paper) 60%);}
.tuv-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.tuv-photo{position:relative; border-radius:22px; overflow:hidden; box-shadow:var(--shadow); background:var(--surface); padding:14px 14px 64px;}
.tuv-photo-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.tuv-photo-item{background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; padding:8px;}
.tuv-photo-item img{width:100%; height:100%; object-fit:contain;}
.tuv-photo-item.tuv-photo-person{grid-column:1 / -1; aspect-ratio:5/4; padding:0;}
.tuv-photo-item.tuv-photo-person img{object-fit:cover; object-position:50% 12%;}
.tuv-photo .cap{position:absolute; left:14px; bottom:14px; right:14px; background:rgba(20,16,8,.82); color:#fff; font-size:12px; padding:10px 14px; border-radius:10px; line-height:1.5;}
.tuv-link{display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-size:13.5px; font-weight:700; color:var(--gold-deep); text-decoration:none; border-bottom:1.5px solid var(--gold); padding-bottom:2px; min-width:0; overflow-wrap:anywhere;}
.tuv-link:hover{color:var(--orange-deep); border-color:var(--orange-deep);}
.tuv-cert{font-size:12px; color:var(--ink-faint); background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:14px 16px; margin:24px 0; display:flex; flex-wrap:wrap; gap:6px 18px;}
.tuv-cert b{color:var(--ink); font-weight:700;}
.tuv-facts{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:26px;}
.fact{--fc:var(--gold-deep); --fbg:var(--gold-soft); container-type:inline-size; background:var(--fbg); border:1px solid color-mix(in srgb, var(--fc) 28%, transparent); border-radius:16px; padding:20px 22px 22px; display:flex; flex-direction:column; overflow:hidden;}
.fact-gold{--fc:var(--gold-deep); --fbg:var(--gold-soft);}
.fact-count{--fc:var(--orange-deep); --fbg:color-mix(in srgb, var(--orange) 13%, var(--surface));}
.fact-third{--fc:var(--green); --fbg:var(--green-soft);}
.fact-steel{--fc:var(--navy); --fbg:var(--navy-soft);}
.fact .num{flex:1; display:flex; align-items:center; justify-content:center; white-space:nowrap; line-height:1; color:var(--fc); min-height:27cqw;}
.fact-gold .num{font-family:'Cinzel',serif; font-weight:900; font-size:29cqw; letter-spacing:.02em;}
.fact-gold .num span{background:linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-deep) 38%, #F4D58A 50%, var(--gold-deep) 62%, var(--gold-deep) 100%); background-size:260% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;}
.fact-count .num{font-family:'Archivo Black',sans-serif; font-size:31cqw; letter-spacing:-.02em;}
.fact-third .num{font-family:'Shippori Mincho B1',serif; font-weight:800; font-size:18.5cqw; letter-spacing:0;}
.fact-steel .num{font-family:'Bebas Neue',sans-serif; font-size:25cqw; letter-spacing:.03em; padding-top:.06em;}
.fact-steel .num .amp{font-family:'Noto Sans JP',sans-serif; font-weight:900; font-size:.62em; margin:0 .02em;}
.fact .lb{font-size:clamp(12.5px,3.6cqw,17px); font-weight:700; color:var(--ink-soft); margin-top:10px; text-align:center; text-wrap:balance; border-top:2px solid color-mix(in srgb, var(--fc) 35%, transparent); padding-top:12px;}
.fact .num .ch{display:inline-block;}
@media (prefers-reduced-motion:no-preference){
  .fact-anim .fact .num{opacity:0;}
  .fact-anim .fact.in .num{opacity:1;}
  .fact-anim .fact-gold.in .num{animation:factPop .9s cubic-bezier(.2,1.4,.4,1) both;}
  .fact-anim .fact-gold.in .num span{animation:factShine 3.2s linear .6s infinite;}
  .fact-anim .fact-count.in .num{animation:factRise .6s ease-out both;}
  .fact-anim .fact-third.in .num .ch{animation:factDrop .7s cubic-bezier(.2,1.2,.4,1) both; animation-delay:calc(var(--i) * .13s);}
  .fact-anim .fact-steel.in .num{animation:factSlide 1s cubic-bezier(.2,.9,.3,1) both;}
  .fact-anim .fact.in .lb{animation:factRise .6s ease-out .5s both;}
}
@keyframes factPop{from{opacity:0; transform:scale(.55);} to{opacity:1; transform:scale(1);}}
@keyframes factShine{from{background-position:130% 0;} to{background-position:-130% 0;}}
@keyframes factRise{from{opacity:0; transform:translateY(18px);} to{opacity:1; transform:translateY(0);}}
@keyframes factDrop{from{opacity:0; transform:translateY(-.5em) rotate(-8deg);} to{opacity:1; transform:none;}}
@keyframes factSlide{from{opacity:0; letter-spacing:.5em; transform:translateX(-12%);} to{opacity:1; letter-spacing:.03em; transform:none;}}
@media (max-width:900px){ .tuv-grid{grid-template-columns:1fr;} }

/* generic body copy */
.lede-lg{font-size:16px; color:var(--ink-soft); margin-bottom:20px;}
.check-list{display:flex; flex-direction:column; gap:14px; margin-top:8px;}
.check-list li{list-style:none; display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:var(--ink-soft);}
.check-list li::before{content:"✓"; flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--gold-soft); color:var(--gold-deep); font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; margin-top:2px;}

/* paint section */
.paint{background:var(--surface);}
.paint-cards{display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:20px;}
.paint-card{background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:32px; position:relative; overflow:hidden;}
.paint-card .badge-brand{display:inline-flex; align-items:center; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:900; font-size:15px; letter-spacing:.03em; padding:6px 14px; border-radius:8px; margin-bottom:18px;}
.paint-card.rm .badge-brand{background:#0C2E4E; color:#fff;}
.paint-card.sikkens .badge-brand{background:var(--green); color:#fff;}
.paint-photo{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; display:block; margin-bottom:20px;}
.badge-logo{display:inline-flex; align-items:center; justify-content:center; background:#fff; border-radius:10px; padding:8px 16px; margin-bottom:18px; box-shadow:0 2px 8px rgba(0,0,0,.08);}
.badge-logo img{height:28px; width:auto; display:block;}
.badge-logo.rm img{height:36px;}
.paint-card h3{font-size:20px; font-weight:900; margin-bottom:12px;}
.paint-card p.desc{font-size:14px; color:var(--ink-soft); margin-bottom:18px;}
.paint-card ul{margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
.paint-card li{list-style:none; font-size:13.5px; color:var(--ink-soft); display:flex; gap:10px;}
.paint-card li::before{content:"—"; color:var(--ink-faint); flex-shrink:0;}
.paint-why{margin-top:36px; background:var(--navy-soft); border-radius:20px; padding:40px 44px; display:flex; gap:26px; align-items:flex-start; border-left:6px solid var(--navy);}
.paint-why-body{flex:1; min-width:0;}
.paint-why .ic{width:64px; height:64px; border-radius:16px; font-size:28px !important; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;}
.paint-why h4{font-family:'Zen Kaku Gothic New',sans-serif; font-size:clamp(22px,2.9vw,32px); font-weight:900; line-height:1.4; margin-bottom:12px;}
.paint-why p{font-size:clamp(15px,1.45vw,17px); line-height:2; color:var(--ink-soft);}
.paint-why p.lead{font-size:clamp(17px,1.9vw,21px); font-weight:900; line-height:1.6; color:var(--navy); margin-bottom:14px;}
.paint-why p strong{color:var(--ink); font-weight:900; background:linear-gradient(transparent 62%, color-mix(in srgb, var(--navy) 22%, transparent) 62%);}
@media (max-width:640px){ .paint-why{flex-direction:column; gap:14px;} }
@media (max-width:860px){ .paint-cards{grid-template-columns:1fr;} }

/* sdgs */
.sdgs{background:var(--green-soft);}
.sdgs-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px;}
.sdgs-card{background:var(--surface); border-radius:18px; padding:28px; border:1px solid var(--line); display:flex; flex-direction:column;}
.sdgs-card.sdgs-solar{background:#fff5dc; border-color:#f3dfa8;}
.sdgs-card.sdgs-water{background:#e2f1fb; border-color:#b9d9ee;}
.sdgs-card.sdgs-air{background:#f3ecfa; border-color:#d9c9ea;}
.sdgs-card .photo{margin:18px 0 0; margin-top:auto; border-radius:12px; overflow:hidden; aspect-ratio:4/5; background:rgba(255,255,255,.6);}
.sdgs-card .photo img{width:100%; height:100%; object-fit:cover;}
.sdgs-card .photo.photo-poster img{object-fit:contain;}
.sdgs-card .photo.photo-duo{display:grid; grid-template-rows:1fr 1fr; gap:8px; background:none; border-radius:0;}
.sdgs-card .photo.photo-duo img{border-radius:12px; min-height:0;}
.sdgs-card .ic{width:52px; height:52px; border-radius:14px; background:var(--green-soft); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:18px;}
.sdgs-card h3{font-size:16.5px; font-weight:900; margin-bottom:10px;}
.sdgs-card p{font-size:13.5px; color:var(--ink-soft); margin-bottom:18px;}
.sdgs-tag{display:inline-block; margin-top:14px; font-size:11px; font-weight:700; color:var(--green); background:var(--green-soft); padding:4px 10px; border-radius:999px;}
.sdg-icons{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:20px;}
.sdg-icon{width:100%; height:auto; aspect-ratio:1; border-radius:8px; box-shadow:0 4px 10px -4px rgba(0,0,0,.35); flex-shrink:0; display:block;}
@media (max-width:860px){ .sdgs-grid{grid-template-columns:1fr;} }

/* damd */
.damd{background:var(--ink); color:#F2EEE3;}
.damd-top{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; margin-bottom:56px;}
.damd .eyebrow{background:rgba(232,98,44,.18); color:#F2A76B;}
.damd h2{color:#fff;}
.damd .lede-lg{color:rgba(242,238,227,.72);}
.damd-logo-row{display:flex; align-items:center; gap:14px; margin-bottom:20px;}
.damd-logo-row .mark{background:var(--orange); color:#fff; font-family:'Zen Kaku Gothic New',sans-serif; font-weight:900; font-size:18px; padding:8px 16px; border-radius:8px; letter-spacing:.04em;}
.damd-logo-row span{font-size:12.5px; color:rgba(242,238,227,.6);}
.damd-stat-row{display:flex; gap:28px; margin-top:26px; flex-wrap:wrap;}
.damd-stat b{display:block; font-family:'Kaisei Decol',serif; font-size:27px; font-weight:700; color:#F2A76B;}
.damd-stat span{font-size:12px; color:rgba(242,238,227,.62);}
.damd-link{display:inline-flex; align-items:center; gap:6px; margin-top:22px; font-size:13.5px; font-weight:700; color:var(--orange); text-decoration:none; border-bottom:1.5px solid var(--orange); padding-bottom:2px; min-width:0; overflow-wrap:anywhere;}
.damd-link:hover{color:#fff; border-color:#fff;}
.damd-photo{border-radius:20px; overflow:hidden; box-shadow:0 30px 60px -30px rgba(0,0,0,.7);}
.damd-photo img{width:100%; aspect-ratio:4/5; object-fit:cover;}

.gallery-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:22px; flex-wrap:wrap; gap:12px;}
.gallery-head h3{font-size:19px; font-weight:900; color:#fff; min-width:0;}
.gallery-head p{font-size:12.5px; color:rgba(242,238,227,.55); min-width:0; overflow-wrap:anywhere;}
.ig-link{display:inline-flex; align-items:center; gap:8px; flex-shrink:0; background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); color:#fff; font-size:13px; font-weight:700; padding:10px 18px; border-radius:999px; text-decoration:none; white-space:nowrap;}
.ig-link .ig-handle{font-weight:900;}
.ig-link:hover{filter:brightness(1.08);}
.gallery{display:grid; grid-template-columns:repeat(6,1fr); gap:10px;}
.gcard{position:relative; border-radius:10px; overflow:hidden; aspect-ratio:3/4; background:#000;}
.gcard img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.gcard:hover img{transform:scale(1.06);}
.gcard .tag{position:absolute; left:0; right:0; bottom:0; padding:10px 8px 7px; background:linear-gradient(0deg, rgba(0,0,0,.84), rgba(0,0,0,0)); font-size:10.5px; font-weight:700; color:#fff;}
.gcard .tag small{display:block; font-weight:500; font-size:9px; color:rgba(255,255,255,.7); margin-top:1px;}
@media (max-width:980px){ .damd-top{grid-template-columns:1fr;} .gallery{grid-template-columns:repeat(3,1fr);} }

/* equipment */
.equip{background:var(--surface);}
.equip-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px;}
.equip-card{border:1px solid var(--line); border-radius:16px; padding:26px; overflow:hidden;}
.equip-photo{width:calc(100% + 52px); margin:-26px -26px 18px; aspect-ratio:4/3; object-fit:cover; display:block;}
.equip-photo-pair{width:calc(100% + 52px); margin:-26px -26px 18px; display:grid; grid-template-columns:1fr 1fr; gap:2px;}
.equip-photo-pair img{width:100%; height:100%; aspect-ratio:3/4; object-fit:cover; display:block;}
.before-after{margin-top:24px; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:28px; position:relative;}
.ba-tag{position:absolute; top:-14px; left:28px; background:var(--orange); color:#fff; font-size:12.5px; font-weight:900; padding:6px 16px; border-radius:999px; letter-spacing:.04em;}
.ba-grid{display:grid; grid-template-columns:1fr 1.1fr; gap:28px; align-items:center;}
.ba-item{border-radius:14px; overflow:hidden;}
.ba-item img{width:100%; display:block;}
.ba-copy h4{font-size:17px; font-weight:900; margin-bottom:10px;}
.ba-copy p{font-size:13.5px; color:var(--ink-soft);}
@media (max-width:760px){ .ba-grid{grid-template-columns:1fr;} .equip-photo-pair{grid-template-columns:1fr 1fr;} }
.equip-card .ic{width:44px; height:44px; border-radius:12px; background:var(--surface-2); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:16px;}
.equip-card h4{font-size:15px; font-weight:900; margin-bottom:8px;}
.equip-card p{font-size:13px; color:var(--ink-soft);}
@media (max-width:860px){ .equip-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:560px){ .equip-grid{grid-template-columns:1fr;} }
.adas-block{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:24px;}
.adas-item{display:flex; gap:16px; background:var(--surface-2); border-radius:16px; padding:24px;}
.adas-item.has-photo{flex-direction:column; padding:0; overflow:hidden;}
.adas-photo{width:100%; aspect-ratio:16/10; object-fit:cover; display:block;}
.adas-photo-set{display:grid; grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; gap:3px; aspect-ratio:16/10;}
.adas-photo-set img{width:100%; height:100%; object-fit:cover; display:block; min-height:0;}
.adas-photo-set img.main{grid-row:1 / 3;}
.adas-item.has-photo .adas-body{display:flex; gap:16px; padding:24px;}
.adas-item .ic{width:44px; height:44px; border-radius:12px; background:var(--surface); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0;}
.adas-item h4{font-size:15px; font-weight:900; margin-bottom:8px;}
.adas-item p{font-size:13px; color:var(--ink-soft);}
@media (max-width:860px){ .adas-block{grid-template-columns:1fr;} }
.factory-map{margin-top:24px; border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--ink);}
.factory-map h4{padding:16px 20px 0; font-size:15px; font-weight:900; color:#fff;}
.factory-map img{width:100%; display:block; margin-top:12px;}
.factory-map p{padding:16px 20px; font-size:12.5px; color:var(--ink-soft); background:var(--surface);}
.work-gallery{margin-top:24px;}
.work-gallery h4{font-size:15px; font-weight:900; margin-bottom:6px;}
.work-gallery > p{font-size:12.5px; color:var(--ink-soft); margin-bottom:14px;}
.work-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
.wg-item{border-radius:10px; overflow:hidden; aspect-ratio:1/1; background:#000;}
.wg-item img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.wg-item:hover img{transform:scale(1.06);}
@media (max-width:760px){ .work-grid{grid-template-columns:repeat(2,1fr);} }
.price-note{margin-top:20px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px 26px; display:flex; align-items:center; gap:24px; flex-wrap:wrap;}
.price-note h4{font-size:14.5px; font-weight:900; margin-bottom:8px;}
.price-note p{font-size:12.5px; color:var(--ink-soft); max-width:70ch;}
.price-note .btn{flex-shrink:0;}

/* access */
.access{background:var(--navy); color:#fff;}
.access-grid{display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:48px;}
.access h2{color:#fff;}
.info-table{margin-top:24px; border-top:1px solid rgba(255,255,255,.16);}
.info-table .row{display:flex; gap:20px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.16); font-size:14px;}
.info-table .row .k{width:100px; flex-shrink:0; color:rgba(255,255,255,.55); font-size:12.5px; padding-top:2px;}
.info-table .row .v{color:#fff; min-width:0; overflow-wrap:anywhere;}
.info-table .row .k{overflow-wrap:anywhere;}
.access-card{background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16); border-radius:20px; padding:32px; position:relative; overflow:visible; container-type:inline-size;}
.tel-row{display:flex; align-items:center; justify-content:space-between; gap:14px;}
.access-mascot{width:96px; height:96px; object-fit:cover; border-radius:16px; box-shadow:0 10px 18px rgba(0,0,0,.4), 0 0 0 3px rgba(255,255,255,.85); flex-shrink:0;}
.access-card .big-tel{font-size:clamp(22px,9.2cqw,46px); font-weight:900; color:#F2A76B; margin:10px 0 6px; line-height:1.1; white-space:nowrap;}
.access-card .tel-lead{font-size:17px; font-weight:700; color:rgba(255,255,255,.8);}
.access-card .tel-hours{font-size:15px; color:rgba(255,255,255,.7);}
.access-card .btn{width:100%; font-size:19px; padding:19px 24px;}
.access-card .btn-tel{margin-top:22px;}
.access-card .btn-primary{width:100%; margin-top:18px;}
.access-card .btn-line{width:100%; margin-top:24px;}
.mini-note{font-size:14.5px; color:rgba(255,255,255,.7); margin-top:20px; text-align:center;}
@media (max-width:900px){ .access-grid{grid-template-columns:minmax(0,1fr);} }

/* footer cta */
.final-cta{position:relative; color:#fff; text-align:center; overflow:hidden; background:var(--ink);}
.final-cta .fc-photo{position:absolute; inset:0;}
.final-cta .fc-photo img{width:100%; height:100%; object-fit:cover;}
.final-cta .fc-photo::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(20,14,4,.72) 0%, rgba(20,14,4,.85) 60%, rgba(20,14,4,.92) 100%);}
.final-cta .wrap{position:relative; z-index:2;}
.final-cta h2{color:#fff; font-size:clamp(24px,3.4vw,34px); margin-bottom:16px; text-shadow:0 4px 18px rgba(0,0,0,.5);}
.final-cta p{color:rgba(255,255,255,.88); margin-bottom:28px;}

footer.site{background:var(--ink); color:rgba(242,238,227,.6); padding:44px 0 28px; font-size:12.5px;}
footer.site .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px;}
footer.site a{text-decoration:none;}
footer.site .fbrand{color:#fff; font-weight:900; font-size:15px; margin-bottom:8px;}

@media (max-width:640px){
  section{padding:56px 0;}
  .wrap{padding:0 18px;}
  .hero-inner{padding-top:72px; padding-bottom:48px;}
  .hero-badges{flex-direction:column; align-items:flex-start; gap:8px;}
  .hero-badge{font-size:11.5px; padding:7px 11px; gap:6px; max-width:100%; white-space:normal;}
  .hero-ctas{flex-direction:column; align-items:stretch; gap:12px;}
  .hero-ctas .btn{width:100%;}
  .hero h1{font-size:clamp(26px,7.5vw,36px);}
  .nav-inner{padding:12px 14px; gap:8px;}
  .brand{font-size:14px; gap:7px;}
  .brand .mark{width:30px; height:30px; font-size:11px;}
  .brand small{font-size:8.5px;}
  .brand .brand-logo{width:38px; height:38px;}
  .brand .brand-sub{font-size:9.5px; letter-spacing:.04em;}
  .brand .brand-niko{font-size:16px;}
  .brand .brand-cf{font-size:11px;}
  .brand .brand-main{gap:3px;}
  .draft-banner{font-size:10px; line-height:1.5; padding:6px 10px;}
  .tuv-photo{padding:10px 10px 58px;}
  .tuv-photo-grid{gap:8px;}
  .tuv-cert{flex-direction:column; gap:8px;}
  .paint-why{padding:22px;}
  .gallery{grid-template-columns:repeat(3,1fr); gap:8px;}
  .gcard .tag{font-size:10.5px; padding:8px 6px 5px; line-height:1.4;}
  .gcard .tag small{font-size:9.5px;}
  .damd-stat-row{gap:18px;}
  .access-card{padding:22px;}
  .access-card .btn{font-size:17px; padding:17px 18px;}
  .access-card .tel-lead{font-size:15px;}
  .access-mascot{width:76px; height:76px;}
  footer.site .wrap{text-align:left;}
  footer.site .wrap > div:last-child{text-align:left;}
}
@media (max-width:420px){
  .gallery{grid-template-columns:repeat(2,1fr); gap:8px;}
  .gcard .tag{font-size:11.5px;}
  .gcard .tag small{font-size:10px;}
  .access-card{padding:20px 18px;}
  .access-mascot{width:56px; height:56px; border-radius:12px;}
  .access-card .btn{font-size:15.5px; padding:15px 14px; white-space:normal; text-align:center; line-height:1.4;}
}

/* headline（ヘッダー上部のお問い合わせ帯。スクロールで流れ、ヘッダーだけが上部に固定される） */
.headline{background:var(--navy); color:#fff;}
.headline-inner{max-width:1320px; margin:0 auto; padding:8px clamp(16px, 2.4vw, 40px); display:flex; align-items:center; justify-content:space-between; gap:16px;}
.headline-hours{margin:0; font-size:12.5px; color:rgba(255,255,255,.72); white-space:nowrap;}
.headline-cta{display:flex; align-items:center; gap:18px; margin-left:auto;}
.headline-tel{display:flex; align-items:baseline; gap:10px; color:#fff; text-decoration:none; white-space:nowrap;}
.headline-tel-label{font-size:12px; color:rgba(255,255,255,.72);}
.headline-tel strong{font-size:18px; font-weight:900; letter-spacing:.02em;}
.headline-tel strong span{font-size:.8em; margin-right:4px;}
.headline-tel:hover strong{color:#F2A76B;}
.headline .btn-sm{padding:8px 20px; line-height:1.4;}
.headline .btn .short-label{display:none;}
@media (max-width:860px){ .headline-hours{display:none;} }
@media (max-width:640px){
  .headline-inner{padding:7px 14px; gap:10px;}
  .headline-cta{width:100%; justify-content:space-between; gap:10px;}
  .headline-tel-label{display:none;}
  .headline-tel strong{font-size:17px;}
  .headline .btn-sm{padding:7px 16px; font-size:13px;}
  .headline .btn .full-label{display:none;}
  .headline .btn .short-label{display:inline;}
}

/* ===== WordPress 用の追加スタイル ===== */
/* ログイン中の管理バーにヘッダーが隠れないようにする */
header.site{top:var(--wp-admin--admin-bar--height, 0px);}
/* 600px 以下では管理バーが固定されずスクロールで流れるため、ヘッダーは画面最上部に固定する
   （ログイン中にスマホ幅で見ると、ヘッダーの上に 46px の隙間ができて本文が透けていた） */
@media screen and (max-width:600px){
  header.site{top:0;}
  section[id]{scroll-margin-top:76px;}
}
/* Google マップの埋め込み */
.map-embed{margin-top:24px; border-radius:14px; overflow:hidden; aspect-ratio:16/10; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);}
.map-embed iframe{display:block; width:100%; height:100%; border:0;}
.review-link{display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:16px; color:#F2A76B; font-weight:700; font-size:14.5px; text-decoration:none; border-bottom:1.5px solid currentColor; padding-bottom:2px;}
.review-link:hover{color:#fff;}
/* 固定ページ・投稿用の最小限の本文スタイル */
.wp-content{padding:56px 0 96px;}
.wp-content .wrap{max-width:820px;}
.wp-content h1{font-size:clamp(24px,4vw,34px); margin:0 0 24px;}
.wp-content img{max-width:100%; height:auto;}
.wp-content .entry + .entry{margin-top:56px; padding-top:40px; border-top:1px solid var(--line);}

/* ===== 店舗からのお知らせ（投稿カード） ===== */
.news{background:var(--paper);}
.news-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.news-card > a{display:flex; flex-direction:column; height:100%; background:var(--surface); border:1px solid var(--line); border-radius:20px; overflow:hidden; text-decoration:none; color:inherit; box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease;}
.news-card > a:hover{transform:translateY(-4px); box-shadow:0 26px 50px -22px rgba(20,16,8,.45);}
.news-card > a:focus-visible{outline:3px solid var(--orange); outline-offset:3px;}
.news-thumb{aspect-ratio:16/10; background:var(--surface-2); overflow:hidden;}
.news-thumb img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;}
.news-card > a:hover .news-thumb img{transform:scale(1.04);}
.news-thumb.noimg img{object-fit:contain; padding:10% 0; transform:none !important;}
.news-body{padding:20px 22px 24px;}
.news-meta{display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:12.5px; color:var(--ink-faint); margin-bottom:10px;}
.news-cat{background:rgba(232,98,44,.12); color:var(--orange-deep); font-weight:700; padding:2px 10px; border-radius:999px;}
.news-card h3{font-size:17px; font-weight:900; line-height:1.5; margin:0 0 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.news-card p{font-size:14px; line-height:1.7; color:var(--ink-soft); margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}
.news-more{text-align:center; margin-top:40px;}
@media (prefers-reduced-motion:reduce){ .news-card > a, .news-thumb img{transition:none;} .news-card > a:hover{transform:none;} .news-card > a:hover .news-thumb img{transform:none;} }
@media (max-width:860px){ .news-grid{grid-template-columns:1fr; max-width:520px; margin:0 auto;} }

/* お知らせ一覧・記事詳細 */
.wp-content.is-archive .wrap{max-width:1180px;}
.wp-content .entry-meta{display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:13px; color:var(--ink-faint); margin-bottom:12px;}
.wp-content .entry-thumb{margin:0 0 32px; border-radius:20px; overflow:hidden;}
.wp-content .entry-thumb img{width:100%; display:block;}
.wp-content .entry-back{margin-top:48px;}
.wp-content .navigation.pagination{margin-top:48px; text-align:center;}
.wp-content .nav-links .page-numbers{display:inline-block; min-width:40px; padding:8px 12px; margin:0 3px; border-radius:999px; border:1px solid var(--line); text-decoration:none; color:var(--ink);}
.wp-content .nav-links .page-numbers.current{background:var(--orange); border-color:var(--orange); color:var(--orange-ink);}
