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


/* =====================================================
   GleeⅠ BLOG SINGLE PAGE
   ===================================================== */


/* =====================================================
   共通カラー
   ===================================================== */

body.single-post {
  --glee-bg: #edfdd8;
  --glee-bg-strong: #d9f6b6;
  --glee-bg-soft: #f8fff1;

  --glee-card: rgba(255, 255, 255, 0.94);

  --glee-text: #4a3a25;
  --glee-text-light: #75624a;

  --glee-green: #94c66f;
  --glee-green-dark: #567336;

  --glee-blue: #77c6f5;
  --glee-orange: #ffb55f;
  --glee-yellow: #ffd96f;
  --glee-pink: #f39ab0;

  --glee-shadow:
    0 18px 44px rgba(86, 89, 45, 0.10);
}


/* =====================================================
   投稿記事 全体背景
   ===================================================== */

body.single-post {
  color: var(--glee-text);

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(255, 255, 255, 0.90),
      transparent 24%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(255, 217, 111, 0.18),
      transparent 22%
    ),
    radial-gradient(
      circle at 18% 88%,
      rgba(119, 198, 245, 0.14),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #f8fff1 0%,
      #edfdd8 100%
    ) !important;
}


/* =====================================================
   Cocoon標準ヘッダー
   投稿記事だけ非表示
   ===================================================== */

body.single-post #header-container,
body.single-post .header-container {
  display: none !important;
}


/* =====================================================
   Cocoonスマホ固定メニュー
   ===================================================== */

body.single-post .mobile-header-menu-buttons,
body.single-post .mobile-footer-menu-buttons {
  display: none !important;
}


/* =====================================================
   GleeⅠ Header
   ===================================================== */

.glee-single-header {
  position: sticky;
  top: 0;
  z-index: 9999;

  width: 100%;

  background:
    rgba(237, 253, 216, 0.94);

  border-bottom:
    1px solid rgba(122, 105, 71, 0.10);

  box-shadow:
    0 8px 28px rgba(86, 89, 45, 0.09);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


/* WordPress管理バー */

body.admin-bar .glee-single-header {
  top: 32px;
}


.glee-single-header-inner {
  width:
    min(
      calc(100% - 32px),
      1180px
    );

  min-height: 88px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


/* =====================================================
   Header Brand
   ===================================================== */

.glee-single-brand {
  display: inline-flex;
  align-items: center;

  gap: 13px;

  min-width: 0;

  color: var(--glee-text) !important;

  text-decoration: none !important;
}


.glee-single-logo {
  width: 60px;
  height: 60px;

  flex-shrink: 0;

  object-fit: contain;

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 7px 18px rgba(86, 89, 45, 0.12);
}


.glee-single-brand-text {
  display: block;

  min-width: 0;
}


.glee-single-brand-sub {
  display: block;

  margin-bottom: 2px;

  color: var(--glee-text-light);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.04em;

  line-height: 1.4;

  white-space: nowrap;
}


.glee-single-brand-main {
  display: block;

  color: var(--glee-text);

  font-size: 1rem;
  font-weight: 900;

  line-height: 1.4;

  white-space: nowrap;
}


/* =====================================================
   Desktop Navigation
   ===================================================== */

.glee-single-nav {
  display: flex;
  align-items: center;

  gap: 4px;
}


.glee-single-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;

  padding: 9px 15px;

  border-radius: 999px;

  color: var(--glee-text) !important;

  font-size: 0.9rem;
  font-weight: 800;

  text-decoration: none !important;

  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}


.glee-single-nav a:hover {
  color: var(--glee-green-dark) !important;

  background:
    rgba(255, 255, 255, 0.80);

  transform: translateY(-2px);
}


.glee-single-nav a.is-current {
  color: var(--glee-green-dark) !important;

  background: #ffffff;

  box-shadow:
    0 5px 15px rgba(86, 89, 45, 0.08);
}


/* =====================================================
   Mobile Header Menu
   ===================================================== */

.glee-single-mobile-menu {
  display: none;

  position: relative;
}


.glee-single-mobile-menu summary {
  min-width: 58px;
  min-height: 52px;

  padding: 6px 9px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border:
    1px solid rgba(122, 105, 71, 0.12);

  border-radius: 16px;

  background:
    rgba(255, 255, 255, 0.90);

  color: var(--glee-green-dark);

  cursor: pointer;

  list-style: none;

  box-shadow:
    0 5px 14px rgba(86, 89, 45, 0.07);
}


.glee-single-mobile-menu summary::-webkit-details-marker {
  display: none;
}


.glee-menu-icon {
  width: 22px;

  display: grid;

  gap: 4px;
}


.glee-menu-icon span {
  display: block;

  width: 100%;
  height: 2px;

  border-radius: 999px;

  background: var(--glee-green-dark);
}


.glee-menu-label {
  font-size: 0.57rem;
  font-weight: 900;

  letter-spacing: 0.08em;
}


/* =====================================================
   Mobile Navigation Panel
   ===================================================== */

.glee-single-mobile-panel {
  position: absolute;

  top: calc(100% + 12px);
  right: 0;

  width:
    min(
      310px,
      calc(100vw - 28px)
    );

  padding: 12px;

  border:
    1px solid rgba(122, 105, 71, 0.10);

  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.98);

  box-shadow:
    0 22px 55px rgba(86, 89, 45, 0.16);
}


