/* Root — interaction effects (2026-11) */

/* 1. skeleton shimmer while images / videos load */
.rt-skel{background-color:#EEECE8 !important;background-image:linear-gradient(100deg,rgba(255,255,255,0) 20%,rgba(255,255,255,.65) 50%,rgba(255,255,255,0) 80%) !important;background-size:220% 100% !important;background-repeat:no-repeat !important;animation:rtSkel 1.3s ease-in-out infinite !important;color:transparent}
.view-pc section[style*="#221B14"] .rt-skel,.view-sp section[style*="#221B14"] .rt-skel,video.rt-skel{background-color:#2E2620 !important;background-image:linear-gradient(100deg,rgba(255,255,255,0) 20%,rgba(255,255,255,.08) 50%,rgba(255,255,255,0) 80%) !important}
@keyframes rtSkel{0%{background-position:120% 0}100%{background-position:-120% 0}}

/* 2. page-to-page loading: thin progress bar + spinner */
.rt-pbar{position:fixed;left:0;top:0;height:3px;width:0;background:#F2661F;z-index:10000;opacity:0;pointer-events:none;box-shadow:0 0 10px rgba(242,102,31,.6)}
html.rt-leaving .rt-pbar{opacity:1;animation:rtBar 2.4s cubic-bezier(.1,.7,.2,1) forwards}
@keyframes rtBar{0%{width:0}60%{width:72%}100%{width:90%}}
.rt-spin{position:fixed;right:22px;bottom:22px;z-index:10000;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#FFFFFF;box-shadow:0 8px 24px rgba(34,27,20,.18);opacity:0;transform:scale(.8);transition:opacity .2s ease,transform .2s ease;pointer-events:none}
html.rt-leaving-slow .rt-spin{opacity:1;transform:scale(1)}
.rt-spin-ring,.rt-busy::after{display:block;width:24px;height:24px;border-radius:50%;border:3px solid rgba(242,102,31,.22);border-top-color:#F2661F;animation:rtSpin .8s linear infinite}
.rt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@keyframes rtSpin{to{transform:rotate(360deg)}}
/* sending forms: spinner inside the button */
.rt-busy{position:relative;color:transparent !important}
.rt-busy > *{visibility:hidden}
.rt-busy::after{content:"";position:absolute;left:50%;top:50%;margin:-12px 0 0 -12px;border-color:rgba(255,255,255,.35);border-top-color:#FFFFFF}

/* 3. mouse stalker (PC) — 50px ring following the pointer; grows into a filled disc over links */
.rt-ring{position:fixed;left:0;top:0;z-index:9999;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .3s ease}
.rt-ring::before{content:"";position:absolute;left:0;top:0;width:50px;height:50px;border:2px solid #F2661F;border-radius:50%;background:transparent;box-sizing:border-box;transform:translate(-50%,-50%);transition:width .4s ease,height .4s ease,background .4s ease,border-color .4s ease,opacity .3s ease}
.rt-ring::after{content:"";position:absolute;left:0;top:0;width:8px;height:8px;border-radius:50%;background:#fff;transform:translate(-50%,-50%);opacity:0;transition:opacity .2s ease}
html.rt-stalk-on .rt-ring{opacity:1}
html.rt-stalk-hover .rt-ring::before{width:108px;height:108px;border-color:transparent;background:rgba(242,102,31,.35)}
html.rt-stalk-hover .rt-ring::after{opacity:1;transition:opacity .4s ease .2s}
html.rt-stalk-hover a,html.rt-stalk-hover button,html.rt-stalk-hover [role="button"],html.rt-stalk-hover label,html.rt-stalk-hover summary{cursor:none}
html.rt-stalk-down .rt-ring::before{width:40px;height:40px}
html.rt-stalk-down.rt-stalk-hover .rt-ring::before{width:92px;height:92px}
html.rt-stalk-text .rt-ring::before{opacity:.35;width:30px;height:30px}
@media (hover:none),(pointer:coarse){.rt-ring{display:none}}


/* 5. parallax: give the moving media a little extra size so no edge shows */
.rt-plx{scale:1.12;will-change:translate}
@media (prefers-reduced-motion:reduce){.rt-plx{scale:1;translate:none !important}}

/* 7. slider dots */
.rt-dots{display:flex;justify-content:center;gap:8px;padding:14px 0 4px}
.rt-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(34,27,20,.2);cursor:pointer;transition:width .35s cubic-bezier(.2,.7,.2,1),background .35s ease}
.rt-dot.is-on{width:24px;background:#F2661F}
section[style*="#221B14"] .rt-dot:not(.is-on){background:rgba(255,255,255,.3)}
[data-rt-slider]{cursor:grab}
[data-rt-slider].is-drag{cursor:grabbing;user-select:none}
@media (hover:none){[data-rt-slider]{cursor:auto}}

/* 8. accordions (SP privacy policy) */
.rt-acc-h{cursor:pointer;position:relative;padding-right:44px}
.rt-acc-btn{position:absolute;right:0;top:50%;margin-top:-16px;width:32px;height:32px;padding:0;border:1.5px solid #F2661F;border-radius:50%;background:#FFFFFF;cursor:pointer}
.rt-acc-sign::before,.rt-acc-sign::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;background:#F2661F;transition:transform .3s ease}
.rt-acc-sign::after{transform:rotate(90deg)}
.rt-acc-btn[aria-expanded="true"] .rt-acc-sign::after{transform:rotate(0deg)}
.rt-acc-body{overflow:hidden;transition:height .4s cubic-bezier(.2,.7,.2,1)}
.rt-acc-inner{display:grid;gap:12px;padding-top:4px}
section[id^="p"]:not(.is-open) > .rt-acc-h{color:#221B14}

/* 9. booking step indicator (/mtg) */
.rt-stepbox{margin-top:20px;padding:18px 24px 20px;border:1.5px solid #F2D3BF;border-radius:16px;background:#FFFFFF;box-shadow:0 6px 20px rgba(34,27,20,.06)}
.rt-stepbox .rt-steps{margin:12px 0 0 !important}
.rt-step-head{display:flex;align-items:baseline;gap:12px;margin:0;font:700 14px 'Noto Sans JP',sans-serif;color:#1F1F1F}
.rt-step-no{font:700 12px 'Archivo',sans-serif;letter-spacing:.12em;color:#C94E10;padding:4px 10px;border-radius:999px;background:#FBF1E6}
.rt-step-no b{font-size:15px}
.rt-step-dot{width:36px !important;height:36px !important;transition:background .35s ease,border-color .35s ease,color .35s ease,box-shadow .35s ease}
.rt-steps li.is-cur .rt-step-dot{box-shadow:0 0 0 0 rgba(201,78,16,.45);animation:rtStepPulse 1.8s ease-out infinite}
@keyframes rtStepPulse{0%{box-shadow:0 0 0 0 rgba(201,78,16,.45)}70%{box-shadow:0 0 0 10px rgba(201,78,16,0)}100%{box-shadow:0 0 0 0 rgba(201,78,16,0)}}
.rt-step-conn{position:relative;overflow:hidden;height:3px !important;border-radius:3px}
.rt-step-conn::after{content:"";position:absolute;inset:0;background:#F2661F;transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.65,0,.35,1)}
.rt-step-conn.is-on::after{transform:scaleX(1)}
.rt-step-line{top:18px !important;height:3px !important;border-radius:3px;overflow:hidden}
.rt-step-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#F2661F;transition:width .5s cubic-bezier(.65,0,.35,1)}
.view-sp .rt-stepbox{padding:14px 12px 16px}
.view-sp .rt-step-head{justify-content:center;font-size:13px}
@media (prefers-reduced-motion:reduce){.rt-steps li.is-cur .rt-step-dot{animation:none}}

/* TOP nav tiles (SERVICE / MISSION / NEWS / RECRUIT / COMPANY / MTG): black panel inverts to white on hover, same as OTHER SERVICES */
@media (hover:hover){
  body[data-page="top"] a.rt-tile > span[style*="background:#221B14"]{transition:background .25s ease,box-shadow .25s ease}
  body[data-page="top"] a.rt-tile > span[style*="background:#221B14"] span[style*="color:#FFFFFF"]{transition:color .25s ease}
  body[data-page="top"] a.rt-tile:hover > span[style*="background:#221B14"]{background:#FFFFFF !important;box-shadow:0 16px 40px rgba(34,27,20,.14),0 0 0 1px #F2661F}
  body[data-page="top"] a.rt-tile:hover > span[style*="background:#221B14"] span[style*="color:#FFFFFF"]{color:#221B14 !important}
}
