@charset &quot;UTF-8&quot;;

/*!
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
*/

/* ========================================
   きゅうログ カスタムCSS
   参考：daily-traveler.com / 2026-04-14
======================================== */

/* ===== 優先1位：記事一覧を横並びリストに ===== */
.ect-vertical-card-3.ect-3-columns,
.ect-vertical-card-3.ect-vertical-card {
  display: block !important;
}

.ect-vertical-card-3 .entry-card-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  width: 100% !important;
  margin-bottom: 20px;
  padding: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  border: none !important;
}

.ect-vertical-card-3 .entry-card-wrap:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.ect-vertical-card-3 .entry-card-thumb {
  width: 260px !important;
  min-width: 260px !important;
  flex-shrink: 0;
  margin: 0 !important;
}

.ect-vertical-card-3 .entry-card-thumb img {
  width: 100% !important;
  height: 180px !important;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
  margin: 0 !important;
}

.ect-vertical-card-3 .entry-card-content {
  flex: 1;
  padding: 18px 22px !important;
}

.ect-vertical-card-3 .entry-card-title {
  font-size: 17px !important;
  font-weight: bold;
  line-height: 1.55;
  margin-bottom: 10px;
}

.ect-vertical-card-3 .entry-card-snippet {
  font-size: 13px !important;
  color: #666 !important;
  line-height: 1.7;
}

/* ===== 優先2位：ヘッダー・メニュー ===== */
#header {
  background-image: none !important;
  background-color: #2C1810 !important;
  padding: 0 !important;
}

#header-in {
  background: transparent !important;
  padding: 14px 20px !important;
  min-height: unset !important;
}

.tagline {
  color: #c8a97e !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  margin-bottom: 4px !important;
}

.site-name-text,
.site-name-text a {
  color: #fff !important;
  font-size: 24px !important;
  text-shadow: none !important;
}

.site-name-text:hover,
.site-name-text a:hover {
  color: #c8a97e !important;
  text-decoration: none !important;
}

#navi {
  background: #1a0f0a !important;
  border-top: 1px solid rgba(200,169,126,0.3) !important;
  border-bottom: none !important;
}

.navi-in .menu-top > li > a,
.navi-in .menu-top > li > a .item-label {
  color: #e8e0d5 !important;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.navi-in .menu-top > li > a:hover,
.navi-in .menu-top > li > a:hover .item-label {
  color: #c8a97e !important;
  background: transparent !important;
}

.navi-in .menu-top > li.current-menu-item > a,
.navi-in .menu-top > li.current-menu-item > a .item-label {
  color: #c8a97e !important;
}

/* ===== 優先3位：全体の雰囲気調整 ===== */
body {
  background-color: #f5f2ef !important;
  font-family: &#039;Hiragino Kaku Gothic ProN&#039;, &#039;ヒラギノ角ゴ ProN W3&#039;, Meiryo, sans-serif !important;
}

.widget-title,
.sidebar .widget-title {
  font-size: 15px;
  font-weight: bold;
  color: #2C1810;
  border-left: 4px solid #c8a97e !important;
  padding-left: 10px;
  margin-bottom: 14px;
}

#footer {
  background: #2C1810 !important;
  color: #e8e0d5 !important;
}

#footer a {
  color: #c8a97e !important;
}

#footer a:hover {
  color: #fff !important;
}

/* ===== レスポンシブ（スマホ対応） ===== */
@media screen and (max-width: 768px) {
  .ect-vertical-card-3 .entry-card-wrap {
    flex-direction: column !important;
  }
  .ect-vertical-card-3 .entry-card-thumb {
    width: 100% !important;
    min-width: unset !important;
  }
  .ect-vertical-card-3 .entry-card-thumb img {
    height: 200px !important;
  }
}

/* ===== スライダー（参考：daily-traveler.com） ===== */
.kyuu-slider-wrap {
  background: #fff;
  padding: 20px 0 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e8e0d5;
  width: 100%;
  overflow: hidden;
}

.kyuu-swiper {
  padding: 0 44px !important;
  overflow: visible !important;
}

.kyuu-sl-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kyuu-sl-link:hover .kyuu-sl-title {
  color: #c8a97e;
}

.kyuu-sl-img {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #eee;
}

.kyuu-sl-img img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s;
}

.kyuu-sl-link:hover .kyuu-sl-img img {
  transform: scale(1.04);
}

.kyuu-sl-noimg {
  width: 100%;
  height: 155px;
  background: #ddd;
  border-radius: 6px;
}

.kyuu-sl-cat {
  position: absolute;
  top: 7px;
  left: 7px;
  background: #2C1810;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: bold;
  letter-spacing: 0.03em;
  z-index: 1;
}

