@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
*/

.author-box .author-name a {
    text-decoration: none;
    color: #333;
}

/* 投稿本文下のウィジェットのみ真ん中寄せ */
.article-footer .widget {
    text-align: center;
}

/* おすすめカードをモバイルで非表示 */

@media screen and (max-width: 834px) {
    .recommended {
        display: none;
    }
}

/* モバイルグローバルメニューの高さ変更 */
@media screen and (max-width: 834px) {

    #navi .navi-in > .menu-mobile li {
        height: 34px;
    }

    #navi .navi-in > .menu-mobile > .menu-item-has-description > a > .caption-wrap {
        height: 34px;
    }
}

/* サイドバー見出し装飾 */
h3.widget-sidebar-title {
    color: #333333;
    background: #ddeeff;
    padding: 0.25em 0.25em;
    box-shadow: 0 0 0 4px #ddeeff;
    border: dashed 2px #ffffff;
}

/* グローバルメニューのフォントサイズ等変更 */
.navi-in .menu-header .item-label {
    font-size: 14px;
}

.navi-in > ul {
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

#navi .navi-in > ul > li {
    flex-grow: 1;
    -webkit-flex-grow: 1;
}

/* ブログカードのラベル */
.blogcard-label::after {
    color: #382000 !important;
}

/* 内部リンク */
.blogcard-label.internal-blogcard-label {
    background-color: #ddd8c5 !important;
}

/* 外部リンク */
.blogcard-label.external-blogcard-label {
    background-color: #ddd8c5 !important;
}

/* モバイルグローバルメニューのフォントサイズ変更 */
#navi .navi-in > .menu-mobile li a {
    font-size: 13px;
}

/* フッター余白変更 */
.footer {
    margin-top: 0;
    border-top: 4px dotted #72c7e6;
}

.footer-bottom {
    margin-top: 0;
}

/* フッターメニューをモバイルで一列にする */
@media screen and (max-width: 834px) {

    .navi-footer-in > .menu-footer {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .navi-footer-in a {
        font-size: 13px;
    }
}

/* コンテンツ上部の余白をなくす */
.content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* メインコンテンツ */
.main {
    padding-top: 0 !important;
}

/* コンテンツ上部のおすすめ記事・説明文のフォントサイズ */
.content-top .navi-entry-card-title,
.content-top .widget-entry-card-title,
.content-top .card-title {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

/* モバイルだけ文字を小さく */
@media screen and (max-width: 834px) {

    .mobile-note {
        font-size: 12px;
        line-height: 1.5;
    }
}
/* ========================================
   Cocoon モバイルスライドインメニュー
======================================== */

@media screen and (max-width: 834px) {

  /* 各メニュー項目 */
  .menu-drawer .menu-item,
  .menu-drawer li,
  #slide-in-menu .menu-item,
  #slide-in-menu li {
    border-bottom: 1px solid #ddeeff !important;
  }

  /* メニューのリンク部分 */
  .menu-drawer .menu-item > a,
  .menu-drawer li > a,
  #slide-in-menu .menu-item > a,
  #slide-in-menu li > a {
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
    padding: 10px 18px !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px;
  }

  /* 最後の項目は線を消す */
  .menu-drawer .menu-item:last-child,
  .menu-drawer li:last-child,
  #slide-in-menu .menu-item:last-child,
  #slide-in-menu li:last-child {
    border-bottom: none !important;
  }
}
/* 固定ページ・見出しボックス（PC） */
@media (min-width: 835px) {
  .caption-box-label,
  .caption-box-label-text,
  .caption-box-label-text span,
  .fz-20px {
    color: #333 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
  }
}
/* 固定ページ・見出しボックス（スマホ） */
@media (max-width: 834px) {
  .caption-box-label,
  .caption-box-label-text,
  .caption-box-label-text span,
  .fz-20px {
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
  }
}
.author-box .author-name a {
  pointer-events: none;
  cursor: default;
  color: inherit;
  text-decoration: none;
}
/* Jellyfin記事：アコーディオン見出しの余白 */
.postid-1644 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-1644 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-1644 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-1644 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
/* KODI記事：アコーディオン見出しの余白 */
.postid-1801 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-1801 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-1801 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-1801 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
/* 記事1222：目次の1.4～1.6を「・」にして右へずらす */

