/* FV：キャンペーン・おすすめバナーのカルーセル
   バナーの中の寸法は cqw（バナー幅の1%）で指定。PCは 5:2、スマホは 1:1 に組み替える。
   本番で画像バナーに差し替えるときは .bn の中身を <img> にすれば、切り替えの仕組みはそのまま使える。 */

.fv{position:relative;background:var(--gray);overflow:hidden;border-bottom:4px solid var(--black)}
.kv{position:relative;padding-top:22px;--sw:min(1100px,calc(100vw - 150px));--gap:18px}
.kv__viewport{overflow:hidden;touch-action:pan-y;-webkit-user-select:none;user-select:none}
.kv__track{display:flex;gap:var(--gap);margin:0;padding:0;list-style:none;will-change:transform}
.kv__track.is-anim{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.kv__slide{flex:none;width:var(--sw);container-type:inline-size;transition:opacity .45s}
.kv__slide:not(.is-active){opacity:.4;cursor:pointer}
.kv__track.no-anim .kv__slide{transition:none}
.kv__viewport.is-drag,.kv__viewport.is-drag *{cursor:grabbing}

/* ---------- バナー共通 ---------- */
.bn{position:relative;display:block;width:100%;aspect-ratio:5/2;overflow:hidden;margin:0;padding:0;border:3px solid var(--black);background:#fff;color:var(--ink);font:inherit;font-weight:700;line-height:1.3;text-align:left;text-decoration:none;cursor:pointer}
.bn > *{position:absolute;display:block}
.bn > .halftone{inset:0}
.bn :is(img,video){display:block;width:100%;height:auto;-webkit-user-drag:none;pointer-events:none}
.bn--image{border:0}
.bn--image > picture{inset:0;pointer-events:none}
.bn--image img{height:100%;object-fit:contain}
.kv--single{padding-bottom:22px}
.kv--single .kv__track{justify-content:center}
.bn__go{right:0;bottom:0;z-index:2;background:var(--black);color:#fff;font-size:1.45cqw;font-weight:900;line-height:1.2;padding:.95cqw 3.6cqw .95cqw 2cqw}
.bn__go::after{content:"";position:absolute;right:1.5cqw;top:50%;width:.8cqw;height:.8cqw;border:solid currentColor;border-width:.3cqw .3cqw 0 0;transform:translateY(-50%) rotate(45deg)}
.bn:hover .bn__go,.bn:focus-visible .bn__go{background:var(--red);color:#fff}

/* ① 月々3,980円〜 */
.bn--main > .halftone{left:44%}
.bn__copy{left:4cqw;top:4.4cqw;width:55cqw}
.bn__copy > span{display:block}
.bn__copy > .bn__band{display:inline-block;background:var(--yellow);font-size:3.3cqw;font-weight:900;line-height:1;padding:.7cqw 1.9cqw .9cqw 1.3cqw;margin-left:.5cqw;transform:skewX(-9deg);box-shadow:.55cqw .55cqw 0 var(--black)}
.bn__copy > .bn__price{display:flex;align-items:center;gap:1cqw;margin-top:2.6cqw}
.bn__circle{flex:none;width:10.6cqw;height:10.6cqw;border-radius:50%;background:var(--red);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:3.4cqw;font-weight:900;line-height:1;transform:skewX(-6deg);box-shadow:0 0 0 .35cqw #fff,0 0 0 .65cqw var(--red)}
.bn__circle small{font-size:1.25cqw;margin:.35cqw 0}
.bn__num{font-size:10.6cqw;line-height:.9;color:var(--black);display:inline-block;transform:skewX(-10deg);text-shadow:.45cqw .45cqw 0 var(--yellow);letter-spacing:-.02em}
.bn__kara{font-size:2.5cqw;font-weight:900;line-height:.95;transform:skewX(-9deg)}
.bn__sub{font-size:2cqw;font-weight:900;margin-top:2.4cqw}
.bn__sub b{color:var(--red)}
.bn__copy > .bn__disc{display:inline-block;margin-top:1.9cqw;border:2px solid var(--black);background:#fff;padding:.5cqw 1cqw;font-size:max(1.2cqw,11px);line-height:1.5}
.bn__car{right:3.8cqw;top:3.2cqw;width:37cqw}
.bn__car > :is(img,video){border:3px solid var(--black);background:#fff;box-shadow:.9cqw .9cqw 0 var(--red)}
.bn__tag{position:absolute;left:3%;top:6%;z-index:1;background:var(--red);color:#fff;font-weight:900;font-size:1.8cqw;line-height:1.3;padding:.3cqw 1.2cqw;border:.25cqw solid var(--yellow);transform:skewX(-8deg)}
.bn__label{position:absolute;right:-1.6cqw;bottom:-4.6cqw;background:#fff;border:3px solid var(--black);padding:.7cqw 1.4cqw;line-height:1.3;box-shadow:.5cqw .5cqw 0 var(--yellow)}
.bn__label > *{display:block}
.bn__label .mk{font-size:1.1cqw}
.bn__label b{font-size:2.2cqw;font-weight:900}
.bn__label b small{font-size:1.3cqw}
.bn__label > span:last-child{font-size:1.3cqw}
.bn__label s{text-decoration-color:var(--red);text-decoration-thickness:2px}
.bn__label em{font-style:normal;color:var(--red);font-size:2cqw}

/* ② 今月の特別価格車 */
.bn--pick{background:var(--yellow)}
.bn__head{left:0;top:0;bottom:0;width:33cqw;background:var(--black);color:#fff;padding:3.6cqw 5cqw 0 3.4cqw;clip-path:polygon(0 0,100% 0,84% 100%,0 100%)}
.bn__head > span{display:block}
.bn__kicker{font-size:1.5cqw;font-weight:900;color:var(--yellow)}
.bn--pick .bn__h{font-size:4.6cqw;font-weight:900;line-height:1.12;margin-top:.7cqw}
.bn__head > .bn__pill{display:inline-block;margin-top:1.8cqw;background:var(--red);color:#fff;font-size:1.9cqw;font-weight:900;line-height:1.3;padding:.4cqw 1.4cqw;transform:skewX(-9deg)}
.bn__maxcut{margin-top:2.4cqw;font-size:1.5cqw;font-weight:900;line-height:1.25}
.bn__maxcut .num{display:inline-block;font-size:3.8cqw;color:var(--yellow);transform:skewX(-8deg);margin:.2cqw .3cqw 0 0}
.bn__cars{display:grid}
.bn--pick .bn__cars{left:32.4cqw;right:3.4cqw;top:4.4cqw;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6cqw}
.bn__c{position:relative;display:block;background:#fff;border:3px solid var(--black);padding:.8cqw 1cqw 1cqw;line-height:1.25}
.bn__c > *{display:block}
.bn__c > .bn__ctag{position:absolute;left:-3px;top:-3px;z-index:1;background:var(--red);color:#fff;font-size:1.2cqw;font-weight:900;line-height:1.3;padding:.25cqw .8cqw}
.bn__c > img{aspect-ratio:3/2;object-fit:contain}
.bn__c .mk{font-size:1cqw;margin-top:.3cqw}
.bn__cn{font-size:1.9cqw;font-weight:900;margin-top:.3cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bn__cn small{font-size:1.2cqw;margin-left:.4em}
.bn__cw{font-size:1.15cqw;color:var(--sub)}
.bn__cw s{text-decoration-color:var(--red);text-decoration-thickness:2px}
.bn__cp{font-size:1.4cqw;font-weight:900;color:var(--red);line-height:1;margin-top:.2cqw}
.bn__cp small{font-size:1.4cqw}
.bn__cp .num{font-size:3.6cqw;display:inline-block;transform:skewX(-8deg);margin:0 .15em}

/* ③ 月額にコミコミ */
.bn--komi{background:var(--red);color:#fff}
.bn__stripe{left:0;right:0;top:0;height:1.6cqw;background:linear-gradient(112deg,var(--black) 0 46%,var(--yellow) 46% 72%,var(--black) 72%)}
.bn--komi .bn__h{left:4cqw;top:5cqw;font-size:4.3cqw;font-weight:900;line-height:1.18}
.bn--komi .bn__h em{font-style:normal;color:var(--yellow)}
.bn__icons{left:4cqw;top:18.6cqw;display:flex!important;gap:2.2cqw}
.bn__icons > span{display:flex;flex-direction:column;align-items:center;gap:.8cqw;width:10.6cqw;font-size:1.6cqw;font-weight:900;line-height:1.2;text-align:center;white-space:nowrap}
.bn__icons svg{width:9.6cqw;height:9.6cqw;padding:2cqw;border-radius:50%;background:#fff;fill:none;stroke:var(--black);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bn__burst{right:8cqw;top:5.4cqw;width:27cqw;height:27cqw;display:flex!important;align-items:center;justify-content:center;background:var(--yellow);color:var(--red);font-weight:900;line-height:1;text-align:center;clip-path:polygon(50% 0,61% 13%,77% 6%,80% 22%,96% 24%,90% 40%,100% 52%,88% 63%,94% 79%,77% 81%,72% 97%,58% 89%,45% 100%,36% 86%,19% 93%,17% 76%,1% 72%,10% 57%,0 43%,13% 33%,8% 16%,25% 16%,30% 2%,43% 11%)}
.bn__burst .skew{font-size:4cqw}
.bn__burst small{display:block;font-size:3.4cqw;margin-bottom:.2cqw;color:var(--black)}
.bn__burst b{font-size:12cqw;font-weight:400;margin-right:.05em}
.bn__note{left:4cqw;bottom:2.4cqw;font-size:max(1.3cqw,11px)}

/* ④ 3問診断 */
.bn--quiz{background:var(--black);color:#fff}
.bn--quiz > .halftone{left:48%;opacity:.9}
.bn--quiz .bn__h{left:4cqw;top:4cqw;font-size:4.6cqw;font-weight:900;line-height:1.15;color:var(--yellow)}
.bn--quiz .bn__h small{display:block;font-size:2.2cqw;color:#fff;margin-bottom:.9cqw}
.bn__qs{left:4cqw;top:22.4cqw;display:flex!important;flex-wrap:wrap;gap:1cqw}
.bn__qs > span{background:#fff;color:var(--ink);border:.25cqw solid var(--black);border-radius:999px;box-shadow:inset 0 0 0 .25cqw #fff,inset 0 0 0 .5cqw var(--yellow);font-size:1.6cqw;font-weight:900;line-height:1.2;padding:.9cqw 1.6cqw;white-space:nowrap}
.bn__qs b{color:var(--red);margin-right:.35em;font-weight:400}
.bn--quiz .bn__sub{left:4cqw;top:29.6cqw;margin:0;font-size:1.55cqw;font-weight:700;color:#ddd}
.bn--quiz .bn__cars--q{right:4cqw;top:6.4cqw;width:45cqw;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4cqw}
.bn__cars--q .bn__c{padding-top:2.9cqw}
.bn__cars--q .bn__c > .bn__ctag{left:-3px;right:-3px;background:var(--yellow);color:var(--black);text-align:center;font-size:1.15cqw;padding:.45cqw 0}
.bn__cars--q .bn__cn{text-align:center;font-size:1.7cqw}
.bn--quiz .bn__go{background:var(--yellow);color:var(--black)}

/* ⑤ Web仮審査 */
.bn--web{background:#fff}
.bn__panel{left:50cqw;right:0;top:0;bottom:0;background:var(--yellow);clip-path:polygon(9cqw 0,100% 0,100% 100%,0 100%)}
.bn--web .bn__h{left:4cqw;top:4.2cqw;font-size:6.4cqw;font-weight:900;line-height:1;letter-spacing:-.01em}
.bn--web .bn__h small{display:block;font-size:2.3cqw;color:var(--red);margin-top:1.3cqw;letter-spacing:0}
.bn__badges{left:4cqw;top:17.6cqw;display:flex!important;gap:1.5cqw}
.bn__badges > span{display:flex;align-items:center;justify-content:center;width:8.6cqw;height:8.6cqw;border-radius:50%;background:var(--red);color:#fff;font-size:1.55cqw;font-weight:900;line-height:1.15;text-align:center;transform:skewX(-6deg);box-shadow:0 0 0 .3cqw #fff,0 0 0 .55cqw var(--red)}
.bn--web .bn__disc{left:4cqw;top:29.6cqw;width:38.5cqw;border:2px solid var(--black);background:#fff;padding:.5cqw 1cqw;font-size:max(1.25cqw,11px);line-height:1.5}
.bn__phone{left:43.5cqw;top:3.4cqw;width:14.4cqw;height:33cqw;background:#fff;border:.6cqw solid var(--black);border-radius:1.8cqw;padding:1.5cqw 1.1cqw 1.4cqw;display:flex!important;flex-direction:column;gap:.7cqw;box-shadow:.8cqw .8cqw 0 rgba(0,0,0,.18)}
.bn__phone > span{display:block}
.bn__ph-top{font-size:1.1cqw;font-weight:900}
.bn__ph-top b{color:var(--red)}
.bn__ph-bar{height:.55cqw;background:var(--gray)}
.bn__ph-bar i{display:block;width:33%;height:100%;background:var(--red)}
.bn__ph-f{font-size:.9cqw;color:var(--sub);margin-top:.5cqw}
.bn__ph-f::after{content:"";display:block;height:2.3cqw;margin-top:.3cqw;border:.15cqw solid #bbb;background:#fafafa}
.bn__ph-btn{margin-top:auto;background:var(--yellow);border:.2cqw solid var(--black);border-radius:999px;text-align:center;font-size:1.15cqw;font-weight:900;padding:.6cqw 0}
.bn__steps{left:63cqw;right:4cqw;top:5.4cqw;display:flex!important;flex-direction:column;gap:1.4cqw}
.bn__steps > span{display:flex;align-items:center;gap:1.2cqw;background:#fff;border:3px solid var(--black);padding:.9cqw 1.2cqw;font-size:1.7cqw;font-weight:900;line-height:1.3}
.bn__steps b{flex:none;display:flex;align-items:center;justify-content:center;width:3.4cqw;height:3.4cqw;background:var(--black);color:var(--yellow);font-size:2cqw;font-weight:400}

/* ---------- 矢印・タブ・一時停止 ---------- */
.kv__arrow{position:absolute;z-index:3;top:calc(22px + var(--sw) * .2);transform:translateY(-50%);width:50px;height:50px;border-radius:50%;border:3px solid var(--black);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.kv__arrow::before{content:"";width:12px;height:12px;border:solid var(--black);border-width:3px 3px 0 0;transform:translateX(-2px) rotate(45deg)}
.kv__arrow--prev{left:calc(50% - var(--sw) / 2 - 25px)}
.kv__arrow--next{right:calc(50% - var(--sw) / 2 - 25px)}
.kv__arrow--prev::before{transform:translateX(2px) rotate(-135deg)}
.kv__arrow:hover{background:var(--yellow)}
.kv__bar{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:12px;padding-bottom:16px}
.kv__tabs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.kv__tab{position:relative;overflow:hidden;min-width:128px;border:2px solid var(--black);background:#fff;color:var(--ink);font:inherit;font-size:13px;font-weight:900;line-height:1.2;padding:8px 12px 10px;cursor:pointer}
.kv__tab:hover{background:var(--yellow)}
.kv__tab[aria-current="true"]{background:var(--black);color:#fff}
.kv__tab i{position:absolute;left:0;bottom:0;width:0;height:4px;background:var(--yellow)}
.kv__tab[aria-current="true"] i{animation:kvprog var(--kvt,5s) linear forwards}
.kv.is-paused .kv__tab i{animation-play-state:paused}
.kv.is-stopped .kv__tab i{animation:none;width:0}
@keyframes kvprog{to{width:100%}}
.kv__play{display:flex;align-items:center;gap:6px;border:0;background:none;color:var(--sub);font:inherit;font-size:12.5px;font-weight:700;padding:6px 4px;cursor:pointer;white-space:nowrap}
.kv__play::before{content:"";box-sizing:border-box;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}
.kv__play[aria-pressed="true"]::before{width:0;height:0;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent currentColor}

@media (prefers-reduced-motion:reduce){
  .kv__track.is-anim{transition-duration:.01s}
}

@media (max-width:960px){
  .kv{--sw:calc(100vw - 110px)}
  .kv__arrow{width:42px;height:42px}
  .kv__arrow--prev{left:calc(50% - var(--sw) / 2 - 21px)}
  .kv__arrow--next{right:calc(50% - var(--sw) / 2 - 21px)}
}

/* ---------- スマホ：正方形のバナーに組み替え ---------- */
@media (max-width:760px){
  .kv{--sw:calc(100vw - 44px);--gap:8px;padding-top:14px}
  .bn{aspect-ratio:1/1}
  .kv__arrow{display:none}
  .kv__bar{padding-top:10px;padding-bottom:12px;gap:8px}
  .kv__tabs{gap:7px}
  .kv__tab{min-width:0;width:11px;height:11px;padding:0;border-radius:999px;font-size:0;transition:width .3s}
  .kv__tab span{display:none}
  .kv__tab[aria-current="true"]{width:34px}
  .kv__tab i{height:100%}
  .kv__play{font-size:11.5px}

  .bn__go{font-size:3.6cqw;padding:2.3cqw 8.4cqw 2.3cqw 4.4cqw}
  .bn__go::after{right:3.4cqw;width:1.9cqw;height:1.9cqw;border-width:.7cqw .7cqw 0 0}

  /* ① */
  .bn--main > .halftone{left:20%}
  .bn__copy{left:5cqw;top:5cqw;width:90cqw}
  .bn__copy > .bn__band{font-size:6.2cqw;padding:1.3cqw 3.4cqw 1.7cqw 2.3cqw;box-shadow:1cqw 1cqw 0 var(--black)}
  .bn__copy > .bn__price{gap:2cqw;margin-top:3.6cqw}
  .bn__circle{width:17.6cqw;height:17.6cqw;font-size:5.6cqw;box-shadow:0 0 0 .6cqw #fff,0 0 0 1.1cqw var(--red)}
  .bn__circle small{font-size:2.3cqw;margin:.6cqw 0}
  .bn__num{font-size:17.6cqw;text-shadow:.8cqw .8cqw 0 var(--yellow)}
  .bn__kara{font-size:4.4cqw}
  .bn__sub{font-size:4.3cqw;margin-top:3cqw}
  .bn__copy > .bn__disc{position:absolute;left:0;top:47cqw;width:34cqw;margin:0;padding:1cqw 1.6cqw;font-size:max(3cqw,10.5px)}
  .bn__car{right:4cqw;top:49cqw;width:54cqw}
  .bn__car > :is(img,video){box-shadow:1.6cqw 1.6cqw 0 var(--red)}
  .bn__tag{font-size:3.4cqw;padding:.5cqw 2cqw;border-width:.5cqw}
  .bn__label{display:none}

  /* ② */
  .bn__head{right:0;bottom:auto;width:auto;height:35cqw;padding:5cqw 5cqw 0;clip-path:polygon(0 0,100% 0,100% 80%,0 100%)}
  .bn__kicker{font-size:3.4cqw}
  .bn--pick .bn__h{font-size:8cqw;margin-top:1cqw}
  .bn--pick .bn__h br{display:none}
  .bn__head > .bn__pill{font-size:3.8cqw;margin-top:2.6cqw;padding:.6cqw 2.6cqw;vertical-align:middle}
  .bn__head > .bn__maxcut{display:inline-block;margin:2.6cqw 0 0 3.6cqw;font-size:3.3cqw;vertical-align:middle}
  .bn__maxcut br{display:none}
  .bn__maxcut .num{font-size:6cqw;margin:0 .4cqw}
  .bn--pick .bn__cars{left:4cqw;right:4cqw;top:39cqw;gap:2cqw}
  .bn__c{padding:1.4cqw 1.4cqw 1.8cqw}
  .bn__c > .bn__ctag{font-size:2.5cqw;padding:.4cqw 1.4cqw}
  .bn__c .mk{font-size:2.2cqw;margin-top:.8cqw}
  .bn__cn{font-size:3.5cqw;margin-top:.6cqw}
  .bn__cn small{display:block;font-size:2.4cqw;margin:0}
  .bn__cw{font-size:2.4cqw}
  .bn__cp{font-size:2.8cqw;margin-top:.6cqw}
  .bn__cp small{display:block;font-size:2.6cqw;margin-bottom:.4cqw}
  .bn__cp .num{font-size:6cqw;margin-left:0}

  /* ③ */
  .bn__stripe{height:3cqw}
  .bn--komi .bn__h{left:6cqw;top:9cqw;font-size:7cqw}
  .bn__burst{right:3cqw;top:5cqw;width:32cqw;height:32cqw}
  .bn__burst small{font-size:4.4cqw}
  .bn__burst b{font-size:15cqw}
  .bn__burst .skew{font-size:5.2cqw}
  .bn__icons{left:5cqw;right:5cqw;top:45cqw;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:2cqw}
  .bn__icons > span{width:auto;font-size:3.3cqw;gap:1.6cqw;white-space:normal}
  .bn__icons svg{width:18cqw;height:18cqw;padding:3.8cqw}
  .bn__note{left:6cqw;bottom:5.4cqw;font-size:max(3cqw,10.5px)}

  /* ④ */
  .bn--quiz > .halftone{left:30%;bottom:auto;height:55%}
  .bn--quiz .bn__h{left:5cqw;top:6cqw;font-size:8cqw}
  .bn--quiz .bn__h small{font-size:4.4cqw;margin-bottom:1.6cqw}
  .bn__qs{left:5cqw;right:3cqw;top:37cqw;gap:1.2cqw;flex-wrap:nowrap}
  .bn__qs > span{font-size:2.85cqw;padding:1.6cqw 1.9cqw;border-width:.5cqw;box-shadow:inset 0 0 0 .5cqw #fff,inset 0 0 0 1cqw var(--yellow)}
  .bn--quiz .bn__sub{display:none}
  .bn--quiz .bn__cars--q{left:5cqw;right:5cqw;top:51cqw;width:auto;gap:2.4cqw}
  .bn__cars--q .bn__c{padding-top:5.6cqw}
  .bn__cars--q .bn__c > .bn__ctag{font-size:2.5cqw;padding:.9cqw 0}
  .bn__cars--q .bn__cn{font-size:3.4cqw}

  /* ⑤ */
  .bn__panel{left:0;top:53cqw;clip-path:polygon(0 6cqw,100% 0,100% 100%,0 100%)}
  .bn--web .bn__h{left:6cqw;top:6cqw;font-size:11cqw}
  .bn--web .bn__h small{font-size:4.4cqw;margin-top:2.4cqw}
  .bn__badges{left:6cqw;top:28cqw;gap:2.8cqw}
  .bn__badges > span{width:15cqw;height:15cqw;font-size:2.9cqw;box-shadow:0 0 0 .5cqw #fff,0 0 0 1cqw var(--red)}
  .bn--web .bn__disc{left:6cqw;top:45.6cqw;width:60cqw;border:0;padding:0;background:none;font-size:max(2.8cqw,10px)}
  .bn__phone{left:auto;right:6cqw;top:5cqw;width:25cqw;height:47cqw;border-width:1cqw;border-radius:3.4cqw;padding:2.6cqw 1.9cqw 2.4cqw;gap:1.2cqw}
  .bn__ph-top{font-size:2cqw}
  .bn__ph-bar{height:1cqw}
  .bn__ph-f{font-size:1.7cqw;margin-top:.6cqw}
  .bn__ph-f::after{height:3.8cqw;margin-top:.5cqw}
  .bn__ph-btn{font-size:2.1cqw;padding:1cqw 0}
  .bn__steps{left:6cqw;right:6cqw;top:59.4cqw;gap:1.2cqw}
  .bn__steps > span{font-size:3.5cqw;padding:1.1cqw 2cqw;gap:2.4cqw;border-width:2px}
  .bn__steps b{width:5.6cqw;height:5.6cqw;font-size:3.4cqw}
}
