body.course-persc .fv{background-image:url(../img/referral/fv.webp)}
.ref-fv-sp{display:none}
.fv__num.ref-off{font-size:calc(var(--fs-h2) * .74)}
.ref-lead1{max-width:640px;margin:var(--sp-mid) auto 0;padding:14px 18px;border-radius:var(--r-card);background:var(--course-tint,#E8F4FF);font-weight:var(--fw-bold);text-align:center}
.ref-stairs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:end;margin-top:var(--sp-part,64px);padding-bottom:0;border-bottom:3px solid var(--course)}
.ref-stair{position:relative;border-radius:14px 14px 0 0;padding:20px 14px;text-align:center;display:flex;flex-direction:column;gap:6px;justify-content:flex-start}
.ref-stair__n{font-size:var(--fs-note);font-weight:var(--fw-bold);color:var(--muted)}
.ref-stair__v{font-size:calc(var(--fs-h2) * .8);font-weight:var(--fw-bold);line-height:1.15;color:var(--course)}
.ref-stair__s{font-size:var(--fs-note);font-weight:var(--fw-bold);line-height:1.5}
.ref-stair--0{height:150px;background:#F1F5FB}
.ref-stair--1{height:210px;background:#E2ECF9}
.ref-stair--2{height:270px;background:#C9DCF4}
.ref-stair--3{height:350px;background:var(--course)}
.ref-stair--3 .ref-stair__v{font-size:calc(var(--fs-h2) * 1.1)}
.ref-stair--3 .ref-stair__n,.ref-stair--3 .ref-stair__v,.ref-stair--3 .ref-stair__s{color:#fff}
.ref-stair__tag{position:absolute;top:-14px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:4px 12px;border-radius:999px;background:var(--course);color:#fff;font-size:12px;font-weight:var(--fw-bold)}
.ref-stair--3 .ref-stair__tag{background:#FFF7A8;color:var(--ink)}
.ref-stair__arrow{position:absolute;right:-13px;top:28px;z-index:1;width:12px;height:12px;border-top:3px solid var(--course);border-right:3px solid var(--course);transform:rotate(-45deg)}

.ref-how{position:relative}
.ref-how::before{content:"";position:absolute;left:50%;top:40px;bottom:40px;width:3px;margin-left:-1.5px;background:linear-gradient(var(--course),#C9DCF4)}
.ref-how__row{position:relative}
.ref-how__dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;background:var(--course);border:4px solid #fff;box-shadow:0 0 0 3px var(--course);z-index:1}

.ref-after{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:var(--sp-near)}
.ref-after span{padding:6px 10px;border-radius:999px;background:#E2ECF9;font-size:var(--fs-note);font-weight:var(--fw-bold)}
.ref-after span:last-child{background:var(--course);color:#fff}
.ref-after em{font-style:normal;color:var(--course);font-weight:var(--fw-bold)}
.ref-tier{text-align:center}
.ref-tier .fv__num{display:block;margin-top:var(--sp-tight)}
.ref-tier--goal{border:2px solid var(--course)}
.ref-rules{display:inline-block;margin-top:var(--sp-near);color:var(--course);font-weight:var(--fw-bold)}
.ref-crs{display:flex;flex-direction:column;gap:var(--sp-near)}
.ref-crs img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--r-card);background:#fff}
.ref-crs .btn{margin:auto 0 0;width:100%}
.ref-yen{font-size:var(--fs-note);color:var(--muted)}

.ref-how{display:grid;gap:var(--sp-far);margin-top:var(--sp-part,64px)}
.ref-how__row{display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-far);align-items:center}
.ref-how__row:nth-child(even) .ref-how__fig{order:2}
.ref-how__fig{background:#F3F4F6;border-radius:var(--r-card);padding:28px;display:flex;justify-content:center}
.ref-shot{position:relative;width:100%;max-width:340px}
.ref-shot--wide{max-width:520px}
.ref-shot img{display:block;width:100%;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.10)}
.ref-pin{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;border-radius:50%;background:var(--course);color:#fff;font-weight:var(--fw-bold);font-size:15px;line-height:30px;text-align:center;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.ref-how__txt .num{margin:0}
.ref-pins{list-style:none;margin:var(--sp-near) 0 0;padding:0;display:grid;gap:8px}
.ref-pins li{display:flex;gap:10px;align-items:flex-start}
.ref-pins b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--course);color:#fff;font-size:13px;line-height:24px;text-align:center}
.ref-count{max-width:720px;margin:var(--sp-far) auto 0;padding:16px 20px;border:2px dashed var(--course);border-radius:var(--r-card);text-align:center;font-weight:var(--fw-bold)}
@media (max-width:767px){
  .ref-how::before{left:22px;top:0;bottom:0}
  .ref-how__row{padding-left:56px}
  .ref-how__dot{left:22px;top:6px;transform:translate(-50%,0)}
  .ref-stairs{gap:6px}
  .ref-stair{padding:14px 4px}
  .ref-stair--0{height:120px}.ref-stair--1{height:160px}.ref-stair--2{height:200px}.ref-stair--3{height:250px}
  .ref-stair__v{font-size:18px}
  .ref-stair--3 .ref-stair__v{font-size:24px}
  .ref-stair__s{font-size:11px}
  .ref-stair__tag{font-size:10px;padding:3px 8px}
  .ref-stair__arrow{display:none}
  body.course-persc .fv{background-image:none}
  .fv{aspect-ratio:auto !important;min-height:0 !important;height:auto !important}
  .fv .fv__col{min-height:0 !important;height:auto !important}
  .fv .fv__micro{margin-top:var(--sp-mid) !important}
  .ref-fv-sp{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
  .ref-scroll{display:flex !important;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px !important;margin:0 calc(var(--wpad) * -1);padding:4px var(--wpad) 12px}
  .ref-scroll>*{flex:0 0 84%;scroll-snap-align:center}
  .ref-how__row{grid-template-columns:1fr;gap:var(--sp-mid)}
  .ref-how__row:nth-child(even) .ref-how__fig{order:3}
  .ref-how__fig{padding:18px}

  .ref-how__row{gap:var(--sp-near)}
  .ref-how__txt{display:contents}
  .ref-how__txt>*{order:4}
  .ref-how__txt .num{order:1}
  .ref-how__txt .heading{order:2}
  .ref-how__fig{order:3;margin:var(--sp-tight,8px) 0}
}
