/*
 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%;
  }
}


/* ==================================================
   グルメモリアル・旅雑誌スタイル（2026-08-27）
   ことりっぷの空気感を参考にした独自デザイン
   ================================================== */
:root {
  --gm-paper: #fbfaf7;
  --gm-white: #ffffff;
  --gm-brown: #6f4f40;
  --gm-brown-dark: #4e3d35;
  --gm-taupe: #9b887d;
  --gm-line: #e8dfda;
  --gm-green: #e8f0d8;
  --gm-green-deep: #85966d;
  --gm-apricot: #f7dfbd;
  --gm-apricot-deep: #d89257;
  --gm-blush: #f4e8e3;
  --gm-rounded: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

/* 紙面のような全体トーン */
body {
  background: var(--gm-paper) !important;
  color: var(--gm-brown-dark);
}
#container,
#content,
.content-in,
body.home #main {
  background: transparent !important;
}
.wrap {
  width: min(1180px, calc(100% - 48px));
}
a {
  color: var(--gm-brown);
}
a:hover {
  color: var(--gm-apricot-deep);
}

/* ロゴを主役にした、静かなヘッダー */
.header-container {
  background: var(--gm-white);
  border-bottom: 1px solid var(--gm-line);
}
.header,
.header-in {
  min-height: 0 !important;
}
.logo-header {
  height: 116px !important;
  padding: 20px 0 16px !important;
}
.logo-header img {
  width: auto !important;
  max-height: 80px !important;
}
#navi,
.navi {
  min-height: 54px;
  border-top: 1px solid #f0e9e5;
  border-bottom: 1px solid var(--gm-line);
  background: rgba(255,255,255,.97) !important;
}
#navi .navi-in > ul {
  display: flex;
  justify-content: center;
  gap: 0;
}
#navi .navi-in > ul > li {
  position: relative;
}
#navi .navi-in > ul > li + li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 1px;
  height: 20px;
  background: var(--gm-line);
  content: "";
}
#navi .navi-in a {
  min-height: 54px;
  padding: 0 34px;
  color: var(--gm-brown) !important;
  font-family: var(--gm-rounded);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
}
#navi .navi-in a:hover {
  background: var(--gm-green) !important;
}
.mobile-menu-buttons {
  border-bottom: 1px solid var(--gm-line);
  background: rgba(255,255,255,.98) !important;
}
.mobile-menu-buttons .menu-button {
  color: var(--gm-brown) !important;
}

/* トップページは雑誌の扉のような1カラム */
body.home #content {
  margin-top: 0;
}
body.home #main {
  padding: 0 0 80px !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.home .article-header,
body.home .article-footer,
body.home .breadcrumb,
body.home .date-tags,
body.home .sns-share,
body.home #sidebar {
  display: none !important;
}
.gm-home {
  --gm-orange: var(--gm-apricot-deep);
  color: var(--gm-brown-dark);
  font-family: "Noto Sans JP", sans-serif;
}

