@charset "utf-8";

/* ナレッジナビTOP */
.articleList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1%;
}

.articleList>* {
    width: 100%;
    margin-right: 0;
}

.articleList p.p-cardType4__item__textBox__title {
    height: 5em;
}

@media screen and (max-width: 767px) {
    .articleList {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .articleList p.p-cardType4__item__textBox__title {
        height: fit-content;
    }

    .articleList .p-cardType4__item__imgBox {
        height: 22vw;
    }
    .pc {
        display: none;
    }
}

@media screen and (max-width: 428px) {
    .articleList {
        grid-template-columns: repeat(1, 1fr);
    }
}

.column_tags {
    display: flex;
}

li.column_tags__item {
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: 5px;
    margin-top: 5px;
}

li.column_tags__item::after {
    content: ",";
}

li.column_tags__item:first-child::before {
    content: "タグ: ";
    font-weight: 700;
}

li.column_tags__item:last-child::after {
    content: "";
}


/* 記事詳細 */
/* アイキャッチ画像 */
.imgFull img {
    width: 100%;
    max-width: fit-content;
    display: block;
    margin: auto;
}
/* 記事ヘッダー */
.article-info {
    margin-top: 10px;
}

.article-info__label {
    font-weight: bolder;
    margin-right: 0.5em;
}

.article-info__label::after {
    content: ":";
}

.article-info__tags {
    display: flex;
}

.article-info__tags ul {
    display: flex;
}

.article-info__tags ul li {
    margin-right: 0.5em;
}

.article-info__tags ul li::after {
    content: ",";
}

.article-info__tags ul li:last-child::after {
    content: "";
}

/* 移行記事のお知らせ */
.l-contents .attention-box {
    width: 100%;
    padding: 30px;
    border: 2px solid #C1C1C1;
}

/* 目次 */
.article-body .contents-table {
    width: fit-content;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #888;
    margin: 50px auto;
}

.article-body .contents-table a {
    color: unset;
}

.article-body .contents-table>p {
    text-align: center;
}

.article-body .contents-table>p>.show-area {
    margin-left: 5px;
    cursor: pointer;
}

.article-body .contents-table ol {
    margin-left: 20px;
    list-style-type: none;
}

.article-body .contents-table ol>li {
    line-height: 1.8;
}

.article-body .contents-table .hide {
    display: none;
}

/* 本文 */
.article-body h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.46;
    margin: 80px 0 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #C1C1C1;
    position: relative;
}

.article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 32px;
    height: 4px;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
    background: url(/assets/img/common/line_red@2x.png) no-repeat left center / contain;
    border-radius: 2px;
}

.article-body h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 20px;
}

.article-body h4 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 20px;
}

.article-body p {
    margin-bottom: 1em;
}

.article-body a {
    color: #CB0013;
    text-decoration: underline;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.article-body table {
    border: 1px solid #C1C1C1;
    border-collapse: collapse;
}

.article-body table tr,
.article-body table td {
    border: 1px solid #C1C1C1;
}

.article-body table th {
    background: #C1C1C1;
    font-weight: bolder;
    border: 1px solid #333333;
}

.article-body img {
    max-width: 100% !important;
    width: fit-content !important;
    margin-bottom: 30px;
}

/* 埋め込みリンク */
.article-embed {
    position: relative;
    margin: 20px 0;
    height: 100%;
    min-height: 172px;
    box-sizing: border-box;
    font-size: 1.6rem;
    line-height: 1.75;
}

.quote-link {
    box-sizing: border-box;
}

.quote-link a {
    text-decoration: none;
    color: #333333;
}

.quote-link span {
    display: block;
    letter-spacing: 0.07em;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
}

.quote-link span.link-thumbnail {
    display: flex;
}

.quote-link span.link-thumbnail .quote-link-img {
    flex: 1;
}

.quote-link span.link-thumbnail .cont {
    flex: 2;
    word-break: break-all;
    padding-left: 20px;
}

.quote-link_entry {
    display: flex !important;
    gap: 1em;
    border: 0;
    padding: 20px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.quote-link-img-item {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    height: 100%;
    min-height: 100px;
    width: 100%;
    min-width: 200px;
}

.quote-link_title {
    font-weight: bolder;
    margin-bottom: 0.5em;
}

.quote-link_desp {
    margin-bottom: 0.5em;
}

span.quote-link_site {
    font-weight: bolder;
    display: flex;
    justify-content: end;
    align-items: center;
}

span.quote-link_site::before {
    content: "";
    background: left / cover url(/assets/img/common/logo.png) no-repeat;
    display: block;
    width: 3.8em;
    height: 1em;
}

@media screen and (max-width: 767px) {
    .quote-link_entry{
        display: block!important;
    }

    .quote-link span.link-thumbnail {
        display: block;
    }

    .quote-link span.link-thumbnail .quote-link-img {
        margin-bottom: 1em;
    }
}

/* タグ絞り込み表示用 */
.p-cardType4__item[hidden] {
    display: none !important;
}