/* =========================================================
   Post Tag Archive
   投稿タグ一覧ページ
   ========================================================= */


/* =========================================================
   一覧全体
   ========================================================= */

.sg-tag #main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px 25px;
}


/* =========================================================
   ページ見出し
   ========================================================= */

.sg-tag #main > .page-header {
    grid-column: 1 / -1;
    background: transparent;
    text-align: center;
    margin: 0;
    padding: 40px 0;
}

.sg-tag .page-header .page-title {
    display: inline-block;
    position: relative;

    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.5;
    letter-spacing: .15em;

    margin: 0;
    padding-bottom: 10px;
}

.sg-tag .page-header .page-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: min(
        200%,
        calc(min(100vw, var(--sg-max)) - (var(--sg-pad) * 2))
    );

    height: 1px;
    background-color: rgba(0, 0, 0, .35);

    transform: translateX(-50%);
}


/* =========================================================
   記事カード
   ========================================================= */

.sg-tag #main > article.post {
    min-width: 0;
    margin: 0;
}

.sg-tag #main > article.post .inside-article {
    height: 100%;
    padding: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   アイキャッチ画像
   ========================================================= */

.sg-tag .post-image {
    order: 1;
    margin: 0 0 15px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.sg-tag .post-image a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.sg-tag .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   記事ヘッダー
   ========================================================= */

.sg-tag .entry-header {
    order: 2;
    margin: 0;
}

.sg-tag .entry-title {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .04em;
    margin: 0;
}

.sg-tag .entry-title a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   投稿日
   ========================================================= */

.sg-tag .entry-meta {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 15px 0 0;
}


/* 投稿者は非表示 */
.sg-tag .byline {
    display: none;
}


/* =========================================================
   抜粋
   ========================================================= */

.sg-tag .entry-summary {
    order: 3;
    font-size: 18px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.sg-tag .entry-summary p {
    margin: 0;
}


/* 「続きを読む」がある場合 */
.sg-tag .read-more-container {
    margin-top: 12px;
}


/* =========================================================
   記事下部メタ情報
   ========================================================= */

.sg-tag footer.entry-meta {
    order: 4;
    font-size: 14px;
    margin-top: 15px;
}


/* =========================================================
   ページネーション
   ========================================================= */

.sg-tag #main > .paging-navigation {
    grid-column: 1 / -1;
    margin: 30px 0 0;
    padding: 0;
}


/* =========================================================
   Responsive
   ========================================================= */

/* Tablet：2列 */
@media (max-width: 900px) {

    .sg-tag #main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 20px;
    }
}


/* SP：1列 */
@media (max-width: 600px) {

    .sg-tag #main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .sg-tag .entry-title {
        font-size: 18px;
    }

    .sg-tag .entry-summary {
        font-size: 15px;
    }
}