/*
Theme Name: Lightning Child
Template: lightning
Description: LightningのG3 Pro Unitの子テーマ
*/

/*2250819*/
/*TOPh4色変更*/
h4.wp-block-heading{
 background-color: #5db0d5 !important;
}

/*20250618*/
/*メニュー下ラインカスタマイズ*/
.device-pc .global-nav-list>li>a {
    color: #e4765c;
    text-decoration: none;
}
.global-nav-list>li:before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 0;
    border-bottom: 1px solid #5db0d5;
    transition: all .5s ease-out;
}

/* 通常は表示、サブメニュー持ちメニューだけライン消す */
.global-nav-list > li.menu-item-has-children:before {
  display: none !important;
}

/*上に戻るボタンカスタマイズ*/
.page_top_btn {

/*ボタンの大きさ*/
width: 60px;
height: 58px;

/*ボーダーの種類と色*/
border: solid #fff;

/*ボタンの背景色*/
background:#e4765c;

/*ボタンの丸み*/
border-radius: 50%;

/*ボタンの中の画像（デフォルトのもの）*/
 background-image: var(--ver_page_top_button_url);

/*ボタンの中の画像サイズと位置など*/
background-size:50%;
background-repeat: no-repeat;
background-position: center;
/*シャドウ効果なし*/
 box-shadow: none;
}

/*お知らせカテゴリバッジ色変更*/
.entry-meta-data-list.entry-meta-data-list--category dt {
  background-color: #e4765c;
  color: #fff;
}

/*投稿パンくず要素見た目非表示*/
/*カテゴリ増えたらこのリストに追加する。状況次第で正規表現や共通接頭辞でまとめる方法も検討*/
/*一時的に見た目戻し20251001
.breadcrumb li a[href*="/category/info/"],
.breadcrumb li a[href*="/category/report/"],
.breadcrumb li a[href*="/category/diary/"],
.breadcrumb li a[href*="/category/release/"],
.breadcrumb li a[href*="/category/uncategorized/"] {
  display: none;
}
.breadcrumb li:has(a[href*="/category/info/"]),
.breadcrumb li:has(a[href*="/category/report/"]),
.breadcrumb li:has(a[href*="/category/diary/"]),
.breadcrumb li:has(a[href*="/category/release/"]),
.breadcrumb li:has(a[href*="/category/uncategorized/"]) {
  display: none;
}
*/

/*カテゴリラベルからリンクしない*/
a.postListText_singleTermLabel_inner {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/*20250619*/
/*ヘッダーキャッチコピー背景調整*/
/****スライドタイトル****/
.ltg-slide-text-title {
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000 !important;
}
/****スライドテキスト****/
.ltg-slide-text-title+.ltg-slide-text-caption {
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000 !important;
}

/*サブメニューカスタマイズ*/
/* サブメニューの背景色 */
.global-nav-list>li>ul.sub-menu {
  background-color: #dd9933; 
}
/* サブメニューの文字色 */
.global-nav-list>li>ul.sub-menu a {
  color: #fff; 
}
/* 突起部分の色 */
.global-nav-list>li.menu-item-has-children::after {
  border-bottom-color: #dd9933;
}
/* マウスホバー時の背景色 */
.global-nav-list .sub-menu li a:hover {
background-color: #faae3c;
}
/* ボーダーの太さ・線種・色 */
.global-nav-list .sub-menu li a {
border-bottom: 1px solid rgba(255,255,255,.15);
}
/*サブメニューの中央寄せと幅*/
.global-nav-list > li > ul.sub-menu,
.global-nav-list .sub-menu {
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 80px !important;
  max-width: 140px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  text-align: center !important;
  z-index: 9999;
}
/*突起調整*/
.global-nav-list > li.menu-item-has-children::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/*20250901*/
body {
  overflow-x: hidden; /* 横スクロールは常に禁止 */
}

.global-nav-list > li > ul.sub-menu,
.global-nav-list .sub-menu {
  top: 100%;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/*20250819*/
.global-nav-list .sub-menu li a {
  white-space: nowrap;
  word-break: keep-all;
  font-size: 13px; /* ← もしギリギリならここも小さく */


/*追加でテーマのずれを打ち消す*/
/* テーマの潜在的な上書きリセット */
.global-nav-list .sub-menu {
  margin: 0 !important;
  padding: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  width: auto !important;
  min-width: 80px !important;
  max-width: 120px !important;
  box-sizing: border-box;
}

/*モバイル設定*/
@media screen and (max-width: 768px) {
  .footer-nav {
    display: none;
  }
}

/* 各アイコンの左右マージン調整 */
.footer-widget-area .wp-block-social-link {
  margin: 0 0.5em;
}

/*20250630 override for h4 - 強制適用 */
h4 {
  font-size: 1.1em !important;
  background-color: #5db0d5 !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  color: #7d7d7d !important;
}

/*20250702h3リンク時文字色*/
h3.wp-block-heading a {
color: #faae3c; 
}
h3.wp-block-heading a:hover{
color: #5db0d5;
}

.fas.fa-link {
  color: #666;
  transition: color 0.3s ease;
}
/*フッターnotehover用*/
.fa-solid.fa-link {
  color: #666;
  transition: color 0.3s ease;
}

.fa-solid.fa-link:hover {
  color: #f57c00;
}

/* 20250702 hover check */
.wp-block-social-link a:hover svg {
  fill: #d0ecf7 !important;
}

/*20250704お知らせのウィジエットの調整*/
/* ---------- h4の下に出ちゃうオレンジ線を消す ---------- */
.widget-title,
.widget h4 {
  border-bottom: 1px solid #ffffff !important;
}

/* ---------- 最近の投稿のサムネイル画像を非表示 ---------- */
.vk_postList_item_image {
  display: none !important;
}

/* ---------- サムネイル跡のスペース詰め（必要なら） ---------- */
.vk_postList_item {
  display: flex;
  align-items: center;
  padding: 0.5em 0;
}
/* ウィジェットタイトル下のオレンジ線（疑似要素）を消す */
.widget-title::after,
.widget h4::after {
  content: none !important;
  display: none !important;
}
/* 最近の投稿ウィジェットの画像を非表示 */
.vk_post_imgOuter.media-img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/*20250714*/
/*Lightning ヘッダー上部エリア文字非表示*/
.header-top-description {
  visibility: hidden !important;
  height: 1.6em;
  padding-top: 0.2em; /* 必要なら追加 */
}