.glee-single-mobile-panel a {
  display: block;

  margin: 2px 0;

  padding: 12px 15px;

  border-radius: 15px;

  color: var(--glee-text) !important;

  font-size: 0.92rem;
  font-weight: 800;

  text-decoration: none !important;
}


.glee-single-mobile-panel a:hover,
.glee-single-mobile-panel a.is-current {
  color: var(--glee-green-dark) !important;

  background: var(--glee-bg);
}


/* =====================================================
   Cocoon背景を透明化
   ===================================================== */

body.single-post #container,
body.single-post #content,
body.single-post #content-in,
body.single-post .content-in,
body.single-post .content {
  background: transparent !important;
}


/* =====================================================
   記事＋サイドバー全体
   ===================================================== */

body.single-post #content-in {
  width:
    min(
      calc(100% - 32px),
      1180px
    );

  margin-left: auto;
  margin-right: auto;
}


/* =====================================================
   記事メインカード
   ===================================================== */

body.single-post .main {
  background:
    rgba(255, 255, 255, 0.94) !important;

  border:
    1px solid rgba(122, 105, 71, 0.08);

  border-radius: 30px;

  box-shadow:
    var(--glee-shadow);

  padding: 36px;
}


/* =====================================================
   記事本文
   ===================================================== */

body.single-post .article,
body.single-post .entry-content {
  color: var(--glee-text);
}


body.single-post .entry-title {
  color: var(--glee-text);

  font-weight: 900;

  line-height: 1.45;
}


/* =====================================================
   記事 H2
   ===================================================== */

body.single-post .article h2 {
  margin-top: 42px;

  padding: 16px 20px;

  border: none !important;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #d9f6b6,
      #edfdd8
    ) !important;

  color: var(--glee-text);

  font-weight: 900;

  line-height: 1.5;
}


/* =====================================================
   記事 H3
   ===================================================== */

body.single-post .article h3 {
  margin-top: 32px;

  padding: 7px 0 7px 15px;

  border: none;

  border-left:
    6px solid var(--glee-green);

  background: transparent;

  color: var(--glee-text);

  font-weight: 900;
}


/* =====================================================
   記事 H4
   ===================================================== */

body.single-post .article h4 {
  color: var(--glee-green-dark);

  font-weight: 900;
}


/* =====================================================
   本文
   ===================================================== */

body.single-post .entry-content p {
  color: var(--glee-text);

  line-height: 1.9;
}


