@charset "UTF-8";
/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template: cocoon-master
Version: 1.1.3
*/
/* 以降にこれまでのCSSを記述 */

/* クラシックエディタの画像に角丸を付ける */
.rounded-img {
    border-radius: 10px; /* 好みの数値に調整可能 */
}

/* ========================================
   ヘッダー高さのカスタマイズ
   ======================================== */

/* PC用 */
#header {
    height: 70px !important; /* ← 好きな高さに変更 */
}

/* スマホ用（必要なら） */
@media (max-width: 834px) {
    #header {
        height: 0px !important;
    }
}

/* ========================================
　固定ページの投稿日、更新日、投稿者名を非表示にする
　======================================== */
.page .date-tags,
.page .author-info {
    display: none;
}
/* ========================================
　ログアウトボタンの基本スタイル 
　======================================== */
.wpms-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 150px;
  padding: 10px 20px;
  background-color: #666666;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}
.wpms-logout-btn:hover {
  background-color: #444444;
  opacity: 0.9;
  text-decoration: none !important;
}
/* ========================================
   1. 本文見出し（H2・H3）のデザイン
   ======================================== */
.article h2 {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e7ddc9 !important;
    padding: 0 0 0.6em 0 !important;
    margin: 2.6em 0 1.3em;
    color: #3e2c23 !important;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.4;
    position: relative;
}
.article h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: #d4a373;
}
.article h2::before {
    content: none !important;
}
.article h3 {
    background: transparent !important;
    border: none !important;
    border-left: 4px solid #d4a373 !important;
    padding: 0.15em 0 0.15em 0.7em !important;
    color: #5d4037 !important;
    font-weight: 700;
    margin: 1.8em 0 0.9em;
}
.article h4 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #6b5a4d !important;
    font-weight: 700;
    margin: 1.5em 0 0.7em;
}
.article h4::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    background: #d4a373;
    vertical-align: middle;
}
.article h5,
.article h6 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #7a6a5d !important;
    font-weight: 700;
    margin: 1.3em 0 0.6em;
}
/* ========================================
   2. サイドバー：農家のお米屋さん デザイン
   ======================================== */
