﻿.indexThemeCard15 {
    max-width: 1440px;
    margin: 3em auto;
}

    .indexThemeCard15 .themecardStyle43 {
    }

    .indexThemeCard15 .theGrid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        grid-column-gap: 10px;
        grid-row-gap: 0;
    }

    .indexThemeCard15 .block {
        aspect-ratio: 5 / 6;
        position: relative;
        overflow: hidden;
    }

    .indexThemeCard15 .link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .indexThemeCard15 .bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: transform 1s;
        object-fit: cover;
    }

    .indexThemeCard15 .link:hover .bg {
        transform: scale(1.1);
    }

    .indexThemeCard15 .content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: #FFFFFF;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    .indexThemeCard15 .text {
        font-size: 2rem;
        font-weight : bold;
        width: 100%;
        text-align: center;
        padding : 0.5em;
    }

    .indexThemeCard15 .block:nth-child(1) .text
    {
        background-color : rgb(26,50,144);
    }
    .indexThemeCard15 .block:nth-child(2) .text {
        background-color: rgb(28,148,71);
    }
    .indexThemeCard15 .block:nth-child(3) .text {
        background-color: rgb(237,178,55);
    }

    .indexThemeCard15 .animBar {
        width: 0%;
        height: 3px;
        background-color: #FFFFFF;
        transition: width 1s;
    }

    .indexThemeCard15 .link:hover .animBar {
        width: 100%;
    }

@media (max-width: 480px) {
    .indexThemeCard15 .theGrid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 10px;
    }
    .indexThemeCard15 .text {
        font-size: 1.5rem;
        padding: 0.5em;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .indexThemeCard15 .theGrid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 10px;
    }

    .indexThemeCard15 .text {
        font-size: 1.5rem;
        padding: 0.5em;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .indexThemeCard15 .text {
        font-size: 1.2rem;
        padding: 0.3em;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
}

@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}
