@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){
  /*必要ならばここにコードを書く*/
}
/* ロゴを左端、メニューを右端に強制する */
.header-container-in {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* メニューが重ならないように横に並べる */
.menu-lucy {
    display: flex !important;
}
/* --- アピールエリアの文字とボタンのデザイン --- */

/* タイトルを大きくする */
.appeal-title {
    font-size: 50px !important; /* お好みの大きさに調整 */
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3) !important; /* 文字に影をつけて読みやすく */
}

/* メッセージ（サブタイトル）の調整 */
.appeal-message {
    font-size: 20px !important;
    margin-bottom: 30px !important;
}

/* ボタンをボタンらしくする */
.appeal-button {
    background-color: #333 !important; /* ボタンの色（黒系） */
    color: #fff !important; /* ボタンの文字色 */
    padding: 15px 40px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 50px !important; /* 角を丸くして今っぽく */
    transition: 0.3s !important;
    display: inline-block !important;
}

/* ボタンにマウスを乗せた時の動き */
.appeal-button:hover {
    background-color: #555 !important;
    transform: translateY(-3px) !important; /* 少し浮き上がる */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}
/* --- 温かみのあるデザインへの変更 --- */

/* 1. フォントを丸みのある優しいものに */
body {
    font-family: "Hiragino Sans", "Meiryo", sans-serif !important;
}

/* 2. タイトルの文字（大きく、少し丸く） */
.appeal-title {
    font-size: 48px !important;
    color: #5d4037 !important; /* 真っ黒ではなく、温かいダークブラウン */
    letter-spacing: 0.05em !important;
}

/* 3. ボタンを明るく、暖かみのある色に */
.appeal-button {
    background-color: #f5a623 !important; /* 明るいオレンジ・ハニーイエロー */
    color: #fff !important;
    border-radius: 30px !important; /* 角を丸くして柔らかく */
    padding: 18px 45px !important;
    font-size: 19px !important;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3) !important; /* 柔らかい光の影 */
    border: none !important;
}

/* ボタンにマウスを置いたとき */
.appeal-button:hover {
    background-color: #ffb84d !important; /* 少しだけ明るく */
    transform: scale(1.05) !important; /* ぷくっと少し大きく */
}

/* 4. メッセージ（サブタイトル）の色 */
.appeal-message {
    color: #6d4c41 !important;
    font-weight: 500 !important;
}
/* アピールエリアのボックスをかわいくする */
.appeal-content {
    background-color: rgba(255, 255, 255, 0.7) !important; /* 真っ白ではなく、70%くらい透けさせる */
    border-radius: 40px !important; /* 角を大きく丸くして柔らかい印象に */
    border: 3px solid #ffffff !important; /* 白いふちどりをつけて「くるみ」っぽく */
    padding: 40px 60px !important; /* 中にゆとりを持たせる */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important; /* 影をうっすらつけて浮かせる */
    backdrop-filter: blur(5px); /* ボックスの後ろを少しぼかす（今風のおしゃれな加工） */
}

/* タイトルの色を優しいブラウンに */
.appeal-title {
    color: #5d4037 !important;
    font-size: 32px !important; /* 少しサイズを整えます */
    margin-bottom: 15px !important;
}

/* キャッチコピーの色 */
.appeal-message {
    color: #8d6e63 !important;
    font-size: 16px !important;
}

/************************************
* 投稿ページ：Walnut English デザイン最終版
************************************/

/* --- 1. ヘッダーを固定ページと統一（横いっぱいに広げる） --- */
/* --- 2. 不要な要素の非表示（編集リンクを追加） --- */
.post_edit, .edit-link, .breadcrumb, .c-breadcrumbs, .post_at, .author-info, .entry-footer, .p-entry-footer, .author-link {
    display: none !important;
}
/* --- 3. ヘッダー調整 --- */
.l-header__inner, .navi-in {
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    width: 100% !important;
    padding: 0 20px !important; /* 両端に少し余裕を持たせる */
}

.g-nav ul, .navi-in ul {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important; /* 縦方向の中央揃え */
    flex: 1 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 5px; /* メニュー間の微調整 */
}

