@charset "UTF-8";
.main-image {
    margin-bottom: 48px;
}

.theme_list {
    display: flex;
    gap: 1px;
    margin-bottom: 1.5em;
}

.theme_list li {
    width: calc((100% - 1px * 5) / 6);
}

.theme_list li a {
    height: 72px;
    background-color: #eaf4fc;
    color: #2477ab;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    line-height: 1.7em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
}

.theme_list li:hover a:not([tabindex="-1"]) {
    opacity: .7;
}

.theme_list li.current a {
    background-color: #2477ab;
    color: #fff;
    position: relative;
    pointer-events: none;
}
.theme_list li.current a::before {
    content: "";
    width: 50%;
    height: 3px;
    border-radius: 9999px;
    background-color: #eaf4fc;
    position: absolute;
    bottom: 6px;
    left: 50%;
    translate: -50% 50%;
}

@media screen and (max-width: 600px) {
    .main-image {
        margin-bottom: 20px;
    }

    .theme_list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 2fr));
    }

    .theme_list li {
        width: auto;
    }

    .theme_list li a {
        height: auto;
        padding: 1em;
        font-size: 1.4rem;
    }

    .theme_list li.current a::before {
        height: 2px;
    }
}