@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){
  /*必要ならばここにコードを書く*/
}
/* Elementorで作成した固定ページの見出し装飾をリセット */
.elementor h2,
.elementor h3,
.elementor h4 {
    background: none;
    border: none;
    box-shadow: none;
}

.elementor h2::before,
.elementor h2::after,
.elementor h3::before,
.elementor h3::after,
.elementor h4::before,
.elementor h4::after {
    content: none;
    display: none;
}

/* ==================================================
   思い出シアター｜投稿ページ共通デザイン
   Cocoon Child
   ================================================== */


/* ---------------------------------
   投稿ページ全体
--------------------------------- */

body.single-post {
    background-color: #f7f4ee;
    color: #333333;
}


/* ---------------------------------
   投稿ページ：メインエリア
--------------------------------- */

body.single-post #main {
    width: min(100% - 48px, 980px);
    margin: 48px auto 80px;
    padding: 56px 64px 72px;

    background: #ffffff;
    border: none;
    box-shadow: none;
}
/* 本文の読みやすい横幅 */
body.single-post .entry-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
body.single-post .entry-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

body.single-post .entry-title {
    margin-top: 10px;
    margin-bottom: 22px;
}

/* ---------------------------------
   目次
--------------------------------- */

body.single-post .toc {
    max-width: 540px;
    padding: 16px 26px;
    margin-top: 36px;
    margin-bottom: 58px;
}

    background: #faf8f4;
    border: 1px solid #ded8cf;
    border-radius: 0;
}

body.single-post .toc-title {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #555555;
}