/* 写真とコピーで始まるエディトリアル・ヒーロー */
.gm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: 560px;
  margin: 42px 0 84px;
  padding: clamp(42px, 6vw, 76px);
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.82) 0 5px, transparent 6px),
    linear-gradient(135deg, #faf4ed 0%, #f8f1e9 56%, #f0f5e8 100%);
  box-shadow: none;
  text-align: left;
}
.gm-hero::before {
  position: absolute;
  top: 34px;
  left: 38px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(111,79,64,.18);
  border-radius: 50%;
  content: "";
}
.gm-hero::after {
  grid-column: 2;
  grid-row: 1 / span 4;
  width: 100%;
  height: 100%;
  min-height: 410px;
  border-radius: 50% 50% 46% 54% / 42% 48% 52% 58%;
  background:
    linear-gradient(rgba(63,52,45,.04),rgba(63,52,45,.04)),
    url("https://www.tsudunadomain.com/wp-content/uploads/2025/08/Image-14-scaled.jpg") center/cover no-repeat;
  box-shadow: 20px 24px 0 rgba(232,240,216,.92);
  content: "";
}
.gm-kicker,
.gm-hero h1,
.gm-lead,
.gm-button-row {
  position: relative;
  z-index: 1;
  grid-column: 1;
}
.gm-kicker {
  align-self: end;
  margin: 0 0 18px;
  color: var(--gm-green-deep);
  font-family: var(--gm-rounded);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.gm-hero h1 {
  margin: 0;
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.48;
  letter-spacing: .03em;
}
.gm-lead {
  max-width: 510px;
  margin: 22px 0 0;
  color: #79685f;
  font-size: 15px;
  line-height: 2;
}
.gm-button-row {
  justify-content: flex-start;
  gap: 9px;
  margin-top: 28px;
}
.gm-button-row a {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #ddcec5;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--gm-brown) !important;
  font-family: var(--gm-rounded);
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}
.gm-button-row a:first-child {
  border-color: var(--gm-brown);
  background: var(--gm-brown);
  color: #fff !important;
}
.gm-button-row a:hover {
  border-color: var(--gm-green-deep);
  background: var(--gm-green);
  color: var(--gm-brown-dark) !important;
  transform: translateY(-2px);
  box-shadow: none;
}

/* セクション見出し：小さな旅雑誌の章扉 */
.gm-section {
  position: relative;
  margin: 0 0 92px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gm-section::after {
  display: block;
  width: 56px;
  height: 1px;
  margin: 42px auto 0;
  background: var(--gm-line);
  content: "";
}
.gm-section-heading {
  margin: 0 0 10px;
  color: var(--gm-brown);
  font-family: var(--gm-rounded);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}
.gm-section-heading::before {
  display: block;
  margin: 0 0 5px;
  color: var(--gm-green-deep);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
}
.gm-home > .gm-section:nth-of-type(1) .gm-section-heading::before { content: "MOST LOVED"; }
.gm-home > .gm-section:nth-of-type(2) .gm-section-heading::before { content: "LITTLE SELECTION"; }
.gm-home > .gm-section:nth-of-type(3) .gm-section-heading::before { content: "NEW STORIES"; }
.gm-home > .gm-section:nth-of-type(4) .gm-section-heading::before { content: "FIVE SENSES"; }
.gm-home > .gm-section:nth-of-type(5) .gm-section-heading::before { content: "AT HOME"; }
.gm-home > .gm-section:nth-of-type(6) .gm-section-heading::before { content: "LIVING"; }
.gm-home > .gm-section:nth-of-type(7) .gm-section-heading::before { content: "TRAVEL"; }
.gm-home > .gm-section:nth-of-type(8) .gm-section-heading::before { content: "DESTINATIONS"; }
.gm-section-copy {
  margin: 0 0 32px;
  color: var(--gm-taupe);
  font-size: 14px;
  line-height: 1.9;
}

/* 写真を大きく見せる編集記事カード */
.gm-section .popular-entry-cards,
.gm-section .new-entry-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.gm-section .widget-entry-cards .a-wrap,
.gm-section .popular-entry-cards .a-wrap {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 0 18px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--gm-white);
  box-shadow: none !important;
  transition: transform .25s ease;
}
.gm-section .widget-entry-cards .a-wrap:hover,
.gm-section .popular-entry-cards .a-wrap:hover {
  color: var(--gm-brown);
  transform: translateY(-5px);
}
.gm-section .widget-entry-card,
.gm-section .popular-entry-card {
  display: block !important;
}
.gm-section .card-thumb {
  width: 100% !important;
  margin: 0 0 14px !important;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.gm-section .card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .45s ease;
}
.gm-section .a-wrap:hover .card-thumb img {
  transform: scale(1.035);
}
.gm-section .card-content {
  padding: 0 15px !important;
}
.gm-section .card-title {
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.75;
}
.gm-section .card-title::after {
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 13px;
  background: var(--gm-apricot-deep);
  content: "";
}

/* 人気順位を雑誌の小さな通し番号に */
.gm-section .popular-entry-card-link {
  position: relative;
}
.gm-section .popular-entry-card-link::before {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--gm-brown);
  font-family: Georgia, serif;
  font-size: 13px;
  content: counter(gm-rank);
}
.gm-section .popular-entry-cards {
  counter-reset: gm-rank;
}
.gm-section .popular-entry-card-link {
  counter-increment: gm-rank;
}

/* オンラインセレクト */
.gm-home > .gm-section:nth-of-type(2) {
  padding: clamp(34px, 5vw, 56px);
  background: #f4f0eb;
}
.gm-product-grid {
  gap: 18px;
}
.gm-product-grid .wp-block-column {
  padding: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: var(--gm-white);
  box-shadow: none;
}
.gm-product-grid img:not([width="1"]) {
  aspect-ratio: 1 / 1;
}
.gm-product-title {
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-size: 15px;
  font-weight: 500;
}
.gm-product-price {
  color: var(--gm-taupe);
  font-size: 13px;
}
.gm-product-cta a {
  min-height: 42px;
  border-radius: 999px;
  background: var(--gm-brown);
  font-size: 13px;
  box-shadow: none;
}
.gm-product-cta a:hover {
  background: var(--gm-green-deep);
}
.gm-disclosure {
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gm-taupe);
  text-align: center;
}