.sidebar {
    padding: 0 !important;
}
.sidebar .widget {
    background: #fffdfa !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 10px !important;
    padding: 14px 18px 20px !important; /* 上14px／左右18px／下20px（上を特に詰めた） */
    margin-bottom: 28px !important;
    box-shadow: 0 3px 12px rgba(93, 64, 55, 0.06);
    position: relative;
    overflow: hidden;
}
.sidebar .widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4a373 0%, #e8c89a 100%);
}
.sidebar .widget-title {
    background: transparent !important;
    border: none !important;
    color: #5d4037 !important;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 0 0 12px 14px !important;
    margin-bottom: 18px !important;
    position: relative;
}
.sidebar .widget-title::before,
.sidebar .widget-title::after {
    content: none !important;
    display: none !important;
}
.sidebar .widget-title {
    border-bottom: 1px solid #e9ddc8 !important;
}
.sidebar .widget-title::after {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d4a373;
}
.sidebar .widget-title::before {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 2px;
    background: #5d4037;
}
.sidebar .search-box,
.sidebar .sk-search-form {
    background: #f7f1e6 !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 30px !important;
    overflow: hidden;
}
.sidebar .search-box input[type="text"],
.sidebar .search-box input[type="search"] {
    background: transparent !important;
    border: none !important;
    color: #5d4037 !important;
}
.sidebar .search-box input[type="text"]::placeholder {
    color: #b9a98c !important;
}
.sidebar .search-box button,
.sidebar .search-box input[type="submit"] {
    background: #d4a373 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 30px 30px 0 !important;
    transition: background-color 0.25s ease;
}
.sidebar .search-box button:hover,
.sidebar .search-box input[type="submit"]:hover {
    background: #5d4037 !important;
}
.sidebar .widget ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.sidebar .widget ul li {
    border-bottom: 1px dashed #e9ddc8 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sidebar .widget ul li:last-child {
    border-bottom: none !important;
}
.sidebar .widget ul li a,
.sidebar .widget ul li > a:not([class]) {
    display: block;
    padding: 13px 4px 13px 18px !important;
    color: #5d4037 !important;
    text-decoration: none !important;
    line-height: 1.6;
    font-size: 0.92rem;
    position: relative;
    transition: padding-left 0.25s ease, color 0.25s ease;
}
.sidebar .widget ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #d4a373;
    border-right: 2px solid #d4a373;
    transition: border-color 0.25s ease;
}
.sidebar .widget ul li a:hover {
    color: #d4a373 !important;
    padding-left: 24px !important;
}
.sidebar .widget ul li a:hover::before {
    border-color: #5d4037;
}
.sidebar .newentry-card img,
.sidebar .related-entry-card img,
.sidebar .widget img {
    border-radius: 6px !important;
}
.sidebar .tagcloud a,
.sidebar .widget_tag_cloud a {
    display: inline-block;
    background: #f7f1e6 !important;
    color: #5d4037 !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    margin: 0 6px 8px 0 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.sidebar .tagcloud a:hover,
.sidebar .widget_tag_cloud a:hover {
    background: #d4a373 !important;
    color: #fff !important;
}
/* ========================================
   3. 目次（TOC）：シンプル＆モダン
   ======================================== */
.toc {
    border: 1px solid #e0d5c1 !important;
    background-color: #fcfbf9 !important;
    border-radius: 4px;
    padding: 20px !important;
}
.toc-title {
    background: transparent !important;
    color: #d4a373 !important;
    font-weight: 700;
    font-size: 1rem !important;
    text-align: center;
    border-bottom: 1px dashed #e0d5c1;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
/* ========================================
   4. ヘッダーと記事本文の間の余白調整
   ======================================== */
.header-container {
    margin-bottom: 0 !important;
}
.bread-crumb {
    margin: 8px 0 !important;
    padding: 6px 0 !important;
}
#content {
    padding-top: 10px !important;
}
.content-wrap,
.main {
    margin-top: 0 !important;
}
.home-introduction {
    margin-top: 10px !important;
    padding-top: 10px !important;
}
.page-header,
.archive-header,
.page-title,
.archive-title,
.cat-header,
.tag-header {
    margin-top: 0 !important;
    padding-top: 10px !important;
}
.main {
    padding-top: 5px !important;
}
#notice-area-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* ========================================
   5. コンテンツ上部ウィジェットエリアの余白調整
   ======================================== */
#content-top {
    margin: 0 !important;
    padding: 0 !important;
}
/* ホームページのmain上部余白を詰める */
.home #content,
.home .main,
.home main#main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* ホームページのページタイトルエリアを非表示 */
.home .article-header.entry-header {
    display: none !important;
}
/* ホームページの最初のH2上余白を詰める */
.home .article h2:first-of-type {
    margin-top: 0.5em !important;
}
/* ホームページのSNSシェア・フォローボタンを非表示 */
.home .sns-share,
.home .sns-follow {
    display: none !important;
}
/* ========================================
   6. モバイル・機能干渉の防止
   ======================================== */
/* ========================================
   7. ユーザーページ系画面：スマホ時の左右余白を限りなく縮小
   ======================================== */
