/* =========================
   ヘッダー下部ナビゲーションバー
========================= */
.header-nav-bar {
    width: 100%;
    background: #f7f7f7 !important;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.header-nav-inner {
    display: flex;
    align-items: stretch;
    max-width: 1062px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 各ナビアイテム共通 */
.hnb-item,
.hnb-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px;
    height: 46px;
    font-size: 13px;
    font-weight: 500;
    color: #333 !important;
    text-decoration: none !important;
    white-space: nowrap;
    background: none !important;
    border: none;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background .15s, color .15s;
    position: relative;
}
.hnb-item:first-child,
.hnb-dropdown:first-child .hnb-dropdown-trigger {
    border-left: 1px solid #e0e0e0;
}
.hnb-item:hover,
.hnb-dropdown-trigger:hover {
    background: #efefef !important;
    color: #2b7a2b !important;
    text-decoration: none !important;
}

/* アイコン */
.hnb-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    fill: none;
    stroke: #555;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block !important;
    flex-shrink: 0;
}
.hnb-item:hover .hnb-icon,
.hnb-dropdown-trigger:hover .hnb-icon {
    stroke: #2b7a2b;
}

/* ドロップダウン矢印 */
.hnb-caret {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    fill: none;
    stroke: #555 !important;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s;
    display: block !important;
    margin-left: 2px;
}
.hnb-dropdown-trigger[aria-expanded="true"] .hnb-caret {
    transform: rotate(180deg);
}

/* ドロップダウンラッパー */
.hnb-dropdown {
    position: relative;
}

/* プルダウンメニュー */
.hnb-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 9999;
}
.hnb-dropdown-menu.is-open {
    display: block;
}
.hnb-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background .12s;
}
.hnb-dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #2b7a2b;
}

/* サブメニュー */
.hnb-dropdown-item.has-children {
    position: relative;
}
.hnb-sub-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 9999;
}
.hnb-dropdown-item.has-children:hover .hnb-sub-menu {
    display: block;
}

/* ===================================================
SP：ヘッダー下部ナビゲーションバーを非表示
※ PC用ナビのため、スマホでは表示しない
=================================================== */

@media (max-width: 768px) {

/* ヘッダー下部ナビはSPでは非表示 */
.header-nav-bar,
.header-nav-inner {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	overflow: hidden !important;
}

/* 念のため、通常ヘッダーは表示維持 */
#site-header,
.site-header {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
}

#site-header-container {
	display: grid !important;
	visibility: visible !important;
	opacity: 1 !important;
}

}
