/*
Theme Name: gaben-1.0
Theme URI:
Author: GABEN
Author URI:
Description: アントラーズオーラルケアクリニック ブログ専用オリジナルテーマ
Version: 1.0
Text Domain: gaben-1-0
*/

/* ========================================
   Base
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
        font-family: "Zen Old Mincho", serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #fff;
    font-size: 16px;
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

figure {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ========================================
   WordPress
======================================== */

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-bottom: 20px;
    margin-left: 30px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    margin-top: 8px;
    font-size: 13px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ========================================
   Common Layout
======================================== */

.site {
    width: 100%;
    overflow: hidden;
}

.site-main {
    width: 100%;
}

.blog-container {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}


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

@media screen and (max-width: 767px) {

    body {
        font-size: 15px;
    }

    .blog-container {
        width: calc(100% - 30px);
    }

}


/* ========================================
   Blog Hero
======================================== */

.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.blog-hero__title {
    margin: 0;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.blog-hero__sub {
    margin: 10px 0 0;
    font-size: 13px;
}


/* ========================================
   Blog List
======================================== */

.blog-list {
    padding: 40px 0 100px;
}

.blog-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 30px;
}


/* ========================================
   Blog Card
======================================== */

.blog-card {
    min-width: 0;
}

.blog-card__link {
    display: block;
}

.blog-card__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 800 / 520;
    background: #f5f5f5;
}

.blog-card__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card__link:hover .blog-card__thumbnail {
    transform: scale(1.04);
}

.blog-card__noimage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    letter-spacing: .1em;
}

.blog-card__content {
    padding-top: 20px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.blog-card__date {
    font-size: 12px;
}

.blog-card__category {
    display: inline-flex;
    padding: 3px 12px;
    border: 1px solid #ddd;
    font-size: 11px;
    line-height: 1.5;
}

.blog-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
}

.blog-card__excerpt {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
}

.blog-card__excerpt p {
    margin: 0;
}

.blog-card__more {
    display: inline-block;
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: .1em;
}


/* ========================================
   Pagination
======================================== */

.blog-pagination {
    margin-top: 80px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    font-size: 13px;
}

.blog-pagination .page-numbers.current {
    background: #333;
    border-color: #333;
    color: #fff;
}


/* ========================================
   Empty
======================================== */

.blog-empty {
    padding: 80px 0;
    text-align: center;
}


/* ========================================
   Footer
======================================== */

.site-footer {
    padding: 60px 0 30px;
    background: #f7f7f7;
}

.site-footer__inner {
    text-align: center;
}

.site-footer__logo {
    display: flex;
    flex-direction: column;
}

.site-footer__logo-main {
    font-size: 22px;
    letter-spacing: .12em;
}

.site-footer__logo-sub {
    margin-top: 5px;
    font-size: 10px;
}

.site-footer__menu {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.site-footer__copyright {
    margin: 40px 0 0;
    font-size: 10px;
}


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

@media screen and (max-width: 767px) {

    .site-header__inner {
        width: calc(100% - 30px);
        min-height: 70px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__logo-main {
        font-size: 18px;
    }

    .blog-hero {
        padding: 50px 0 30px;
    }

    .blog-hero__title {
        font-size: 30px;
    }

    .blog-list {
        padding: 30px 0 70px;
    }

    .blog-list__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .blog-pagination {
        margin-top: 60px;
    }

}

/* ========================================
   SIDE LINE
   SPのみ表示
======================================== */

.side_line {
    display: none;
}

@media screen and (max-width: 736px) {

    .side_line {
        display: block;
    }

}