body.single-post .entry-content a {
  color: #4f762d;

  text-decoration-color:
    rgba(79, 118, 45, 0.40);
}


/* =====================================================
   記事画像
   ===================================================== */

body.single-post .entry-content img {
  border-radius: 14px;
}


/* =====================================================
   引用
   ===================================================== */

body.single-post blockquote {
  border: none;

  border-left:
    5px solid var(--glee-green);

  border-radius:
    0 18px 18px 0;

  background:
    var(--glee-bg-soft);

  color:
    var(--glee-text);
}


/* =====================================================
   Cocoon目次
   ===================================================== */

body.single-post .toc {
  border:
    1px solid rgba(148, 198, 111, 0.24);

  border-radius: 22px;

  background:
    #f8fff1;

  box-shadow:
    0 8px 25px rgba(86, 89, 45, 0.06);
}


body.single-post .toc-title {
  color: var(--glee-green-dark);

  font-weight: 900;
}


/* =====================================================
   カテゴリー・タグ
   ===================================================== */

body.single-post .entry-categories a,
body.single-post .entry-tags a,
body.single-post .cat-link,
body.single-post .tag-link {
  border-radius: 999px;

  background: var(--glee-bg);

  color:
    var(--glee-green-dark) !important;
}


/* =====================================================
   関連記事
   ===================================================== */

body.single-post .related-entry-card-wrap {
  border-radius: 18px;
}


body.single-post .related-entry-card {
  border-radius: 18px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}


body.single-post .related-entry-card:hover {
  transform: translateY(-2px);

  background:
    var(--glee-bg-soft);
}


/* =====================================================
   前の記事・次の記事
   ===================================================== */

body.single-post .pager-post-navi a {
  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.90);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


body.single-post .pager-post-navi a:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 25px rgba(86, 89, 45, 0.09);
}


/* =====================================================
   コメント
   ===================================================== */

body.single-post .comment-btn {
  border: none !important;

  border-radius: 999px !important;

  background:
    linear-gradient(
      135deg,
      #94c66f,
      #d9f6b6
    ) !important;

  color: #4a3a25 !important;

  font-weight: 900;
}


/* =====================================================
   SNSシェア・SNSフォロー非表示
   ===================================================== */

body.single-post .sns-share,
body.single-post .sns-share-buttons,
body.single-post .sns-follow,
body.single-post .sns-follow-buttons,
body.single-post .share-menu-content,
body.single-post .twitter-button,
body.single-post .x-corp-button,
body.single-post .facebook-button,
body.single-post .hatebu-button,
body.single-post .pocket-button,
body.single-post .line-button,
body.single-post .pinterest-button,
body.single-post .linkedin-button,
body.single-post .copy-button {
  display: none !important;
}


/* =====================================================
   現在のCocoonサイドバーを一旦GleeⅠ風に整える
   後ほど専用サイドバーへ置換予定
   ===================================================== */

body.single-post .sidebar {
  background: transparent !important;
}


body.single-post .sidebar > div,
body.single-post .sidebar .widget {
  margin-bottom: 18px;

  padding: 18px;

  border:
    1px solid rgba(122, 105, 71, 0.08);

  border-radius: 22px;

  background:
    rgba(255, 255, 255, 0.92);

  box-shadow:
    0 12px 30px rgba(86, 89, 45, 0.08);
}


body.single-post .sidebar h2,
body.single-post .sidebar h3,
body.single-post .sidebar .widget-title {
  margin-top: 0;

  padding:
    10px 13px;

  border: none;

  border-radius: 14px;

  background:
    var(--glee-bg-strong);

  color: var(--glee-text);

  font-weight: 900;
}


body.single-post .sidebar a {
  color: var(--glee-text);

  text-decoration: none;
}


body.single-post .sidebar a:hover {
  color: var(--glee-green-dark);
}


