/* 特徴 */
.p-feature-section {
    margin-bottom: 80px;
}

.p-feature-list {
    max-width: 380px;
}

/* 受け放題パック */
.c-pack-title {
    margin: 0;
}

dl.c-pack-price {
    margin-bottom: auto;
}

dl.c-pack-price dt {
    font-weight: normal;
}

dl.c-pack-price dd {
    margin-left: 16px;
}

dl.c-pack-price dd.campaign {
    margin-left: 0;
    color: red;
}

dl.c-pack-price dd.campaign::before {
    margin-right: 5px;
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid ;
}

dl.c-pack-price dd.sales-price {
    color: red;
}

dl.c-pack-price dd .del {
    text-decoration: underline;
    text-decoration-style: double;
    text-decoration-skip-ink: none;
    text-underline-offset: -50%;
}

/* SP */
@media screen and (max-width: 767px) {
    dl.c-pack-price dt {
        float: left;
    }

    dl.c-pack-price dd {
        margin-left: 96px;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    dl.c-pack-price dt {
        float: none;
    }

    dl.c-pack-price dd {
        margin-left: 16px;
    }
}

/* ラインナップ */
.p-lineup-box {
    display: flex;
    margin: 16px 0 0;
    padding: 8px 16px;
    background-color: #dff6dc;
}

.c-lineup-year {
    white-space: nowrap;
    padding: 0 32px 0 0;
}

.p-lineup-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.p-lineup-item {
    white-space: nowrap;
}

.c-lineup-link {
    text-decoration: underline;
}

.u-link-non-active {
    text-decoration: none;
    pointer-events: none;
}
.c-content-title {
    margin: 8px 0;
    padding-bottom: 8px;
    font-size: 15px;
    word-break: break-all;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .p-content-item .c-content-title {
        margin-top: 16px;
        height: auto !important;
    }
}

.c-content-title .small-font{
    font-size: 12px;
}
/* SP */
@media screen and (max-width: 767px) {
    .p-lineup-box {
        margin: 8px 0 0;
    }

    .p-lineup-list {
        flex-wrap: wrap;
        text-align: center;
    }

    .p-lineup-item {
        flex-basis: 16%;
        max-width: 16%;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    .p-lineup-box {
        padding: 8px;
    }

    .p-lineup-item {
        font-size: 13px;
    }
}

/* MIDDLE SP */
@media screen and (max-width: 499px) {
    .p-lineup-item {
        font-size: 12px;
    }

}

/* コンテンツ */
.p-content-section {
    border: none;
}

.c-content-heading {
    margin-bottom: 16px;
}

.p-content-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 80px;
}

@media screen and (max-width: 767px) {
    .p-content-list {
    grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
}

.p-content-item {
    padding: 16px;
    border: solid 1px #CCCCCC;
}

.p-content-item img {
    margin-right: 5px;
    margin-bottom: 5px;
    width: 120px;
    height: 120px;
}

/* 画像特殊ケース */
.p-content-item img[alt="東京書籍×フレーベル館"] {
    margin: 0;
    width: 240px;
    height: auto;
}

.p-content-item dl {
    flex-grow: 1;
    padding-top: 16px;
    font-size: 14px;
}

.p-content-item dl > dt {
    padding-bottom: 8px;
}

.p-content-item dl > dt::after {
    content: '：';
}

.p-content-item dl > dd {
    padding-left: 1em;
    padding-bottom: 16px;
    line-height: 1.4em;
}

.p-content-item dl > dd > .sales-price {
    color: red;
}

.p-content-item dl > dd > .del {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-underline-offset: -50%;
}

.p-content-section span.best_deal {
    position: relative;
    display: inline-block;
    margin-bottom: 3px;
    padding: 5px;
    background-color: #FCEFCC;
    border-radius: 5px;
}

.p-content-item dl .attention {
    color: #FF0000;
}

.p-content-section span.best_deal::after {
    position: absolute;
    top: -20px;
    left: 84%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #FF0000;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    border: solid 2px #FF0000;
    border-radius: 50%;
    content: '得';
    transform: rotate(12deg);
    opacity: 0.6;
}
/* 特殊パターン */
.p-content-section span.best_deal.u-20240918::after {
    left: 95%;
}

.p-content-section .c-btn-link_small {
    margin-top: 0;
}

@media screen and (max-width: 767px) {
    .p-content-section .c-btn-link_small {
        font-size: 13px;
    }
}

.p-content-section .u-color-end-of-reception {
    text-align: center;
}