/*
Theme Name: Lightning child
Theme URI: https://lightning.nagoya
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.
*/


/* 作品についてのメント */
/* センタリングで折り返すと左寄せ */
.photo_comment_600 {
	max-width:600px;
	margin: 0 auto;
	text-align: center;
	background-color: #E6E6E6;
	display: block;
}
.photo_comment_800 {
	max-width:800px;
	margin: 0 auto;
	text-align: center;
	background-color: #E6E6E6;
	display: block;
}
.photo_comment_600 .text {
	font-size:12px;
	text-align: left;
	padding: 5px 10px;
	display: inline-block;
}
.photo_comment_800 .text {
	font-size:12px;
	text-align: left;
	padding: 5px 10px;
	display: inline-block;
}




/************************************************
   メニュー ボタン
 ************************************************/

  .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;
}

/* スイッチャー本体の配置調整 */
.bogo-top-bar .bogo-language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せ（右寄せなら flex-end） */
}


/**********************************************************/

/* ブラウザ全体の二重スクロールを強制停止 */
html {
    overflow: hidden !important;
    height: 100% !important;
}

body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100% !important;
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかに */
}

/* Lightning固有のラッパー要素が原因の場合の対策 */
#wrapper, #site-body {
    overflow: visible !important;
    height: auto !important;
}

/**********************************************************/


/* ログイン中（管理バーがある時）の調整 */
.admin-bar .bogo-top-bar {
    margin-top: 32px !important; /* 管理バーの高さ分だけ下にずらす */
}

/* スマホなど画面幅が狭い時の管理バーの高さ（46px）に対応 */
@media screen and (max-width: 782px) {
    .admin-bar .bogo-top-bar {
        margin-top: 46px !important;
    }
}

/* ページをスクロールした際、ヘッダーが固定される設定ならこれも追加 */
.admin-bar .siteHeader {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar .siteHeader {
        top: 46px !important;
    }
}