/* =====================================================
   Cocoon標準フッター
   投稿記事だけ非表示
   ===================================================== */

/* =====================================================
   Cocoon標準フッターを
   投稿記事では完全に非表示
   ===================================================== */

body.single-post footer#footer,
body.single-post #footer.footer,
body.single-post .footer.footer-container {
  display: none !important;
}


/* Cocoon標準フッター内の要素も念のため非表示 */

body.single-post #footer-in,
body.single-post .footer-bottom,
body.single-post .footer-bottom-content,
body.single-post .footer-widgets,
body.single-post .footer-widgets-mobile {
  display: none !important;
}


/* =====================================================
   GleeⅠ Footer
   ===================================================== */

.glee-single-footer {
  position: relative;

  width: 100%;

  margin-top: 64px;

  color: var(--glee-text);

  background:
    linear-gradient(
      180deg,
      #e4f8c9 0%,
      #d9f6b6 45%,
      #c9ec9d 100%
    );

  border-top:
    1px solid rgba(122, 105, 71, 0.08);

  overflow: hidden;
}


/* Footer decoration */

.glee-single-footer::before {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  top: -145px;
  left: -75px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.24);

  pointer-events: none;
}


.glee-single-footer::after {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: 5%;
  bottom: -100px;

  border-radius: 50%;

  background:
    rgba(255, 217, 111, 0.16);

  pointer-events: none;
}


/* =====================================================
   Footer Main
   ===================================================== */

.glee-single-footer-main {
  position: relative;

  z-index: 2;

  padding:
    38px 0 28px;
}


.glee-single-footer-inner {
  width:
    min(
      calc(100% - 32px),
      1180px
    );

  margin: 0 auto;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 50px;
}


/* =====================================================
   Footer Brand
   ===================================================== */

.glee-single-footer-brand {
  display: flex;

  align-items: flex-start;

  gap: 16px;

  min-width: 0;

  text-align: left !important;
}


.glee-single-footer-logo-link {
  display: block;

  flex-shrink: 0;

  text-decoration: none !important;
}


.glee-single-footer-logo {
  width: 72px;
  height: 72px;

  object-fit: contain;

  border-radius: 50%;

  background: #ffffff;

  box-shadow:
    0 8px 20px rgba(86, 89, 45, 0.10);
}


.glee-single-footer-company {
  min-width: 0;

  text-align: left !important;
}


.glee-single-footer-company-name {
  display: block;

  margin-bottom: 4px;

  color: var(--glee-text);

  font-size: 1rem;

  font-weight: 900;

  line-height: 1.5;

  text-align: left !important;
}


.glee-single-footer-service {
  margin:
    0 0 5px !important;

  color: #65764d;

  font-size: 0.78rem;

  font-weight: 700;

  line-height: 1.5;

  text-align: left !important;
}


.glee-single-footer-address {
  margin:
    0 0 10px !important;

  color: var(--glee-text-light);

  font-size: 0.84rem;

  line-height: 1.5;

  text-align: left !important;
}


/* =====================================================
   Footer Contact
   ===================================================== */

.glee-single-footer-contact {
  display: grid;

  gap: 3px;

  text-align: left !important;
}


.glee-single-footer-contact a {
  display: inline-flex;

  align-items: center;

  width: fit-content;

  gap: 7px;

  margin: 0 !important;

  padding: 0 !important;

  color: #4f6f2a !important;

  font-size: 0.87rem;

  font-weight: 800;

  line-height: 1.6;

  text-decoration: none !important;

  text-align: left !important;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}


.glee-single-footer-contact a:hover {
  color: #355115 !important;

  transform: translateX(2px);
}


.glee-footer-contact-label {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-width: 38px;

  padding: 2px 6px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.58);

  color: var(--glee-green-dark);

  font-size: 0.62rem;

  font-weight: 900;

  letter-spacing: 0.04em;
}


/* =====================================================
   Footer Navigation
   ===================================================== */