.postid-1222 .toc-list > li:first-child > ol > li:nth-child(4),
.postid-1222 .toc-list > li:first-child > ol > li:nth-child(5),
.postid-1222 .toc-list > li:first-child > ol > li:nth-child(6) {
    list-style: none !important;
    margin-left: 1.5em;
}

/* 1.4～1.6の番号を消して「・」を表示 */

.postid-1222 .toc-list > li:first-child > ol > li:nth-child(4)::before,
.postid-1222 .toc-list > li:first-child > ol > li:nth-child(5)::before,
.postid-1222 .toc-list > li:first-child > ol > li:nth-child(6)::before {
    content: "・";
    margin-right: 0.3em;
}

/* 1.7を目次上では1.4として表示 */

.postid-1222 .toc-list > li:first-child > ol > li:nth-child(7) {
    list-style: none !important;
}

.postid-1222 .toc-list > li:first-child > ol > li:nth-child(7)::before {
    content: "1.4.";
    margin-right: 0.3em;
}
/* 1222記事：アコーディオン見出しの▼ */
.postid-1222 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 閉じているときは▼ */
.postid-1222 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-1222 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
/* Youtube記事：アコーディオン見出しの余白 */
.postid-2234 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-2234 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-2234 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-2234 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
}
/* Paperless記事：アコーディオン見出しの余白 */
.postid-9672 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-9672 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-9672 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-9672 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
/* モバイルグローバルメニュー：6項目対応 */
@media screen and (max-width: 834px) {

    #navi .navi-in > .menu-mobile {
        display: flex;
        flex-wrap: wrap;
    }

    /* 1～4番目は2列 */
    #navi .navi-in > .menu-mobile > li:nth-child(-n+4) {
        width: 50% !important;
        box-sizing: border-box;
    }

    /* 5番目以降は1列 */
    #navi .navi-in > .menu-mobile > li:nth-child(n+5) {
        width: 100% !important;
        box-sizing: border-box;
    }
}
/* Docker記事：アコーディオン見出しの余白 */
.postid-10793 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-10793 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-10793 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}

/* 開いているときは▲ */
.postid-10793 .wp-block-accordion-item.is-open
.wp-block-accordion-heading__toggle-title::after {
    content: " ▲";
}
/* 記事10793：目次の2.4～2.6を「・」にして右へずらす */

.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(4),
.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(5),
.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(6) {
    list-style: none !important;
    margin-left: 1.5em;
}

/* 2.4～2.6の番号を消して「・」を表示 */

.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(4)::before,
.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(5)::before,
.postid-10793 .toc-list > li:nth-child(2) > ol > li:nth-child(6)::before {
    content: "・";
    margin-right: 0.3em;
}
/* モバイルだけアイキャッチのカテゴリーラベルを非表示 */
@media screen and (max-width: 767px) {
  .entry-card .cat-label {
    display: none;
  }
}
/* jellyfin-docker記事：アコーディオン見出しの余白 */
.postid-7981 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-7981 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-7981 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}
/* paperlessn-docker記事：アコーディオン見出しの余白 */
.postid-9849 .wp-block-accordion-heading {
    margin: 0 !important;
}

/* 標準の「＋」を非表示 */
.postid-9849 .wp-block-accordion-heading__toggle-icon {
    display: none !important;
}

/* 見出しの最後に▼を表示 */
.postid-9849 .wp-block-accordion-heading__toggle-title::after {
    content: " ▼";
    font-size: 22px;
}