@font-face {
  font-family: Tazugane;
  src: url('images/recruit.kaonavi.jp/wp/wp-content/themes/kaonavi_recruit/assets/static/font/TazuganeGothicStdN-Medium.otf');
  font-weight: 500;
}
:root { --site-width: 480px; --rail-width: max(0px, calc((100vw - var(--site-width)) / 2)); --brand-white: #FFFFFF; --brand-orange: #FB6C07; --brand-yellow: #FFDA1B; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
body { background: #f0f1f5; color: #202226; font-family: Tazugane, sans-serif; }
.site-wrapper { width: 100%; max-width: var(--site-width); height: 100dvh; margin: 0 auto; background: white; }
#mobile-site { display: block; width: 100%; height: 100%; border: 0; }
.desktop-rail { display: none; position: fixed; top: 50%; transform: translateY(-50%); width: var(--rail-width); padding: 16px; }
.desktop-rail--left { left: 0; justify-content: center; }
.desktop-rail--left img { width: 234px; max-width: 100%; height: auto; }
.desktop-rail--right { right: 0; flex-direction: column; align-items: center; gap: 14px; }
.rail-cta { display: flex; align-items: center; justify-content: center; position: relative; width: 160px; max-width: 100%; height: 60px; border: 4px solid #ffda1b; border-radius: 999px; background: #ffffff; color: #202226; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; overflow: hidden; transition: color .3s ease-out; }
.rail-cta:last-child { background: var(--brand-orange); border-color: var(--brand-orange); }
.rail-cta::before { content: ''; position: absolute; inset: 0; background: var(--brand-yellow); clip-path: polygon(0 50%,100% 50%,100% 50%,0 50%); transition: clip-path .3s ease-out; z-index: -1; }
.rail-cta:last-child::before { background: var(--brand-yellow); }
.rail-cta:hover { color: #202226; isolation: isolate; }
.rail-cta:hover::before { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); }
.rail-cta:focus-visible { outline: 2px solid #202226; outline-offset: 4px; }
@media (min-width: 768px) { .desktop-rail { display: flex; } }
@media (prefers-reduced-motion: reduce) { .rail-cta, .rail-cta::before { transition: none; } }

.rail-cta:last-child { background: linear-gradient(180deg, var(--brand-yellow), var(--brand-orange)); }

.desktop-rail--left .type-rail-logo { width: 234px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }

@media (min-width:768px) { body { background: #fff url("images/desktop-background.webp") center / cover no-repeat; } }
