@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
エントリー一覧
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.post_list {
    max-width: 79.8rem;
    margin: auto;
    /*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
    /* サムネイル付きリスト */
    &.thumb_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        /* justify 調整用空タグ */
        &::after {
            content: "";
            display: block;
            width: 29%;
        }

        @media screen and (max-width: 480px) {
            /* justify 調整用空タグ */
            &::after {
                /* 横幅を.entry_itemと合わせる */
                width: 48%;
            }
        }

        /* -------------------- */
        /* エントリー */
        .entry_item {
            position: relative;
            max-width: 23rem;
            width: 29%;
            margin-bottom: 4.2rem;
            @media screen and (max-width: 480px) {
                width: 48%;
                margin-bottom: 1.8rem;
            }

            /* パーマリンク */
            a.permalink {
                display: block;
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                color: #000;
            }

            /* サムネイル */
            .thumb {
                /* アスペクト比を指定 */
                aspect-ratio: 1 / 1;
            }

            /*エントリーのデータ部分*/
            .entry_data_wrap {
                margin-top: 1.2rem;
                @media screen and (max-width: 480px) {
                    margin-top: 0.9rem;
                }
            }

            /* タイトル */
            .title {
                font-size: 1.6rem;
                line-height: 1.375;
                letter-spacing: 0.02em;
                margin-bottom: 0.4em;
                @media screen and (max-width: 480px) {
                    font-size: 1.2rem;
                }
            }
            /* 金額 */
            .price_wrap {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                .price {
                    color: #e32934;
                    font-size: 3.4rem;
                    font-weight: 900;
                    @media screen and (max-width: 480px) {
                        font-size: 2.4rem;
                    }
                    .yen {
                        font-size: 0.8em;
                    }
                }
                .icon {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 900;
                    background-color: #e32934;
                    color: #fff;
                    font-size: 1.2rem;
                    line-height: 1.1;
                    width: 4rem;
                    aspect-ratio: 1/1;
                    border-radius: 9999px;
                    @media screen and (max-width: 480px) {
                        font-size: 0.8rem;
                        width: 2.8rem;
                    }
                }
            }
        }
    }
}
