@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* =========================================================
   RISENAWorks JOURNAL
   BLOG INDEX
========================================================= */

/* BLOGのみサイドバー非表示 */
body.blog #sidebar,
body.blog .sidebar {
    display: none !important;
}

/* BLOG背景 */
body.blog {
    background: #f7f5ef;
}

body.blog #content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f7f5ef !important;
}

/* メインエリア */
body.blog #main {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 82px 32px 110px !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

/* =========================================================
   JOURNAL HERO
========================================================= */

body.blog .rw-journal-hero {
    width: 100%;
    margin: 0 0 64px;
    padding: 0 0 48px;
    border-bottom: 1px solid #d8d2c7;
}

body.blog .rw-journal-eyebrow {
    margin: 0 0 22px;
    color: #a52a25;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
}

body.blog .rw-journal-hero h1 {
    margin: 0 0 18px !important;
    padding: 0 !important;

    color: #292621;

    font-family:
        Georgia,
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1;
    font-weight: 400;
    letter-spacing: .02em;
}

body.blog .rw-journal-lead {
    margin: 0 0 18px;

    color: #292621;

    font-family:
        Georgia,
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: 24px;
    line-height: 1.7;
    letter-spacing: .06em;
}

body.blog .rw-journal-copy {
    margin: 0;
    color: #625e57;
    font-size: 13px;
    line-height: 2;
}

/* JOURNALカテゴリー風ラベル */
body.blog .rw-journal-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 22px;
    margin-top: 30px;
}

body.blog .rw-journal-topics span {
    position: relative;
    color: #777169;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
}

body.blog .rw-journal-topics span:not(:last-child)::after {
    content: "/";
    position: absolute;
    right: -14px;
    color: #b7b0a6;
}

/* =========================================================
   ARTICLE LIST
========================================================= */

body.blog .list {
    width: 100% !important;
    margin: 0 !important;
}

/* 記事カード */
body.blog .entry-card-wrap {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

body.blog .entry-card-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,.06) !important;
}

/* 画像 */
body.blog .entry-card-thumb {
    overflow: hidden;
}

body.blog .entry-card-thumb img {
    width: 100% !important;
    height: auto !important;
    transition: transform .4s ease;
}

body.blog .entry-card-wrap:hover .entry-card-thumb img {
    transform: scale(1.02);
}

/* 記事タイトル */
body.blog .entry-card-title {
    margin-top: 16px !important;

    color: #292621 !important;

    font-family:
        Georgia,
        "Yu Mincho",
        "Hiragino Mincho ProN",
        serif;

    font-size: 22px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

/* 抜粋 */
body.blog .entry-card-snippet {
    margin-top: 10px !important;
    color: #68635c !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
}

/* 日付 */
body.blog .entry-card-info,
body.blog .post-date {
    color: #999188 !important;
    font-size: 10px !important;
    letter-spacing: .06em;
}

/* カテゴリーラベル */
body.blog .cat-label {
    padding: 5px 9px !important;
    background: #292621 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 9px !important;
    letter-spacing: .08em;
}

/* ページ送り */
body.blog .pagination {
    margin-top: 70px !important;
}

/* =========================================================
   MOBILE
========================================================= */

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

    body.blog #main {
        padding: 55px 20px 80px !important;
    }

    body.blog .rw-journal-hero {
        margin-bottom: 42px;
        padding-bottom: 34px;
    }

    body.blog .rw-journal-eyebrow {
        margin-bottom: 17px;
        font-size: 9px;
    }

    body.blog .rw-journal-hero h1 {
        font-size: 46px;
        margin-bottom: 17px !important;
    }

    body.blog .rw-journal-lead {
        font-size: 19px;
    }

    body.blog .rw-journal-copy {
        font-size: 12px;
    }

    body.blog .rw-journal-topics {
        margin-top: 24px;
        gap: 8px 18px;
    }

    body.blog .entry-card-title {
        font-size: 19px !important;
    }

    body.blog .entry-card-snippet {
        font-size: 12px !important;
    }
}