/* ===== Section: First View ===== */
body{
    background-color: #20508A;
}
.fv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #20508A;
    position: relative;
}

.fv-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/recuit/fv.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 60%;
}
@media (min-width: 1281px) {
    .fv-container{
        height: 1000px;
        padding-bottom: 0%;
    }
}
.fv-content {
    max-width: 500px;
}

.fv-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin-bottom: 40px;
}

.fv-scroll {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.1em;
}

.recuit-container{
    max-width: 800px;
    margin: auto;
}

.title{
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-top: 100px;
    margin-bottom: 24px;
}

.bar{
    border-left: 8px solid #ffcf70;
    padding-left: 20px;
}

.recuit-cards {
    gap: 24px;
    display: flex;
}
.recuit-card {
    background-color: #fff;
    border-radius: 10px;
    color: #20508A;
    font-size: 16px;
    font-weight: bold;
    padding: 20px 0;
    text-align:center;
    width: 33%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recuit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}



.recuit-list {
    display: flex;
    gap: 24px;
    max-width: 1000px;
    margin: 50px auto 0px;
}
.recuit-list-icon{
    width: 200px;
}
.recuit-list-title{
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}
.recuit-list-subtitle{
    color: #B5B5B5;
    font-size: 14px;
    margin: 12px 0;
    padding-bottom: 10px;
    font-weight: bold;
    border-bottom: 1px solid;
}
.recuit-list-content{
    width: 100%;
}
.recuit-list-description{
    color: #fff;
    font-size: 12px;
}
.recuit-container{
    max-width: 800px;
    margin: auto;
}

.recuit-textm{
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.recuit-texts{
    color: #fff;
    font-size: 12px;
}

.recuit-imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.recuit-img{
    padding-bottom: 20%;
    width: 32%;
    background-position: center;
    background-size: cover;
}

#recuit {
    padding-bottom: 80px;
}

.feature-btn{
    margin-top: 30px;
}

/* ===== Responsive Breakpoints ===== */



/* 768px and below */
@media (max-width: 768px) {


    .fv-container {
        height: 400px;
        margin-top: -50px;
    }

    .fv {
        min-height: auto;
        padding: 80px 0 0px;
    }

    .title{
        font-size: 18px;
        margin-top: 60px;
    }
    .recuit-container{
        padding: 0 20px;
    }
    .recuit-card{
        font-size: 14px;
        padding: 10px 0;
    }
    .recuit-list-title{
        font-size: 16px;
    }
    .recuit-list-subtitle{
        font-size: 13px;
        margin: 10px 0;
    }
    .recuit-textm{
        font-size: 14px;
    }
    .recuit-img {
        padding-bottom: 27%;
        width: 48%;
    }
}

/* 480px and below */
@media (max-width: 480px) {


    .fv-title {
        font-size: 22px;
    }

    .service-title,
    .news-title {
        font-size: 32px;
    }

    .service-card,
    .partner-card {
        padding: 30px 20px;
    }

    .service-card-title {
        font-size: 20px;
    }

    .partner-title {
        font-size: 20px;
    }

    .partner-card-title {
        font-size: 13px;
    }

    .news-date {
        font-size: 12px;
        min-width: 60px;
    }

    .news-item-link {
        font-size: 12px;
    }

}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #666;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: -70px;
    right: 0;
    cursor: pointer;
    z-index: 1001;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.modal .title{
    color: #252525;
    margin-top: 48px;
}
.modal-body {
    padding: 0 30px 48px;
}

.modal .recuit-textm {
   color: #252525;
   font-weight: bold;
}
.modal .recuit-texts {
   color: #252525;
}



.apply-btn {
    background: linear-gradient(135deg, #20508a 0%, #2e7ad4 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 80, 138, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20% auto 0;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0 20px;
    }
    .modal-body {
        padding: 0 20px 48px;
    }
    .close{
        width: 40px;
        height: 40px;
            top: -50px;
    }
}