.glee-single-footer-nav-area {
  min-width: 340px;
}


.glee-single-footer-nav-title {
  display: block;

  margin:
    0 0 10px;

  color: var(--glee-green-dark);

  font-size: 0.72rem;

  font-weight: 900;

  letter-spacing: 0.12em;

  text-align: right;
}


.glee-single-footer-nav {
  display: flex;

  flex-wrap: wrap;

  justify-content: flex-end;

  gap: 8px;
}


.glee-single-footer-nav a {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 40px;

  padding:
    8px 14px;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.54);

  border:
    1px solid rgba(255, 255, 255, 0.50);

  color: var(--glee-text) !important;

  font-size: 0.82rem;

  font-weight: 800;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}


.glee-single-footer-nav a:hover {
  color: var(--glee-green-dark) !important;

  background: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(86, 89, 45, 0.08);
}


/* =====================================================
   Footer Bottom
   ===================================================== */

.glee-single-footer-bottom {
  position: relative;

  z-index: 2;

  border-top:
    1px solid rgba(122, 105, 71, 0.09);

  background:
    rgba(255, 255, 255, 0.14);
}


.glee-single-footer-bottom-inner {
  width:
    min(
      calc(100% - 32px),
      1180px
    );

  min-height: 48px;

  margin: 0 auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  color: var(--glee-text-light);

  font-size: 0.74rem;
}


.glee-single-footer-bottom-inner a {
  color: var(--glee-green-dark) !important;

  font-weight: 900;

  text-decoration: none !important;
}


/* =====================================================
   Footer Cocoon干渉防止
   ===================================================== */

body.single-post .glee-single-footer p {
  max-width: none;

  border: none;

  background: transparent;
}


body.single-post .glee-single-footer a {
  text-decoration: none !important;
}


/* =====================================================
   900px以下
   ===================================================== */

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

  /* Header */

  .glee-single-header-inner {
    min-height: 76px;
  }


  .glee-single-nav {
    display: none;
  }


  .glee-single-mobile-menu {
    display: block;
  }


  .glee-single-logo {
    width: 52px;
    height: 52px;
  }


  .glee-single-brand-main {
    font-size: 0.88rem;

    white-space: normal;
  }


  .glee-single-brand-sub {
    font-size: 0.66rem;

    white-space: normal;
  }


  /* Content */

  body.single-post #content-in {
    width: calc(100% - 24px);
  }


  /* Footer */

  .glee-single-footer {
    margin-top: 50px;
  }


  .glee-single-footer-inner {
    display: grid;

    grid-template-columns: 1fr;

    gap: 28px;
  }


  .glee-single-footer-nav-area {
    min-width: 0;
  }


  .glee-single-footer-nav-title {
    text-align: left;
  }


  .glee-single-footer-nav {
    justify-content: flex-start;
  }
}


/* =====================================================
   WordPress管理バー
   ===================================================== */

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

  body.admin-bar .glee-single-header {
    top: 46px;
  }
}


/* =====================================================
   768px以下
   ===================================================== */

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

  body.single-post #content-in {
    display: block;
  }


  body.single-post .main {
    width: 100% !important;
  }


  body.single-post .sidebar {
    width: 100% !important;

    margin-top: 24px;
  }
}


/* =====================================================
   600px以下
   ===================================================== */

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

  body.single-post .main {
    padding:
      24px 17px;

    border-radius: 24px;
  }


  body.single-post .entry-title {
    font-size:
      clamp(
        1.55rem,
        7vw,
        2rem
      );
  }


  body.single-post .article h2 {
    padding:
      14px 16px;

    border-radius: 15px;

    font-size: 1.25rem;
  }


  body.single-post .article h3 {
    font-size: 1.1rem;
  }
}