body.single-post .toc-list {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------
   記事タイトル
--------------------------------- */

body.single-post .entry-title {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        "Noto Serif JP",
        serif;

    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: #292929;

    margin-bottom: 28px;
}


/* ---------------------------------
   投稿日・更新日など
--------------------------------- */

body.single-post .date-tags,
body.single-post .post-date,
body.single-post .post-update {
    font-size: 13px;
    color: #888888;
    letter-spacing: 0.05em;
}


/* ---------------------------------
   カテゴリー
--------------------------------- */

body.single-post .entry-categories a,
body.single-post .cat-link {
    display: inline-block;
    background: #741f2c;
    color: #ffffff;
    padding: 5px 12px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 0;
}


/* ---------------------------------
   アイキャッチ
--------------------------------- */

body.single-post .eye-catch {
    margin-top: 32px;
    margin-bottom: 50px;
}

body.single-post .eye-catch img {
    width: 100%;
    height: auto;
    border-radius: 0;
}


/* ---------------------------------
   記事本文
--------------------------------- */

body.single-post .entry-content {
    font-size: 17px;
    line-height: 2.05;
    letter-spacing: 0.025em;
    color: #383838;
}

body.single-post .entry-content p {
    margin-top: 0;
    margin-bottom: 1.8em;
}


/* ---------------------------------
   H2
--------------------------------- */

body.single-post .entry-content h2 {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        "Noto Serif JP",
        serif;

    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04em;

    color: #292929;
    background: transparent;

    border: none;
    border-bottom: 1px solid #741f2c;

    padding: 0 0 15px;
    margin: 65px 0 32px;
}
body.single-post .entry-content > h2:first-child {
    margin-top: 20px;
}

/* ---------------------------------
   H3
--------------------------------- */

body.single-post .entry-content h3 {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        "Noto Serif JP",
        serif;

    font-size: clamp(20px, 2vw, 25px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.035em;

    color: #333333;
    background: transparent;

    border: none;
    border-left: 3px solid #741f2c;

    padding: 3px 0 3px 18px;
    margin: 50px 0 25px;
}


/* ---------------------------------
   H4
--------------------------------- */

body.single-post .entry-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333333;

    border: none;
    background: transparent;

    margin: 40px 0 20px;
}


/* ---------------------------------
   本文リンク
--------------------------------- */

body.single-post .entry-content a {
    color: #741f2c;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.single-post .entry-content a:hover {
    opacity: 0.7;
}


/* ---------------------------------
   引用
--------------------------------- */

body.single-post .entry-content blockquote {
    background: #f7f4ee;
    border: none;
    border-left: 3px solid #a28c72;

    margin: 40px 0;
    padding: 28px 32px;

    color: #555555;
    font-size: 16px;
    line-height: 1.9;
}


/* ---------------------------------
   箇条書き
--------------------------------- */

body.single-post .entry-content ul,
body.single-post .entry-content ol {
    margin: 30px 0;
    padding-left: 1.8em;
}

body.single-post .entry-content li {
    margin-bottom: 10px;
    line-height: 1.9;
}


/* ---------------------------------
   画像
--------------------------------- */

body.single-post .entry-content img {
    max-width: 100%;
    height: auto;
}

body.single-post .entry-content figure {
    margin-top: 40px;
    margin-bottom: 40px;
}

body.single-post .entry-content figcaption {
    margin-top: 10px;
    color: #888888;
    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------
   水平線
--------------------------------- */

body.single-post .entry-content hr {
    border: 0;
    border-top: 1px solid #ded8cf;
    margin: 55px auto;
}


/* ---------------------------------
   スマートフォン
--------------------------------- */

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

    body.single-post {
        background: #ffffff;
    }

    body.single-post #main {
        padding: 32px 20px 50px;
    }

    body.single-post .entry-title {
        font-size: 27px;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    body.single-post .entry-content {
        font-size: 16px;
        line-height: 1.95;
    }

    body.single-post .entry-content h2 {
        font-size: 23px;
        margin-top: 50px;
        padding-bottom: 12px;
    }

    body.single-post .entry-content h3 {
        font-size: 20px;
        margin-top: 40px;
        padding-left: 14px;
    }

    body.single-post .eye-catch {
        margin-bottom: 35px;
    }

}


/* ==================================================
   投稿ページ｜記事ヘッダー調整
   ================================================== */


/* ---------------------------------
   パンくず
--------------------------------- */

body.single-post .breadcrumb {
    max-width: 820px;
    margin: 0 auto 26px;
    padding: 0;

    font-size: 13px;
    line-height: 1.6;
    color: #999999;
}

body.single-post .breadcrumb a {
    color: #888888;
    text-decoration: none;
}

body.single-post .breadcrumb a:hover {
    color: #741f2c;
}


/* ---------------------------------
   記事タイトル
--------------------------------- */

body.single-post .entry-title {
    max-width: 820px;

    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.5;
    letter-spacing: 0.045em;

    margin: 0 auto 18px;
}


/* ---------------------------------
   投稿日・カテゴリー表示
--------------------------------- */

body.single-post .entry-meta {
    max-width: 820px;
    margin: 0 auto 34px;

    color: #888888;
    font-size: 13px;
    letter-spacing: 0.05em;
}


/* 投稿日 */
body.single-post .post-date,
body.single-post .post-update {
    font-size: 13px;
    color: #9a9a9a;
    letter-spacing: 0.04em;
}


/* カテゴリー */
body.single-post .entry-categories,
body.single-post .cat-link {
    font-size: 12px;
}


/* ---------------------------------
   記事ヘッダー下部
--------------------------------- */

body.single-post .entry-header {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* タイトル下の細いアクセント */
body.single-post .entry-header::after {
    content: "";
    display: block;

    width: 44px;
    height: 1px;
    background: #741f2c;

    margin-top: 26px;
}


/* ---------------------------------
   目次位置
--------------------------------- */

body.single-post .toc {
    margin-top: 38px;
}


/* ---------------------------------
   記事末尾CTA
--------------------------------- */

body.single-post .omoide-post-cta {
    margin: 70px 0 20px;
    padding: 52px 40px;
    background: #f7f4ee;
    text-align: center;
}

body.single-post .omoide-post-cta h2,
body.single-post .omoide-post-cta h3 {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 26px;
    font-weight: 500;
    line-height: 1.6;
    color: #292929;

    border: none;
    margin: 0 0 20px;
    padding: 0;
}

body.single-post .omoide-post-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
    line-height: 1.9;
}

body.single-post .omoide-post-cta .wp-block-buttons {
    justify-content: center;
    gap: 14px;
}

body.single-post .omoide-post-cta .wp-block-button__link {
    min-width: 190px;
    padding: 13px 24px;

    border-radius: 0;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-decoration: none;
}

/* 標準プラン */
body.single-post .omoide-post-cta .wp-block-button:first-child .wp-block-button__link {
    background: #741f2c;
    color: #ffffff;
}

/* スライドプラン */
body.single-post .omoide-post-cta .wp-block-button:last-child .wp-block-button__link {
    background: #34566f;
    color: #ffffff;
}

body.single-post .omoide-post-cta .wp-block-button__link:hover {
    opacity: 0.82;
}

/* スマホ */
@media screen and (max-width: 768px) {

    body.single-post .omoide-post-cta {
        margin-top: 55px;
        padding: 40px 22px;
    }

    body.single-post .omoide-post-cta .wp-block-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    body.single-post .omoide-post-cta .wp-block-button,
    body.single-post .omoide-post-cta .wp-block-button__link {
        width: 100%;
    }
}

/* ==================================================
   思い出シアター｜カテゴリー一覧ページ
   ================================================== */


/* ---------------------------------
   カテゴリー一覧ページ全体
--------------------------------- */

body.category {
    background: #f7f4ee;
    color: #333333;
}


/* ---------------------------------
   メインエリア
--------------------------------- */

body.category #main {
    width: min(100% - 48px, 1080px);
    margin: 48px auto 80px;
    padding: 52px 60px 70px;

    background: #ffffff;
    border: none;
    box-shadow: none;
}


