/* Recruit CTA popup - shared style for shop pages (lie/l/ruru).
   Values are kept identical to .cta-popup in assets/css/style.css.
   Declared self-contained (explicit box-sizing/vertical-align/text-decoration)
   because these shop pages use the older css/style.css template, which does not
   set box-sizing:border-box globally like the redesigned top page does.
   The old css/style.css also has a:link/a:visited/a:active { color:#fff }
   (specificity 0,1,1), which beats a plain .cta-popup-btn class (0,1,0) and made
   the "採用情報はこちら" text render white-on-white/invisible. Anchor rules below
   are therefore scoped as ".cta-popup .cta-popup-btn" etc. to win outright.
   It also has a giant reset selector (div,p,span,... { line-height:1 }) that
   applies to .cta-popup-title/.cta-popup-arrow (both <div>s) and is never
   overridden below unless line-height is set explicitly here, which made the
   title wrap differently and shrank the arrow's spacing vs. the top page. */
.cta-popup,
.cta-popup * {
    box-sizing: border-box;
}

.cta-popup {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    width: 390px;
    max-width: 100%;
    padding: 28px 35px 20px;
    background-color: #06C755f0;
    color: #fff;
    border-radius: 20px 0 0 0;
    text-align: center;
    transition: 0.5s ease-in-out;
    font-family: "Noto Sans JP", sans-serif;
}

.cta-popup-arrow {
    position: absolute;
    top: 0;
    left: 40px;
    transform: translateY(-100%);
    background-color: #06C755f0;
    border-radius: 10px 10px 0 0;
    width: 60px;
    line-height: normal;
    cursor: pointer;
}

.cta-popup-arrow img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    transition: 0.3s;
    padding-bottom: 3px;
}

.cta-popup-title {
    font-weight: 900;
    font-size: 21px;
    line-height: normal;
    margin-bottom: 15px;
}

.cta-popup .cta-popup-btn {
    background-color: #fff;
    color: #06C755;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    font-size: 18px;
    line-height: normal;
    margin-top: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.cta-popup .cta-popup-btn:hover {
    opacity: 0.6;
}

.cta-popup .cta-popup-tel {
    color: #fff;
    font-size: 18px;
    line-height: normal;
    margin-top: 15px;
    font-weight: bold;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

.cta-popup .cta-popup-tel:hover {
    text-decoration: underline;
}

.cta-popup.is-close {
    transform: translateY(100%);
    transition: 0.5s ease-in-out;
}

.cta-popup.is-close .cta-popup-arrow img {
    transform: rotate(180deg);
    transition: 0.3s;
}

@media screen and (max-width: 600px) {
    .cta-popup {
        width: 50%;
        padding: 14px 12px 10px;
        border-radius: 12px 0 0 0;
    }
    .cta-popup-arrow {
        width: 32px;
        left: 16px;
    }
    .cta-popup-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .cta-popup .cta-popup-btn {
        font-size: 11px;
        padding: 6px;
        gap: 6px;
        margin-top: 10px;
    }
    .cta-popup .cta-popup-tel {
        font-size: 11px;
        margin-top: 8px;
    }
}
