/* Houjin Banner Styles */
#contents p a {
    color: #C94C72;
}

#contents.houjin-login p {
    color: inherit;
}
.houjin-banner {
    position: relative;
    width: 100%;
    height: 14rem;
    background: url('../images/SP_FV_法人会員ログイン画面.png') center center/cover no-repeat;
    overflow: hidden;
}
.banner-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.houjin-note {
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
}
.membership-guide {
    background-color: #FBF0F0;
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    margin: 1.5rem -1.5rem 5rem -1.5rem;
    animation: fadeIn 0.8s ease 0.2s forwards;
}
.membership-subtitle {
    font-size: 1.4rem !important;
    font-weight: bold;
    color: #D76E6D !important;
    margin-bottom: 0.5rem !important;
}
.membership-destitle {
    font-size: 1.2rem !important;
}
.membership-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #C94C72;
    height: 4.5rem;
    padding: 0 1.5rem;
    border-radius: 2.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 2rem;
    width: 26.5rem;
    text-align: center;
    box-sizing: border-box;
}
.membership-cta-text {
    font-size: 1.8rem !important;
    color: white !important;
    margin-bottom: 0 !important;
}
.membership-cta span {
    font-size: 2.2rem;
}
.membership-cta::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #C94C72;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}
.benefit-item {
    background: white;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
}
.benefit-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.benefit-icon {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}
.benefit-item:nth-child(1) .benefit-icon {
    background: url('../images/benefit-icon-1.svg') center center/contain no-repeat;
}
.benefit-item:nth-child(2) .benefit-icon {
    background: url('../images/benefit-icon-2.svg') center center/contain no-repeat;
}
.benefit-item:nth-child(3) .benefit-icon {
    background: url('../images/benefit-icon-3.svg') center center/contain no-repeat;
}
.benefit-item:nth-child(4) .benefit-icon {
    background: url('../images/benefit-icon-4.svg') center center/contain no-repeat;
}
.benefit-item:nth-child(5) .benefit-icon {
    background: url('../images/benefit-icon-5.svg') center center/contain no-repeat;
}
#contents p.benefit-title {
    font-size: 1.4rem !important;
    font-weight: bold;
    color:#D76E6D !important;
    display: inline-flex;
    align-items: flex-end;
    margin-top: 0;
    margin-bottom: 1rem;
}
#contents .benefit-description {
    text-align: left;
    font-size: 1.2rem !important;
    margin-bottom: 0;
    min-height: 54px;
}
.membership-notice p {
    margin-bottom: 1rem;
    font-size: 1.2rem !important;
}
.highlight-text {
    text-decoration: underline;
}
.membership-guide .pink-light-button {
    font-size: 1.3rem;
    padding-left: 1rem;
}
.noc-support p,
.noc-support .box-detail-orange p {
    margin: 0 !important;
}
.nox-content p:nth-child(1) {
    font-size: 1.4rem !important;
}
.nox-content p:nth-child(2) {
    font-size: 1.2rem !important;
}
.noc-support .eki-rentacar-banner {
    width: 100%;
    height: auto;
    margin: 4rem 0 5rem 0;
}
.noc-note {
    font-size: 1.2rem !important;
}
.loginPages #contents .btn-note{
    margin-top: 1rem;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.recruit-bnr{
    width: 49%;
}

@media screen and (min-width: 780px) {
    .houjin-banner {
        background: url(../images/PC_FV_法人会員ログイン画面.png) center center / cover no-repeat;
        height: 210px;
        margin-bottom: 3rem;
    }
    .banner-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
    .banner-button {
        font-size: 1.6rem;
        padding: 1rem 2.5rem;
    }
    .houjin-note {
        max-width: 500px;
        font-size: 1.6rem !important;
        text-align: left;
        margin: 0 auto 30px auto !important;
    }
    .membership-guide {
        padding: 0 40px 70px 40px;
    }
    .membership-subtitle {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .membership-destitle {
        font-size: 1.4rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .membership-cta {
        margin-bottom: 3rem;
    }
    .membership-cta::after {
        bottom: -9px;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
    .benefit-item {
        padding: 20px;
    }
    .benefit-item:nth-child(3),
    .benefit-item:nth-child(5) {
        padding-top: 20px;
    }
    .benefit-icon {
        width: 7rem;
        height: 4.7rem;
        margin-bottom: 0;
    }
    .benefit-number {
        font-size: 2.8rem;
    }
    .benefit-description {
        font-size: 1.4rem;
        line-height: 1.7;
    }
    .membership-notice p {
        font-size: 1.4rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .highlight-text {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    .membership-guide .pink-light-button {
        font-size: 1.2rem;
    }
    .nox-content p:nth-child(1) {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    .nox-content p:nth-child(2) {
        font-size: 1.4rem !important;
    }
    .noc-support .box-detail-orange {
        margin: 20px 0;
    }
    .noc-support .box-detail-orange p {
        font-size: 1.6rem !important;
    }
    .noc-note {
        font-size: 1.4rem !important;
    }
    .noc-support .eki-rentacar-banner {
        margin: 70px 0 120px 0;
    }
    /* PC Hover effects */
    .membership-guide:hover .benefit-item:not(:hover) {
        opacity: 0.7;
        transform: scale(0.98);
    }
    .membership-guide .benefit-item:hover {
        opacity: 1 !important;
        transform: scale(1.02) !important;
    }
    .loginPages #contents .btn-note{
        margin-top: 10px;
    }
}