/* =====================================================
   560px以下
   ===================================================== */

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

  /* Header */

  .glee-single-header-inner {
    width: calc(100% - 22px);

    gap: 10px;
  }


  .glee-single-logo {
    width: 48px;
    height: 48px;
  }


  .glee-single-brand-sub {
    display: none;
  }


  .glee-single-brand-main {
    max-width: 210px;

    font-size: 0.80rem;

    line-height: 1.35;
  }


  /* Footer */

  .glee-single-footer-main {
    padding:
      30px 0 22px;
  }


  .glee-single-footer-inner {
    width:
      calc(100% - 24px);

    gap: 24px;
  }


  .glee-single-footer-brand {
    align-items: flex-start;

    gap: 12px;
  }


  .glee-single-footer-logo {
    width: 58px;
    height: 58px;
  }


  .glee-single-footer-company-name {
    font-size: 0.89rem;
  }


  .glee-single-footer-service {
    font-size: 0.70rem;
  }


  .glee-single-footer-address {
    font-size: 0.78rem;
  }


  .glee-single-footer-contact a {
    font-size: 0.78rem;

    word-break: break-all;
  }


  .glee-single-footer-nav {
    display: grid;

    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 7px;
  }


  .glee-single-footer-nav a {
    width: 100%;

    padding:
      9px 8px;

    font-size: 0.77rem;
  }


  .glee-single-footer-bottom-inner {
    width:
      calc(100% - 24px);

    min-height: 56px;

    flex-direction: column;

    justify-content: center;

    gap: 2px;

    padding:
      8px 0;

    text-align: center;
  }
}


/* =====================================================
   390px以下
   ===================================================== */

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

  /* Header */

  .glee-single-brand-main {
    max-width: 180px;

    font-size: 0.74rem;
  }


  .glee-single-logo {
    width: 44px;
    height: 44px;
  }


  /* Footer */

  .glee-single-footer-brand {
    display: grid;

    grid-template-columns:
      52px 1fr;
  }


  .glee-single-footer-logo {
    width: 52px;
    height: 52px;
  }


  .glee-single-footer-company-name {
    font-size: 0.82rem;
  }
}

/* =====================================================
   GleeⅠ BLOG
   CUSTOM SIDEBAR
   ===================================================== */


/* =====================================================
   Cocoonウィジェット本来の装飾をリセット
   ===================================================== */

body.single-post .sidebar .glee-sidebar-widget,
body.single-post .sidebar .widget_glee_sidebar {
  padding: 0 !important;

  border: none !important;

  background: transparent !important;

  box-shadow: none !important;
}


/* =====================================================
   Sidebar Wrapper
   ===================================================== */

.glee-blog-custom-sidebar {
  width: 100%;

  display: grid;

  gap: 22px;
}


/* =====================================================
   Sidebar Box
   ===================================================== */

.glee-sidebar-box {
  width: 100%;

  padding: 22px;

  border:
    1px solid rgba(122, 105, 71, 0.08);

  border-radius: 26px;

  background:
    rgba(255, 255, 255, 0.94);

  box-shadow:
    0 14px 34px rgba(86, 89, 45, 0.09);
}


/* =====================================================
   Heading
   ===================================================== */

.glee-sidebar-heading {
  margin-bottom: 16px;
}


.glee-sidebar-eyebrow {
  display: inline-block;

  margin-bottom: 7px;

  padding:
    5px 10px;

  border-radius: 999px;

  background: #edfdd8;

  color: #567336;

  font-size: 0.67rem;

  font-weight: 900;

  letter-spacing: 0.10em;
}


.glee-sidebar-title {
  margin: 0 !important;

  padding: 0 !important;

  border: none !important;

  background: transparent !important;

  color: #4a3a25 !important;

  font-size: 1.18rem !important;

  font-weight: 900;

  line-height: 1.4;
}


/* =====================================================
   Latest Post List
   ===================================================== */

.glee-latest-post-list {
  display: grid;

  gap: 10px;
}


