/*
 Theme Name: Cocoon Child
 Template: cocoon
 */

/* ヘッダー下部に水平線を追加 */
.header {
  border-bottom: 2px solid #ffffff !important; /* 太さ2px、色黒 */
}

/* 代替案: ヘッダー上部に線 */
.header {
  border-top: 2px solid #ffffff !important;
}

/* 固定ヘッダーの場合 */
.is-header-fixed .header {
  border-bottom: 2px solid #ffffff !important;
}

/* レスポンシブ対応（必要に応じて） */
@media (max-width: 834px) {
  .header {
    border-bottom: 1px solid #ffffff !important; /* モバイルで細く */
  }
}

/* ヘッダーメニュー項目間に茶色い区切り線を追加 */
.navi-in > ul > li::after {
    content: '';
    position: absolute;
    right: -11px;
    top: 25%;
    height: 50%; /* 縦線の高さを半分に */
    width: 1px;
    background: #ffffff;
}

.navi-in > ul > li:last-child {
    border-right: none; /* 最後の項目には線を付けない */
}

.ect-vertical-card .entry-card-wrap {
  max-width: 43%;
  padding: 0;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
}
@media screen and (max-width: 480px) {
  .ect-vertical-card .entry-card-wrap {
    max-width: 46%;
  }

  .e-card-title {
    font-size: 13px;
  }
}

.entry-card-title {
  line-height: 1.6;
  color: #5a5a5a; /* 見出しの色 */
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
  margin: 8px 12px 9px;
}

.entry-card-meta,
.related-entry-card-meta {
  margin: 4px 8px;
  color: #b7b7b7;
}

.entry-card-wrap .cat-label {
  display: none; /* カテゴリを非表示に */
}

.ect-vertical-card {
  justify-content: space-around;
}

/************************************
** トップシェアボタン
************************************/
.sns-share.ss-high-and-low-lc a .social-icon {
  font-size: 22px;
}

/************************************
** ボトムシェアボタン
************************************/
@media screen and (min-width: 481px) {
  .sns-share,
  .sns-follow {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
  }
}

.sns-share-buttons {
  justify-content: space-evenly;
}

.sns-share-buttons a {
  width: 50px !important;
  height: 50px;
  font-size: 1.25em;
  border-radius: 50%;
  opacity: 0.6;
}

@media screen and (max-width: 834px) {
  .ss-bottom .sns-share-buttons a {
    font-size: 1.3em;
  }
}

.sns-share-buttons a .button-caption {
  display: none !important;
}

.sns-share-message,
.sns-follow-message {
  position: relative;
  margin-bottom: 30px;
  color: #bbb;
}

.sns-share-message::before,
.sns-follow-message::before {
  position: absolute;
  bottom: -5px;
  left: 50%;
  display: inline-block;
  width: 30px;
  height: 2px;
  content: "";
  background-color: #c0c0c0;
  border-radius: 3px;
  transform: translateX(-50%);
}

/************************************
** ボトムフォローボタン
************************************/
.sns-follow-buttons {
  justify-content: space-evenly;
}

.sns-follow-buttons a {
  width: 50px;
  height: 50px;
  font-size: 1.7em;
  border-radius: 50%;
  opacity: 0.6;
}

@media screen and (max-width: 834px) {
  .ss-bottom .sns-follow-buttons a {
    font-size: 1.3em;
  }
}

.tagcloud a {
    font-size: 14px !important;
    color: #333;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
}

/* サイトタイトルの文字サイズを変更 */
.site-name-text {
    font-size: 38px; /* 希望のサイズに変更（例: 38px） */
}

