@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（ウイスキーブログ・アンティークウッド仕様・完全レスポンシブ修正決定版）
Template:   cocoon-master
Version:    2.0.0
*/

/* ============================
   基本設定（ベース：CSS1）
============================ */
body {
  color: #dbd0c5 !important;              /* 本文文字：温かみのあるクラシックアイボリー */
  background-color: #2b221a !important;     /* 全体背景：深みのあるアンティークブラウン */
  font-family: "Noto Sans JP", "Meiryo", sans-serif;
}

/* 記事エリアやカードの背景を完全同色にして一体化 */
#content, .main, #main, .article, .sidebar, 
.entry-card-wrap, .related-entry-card, .sidebar .widget {
  background-color: #2b221a !important;     
  border: none !important;                  
  box-shadow: none !important;              
  color: #dbd0c5 !important;
}

.entry-card-title, .related-entry-card-title {
  color: #dbd0c5 !important;
}


/* ============================
   ヘッダー（CSS1準拠）
============================ */
#header {
  background: #211913 !important;           /* ビターブラウン */
  padding: 20px 0 !important;
  border-bottom: 2px solid #c5a059 !important; /* ゴールドの線 */
}

/* タイトル文字（琥珀ゴールド・高級感のある明朝体） */
#header .logo-header .site-name-text,
.header-container .site-name-text {
  color: #c5a059 !important;               
  text-shadow: none !important;	            
  font-family: "Noto Serif JP", "Shippori Mincho", "Georgia", serif; 
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;                     
  margin: 0;
  padding: 10px 0;
}

#header .logo-header {
  padding: 0 !important;
}


/* ============================
   キャッチフレーズ
============================ */
.tagline {
  color: #9c8e83 !important;                /* くすみベージュ */
  text-shadow: none !important;	
  font-size: 13px;
  letter-spacing: 1px;
}


/* ============================
   グローバルナビゲーション
============================ */
#navi {
  background-color: #211913 !important;     
  margin-top: 0 !important;
  border-bottom: 1px solid #3b3026 !important;
}

#navi ul li a {
  color: #bfae9e !important;                
  text-shadow: none !important;
  line-height: 1.2;
  padding: 14px 12px;
  font-weight: bold;
  border: none !important;                  
  display: block;
  transition: all 0.3s ease;
}

#navi ul li a:hover {
  background-color: transparent !important; 
  color: #c5a059 !important;               
}

.menu{
  margin-top: 7px;
  color: #8a7b6e;
  font-size: 11px;
  font-weight: normal;
  display: inline-block;
}


/* ============================
   記事本文・見出し
============================ */
.entry-content {
  line-height: 1.9;
  font-size: 16px;
  color: #dbd0c5 !important;
}

.entry-content a {
  color: #c5a059 !important;
  text-decoration: underline;
}
.entry-content a:hover {
  color: #e6c280 !important;
}

.entry-content h2 {
  margin-top: 50px;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 700;
  color: #c5a059 !important;               
  border-bottom: 2px solid #c5a059;         
  padding-bottom: 8px;
  font-family: "Noto Serif JP", serif;     
}


/* ============================
   フッター（ベース設定）
============================ */
.footer {
  background-color: #211913 !important;     
  border-top: 1px solid #3b3026;
  height: auto;
  padding: 25px 0 !important;
  font-size: 12px;
  color: #8a7b6e;
}

/* フッターメニューリンクの基本設定 */
.footer-navi-in a {
  color: #8a7b6e !important;
  text-decoration: none !important;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.footer-navi-in a:hover {
  color: #c5a059 !important;
}

.footer-meta .author-info {
  display: none;
}

.source-org, .copyright {
  color: #8a7b6e !important;
}

.foofoo {
  font-size: 12px;
}

/* お酒に関する注意書きテキスト */
.foofoo2 {
  font-size: 10px !important;
  margin-bottom: 10px;
  color: #8a7b6e; 
  line-height: 1.6;
  text-align: center;
}


/* ============================
   レスポンシブ設定（構文エラーを完全修正）
============================ */

/* 1023px 以下（タブレット横） */
@media screen and (max-width: 1023px) {
  #header .logo-header .site-name-text {
    font-size: 26px !important; 
    line-height: 1.2 !important;
  }
  #navi ul li a {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

/* 900px 以下（タブレット縦） */
@media screen and (max-width: 900px) {
  #navi ul li a {
    font-size: 14px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  #navi {
    /*display: none !important; */
  }
  .entry-content {
    padding: 0 16px !important;
  }
  .footer {
    padding: 25px 16px !important;
  }
}

/* 599px 以下（スマホ標準：3項目をスマートに1行横並びにする設定） */
@media screen and (max-width: 599px) {
	.menu{
		 font-size: 0px !important;	
	}
  #header .logo-header .site-name-text {
    font-size: 20px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-all !important;
    text-align: center !important;
  }
  #navi {
    /*display: none !important; */
  }
	#menu-menu{
			width:599px;		
	}
	.icaption-wrap li{
		width:190px;
		display:inline-block;
	}
	
  .entry-content {
    font-size: 16px !important;
    line-height: 1.9 !important;
    padding: 0 12px !important;
  }

  /* ――― スマホ用フッター：1行横並び＆ホバー領域の最適化 ――― */
  .footer {
    padding: 20px 4px !important; /* 左右の余白を詰め、横並びのスペースを最大化 */
    box-sizing: border-box !important; 
  }
  
  /* メニューの親要素を横並びFlexboxに変更（改行を絶対に禁止） */
  .footer-navi-in,
  #navi-footer-in {
    display: flex !important;
    flex-direction: row !important;      /* 絶対に横並び */
    flex-wrap: nowrap !important;        /* 絶対に下段へ折り返さない */
    justify-content: center !important;  /* 3つまとめて中央寄せ */
    align-items: center !important;
    padding: 0 !important;
    margin: 0 auto 15px auto !important;
    width: 100% !important;
    float: none !important;
  }

  /* 220pxの固定命令を解除し、スマホ画面幅に合わせた適正なサイズにする */
  .footer-navi-in li,
  #navi-footer-in li {
    display: inline-block !important;
    width: auto !important;              /* パソコン用の220px設定を上書き解除 */
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  /* リンク要素単体の設定（ホバーした時の白い背景幅をボタンサイズに制限） */
  .footer-navi-in a,
  #navi-footer-in a {
    display: block !important;
    width: auto !important;
    padding: 6px 10px !important;        /* 左右に適度な余白を作り、ホバー背景を文字の幅に合わせる */
    margin: 0 4px !important;            /* ボタン同士の横の隙間 */
    font-size: 11px !important;          /* スマホ画面で綺麗に1行に収まる文字サイズ */
    text-align: center !important;
    white-space: nowrap !important;      /* 単語の途中での改行を禁止 */
    box-sizing: border-box !important;
  }

  .foofoo2 {
    font-size: 11px !important; 
    white-space: normal !important; 
    word-break: break-all !important; 
    padding: 0 5px !important;
  }
}

/* 480px 以下（小型スマホ） */
@media screen and (max-width: 480px) {
  .entry-content {
    padding: 0 10px !important;
  }
  /* 極小画面のスマートフォンでも文字が溢れて段ズレしないよう最終調整 */
  .footer-navi-in a,
  #navi-footer-in a {
    font-size: 10.5px !important;
    padding: 6px 6px !important;
    margin: 0 2px !important;
  }
}