/* ---------------------------------
   パンくず
--------------------------------- */

body.category .breadcrumb {
    max-width: 920px;
    margin: 0 auto 28px;
    padding: 0;

    font-size: 13px;
    color: #999999;
}

body.category .breadcrumb a {
    color: #888888;
    text-decoration: none;
}


/* ---------------------------------
   カテゴリータイトル
--------------------------------- */

body.category .archive-title {
    max-width: 920px;
    margin: 0 auto 42px;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: clamp(30px, 3vw, 40px);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;

    color: #292929;
}


/* タイトル下アクセント */
body.category .archive-title::after {
    content: "";
    display: block;

    width: 44px;
    height: 1px;

    background: #741f2c;
    margin-top: 22px;
}


/* ---------------------------------
   記事一覧
--------------------------------- */

body.category .entry-card-wrap {
    max-width: 920px;
    margin-bottom: 28px;
}


/* 各記事カード */
body.category .entry-card {
    position: relative;

    background: #ffffff;
    border: 1px solid #e5dfd6;
    border-radius: 0;

    padding: 28px 30px;
    margin-bottom: 22px;

    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}


/* ホバー */
body.category .entry-card:hover {
    background: #faf8f4;
    border-color: #cfc5b8;
}


/* ---------------------------------
   記事タイトル
--------------------------------- */

body.category .entry-card-title {
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 21px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.025em;

    color: #292929;

    margin-bottom: 12px;
}

body.category .entry-card-title a {
    color: inherit;
    text-decoration: none;
}

body.category .entry-card-title a:hover {
    color: #741f2c;
}


/* ---------------------------------
   抜粋文
--------------------------------- */

body.category .entry-card-snippet {
    font-size: 15px;
    line-height: 1.9;
    color: #555555;

    margin-bottom: 18px;
}


/* ---------------------------------
   日付・カテゴリー
--------------------------------- */

body.category .entry-card-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    color: #999999;
}

