/*
Theme Name: Lightning
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.42.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2026 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
*/

/* ==========================================================
   ヘッダーナビゲーションの文字色を研究会案内と同じグリーンに統一
   ========================================================== */

/* 通常時のリンク文字色 */
.global-nav-list > li > a,
.gNav > li > a,
.site-header .global-nav-list a {
    color: #00b06b !important; /* 研究会案内のグリーン */
    font-weight: bold;
}

/* サブメニューのリンク文字をくっきり濃いグレー（ほぼ黒）にする */
.global-nav-list .sub-menu li a,
.gNav .sub-menu li a {
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important; /* 各項目の上下余白を広げて押しやすくする */
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

/* マウスを乗せた（ホバー）項目：メインカラーの薄い緑背景＋緑文字 */
.global-nav-list .sub-menu li a:hover,
.gNav .sub-menu li a:hover {
    background-color: #e6f7ef !important; /* 淡いグリーン */
    color: #009944 !important; /* GARTメイングリーン */
}

/* ==========================================================
   カレントページ（トップ等）の下線・マーカーを非表示にする
   ========================================================== */

/* 1. 疑似要素による下線バー（::after / ::before）を非表示 */
.global-nav-list > li.current-menu-item > a::after,
.global-nav-list > li.current_page_item > a::after,
.global-nav-list > li.current-menu-ancestor > a::after,
.gNav > li.current-menu-item > a::after,
.gNav > li.current_page_item > a::after,
.site-header .global-nav-list li.current-menu-item > a::after {
    display: none !important;
    content: none !important;
    border-bottom: none !important;
}

/* 2. 直接 border-bottom がついている場合の解除 */
.global-nav-list > li.current-menu-item > a,
.global-nav-list > li.current_page_item > a,
.gNav > li.current-menu-item > a,
.gNav > li.current_page_item > a,
.site-header .global-nav-list li.current-menu-item > a {
    border-bottom: none !important;
    box-shadow: none !important;
}