@charset "utf-8";

/*

dictionary.css
Version: 2022.09.21

*/

/* --------------------------------------------------------
/* .page-dictionary
/* .dictionary
/* .dictionary-detail
/* .dictionary-detail-content
/* .dictionary-sort
-------------------------------------------------------- */


/* .page-dictionary
-------------------------------------------------------- */
.visual-sub-bg {
    position: relative;
    background: #fff url(../../assets/img/dictionary/bg_visual-sub-bg_sp.jpg) no-repeat center center;
    background-size: cover !important;
}

/* pc（1200px以上の場合に適用） */
@media (min-width: 1200px) {
    .visual-sub-bg {
        background: #fff url(../../assets/img/dictionary/bg_visual-sub-bg_pc.jpg) no-repeat center center;
        background-size: cover !important;
    }
}


/* .dictionary
-------------------------------------------------------- */
.dictionary {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.dictionary .archive-detail-ttl .ico {
    margin-right: .5em;
    color: #1972b5;
}


/* .dictionary-detail
-------------------------------------------------------- */
.dictionary-detail {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto 60px;
    /* padding: 0 14px;
    max-width: 1640px; */
    width: 100%;

    justify-content: space-between;
}

/* pc（1200px以上の場合に適用） */
@media (min-width: 1200px) {
    .dictionary-detail {
        flex-direction: column;
        padding: 0 0;
    }
}


/* .dictionary-detail-content
-------------------------------------------------------- */
.dictionary-detail-content {
    margin: 0 auto 0;
    width: 100%;
}


/* .dictionary-sort
-------------------------------------------------------- */
.dictionary-sort-list {
    display: flex;
    padding: 0;
    width: 100%;

    flex-wrap: wrap;
    justify-content: flex-start;
}
.dictionary-sort-list li {
    display: flex;
    overflow: hidden;
    margin: .25%;
    padding: 0;
    max-width: 32.833333333333336%;
    width: 100%;
    height: auto;
    border: 1px solid rgba(224, 224, 224, 1);
    border-radius: 4px;
    background-color: #fff;
    text-align: center;
    word-break: break-all;
    line-height: 1.4;
    transition: opacity .4s ease;

    flex: 0 0 32.833333333333336%;
    justify-content: center;
    align-items: center;
}
.dictionary-sort-list li a {
    position: relative;
    display: flex;
    overflow: hidden;
    padding: 1.2em 1.5em;
    width: 100%;
    height: 100%;
    color: #020202;
    text-decoration: none;
    letter-spacing: .06em;
    font-weight: 400;
    font-size: 1.2rem;
    transition: color .3s ease, background-color .3s ease;

    flex-flow: column;
    justify-content: center;
    align-items: center;
}

/* pc（1200px以上の場合に適用） */
@media (min-width: 1200px) {
    .dictionary-sort-list li {
        max-width: 12%;

        flex: 0 0 12%;
    }
    .dictionary-sort-list li:hover {
        border-color: rgba(1, 92, 172, 1);
        background-color: rgba(1, 92, 172, 1);
        transition: all .5s ease;
    }
    .dictionary-sort-list li a {
        font-size: 1.5rem;
    }
    .dictionary-sort-list li a:hover {
        color: #fff;
    }
}
