/* TOP NEWS欄 */ 
.postList {
	padding-left: 0; margin-left: 0; list-style: none; 
}

.postList li {
	display: flex; align-items: center; gap: 12px; 
}

.postList_date::before {
	display: inline-block; width: 110px; 
}

.postList_terms {
	display: inline-block; width: 80px; 
} 

.postList_title {
	display: inline-block; flex: 1; 
} 

.postList_title a {
	display: inline; 
} 

.postList li {
	display: flex !important; 
} 

.postList_date::before {
	display: inline-block; width: 0px; /* ←ここを調整（今より小さく） */ margin-left: 0; 
} 

/* ロゴ */ 
.site-header-logo img {
	height: 100px !important; width: auto !important; max-width: none !important; 
} 

/* メニュー画像 */ .global-nav img { height: 28px; width: auto !important; max-width: none !important; object-fit: contain; } 

/* メニュー書体 */
.global-nav li a {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;  font-weight: 800;  font-size: 20px; 
}

/* メニュー表示位置 */
.global-nav {
	float: none !important; margin-left: -20px; 
}

.global-nav-list {
	justify-content: flex-start !important; 
}

/* ホバーで少し動きをつける */ 
.global-nav li a:hover {
	opacity: 0.7; 
}

.site-header-container {
	padding-top: 0; padding-bottom: 0;
}

.global-nav li a {
	letter-spacing: 0.05em; 
}

/* スクロール時フローティングメニューの高さ調整 */
.site-header {
	padding-top: 8px; padding-bottom: 8px; 
} 

.site-header.is-fixed {
	padding-top: 8px; padding-bottom: 8px; 
} 

/* メニュー上下余白調整 */
/* 通常時 */ body:not(.header_scrolled) .site-header {
	padding-top: 0 !important; padding-bottom: 0 !important; 
}
/* スクロール時 */ body.header_scrolled .site-header {
	padding-top: 10px; padding-bottom: 10px; 
} 

/* メニュー区切り線 */ 
#global-nav ul li {
	position: relative; 
}

#global-nav ul li a {
	padding: 0 20px; 
} 

#global-nav ul li + li a::before {
	content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60px; background: #ddd; 
}

/* 見出しマーク */
.section-title::before {
  content: "🌿";
  margin-right: 8px;
  color: #6aa84f;
}

/* 知る・学ぶバナー */

/* 1. 全ての検索ボタン（お悩み検索含む）にホバー効果 */
.searchandfilter input[type="submit"]:hover,
.wp-block-search__button:hover {
    opacity: 0.7 !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    transform: translateY(-1px);
}

/* 2. 全ての入力欄（キーワード入力）にホバー効果 */
.searchandfilter input[type="text"]:hover,
.wp-block-search__input:hover {
    opacity: 0.8 !important;
    border-color: #6aa84f !important; /* 枠線を緑に */
    transition: 0.3s !important;
}

/* 3. 全てのドロップダウン（症状から選ぶ）にホバー効果 */
.searchandfilter select:hover,
.wp-block-categories-dropdown select:hover {
    opacity: 0.8 !important;
    cursor: pointer !important;
    border-color: #6aa84f !important;
    transition: 0.3s !important;
}

/* すべてのリンク付き画像バナーにホバーエフェクトを適用 */
a .wp-block-image img,
.wp-block-image a img,
.elementor-image a img,
.wp-block-image img {
    transition: all 0.3s ease !important;
}

/* ホバー時の動き：透明度を下げて上に少し浮かせる */
a:hover .wp-block-image img,
.wp-block-image a:hover img,
.elementor-image a:hover img,
.wp-block-image img:hover {
    opacity: 0.6 !important;
    transform: translateY(-1px) !important;
}

/* 知る・学ぶバナー（hover-item）をふわっと浮かせる */
.hover-item {
    transition: all 0.3s ease-in-out !important;
}

.hover-item:hover {
    opacity: 0.7 !important;
    transform: translateY(-5px) !important;
    cursor: pointer;
}

/* バナー内の画像も連動して透過させる */
.hover-item:hover img {
    opacity: 0.8 !important;
}

/* 検索ドロップダウン内の不要なカテゴリーを非表示にする */
/* 「未分類」や「BLOG」などのIDに合わせて数字を調整します */

.searchandfilter select option[value="1982"], /* 未分類 */
.searchandfilter select option[value="124854"], /* BLOG */
.searchandfilter select option[value="124853"]  /* NEWS */
{
    display: none !important;
}

/* Lightning標準のクレジットを強制非表示（フッター） */
.siteFooter_copyright p:last-child,
.site-footer-copyright p:last-child,
footer .copySection p:nth-child(2) {
    display: none !important;
}

/* 1. 既存のコピーライト行の中身を透明にする */
.siteFooter_copyright, 
.site-footer-copyright {
    color: transparent !important;
    font-size: 0 !important;
    text-align: center !important; /* 中央寄せ */
}

/* 2. 新しい文字を中央に配置して表示 */
.siteFooter_copyright::before,
.site-footer-copyright::before {
    content: "Copyright © 2026 NORICA STYLE Co., Ltd.";
    color: #666; 
    font-size: 14px !important;
    display: block;
    visibility: visible;
    text-align: center !important; /* 中央寄せ */
    width: 100%;
}

/* フッター全体の背景色をベージュに変更 */
#site-footer, 
.site-footer, 
footer.siteFooter, 
.siteFooter {
    background-color: #f4f0e6 !important;
    background-image: none !important; /* 背景画像が設定されている場合を考慮 */
}

/* フッター内の文字色（リンク含む）を濃いグレーに変更 */
#site-footer, 
#site-footer a, 
.siteFooter, 
.siteFooter a, 
.siteFooter_copyright {
    color: #3c4043 !important;
}

/* コピーライト部分の背景透過と中央寄せの再徹底 */
.siteFooter_copyright {
    background-color: transparent !important;
    text-align: center !important;
}

/* 前回の2026年コピーライト表示 */
.siteFooter_copyright::before,
.site-footer-copyright::before {
    content: "Copyright © 2026 NORICA STYLE株式会社 All Rights Reserved.";
    color: #3c4043 !important;
    font-size: 14px !important;
    display: block;
    visibility: visible;
    text-align: center !important;
    width: 100%;
}