/*===============================
  Reset & Base
=============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
     font-family: 'Zen Kaku Gothic New', sans-serif;
     font-weight: 400;
     color: #2c2c2a;
     background: #faf9f6;
     line-height: 1.7;
}

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

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*===============================
  Layout
=============================== */
.inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/*===============================
  Header
=============================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e0ded6;
}

.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo a {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #3a4a2e;
}

.site-nav {
    display: flex;
    gap: 32px;
}

.site-nav a {
    font-size: 0.875rem;
    font-weight: 400;
    color: #5f5e5a;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #3a4a2e;
}

/* ===========================
   Hero（トップページ）
=========================== */
.hero {
    position: relative;
    height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #2e3d22;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #b5d4a0;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: #f0ede6;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: #c8c4b8;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: #f0ede6;
    letter-spacing: 0.1em;
    transition: background 0.25s, border-color 0.25s;
}

.hero-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* ===========================
   Category Hero（カテゴリーページ）
=========================== */
.category-hero {
    padding: 56px 0 48px;
    border-bottom: 1px solid #e0ded6;
    background: #f2f0ea;
}

.cat-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #7a9a60;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cat-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #2c2c2a;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.cat-desc {
    font-size: 0.9rem;
    color: #888780;
    font-weight: 300;
}

/* ===========================
   Section（新着・共通）
=========================== */
.section-recent {
    padding: 72px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c2c2a;
    letter-spacing: 0.02em;
}

.section-more {
    font-size: 0.85rem;
    color: #7a9a60;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}

.section-more:hover {
    color: #3a4a2e;
}

/* ===========================
   Main Content（カテゴリーページ）
=========================== */
.main-content {
    padding: 64px 0 80px;
}

/* ===========================
   Post Grid
=========================== */
.post-grid {
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(300px, 1fr));
    gap: 40px 32px;
}

.post-grid--3col {
    grid-template-columns: repeat(3,1fr);
}

/* ===========================
   Post Card
=========================== */
.post-card {
    background: #fff;
    border: 1px solid #e8e6de;
    overflow:hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card-link {
    display: block;
}

.card-body {
    padding: 20px 22px 24px;
}

.card-date {
    display: block;
    font-size: 0.75rem;
    color: #b4b2a9;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.card-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2c2a;
    line-height: 1.55;
    margin-bottom: 10px;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.card-excerpt {
    font-size: 0.83rem;
    color: #888780;
    line-height: 1.75;
    font-weight: 300;
}

.card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e8e6de;
}

.card-img img {
    transition: transform 0.4s ease;
}

.post-card:hover .card-img img {
    transform: scale(1.04);
}

.card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255,255,255,0.88);
    color: #3a4a2e;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===========================
   Pagination
=========================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0ded6;
    font-size: 0.875rem;
    color: #5f5e5a;
    transition: border-color 0.2s, color 0.2s;
}

.page-num:hover {
    border-color: #7a9a60;
    color: #3a4a2e;
}

.page-num.current {
    background: #3a4a2e;
    border-color: #3a4a2e;
    color: #fff;
}

.page-num.next {
    font-size: 1rem;
}

/* ===========================
   Footer
=========================== */
.site-footer {
    background: #2e3d22;
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #b5d4a0;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.footer-copy {
    fontsize: 0.78rem;
    color: #7a9a60;
    letter-spacing: 0.06em;
}

/* ===========================
   投稿ページ（singleページ）
=========================== */
.post {
    padding: 80px 24px 120px;
}

.post-inner {
    max-width: 600px;
    margin: 0 auto;
}

.post-thumb {
    margin-bottom: 56px;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio:956 / 585;
    box-shadow: 0 16px 40px rgba(46 61,34,0.12);
    background: #e8e6de;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-date {
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #34432b;
    margin-bottom: 20px;
    font-weight: 500;
}

.post-title {
    font-family: "Noto Serif JP", "serif";
    font-size: 34px;
    color: #222222;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 28px;
}

.post-content p {
    font-size: 16px;
    color: #333333;
    line-height: 2.0;
    letter-spacing: 0.04em;
}

.post-content p + p {
    margin-top: 0;
}

/* ===========================
   スマホ向け
=========================== */
@media (max-width: 900px) {
    .post-grid,
    .post-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
  .post-grid,
  .post-grid--3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
    .post {
        padding: 56px 20px 72px;
    }

    .post-thumb {
        margin-bottom: 36px;
    }

    .post-title {
        margin-bottom: 28px;
    }

    .post-content p {
        font-size: 0.95rem;
        line-height: 2.2;
        letter-spacing: 0.06em;
    }
}