/* 共感講座の英語・ベトナム語ページのMV（キャラがジャンプする部分）。kyokan-cta.css の .dr-cmv 部分の写し */
.dr-cmv{position:relative;overflow:hidden;box-sizing:border-box;width:100%;align-self:stretch;background:var(--dr-cta-soft,#fff4f5);margin-top:80px;padding:72px max(40px,calc((100% - 1200px)/2)) 0;min-height:520px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);align-items:end;color:#4a4446;font-family:'Noto Sans JP',sans-serif}
.dr-cmv__copy{position:relative;z-index:2;align-self:center;padding-bottom:48px}
.dr-cmv__lead{font-weight:700;font-size:15px;letter-spacing:.12em;line-height:1.9;margin:0 0 10px;position:relative;display:inline-block;padding:0 22px}
.dr-cmv__lead::before,.dr-cmv__lead::after{content:"";position:absolute;top:8px;bottom:8px;width:2px;background:#e8848d}
.dr-cmv__lead::before{left:0;transform:rotate(-20deg)}.dr-cmv__lead::after{right:0;transform:rotate(20deg)}
.dr-cmv__ttl{margin:4px 0 22px;line-height:0}.dr-cmv__ttl img{display:block;width:min(400px,30vw);height:auto}
.dr-cmv__tags{display:flex;flex-wrap:wrap;gap:9px 11px;margin:0;padding:0;list-style:none;max-width:420px;width:100%}
.dr-cmv__tags li{display:block;background:#e8848d;color:#fff;font-weight:700;font-size:14px;line-height:30px;height:30px;letter-spacing:.06em;padding:0 11px;border-radius:2px;list-style:none;white-space:nowrap}
.dr-cmv__tags li b{font-size:1.2em;line-height:0}
.dr-cmv__shuffle{margin-top:20px;border:2px solid #c9505f;background:#fff;color:#c9505f;font:700 13px 'Noto Sans JP',sans-serif;letter-spacing:.06em;padding:7px 14px;border-radius:999px;cursor:pointer}
.dr-cmv__shuffle:hover{background:#c9505f;color:#fff}
.dr-cmv__stage{position:relative;z-index:1;box-sizing:border-box;height:478px;padding-bottom:28px;display:flex;align-items:flex-end;justify-content:center}
.dr-cmv__ch{--k:.56;position:relative;border:0;background:none;padding:0;cursor:pointer;margin:0 -6px;height:calc(var(--h)*var(--k)*1px);transform-origin:50% 100%;animation:drCmvPop .7s cubic-bezier(.3,1.6,.5,1) both;-webkit-tap-highlight-color:transparent;font:inherit}
.dr-cmv__ch:nth-child(1){animation-delay:.3s}.dr-cmv__ch:nth-child(2){animation-delay:.1s;z-index:2}.dr-cmv__ch:nth-child(3){animation-delay:.5s}
.dr-cmv__ch img{display:block;height:100%;width:auto;max-width:none;pointer-events:none}
.dr-cmv__idle{display:block;height:100%;transform-origin:50% 100%;animation:drCmvSway 3.2s ease-in-out infinite}
.dr-cmv__ch:nth-child(3) .dr-cmv__idle{animation-delay:-1.5s}
.dr-cmv__ch.is-hero .dr-cmv__idle{animation-duration:4s}
.dr-cmv__ch.is-small .dr-cmv__idle{animation:drCmvBounce 1.1s ease-in-out infinite}
.dr-cmv__ch.is-hop{animation:drCmvHop .55s ease}
.dr-cmv__ch.is-talk{z-index:5}
.dr-cmv__bubble{position:absolute;left:50%;bottom:calc(100% + 14px);transform:translate(-50%,8px) scale(.6);opacity:0;background:#fff;border:2.5px solid #3b3638;border-radius:18px;padding:9px 14px;font-weight:900;font-size:15px;line-height:1.5;letter-spacing:.04em;white-space:nowrap;color:#3b3638;transition:.25s cubic-bezier(.3,1.6,.5,1);pointer-events:none;z-index:5}
.dr-cmv__bubble::after{content:"";position:absolute;left:50%;top:100%;width:14px;height:14px;background:#fff;border:2.5px solid #3b3638;border-top:0;border-left:0;transform:translate(-50%,-7px) rotate(45deg)}
.dr-cmv__ch.is-talk .dr-cmv__bubble{opacity:1;transform:translate(-50%,0) scale(1)}
.dr-cmv__ch.is-small .dr-cmv__bubble{bottom:calc(100% + 8px)}
.dr-cmv__ch.is-hero .dr-cmv__bubble{font-size:16px;padding:10px 16px}
.dr-cmv__ch:first-child .dr-cmv__bubble{left:8px;transform:translate(0,8px) scale(.6);transform-origin:20% 100%}
.dr-cmv__ch:first-child.is-talk .dr-cmv__bubble{transform:none}
.dr-cmv__ch:first-child .dr-cmv__bubble::after{left:36px}
.dr-cmv__ch:last-child .dr-cmv__bubble{left:auto;right:4px;transform:translate(0,8px) scale(.6);transform-origin:80% 100%}
.dr-cmv__ch:last-child.is-talk .dr-cmv__bubble{transform:none}
.dr-cmv__ch:last-child .dr-cmv__bubble::after{left:auto;right:22px;transform:translate(0,-7px) rotate(45deg)}
@keyframes drCmvPop{0%{opacity:0;transform:translateY(60px) scale(.8)}100%{opacity:1;transform:none}}
@keyframes drCmvHop{0%,100%{transform:none}35%{transform:translateY(-34px) rotate(-3deg)}60%{transform:scaleY(.94)}}
@keyframes drCmvSway{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}
@keyframes drCmvBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.dr-cmv__ch,.dr-cmv__idle,.dr-cmv__ch.is-hop{animation:none}}
@media (max-width:1100px) and (min-width:841px){.dr-cmv{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)}.dr-cmv__ch{--k:.44}.dr-cmv__stage{height:360px;padding-bottom:24px}.dr-cmv{padding-left:32px;padding-right:24px;padding-top:40px;min-height:0}}
@media (max-width:840px){
 .dr-cmv{margin-top:58px;grid-template-columns:1fr;display:flex;flex-direction:column;align-items:stretch;padding:28px 16px 0;min-height:0;text-align:center}
 .dr-cmv__copy{padding-bottom:4px}
 .dr-cmv__lead{font-size:13px;letter-spacing:.06em}
 .dr-cmv__ttl{margin:2px 0 16px}.dr-cmv__ttl img{width:min(300px,80vw);margin:0 auto}
 .dr-cmv__tags{justify-content:center;gap:8px;margin:0 auto}.dr-cmv__tags li{font-size:12px;height:26px;line-height:26px;padding:0 9px}
 .dr-cmv__shuffle{margin:10px auto 0;font-size:12px}
 .dr-cmv__stage{height:308px;padding-bottom:18px;margin-top:4px}
 .dr-cmv__ch{--k:.31;margin:0 -7px}
 .dr-cmv__bubble{font-size:12px;padding:6px 10px;border-radius:14px}
 .dr-cmv__ch.is-hero .dr-cmv__bubble{font-size:13px;padding:7px 12px}
}
@media (min-width:841px){
 .dr-cmv__ch:first-child:not(.is-in) .dr-cmv__bubble{left:auto;right:10px;transform-origin:80% 100%}
 .dr-cmv__ch:first-child:not(.is-in) .dr-cmv__bubble::after{left:auto;right:26px;transform:translate(0,-7px) rotate(45deg)}
 .dr-cmv__ch:last-child:not(.is-in) .dr-cmv__bubble{right:auto;left:10px;transform-origin:20% 100%}
 .dr-cmv__ch:last-child:not(.is-in) .dr-cmv__bubble::after{right:auto;left:26px}
}
@media (min-width:1101px){
 .dr-cmv{min-height:0;padding-top:48px;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)}
 .dr-cmv__stage{height:455px;padding-bottom:32px}
 .dr-cmv__ch{--k:.52}
}
@media (min-width:1361px){
 .dr-cmv__stage{height:520px;padding-bottom:36px}
 .dr-cmv__ch{--k:.62}
}
/* MV：左の文字も順番にふわっと出す */
.dr-cmv__copy>*{animation:drCmvUp .8s cubic-bezier(.2,.7,.3,1) both}
.dr-cmv__lead{animation-delay:.1s}.dr-cmv__ttl{animation-delay:.25s}.dr-cmv__tags{animation-delay:.45s}.dr-cmv__shuffle{animation-delay:.65s}
@keyframes drCmvUp{0%{opacity:0;transform:translateY(24px)}100%{opacity:1;transform:none}}
/* スマホ：ネコ以外の両端のキャラは、吹き出しを横に出す（ヒーローの顔が隠れないように） */
@media (max-width:840px){
 .dr-cmv__ch:not(.is-hero):not(.is-small) .dr-cmv__bubble{bottom:auto;top:27%;font-size:11.5px;padding:6px 9px;letter-spacing:.02em}
 .dr-cmv__ch:first-child:not(.is-hero):not(.is-small) .dr-cmv__bubble{left:calc(100% + 2px);right:auto;transform:translate(0,0) scale(.6);transform-origin:0 30%}
 .dr-cmv__ch:first-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{left:-8px;right:auto;top:calc(50% - 8px);transform:rotate(135deg)}
 .dr-cmv__ch:last-child:not(.is-hero):not(.is-small) .dr-cmv__bubble{right:calc(100% + 2px);left:auto;transform:translate(0,0) scale(.6);transform-origin:100% 30%}
 .dr-cmv__ch:last-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{right:-8px;left:auto;top:calc(50% - 8px);transform:rotate(-45deg)}
 .dr-cmv__ch:not(.is-hero):not(.is-small).is-talk .dr-cmv__bubble{transform:none}
}
@media (prefers-reduced-motion:reduce){.dr-cmv__copy>*{animation:none}}
/* MV（PC 1101px以上）：左の文字を120%に、キャラクターは少し小さく */
@media (min-width:1101px){
 .dr-cmv{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
 .dr-cmv__lead{font-size:18px;padding:0 26px}
 .dr-cmv__ttl{margin:6px 0 26px}.dr-cmv__ttl img{width:min(480px,34vw)}
 .dr-cmv__tags{max-width:510px;gap:11px 13px}
 .dr-cmv__tags li{font-size:17px;height:36px;line-height:36px;padding:0 13px}
 .dr-cmv__shuffle{margin-top:24px;font-size:16px;padding:9px 18px}
 .dr-cmv__ch{--k:.46}
 .dr-cmv__stage{height:420px}
}
@media (min-width:1361px){
 .dr-cmv__ch{--k:.56}
 .dr-cmv__stage{height:480px}
}
/* キャラクターの登場：上から下りてきて、上から順に見えてくる */
.dr-cmv__ch{animation:none}
.dr-cmv__ch img{transform-origin:50% 100%;animation:drCmvDrop .85s both}
.dr-cmv__ch:nth-child(2) img{animation-delay:.1s}.dr-cmv__ch:nth-child(1) img{animation-delay:.35s}.dr-cmv__ch:nth-child(3) img{animation-delay:.55s}
.dr-cmv__ch.is-hop{animation:drCmvHop .55s ease}
@keyframes drCmvDrop{0%{transform:translateY(-110vh);animation-timing-function:cubic-bezier(.55,0,1,.45)}62%{transform:translateY(0) scaleY(1);animation-timing-function:ease-out}72%{transform:translateY(0) scale(1.04,.94)}84%{transform:translateY(-14px)}100%{transform:none}}
@media (prefers-reduced-motion:reduce){.dr-cmv__ch img{animation:none}}
/* PCで外向きに出すスペースがないとき（.is-in）は、スマホと同じく横（胸のあたり）に出す */
@media (min-width:841px){
 .dr-cmv__ch.is-in .dr-cmv__bubble{bottom:auto;top:27%}
 .dr-cmv__ch:first-child.is-in .dr-cmv__bubble{left:calc(100% + 2px);right:auto;transform:translate(0,0) scale(.6);transform-origin:0 30%}
 .dr-cmv__ch:first-child.is-in .dr-cmv__bubble::after{left:-8px;right:auto;top:calc(50% - 8px);transform:rotate(135deg)}
 .dr-cmv__ch:last-child.is-in .dr-cmv__bubble{right:calc(100% + 2px);left:auto;transform:translate(0,0) scale(.6);transform-origin:100% 30%}
 .dr-cmv__ch:last-child.is-in .dr-cmv__bubble::after{right:-8px;left:auto;top:calc(50% - 8px);transform:rotate(-45deg)}
 .dr-cmv__ch.is-in.is-talk .dr-cmv__bubble{transform:none}
}
/* 横向きの吹き出しの三角を少し小さく */
@media (max-width:840px){
 .dr-cmv__ch:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{width:9px;height:9px;top:calc(50% - 6px)}
 .dr-cmv__ch:first-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{left:-6px}
 .dr-cmv__ch:last-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{right:-6px}
}
@media (min-width:841px){
 .dr-cmv__ch.is-in .dr-cmv__bubble::after{width:10px;height:10px;top:calc(50% - 6px)}
 .dr-cmv__ch:first-child.is-in .dr-cmv__bubble::after{left:-6px}
 .dr-cmv__ch:last-child.is-in .dr-cmv__bubble::after{right:-6px}
}
/* 横向きの三角：中心をふきだしの枠の内側にぴったり合わせる */
@media (max-width:840px){
 .dr-cmv__ch:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{box-sizing:border-box;width:12px;height:12px;top:calc(50% - 6px)}
 .dr-cmv__ch:first-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{left:-6.5px}
 .dr-cmv__ch:last-child:not(.is-hero):not(.is-small) .dr-cmv__bubble::after{right:-6.5px}
}
@media (min-width:841px){
 .dr-cmv__ch.is-in .dr-cmv__bubble::after{box-sizing:border-box;width:13px;height:13px;top:calc(50% - 6.5px)}
 .dr-cmv__ch:first-child.is-in .dr-cmv__bubble::after{left:-7px}
 .dr-cmv__ch:last-child.is-in .dr-cmv__bubble::after{right:-7px}
}
/* 落ちる速さ：ちゃちゃちゃ */