@media screen and (max-width: 559px) {
    .narrow-mobile-page .content-in {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page #content,
    .narrow-mobile-page .content.col-full {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .entry-title {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .main {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .article,
    .narrow-mobile-page .entry-content {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .acf-form,
    .narrow-mobile-page #acf-form,
    .narrow-mobile-page .acf-fields,
    .narrow-mobile-page form {
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box;
    }
    .narrow-mobile-page .mypage-info-table {
        padding: 10px !important;
    }
    .narrow-mobile-page .mypage-info-table table th,
    .narrow-mobile-page .mypage-info-table table td {
        padding: 7px 5px !important;
        font-size: 12.5px !important;
    }
    .narrow-mobile-page .mypage-info-table table th {
        width: 34% !important;
        white-space: nowrap;
    }
    body.narrow-mobile-page .custom-register-sync-container {
        padding: 12px !important;
    }
    .page-id-818.narrow-mobile-page .content-in,
    .page-id-818.narrow-mobile-page #content,
    .page-id-818.narrow-mobile-page .content.col-full,
    .page-id-818.narrow-mobile-page .main,
    .page-id-818.narrow-mobile-page .article,
    .page-id-818.narrow-mobile-page .entry-content,
    .page-id-1450.narrow-mobile-page .content-in,
    .page-id-1450.narrow-mobile-page #content,
    .page-id-1450.narrow-mobile-page .content.col-full,
    .page-id-1450.narrow-mobile-page .main,
    .page-id-1450.narrow-mobile-page .article,
    .page-id-1450.narrow-mobile-page .entry-content {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

/* ========================================
   8. スライドインメニューの閉じるボタン：
      ×アイコンは残し、左寄せ＋透過＋下線
   ======================================== */
.menu-close-button {
    padding-top: 15px;
    padding-left: 20px;      /* リストの左端に合わせる（ズレていたらこの数値を調整） */
    padding-bottom: 20px;
    text-align: left;        /* 左寄せ */
    font-size: 0.9em;        /* ×サイズ */
    color: #000000 !important; /* 色をより濃く */
    text-decoration: underline !important; /* 下線 */
}

/* ========================================
   9. スライドインメニューの項目デザイン：
      罫線・余白・ホバー時の背景色・サブメニュー
   ======================================== */
.menu-drawer a {
    font-size: 0.9em;
    line-height: 1.6em;
    border-bottom: solid 1px #e6e6e6;
}
.menu-drawer a:hover {
    background-color: #ffc0cb; /*マウスオーバー時の背景色（お好みで変更してください）*/
}
.sub-menu li {
    margin-left: -14px;
    font-size: 0.9em;
    color: #e6e6e6;
}

@charset "UTF-8";
/*
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Template: cocoon-master
Version: 1.1.3
*/
/* 以降にこれまでのCSSを記述 */

/* ========================================
   ヘッダー高さのカスタマイズ
   ======================================== */

/* PC用 */
#header {
    height: 70px !important; /* ← 好きな高さに変更 */
}

/* スマホ用（必要なら） */
@media (max-width: 834px) {
    #header {
        height: 0px !important;
    }
}

/* ========================================
　固定ページの投稿日、更新日、投稿者名を非表示にする
　======================================== */
.page .date-tags,
.page .author-info {
    display: none;
}
/* ========================================
　ログアウトボタンの基本スタイル 
　======================================== */
.wpms-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 150px;
  padding: 10px 20px;
  background-color: #666666;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}
.wpms-logout-btn:hover {
  background-color: #444444;
  opacity: 0.9;
  text-decoration: none !important;
}
/* ========================================
   1. 本文見出し（H2・H3）のデザイン
   ======================================== */
.article h2 {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #e7ddc9 !important;
    padding: 0 0 0.6em 0 !important;
    margin: 2.6em 0 1.3em;
    color: #3e2c23 !important;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.4;
    position: relative;
}
.article h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: #d4a373;
}
.article h2::before {
    content: none !important;
}
.article h3 {
    background: transparent !important;
    border: none !important;
    border-left: 4px solid #d4a373 !important;
    padding: 0.15em 0 0.15em 0.7em !important;
    color: #5d4037 !important;
    font-weight: 700;
    margin: 1.8em 0 0.9em;
}
.article h4 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #6b5a4d !important;
    font-weight: 700;
    margin: 1.5em 0 0.7em;
}
.article h4::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    background: #d4a373;
    vertical-align: middle;
}
.article h5,
.article h6 {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #7a6a5d !important;
    font-weight: 700;
    margin: 1.3em 0 0.6em;
}
/* ========================================
   2. サイドバー：農家のお米屋さん デザイン
   ======================================== */
.sidebar {
    padding: 0 !important;
}
.sidebar .widget {
    background: #fffdfa !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 10px !important;
    padding: 14px 18px 20px !important; /* 上14px／左右18px／下20px（上を特に詰めた） */
    margin-bottom: 28px !important;
    box-shadow: 0 3px 12px rgba(93, 64, 55, 0.06);
    position: relative;
    overflow: hidden;
}
.sidebar .widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4a373 0%, #e8c89a 100%);
}
.sidebar .widget-title {
    background: transparent !important;
    border: none !important;
    color: #5d4037 !important;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    padding: 0 0 12px 14px !important;
    margin-bottom: 18px !important;
    position: relative;
}
.sidebar .widget-title::before,
.sidebar .widget-title::after {
    content: none !important;
    display: none !important;
}
.sidebar .widget-title {
    border-bottom: 1px solid #e9ddc8 !important;
}
.sidebar .widget-title::after {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d4a373;
}
.sidebar .widget-title::before {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 2px;
    background: #5d4037;
}
.sidebar .search-box,
.sidebar .sk-search-form {
    background: #f7f1e6 !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 30px !important;
    overflow: hidden;
}
.sidebar .search-box input[type="text"],
.sidebar .search-box input[type="search"] {
    background: transparent !important;
    border: none !important;
    color: #5d4037 !important;
}
.sidebar .search-box input[type="text"]::placeholder {
    color: #b9a98c !important;
}
.sidebar .search-box button,
.sidebar .search-box input[type="submit"] {
    background: #d4a373 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 30px 30px 0 !important;
    transition: background-color 0.25s ease;
}
.sidebar .search-box button:hover,
.sidebar .search-box input[type="submit"]:hover {
    background: #5d4037 !important;
}
.sidebar .widget ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.sidebar .widget ul li {
    border-bottom: 1px dashed #e9ddc8 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sidebar .widget ul li:last-child {
    border-bottom: none !important;
}
.sidebar .widget ul li a,
.sidebar .widget ul li > a:not([class]) {
    display: block;
    padding: 13px 4px 13px 18px !important;
    color: #5d4037 !important;
    text-decoration: none !important;
    line-height: 1.6;
    font-size: 0.92rem;
    position: relative;
    transition: padding-left 0.25s ease, color 0.25s ease;
}
.sidebar .widget ul li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 2px solid #d4a373;
    border-right: 2px solid #d4a373;
    transition: border-color 0.25s ease;
}
.sidebar .widget ul li a:hover {
    color: #d4a373 !important;
    padding-left: 24px !important;
}
.sidebar .widget ul li a:hover::before {
    border-color: #5d4037;
}
.sidebar .newentry-card img,
.sidebar .related-entry-card img,
.sidebar .widget img {
    border-radius: 6px !important;
}
.sidebar .tagcloud a,
.sidebar .widget_tag_cloud a {
    display: inline-block;
    background: #f7f1e6 !important;
    color: #5d4037 !important;
    border: 1px solid #e9ddc8 !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    margin: 0 6px 8px 0 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.sidebar .tagcloud a:hover,
.sidebar .widget_tag_cloud a:hover {
    background: #d4a373 !important;
    color: #fff !important;
}
/* ========================================
   3. 目次（TOC）：シンプル＆モダン
   ======================================== */
.toc {
    border: 1px solid #e0d5c1 !important;
    background-color: #fcfbf9 !important;
    border-radius: 4px;
    padding: 20px !important;
}
.toc-title {
    background: transparent !important;
    color: #d4a373 !important;
    font-weight: 700;
    font-size: 1rem !important;
    text-align: center;
    border-bottom: 1px dashed #e0d5c1;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
/* ========================================
   4. ヘッダーと記事本文の間の余白調整
   ======================================== */
.header-container {
    margin-bottom: 0 !important;
}
.bread-crumb {
    margin: 8px 0 !important;
    padding: 6px 0 !important;
}
#content {
    padding-top: 10px !important;
}
.content-wrap,
.main {
    margin-top: 0 !important;
}
.home-introduction {
    margin-top: 10px !important;
    padding-top: 10px !important;
}
.page-header,
.archive-header,
.page-title,
.archive-title,
.cat-header,
.tag-header {
    margin-top: 0 !important;
    padding-top: 10px !important;
}
.main {
    padding-top: 5px !important;
}
#notice-area-wrap {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* ========================================
   5. コンテンツ上部ウィジェットエリアの余白調整
   ======================================== */
#content-top {
    margin: 0 !important;
    padding: 0 !important;
}
/* ホームページのmain上部余白を詰める */
.home #content,
.home .main,
.home main#main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* ホームページのページタイトルエリアを非表示 */
.home .article-header.entry-header {
    display: none !important;
}
/* ホームページの最初のH2上余白を詰める */
.home .article h2:first-of-type {
    margin-top: 0.5em !important;
}
/* ホームページのSNSシェア・フォローボタンを非表示 */
.home .sns-share,
.home .sns-follow {
    display: none !important;
}
/* ========================================
   6. モバイル・機能干渉の防止
   ======================================== */