.glee-latest-post {
  display: grid;

  grid-template-columns:
    82px minmax(0, 1fr);

  align-items: center;

  gap: 12px;

  padding: 9px;

  border-radius: 17px;

  background: #f8fff1;

  color: #4a3a25 !important;

  text-decoration: none !important;

  transition:
    transform 0.20s ease,
    background 0.20s ease,
    box-shadow 0.20s ease;
}


.glee-latest-post:hover {
  background: #edfdd8;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(86, 89, 45, 0.07);
}


/* =====================================================
   Thumbnail
   ===================================================== */

.glee-latest-post-thumb {
  width: 82px;
  height: 66px;

  overflow: hidden;

  border-radius: 13px;

  background: #edfdd8;
}


.glee-latest-post-thumb img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 13px;
}


/* =====================================================
   No Image
   ===================================================== */

.glee-latest-noimage {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #f8fff1,
      #edfdd8
    );
}


.glee-latest-noimage img {
  width: 48px;
  height: 48px;

  padding: 4px;

  object-fit: contain;
}


/* =====================================================
   Latest Content
   ===================================================== */

.glee-latest-post-content {
  min-width: 0;
}


.glee-latest-date {
  display: block;

  margin-bottom: 4px;

  color: #8a765e;

  font-size: 0.67rem;

  font-weight: 700;

  line-height: 1.3;
}


.glee-latest-title {
  margin: 0 !important;

  padding: 0 !important;

  border: none !important;

  background: transparent !important;

  color: #4a3a25 !important;

  font-size: 0.83rem !important;

  font-weight: 800;

  line-height: 1.45;


  display: -webkit-box;

  -webkit-box-orient: vertical;

  -webkit-line-clamp: 2;

  overflow: hidden;
}


/* =====================================================
   More Button
   ===================================================== */

.glee-sidebar-more {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: 15px;

  padding:
    10px 14px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #d9f6b6,
      #edfdd8
    );

  color: #567336 !important;

  font-size: 0.78rem;

  font-weight: 900;

  text-decoration: none !important;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


.glee-sidebar-more:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(86, 89, 45, 0.08);
}


.glee-sidebar-more span {
  font-size: 1rem;
}


/* =====================================================
   Category
   ===================================================== */

.glee-category-list {
  display: grid;

  gap: 8px;
}


.glee-category-item {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 10px;

  min-height: 46px;

  padding:
    9px 12px;

  border-radius: 15px;

  background: #f8fff1;

  color: #4a3a25 !important;

  text-decoration: none !important;

  transition:
    transform 0.20s ease,
    background 0.20s ease;
}


.glee-category-item:hover {
  background: #edfdd8;

  transform: translateX(3px);
}


.glee-category-name {
  min-width: 0;

  font-size: 0.82rem;

  font-weight: 800;

  line-height: 1.4;
}


/* =====================================================
   Category Count
   ===================================================== */

.glee-category-count {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 30px;
  height: 30px;

  flex-shrink: 0;

  padding:
    0 7px;

  border-radius: 999px;

  background: #d9f6b6;

  color: #567336;

  font-size: 0.68rem;

  font-weight: 900;
}


/* =====================================================
   Empty
   ===================================================== */

.glee-sidebar-empty {
  margin: 0;

  padding:
    12px;

  border-radius: 14px;

  background: #f8fff1;

  color: #75624a;

  font-size: 0.8rem;

  line-height: 1.6;
}


/* =====================================================
   Cocoon Sidebar
   ===================================================== */

body.single-post .sidebar {
  background: transparent !important;
}


/* =====================================================
   Tablet
   ===================================================== */

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

  .glee-sidebar-box {
    padding: 20px;
  }

}


/* =====================================================
   Smartphone
   ===================================================== */

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

  .glee-blog-custom-sidebar {
    gap: 18px;
  }


  .glee-sidebar-box {
    padding: 18px;

    border-radius: 22px;
  }


  .glee-latest-post {
    grid-template-columns:
      90px minmax(0, 1fr);
  }


  .glee-latest-post-thumb {
    width: 90px;
    height: 70px;
  }


  .glee-latest-title {
    font-size: 0.86rem !important;
  }

}


