/*
 Theme Name: Lightning Child
 Template: lightning
*/
/*
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
Template: lightning
Version:7.6.1
Tags: two-columns, one-column, right-sidebar, custom-colors, custom-menu, editor-style, E-Commerce
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightning

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

.video { position: relative; padding-bottom : 56.25%;}
.video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}



@media (max-width: 1199px) {
  .siteHeadContainer {
    display: flex !important;
    align-items: center;
  }

  .navbar-header {
    float: none !important;
    text-align: left !important;
  }

  .gMenu_outer {
    float: none !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    text-align: right !important;
  }

  .gMenu_outer ul {
    display: flex !important;
  }
}

@media (max-width: 800px) {

  /* メニュー非表示・ロゴ表示 */
  .gMenu_outer {
    display: none !important;
  }

  .siteHeader_logo {
    display: block !important;
    text-align: center;
  }

  /* ロゴ中央寄せ */
  .siteHeadContainer {
    display: flex;
    justify-content: center;
  }

  .navbar-header {
    margin: 0 auto;
  }

}



/************************************************
   メニュー ボタン
 ************************************************/

  .menu-button-container {
      display: flex;
      /* justify-content: space-around;*/
      padding: 5px 5px 5px 0;
  }

  .menu-button {
      display: inline-block;
      padding: 5px 20px;
      font-size: 14px;
      font-weight: bold;
      color: #fff;
      background-color: #7a7a7a;
      text-align: center;
      text-decoration: none;
      border-radius: 5px;
      transition: background-color 0.3s ease;
  }

  .menu-button:hover {
      color: #fff;
      background-color: #ff9100;
      text-decoration: none;
  }


/* 言語メニュー ********************/

/* コピーライトと右側言語切替を横並び */
.copySection {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Bogoのリスト装飾除去 */
.bogo-language-switcher {
 margin-top: -5px;  /* 数値は -2px〜-6px で微調整 */
}

.bogo-language-switcher li {
  list-style: none;
}


.copySection select {
    /* 高さを固定（一般的な小さいボタンと同じくらいのサイズ） */
    height: 28px;
    min-height: auto;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #fff;
}


/* 1. ヘッダー上部のバー全体 */
.bogo-top-bar {
    background-color: #f8f8f8 !important;
    /* 上側に余白をたっぷり、下側をゼロに */
    padding-top: 0px !important; 
    padding-bottom: 5px !important;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    text-align: right;
}

/* 2. Bogoのスイッチャー要素自体の余白を消去 */
.bogo-top-bar .bogo-language-switcher,
.bogo-top-bar .bogo-language-switcher ul,
.bogo-top-bar .bogo-language-switcher ul li {
    margin-bottom: 0 !important;   /* 下の余白を強制ゼロ */
    padding-bottom: 0 !important;  /* 下の余白を強制ゼロ */
    line-height: 1 !important;     /* 行間を詰める */
}

/* 3. Bogoのリストを横並びにする設定 */
.bogo-top-bar .bogo-language-switcher ul {
    display: inline-flex !important;
    list-style: none !important;
    gap: 15px;
    padding-left: 0;
}

.bogo-top-bar .bogo-language-switcher li a {
    text-decoration: none;
    font-size: 13px;
    color: #333;
    display: block;
}


/* Bogoスイッチャーの左にアイコンを表示 */
.bogo-top-bar .bogo-language-switcher::before {
    /* Font Awesome 5 の地球儀アイコン */     
    content: "\f0ac"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
      
    display: inline-block;
    margin-right: 14px;
    color: #666;
    font-size: 14px;
    vertical-align: middle;

    /*  
    content: "";
    display: inline-block;
    
    width: 50px; 
    height: 50px;
    
    background-image: url('/html/images/icon/lang_50x50.png');
    
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    margin-right: 15px;
    vertical-align: middle;
    */
}

/* スイッチャー本体の配置調整 */
.bogo-top-bar .bogo-language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ（右寄せなら flex-end） */
}


/* メニューの重なり解消（1200px以下の時にPCメニューを消してハンバーガーに切替） */
@media (max-width: 800px) {
    /* PCメインメニューを非表示 */
    .gHeader_nav, .navbar-collapse.collapse {
        display: none !important;
    }
    /* ハンバーガーボタンを表示 */
    .navbar-toggle, .menu-toggle, .vk-mobile-nav-menu-btn {
        display: block !important;
    }
}

/* --- 800px以上のとき（PC表示） --- */
@media (min-width: 801px) {
    /* PCメニューを表示 */
    .gHeader_nav, 
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
    }
    /* ハンバーガーボタンを隠す */
    .navbar-toggle, 
    .vk-mobile-nav-menu-btn {
        display: none !important;
    }
}

/* --- 800px以下のとき（モバイル表示） --- */
@media (max-width: 800px) {
    /* PCメニューを隠す */
    .gHeader_nav, 
    .navbar-collapse.collapse {
        display: none !important;
    }
    /* ハンバーガーボタンを表示 */
    .navbar-toggle, 
    .vk-mobile-nav-menu-btn {
        display: block !important;
    }

    /* ロゴ（サイトアイデンティティ）の入っている枠の余白を調整 */
    #site-body .siteHeader .navbar-brand,
    .siteHeader_logo {
        margin-bottom: 5px !important; /* ロゴの下に10pxの余白を追加 */
        display: block;
    }

}