/* ========================================
   7. ユーザーページ系画面：スマホ時の左右余白を限りなく縮小
   ======================================== */
@media screen and (max-width: 559px) {
    .narrow-mobile-page .content-in {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page #content,
    .narrow-mobile-page .content.col-full {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .entry-title {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .main {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .article,
    .narrow-mobile-page .entry-content {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .narrow-mobile-page .acf-form,
    .narrow-mobile-page #acf-form,
    .narrow-mobile-page .acf-fields,
    .narrow-mobile-page form {
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box;
    }
    .narrow-mobile-page .mypage-info-table {
        padding: 10px !important;
    }
    .narrow-mobile-page .mypage-info-table table th,
    .narrow-mobile-page .mypage-info-table table td {
        padding: 7px 5px !important;
        font-size: 12.5px !important;
    }
    .narrow-mobile-page .mypage-info-table table th {
        width: 34% !important;
        white-space: nowrap;
    }
    body.narrow-mobile-page .custom-register-sync-container {
        padding: 12px !important;
    }
    .page-id-818.narrow-mobile-page .content-in,
    .page-id-818.narrow-mobile-page #content,
    .page-id-818.narrow-mobile-page .content.col-full,
    .page-id-818.narrow-mobile-page .main,
    .page-id-818.narrow-mobile-page .article,
    .page-id-818.narrow-mobile-page .entry-content,
    .page-id-1450.narrow-mobile-page .content-in,
    .page-id-1450.narrow-mobile-page #content,
    .page-id-1450.narrow-mobile-page .content.col-full,
    .page-id-1450.narrow-mobile-page .main,
    .page-id-1450.narrow-mobile-page .article,
    .page-id-1450.narrow-mobile-page .entry-content {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

/* ========================================
   8. スライドインメニューの閉じるボタン：
      ×アイコンは残し、左寄せ＋透過＋下線
   ======================================== */
.menu-close-button {
    padding-top: 15px;
    padding-left: 20px;      /* リストの左端に合わせる（ズレていたらこの数値を調整） */
    padding-bottom: 20px;
    text-align: left;        /* 左寄せ */
    font-size: 0.7em;        /* ×をさらに小さく */
    color: #000000 !important; /* 色をより濃く */
    text-decoration: underline !important; /* 下線 */
}

/* ========================================
   9. スライドインメニューの項目デザイン：
      罫線・余白・ホバー時の背景色・サブメニュー
   ======================================== */
.menu-drawer a {
    font-size: 0.9em;
    line-height: 1.6em;
    border-bottom: solid 1px #e6e6e6;
}
.menu-drawer a:hover {
    background-color: #ffc0cb; /*マウスオーバー時の背景色（お好みで変更してください）*/
}
.sub-menu li {
    margin-left: -14px;
    font-size: 0.9em;
    color: #e6e6e6;
}
/* ========================================
   10. 記事カード（エントリーカード）デザイン：
       画像を主役にした今風のカード（案A）
   ======================================== */

/* カード全体：角丸・枠線・ホバーで少し浮かせる */
.entry-card-wrap {
    border-radius: 12px !important;
    border: 1px solid #e9ddc8 !important;
    overflow: visible !important; /* カテゴリーピルを画像下端に重ねるため */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.entry-card-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(93, 64, 55, 0.12);
    background-color: #fffdfa !important;
}

/* サムネイル画像：上側だけ角丸、下にカテゴリーピルが飛び出す分の余白を確保 */
.entry-card-thumb {
    position: relative;
    overflow: visible !important;
    border-radius: 10px 10px 0 0;
    margin-bottom: 14px !important;
}
.entry-card-thumb-image {
    border-radius: 10px 10px 0 0;
}

/* カテゴリーラベル：折り紙風タグ→ピル型バッジに変更し、画像の下端に重ねる */
.entry-card-thumb .cat-label {
    position: absolute !important;
    left: 12px;
    bottom: -12px;
    top: auto !important;
    right: auto !important;
    background: #5d4037 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: normal;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    border: none !important;
}
.entry-card-thumb .cat-label::before,
.entry-card-thumb .cat-label::after {
    content: none !important;
    display: none !important;
}

/* タイトル */
.entry-card-title {
    font-weight: bold !important;
    font-size: 1rem !important;
    color: #3e2c23 !important;
    line-height: 1.5 !important;
    margin-top: 6px !important;
}

/* 抜粋文：2行で省略し、色を少し薄く */
.entry-card-snippet {
    color: #8a7a6a !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 日付・更新日エリア：色を薄い茶色に統一 */
.entry-card-meta,
.entry-card-info,
.post-date,
.post-update,
.entry-card-info .entry-date {
    color: #b9a98c !important;
    font-size: 0.75rem !important;
}
.post-date .fa,
.post-update .fa {
    color: #d4a373 !important;
}
/* ========================================
   nk_card_list ショートコード専用カードデザイン
   （entry-cardの見た目を .nk-card-* 用に移植）
   ======================================== */

.nk-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}
@media screen and (max-width: 900px) {
    .nk-card-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 500px) {
    .nk-card-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
.nk-card-wrap {
    display: block;
    width: 100%;
    text-decoration: none !important;
    border-radius: 12px;
    border: 1px solid #e9ddc8;
    overflow: visible;
    background: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nk-card-wrap:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(93, 64, 55, 0.12);
    background-color: #fffdfa;
}

.nk-card-thumb {
    position: relative;
    overflow: visible;
    border-radius: 10px 10px 0 0;
    margin-bottom: 14px;
}
.nk-card-thumb-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}
.nk-card-noimage {
    width: 100%;
    height: 160px;
    background: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    border-radius: 10px 10px 0 0;
}

.nk-cat-label {
    position: absolute;
    left: 12px;
    bottom: -12px;
    background: #5d4037;
    color: #fff;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    line-height: 1.4;
}

.nk-card-body {
    padding: 4px 14px 14px;
}
.nk-card-title {
    font-weight: bold !important;
    font-size: 1rem !important;
    color: #3e2c23 !important;
    line-height: 1.5 !important;
    margin: 6px 0 6px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}
.nk-card-title::before,
.nk-card-title::after {
    content: none !important;
    display: none !important;
}
.nk-card-snippet {
    color: #8a7a6a !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin: 0 0 8px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nk-card-meta {
    color: #b9a98c !important;
    font-size: 0.75rem !important;
}
.nk-card-meta .fa {
    color: #d4a373;
}

/* ========================================
   11. reCAPTCHA バッジの非表示
   ======================================== */
.grecaptcha-badge {
    visibility: hidden !important;
}