/* =====================================================
   Small Smartphone
   ===================================================== */

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

  .glee-sidebar-box {
    padding: 15px;
  }


  .glee-latest-post {
    grid-template-columns:
      76px minmax(0, 1fr);

    gap: 10px;
  }


  .glee-latest-post-thumb {
    width: 76px;
    height: 62px;
  }

}
/* =====================================================
   GleeⅠ BLOG
   メイン本文 ＋ サイドバー 横並び
   ===================================================== */


/* =====================================================
   PC表示
   1024px以上
   ===================================================== */

@media screen and (min-width: 1024px) {

  /*
   * 投稿記事
   * カテゴリー
   * タグ
   * アーカイブ
   * 検索結果
   * 投稿者ページ
   */

  body.single-post #content-in,
  body.category #content-in,
  body.tag #content-in,
  body.archive #content-in,
  body.search #content-in,
  body.author #content-in {

    width: min(
      calc(100% - 40px),
      1180px
    ) !important;

    max-width: 1180px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;

    grid-template-columns:
      minmax(0, 1fr)
      320px !important;

    gap: 32px !important;

    align-items: start !important;
  }


  /* ===================================================
     メイン本文
     =================================================== */

  body.single-post #main,
  body.category #main,
  body.tag #main,
  body.archive #main,
  body.search #main,
  body.author #main,

  body.single-post .main,
  body.category .main,
  body.tag .main,
  body.archive .main,
  body.search .main,
  body.author .main {

    width: 100% !important;

    max-width: none !important;

    min-width: 0 !important;

    margin: 0 !important;

    float: none !important;
  }


  /* ===================================================
     サイドバー
     =================================================== */

  body.single-post #sidebar,
  body.category #sidebar,
  body.tag #sidebar,
  body.archive #sidebar,
  body.search #sidebar,
  body.author #sidebar,

  body.single-post .sidebar,
  body.category .sidebar,
  body.tag .sidebar,
  body.archive .sidebar,
  body.search .sidebar,
  body.author .sidebar {

    width: 320px !important;

    max-width: 320px !important;

    min-width: 320px !important;

    margin: 0 !important;

    padding: 0 !important;

    float: none !important;

    align-self: start !important;
  }


  /* ===================================================
     GleeⅠ専用サイドバー
     =================================================== */

  .glee-blog-custom-sidebar {
    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;
  }


  .glee-sidebar-box {
    width: 100% !important;

    max-width: 100% !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

}


/* =====================================================
   タブレット・スマートフォン
   1023px以下では縦並び
   ===================================================== */

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

  body.single-post #content-in,
  body.category #content-in,
  body.tag #content-in,
  body.archive #content-in,
  body.search #content-in,
  body.author #content-in {

    width: calc(100% - 24px) !important;

    max-width: 100% !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: block !important;
  }


  body.single-post #main,
  body.category #main,
  body.tag #main,
  body.archive #main,
  body.search #main,
  body.author #main,

  body.single-post .main,
  body.category .main,
  body.tag .main,
  body.archive .main,
  body.search .main,
  body.author .main {

    width: 100% !important;

    max-width: 100% !important;

    margin: 0 !important;
  }


  body.single-post #sidebar,
  body.category #sidebar,
  body.tag #sidebar,
  body.archive #sidebar,
  body.search #sidebar,
  body.author #sidebar,

  body.single-post .sidebar,
  body.category .sidebar,
  body.tag .sidebar,
  body.archive .sidebar,
  body.search .sidebar,
  body.author .sidebar {

    width: 100% !important;

    max-width: 100% !important;

    min-width: 0 !important;

    margin:
      28px 0 0 !important;

    padding: 0 !important;
  }

}