@media(max-width:1080px) and (min-width:641px){.hero-home .hero-bg,.page-hero:before{background-image:url('assets/images/v1/hero-tablet-1400.webp');background-position:50% 50%}}
:root{
  --ink:#0b2230; --ink-2:#274651; --muted:#6b7e85; --brand:#0f8f79; --brand-d:#087260;
  --mint:#eaf7f3; --sky:#eef8fb; --line:#d9e6e3; --paper:#fff; --wash:#f7faf9; --warm:#fbf8f1;
  --shadow:0 18px 50px rgba(18,52,57,.10); --shadow-sm:0 6px 18px rgba(18,52,57,.08);
  --r:18px; --max:1240px; --header:78px;
  --font:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic UI","Noto Sans JP",sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--font);color:var(--ink);background:var(--paper);line-height:1.7;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,select{font:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}button{cursor:pointer}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.eyebrow{font-size:13px;letter-spacing:.12em;color:var(--brand);font-weight:800;text-transform:uppercase}.section{padding:78px 0}.section.soft{background:var(--wash)}.section-title{font-size:clamp(28px,3.2vw,44px);line-height:1.25;letter-spacing:-.03em}.section-lead{margin-top:14px;color:var(--muted);max-width:680px}.muted{color:var(--muted)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(217,230,227,.85)}.header-inner{height:var(--header);display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;white-space:nowrap}.brand-logo img{display:block;width:188px;height:auto;max-width:none}.brand-mark,.brand-text{display:none}.nav{display:flex;gap:26px;margin-left:auto;align-items:center}.nav a{font-size:13px;font-weight:700;color:var(--ink-2)}.nav a:hover{color:var(--brand)}.header-cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-weight:800;min-height:50px;padding:0 22px;box-shadow:none}.btn:hover,.header-cta:hover{background:var(--brand-d)}.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{border-color:var(--brand);color:var(--brand)}.menu{display:none;margin-left:auto;border:0;background:transparent;font-size:28px}.mobile-nav{display:none}
/* home hero */
.hero-home{position:relative;min-height:610px;overflow:hidden;background:#dff1f6}.hero-home .hero-bg{position:absolute;inset:0;background-image:url('assets/images/v1/hero-desktop-1774.webp');background-size:cover;background-position:50% 50%}.hero-home .hero-bg:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,252,252,.99) 0%,rgba(248,252,252,.96) 31%,rgba(248,252,252,.55) 48%,rgba(248,252,252,.04) 63%,rgba(248,252,252,0) 100%)}.hero-home .hero-bg:after{content:"";position:absolute;right:2%;top:2%;width:27%;height:36%;background:radial-gradient(ellipse closest-side at 50% 40%,rgba(248,252,252,.8),rgba(248,252,252,0) 100%)}.hero-home .container{position:relative;z-index:2;min-height:610px;display:flex;align-items:center}.hero-copy{width:min(570px,52%);padding:42px 0 56px}.hero-copy h1{font-size:clamp(44px,5.5vw,74px);line-height:1.12;letter-spacing:-.055em;margin-top:20px}.hero-copy .lead{font-size:18px;line-height:1.85;margin-top:24px;color:var(--ink-2)}.hero-actions{display:flex;gap:14px;align-items:center;margin-top:34px;flex-wrap:wrap}.hero-note{font-size:12px;color:var(--muted);margin-top:14px}.quick-rail{margin-top:-34px;position:relative;z-index:5}.quick-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.quick-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm);transition:.18s transform,.18s box-shadow}.quick-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.quick-card img{height:120px;width:100%;object-fit:cover}.quick-card .body{padding:18px}.quick-card h3{font-size:18px}.quick-card p{font-size:12px;color:var(--muted);margin-top:5px}.quick-card .arrow{float:right;color:var(--brand)}
.info-strip{margin-top:18px;background:linear-gradient(90deg,#edf8f5,#f7fbfc);border:1px solid var(--line);border-radius:14px;padding:18px 20px;display:flex;gap:18px;align-items:center}.info-strip strong{white-space:nowrap}.info-strip p{font-size:13px;color:var(--muted);flex:1}.status{font-size:11px;padding:4px 8px;background:#fff;border:1px solid var(--line);border-radius:6px;color:var(--muted)}
/* reusable cards */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card,.article-card,.service-card,.panel{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.feature-card{padding:26px}.feature-card .num{font-size:11px;font-weight:900;color:var(--brand);letter-spacing:.14em}.feature-card h3{font-size:21px;margin-top:14px}.feature-card p{font-size:13px;color:var(--muted);margin-top:8px}.region-box{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch}.region-map{padding:28px;background:var(--sky);border-radius:18px;border:1px solid var(--line)}.region-map .map-shape{height:230px;border-radius:14px;background:linear-gradient(135deg,#d4f0e8,#effaf7);display:grid;place-items:center;color:var(--brand);font-size:80px}.region-search{padding:28px}.region-search .row{display:flex;gap:10px;margin-top:20px}.region-search select{flex:1;min-height:52px;border:1px solid var(--line);border-radius:10px;padding:0 14px;background:#fff}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}.article-card{overflow:hidden}.article-card img{height:170px;width:100%;object-fit:cover}.article-card .body{padding:18px}.article-card h3{font-size:17px}.article-card p{font-size:12px;color:var(--muted);margin-top:8px}
/* guide */
.guide-shell{min-height:100vh;background:linear-gradient(180deg,#f4fbfb 0,#fff 28%)}.guide-header{padding:38px 0 20px}.guide-wrap{max-width:760px;margin:auto;padding:0 24px}.progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:18px 0 34px}.progress span{height:5px;border-radius:3px;background:#dce9e5}.progress span.on{background:var(--brand)}.question-card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:34px}.question-card h1{font-size:34px;line-height:1.35}.question-card .sub{margin-top:10px;color:var(--muted)}.option-list{display:grid;gap:12px;margin-top:26px}.option{display:grid;grid-template-columns:48px 1fr 24px;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left}.option:hover,.option.selected{border-color:var(--brand);background:var(--mint)}.option .ico{width:48px;height:48px;border-radius:12px;background:var(--wash);display:grid;place-items:center;font-size:24px}.option strong{display:block;font-size:16px}.option small{display:block;color:var(--muted);margin-top:3px}.guide-actions{display:flex;gap:12px;margin-top:26px}.guide-actions .btn{flex:1}.guide-actions .btn.secondary{flex:0 0 110px}.result-hero{padding:28px;background:linear-gradient(135deg,#ecf7f2,#fefbf4);border-radius:18px;border:1px solid var(--line);margin-top:24px}.result-hero h2{font-size:32px}.result-why{margin-top:26px;display:grid;gap:10px}.checkline{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.checkline b{color:var(--brand)}.result-steps{margin-top:26px;display:grid;gap:14px}.result-step{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:14px}.result-step .n{width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:900}.result-step p{color:var(--muted);font-size:13px;margin-top:5px}
/* region */
.page-hero{position:relative;min-height:390px;overflow:hidden;background:#e4f3f7}.page-hero:before{content:"";position:absolute;inset:0;background:url('assets/images/v1/hero-desktop-1774.webp') center/cover}.page-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(249,253,253,.98),rgba(249,253,253,.88) 37%,rgba(249,253,253,.16) 62%,rgba(249,253,253,0))}.page-hero .container{position:relative;z-index:2;padding-top:70px;padding-bottom:70px}.page-hero h1{font-size:clamp(42px,5vw,66px);line-height:1.15;letter-spacing:-.04em;max-width:650px}.page-hero p{margin-top:18px;color:var(--ink-2);max-width:570px}.page-hero .hero-actions{margin-top:26px}.local-tabs{display:flex;gap:8px;margin:22px 0;flex-wrap:wrap}.local-tabs a{padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px;font-weight:700}.local-layout{display:grid;grid-template-columns:260px 1fr;gap:28px}.side-nav{position:sticky;top:100px;align-self:start;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.side-nav a{display:block;padding:14px 18px;border-bottom:1px solid var(--line);font-size:13px;font-weight:700}.side-nav a:hover,.side-nav a.active{background:var(--mint);color:var(--brand)}.content-stack{display:grid;gap:22px}.content-panel{padding:28px;border:1px solid var(--line);border-radius:18px;background:#fff}.content-panel h2{font-size:28px}.content-panel p{margin-top:10px;color:var(--muted)}.steps-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px}.mini-step{padding:18px;background:var(--wash);border-radius:12px}.mini-step b{display:block;color:var(--brand);font-size:12px}.mini-step strong{display:block;margin-top:6px}
/* compare */
.filter-box{padding:22px;border:1px solid var(--line);background:var(--sky);border-radius:16px}.filters{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:10px;margin-top:16px}.filters select{min-height:50px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 12px}.service-list{display:grid;gap:14px;margin-top:18px}.service-card{padding:20px;display:grid;grid-template-columns:190px 1fr 280px 170px;gap:18px;align-items:center}.service-card img{width:190px;height:126px;object-fit:cover;border-radius:12px}.service-card h3{font-size:20px}.service-card p{font-size:12px;color:var(--muted);margin-top:5px}.meta-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}.meta{font-size:11px;color:var(--muted)}.fit-box{padding:16px;background:var(--mint);border-radius:12px}.fit-box strong{font-size:13px}.fit-box ul{margin:8px 0 0;padding-left:18px;font-size:12px;color:var(--ink-2)}.service-actions{display:grid;gap:10px}.service-actions .btn{width:100%;font-size:13px}.pr-note{font-size:10px;color:var(--muted);margin-top:8px}
/* service detail */
.detail-hero{padding:48px 0;background:linear-gradient(180deg,#eff8f5,#fff)}.detail-grid{display:grid;grid-template-columns:1fr 340px;gap:26px}.detail-main,.detail-aside{display:grid;gap:18px}.detail-aside{align-content:start}.sticky-card{position:sticky;top:100px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow-sm)}.fact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.fact{padding:16px;background:var(--wash);border-radius:12px}.fact span{display:block;color:var(--muted);font-size:11px}.fact strong{display:block;margin-top:4px}
.footer{margin-top:80px;padding:44px 0;background:#0f2b2e;color:#fff}.footer .container{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.footer small{color:#bcd0cc}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:12px}

/* Pest / wildlife module */
.pest-intro{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}.pest-visual{border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--wash)}.pest-visual img{width:100%;height:100%;min-height:330px;object-fit:cover}.pest-icon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.pest-icon-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.pest-icon-card img{width:38px;height:38px}.pest-icon-card strong{font-size:14px}.pest-icon-card small{display:block;color:var(--muted);margin-top:2px}.notice-safe{margin-top:18px;padding:16px 18px;border-left:3px solid var(--brand);background:var(--mint);border-radius:8px;font-size:12px;color:var(--ink-2)}
@media(max-width:1000px){.pest-intro{grid-template-columns:1fr}.pest-icon-grid{grid-template-columns:repeat(2,1fr)}.nav{display:none}.menu{display:block}.quick-grid{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr}.region-box{grid-template-columns:1fr}.local-layout{grid-template-columns:1fr}.side-nav{position:static;display:flex;overflow:auto}.side-nav a{white-space:nowrap;border-right:1px solid var(--line)}.steps-4{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:repeat(2,1fr)}.filter-box .btn{grid-column:span 2}.service-card{grid-template-columns:150px 1fr 220px}.service-card .service-actions{grid-column:2/4}.detail-grid{grid-template-columns:1fr}.sticky-card{position:static}}
@media(max-width:640px){.pest-icon-grid{grid-template-columns:1fr}.pest-visual img{min-height:220px}:root{--header:66px}.hero-home .hero-bg{background-image:url('assets/images/v1/hero-mobile-1024.webp');background-position:54% top}.page-hero:before{background-image:url('assets/images/v1/hero-mobile-1024.webp');background-position:54% top}.container{width:min(100% - 32px,var(--max))}.header-inner{height:66px}.brand-logo img{width:158px}.header-cta{display:none}.hero-home{min-height:650px}.hero-home .hero-bg{background-position:54% top}.hero-home .hero-bg:before{background:linear-gradient(180deg,rgba(250,253,253,.08) 0%,rgba(250,253,253,.08) 35%,rgba(250,253,253,.90) 63%,rgba(250,253,253,1) 100%)}.hero-home .hero-bg:after{display:none}.hero-home .container{min-height:650px;align-items:flex-end}.hero-copy{width:100%;padding:0 0 40px}.hero-copy h1{font-size:42px}.hero-copy .lead{font-size:15px}.hero-actions .btn{width:100%}.quick-rail{margin-top:0}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-card img{height:94px}.quick-card .body{padding:14px}.quick-card h3{font-size:15px}.info-strip{align-items:flex-start;flex-wrap:wrap}.info-strip p{flex-basis:100%}.section{padding:58px 0}.article-grid{grid-template-columns:1fr}.region-search .row{flex-direction:column}.page-hero{min-height:520px}.page-hero:before{background-position:54% top}.page-hero:after{background:linear-gradient(180deg,rgba(249,253,253,.04) 0%,rgba(249,253,253,.14) 38%,rgba(249,253,253,.95) 68%,#fff 100%)}.page-hero .container{padding-top:300px;padding-bottom:36px}.page-hero h1{font-size:42px}.steps-4{grid-template-columns:1fr}.filters{grid-template-columns:1fr}.filter-box .btn{grid-column:auto}.service-card{grid-template-columns:1fr}.service-card img{width:100%;height:180px}.service-card .service-actions{grid-column:auto}.fit-box{order:4}.question-card{padding:24px;border-radius:16px}.question-card h1{font-size:28px}.option{grid-template-columns:44px 1fr 20px}.guide-actions .btn.secondary{flex:0 0 88px}.fact-grid{grid-template-columns:1fr}.footer .container{flex-direction:column}.footer-links{gap:14px}.local-tabs{overflow:auto;flex-wrap:nowrap}.local-tabs a{white-space:nowrap}}


/* V12 Phase-0 hotfix: FINAL hero source-of-truth overrides.
   IMPORTANT: index.html renders the image on .hero-home .hero-bg, not the
   parent .hero-home. These rules intentionally target the actual rendered
   element and live at EOF so earlier rules cannot override them. */
.hero-home .hero-bg,
.page-hero::before {
  background-image: url("assets/images/v1/hero-desktop-1774.webp");
  background-position: 50% 50%;
}
@media (max-width:1080px) and (min-width:641px) {
  .hero-home .hero-bg,
  .page-hero::before {
    background-image: url("assets/images/v1/hero-tablet-1400.webp");
    background-position: 50% 50%;
  }
}
@media (max-width:640px) {
  .hero-home .hero-bg,
  .page-hero::before {
    background-image: url("assets/images/v1/hero-mobile-1024.webp");
    background-position: 54% top;
  }
}
/* V1 H-MOB: 人物の脚・段ボールは画像の約48%まで及ぶため、スマホのHero文言はそれより下から始める */
@media (max-width:640px) {
  .hero-home { min-height: 740px; }
  .hero-home .container { min-height: 740px; }
  /* H-MOB(2:3)は幅いっぱいに自然な比率で出す。人物は上半分、下は床なので、文言は床の部分に載せる */
  .hero-home .hero-bg { background-size: 100% auto; background-repeat: no-repeat; background-position: top center; background-color: #fafdfd; }
  .hero-home .hero-bg:before { background: linear-gradient(180deg, rgba(250,253,253,0) 0, rgba(250,253,253,0) 70vw, rgba(250,253,253,.8) 108vw, rgba(250,253,253,1) 146vw); }
  .hero-home { min-height: calc(100vw + 490px); }
  .hero-home .container { min-height: calc(100vw + 490px); }
}
/* V1 独立レビュー指摘の反映 */
/* タブレット〜小型PC幅(641〜1200px): サブページHeroの文言が人物の手・写真立てに重ならないよう、文言を左の白壁側に収める */
@media (min-width:641px) and (max-width:1200px) {
  .page-hero h1, .page-hero p, .page-hero .hero-actions { max-width: 48%; }
  .page-hero:after { background: linear-gradient(90deg, rgba(249,253,253,.98), rgba(249,253,253,.9) 44%, rgba(249,253,253,.16) 66%, rgba(249,253,253,0)); }
}
/* 2列カード(641〜1000px)では画像の2:1を保って、屋根やヘルメットの上端が切れないようにする */
@media (min-width:641px) and (max-width:1000px) {
  .quick-card img { height: auto; aspect-ratio: 2 / 1; }
}
/* 最小幅(360px以下)ではHero文言が3行に増えるので、その分だけ高さを足して人物と重ねない */
@media (max-width:360px) {
  .hero-home { min-height: calc(100vw + 570px); }
  .hero-home .container { min-height: calc(100vw + 570px); }
}
/* 行末に1文字だけ残る不自然な改行を避ける */
.hero-copy .lead, .page-hero p { text-wrap: pretty; }
/* タブレット幅(641〜1080px)のトップHero: 文言を左の白壁側に収め、人物の腕・写真立てに重ねない */
@media (min-width:641px) and (max-width:1080px) {
  .hero-home .hero-copy { width: 50%; }
}
/* スマホのサブページHero: H-MOBを幅いっぱいに自然な比率で出し、見出しは床の部分から始める */
@media (max-width:640px) {
  .page-hero { min-height: calc(100vw + 300px); }
  .page-hero:before { background-size: 100% auto; background-repeat: no-repeat; background-position: top center; }
  .page-hero:after { background: linear-gradient(180deg, rgba(249,253,253,0) 0, rgba(249,253,253,0) 66vw, rgba(249,253,253,.8) 104vw, rgba(249,253,253,1) 130vw); }
  .page-hero .container { padding-top: 90vw; padding-bottom: 36px; }
}
/* 害獣ページ(--pest-hero)のHeroだけは、人物写真ではなく内容に合う「空き家の断面図」を使う */
.page-hero[style*="--pest-hero"] { background: #e0ecd8; }
.page-hero[style*="--pest-hero"]::before {
  background-image: url("assets/images/v1/pv1-pest-1586.webp");
  background-color: #e0ecd8;
  background-repeat: no-repeat;
  background-size: auto 94%;
  background-position: right 5% center;
}
.page-hero[style*="--pest-hero"]::after {
  background: linear-gradient(90deg, rgba(224,236,216,.98), rgba(224,236,216,.9) 40%, rgba(224,236,216,.15) 60%, rgba(224,236,216,0));
}
@media (min-width:641px) and (max-width:1200px) {
  .page-hero[style*="--pest-hero"]::before { background-size: auto 78%; background-position: right 2% bottom 10%; }
  .page-hero[style*="--pest-hero"]::after { background: linear-gradient(90deg, rgba(224,236,216,.98), rgba(224,236,216,.92) 45%, rgba(224,236,216,.1) 68%, rgba(224,236,216,0)); }
}
@media (max-width:640px) {
  .page-hero[style*="--pest-hero"] { min-height: calc(68vw + 330px); }
  .page-hero[style*="--pest-hero"]::before { background-size: 100% auto; background-position: top center; }
  .page-hero[style*="--pest-hero"]::after { background: linear-gradient(180deg, rgba(224,236,216,0) 0, rgba(224,236,216,0) 52vw, rgba(249,253,253,.9) 76vw, rgba(249,253,253,1) 100vw); }
  .page-hero[style*="--pest-hero"] .container { padding-top: 62vw; }
}
/* 害獣ページHero: 絵の縁を背景になじませ、狭いタブレット幅では絵を小さく右下へ寄せて文字と重ねない */
.page-hero[style*="--pest-hero"] { background: #dcecd6; }
.page-hero[style*="--pest-hero"]::before {
  background-color: #dcecd6;
  -webkit-mask-image: radial-gradient(ellipse 62% 66% at 62% 50%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 66% at 62% 50%, #000 58%, transparent 100%);
}
@media (min-width:641px) and (max-width:860px) {
  .page-hero[style*="--pest-hero"]::before { background-size: auto 58%; background-position: right 0 bottom 6%; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width:640px) {
  .page-hero[style*="--pest-hero"]::before { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 60%, transparent 100%); }
}
/* 見出しは意味の切れ目でだけ折り返す(単語の途中で折り返さない) */
.nb { display: inline-block; }
/* 害獣ページHero: 絵をコンテンツ枠の右端に揃え、860px以下では絵を上、文言を下に縦積みにする */
@media (min-width:1201px) {
  .page-hero[style*="--pest-hero"]::before { background-position: right max(2%, calc((100% - 1200px) / 2)) center; }
}
@media (min-width:641px) and (max-width:860px) {
  .page-hero[style*="--pest-hero"] { min-height: calc(62vw + 340px); }
  .page-hero[style*="--pest-hero"]::before { background-size: 100% auto; background-position: top center; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 60%, transparent 100%); }
  .page-hero[style*="--pest-hero"]::after { background: linear-gradient(180deg, rgba(220,236,214,0) 0, rgba(220,236,214,0) 44vw, rgba(249,253,253,.9) 62vw, rgba(249,253,253,1) 80vw); }
  .page-hero[style*="--pest-hero"] .container { padding-top: 56vw; }
  .page-hero[style*="--pest-hero"] h1, .page-hero[style*="--pest-hero"] p, .page-hero[style*="--pest-hero"] .hero-actions { max-width: none; }
}
/* 比較ページ: 中間幅(641〜1000px)で右の列が枠からはみ出して横スクロールになるのを防ぐ */
@media (min-width:641px) and (max-width:1000px) {
  .service-card { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 200px); }
  .service-card > * { min-width: 0; }
}
/* タブレット幅(641〜1000px)のトップHero: 人物を右へ寄せ、文言は左の白壁側にとどめ、白いかぶせを人物の手前で終わらせる */
@media (min-width:641px) and (max-width:1000px) {
  .hero-home .hero-bg { background-size: auto 100%; background-position: 82% 50%; }
  .hero-home .hero-copy { width: 46%; }
  .hero-home .hero-bg:before { background: linear-gradient(90deg, rgba(250,253,253,.97) 0%, rgba(250,253,253,.9) 36%, rgba(250,253,253,.25) 54%, rgba(250,253,253,0) 66%); }
  .hero-home .hero-copy .lead, .hero-home .hero-note { max-width: 100%; }
}
/* 新Hero(窓の外を向く前向きな写真)の配置 */
/* PC: 1081px以上では頭が切れないよう、画像を上寄せで表示する */
@media (min-width:1081px) {
  .hero-home .hero-bg { background-position: 50% 8%; }
  .page-hero::before { background-position: 50% 22%; }
}
/* タブレット(641〜1000px): スマホと同じく、写真を上に全体表示し、文言は写真の下に置く */
@media (min-width:641px) and (max-width:1000px) {
  .hero-home { min-height: calc(50vw + 410px); }
  .hero-home .container { min-height: calc(50vw + 410px); align-items: flex-end; }
  .hero-home .hero-bg { background-size: 100% auto; background-repeat: no-repeat; background-position: top center; background-color: #fafdfd; }
  .hero-home .hero-bg:before { background: linear-gradient(180deg, rgba(250,253,253,0) 0, rgba(250,253,253,0) 30vw, rgba(250,253,253,.85) 43vw, rgba(250,253,253,1) 50vw); }
  .hero-home .hero-copy { width: 100%; padding: 0 0 44px; }
  .hero-home .hero-copy .lead, .hero-home .hero-note { max-width: 100%; }
}
/* スマホHero(新写真): 顔と手を残して下半身を削り、文言と主ボタンを早く出す */
@media (max-width:640px) {
  .hero-home { min-height: calc(88vw + 400px); }
  .hero-home .container { min-height: calc(88vw + 400px); }
  .hero-home .hero-bg:before { background: linear-gradient(180deg, rgba(250,253,253,0) 0, rgba(250,253,253,0) 46vw, rgba(250,253,253,.85) 74vw, rgba(250,253,253,1) 90vw); }
}
@media (max-width:360px) {
  .hero-home { min-height: calc(88vw + 460px); }
  .hero-home .container { min-height: calc(88vw + 460px); }
}
/* PC(1081px以上): 左の白いかぶせを狭め、整理の手掛かり(箱と布)を見せる */
@media (min-width:1081px) {
  .hero-home .hero-bg:before { background: linear-gradient(90deg, rgba(248,252,252,.99) 0%, rgba(248,252,252,.95) 25%, rgba(248,252,252,.4) 38%, rgba(248,252,252,.04) 50%, rgba(248,252,252,0) 100%); }
}
/* スマホHero(最終): 箱と布(整理が始まった手掛かり)が見えるよう、白いかぶせを少し下から始める */
@media (max-width:640px) {
  .hero-home { min-height: calc(102vw + 400px); }
  .hero-home .container { min-height: calc(102vw + 400px); }
  .hero-home .hero-bg:before { background: linear-gradient(180deg, rgba(250,253,253,0) 0, rgba(250,253,253,0) 62vw, rgba(250,253,253,.82) 90vw, rgba(250,253,253,1) 104vw); }
}
@media (max-width:360px) {
  .hero-home { min-height: calc(102vw + 460px); }
  .hero-home .container { min-height: calc(102vw + 460px); }
}
