@charset "utf-8";
/* ============================================================
   MV（メインビジュアル）— 画像焼き込みから HTML/CSS 実装へ
   旧: mv1-3_pc.jpg をslickで回すだけ（文字が画像内／CTAなし）
   新: 実テキスト＋実CTA＋レーダー演出。lucifer.css の後に読む。
   ============================================================ */

#mv.mv {
  position: relative;
  width: 100%;
  padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 88px);
  background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--c-base-sub, #f7f8f7) 100%);
  overflow: hidden;
}

/* 上部の極薄グリーンのにじみ（白基調を壊さない範囲の奥行き） */
#mv.mv::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 122, 85, .07) 0%, rgba(11, 122, 85, 0) 68%);
  pointer-events: none;
}

.mv__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- 左：コピー ---------- */
.mv__body { position: relative; min-width: 0; }

/* スライドは重ねてクロスフェード。高さは最も高いスライドに合わせる */
.mv__slides { position: relative; display: grid; }
.mv__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
  pointer-events: none;
}
.mv__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

/* 見出し前のラベル */
.mv__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(14px, 1.6vw, 22px);
  font-size: clamp(12px, 1.05vw, 13.5px);
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--c-accent, #0b7a55);
  line-height: 1.5;
}
.mv__eyebrow::before {
  content: "";
  flex: none;
  width: clamp(28px, 3.4vw, 48px);
  height: 1px;
  background: var(--c-accent, #0b7a55);
}

/* キャッチ */
.mv__catch {
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  font-size: clamp(30px, 4.35vw, 58px);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: .01em;
  color: var(--c-ink, #1c1c1e);
}
.mv__catch span { display: block; }
.mv__catch .is-accent { color: var(--c-accent, #0b7a55); }

/* キャッチ下の罫 */
.mv__rule {
  width: min(560px, 78%);
  height: 1px;
  margin: 0 0 clamp(16px, 1.8vw, 24px);
  border: 0;
  background: linear-gradient(90deg, var(--c-accent, #0b7a55) 0%, rgba(11, 122, 85, .28) 55%, rgba(11, 122, 85, 0) 100%);
}

.mv__lead {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.95;
  color: var(--c-text, #3a3a3c);
}

/* 信頼バッジ */
.mv__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  padding: 0;
  list-style: none;
}
.mv__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 12px;
  font-size: clamp(11.5px, .95vw, 13px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-accent-dark, #075c40);
  background: var(--c-accent-pale, #e8f4ef);
  border-radius: 999px;
}
.mv__chips li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--c-accent, #0b7a55);
  transform: rotate(45deg);
}

/* ---------- CTA（旧MVには存在しなかった） ---------- */
.mv__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
}

.mv__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 30px;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  background: var(--c-accent, #0b7a55);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(11, 122, 85, .22);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.mv__cta:hover,
.mv__cta:focus-visible {
  color: #fff;
  background: var(--c-accent-dark, #075c40);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 122, 85, .3);
}
.mv__cta::after {
  content: "";
  width: 18px;
  height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath d='M0 4h15.2L12 .9l.9-.9L18 4l-5.1 4-.9-.9L15.2 4H0z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath d='M0 4h15.2L12 .9l.9-.9L18 4l-5.1 4-.9-.9L15.2 4H0z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
.mv__cta:hover::after { transform: translateX(4px); }

/* 電話 */
.mv__tel {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--c-ink, #1c1c1e);
}
.mv__telNum {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
  white-space: nowrap;
}
.mv__telNum::before {
  content: "";
  flex: none;
  width: clamp(17px, 1.5vw, 21px);
  height: clamp(17px, 1.5vw, 21px);
  background: var(--c-accent, #0b7a55);
  -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 013 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .8-.2 1l-2.3 2.1z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.7.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 013 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.7.1.4 0 .8-.2 1l-2.3 2.1z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
}
.mv__telNote {
  font-size: clamp(11px, .92vw, 12.5px);
  font-weight: 500;
  color: var(--c-sub, #8e8e93);
  letter-spacing: .01em;
}

/* ---------- ページネーション（残り時間が見えるバー） ---------- */
.mv__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 0;
  list-style: none;
}
.mv__navBtn {
  position: relative;
  width: 56px;
  height: 24px;          /* タップ範囲。バーは ::before / ::after で中央に置く */
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.mv__navBtn::before,
.mv__navBtn::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 3px;
  border-radius: 2px;
  transform: translateY(-50%);
}
.mv__navBtn::before { width: 100%; background: var(--c-line, #e5e5ea); }
.mv__navBtn::after  { width: 0;    background: var(--c-accent, #0b7a55); }
.mv__navBtn[aria-selected="true"]::after { animation: mvProgress 6s linear forwards; }
.mv.is-paused .mv__navBtn[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes mvProgress { from { width: 0; } to { width: 100%; } }

.mv__navLabel {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- 右：レーダー演出 ---------- */
.mv__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.mv__radar { display: block; width: 100%; height: 100%; overflow: visible; }
.mv__radarRing { fill: none; stroke: var(--c-line, #e5e5ea); stroke-width: 1; }
.mv__radarSpoke { stroke: var(--c-line, #e5e5ea); stroke-width: 1; opacity: .75; }

/* 走査：中心から伸びる扇をゆっくり回す */
.mv__radarSweep { transform-origin: 100px 100px; animation: mvSweep 7s linear infinite; }
@keyframes mvSweep { to { transform: rotate(360deg); } }

/* 探知の波紋 */
.mv__radarPing { fill: none; stroke: var(--c-accent, #0b7a55); stroke-width: 1.2; transform-origin: 100px 100px; opacity: 0; }
.mv__radarPing--1 { animation: mvPing 4.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.mv__radarPing--2 { animation: mvPing 4.4s cubic-bezier(.2, .6, .3, 1) infinite 2.2s; }
@keyframes mvPing {
  0%   { transform: scale(.16); opacity: 0; }
  12%  { opacity: .5; }
  100% { transform: scale(1); opacity: 0; }
}

/* 中心のきらめき（元デザインのモチーフを踏襲） */
.mv__radarStar { fill: var(--c-accent, #0b7a55); transform-origin: 100px 100px; animation: mvStar 3.6s ease-in-out infinite; }
@keyframes mvStar {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.14); opacity: .82; }
}

/* 検知点：走査に合わせて拾い上がる */
.mv__radarDot { fill: var(--c-accent, #0b7a55); opacity: 0; }
.mv__radarDot--1 { animation: mvDot 7s linear infinite 1.1s; }
.mv__radarDot--2 { animation: mvDot 7s linear infinite 3.4s; }
.mv__radarDot--3 { animation: mvDot 7s linear infinite 5.2s; }
@keyframes mvDot {
  0%       { opacity: 0; r: 2.5; }
  4%       { opacity: 1; r: 4.2; }
  30%      { opacity: .55; r: 3; }
  60%, 100% { opacity: 0; r: 2.5; }
}

/* ---------- スクロール誘導 ---------- */
.mv__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: clamp(28px, 3.6vw, 48px) auto 0;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-sub, #8e8e93);
  text-decoration: none;
}
.mv__scrollLine {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: var(--c-line, #e5e5ea);
}
.mv__scrollLine::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: var(--c-accent, #0b7a55);
  animation: mvScroll 2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes mvScroll {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(250%); }
}

/* ---------- スライド切替時の入り ---------- */
.mv__slide.is-active .mv__eyebrow,
.mv__slide.is-active .mv__catch span,
.mv__slide.is-active .mv__rule,
.mv__slide.is-active .mv__lead,
.mv__slide.is-active .mv__chips { animation: mvIn .72s cubic-bezier(.2, .7, .3, 1) both; }
.mv__slide.is-active .mv__catch span:nth-child(1) { animation-delay: .06s; }
.mv__slide.is-active .mv__catch span:nth-child(2) { animation-delay: .13s; }
.mv__slide.is-active .mv__rule  { animation-delay: .2s; }
.mv__slide.is-active .mv__lead  { animation-delay: .26s; }
.mv__slide.is-active .mv__chips { animation-delay: .33s; }
@keyframes mvIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   タブレット
   ============================================================ */
@media print, screen and (max-width: 1024px) {
  .mv__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mv__visual { grid-row: 1; max-width: 260px; margin: 0 0 4px; }
  .mv__rule { width: min(560px, 100%); }
}

/* ============================================================
   SP
   ============================================================ */
@media print, screen and (max-width: 1023px) {
  #mv.mv { padding: 24px 0 32px; }
  #mv.mv::before { top: -180px; right: -180px; width: 460px; height: 460px; }

  .mv__inner { width: calc(100% - 30px); gap: 20px; }

  /* SPではレーダーを背景側に退避させ、コピーとCTAを主役にする */
  .mv__visual {
    position: absolute;
    top: -12px;
    right: -70px;
    width: 260px;
    max-width: none;
    margin: 0;
    opacity: .5;
    pointer-events: none;
  }
  .mv__body { position: relative; z-index: 1; }

  .mv__catch { font-size: 8.2vw; line-height: 1.32; }
  .mv__lead { font-size: 3.5vw; line-height: 1.85; }
  .mv__chips { gap: 6px 8px; }
  .mv__chips li { padding: 6px 11px 6px 9px; font-size: 3vw; }

  .mv__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .mv__cta { width: 100%; min-height: 56px; font-size: 4vw; }

  /* SPは電話が主導線。枠を付けてタップ範囲を確保する */
  .mv__tel {
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--c-accent, #0b7a55);
    border-radius: 999px;
  }
  .mv__telNum { font-size: 6.4vw; color: var(--c-accent-dark, #075c40); }
  .mv__telNote { font-size: 2.9vw; }

  .mv__nav { justify-content: center; margin-top: 22px; }
  .mv__navBtn { width: 46px; }
  .mv__scroll { display: none; }
}

/* ============================================================
   アニメーション抑制設定を尊重する
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .mv__radarSweep,
  .mv__radarPing,
  .mv__radarStar,
  .mv__radarDot,
  .mv__scrollLine::after,
  .mv__navBtn[aria-selected="true"]::after,
  .mv__slide.is-active .mv__eyebrow,
  .mv__slide.is-active .mv__catch span,
  .mv__slide.is-active .mv__rule,
  .mv__slide.is-active .mv__lead,
  .mv__slide.is-active .mv__chips { animation: none !important; }
  .mv__slide { transition: none; }
  .mv__navBtn[aria-selected="true"]::after { width: 100%; }
  .mv__cta { transition: none; }
}