/************************************
****　サイドバー
************************************/
#sidebar>.widget{
border-radius:10px;
}
.sidebar {
padding-left:0px;

}
@media screen and (max-width: 1205px){
.sidebar {
padding: 0%;
padding-right: 1.5%;
}
}
.widget_search{
padding:0;
}
span.fas.fa-search::before{
color:#90C31F;/*検索マーク色変更はこちら*/
}
.sidebar h3{
color:#7b7b7b;
border-radius: 0%;
border-bottom:3px dotted;
border-color:#90C31F;/*タイトル下のライン色変更はこちら*/
padding-bottom:0.3em;
margin-top:-0.5em;
margin-bottom:1em;
}
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
background-color:#f7f7f7;
margin: 6px 0;
padding: 4px 10px;
border-radius:20px;
transition: 0.4s
}
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover, .widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover, .widget_nav_menu ul li a:hover{
background-color:#90C31F;/*マウスオーバー時の背景色変更はこちら*/
color:#fff!important;
}
.tagcloud a{
background-color:#f7f7f7;
}
.tagcloud a:hover{
background-color:#90C31F;/*マウスオーバー時の背景色変更はこちら*/
color:#fff!important;
transition: 0.4s ;
}
.nwa .recommended.rcs-card-margin a {
margin: 0 0 1em;
width: 90%;
}
.widget-entry-cards .widget-entry-card-content{
color: #565656;
}

/* ==================================================
   グルメモリアル：表示・収益導線改善（2026-08-13）
   ================================================== */

/* 投稿末尾に重複出力されるアイキャッチ・タイトル・本文を非表示 */
body.single-post > .eye-catch,
body.single-post > .entry-title,
body.single-post > .entry-content {
  display: none !important;
}

/* 記事タイトルより前の大型広告枠をなくし、本文を早く表示 */
body.single-post #content-top {
  display: none !important;
}

/* 未分類ラベルは読者向け画面から隠す */
.entry-categories .cat-link-1,
.widget_categories .cat-item-1,
.breadcrumb a[href*="/category/uncategorized/"] {
  display: none !important;
}

/* ヘッダーをコンパクトにしてファーストビューを改善 */
.header,
.header-in {
  min-height: 0 !important;
}
.logo-header {
  height: 172px !important;
  padding: 14px 0 !important;
}
.logo-header img {
  width: auto !important;
  max-height: 140px !important;
}

