.post-roop{
    padding: 0 .5em 1em;
}

.category-title{
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 1.2em;
}

@media screen and (min-width: 767px){
    .category-title{
        font-size: 1.5em;
    }

    div.post-roop{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: .75em;
        padding: 0 1em 1em;
    }
}

div.search article{
    padding-bottom: .5em;
}

@media screen and (min-width: 767px){
    div.search article{
        padding-bottom: 1em;
    }
}

.index-title{
    font-size: 1.1em;
    padding: .5em 0 .5em .5em;
    background-color: var(--gold);
    border-radius: .25em .25em 0 0;
    margin-bottom: 1em;
    color: #fff;
    font-weight: 500;
}

@media screen and (min-width: 767px){
    .index-title{
        font-size: 1.5em;
    }
}

.index-title span.hd-aside{
    font-size: 1.2em;
    font-family: var(--neue);
    color: var(--white);
    margin-right: .2em;
    border-bottom: 1px #fff solid;
}

.index-title.category{
    background-color: var(--red);
}

.index-title.tag{
    background-color: var(--sky);
}

.index-title.search{
    background-color: var(--purple);
}

@media screen and (min-width: 767px){
    .index-title span.hd-aside{
        font-size: inherit;
    }
}

/* iPad Pro 縦専用 */
@media screen and (min-width: 1024px){
    div.post-roop{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1180px){
    div.post-roop{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* カード */
.post-card{
    margin-top: .75em;
    border-width: 4px;
    border-style: solid;
    padding: .75em .5em;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

@media screen and (min-width: 767px){
    .post-card{
        margin-top: 0;
    }
}

/* 左：画像 / 右：タイトル＋カテゴリ */
.post-card .card-row{
    display: flex;
    align-items: flex-start;
    gap: .75em;
}

.post-card a.card-thumb{
    flex-shrink: 0;
    display: block;
}

.post-card a.card-thumb img{
    width: 80px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    height: auto;
    flex-shrink: 0;
    display: block;
    border-radius: 4px;
}

.post-card .card-text{
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .35em;
}

/* タイトル（aにクラス付与） */
.post-card a.post-title{
    display: block;
    margin: 0;
    text-align: left;
    font-size: .9em;
    line-height: 1.35;
    word-break: break-word;
    text-decoration: none;
    font-weight: 500;
}

/* 親カテゴリ */
p.card-meta{
    margin: 0;
}

p.card-meta span{
    display: block;
}

p.card-meta > span a{
    font-size: .9em;
}

p.card-meta span.post-cat a{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

p.card-meta span.post-cat a::before{
    content: "\e185";
    font-family: var(--fa6);
    margin-right: 2px;
}

/* ページネーション */
div.nav-links{
    margin: 1.5em 0;
    text-align: center;
}

div.nav-links a.page-numbers,
div.nav-links span.current{
    width: 3em;
    height: 3em;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    line-height: 3;
    font-weight: 500;
    font-size: .8em;
}

/* 検索0件など */
p.noresult{
    padding: .5em .5em .25em;
}

.notfound article{
    padding-bottom: 1em;
}

@media screen and (min-width: 767px){
    .notfound article{
        padding-bottom: 2em;
    }
}