.kyuu-sl-title {
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

/* ナビゲーションボタン */
.kyuu-swiper .swiper-button-prev,
.kyuu-swiper .swiper-button-next {
  color: #2C1810;
  background: rgba(255,255,255,0.95);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  top: 44%;
}

.kyuu-swiper .swiper-button-prev::after,
.kyuu-swiper .swiper-button-next::after {
  font-size: 13px;
  font-weight: 900;
}

.kyuu-swiper .swiper-button-prev { left: 4px; }
.kyuu-swiper .swiper-button-next { right: 4px; }

/* ページネーション */
.kyuu-swiper .swiper-pagination {
  bottom: -4px !important;
}

.kyuu-swiper .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.kyuu-swiper .swiper-pagination-bullet-active {
  background: #2C1810;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .kyuu-swiper {
    padding: 0 32px !important;
  }
  .kyuu-sl-img img,
  .kyuu-sl-noimg {
    height: 130px;
  }
}

/* ===== 文字色の修正（白抜け対策） ===== */
body {
  color: #333 !important;
}



/* 記事カード内のテキスト */
.entry-card-title,
.entry-card-title a {
  color: #333 !important;
}

.entry-card-snippet {
  color: #555 !important;
}

.entry-card-date {
  color: #888 !important;
}

/* ===== 管理バーのリンク色は変更しない ===== */
#wpadminbar a,
#wpadminbar a:hover,
#wpadminbar a:focus {
  color: inherit !important;
}

/* フロントエンドのリンク色（管理バー除外） */
.site-body a:not(#wpadminbar a),
#contents a:not(#wpadminbar a),
#footer a:not(#wpadminbar a) {
  color: #3d2010;
}

.site-body a:hover:not(#wpadminbar a),
#contents a:hover:not(#wpadminbar a) {
  color: #c8a97e;
}

/* ===== スライダー画像表示修正（z-index重なり対策） ===== */
.kyuu-sl-img img {
  position: relative !important;
  z-index: 2 !important;
}

.kyuu-sl-cat {
  z-index: 3 !important;
}

/* ===== リンク色修正：スキンのwhite上書き ===== */

/* 全体のaタグを黒に（スキンのwhiteを上書き） */
a {
  color: #333 !important;
}

a:hover {
  color: #c8a97e !important;
}

/* 記事本文内リンク（下線付きで視認性アップ） */
.entry-content a,
.article-body a {
  color: #333 !important;
  text-decoration: underline;
}

.entry-content a:hover,
.article-body a:hover {
  color: #c8a97e !important;
}

/* ヘッダー・ナビは白を維持 */
#header a,
#header .site-name-text,
#navi .menu-top a,
#navi .menu-top a .item-label {
  color: #e8e0d5 !important;
  text-decoration: none !important;
}

#navi .menu-top li.current-menu-item > a,
#navi .menu-top li.current-menu-item > a .item-label,
#navi .menu-top a:hover,
#navi .menu-top a:hover .item-label {
  color: #c8a97e !important;
}

/* フッターリンクはコーヒー色を維持 */
#footer a {
  color: #c8a97e !important;
  text-decoration: none;
}

#footer a:hover {
  color: #fff !important;
}

/* スライダータイトルリンク */
.kyuu-sl-title,
.kyuu-sl-link {
  color: #333 !important;
  text-decoration: none !important;
}

/* サイドバーリンク */
.widget a {
  color: #333 !important;
}

/* ===== アフィリエイトボタン ===== */
.btn-affiliate-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px auto;
  max-width: 420px;
  text-align: center;
}

.btn-affiliate {
  display: block;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none !important;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.btn-affiliate:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  text-decoration: none !important;
  box-shadow: 0 5px 14px rgba(0,0,0,0.22);
}

/* 楽天ボタン（赤） */
.btn-rakuten {
  background: #e60012 !important;
  color: #fff !important;
}

/* Amazonボタン（オレンジ） */
.btn-amazon {
  background: #FF9900 !important;
  color: #111 !important;
}

/* コーヒー色ボタン（汎用） */
.btn-coffee {
  background: #2C1810 !important;
  color: #fff !important;
}

/* ボタン内テキストが白・黒になるよう上書き */
.btn-rakuten,
.btn-rakuten:hover,
.entry-content .btn-rakuten,
.entry-content .btn-rakuten:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.btn-amazon,
.btn-amazon:hover,
.entry-content .btn-amazon,
.entry-content .btn-amazon:hover {
  color: #111 !important;
  text-decoration: none !important;
}

.btn-coffee,
.btn-coffee:hover,
.entry-content .btn-coffee,
.entry-content .btn-coffee:hover {
  color: #fff !important;
  text-decoration: none !important;
}
.btn-trip {
  background: #006AFF !important;
  color: #fff !important;
}
