@charset "utf-8";
/* -------------- Tooltip 用スタイル */
.qlife-glossary-with-tooltip {
    text-decoration: underline dotted;
    display: inline-block;
    position: relative;
    color: #0075CF;
    cursor: pointer;
}
.qlife-glossary-with-tooltip:hover {
    color: #324646;   
}

/* Hover 用 */
.qlife-glossary-tooltip {
    position: absolute;
    display: block;
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    margin-top: 0.2em;
    width: 280px;
    padding: 10px 13px;
    margin-bottom: 15px;
    color: #324646;
    font-size: 0.8em;
    line-height: 1.4em;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 100;
    font-weight: normal;
    pointer-events: auto;
}

.qlife-glossary-tooltip h5 {
    font-weight: 600;
    font-size: 1.07em;
    margin-bottom: 0.1em;
}
.qlife-glossary-tooltip h6 {
    font-weight: normal;
    color: #696969;
    font-size: 0.9em;
    margin: 3px 0 6px 0;
}

.qlife-glossary-tooltip span.show-detail {
    display: block;
    color: #0075CF;
    font-size: 0.9em;
    font-weight: 600;
    text-align: right;
    position: relative;
    right: 17px;
}

.show-detail::after {
    content: '';
    border: 0;
    border-top: solid 2px #0075cf;
    border-right: solid 2px #0075cf;
    display: inline-block;
    width: 5px;
    height: 5px;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
    .qlife-glossary-tooltip {
        font-size: 0.9em;
    }
}
