@media (min-width: 1200px) {
    #partner-div {
        left: 19%;
    }
}

@media (min-width: 1400px) {

    #partner-div {
        left: 19%;
    }
}

@media (min-width: 1900px) {

    #partner-div {
        left: 26%;
    }
}

#partner-div {
    left: 25%;
}

.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100vw;
    padding: 10px 30px 0 0;
}

.recruitment-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
}

    .recruitment-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.13);
        text-decoration: none;
    }

.recruitment-card-imgbox {
    width: 100%;
    aspect-ratio: 4/3;
    background: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .recruitment-card-imgbox img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.recruitment-card-noimg {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.recruitment-card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    padding: 5px 4px 4px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: #f8f9fa;
}

/*.recruitment-card-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    padding: 5px 4px 4px 4px;
    width: 100%;
    background: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}*/

.form-floating .form-control {
    height: 50px;
}

/* ここから下がボタンのCSS　*/
.btn-default {
    background-color: white;
    height: 30px;
    text-align: center;
    align-items: center;
    font-size: 12px;
    color: #003366;
    font-weight: bold;
    border: 3px solid#003366;
    text-decoration: underline;
}

.btn btn-default:active {
    transform: translateY(4px);
    border-bottom: none;
}