body.category .entry-card-info a {
    color: #741f2c;
    text-decoration: none;
}


/* ---------------------------------
   PV表示を控えめに
--------------------------------- */

body.category .admin-pv {
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 10px;
}


/* ---------------------------------
   アイキャッチがある場合
--------------------------------- */

body.category .entry-card-thumb {
    margin-right: 24px;
}

body.category .entry-card-thumb img {
    width: 180px;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    border-radius: 0;
}


/* ---------------------------------
   ページネーション
--------------------------------- */

body.category .pagination {
    max-width: 920px;
    margin: 55px auto 0;
}

body.category .pagination a,
body.category .pagination span {
    border-radius: 0;
}

body.category .pagination .current {
    background: #741f2c;
    color: #ffffff;
}


/* ---------------------------------
   スマホ
--------------------------------- */

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

    body.category {
        background: #ffffff;
    }

    body.category #main {
        width: 100%;
        margin: 0;
        padding: 32px 20px 50px;
    }

    body.category .archive-title {
        font-size: 27px;
        margin-bottom: 34px;
    }

body.category .entry-card {
    padding: 26px 30px 22px;
}

    body.category .entry-card-title {
        font-size: 19px;
    }

    body.category .entry-card-snippet {
        font-size: 14px;
    }

    body.category .entry-card {
        display: block;
    }

    body.category .entry-card-thumb {
        margin: 0 0 18px;
    }

    body.category .entry-card-thumb img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
	
	body.category .admin-pv {
    display: none;
}
}

/* ==================================================
   カテゴリー一覧カード幅を統一
   ================================================== */

body.category .entry-card-wrap {
    display: block;
    width: 100%;
    max-width: 920px;
    margin: 0 auto 34px;
}

body.category .entry-card-wrap .entry-card {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
}

body.category .entry-card-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;

    margin-top: 16px;

    font-size: 12px;
    line-height: 1.5;
    color: #999999;
}

body.category .entry-card-info > * {
    margin: 0;
}

/* ---------------------------------
   カテゴリー一覧｜記事タイトルを強調
--------------------------------- */

body.category .entry-card-title {
    position: relative;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.035em;

    color: #292929;

     margin-bottom: 24px;
    padding: 0 0 15px;

    border-bottom: 1px solid #ded8cf;
}

body.category .entry-card-title::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -1px;

    width: 52px;
    height: 2px;

    background: #741f2c;
}

/* タイトルリンク */
body.category .entry-card-title a {
    color: #292929;
    text-decoration: none;
}


/* ホバー */
body.category .entry-card-title a:hover {
    color: #741f2c;
}


/* 本文との間隔 */
body.category .entry-card-snippet {
    margin-top: 0;
    padding-top: 0;
}


/* ---------------------------------
   カテゴリー見出しのフォルダアイコンを非表示
--------------------------------- */

body.category .archive-title .fa-folder,
body.category .archive-title .fa-folder-open,
body.category .archive-title .fa {
    display: none;
}

/* アイコンを消した分の余白調整 */
body.category .archive-title {
    padding-left: 0;
}


/* ==================================================
   カテゴリー見出し｜英字ラベル
   ================================================== */

/* 英字ラベル共通デザイン */
body.category .archive-title::before {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.18em;

    color: #8b6f73;
}


/* ---------------------------------
   コラム
--------------------------------- */

body.category-column .archive-title::before {
    content: "COLUMN";
}


/* ---------------------------------
   お知らせ
--------------------------------- */

body.category-info .archive-title::before {
    content: "INFO";
}


/* ==================================================
   固定ページの日付を非表示
   ================================================== */

body.page .post-date,
body.page .post-update,
body.page .date-tags,
body.page .entry-date {
    display: none !important;
}


/* ==================================================
   Elementor固定ページ｜ヘッダー直下の余白を詰める
   ================================================== */

body.page.elementor-page #main,
body.page.elementor-page .main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.page.elementor-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}