@charset "utf-8";

/* Journal記事ページ固有スタイル */

/* ExUnitプラグインの関連記事（本文末に自動挿入）：文字が小さすぎるため拡大 */
.veu_relatedPosts .mainSection-title.relatedPosts_title {
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 16px !important;
}

.veu_relatedPosts .media-heading {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
}

.veu_relatedPosts .media-body,
.veu_relatedPosts .media-date {
    font-size: 13px !important;
}

.blog,
.prev-next,
.blog-02 {
    padding-left: 2%;
    padding-right: 2%;
}

.blog-in {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* FV（記事ページ用・共通sub-fvパターンを使用） */
/* 記事本文が主役なので、他の下層ページより低めに抑える */
.sub-fv,
.sub-fv-img {
    height: 30vh;
    min-height: 260px;
}

.blog-con a {
    color: #CEAE52;
}

/* 記事エリア */
.blog-area {
    padding: 80px 0;
}

.blog-area time {
    color: #888;
    font-size: 14px;
}

.blog-time {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 48px 0;
}

.blog-con {
    line-height: 2.2;
}

.blog-con p {
    margin-bottom: 4em;
}

.blog-time .category {
    width: auto;
    background-color: #e7d7a8;
    padding: 6px 14px;
    font-size: 13px;
    color: #000;
    line-height: 1.4;
    text-align: center;
}

.blog-title h1,
    .blog-title h2 {
    font-size: 24px;
    width: 100%;
    margin-top: 0;
    border-bottom: solid 1px #333;
    margin-bottom: 40px;
    text-align: center;
}

/* 前後記事 */
.prev-next {
    background-color: #f1f1f1;
}

.prev-next-in {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 0;
    display: grid;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.prev-next-in a {
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    text-align: right;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.prev-next-in a:hover {
    opacity: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}

.blog-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prev-next-in a:hover .blog-img {
    transform: scale(1.05);
}

.blog-text {
    text-align: left;
}

.blog-text h3 {
    padding: 10px;
    color: #222;
}

.arrow {
    margin: 8px 8px 4px 0;
}

.prev,
.next {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #111;
    color: #fff;
    padding: 4px 16px;
}

/* カテゴリー・新着 */
.blog-flex {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    padding: 80px 0;
}

.blog-flex h2 {
    text-align: center;
    background-color: #333;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    border-radius: 4px;
    margin-bottom: 32px;
    font-size: 20px;
}

.flex-category { width: 40%; }
.category-list li { padding: 8px 0; }
.new-post { width: 55%; }

.n-p-list a {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: solid 1px #f1f1f1;
}

.n-p-list img {
    width: 30%;
    height: 100px;
    object-fit: cover;
}

.n-p-title { width: 65%; }

.n-p-title .category {
    text-align: center;
    background-color: #e7d7a8;
    padding: 4px 8px;
    color: #000;
    line-height: 1;
}

.n-p-title h3 { margin-top: 8px; color: #222; }

/* スマホ */
@media (max-width: 599px) {

    .sub-fv,
    .sub-fv-img {
        height: 30vh;
        min-height: 220px;
    }

    .hamburger { top: 10%; }

    .blog-area { padding: 48px 0; }

    .blog-time {
        display: block;
        padding: 16px 0 24px 0;
    }

    .blog-title h1,
    .blog-title h2 {
        font-size: 24px;
        width: 100%;
        margin-top: 0;
    }

    .blog-time .category {
        width: auto;
        margin: 12px 0 0;
        font-size: 12px;
    }

    .blog-flex {
        display: block;
        padding: 40px 0;
    }

    .flex-category,
    .new-post { width: 100%; }

    .new-post { margin-top: 24px; }

    .n-p-list img {
        width: 25%;
        height: 70px;
    }

    .n-p-title { width: 70%; }
}


/* 記事末尾：テーラークラモチについて（CTA） */
.journal-cta {
    margin-top: 56px;
    padding: 40px 32px;
    background-color: #f7f5f0;
    border: 1px solid #e0dcd0;
    text-align: center;
}

.journal-cta-title {
    margin: 0 0 16px;
    font-size: 20px;
    color: #2b2b2b;
    letter-spacing: 0.05em;
}

.journal-cta-text {
    margin: 0 auto 24px;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.9;
    color: #454545;
    text-align: left;
}

.journal-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.journal-cta-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.journal-cta-btn:hover {
    opacity: 0.8;
}

.journal-cta-btn-primary {
    background-color: #CEAE52;
    color: #fff;
}

.journal-cta-btn-secondary {
    background-color: transparent;
    color: #2b2b2b;
    border: 1px solid #2b2b2b;
}

@media (max-width: 767px) {
    .journal-cta {
        padding: 32px 20px;
    }
    .journal-cta-buttons {
        flex-direction: column;
    }
    .journal-cta-btn {
        text-align: center;
    }
}


/* 記事冒頭：元記事から引用した代表画像 */
.journal-hero-image {
    margin: 0 0 32px;
}

.journal-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

/* お知らせ（single-news.php）：本文画像はロゴ・告知画像が中心のため、Blog/Journal共通の切り抜き表示（.blog-con img の固定高さ＋cover）を解除して全体を表示する（2026-10-12） */
.news-single .blog-con img {
  height: auto;
  object-fit: contain;
}
@media (max-width: 599px) {
  .news-single .blog-con img {
    height: auto;
  }
}
