/* =========================================================
   Hero Section
========================================================= */
.p-front-mv{
  position:relative; min-height: clamp(600px, 85vh, 960px);
  display:grid; place-items:center;
  padding: clamp(2rem, 4vw, 4rem) 1rem 3rem;
  color:var(--ink);
  background: url('../images/hero/hero-drone.avif') center / cover no-repeat;
  background-position: calc(50% + min(18vw, 220px)) center; /* ドローン右へ */
  overflow:hidden;
}
@supports not (background: paint(worklet)){
  .p-front-mv{
    background-image: url('../images/hero/hero-drone.jpg');
    background-position: calc(50% + min(18vw, 220px)) center;
  }
}

/* 左に白スクリーンを敷いて可読性を担保 */
.p-front-mv::before{
  content:"";
  position:absolute; inset:0; pointer-events:none; z-index:0;
  background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.92) 11%,
      rgba(255,255,255,0.70) 28%,
      rgba(255,255,255,0.35) 50%,
      rgba(255,255,255,0.10) 70%,
      rgba(255,255,255,0) 90%);
}

.p-front-mv__content{
  position:relative; z-index:1;
  justify-self:start;
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(2.2rem, 16vw, 280px); /* 右に機体の余白を確保しつつタイトル幅を拡張 */
  max-width: var(--container);
  width: 100%;
}

.p-front-mv__title{
  display:flex;
  flex-direction:column;
  gap:clamp(.45rem, .6vw, .75rem);
  font-weight:800;
  line-height:1.25;
  letter-spacing:.01em;
  font-size:clamp(1.9rem, 2.3vw + 1.1rem, 3.4rem);
  color:#0c2540;
  margin-bottom:1.4rem;
  max-width:clamp(22rem, 48vw, 44rem);
}
.p-front-mv__title__eyebrow{
  display:block;
  font-family:"Montserrat", sans-serif;
  font-size:clamp(.78rem, 1.4vw, 1rem);
  letter-spacing:.38em;
  color:rgba(12,36,64,.55);
  margin-bottom:.55rem;
}
.p-front-mv__title__line{
  position:relative;
  display:inline-block;
  padding:0 .2em .25em 0;
  margin:0;
  color:inherit;
  white-space:nowrap;
}
.p-front-mv__title__line::after{
  content:"";
  position:absolute;
  inset:auto 0 -.1em;
  height:.48em;
  background:linear-gradient(105deg, rgba(255,214,126,.75) 0%, rgba(255,187,90,.55) 52%, rgba(255,187,90,0) 100%);
  border-radius:.3em;
  z-index:-1;
  transform:skewX(-8deg);
}
.p-front-mv__title__line:nth-of-type(2){
  color:#041c37;
}
.p-front-mv__title__line:nth-of-type(3){
  color:#0c2e4f;
}
.p-front-mv__title__line:nth-of-type(3)::after{
  background:linear-gradient(100deg, rgba(182,230,255,.5) 0%, rgba(116,192,255,.35) 45%, rgba(116,192,255,0) 100%);
}
.p-front-mv__title__line:nth-of-type(4){
  color:#163e6b;
}
.p-front-mv__title__line:nth-of-type(4)::after{
  background:linear-gradient(110deg, rgba(255,200,167,.55) 0%, rgba(255,168,120,.35) 50%, rgba(255,168,120,0) 100%);
}
.p-front-mv__lead{
  margin:1.2rem 0 1.6rem;
  font-size:1.03rem;
  line-height:1.8;
  color:rgba(12,36,64,.78);
  max-width:620px;
}

