@import url("works-card.css");
:root{--asb-navy:#05264f;--asb-navy2:#082e5e;--asb-yellow:#f0b323;--asb-cream:#fff7e5;--asb-blue:#eef6fb;--asb-text:#243547;--asb-line:#dce5ee}
.page-asbestos{color:var(--asb-text);background:#fff}.page-asbestos *{box-sizing:border-box}.page-asbestos .section{padding:78px 0}.page-asbestos img{max-width:100%}
.asb-section-head{margin-bottom:34px}.asb-section-head>p{margin:0 0 7px;color:var(--asb-yellow);font-size:12px;font-weight:900;letter-spacing:.18em}.asb-section-head h2{margin:0;color:var(--asb-navy);font-size:clamp(25px,3vw,34px);line-height:1.35;font-weight:900}.asb-section-head h2:before{content:"";display:inline-block;width:7px;height:27px;margin:0 12px -4px 0;background:var(--asb-yellow);transform:skew(-14deg)}.asb-section-head>span{display:block;margin-top:8px;color:#657282;font-size:14px;line-height:1.8}.asb-section-head--center{text-align:center}.asb-section-head--center h2:before{display:none}.asb-section-head--center h2:after{content:"";display:block;width:48px;height:3px;background:var(--asb-yellow);margin:15px auto 0}
/* HERO: 写真を右側中心に置き、低解像度の無理な全幅拡大を避ける */
.asb-hero{position:relative;min-height:470px;overflow:hidden;background:linear-gradient(90deg,#061d39 0%,#082a51 45%,#0b315d 100%);border-bottom:1px solid rgba(5,38,79,.08)}
.asb-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,28,54,.98) 0%,rgba(5,28,54,.96) 38%,rgba(5,28,54,.72) 50%,rgba(5,28,54,.08) 74%,rgba(5,28,54,.10) 100%);z-index:1;pointer-events:none}
.asb-hero__photo{position:absolute;right:0;top:0;width:min(760px,62vw);height:100%;overflow:hidden;background:#334}.asb-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block;filter:saturate(.92) contrast(1.03)}
.asb-hero__inner{position:relative;z-index:2;min-height:470px}.asb-hero__copy{position:absolute;left:20px;top:62px;width:610px;max-width:55vw;color:#fff}.asb-hero__eyebrow{margin:0 0 18px;color:#f2c766;font-weight:800;font-size:12px;letter-spacing:.12em}.asb-hero__headline{display:flex;gap:20px;align-items:flex-start}.asb-warning{width:75px;height:66px;flex:0 0 75px;display:flex;align-items:center;justify-content:center;color:#071d37;font-size:43px;font-weight:1000;line-height:1;background:var(--asb-yellow);clip-path:polygon(50% 0,100% 100%,0 100%);padding-top:13px}.asb-hero__headline p{margin:0 0 3px;font-size:20px;font-weight:800;letter-spacing:.02em}.asb-hero h1{margin:0;color:#fff;font-size:clamp(34px,4.1vw,58px);line-height:1.22;font-weight:900;letter-spacing:.02em}.asb-hero h1 strong{color:#f5b922}.asb-hero__lead{margin:24px 0 0;font-size:15px;line-height:1.9;font-weight:700}.asb-hero__lead strong{color:#f8c74e}.asb-hero__people{position:absolute;z-index:3;right:16px;bottom:-4px;width:430px;height:340px;pointer-events:none}.asb-hero__people img{position:absolute;bottom:0;filter:drop-shadow(0 8px 8px rgba(0,0,0,.14))}.asb-hero__people img:first-child{left:18px;width:220px}.asb-hero__people img:last-child{right:0;width:215px}.asb-hero__breadcrumb{position:absolute;left:20px;bottom:18px;margin:0;font-size:11px}.asb-hero__breadcrumb ol{display:flex;gap:8px;list-style:none;margin:0;padding:6px 11px;border-radius:99px;background:rgba(255,255,255,.9)}.asb-hero__breadcrumb li,.asb-hero__breadcrumb a{color:#37506b;text-decoration:none}.asb-hero__breadcrumb li+li:before{content:"/";margin-right:8px;color:#8a99a8}
/* 対象工事 */
.asb-targets-wrap{position:relative;z-index:5;background:#fff}.asb-targets{width:min(760px,100%);margin-top:-45px;padding:22px 28px 18px;background:#fff;border-radius:10px;box-shadow:0 14px 34px rgba(5,38,79,.15);border:1px solid rgba(5,38,79,.06)}.asb-targets h2{margin:0 0 14px;color:var(--asb-navy);font-size:20px;font-weight:900}.asb-targets h2:after{content:"";display:inline-block;width:48px;height:3px;background:var(--asb-yellow);margin:0 0 5px 13px}.asb-targets__grid{display:grid;grid-template-columns:repeat(5,1fr)}.asb-target{text-align:center;padding:0 12px;border-right:1px solid #e6ebf0}.asb-target:last-child{border-right:0}.asb-target img{width:72px;height:72px;object-fit:contain;display:block;margin:0 auto 7px}.asb-target span{color:#102d52;font-size:12px;font-weight:800;white-space:nowrap}
/* 法改正 */
.asb-law{margin-top:0;background:linear-gradient(180deg,#fffaf0 0%,#fff5dc 100%);border-top:1px solid #f5e8c5;border-bottom:1px solid #f5e8c5}.asb-law__layout{display:grid;grid-template-columns:1fr 230px;gap:42px;align-items:end}.asb-law__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.asb-law-card{background:#fff;border-radius:12px;padding:26px 28px;box-shadow:0 8px 24px rgba(5,38,79,.07);border:1px solid #f0e5c8}.asb-law-card__date{display:inline-block;padding:6px 12px;border-radius:5px;background:var(--asb-yellow);color:#09254b;font-size:13px;font-weight:900}.asb-law-card>p:not(.asb-law-card__text){margin:15px 0 5px;color:#3d4b5a;font-weight:800;font-size:13px}.asb-law-card h3{margin:0;color:var(--asb-navy);font-size:21px;line-height:1.45;font-weight:900}.asb-law-card__line{width:34px;height:2px;background:var(--asb-yellow);margin:16px 0}.asb-law-card__text{margin:0;color:#617080;font-size:12.5px;line-height:1.8}.asb-law__person{width:205px;justify-self:center;align-self:end;display:block}
/* 工程 */
.asb-flow{background:#fff}.asb-flow__layout{position:relative;padding-right:180px}.asb-flow__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;align-items:start}.asb-flow-card{position:relative;text-align:center;min-width:0;padding:0 7px}.asb-flow-card:not(:last-child):after{content:"";position:absolute;right:-11px;top:57px;border-left:9px solid var(--asb-navy);border-top:7px solid transparent;border-bottom:7px solid transparent}.asb-flow-card__num{position:absolute;left:7px;top:0;width:26px;height:26px;border-radius:50%;background:var(--asb-navy);color:#fff;font-weight:900;font-size:13px;display:flex;align-items:center;justify-content:center;z-index:2}.asb-flow-card__icon{height:120px;display:flex;align-items:center;justify-content:center}.asb-flow-card__icon img{max-width:115px;max-height:112px;object-fit:contain}.asb-flow-card h3{margin:6px 0 7px;color:var(--asb-navy);font-size:14px;font-weight:900;line-height:1.4}.asb-flow-card p{margin:0;color:#697687;font-size:10.5px;line-height:1.6}.asb-flow__person{position:absolute;right:0;bottom:-5px;width:165px}
/* 安全 */
.asb-safety{background:linear-gradient(180deg,#eef7fc 0%,#f7fbfd 100%);border-top:1px solid #e3eef5;border-bottom:1px solid #e3eef5}.asb-safety__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.asb-safety__grid article{display:grid;grid-template-columns:84px 1fr;gap:18px;align-items:center;background:#fff;border:1px solid #dce6ee;border-radius:10px;padding:22px 24px;box-shadow:0 7px 18px rgba(5,38,79,.04)}.asb-safety__grid img{width:74px;height:86px;object-fit:contain}.asb-safety__grid h3{margin:0 0 7px;color:var(--asb-navy);font-size:15px;font-weight:900}.asb-safety__grid p{margin:0;color:#697687;font-size:11.5px;line-height:1.75}
/* 施工実績 */
.asb-works{background:#fff}.asb-works__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.asb-work-card{display:block;text-decoration:none;background:#fff;border:1px solid #e1e6ec;box-shadow:0 9px 24px rgba(5,38,79,.08);overflow:hidden;transition:transform .2s,box-shadow .2s}.asb-work-card:hover{transform:translateY(-3px);box-shadow:0 13px 30px rgba(5,38,79,.13)}.asb-work-card__image{aspect-ratio:16/9;background:#e8edf2;overflow:hidden}.asb-work-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.asb-work-card:hover .asb-work-card__image img{transform:scale(1.03)}.asb-work-card__body{position:relative;background:var(--asb-navy);padding:14px 16px 15px;color:#fff;min-height:92px}.asb-work-card__body span{font-size:11px;opacity:.78}.asb-work-card__body h3{margin:4px 0 8px;color:#fff;font-size:14px;line-height:1.45;font-weight:800}.asb-work-card__body b{font-size:11px;color:#f4c550}.asb-work-card__body i{font-style:normal;margin-left:4px}.works-empty{padding:30px;text-align:center;background:#f4f6f8;color:#6b7682}
/* CTA */
.asb-cta{background:linear-gradient(90deg,#f7c33f 0%,#f2b825 34%,#062a55 34%,#062a55 100%);overflow:hidden}.asb-cta__inner{min-height:178px;display:grid;grid-template-columns:245px 1fr 420px;align-items:center;gap:20px}.asb-cta__people{position:relative;height:178px}.asb-cta__people img{position:absolute;bottom:0}.asb-cta__people img:first-child{left:0;width:126px}.asb-cta__people img:last-child{left:95px;width:115px}.asb-cta__copy h2{margin:0;color:#fff;font-size:26px;font-weight:900}.asb-cta__copy p{margin:7px 0 0;color:#f8c94f;font-size:16px;font-weight:800}.asb-cta__actions{display:grid;grid-template-columns:1.15fr .85fr;gap:10px}.asb-cta__actions a{text-decoration:none;border-radius:7px}.asb-cta__tel{display:flex;flex-direction:column;justify-content:center;background:#fff;padding:13px 18px;color:var(--asb-navy)}.asb-cta__tel strong{font-size:25px;line-height:1.05}.asb-cta__tel small{margin-top:5px;font-size:10px}.asb-cta__form{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;background:var(--asb-yellow);color:var(--asb-navy);font-weight:900;font-size:13px}.asb-cta__form span{font-size:18px}
@media(max-width:1000px){.asb-hero__copy{max-width:59vw}.asb-hero h1{font-size:42px}.asb-hero__people{width:340px;height:300px}.asb-hero__people img:first-child{width:185px}.asb-hero__people img:last-child{width:180px}.asb-flow__layout{padding-right:0}.asb-flow__person{display:none}.asb-flow__grid{grid-template-columns:repeat(3,1fr);gap:28px 14px}.asb-flow-card:nth-child(3):after{display:none}.asb-law__layout{grid-template-columns:1fr 170px}.asb-law__person{width:165px}.asb-cta__inner{grid-template-columns:180px 1fr}.asb-cta__actions{grid-column:2}.asb-cta__people{grid-row:1/3}.asb-safety__grid{grid-template-columns:1fr}.asb-safety__grid article{grid-template-columns:76px 1fr}}
@media(max-width:720px){.page-asbestos .section{padding:52px 0}.asb-section-head{margin-bottom:26px}.asb-section-head--center{text-align:left}.asb-section-head--center h2:after{margin-left:0}.asb-hero{min-height:610px}.asb-hero__photo{width:100%;height:52%;top:auto;bottom:0}.asb-hero__photo img{object-position:center center}.asb-hero:after{background:linear-gradient(180deg,rgba(5,28,54,1) 0%,rgba(5,28,54,.96) 48%,rgba(5,28,54,.52) 67%,rgba(5,28,54,.10) 100%)}.asb-hero__inner{min-height:610px}.asb-hero__copy{left:17px;top:34px;width:calc(100% - 34px);max-width:none}.asb-hero__eyebrow{font-size:10px;margin-bottom:12px}.asb-hero__headline{gap:12px}.asb-warning{width:49px;height:44px;flex-basis:49px;font-size:28px;padding-top:10px}.asb-hero__headline p{font-size:15px}.asb-hero h1{font-size:31px}.asb-hero__lead{font-size:12px;margin-top:16px}.asb-hero__people{right:-7px;bottom:0;width:260px;height:220px}.asb-hero__people img:first-child{width:142px}.asb-hero__people img:last-child{width:137px}.asb-hero__breadcrumb{display:none}.asb-targets{margin-top:-18px;padding:18px 14px;width:100%}.asb-targets h2{font-size:18px}.asb-targets__grid{grid-template-columns:repeat(2,1fr)}.asb-target{border-right:0;border-bottom:1px solid #e9edf1;padding:10px}.asb-target:last-child{grid-column:1/3}.asb-target img{width:66px;height:66px}.asb-law__layout{grid-template-columns:1fr}.asb-law__grid{grid-template-columns:1fr}.asb-law__person{display:none}.asb-flow__grid{grid-template-columns:repeat(2,1fr);gap:26px 8px}.asb-flow-card:nth-child(3):after{display:block}.asb-flow-card:nth-child(2n):after{display:none}.asb-flow-card__icon{height:105px}.asb-flow-card__icon img{max-height:100px}.asb-flow-card p{font-size:10px}.asb-safety__grid article{padding:18px 16px}.asb-works__grid{grid-template-columns:1fr}.asb-cta{background:#062a55}.asb-cta__inner{min-height:auto;display:block;padding-top:28px;padding-bottom:28px}.asb-cta__people{display:none}.asb-cta__copy h2{font-size:23px}.asb-cta__actions{display:grid;grid-template-columns:1fr;margin-top:18px}.pc-only{display:none}}


/* =========================================================
   v2.2 — approved visual mockup alignment
   Header / footer HTML are intentionally untouched.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .section{padding:34px 0}
  .asb-section-head{margin-bottom:22px}
  .asb-section-head>p{display:none}
  .asb-section-head h2{font-size:28px}
  .asb-section-head h2:before{width:6px;height:24px;margin-right:10px}
  .asb-section-head>span{margin-top:4px;font-size:12px;line-height:1.55}

  /* HERO — photo continues behind target-work card. */
  .asb-hero{min-height:430px;background:#0b294d;overflow:hidden}
  .asb-hero__inner{min-height:430px}
  .asb-hero__photo{left:0;right:0;top:0;width:100%;height:100%}
  .asb-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:center 45%;filter:saturate(.98) contrast(1.02)}
  .asb-hero:after{background:linear-gradient(90deg,rgba(5,31,59,.78) 0%,rgba(5,31,59,.68) 37%,rgba(5,31,59,.28) 62%,rgba(5,31,59,.10) 100%)}
  .asb-hero__copy{left:20px;top:34px;width:590px;max-width:58vw}
  .asb-hero__headline{gap:18px}
  .asb-hero__headline p{font-size:20px;margin-bottom:3px}
  .asb-hero h1{font-size:48px;line-height:1.16;letter-spacing:.01em}
  .asb-hero__lead{margin-top:16px;font-size:14px;line-height:1.7}
  .asb-hero__breadcrumb{display:none}
  .asb-warning{width:72px;height:64px;flex-basis:72px;font-size:41px}

  /* People: lower, woman in front. */
  .asb-hero__people{right:18px;bottom:-8px;width:400px;height:360px}
  .asb-hero__people img{filter:none}
  .asb-hero__people img:first-child{left:5px;bottom:-12px;width:245px;z-index:3}
  .asb-hero__people img:last-child{right:0;bottom:0;width:235px;z-index:2}

  /* Target card overlaps the bottom of the hero exactly like the approved image. */
  .asb-targets-wrap{z-index:6;background:transparent;margin-top:-158px;pointer-events:none}
  .asb-targets-wrap .container{pointer-events:auto}
  .asb-targets{width:570px;margin:0;padding:14px 18px 13px;border-radius:8px;box-shadow:0 5px 16px rgba(5,38,79,.12)}
  .asb-targets h2{font-size:20px;margin-bottom:10px}
  .asb-targets h2:after{display:none}
  .asb-targets__grid{gap:7px}
  .asb-target{border:1px solid #e6ebf0;border-radius:6px;padding:8px 4px 7px;background:#fff}
  .asb-target:last-child{border-right:1px solid #e6ebf0}
  .asb-target img{width:55px;height:55px;margin-bottom:4px}
  .asb-target span{font-size:11px}

  /* The next section begins immediately below the overlapped card. */
  .asb-law{padding-top:28px;margin-top:0}
  .asb-law__layout{grid-template-columns:1fr 180px;gap:24px;align-items:end}
  .asb-law__grid{gap:14px}
  .asb-law-card{padding:18px 20px;border-radius:8px}
  .asb-law-card__date{padding:5px 10px;font-size:12px}
  .asb-law-card>p:not(.asb-law-card__text){margin:10px 0 3px;font-size:12px}
  .asb-law-card h3{font-size:19px}
  .asb-law-card__line{display:none}
  .asb-law-card__text{font-size:11px;line-height:1.65;margin-top:10px}
  .asb-law__person{width:165px}

  .asb-flow{padding-top:26px;padding-bottom:26px}
  .asb-flow__layout{padding-right:165px}
  .asb-flow__grid{gap:5px}
  .asb-flow-card{padding:0 4px}
  .asb-flow-card__num{display:none}
  .asb-flow-card__icon{height:82px}
  .asb-flow-card__icon img{max-width:75px;max-height:75px}
  .asb-flow-card:not(:last-child):after{top:34px;right:-7px;border-left-width:7px;border-top-width:6px;border-bottom-width:6px}
  .asb-flow-card h3{font-size:12px;margin:3px 0 4px}
  .asb-flow-card p{font-size:9.5px;line-height:1.45}
  .asb-flow__person{width:155px;right:0;bottom:-10px}

  .asb-safety{padding-top:24px;padding-bottom:24px}
  .asb-safety__grid{gap:12px}
  .asb-safety__grid article{grid-template-columns:62px 1fr;gap:12px;padding:14px 16px;border-radius:7px;box-shadow:0 3px 10px rgba(5,38,79,.03)}
  .asb-safety__grid img{width:54px;height:60px}
  .asb-safety__grid h3{font-size:13px;margin-bottom:4px}
  .asb-safety__grid p{font-size:10px;line-height:1.55}

  .asb-works{padding-top:28px;padding-bottom:30px}
  .asb-works__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
  /* Shared works card remains authoritative; only grid placement is page-specific. */
  .asb-works__grid .jf-works-card{min-width:0}
}

@media (max-width:720px){
  .asb-hero__eyebrow{display:none}
  .asb-targets-wrap{background:#fff;margin-top:0}
}


/* =========================================================
   v2.3 — user-requested visual corrections
   2026-08-26
   Header / footer are intentionally untouched.
   ========================================================= */
@media (min-width:721px){
  /* HERO: keep the source photo crisp and much closer to the approved mockup brightness. */
  .asb-hero__photo img{
    filter:none;
  }
  .asb-hero:after{
    background:linear-gradient(90deg,
      rgba(5,31,59,.56) 0%,
      rgba(5,31,59,.46) 36%,
      rgba(5,31,59,.18) 61%,
      rgba(5,31,59,.04) 100%);
  }

  /* HERO people: nearly identical displayed height; woman stays in front. */
  .asb-hero__people{
    right:18px;
    bottom:-10px;
    width:410px;
    height:356px;
  }
  .asb-hero__people img:first-child{
    left:4px;
    right:auto;
    bottom:-10px;
    width:auto;
    height:340px;
    z-index:3;
  }
  .asb-hero__people img:last-child{
    left:auto;
    right:0;
    bottom:-2px;
    width:auto;
    height:340px;
    z-index:2;
  }

  /* Side illustrations: use the same visual height in both sections. */
  .asb-law__layout{
    grid-template-columns:1fr 210px;
  }
  .asb-law__person{
    width:auto;
    height:205px;
    max-width:210px;
    object-fit:contain;
    justify-self:center;
  }
  .asb-flow__layout{
    padding-right:210px;
  }
  .asb-flow__person{
    width:auto;
    height:205px;
    max-width:210px;
    object-fit:contain;
    right:0;
    bottom:-10px;
  }

  /* Works cards: common /works card is retained, but this page shows no extra detail button. */
  .asb-works__grid .jf-works-card__button{
    display:none !important;
  }
}

@media (max-width:1000px) and (min-width:721px){
  .asb-law__layout{grid-template-columns:1fr 180px}
  .asb-law__person{height:180px;max-width:180px}
  .asb-flow__layout{padding-right:0}
  .asb-flow__person{display:none}
  .asb-hero__people img:first-child,
  .asb-hero__people img:last-child{height:285px;width:auto}
}

@media (max-width:720px){
  /* Do not make the mobile hero unnecessarily dark either. */
  .asb-hero__photo img{filter:none}
  .asb-hero:after{
    background:linear-gradient(180deg,
      rgba(5,28,54,.90) 0%,
      rgba(5,28,54,.78) 45%,
      rgba(5,28,54,.34) 67%,
      rgba(5,28,54,.06) 100%);
  }
  .asb-hero__people img:first-child,
  .asb-hero__people img:last-child{
    width:auto;
    height:205px;
  }
  .asb-works__grid .jf-works-card__button{display:none !important}
}

/* =========================================================
   v2.4 — hero-only correction
   2026-08-26
   - high-resolution hero image
   - separate the two hero characters; only arms overlap slightly
   - no changes to law icons / header / footer / other sections
   ========================================================= */
@media (min-width:1001px){
  .asb-hero__people{
    right:18px;
    width:455px;
  }
  .asb-hero__people img:first-child{
    left:0;
    height:340px;
  }
  .asb-hero__people img:last-child{
    right:0;
    height:340px;
  }
}

/* =========================================================
   v2.5 — spacing and safety-card icon sizing
   2026-08-26
   - larger icons in "アスベスト工事について"
   - taller safety cards to match the larger icons
   - more generous vertical spacing between content sections
   - header / footer remain untouched
   ========================================================= */
@media (min-width:721px){
  /* Give each content block more breathing room. */
  .asb-law{
    padding-top:54px;
    padding-bottom:54px;
  }
  .asb-flow{
    padding-top:58px;
    padding-bottom:58px;
  }
  .asb-safety{
    padding-top:58px;
    padding-bottom:60px;
  }
  .asb-works{
    padding-top:58px;
    padding-bottom:62px;
  }

  .asb-section-head{
    margin-bottom:30px;
  }
  .asb-section-head>span{
    margin-top:8px;
  }

  /* Safety icons: same visual class as the process icons above. */
  .asb-safety__grid{
    gap:18px;
  }
  .asb-safety__grid article{
    grid-template-columns:94px 1fr;
    gap:20px;
    min-height:138px;
    padding:22px 24px;
    align-items:center;
  }
  .asb-safety__grid img{
    width:82px;
    height:82px;
    object-fit:contain;
    justify-self:center;
  }
}

@media (max-width:720px){
  /* Mobile also keeps clear separation between sections. */
  .page-asbestos .section{
    padding-top:64px;
    padding-bottom:64px;
  }
  .asb-section-head{
    margin-bottom:30px;
  }
  .asb-safety__grid article{
    grid-template-columns:82px 1fr;
    gap:16px;
    min-height:126px;
    padding:20px 18px;
  }
  .asb-safety__grid img{
    width:74px;
    height:74px;
    object-fit:contain;
  }
}


/* =========================================================
   v2.6 — section vertical spacing alignment
   2026-08-26
   - desktop content sections use approximately 80px top/bottom spacing
   - intended to match the relaxed vertical rhythm of /shitaji/
   - header / footer remain untouched
   ========================================================= */
@media (min-width:721px){
  .asb-law,
  .asb-flow,
  .asb-safety,
  .asb-works{
    padding-top:80px;
    padding-bottom:80px;
  }

  .asb-section-head{
    margin-bottom:34px;
  }
}

/* =========================================================
   v2.8 — visible vertical-rhythm correction
   2026-08-26
   - make section spacing visibly more generous than v2.6/v2.7
   - enlarge the three safety cards/icons so the change is unmistakable
   - header / footer remain untouched
   ========================================================= */
@media (min-width:721px){
  .asb-law,
  .asb-flow,
  .asb-safety,
  .asb-works{
    padding-top:96px;
    padding-bottom:96px;
  }

  .asb-section-head{
    margin-bottom:42px;
  }
  .asb-section-head>span{
    margin-top:10px;
  }

  .asb-safety__grid{
    gap:22px;
  }
  .asb-safety__grid article{
    grid-template-columns:110px 1fr;
    gap:24px;
    min-height:164px;
    padding:28px 30px;
  }
  .asb-safety__grid img{
    width:96px;
    height:96px;
  }
}

@media (max-width:720px){
  .page-asbestos .section{
    padding-top:72px;
    padding-bottom:72px;
  }
  .asb-section-head{
    margin-bottom:34px;
  }
}

/* =========================================================
   v2.9 — definitive section-spacing correction
   2026-08-26
   IMPORTANT: this block intentionally overrides all earlier desktop
   spacing rules. It also pairs with a v=2.9 cache-buster in _site_header.php.
   Header/footer visual markup is unchanged.
   ========================================================= */
@media (min-width:721px){
  /* Explicit per-section spacing; do not rely on generic .section alone. */
  .page-asbestos .asb-law.section{
    padding-top:100px !important;
    padding-bottom:108px !important;
  }
  .page-asbestos .asb-flow.section{
    padding-top:104px !important;
    padding-bottom:116px !important;
  }
  .page-asbestos .asb-safety.section{
    padding-top:104px !important;
    padding-bottom:112px !important;
  }
  .page-asbestos .asb-works.section{
    padding-top:104px !important;
    padding-bottom:112px !important;
  }

  .page-asbestos .asb-section-head{
    margin-bottom:48px !important;
  }
  .page-asbestos .asb-section-head>span{
    margin-top:12px !important;
  }

  /* Keep the process illustration away from the section boundary. */
  .page-asbestos .asb-flow__person{
    bottom:8px !important;
  }

  /* About/safety cards remain deliberately generous. */
  .page-asbestos .asb-safety__grid{
    gap:24px !important;
  }
  .page-asbestos .asb-safety__grid article{
    grid-template-columns:110px 1fr !important;
    gap:26px !important;
    min-height:170px !important;
    padding:30px 32px !important;
  }
  .page-asbestos .asb-safety__grid img{
    width:96px !important;
    height:96px !important;
  }
}

/* =========================================================
   v3.0 — mobile hero rebuild
   2026-08-26
   - Mobile hero uses the construction photo across the full hero area.
   - Existing HTML headline/lead are overlaid on the photo (not baked into image).
   - Woman is in front; man is behind, with only a small shoulder/arm overlap.
   - Desktop hero and all sections below remain unchanged.
   ========================================================= */
@media (max-width:720px){
  .page-asbestos .asb-hero{
    min-height:720px;
    background:#09294d;
    overflow:hidden;
  }
  .page-asbestos .asb-hero__inner{
    min-height:720px;
  }
  .page-asbestos .asb-hero__photo{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }
  .page-asbestos .asb-hero__photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    filter:none;
  }
  .page-asbestos .asb-hero:after{
    background:linear-gradient(180deg,
      rgba(5,28,54,.94) 0%,
      rgba(5,28,54,.88) 30%,
      rgba(5,28,54,.65) 46%,
      rgba(5,28,54,.26) 62%,
      rgba(5,28,54,.08) 78%,
      rgba(5,28,54,.12) 100%);
  }
  .page-asbestos .asb-hero__copy{
    left:20px;
    right:20px;
    top:34px;
    width:auto;
    max-width:none;
    z-index:5;
  }
  .page-asbestos .asb-hero__headline{
    gap:12px;
    align-items:flex-start;
  }
  .page-asbestos .asb-warning{
    width:48px;
    height:43px;
    flex:0 0 48px;
    font-size:27px;
    padding-top:9px;
  }
  .page-asbestos .asb-hero__headline p{
    font-size:15px;
    line-height:1.45;
    margin:0 0 4px;
  }
  .page-asbestos .asb-hero h1{
    font-size:31px;
    line-height:1.22;
    letter-spacing:.01em;
  }
  .page-asbestos .asb-hero__lead{
    margin-top:20px;
    max-width:420px;
    font-size:12px;
    line-height:1.85;
  }
  .page-asbestos .asb-hero__people{
    position:absolute;
    right:-4px;
    bottom:-4px;
    width:310px;
    height:270px;
    z-index:4;
  }
  .page-asbestos .asb-hero__people img{
    position:absolute;
    bottom:0;
    width:auto;
    filter:none;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:22px;
    right:auto;
    height:238px;
    z-index:3;
  }
  .page-asbestos .asb-hero__people img:last-child{
    left:auto;
    right:0;
    height:232px;
    z-index:2;
  }
  .page-asbestos .asb-hero__breadcrumb{
    display:none;
  }
  .page-asbestos .asb-targets-wrap{
    position:relative;
    z-index:6;
    margin-top:0;
    background:#fff;
  }
  .page-asbestos .asb-targets{
    margin-top:0;
  }
}

@media (max-width:420px){
  .page-asbestos .asb-hero{
    min-height:690px;
  }
  .page-asbestos .asb-hero__inner{
    min-height:690px;
  }
  .page-asbestos .asb-hero h1{
    font-size:28px;
  }
  .page-asbestos .asb-hero__lead{
    font-size:11.5px;
  }
  .page-asbestos .asb-hero__people{
    width:278px;
    height:244px;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:16px;
    height:216px;
  }
  .page-asbestos .asb-hero__people img:last-child{
    height:210px;
  }
}

/* =========================================================
   v3.1 — mobile hero vertical tightening
   2026-08-26
   - Reduce the large gap between copy and people.
   - Shorten hero by cropping the TOP/sky side of the photo first.
   - Keep woman in front and man behind.
   ========================================================= */
@media (max-width:720px){
  .page-asbestos .asb-hero,
  .page-asbestos .asb-hero__inner{
    min-height:610px;
  }
  .page-asbestos .asb-hero__photo img{
    object-position:center 68%;
  }
  .page-asbestos .asb-hero__copy{
    top:30px;
  }
  .page-asbestos .asb-hero__lead{
    margin-top:16px;
  }
  .page-asbestos .asb-hero__people{
    right:-2px;
    bottom:-2px;
    width:310px;
    height:270px;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:12px;
    height:238px;
    z-index:4;
  }
  .page-asbestos .asb-hero__people img:last-child{
    right:0;
    height:232px;
    z-index:3;
  }
}

@media (max-width:420px){
  .page-asbestos .asb-hero,
  .page-asbestos .asb-hero__inner{
    min-height:580px;
  }
  .page-asbestos .asb-hero__photo img{
    object-position:center 72%;
  }
  .page-asbestos .asb-hero__copy{
    top:26px;
  }
  .page-asbestos .asb-hero__people{
    width:278px;
    height:244px;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:8px;
    height:216px;
    z-index:4;
  }
  .page-asbestos .asb-hero__people img:last-child{
    height:210px;
    z-index:3;
  }
}

/* =========================================================
   v3.2 — mobile hero match to approved reference
   2026-08-26
   - Pull the people upward toward the copy.
   - Shorten the hero further and crop from the sky/top side.
   - Keep woman in front; man behind with a modest overlap.
   ========================================================= */
@media (max-width:720px){
  .page-asbestos .asb-hero,
  .page-asbestos .asb-hero__inner{
    min-height:540px;
  }
  .page-asbestos .asb-hero__photo img{
    object-position:center 80%;
  }
  .page-asbestos .asb-hero__copy{
    top:26px;
  }
  .page-asbestos .asb-hero__lead{
    margin-top:12px;
  }
  .page-asbestos .asb-hero__people{
    right:-6px;
    bottom:-2px;
    width:322px;
    height:255px;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:6px;
    height:245px;
    z-index:4;
  }
  .page-asbestos .asb-hero__people img:last-child{
    right:0;
    height:239px;
    z-index:3;
  }
}

@media (max-width:420px){
  .page-asbestos .asb-hero,
  .page-asbestos .asb-hero__inner{
    min-height:505px;
  }
  .page-asbestos .asb-hero__photo img{
    object-position:center 84%;
  }
  .page-asbestos .asb-hero__copy{
    top:24px;
  }
  .page-asbestos .asb-hero__lead{
    margin-top:10px;
  }
  .page-asbestos .asb-hero__people{
    right:-7px;
    bottom:-2px;
    width:292px;
    height:230px;
  }
  .page-asbestos .asb-hero__people img:first-child{
    left:2px;
    height:224px;
    z-index:4;
  }
  .page-asbestos .asb-hero__people img:last-child{
    right:0;
    height:219px;
    z-index:3;
  }
}


/* =========================================================
   v3.3 — hero background slideshow
   2026-08-26
   - Text / warning / people remain fixed.
   - Only the 3 construction photos cross-fade.
   - Mobile focal point is tuned per image.
   ========================================================= */
.asb-hero-slider{position:absolute;inset:0;overflow:hidden}
.asb-hero-slider .asb-hero-slide{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity 1.1s ease-in-out;will-change:opacity;
}
.asb-hero-slider .asb-hero-slide.is-active{opacity:1}
.asb-hero-slider .asb-hero-slide:nth-child(1){object-position:center 45%}
.asb-hero-slider .asb-hero-slide:nth-child(2){object-position:center 54%}
.asb-hero-slider .asb-hero-slide:nth-child(3){object-position:center 52%}

@media (max-width:720px){
  .page-asbestos .asb-hero-slider .asb-hero-slide:nth-child(1){object-position:center 84%}
  .page-asbestos .asb-hero-slider .asb-hero-slide:nth-child(2){object-position:center 62%}
  .page-asbestos .asb-hero-slider .asb-hero-slide:nth-child(3){object-position:center 55%}
}

/* =========================================================
   v3.4 — bottom CTA / A案
   2026-08-26
   - CTA background unified to solid navy.
   - Existing character illustrations are retained.
   - Yellow emphasis on 「お気軽にご相談ください。」 is retained.
   - Phone block and inquiry button use clean white treatment.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .asb-cta{background:#062a55;overflow:hidden}
  .page-asbestos .asb-cta__inner{
    min-height:178px;
    display:grid;
    grid-template-columns:245px minmax(300px,1fr) 440px;
    align-items:center;
    gap:28px;
  }
  .page-asbestos .asb-cta__people{
    position:relative;
    height:178px;
    border-right:1px solid rgba(255,255,255,.58);
  }
  .page-asbestos .asb-cta__copy h2{color:#fff}
  .page-asbestos .asb-cta__copy p{color:#fff}
  .page-asbestos .asb-cta__copy p::first-line{color:inherit}
  .page-asbestos .asb-cta__copy p{font-weight:800}
  .page-asbestos .asb-cta__copy p strong{color:#f8c94f}
  .page-asbestos .asb-cta__actions{grid-template-columns:1.18fr .82fr;gap:14px}
  .page-asbestos .asb-cta__tel{
    background:transparent;
    color:#fff;
    padding:13px 12px;
    border-radius:0;
  }
  .page-asbestos .asb-cta__tel strong{color:#fff;font-size:27px}
  .page-asbestos .asb-cta__tel small{color:#fff;opacity:.9}
  .page-asbestos .asb-cta__form{
    background:#fff;
    color:var(--asb-navy);
    min-height:72px;
    border:1px solid rgba(255,255,255,.8);
    box-shadow:0 4px 14px rgba(0,0,0,.08);
  }
  .page-asbestos .asb-cta__form:hover{background:#f7f9fb}
}


/* =========================================================
   v3.5 CTA final layout
   - Solid navy background; no divider beside illustration.
   - Copy is centered in the space between illustration and form button.
   - Entire sub-copy is yellow.
   - Phone block removed; form button follows the Shitaji CTA treatment.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .asb-cta__inner{
    min-height:178px;
    grid-template-columns:245px minmax(380px,1fr) 300px;
    gap:34px;
  }
  .page-asbestos .asb-cta__people{border-right:0}
  .page-asbestos .asb-cta__copy{text-align:center;justify-self:stretch}
  .page-asbestos .asb-cta__copy h2{margin:0;color:#fff;font-size:26px;font-weight:900}
  .page-asbestos .asb-cta__copy p{margin:9px 0 0;color:#f8c94f;font-size:16px;font-weight:900}
  .page-asbestos .asb-cta__actions{display:block;margin:0}
  .page-asbestos .asb-cta__form{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:72px;
    padding:18px 22px;
    background:#fff;
    color:var(--asb-navy);
    border:1px solid rgba(255,255,255,.8);
    border-radius:7px;
    box-shadow:0 4px 14px rgba(0,0,0,.08);
    font-size:14px;
    font-weight:900;
  }
  .page-asbestos .asb-cta__form span{font-size:20px}
}
@media (max-width:720px){
  .page-asbestos .asb-cta__copy p{color:#f8c94f;font-weight:900}
  .page-asbestos .asb-cta__actions{display:block;margin-top:18px}
  .page-asbestos .asb-cta__form{display:flex;justify-content:space-between;background:#fff;color:var(--asb-navy);min-height:64px;padding:16px 20px}
}

/* =========================================================
   v3.6 — hero typography refinement
   2026-08-26
   - Match the approved/reference hero typography more closely.
   - Keep the existing J-FLOOR warning triangle size unchanged.
   - Hero only: no changes to slideshow, people, sections or CTA.
   ========================================================= */
.page-asbestos .asb-hero__copy,
.page-asbestos .asb-hero__headline,
.page-asbestos .asb-hero__lead{
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.page-asbestos .asb-hero__headline p{
  font-size:1.15rem;
  font-weight:700;
  line-height:1.55;
  letter-spacing:0;
}
.page-asbestos .asb-hero h1{
  font-size:2.6rem;
  line-height:1.35;
  font-weight:800;
  letter-spacing:0;
}
.page-asbestos .asb-hero__lead{
  font-size:1rem;
  line-height:1.8;
  font-weight:500;
}
.page-asbestos .asb-hero__lead strong{font-weight:700}

@media (max-width:1000px) and (min-width:721px){
  .page-asbestos .asb-hero h1{font-size:2.3rem}
}
@media (max-width:720px){
  .page-asbestos .asb-hero__headline p{
    font-size:1rem;
    line-height:1.5;
    font-weight:700;
  }
  .page-asbestos .asb-hero h1{
    font-size:2rem;
    line-height:1.32;
    font-weight:800;
  }
  .page-asbestos .asb-hero__lead{
    font-size:.9rem;
    line-height:1.75;
    font-weight:500;
  }
  /* Warning triangle intentionally remains at the existing v3.2/v3.5 mobile size. */
}

/* =========================================================
   v3.7 — hero left-edge alignment
   - Align the lead paragraph with the headline text block.
   - Keep warning icon size and all other hero styling unchanged.
   ========================================================= */
.page-asbestos .asb-hero__lead{
  margin-left:95px; /* 75px warning icon + 20px headline gap */
}
@media (max-width:720px){
  .page-asbestos .asb-hero__lead{
    margin-left:61px; /* 49px warning icon + 12px headline gap */
  }
}

/* =========================================================
   v3.8 — hero alignment correction
   2026-08-26
   - Align the H1 and legal lead text to the LEFT EDGE of the warning triangle.
   - Keep "これから行う工事には、" beside the warning triangle.
   - Keep typography, warning icon size, slideshow and people unchanged.
   ========================================================= */
.page-asbestos .asb-hero__headline > div{
  min-width:0;
}
.page-asbestos .asb-hero__headline h1{
  position:relative;
  left:-95px; /* 75px warning triangle + 20px gap */
  width:calc(100% + 95px);
}
.page-asbestos .asb-hero__lead{
  margin-left:0;
}
@media (max-width:720px){
  .page-asbestos .asb-hero__headline h1{
    left:-61px; /* 49px warning triangle + 12px gap */
    width:calc(100% + 61px);
  }
  .page-asbestos .asb-hero__lead{
    margin-left:0;
  }
}

/* =========================================================
   v3.9 — desktop hero height adjustment
   2026-08-26
   - Desktop/tablet hero only: +100px vertical space.
   - Mobile (720px and below) remains exactly as v3.8.
   - Typography, alignment, slideshow, people size and CTA unchanged.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .asb-hero{min-height:530px}
  .page-asbestos .asb-hero__inner{min-height:530px}
}

/* =========================================================
   v4.0 — desktop hero headline below warning icon
   2026-08-26
   - Keep the warning triangle and eyebrow in their current position.
   - Move H1 below the warning triangle so "アスベストが" no longer sits to its right.
   - Keep H1/lead left edge aligned with the warning triangle's left edge.
   - Mobile layout remains exactly as v3.9/v3.8.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .asb-hero__headline h1{
    margin-top:18px;
  }
}

/* =========================================================
   v4.1 — desktop hero overlap correction
   2026-08-26
   - Desktop/tablet only. Mobile remains unchanged.
   - Keep warning triangle and eyebrow fixed.
   - Put H1 clearly BELOW the warning triangle.
   - Preserve H1/lead left edge at the warning triangle's left edge.
   ========================================================= */
@media (min-width:721px){
  .page-asbestos .asb-hero__headline h1{
    margin-top:48px; /* v4.0 18px + 30px additional clearance */
  }
}

/* =========================================================
   v4.3 — mobile hero overlap correction
   2026-08-26
   - Mobile only (720px and below).
   - Keep warning triangle and eyebrow fixed.
   - Move H1 down by 30px so it clears the warning icon.
   - Keep H1/lead left edge aligned with the warning triangle's left edge.
   - Desktop/tablet v4.2 layout remains unchanged.
   ========================================================= */
@media (max-width:720px){
  .page-asbestos .asb-hero__headline h1{
    margin-top:30px;
  }
}

/* =========================================================
   v4.4 — warning lead vertical centering
   2026-08-26
   - Center only "これから行う工事には、" vertically against the warning triangle.
   - Warning icon position/size stays unchanged.
   - H1 and legal lead positions stay exactly as v4.3.
   - Applies to desktop and mobile.
   ========================================================= */
.page-asbestos .asb-hero__headline{
  align-items:flex-start;
}
.page-asbestos .asb-hero__headline > div > p:first-child{
  display:flex;
  align-items:center;
  height:64px;
  margin-bottom:3px;
}
@media (max-width:720px){
  .page-asbestos .asb-hero__headline > div > p:first-child{
    height:44px;
  }
}
