/*
Theme Name: 大分特伐 公式サイト
Theme URI: https://oita-tokubatsu.jp/
Author: 大分特伐
Description: 大分特伐の企業営業・地域SEO・施工事例更新に最適化したオリジナルWordPressテーマ。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: oita-tokubatsu
*/

:root{
  --green:#0b4f37;
  --green2:#083b2a;
  --light:#f4f7f5;
  --ink:#142019;
  --muted:#5d6862;
  --line:#d9e2dd;
  --white:#fff;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.8;background:#fff}
a{color:var(--green);text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 32px),var(--max));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;color:var(--ink)}
.brand-logo{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid var(--green)}
.brand-name{font-size:1.4rem;letter-spacing:.08em}
.nav{display:flex;gap:20px;align-items:center;font-size:.95rem}
.nav a{color:var(--ink);font-weight:700}
.nav .cta-mini{background:var(--green);color:#fff;padding:9px 14px;border-radius:999px}
.hero{position:relative;min-height:650px;display:flex;align-items:center;color:#fff;overflow:hidden;background:#0b241b}
.hero::before{content:"";position:absolute;inset:0;background:url('assets/images/hero.jpg') center/cover no-repeat;filter:saturate(.75)}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,24,17,.84) 0%,rgba(4,24,17,.58) 47%,rgba(4,24,17,.18) 100%)}
.hero .container{position:relative;z-index:1}
.hero-copy{max-width:720px;padding:82px 0}
.eyebrow{display:inline-block;font-size:.9rem;font-weight:800;letter-spacing:.1em;border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:5px 12px;margin-bottom:18px}
.hero h1{font-size:clamp(2.5rem,6vw,5.2rem);line-height:1.12;margin:0 0 18px;letter-spacing:.04em}
.hero .philosophy{font-family:serif;font-weight:700;font-size:clamp(1.55rem,3.2vw,2.7rem);margin:0 0 18px;letter-spacing:.08em}
.hero .lead{font-size:clamp(1.02rem,2vw,1.28rem);max-width:650px;margin:0 0 26px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:8px;font-weight:800;border:2px solid transparent}
.btn-primary{background:#fff;color:var(--green2)}
.btn-line{background:#15c75a;color:#fff}
.btn-outline{border-color:#fff;color:#fff}
.trustbar{background:var(--green);color:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.trust-item{padding:18px 12px;text-align:center;border-right:1px solid rgba(255,255,255,.2);font-weight:800}
.trust-item:last-child{border-right:none}
.section{padding:84px 0}
.section.alt{background:var(--light)}
.section-head{margin-bottom:38px}
.kicker{color:var(--green);font-weight:900;letter-spacing:.12em;font-size:.82rem}
.section h2{font-size:clamp(1.9rem,4vw,3rem);line-height:1.3;margin:8px 0 14px}
.section-head p{color:var(--muted);max-width:760px;margin:0}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{border:1px solid var(--line);border-radius:14px;padding:26px;background:#fff;box-shadow:0 8px 24px rgba(15,42,31,.05)}
.card h3{margin:0 0 10px;font-size:1.2rem}
.card p{margin:0;color:var(--muted)}
.problem-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 28px;margin-top:20px}
.problem{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-weight:700}
.problem::before{content:"✓";display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:var(--green);color:#fff;font-size:.8rem;margin-top:4px}
.photo-split{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.photo-split img{border-radius:18px;min-height:420px;object-fit:cover}
.quote{font-family:serif;font-size:clamp(1.8rem,4vw,3.2rem);line-height:1.55;color:var(--green2);margin:0 0 18px}
.cases{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.case-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
.case-card img{aspect-ratio:4/3;object-fit:cover;width:100%}
.case-body{padding:18px}
.case-card h3{font-size:1.1rem;margin:0 0 8px}
.case-meta{color:var(--muted);font-size:.9rem}
.case-empty{grid-column:1/-1;padding:26px;border:1px dashed #aebcb4;border-radius:14px;background:#fff}
.area-box{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:start}
.area-list{display:flex;flex-wrap:wrap;gap:10px}
.area-list span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px;font-weight:800}
.cta{background:var(--green2);color:#fff;padding:72px 0}
.cta-inner{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.cta h2{margin:0 0 12px;font-size:clamp(2rem,4vw,3.2rem)}
.cta p{margin:0;color:#dce9e3}
.cta-actions{display:flex;flex-direction:column;gap:10px;min-width:270px}
.site-footer{background:#081e16;color:#d7e2dc;padding:34px 0}
.footer-inner{display:flex;justify-content:space-between;gap:24px;align-items:flex-end}
.footer-title{font-size:1.3rem;font-weight:900;color:#fff}
.footer-small{font-size:.82rem;color:#9fb3a8}
.article{padding:70px 0}
.article h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.35}
.article .featured{border-radius:14px;margin:24px 0}
.entry-content{max-width:820px}
.entry-content img{border-radius:10px}
@media(max-width:900px){
 .nav{display:none}.hero{min-height:560px}.hero-copy{padding:64px 0}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-item:nth-child(2){border-right:none}.card-grid,.cases{grid-template-columns:1fr 1fr}.photo-split,.area-box,.cta-inner{grid-template-columns:1fr}.cta-actions{min-width:0;flex-direction:row;flex-wrap:wrap}.footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
 .container{width:min(calc(100% - 32px),var(--max))}
 .header-inner{min-height:68px}.brand-logo{width:46px;height:46px}.brand-name{font-size:1.18rem}
 .hero{min-height:auto;align-items:flex-start}.hero::after{background:linear-gradient(rgba(4,24,17,.55),rgba(4,24,17,.82))}.hero-copy{padding:42px 0 38px}.eyebrow{font-size:.78rem;margin-bottom:14px;padding:4px 10px}.hero h1{font-size:2.38rem;line-height:1.16;margin-bottom:14px}.hero .philosophy{font-size:1.42rem;line-height:1.65;letter-spacing:.05em;margin-bottom:14px}.hero .lead{font-size:1rem;line-height:1.75;margin-bottom:20px}.hero-actions{gap:10px}.hero-actions .btn{width:100%;min-height:48px}
 .trust-grid{grid-template-columns:1fr 1fr}.trust-item{font-size:.84rem;padding:15px 8px;line-height:1.5}
 .section{padding:50px 0}.section-head{margin-bottom:26px}.section h2{font-size:2rem;line-height:1.38;margin:6px 0 12px}.section-head p{font-size:1rem;line-height:1.8}
 .card-grid,.cases,.problem-grid{grid-template-columns:1fr}.card-grid{gap:14px}.card{padding:22px}.problem{padding:11px 0}
 .photo-split{gap:22px}.photo-split img{min-height:300px}.quote{font-size:2rem;line-height:1.5}
 .case-empty{padding:22px}.area-box{gap:20px}.area-list{gap:8px}.area-list span{padding:7px 11px}
 .cta{padding:54px 0}.cta h2{font-size:2rem;line-height:1.35}.cta p{line-height:1.8}.cta-actions{flex-direction:column}.cta-actions .btn{width:100%}
 .site-footer{padding:30px 0}
}

.mobile-break{display:none}
@media(max-width:620px){.mobile-break{display:block}.philosophy-line{white-space:nowrap}}
