/*
 * なうとれ検索 — Blog listing v1.1.4
 * Only loaded for /ブログ/ and a configured WordPress Posts page.
 */
body.th-blog-archive {
    background: #fff;
    color: #171b26;
}
body.th-blog-archive .th-header {
    position: relative;
    top: auto;
}
.th-blog {
    padding: 28px 0 98px;
    background: #fff;
    min-height: 72vh;
}
.th-blog a {
    color: inherit;
    text-decoration: none;
}
.th-blog__breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 27px;
    color: #828b9a;
    font-size: 11px;
    line-height: 1.5;
}
.th-blog__breadcrumb a:hover { color: #386fe3; }
.th-blog__breadcrumb-separator { color: #c8ced8; }
.th-blog__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 196px;
    padding: 36px clamp(25px, 5vw, 70px);
    margin-bottom: 38px;
    overflow: hidden;
    border-radius: 6px;
    background: linear-gradient(112deg, #f2f6fa 0%, #fbfaf9 65%, #f2f1ff 100%);
    border: 1px solid #eff1f6;
}
.th-blog__eyebrow {
    margin: 0 0 9px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .16em;
    color: #5665a3;
}
.th-blog__heading h1 {
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    background: none;
    color: #181f2b;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.4;
}
.th-blog__description {
    max-width: 620px;
    margin: 0;
    color: #5b6576;
    font-size: 13px;
    line-height: 1.9;
}
.th-blog__heading-mark {
    flex: 0 0 auto;
    margin-left: 20px;
    color: rgba(82,103,197,.08);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(82px, 13vw, 172px);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.08em;
    user-select: none;
}
.th-blog__heading-mark span { color: rgba(113,96,222,.13); }
.th-blog__toolbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 0 0 14px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e6eaf0;
}
.th-blog__toolbar h2 {
    position: relative;
    margin: 0;
    padding: 0 0 0 15px;
    border: none;
    color: #171b26;
    background: none;
    font-size: 21px;
    line-height: 1.5;
    font-weight: 850;
}
.th-blog__toolbar h2::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 4px;
    background: linear-gradient(#327de9, #8163ed);
}
.th-blog__toolbar p {
    margin: 0;
    color: #7e8798;
    font-size: 12px;
    white-space: nowrap;
}
.th-blog__toolbar p span { font-variant-numeric: tabular-nums; }
.th-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 26px;
    row-gap: 30px;
}
.th-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9ecf2;
    border-radius: 7px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.th-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18,38,70,.08);
}
.th-blog-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf0f4;
}
.th-blog-card__media img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
}
.th-blog-card:hover .th-blog-card__media img { transform: scale(1.045); }
.th-blog-card__media .th-home-image-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #475c70;
    background: linear-gradient(125deg, #d9e6ec, #ecedf4 55%, #e7ddf5);
}
.th-blog-card__media .th-home-image-fallback > span {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.06em;
}
.th-blog-card__media .th-home-image-fallback > span > span { color: #7361e9; }
.th-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 17px 18px 19px;
}
.th-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
    min-height: 19px;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1.4;
}
.th-blog-card__category { color: #3c78d5 !important; font-weight: 750; }
.th-blog-card__category:hover { text-decoration: underline !important; }
.th-blog-card__meta time { color: #89929f; font-variant-numeric: tabular-nums; }
.th-blog-card__title {
    margin: 0 0 11px;
    padding: 0;
    border: none;
    background: none;
    color: #181f2b;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.65;
    letter-spacing: -.023em;
    overflow-wrap: anywhere;
}
.th-blog-card__title a {
    color: #181f2b;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.th-blog-card__title a:hover { color: #396fdb; }
.th-blog-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 16px;
    color: #606a7a;
    font-size: 12px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
.th-blog-card__read {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    color: #405172 !important;
    font-size: 11px;
    font-weight: 750;
}
.th-blog-card__read:hover { color: #376ee4 !important; }
.th-blog-card__read span { font-size: 18px; font-weight: 500; }
.th-blog__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 46px;
}
.th-blog__page {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 41px;
    min-height: 41px;
    padding: 8px 12px;
    border: 1px solid #e1e6ef;
    border-radius: 5px;
    color: #475366 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 750;
}
.th-blog__page:hover { background: #f0f4fa; border-color: #b9cae4; }
.th-blog__page.is-current {
    color: #fff !important;
    background: #263d63;
    border-color: #263d63;
}
.th-blog__page-ellipsis { padding: 0 4px; color: #8992a1; }
.th-blog__page--prev { margin-right: 12px; }
.th-blog__page--next { margin-left: 12px; }
.th-blog__empty {
    margin: 30px 0;
    padding: 55px 20px;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    text-align: center;
    background: #f9fafc;
}
.th-blog__empty h2 { margin: 0 0 12px; border: none; padding: 0; background: none; font-size: 20px; }
.th-blog__empty p { color: #6d7685; font-size: 13px; }
.th-blog__empty a { display: inline-block; margin-top: 12px; color: #3769cf; font-size: 13px; font-weight: 700; }
@media (max-width: 990px) {
    .th-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .th-blog__heading { min-height: 180px; }
}
@media (max-width: 640px) {
    .th-blog { padding: 17px 0 64px; }
    .th-blog > .th-container { padding-inline: 18px; }
    .th-blog__breadcrumb { margin-bottom: 18px; }
    .th-blog__heading { min-height: 0; padding: 30px 23px; margin-bottom: 29px; }
    .th-blog__heading h1 { font-size: 27px; margin-bottom: 12px; }
    .th-blog__description { font-size: 12px; }
    .th-blog__heading-mark { display: none; }
    .th-blog__toolbar h2 { font-size: 18px; }
    .th-blog__toolbar p { font-size: 11px; }
    .th-blog__grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
    .th-blog-card { display: grid; grid-template-columns: minmax(0, 39%) minmax(0, 1fr); }
    .th-blog-card__media { height: 100%; min-height: 170px; aspect-ratio: auto; }
    .th-blog-card__body { padding: 12px 12px 13px; }
    .th-blog-card__meta { margin-bottom: 8px; gap: 7px; font-size: 10px; }
    .th-blog-card__title { font-size: 13px; line-height: 1.58; margin-bottom: 7px; }
    .th-blog-card__title a { -webkit-line-clamp: 3; }
    .th-blog-card__excerpt { font-size: 11px; line-height: 1.65; margin-bottom: 7px; -webkit-line-clamp: 2; }
    .th-blog-card__read { font-size: 10px; padding-top: 0; }
    .th-blog__page--prev { margin-right: 0; }
    .th-blog__page--next { margin-left: 0; }
}
@media (max-width: 390px) {
    .th-blog-card { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
    .th-blog-card__meta { gap: 5px; }
    .th-blog-card__meta time { font-size: 9px; }
    .th-blog-card__title { font-size: 12px; }
    .th-blog-card__excerpt { -webkit-line-clamp: 2; }
    .th-blog-card__media .th-home-image-fallback > span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .th-blog-card, .th-blog-card__media img { transition: none; }
}
