@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
*/

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





/************************************
** 1. テーマカラー・共通設定（CSS変数）
************************************/
:root {
    --color-main: #8c6d53;          /* メインのブラウン */
    --color-accent: #a68970;        /* アクセントの明るめブラウン */
    --color-border: #eaddcf;        /* 基本の枠線カラー */
    --color-border-light: #eee8e2;  /* 薄い枠線 */
    --color-bg-paper: #fffcf7;      /* メニュー表などの背景色 */
}

/************************************
** 2. ブログ全体・記事内の見出し調整
************************************/
/* 固定ページの日付を非表示 */
.post-254 .date-tags {
    display: none;
}

/* H1見出し */
.article h1 {
    color: var(--book-color-main);
    text-align: center;
}

/* H2・H3見出しの共通リセット */
.entry-content h2,
.entry-content h3 {
    background: none;
    color: var(--book-color-main);
}

/* H2見出し：下線のみ */
.entry-content h2 {
    border-left: none;
    border-bottom: 1px solid var(--book-color-border);
    padding: 0 0 10px 0;
}

/* H3見出し：左のみ */
.entry-content h3 {
    border: none;
    border-left: 5px solid var(--book-color-border);
    padding: 10px 15px;
    margin: 30px 0 15px 0;
}

/* 新着記事・カードタイトル */
.entry-card-title {
    color: var(--book-color-main);
}

.entry-card-wrap {
    border: 1px solid var(--color-border-light) !important;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entry-card-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* カードタイトルの微調整 */
.entry-card-wrap .entry-card-title {
    font-size: 1.1em;
    font-weight: 500;
    color: #5a4a42;
}

/************************************
** 3. Book Hero（Book Cafe TOP・棚ページ共通）
************************************/

/************************************
** Book Beans Area
************************************/

.book-beans-area {
    background-image: url('https://nanakoroom.com/wp-content/uploads/2026/07/コーヒー豆２.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    text-align: center;
}

/************************************
** Book Cafe TOP Menu
************************************/

.book-menu-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.book-menu-area .book-menu-button {
    flex: 0 0 calc(50% - 10px);
    background: #ffffff;
    border: 1px solid #dcd1c4;
    border-radius: 2px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--book-color-text);
    box-sizing: border-box;
    transition: background 0.3s;
}

.book-menu-button:hover {
    background: #fbf9f5;
    color: var(--book-color-text);
}

.book-menu-button i {
    color: var(--book-color-main);
}

.book-menu-button h3 {
    border: none;
    background: none;
    color: var(--book-color-main);
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 500;
}

.book-menu-button p {
    margin: 0;
    font-size: 0.9em;
}

@media (max-width: 767px) {

    .book-menu-button h3 {
        font-size: 0.95em;
		font-weight: 600;
    }
}

/************************************
** Shelf Title
************************************/

.book-shelf-title-area {
    margin-bottom: 30px;
}

.book-shelf-title-card {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #dcd1c4;
    border-radius: 6px;
    padding: 20px 48px;
    text-align: center;
}

.book-shelf-title-card .cafe-icon-wrapper {
    margin-bottom: 12px;
}

.book-shelf-title-card .cafe-icon-wrapper i {
    color: var(--book-color-main);
}

.book-shelf-title {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--book-color-main);
    font-size: 1.4em;
    font-weight: normal;
    line-height: 1.4;
}

.book-shelf-title-card .book-shelf-subtitle {
    margin: 10px 0 0;
    color: var(--book-color-main);
    font-size: 0.95em;
    letter-spacing: 0.08em;
}

/************************************
** Shelf Intro Paper
************************************/

.book-intro-paper {
    max-width: 900px;
    margin: 30px auto 60px;
    padding: 70px 80px;
    background: var(--book-color-paper);
    border: 1px solid var(--book-color-border);
    box-shadow:
        0 20px 40px rgba(58, 46, 43, 0.08),
        0 2px 8px rgba(58, 46, 43, 0.04);
    position: relative;
    box-sizing: border-box;
    text-align: center;
}

/* 内側の細い枠線 */
.book-intro-paper::before {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid #dfd5c6;
    pointer-events: none;
}

/* ピン */
.book-paper-pin {
    position: absolute;
    top: -15px;
    font-size: 24px;
    z-index: 10;
}

.book-paper-pin-left {
    left: 20px;
    transform: rotate(-15deg);
}

.book-paper-pin-right {
    right: 20px;
    transform: rotate(15deg);
}

/* アイコン */
.book-intro-paper .cafe-icon-wrapper {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.book-intro-paper .cafe-icon-wrapper i {
    color: var(--book-color-main);
}

/* サブタイトル */
.book-intro-paper .book-shelf-subtitle {
    display: inline-block;
    margin: 0 0 45px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e0d5;
    color: var(--book-color-text);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    position: relative;
    z-index: 1;
}

/* 説明文 */
.book-shelf-description {
    max-width: 760px;
    margin: 0 auto 70px;
    color: var(--book-color-text);
    font-size: 1.05rem;
    line-height: 2;
    position: relative;
    z-index: 1;
}

/* フッター */
.book-intro-paper .cafe-menu-footer {
    position: relative;
    z-index: 1;
}

/************************************
** Responsive
************************************/

@media (max-width: 767px) {

    .book-intro-paper {
        margin: 0 auto 40px;
        padding: 40px 28px;
        border: none;
    }

    .book-intro-paper::before {
        top: 12px;
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .book-intro-paper .book-shelf-subtitle {
        margin-bottom: 30px;
        font-size: 0.9rem;
        letter-spacing: 0.08em;
    }

    .book-shelf-description {
        margin-bottom: 45px;
        font-size: 0.95rem;
        line-height: 1.9;
    }
	.book-menu-area .book-menu-button {
        flex: 0 0 100%;
        width: 100%;
    }
}



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

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

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