/* トップページ */
.gm-home {
  --gm-orange: #e97942;
  --gm-orange-dark: #b94f2b;
  --gm-ink: #352f2d;
  --gm-cream: #fff8f2;
  color: var(--gm-ink);
}
.gm-hero {
  margin: 10px 0 52px;
  padding: clamp(34px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border: 1px solid #f4d7c4;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff8f2 0%, #fff 58%, #f6fbf4 100%);
  text-align: center;
  box-shadow: 0 14px 40px rgba(88, 54, 38, .08);
}
.gm-kicker {
  margin: 0 0 12px;
  color: var(--gm-orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
}
.gm-hero h1 {
  margin: 0;
  color: #2f2927;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.35;
  letter-spacing: .02em;
}
.gm-lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: #6e625d;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}
.gm-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.gm-button-row a,
.gm-location-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid #ead2c4;
  border-radius: 999px;
  background: #fff;
  color: #6a4537;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(88, 54, 38, .07);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gm-button-row a:first-child {
  border-color: var(--gm-orange);
  background: var(--gm-orange);
  color: #fff;
}
.gm-button-row a:hover,
.gm-location-links a:hover {
  background: #fff3ea;
  color: var(--gm-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(88, 54, 38, .12);
}
.gm-section {
  margin: 46px 0;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid #eee8e3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(63, 48, 40, .06);
}
.gm-section-heading {
  margin: 0 0 8px;
  color: #352f2d;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.4;
  text-align: center;
}
.gm-section-copy {
  margin: 0 0 26px;
  color: #7b716d;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}
.gm-product-grid {
  gap: 22px;
}
.gm-product-grid .wp-block-column {
  overflow: hidden;
  padding: 0 0 22px;
  border: 1px solid #ebe2dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(63, 48, 40, .08);
}
.gm-product-grid img:not([width="1"]) {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gm-product-title,
.gm-product-price,
.gm-product-cta {
  padding-right: 18px;
  padding-left: 18px;
}
.gm-product-title {
  min-height: 3.2em;
  margin: 16px 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}
.gm-product-price {
  margin: 0 0 14px;
  color: #6f625d;
  font-size: 15px;
}
.gm-product-cta a,
.entry-content p > a[href*="ck.jp.ap.valuecommerce.com"]:only-child:not(:has(img)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 10px;
  background: var(--gm-orange, #e97942);
  color: #fff !important;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 7px 16px rgba(185, 79, 43, .20);
}
.gm-product-cta a:hover,
.entry-content p > a[href*="ck.jp.ap.valuecommerce.com"]:only-child:not(:has(img)):hover {
  background: #b94f2b;
  transform: translateY(-1px);
}
.gm-disclosure {
  margin: 18px 0 0;
  padding: 14px 18px;
  border-left: 4px solid #d8a789;
  border-radius: 8px;
  background: #fffaf6;
  color: #70645f;
  font-size: 13px;
  line-height: 1.7;
}
.gm-location-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.gm-location-links a {
  min-height: 40px;
  padding: 8px 17px;
  font-size: 14px;
}

/* 記事カードを読みやすいカードUIに */
.entry-card-wrap,
.related-entry-card-wrap {
  overflow: hidden;
  border: 1px solid #eee7e2;
  border-radius: 14px !important;
  background: #fff;
  box-shadow: 0 7px 22px rgba(63, 48, 40, .07) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 28px rgba(63, 48, 40, .12) !important;
}

@media screen and (max-width: 834px) {
  .logo-header {
    height: 106px !important;
    padding: 10px 0 !important;
  }
  .logo-header img {
    max-height: 84px !important;
  }
  .gm-hero {
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .gm-section {
    margin: 30px 0;
    padding: 20px 14px;
    border-radius: 15px;
  }
  .gm-button-row {
    align-items: stretch;
    flex-direction: column;
  }
  .gm-button-row a {
    width: 100%;
  }
  .gm-product-grid {
    gap: 16px;
  }
}


/* トップページ：本文前のカルーセル・広告枠を外して主導線を優先 */
body.home #carousel,
body.home #content-top {
  display: none !important;
}

/* 「未分類」の内部カテゴリラベルを読者向け画面から隠す */
.cat-label-1 {
  display: none !important;
}


/* トップページ：1カラムで主要な導線に集中 */
body.home #sidebar,
body.home .sns-share {
  display: none !important;
}
body.home #main {
  width: 100% !important;
  float: none !important;
}


/* ==================================================
   人気記事の収益CTA（2026-08-13）
   ================================================== */
.gm-article-cta {
  margin: 48px 0 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #efd7c8;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8f2 0%, #ffffff 68%, #f6fbf4 100%);
  box-shadow: 0 12px 32px rgba(88, 54, 38, .10);
  text-align: center;
}
.gm-article-cta-kicker {
  margin: 0 0 8px;
  color: #b94f2b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
.gm-article-cta-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #352f2d;
  font-size: clamp(23px, 3vw, 31px);
  line-height: 1.45;
}
.gm-article-cta-copy {
  max-width: 680px;
  margin: 0 auto 22px;
  color: #6e625d;
  font-size: 16px;
  line-height: 1.8;
}
.gm-article-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.gm-article-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid #e97942;
  border-radius: 10px;
  background: #fff;
  color: #b94f2b !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 7px 18px rgba(185, 79, 43, .12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.gm-article-cta-button--primary {
  background: #e97942;
  color: #fff !important;
}
.gm-article-cta-button:hover {
  background: #b94f2b;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(185, 79, 43, .22);
}
.gm-article-cta-note {
  margin: 16px 0 0;
  color: #847973;
  font-size: 12px;
  line-height: 1.7;
}
@media screen and (max-width: 834px) {
  .gm-article-cta {
    margin: 34px 0 22px;
    padding: 24px 16px;
    border-radius: 15px;
  }
  .gm-article-cta-buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .gm-article-cta-button {
    width: 100%;
  }
}