.navi-in li {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* 通常のリンク設定 */
.navi-in a, .menu-caption, .item-label {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    font-size: 0.82rem !important; 
    font-weight: 800 !important;   
    padding: 10px 15px !important; /* クリックエリアを少し広めに */
    letter-spacing: 0.05em; /* 詰まりすぎないよう調整 */
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

/* 通常リンクのホバー時 */
.navi-in a:hover:not(.nav-cta), 
.navi-in a:hover .menu-caption, 
.navi-in a:hover .item-label {
    color: #c5a059 !important; /* Walnut Gold */
    opacity: 0.8 !important;
    text-decoration: none !important; /* 下線なしで色変化のみに */
}

/* --- 無料体験申し込みボタンの特別設定 --- */
/* WordPressのメニュー設定で、この項目に「nav-cta」というクラスを付与するか、
   n番目の要素を指定することで適用できます */

.navi-in li:last-child a {
    background-color: #c5a059 !important; /* Walnut Gold */
    color: #ffffff !important;
    border-radius: 4px;
    margin-left: 10px;
    padding: 10px 20px !important; /* ボタンらしく少し太めに */
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.2);
}

.navi-in li:last-child a .menu-caption,
.navi-in li:last-child a .item-label {
    color: #ffffff !important;
}

.navi-in li:last-child a:hover {
    background-color: #d4af37 !important; /* 少し明るい金 */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
    opacity: 1 !important;
}

/* モバイル対応の微調整 */
@media (max-width: 768px) {
    .navi-in a {
        font-size: 0.75rem !important;
        padding: 8px 10px !important;
    }
    .navi-in li:last-child a {
        padding: 8px 12px !important;
        margin-left: 5px;
    }
}


/* ロゴとメニューの配置調整 */
.single-post .logo-header {
    margin: 0 !important;
}
.single-post .g-nav {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* --- 2. 全体の背景デザイン --- */
body.single-post {
    background-color: #fdfaf2 !important;
    background-image: repeating-linear-gradient(-45deg, rgba(253, 250, 242, 0) 0, rgba(253, 250, 242, 0) 20px, rgba(197, 160, 89, 0.08) 20px, rgba(197, 160, 89, 0.08) 21px) !important;
    background-attachment: fixed !important;
}

/* --- 3. メイン記事エリア（白いカード化） --- */
.single-post #main {
    background: #ffffff !important;
    padding: 60px 40px !important;
    border-radius: 2px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08) !important;
    margin-top: 40px !important;
    margin-bottom: 60px !important;
    font-family: "Hiragino Mincho ProN", "YuMincho", serif !important;
}

/* --- 4. タイトルとアイキャッチのサイズ調整 --- */
.single-post .entry-title {
    font-family: "Hiragino Mincho ProN", "YuMincho", serif !important;
    font-size: 2rem !important;
    text-align: center !important;
    color: #333 !important;
    border: none !important;
    margin-bottom: 40px !important;
}

/* アイキャッチ画像を上品なサイズに制限 */
.single-post .entry-eye-catch {
    max-width: 650px !important; /* 横幅を650pxに固定 */
    margin: 0 auto 40px !important; /* 中央寄せ */
}

.single-post .entry-eye-catch img {
    width: 100% !important;
    height: auto !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* --- 5. サイドバーのデザイン調整（白カード化） --- */
.single-post #sidebar {
    background: transparent !important;
}

.single-post #sidebar .widget {
    background: #ffffff !important;
    padding: 25px 20px !important;
    border-radius: 2px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    margin-bottom: 30px !important;
    border: none !important;
}

/* ウィジェット見出しの装飾 */
.widget-title {
    font-family: "Hiragino Mincho ProN", "YuMincho", serif !important;
    color: #c5a059 !important;
    border-bottom: 1px solid #c5a059 !important;
    background: none !important;
    padding-bottom: 10px !important;
}

/* --- 6. 仕上げのクリーンアップ --- */
.single-post #content, 
.single-post .l-container {
    background: transparent !important;
}

.single-post .cat-label {
    background-color: #c5a059 !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .single-post #main { padding: 40px 20px !important; }
    .single-post .entry-title { font-size: 1.5rem !important; }
    .single-post .entry-eye-catch { max-width: 100% !important; }
    .single-post .l-header__inner { padding: 0 20px !important; }
}