@charset "utf-8";

@import url('https://fonts.googleapis.com/earlyaccess/notosansjapanese.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;300&family=Noto+Sans+JP:wght@400;500;600&display=swap');


/*全体*/
.knowledge-list * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* margin: 0; */
}

.knowledge-list {
    padding: 100px 0px;
    font-family: "Arial", sans-serif;
    line-height: 1.5;
    color: #000;
}

.knowledge-list img {
    vertical-align: middle;
    max-width: 100%;
}

.knowledge-list a,
.hps-lp label {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color: #000;
}

.knowledge-list a:hover {
    opacity: 0.85;
}

.knowledge-list h2 {
    text-align: left;
    margin: 0px auto 32px;
    max-width: 1360px;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 1px solid;
}

@media screen and (max-width: 1050px) {
    .knowledge-list h2 {
        /* max-width: calc(100% - 40px); */
        font-size: 24px;
    }
}

.knowledge {
    margin: auto;
    padding: 0px 8px;
    max-width: 1360px;
    width: 100%;
}

.knowledge-box {
    position: relative;
    /* max-width: 326px; */
    width: calc((100% - 32px) / 3);
    color: #000;
    border: 1px solid #cf142b;
}

.knowledge-box::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    border-left: 25px solid transparent;
    border-bottom: 25px solid #cf142b;
}

.knowledge-box img {
    aspect-ratio: 2/1;
    object-fit: cover;
    width: 100%;
}

.knowledge-box-bottom {
    padding: 20px 10px 30px;
}

.knowledge-box-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.knowledge-list .knowledge-box-heading {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 16px 0px;
    height: 60px;
    font-size: 20px;
    font-weight: bold;
    color: #cf142b;
}

.knowledge-box-bottom table {
    font-size: 16px;
    line-height: 1.87;
}

.knowledge-box-table-left {
    vertical-align: top;
    white-space: nowrap;
}

.knowledge-box-table-right {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 90px;
}

#hps-more-btn {
    display: block;
    text-align: center;
    margin: 56px auto;
    max-width: 280px;
    width: 100%;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    line-height: 45px;
    color: #fff;
    background-color: #0d63dc;
    border-radius: 5px;
    cursor: pointer;
}

#hps-more-items {
    display: none;
}

#hps-more-items.active {
    display: block;
    margin-top: 56px;
}

#hps-more-btn.hidden {
    display: none;
}

@media screen and (max-width: 1050px) {
    .knowledge {
        flex-direction: column;
        align-items: center;
    }

    .knowledge-box {
        width: 100%;
    }
}

.clm:has(h2) {
    max-width: 1360px;
    float: none;
    margin: 0 auto;
}


@media print,
screen and (max-width:640px) {
    .knowledge-list h2 {
        text-align: center;
    }

    .knowledge-box-name {
        text-align: center;
    }
}

.filter-buttons {
    display: flex;
    width: 100%;
    padding: 40px 10px 0;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-button {
    display: flex;
    padding: 12px 25px 13.39px 25px;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    color: #CF142B;
    border: 1px solid #CF142B;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    background-color: #fff;
}

.filter-button:hover {
    background: #CF142B;
    color: #fff;
}

.filter-button[aria-pressed="true"] {
    background: #CF142B;
    color: #fff;
}

.hidden {
    display: none !important;
}

.c-linkCard__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}