/* エリアから探す：旅のしおりのようなラベル */
.gm-home > .gm-section:nth-of-type(8) {
  padding: clamp(38px, 6vw, 70px);
  background:
    linear-gradient(rgba(255,255,255,.36),rgba(255,255,255,.36)),
    var(--gm-green);
}
.gm-location-links {
  gap: 12px;
}
.gm-location-links a {
  min-width: 108px;
  min-height: 44px;
  border: 1px solid rgba(111,79,64,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--gm-brown) !important;
  font-family: var(--gm-rounded);
  font-weight: 500;
  box-shadow: none;
}
.gm-location-links a::before {
  margin-right: 6px;
  color: var(--gm-apricot-deep);
  content: "◦";
}

/* 一覧・検索・カテゴリページ */
body.archive #main,
body.search #main,
body.blog #main {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.archive .list,
body.search .list,
body.blog .list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
body.archive .entry-card-wrap,
body.search .entry-card-wrap,
body.blog .entry-card-wrap {
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}
.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: none !important;
}
.entry-card-thumb img {
  object-fit: cover;
}
.entry-card-title {
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-weight: 500;
  line-height: 1.7;
}

/* 記事ページ：読み物として落ち着く紙面 */
body.single-post #content {
  margin-top: 42px;
}
body.single-post #main {
  padding: clamp(30px, 5vw, 58px);
  border: 0;
  background: var(--gm-white);
  box-shadow: none;
}
body.single-post #sidebar {
  padding-left: 24px;
}
body.single-post h1.entry-title {
  margin: 0 0 26px;
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .035em;
}
body.single-post .eye-catch {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 2px;
}
body.single-post .eye-catch img {
  width: 100%;
}
body.single-post .entry-content {
  color: #514640;
  font-size: 17px;
  line-height: 2.05;
}
body.single-post .entry-content > p {
  margin: 1.55em 0;
}
body.single-post .entry-content h2 {
  margin: 2.8em 0 1.25em;
  padding: 18px 22px;
  border: 0;
  background: var(--gm-green);
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.65;
}
body.single-post .entry-content h3 {
  margin: 2.3em 0 1em;
  padding: 3px 0 3px 16px;
  border: 0;
  border-left: 4px solid var(--gm-apricot);
  color: var(--gm-brown);
  font-family: var(--gm-rounded);
  font-size: 21px;
  font-weight: 500;
}
body.single-post .entry-content h4 {
  color: var(--gm-brown);
  font-family: var(--gm-rounded);
}
body.single-post .toc {
  margin: 36px 0;
  padding: 26px 30px;
  border: 1px solid var(--gm-line);
  background: #fdfbf8;
}
body.single-post .toc-title {
  color: var(--gm-brown);
  font-family: var(--gm-rounded);
  font-weight: 500;
  letter-spacing: .08em;
}
body.single-post .article img {
  border-radius: 2px;
}
body.single-post .cat-link,
body.single-post .tag-link {
  border: 1px solid var(--gm-line);
  border-radius: 999px;
  background: transparent;
  color: var(--gm-brown) !important;
}
body.single-post .post-date,
body.single-post .post-update {
  color: var(--gm-taupe);
}

/* 記事別CTAも同じ紙面トーンに統一 */
.gm-article-cta {
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #faf4ed, #f2f6e9);
  box-shadow: none;
}
.gm-article-cta-kicker {
  color: var(--gm-green-deep);
  font-family: Georgia, serif;
  letter-spacing: .18em;
}
.gm-article-cta-title {
  color: var(--gm-brown-dark);
  font-family: var(--gm-rounded);
  font-weight: 500;
}
.gm-article-cta-button {
  border-color: var(--gm-brown);
  border-radius: 999px;
  background: #fff;
  color: var(--gm-brown) !important;
  box-shadow: none;
}
.gm-article-cta-button--primary {
  background: var(--gm-brown);
  color: #fff !important;
}
.gm-article-cta-button:hover {
  border-color: var(--gm-green-deep);
  background: var(--gm-green-deep);
}

/* サイドバーとフッター */
.sidebar .widget {
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid var(--gm-line);
  background: rgba(255,255,255,.76);
}
.sidebar .widget-title {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--gm-line);
  background: transparent;
  color: var(--gm-brown);
  font-family: var(--gm-rounded);
  font-size: 18px;
  font-weight: 500;
}
.footer {
  border-top: 1px solid var(--gm-line);
  background: #f4f0eb !important;
  color: var(--gm-brown);
}
.footer a {
  color: var(--gm-brown);
}

/* タブレット */
@media screen and (max-width: 1023px) {
  .wrap {
    width: min(100% - 32px, 960px);
  }
  .gm-hero {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    padding: 42px;
  }
  .gm-hero h1 {
    font-size: 39px;
  }
  .gm-section .popular-entry-cards,
  .gm-section .new-entry-cards {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  #navi .navi-in a {
    padding: 0 22px;
  }
}

