/* #mock_app section(max-width:100%)に詳細度で負けるため、IDを重ねる(6805のpurchase-brandsと同じパターン) */
#mock_app #column {
    max-width: 1400px;
    position: relative;
}

@media (min-width: 768px) {
    #mock_app #column {
        --w-ref: 1600;
    }
}

#mock_app #column::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #f8f6f4;
    z-index: -1;
}

#mock_app {
    overflow-x: hidden;
}

#column .column-inner {
    margin: auto;
    padding: 5%;
}

@media (max-width: 767px) {
    #column .column-inner {
        padding: 15% 5%;
    }
}

/* 幅はapp-top.cssの.btn__wrapが標準でfit-content対応済みのため、ここでの個別上書きは不要 */

#column .column-lead {
    margin-top: 3.75cqw;
    text-align: center;
}

#column .column-lead .is-sp {
    display: none;
}

@media (max-width: 767px) {
    #column .column-lead .is-sp {
        display: inline;
    }
}

/* フォントサイズ・太さはbody-textクラス側で指定 */
#column .column-lead p {
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333333;
}

#column .column-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5cqw;
    margin-top: 4.375cqw;
}

@media (min-width: 768px) {
    #column .column-card-grid + .btn__wrap {
        margin-top: 5cqw;
    }
}

@media (max-width: 767px) {
    #column .column-card-grid {
        grid-template-columns: 1fr;
        padding: 0 0 4cqw;
        gap: 4cqw;
    }
}

#column .column-card {
    background: #fff;
    border: 2px solid #BABABA;
    border-radius: 10px;
    padding: 1.5cqw;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1cqw;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 767px) {
    #column .column-card {
        padding: 4cqw;
        gap: 4cqw;
        border-radius: 2cqw;
    }
}

#column .column-card:hover {
    border-color: var(--theme_color);
    opacity: 0.7;
}

#column .column-card-tags {
    display: flex;
    gap: 0.8cqw;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    #column .column-card-tags {
        gap: 2cqw;
    }
}

#column .column-card-tag {
    --f-base: 17;
    background: #F7ECDB;
    border-radius: 3px;
    padding: 0.3cqw 1cqw;
    color: #555;
}

@media (max-width: 767px) {
    #column .column-card-tag {
        --f-base: 20;
        line-height: 1.3;
        padding: 1cqw 2cqw;
    }
}

/* フォントサイズ・太さはm-bold-textクラス側で指定 */
#column .column-card-title {
    color: #0080ff;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-decoration: underline;
}

/* カード全体が1つのaタグなので、opacityはカード側(.column-card:hover)で一括して掛ける */
#column .column-card:hover .column-card-title {
    text-decoration: none;
}

#column .column-card-body {
    display: flex;
    gap: 1cqw;
    align-items: stretch;
}

@media (max-width: 767px) {
    #column .column-card-body {
        gap: 3cqw;
    }
}

#column .column-card-img {
    box-sizing: border-box;
    width: 35%;
    flex-shrink: 0;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid #7e7558;
    padding: 0.3cqw;
}

@media (max-width: 767px) {
    #column .column-card-img {
        width: 30%;
        padding: 1.5cqw;
    }
}

/* フォントサイズはbody-textクラス側で指定 */
#column .column-card-text {
    color: #272727;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 767px) {
    #column .column-card-text {
        text-align: justify;
    }
}
