/* -----------------------------
   投稿記事一覧・投稿CSS
----------------------------- */
.zen-header {
    background-color: rgba(245, 245, 245, 1);
}


/* -----------------------------
   投稿記事一覧CSS
----------------------------- */

/* ヒーローイメージ */
.zen-news-hero {
    position: relative;
    width: 100%;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--header-height, 9rem);
    /* ← ヘッダー高さ分余白 */
}

.zen-news-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


/* -----------------------------
   ヒーローイメージ上タイトル
----------------------------- */
.zen-news-title {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: white;
}

.zen-news-title-text {
    display: flex;
    align-items: flex-start;
    /* 頭揃え（上揃え） */
}

/* 和文・英文縦書き */
.zen-news-title-text .jp,
.zen-news-title-text .en {
    writing-mode: vertical-rl;
    margin: 0;
}

/* 和文 */
.zen-news-title-text .jp {
    font-size: 3.0rem;
    line-height: 2;
    letter-spacing: 0.3em;
}

/* 英文 */
.zen-news-title-text .en {
    font-family: 'Cormorant', serif;
    margin-top: 0.75rem;
    font-size: 1.8rem;
    letter-spacing: 0.3em;
}


/* -----------------------------
   パンくずリスト帯
----------------------------- */
.zen-breadcrumbs {
    width: 100%;
    background-color: #cce9da;
    padding: 1.25rem clamp(2rem, 5vw, 5rem);
    /* 上下 1.25rem 固定 / 左右は画面幅に応じて最小2rem、理想5vw、最大5rem */
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.zen-breadcrumbs-inner ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #444;
}

.zen-breadcrumbs-inner li+li::before {
    content: "＞";
    margin: 0 1rem;
}

/* タイトル部分だけ省略（…） */
.zen-breadcrumbs-inner li:last-child {
    display: inline-block;
    max-width: 20em; /* 適宜調整（文字数の目安） */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}

.zen-breadcrumbs-inner a {
    text-decoration: underline;
    color: inherit;
}

.single .zen-breadcrumbs {
    margin-top: var(--header-height);
}

/* -----------------------------
   投稿一覧エリア
----------------------------- */
.zen-news-posts {
    width: 100%;
    max-width: 102.4rem;
    padding-top: 8.7rem;
    padding-bottom: 11.3rem;
    padding-left: clamp(5rem, 10vw, 15rem);
    padding-right: clamp(5rem, 10vw, 15rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* リスト全体 */
.zen-news-item {
    display: flex;
    flex-direction: column;
    /* 2行表示 */
    gap: 0.5rem;
    border-bottom: 1px solid #1e1c1c;
    padding-bottom: 2rem;
}

/* 日付 */
.zen-news-date {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: #555;
}

/* タイトル */
.zen-news-info a {
    font-size: 2.1rem;
    font-weight: 400;
    color: #1e1c1c;
    letter-spacing: 0.03em;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 2行まで */
    -webkit-box-orient: vertical;
    white-space: normal;
}

/* スマホ向け調整 */
@media screen and (max-width: 480px) {
    /* ヒーローイメージ */
    .zen-news-hero {
        height: 25rem;
    }
    .zen-news-posts {
        padding-top: 5rem;
        padding-bottom: 8rem;
    }
}

/* ------------------------------------------ */

/* 404 ページ */
.zen-404 {
  display: flex;
  align-items: center;   /* 縦方向中央 */
  justify-content: center; /* 横方向中央 */
  min-height: 75vh;     /* 画面全体を確保 */
  padding: 2rem;
  box-sizing: border-box;
  text-align: center;
}

.zen-404-inner {
  max-width: 600px;
  padding:9rem 0;
}

.zen-404-img {
  width: 90%;
  height: auto;
  margin: 0 auto 5rem;
  display: block;
}

.zen-404-title {
  font-size: 3rem;
  margin-bottom: 5rem;
}

.zen-404-text {
  font-size: 1.8rem;
  margin-bottom: 5rem;
}

/* -----------------------------
   投稿記事エリア
----------------------------- */

/* 投稿記事全体 */
.zen-post {
    width: 100%;
    max-width: 102.4rem;
    padding-top: 6rem;
    padding-bottom: 10rem;
    padding-left: clamp(5rem, 10vw, 15rem);
    padding-right: clamp(5rem, 10vw, 15rem);
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
}


/* 投稿ヘッダー */
.zen-post-date {
    display: block;
    font-size: 2.1rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.zen-post-title {
    font-size: 3.0rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.zen-post-divider {
    border: none;
    border-top: 1px solid #ddd;
    /* 投稿一覧と同じ罫線 */
    margin: 1.5rem 0;
}

/* 投稿本文 */
.zen-post-content {
    margin-bottom: 8rem;
}


/* 一覧に戻るボタン全体 */
.zen-post-back {
    text-align: center;
    font-size: 1.8rem;
    margin: 2rem 0; /* 上下マージン */
}

/* ボタン */
.zen-post-back-btn {
    display: inline-block;
    width: clamp(200px, 50%, 500px); /* 最小200px、最大500px、中央で50% */
    padding: 1rem 2rem;              /* 縦横のパディング */
    border: 1px solid #1e1c1c;
    border-radius: 999px;            /* 横長角丸 */
    color: #1e1c1c;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;          /* パディング込みで幅を計算 */
}

/* ホバー時 */
.zen-post-back-btn:hover {
    background: #1e1c1c;
    color: #fff;
    opacity: 0.8; /* 過度な半透明を少し抑える */
}

/* スマホ向け調整 */
@media screen and (max-width: 480px) {
    /* 投稿記事全体 */
    .zen-post {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .zen-post-back-btn {
        width: 80%;      /* 画面幅の80%まで広げる */
        padding: 0.8rem 1.5rem; /* 少し小さく */
        font-size: 1.6rem;
    }

    .zen-post-content {
        margin-bottom: 4rem;
    }
}


