@charset "UTF-8";

#glossary .page_ttl_img {

    border-bottom: 1px solid var(--gray02);
    margin-bottom: 10px;
}

.tab-list {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--main-color);
    gap: 10px;
}

.tab-item {
    background-color: #f4f6f8;
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    width: 100%;
    height: 103px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.tab-content {
    background-color: #fff;
}


.tab-item.active {
    background: var(--main-color);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    padding-top: 50px;
}

.link_box {
    display: flex;
    flex-wrap: wrap;
    row-gap: 25px;
    column-gap: 5px;
}


.glossary_item[id] {
    scroll-margin-top: 94px;
}

.glossary_item:not(:last-child) {
    border-top: 1px solid var(--gray02);
    padding: 30px 0;
}

.glossary_item:last-child {
    border-top: 1px solid var(--gray02);
    padding: 30px 0 0;
}


.glossary_item h3::before {
    content: "●";
    display: inline-block;
    font-size: 2rem;
    color: var(--main-color);
}

.glossary_link {
    width: calc((100% - 25px) / 6);
    position: relative;

    text-indent: -1.5rem;
    padding-left: 1.5rem;
}

.glossary_link a {
    text-decoration: underline;
    color: var(--black);
    padding-left: 1em;
}

.glossary_link a:hover {
    opacity: 0.7;
    transition: .2s;
    text-decoration: none;
}


.glossary_link::before {
    content: "";
    display: inline-block;
    width: 8.5px;
    height: 5px;
    background-image: url(../images/common/arw_under_bl.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 13px;
}

.detail_list {
    margin-top: 25px;
}

.detail_list dt {
    font-weight: 700;
}

.detail_list > dt {
    counter-increment: title;
}

.detail_list > dt::before {
    content: counter(title) ".";
}

.detail_nest {
    margin-top: 15px;
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid var(--gray02);
}

.detail_nest dt {
    position: relative;
    padding-left: 1em;
    padding-top: 5px;
}

.detail_nest dt::before {
    content: "●";
    display: inline-block;
    font-size: 0.3rem;
    position: absolute;
    top: 50%;
    left: 2.5em;
}

.detail_nest dd:not(:last-of-type) {
    border-bottom: 1px dotted var(--gray02);
    padding-bottom: 5px;
}

.detail_nest dd {
    padding-left: 1em;
}



@media screen and (max-width: 991px) {
    .glossary_item[id] {
        scroll-margin-top: 55px;
    }

    .glossary_link {
        width: calc((100% - 20px) / 5);
    }


}


@media screen and (max-width: 767px) {
    .tab-list {
        gap: 3px;
    }

    .tab-item {
        height: 77px;
    }

    .tab-panel.active {
        padding-top: 35px;
    }

    .glossary_link {
        width: calc((100% - 5px) / 2);
    }

    .glossary_item:not(:last-child) {
        padding: 20px 0;
    }

    .glossary_item:last-child {
        padding: 20px 0 0;
    }

    .glossary_item .title03 {
        font-size: 1.8rem;
    }

    .glossary_item h3::before {
        font-size: 1.8rem;
    }

    .detail_nest {
        padding: 15px;
    }

}
