/*学生の受賞歴紹介ここから*/

.award-detail-title-text {
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 175%;
}

.award {
    display: grid;
    gap: 2.5rem;
}

.award-content {
    border-radius: 0.25rem;
    background-color: var(--c-white);
    padding: 4rem;
}

.award-profile {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}

.award-profile-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.award-profile-text dl div {
    display: flex;
    column-gap: 1.5rem;
    row-gap: 0.5rem;
    box-sizing: border-box;
    border-bottom: 1px solid var(--c-gray-30);
    padding: 1rem 0;
    width: 100%;
    flex-wrap: wrap;
}

.award-profile-text dl div dt{
    min-width:5rem
}

.img-contain picture {
    background: var(--c-white);
    display: block;
    width: 100%;
    img {
        margin-inline: auto;
        object-fit: contain;
    }
}

.award-image {
    width: 100%;
    max-width: 21.25rem;
    aspect-ratio: 3 / 2; /* ← 高さが自動で決まる */
    display: flex;
}

.award-image picture {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--c-white);
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media only screen and (max-width: 1199.98px) {

    .award-wrapper .subpage-detail-title {
        margin-bottom: 3rem;
    }

    .award {
        display: grid;
        gap: 2rem;
    }

    .award-content {
        padding: 3rem;
    }

    .award-image {
        max-width: 100%;
    }

    .award-profile .subpage-content-title {
        margin-bottom: 2rem;
    }

    .award-profile {
        flex-direction: column;
        gap: 2rem;
    }
}

/*デスクトップサイズ以下ここから*/
@media only screen and (max-width: 991.98px) {

}

/*タブレットサイズ以下ここから*/
@media only screen and (max-width: 767.98px) {
    .award-content {
        padding: 2rem 1.5rem;
    }
}
/*学生の受賞歴紹介ここまで*/