.p-front-mv__stats{ margin-top:.8rem; }
.p-front-mv__stats__inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem;
}
.badge{
  --badge-size:8.75rem;
  position:relative;
  width:var(--badge-size);
  height:var(--badge-size);
  border-radius:50%;
  background-image:radial-gradient(circle at 30% 20%, #fff7cf 0%, #f5d984 38%, #d5a62c 72%, #a56b12 100%);
  box-shadow:
    inset 0 8px 18px rgba(255,255,255,.55),
    inset 0 -10px 18px rgba(120,60,0,.35),
    0 14px 26px rgba(36,18,0,.26);
  border:1px solid rgba(255, 236, 185, .8);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:1rem .85rem;
  color:#fff9df;
  text-shadow:0 2px 4px rgba(60,24,3,.45);
  isolation:isolate;
}
.badge::before{
  content:"";
  position:absolute;
  inset:.28rem;
  border-radius:50%;
  background:radial-gradient(circle at 28% 26%, rgba(255,255,255,.58), rgba(255,223,149,.18) 60%, rgba(226,167,60,.32) 100%);
  border:1px solid rgba(255,238,205,.6);
  box-shadow:inset 0 4px 10px rgba(255,255,255,.4), inset 0 -6px 14px rgba(148,76,0,.3);
  z-index:-1;
}
.badge__note{
  font-size:.74rem;
  letter-spacing:.08em;
  font-weight:700;
  color:rgba(18,22,28,.9);
  text-shadow:none;
}
.badge__num{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.15rem;
  margin-top:.3rem;
  line-height:1.25;
  color:rgba(12,18,26,.96);
  text-shadow:none;
}
.badge__em{
  display:block;
  font-size:1.46rem;
  font-weight:900;
  letter-spacing:.06em;
  color:#0a1e2f;
}
.badge__main{
  font-size:1.08rem;
  font-weight:800;
  letter-spacing:.02em;
  color:#132033;
}
.badge__main + .badge__em{ margin-top:-.1rem; }
.badge__tagline{
  font-size:.66rem;
  margin-top:.35rem;
  letter-spacing:.1em;
  line-height:1.35;
  color:#fbe7ac;
}

.p-front-mv__stats__note{ color:var(--muted); font-size:.85rem; margin-top:.25rem; }

@media (max-width:959px){
  .badge{ --badge-size:7.6rem; padding:.85rem .75rem; }
  .badge__em{ font-size:1.3rem; }
  .badge__main{ font-size:.98rem; }
  .badge__tagline{ font-size:.6rem; }
}
@media (max-width:599px){
  .p-front-mv__stats__inner{ justify-content:center; gap:.8rem; }
  .badge{
    --badge-size:6.4rem;
    padding:.75rem .6rem;
  }
  .badge__note{ font-size:.64rem; }
  .badge__main{ font-size:.9rem; }
  .badge__em{ font-size:1.12rem; }
  .badge__tagline{ font-size:.56rem; letter-spacing:.08em; }
  .p-front-mv__title__line{ white-space:normal; }
}

.p-front-mv__cta{ margin-top:1.1rem; }
.p-front-mv__cta-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:1.25rem 3rem;
  border-radius:999px;
  font-weight:800;
  font-size:1.18rem;
  letter-spacing:.07em;
  min-width:clamp(13.5rem, 22vw, 18rem);
  color:#fff;
  background:linear-gradient(120deg, #1fc8d8 0%, #23b1c6 45%, #1a7fa2 100%);
  text-decoration:none;
  box-shadow:0 24px 42px rgba(31,142,160,.32), 0 8px 18px rgba(24,90,110,.28);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.p-front-mv__cta-button:hover{
  filter:brightness(1.05);
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 26px 48px rgba(31,142,160,.36), 0 12px 24px rgba(24,90,110,.3);
  text-decoration:none;
}
.p-front-mv__cta-button:focus-visible{
  outline:3px solid rgba(31,200,216,.45);
  outline-offset:3px;
}

/* モバイルの可読性 */
@media (max-width:959px){
  .p-front-mv{ background-position:center; }
  .p-front-mv::before{
    background: linear-gradient(180deg,
        rgba(255,255,255,0.92) 0%,
        rgba(255,255,255,0.65) 36%,
        rgba(255,255,255,0.28) 72%,
        rgba(255,255,255,0) 100%);
  }
  .p-front-mv__content{ padding-right:1rem; }
  .p-front-mv__cta-button{
    padding:1.1rem 2.2rem;
    font-size:1.08rem;
    min-width:unset;
  }
}

/* =========================================================