/* スマホ：写真→コピー→2列カードで軽快に */
@media screen and (max-width: 834px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .logo-header {
    height: 82px !important;
    padding: 10px 0 !important;
  }
  .logo-header img {
    max-height: 58px !important;
  }
  #navi {
    min-height: 48px;
    overflow: hidden;
  }
  #navi .navi-in {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #navi .navi-in > ul {
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap !important;
  }
  #navi .navi-in > ul > li {
    width: auto !important;
  }
  #navi .navi-in > ul > li + li::before {
    top: 14px;
    height: 18px;
  }
  #navi .navi-in a {
    min-height: 48px;
    padding: 0 18px;
    font-size: 12px;
    white-space: nowrap;
  }
  body.home #main {
    padding-bottom: 44px !important;
  }
  .gm-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 230px auto auto auto auto;
    min-height: 0;
    margin: 18px 0 58px;
    padding: 18px 18px 30px;
    border-radius: 20px;
    text-align: left;
  }
  .gm-hero::before {
    display: none;
  }
  .gm-hero::after {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    border-radius: 14px 14px 48% 48% / 14px 14px 18% 18%;
    box-shadow: 8px 10px 0 rgba(232,240,216,.95);
  }
  .gm-kicker {
    grid-column: 1;
    grid-row: 2;
    margin: 30px 0 10px;
    font-size: 10px;
    line-height: 1.6;
  }
  .gm-hero h1 {
    grid-column: 1;
    grid-row: 3;
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1.5;
  }
  .gm-desktop-break {
    display: none;
  }
  .gm-lead {
    grid-column: 1;
    grid-row: 4;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
  }
  .gm-button-row {
    grid-column: 1;
    grid-row: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    margin-top: 20px;
  }
  .gm-button-row a {
    width: auto;
    min-height: 40px;
    padding: 8px 7px;
    font-size: 11px;
  }
  .gm-section {
    margin-bottom: 62px;
  }
  .gm-section-heading {
    font-size: 26px;
  }
  .gm-section-copy {
    margin-bottom: 24px;
    padding: 0 8px;
    font-size: 13px;
  }
  .gm-section .popular-entry-cards,
  .gm-section .new-entry-cards {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
  }
  .gm-section .widget-entry-cards .a-wrap,
  .gm-section .popular-entry-cards .a-wrap {
    padding-bottom: 13px !important;
  }
  .gm-section .card-thumb {
    margin-bottom: 10px !important;
    aspect-ratio: 1 / 1;
  }
  .gm-section .card-content {
    padding: 0 8px !important;
  }
  .gm-section .card-title {
    font-size: 12px !important;
    line-height: 1.65;
  }
  .gm-section .card-title::after {
    margin-top: 9px;
  }
  .gm-section .popular-entry-card-link::before {
    top: 7px;
    left: 7px;
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .gm-home > .gm-section:nth-of-type(2),
  .gm-home > .gm-section:nth-of-type(8) {
    margin-right: -12px;
    margin-left: -12px;
    padding: 30px 18px;
  }
  .gm-product-grid {
    gap: 14px;
  }
  .gm-product-grid .wp-block-column {
    flex-basis: 100% !important;
  }
  .gm-location-links {
    gap: 8px;
  }
  .gm-location-links a {
    min-width: 0;
    min-height: 40px;
    padding: 7px 13px;
    font-size: 12px;
  }
  body.single-post #content {
    margin-top: 20px;
  }
  body.single-post #main {
    padding: 24px 18px;
  }
  body.single-post h1.entry-title {
    font-size: 27px;
    line-height: 1.58;
  }
  body.single-post .entry-content {
    font-size: 16px;
    line-height: 2;
  }
  body.single-post .entry-content h2 {
    margin-top: 2.3em;
    padding: 15px 16px;
    font-size: 22px;
  }
  body.single-post .entry-content h3 {
    font-size: 19px;
  }
  body.single-post .toc {
    padding: 21px 18px;
  }
  .gm-article-cta {
    padding: 26px 17px;
  }
  .sidebar {
    display: none;
  }
}

/* 極小画面は記事カードを読みやすく1列に */
@media screen and (max-width: 359px) {
  .gm-section .popular-entry-cards,
  .gm-section .new-entry-cards {
    grid-template-columns: 1fr;
  }
  .gm-section .card-thumb {
    aspect-ratio: 16 / 10;
  }
}

/* gm-menu-duplicate-fix: PC用とモバイル用の二重表示を防止 */
#navi .navi-in > ul.menu-mobile {
  display: none !important;
}

/* gm-home-toc-hide: 雑誌型トップでは記事用の自動目次を表示しない */
body.home #toc {
  display: none !important;
}
