/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/

/*************************************************
* WrorPressの不具合と思われる対応（暫定的）
* 投稿者権限でインライン文字の色を設定すると背景色が黄色になる不具合
**************************************************/

/*************************
* インライン文字色	 	 *
**************************/
mark{
	background-color: initial;
}

/**************************************************/
/*********   ここまで    **************************/
/**************************************************/


/**********************
全体の文字色
**********************/
body{
	color:#333333;
	font-size:16px;
}
/**********************
 パンくずリストを非表示 
**********************/
body .breadcrumb {
    display: none;
}

/**********************
 ヘッダーロゴの高さ
**********************/
/*
.header_scrolled .site-header .site-header-container--scrolled--logo-and-nav-container .site-header-logo, .header_scrolled .site-header .site-header-container--scrolled--logo-and-nav-full .site-header-logo {
    width: 280px;
}

.site-header-logo img,
.header_scrolled .site-header-container--scrolled--logo-and-nav-full .site-header-logo img{
	width: 280px;
	max-width: 280px;
	@media (max-width: 992px){
		max-width: calc( 100vw - 100px);
		max-height: 60px;
	}
}
*/

/**********************
ページヘッダー
**********************/
/* ヘッダー高さ */
.page-header{
	height: 250px;
	@media (max-width: 576px){
		height: 150px;
	}
}
/* ヘッダータイトル */
.page-header-title,
h1.page-header-title{
	letter-spacing: 0.05em;
	font-weight:normal;
	text-shadow: -2px -2px 5px #777, 2px -2px 5px #777, 2px 2px 5px #777, -2px 2px 5px #777;
	@media (max-width: 576px){
		font-size: 26px;
	}
}

/**********************
見出し
**********************/
h1,h2,h3,h4,h5,h6{
	font-weight:normal;
}

h2{
	margin: 0 4em;
	padding: 0.8em 0;
	text-align: center!important;
	color: #337ab7;
	letter-spacing: 0.1em;
	@media (max-width: 576px){
		margin: 0;
	}
}
/* 見出し装飾 短い線中央寄せ  */
h2::before{
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin-bottom: 1.5rem;
	margin-left: auto;
	margin-right: auto;
	background-color: #337ab7;   
	position: relative;
//	top:unset;
//	right:unset;
//	left:unset;
	bottom: -5rem;
	border: unset;
}

h3{
  padding: 0.7em 0.7em;/*文字の上下 左右の余白*/
  color:#ff6900;/*文字色*/
  border-left: solid 5px #ff6900;/*左線*/
  border-bottom: none;
  font-size:1.4em;
}

h4{
	padding-left: 1em!important;
}

/* 投稿タイトルの見出し */
h1.entry-title{
	font-size: 1.6rem;
}
/**********************
フローティングバナー
(画面右端)
**********************/
.floating-banner {
    position: fixed;
    z-index: 99999;
	top: 210px;
    right: 0;
}
.banner-right {
	width: 70px;/* バナーの横幅 */
	margin-bottom: 50px;
	padding: 10px 5px;
	background-color: #337ab7;	/* バナーの背景色 */
    color: #ffffff;/* バナー内の文字色 */
    font-weight: normal;
    text-align: center;
	border: solid 2px #ffffff;
	border-radius: 10px 0 0 10px;
	opacity: 0.8;
}
.banner-right:hover{
	opacity: 0.6;
}
.floating-banner a {
    text-decoration: none;/* リンクに下線が入らないように */
}
.copy {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-size: 1.1em;
    margin:10px auto 10px;
    line-height: 1.2;
}

@media screen and (max-width: 992px) {
    .floating-banner {
        display: none;
    }
}

/**********************
 グローバルメニュー
***********************/
.global-nav-list>li .global-nav-name{
	font-size: 0.9rem;
	font-weight:normal;
	color: #111111;
}

/**********************
 サブメニュー文字位置・文字サイズ
**********************/
.global-nav-list .sub-menu li {
	font-size: 0.9rem;
	text-align: center;
	font-weight:normal;
	background-color: #2e6fa3;
}
/* ボーダーの太さ・線種・色 */
.global-nav-list .sub-menu li a{
	margin-top:0;
	color: #ffff;
//	border-bottom: 1px solid #f0f0f0;
}
/* 突起部分の色 */
.global-nav-list>li.menu-item-has-children::after {
  border-bottom-color: #2e6fa3;
}
/* マウスホバー時の背景色 */
	/* サブメニューをクリックしたままフォーカスを外すとキーカラーが表示されるのでfocusをhoverよりも先に設定 */
.global-nav-list .sub-menu li a:focus{
	background-color: #2e6fa3;
}
.global-nav-list .sub-menu li a:hover{
	background-color: #337ab7;
}

/**********************
 カード型投稿タイトル文字
**********************/
h5.vk_post_title.card-title{
	font-size: 1rem;
	font-weight: normal;
}

/**********************
 投稿タイトル文字色
**********************/
.postListText_title a{
	color: var(--vk-color-text-link);
}
.postListText_title a:hover{
	color: var(--vk-color-text-link-hover);
}
/* 文字サイズ*/
.postListText_date,
.postListText_title{
	font-size: 16px;
}

/**********************
 リスト文字色
**********************/
ul.is-style-vk-arrow-mark li, ul.is-style-vk-triangle-mark li, ul.is-style-vk-check-mark li, ul.is-style-vk-check-circle-mark li, ul.is-style-vk-check-square-mark li, ul.is-style-vk-handpoint-mark li, ul.is-style-vk-pencil-mark li, ul.is-style-vk-smile-mark li, ul.is-style-vk-frown-mark li, ul.is-style-vk-numbered-circle-mark li, ul.is-style-vk-numbered-square-mark li, ol.is-style-vk-arrow-mark li, ol.is-style-vk-triangle-mark li, ol.is-style-vk-check-mark li, ol.is-style-vk-check-circle-mark li, ol.is-style-vk-check-square-mark li, ol.is-style-vk-handpoint-mark li, ol.is-style-vk-pencil-mark li, ol.is-style-vk-smile-mark li, ol.is-style-vk-frown-mark li, ol.is-style-vk-numbered-circle-mark li, ol.is-style-vk-numbered-square-mark li{
	color:#333333;
}

ul.is-style-default:not(.has-text-color), ul.is-style-default:not(.has-link-color), ul.is-style-vk-arrow-mark:not(.has-text-color), ul.is-style-vk-arrow-mark:not(.has-link-color), ul.is-style-vk-triangle-mark:not(.has-text-color), ul.is-style-vk-triangle-mark:not(.has-link-color), ul.is-style-vk-check-mark:not(.has-text-color), ul.is-style-vk-check-mark:not(.has-link-color), ul.is-style-vk-check-circle-mark:not(.has-text-color), ul.is-style-vk-check-circle-mark:not(.has-link-color), ul.is-style-vk-check-square-mark:not(.has-text-color), ul.is-style-vk-check-square-mark:not(.has-link-color), ul.is-style-vk-handpoint-mark:not(.has-text-color), ul.is-style-vk-handpoint-mark:not(.has-link-color), ul.is-style-vk-pencil-mark:not(.has-text-color), ul.is-style-vk-pencil-mark:not(.has-link-color), ul.is-style-vk-smile-mark:not(.has-text-color), ul.is-style-vk-smile-mark:not(.has-link-color), ul.is-style-vk-frown-mark:not(.has-text-color), ul.is-style-vk-frown-mark:not(.has-link-color), ul.is-style-vk-numbered-circle-mark:not(.has-text-color), ul.is-style-vk-numbered-circle-mark:not(.has-link-color), ul.is-style-vk-numbered-square-mark:not(.has-text-color), ul.is-style-vk-numbered-square-mark:not(.has-link-color), ol.is-style-default:not(.has-text-color), ol.is-style-default:not(.has-link-color), ol.is-style-vk-arrow-mark:not(.has-text-color), ol.is-style-vk-arrow-mark:not(.has-link-color), ol.is-style-vk-triangle-mark:not(.has-text-color), ol.is-style-vk-triangle-mark:not(.has-link-color), ol.is-style-vk-check-mark:not(.has-text-color), ol.is-style-vk-check-mark:not(.has-link-color), ol.is-style-vk-check-circle-mark:not(.has-text-color), ol.is-style-vk-check-circle-mark:not(.has-link-color), ol.is-style-vk-check-square-mark:not(.has-text-color), ol.is-style-vk-check-square-mark:not(.has-link-color), ol.is-style-vk-handpoint-mark:not(.has-text-color), ol.is-style-vk-handpoint-mark:not(.has-link-color), ol.is-style-vk-pencil-mark:not(.has-text-color), ol.is-style-vk-pencil-mark:not(.has-link-color), ol.is-style-vk-smile-mark:not(.has-text-color), ol.is-style-vk-smile-mark:not(.has-link-color), ol.is-style-vk-frown-mark:not(.has-text-color), ol.is-style-vk-frown-mark:not(.has-link-color), ol.is-style-vk-numbered-circle-mark:not(.has-text-color), ol.is-style-vk-numbered-circle-mark:not(.has-link-color), ol.is-style-vk-numbered-square-mark:not(.has-text-color), ol.is-style-vk-numbered-square-mark:not(.has-link-color){
	color:#333333;
}

/**********************
 モバイルメニュー
**********************/
.vk-mobile-nav{
	background-color:#ffffff;
//	background-color:#e8f4fe;
}

/**********************
 ヘッダー上部文字
**********************/
.header-top .header-top-description{
	font-size: 14px;
	padding: 7px 20px 12px;
}
.header-top{
	border-bottom:none;
}

/**********************
 TOPへ戻るボタン変更
**********************/
.scrolled .page_top_btn{
	opacity: 0.8;
}

.page_top_btn{
    width: 52px;
    height: 52px;
    border: none;
    background: none;
    box-shadow: none;
    background-image: url(../../uploads/2025/06/button-top.png);
    background-size: 100%;
}
.mobile-fix-nav_enable .page_top_btn{
	right: 5px;
	@media (max-width: 992px){
		bottom: calc(62px + 10px);
//		bottom: calc(62px + 58px + 10px);
	}
}

/**********************
 ハンバーガーメニュー
**********************/
.vk-mobile-nav-menu-btn {
//	top:10px;
	width: 60px;
	height: 64px;
	border: none;
//	border-radius: 5px;
	background-image: url(../../uploads/2025/07/btn-menu.png);
  	background-size: cover;
	opacity: 1;
}
.vk-mobile-nav-menu-btn.menu-open {
    border: none;
	background-image: url(../../uploads/2025/07/btn-close.png);
	background-size: cover;
	opacity: 1;
}

/**********************
 リストアイコン いろいろ
**********************/
/* ひし形 */ 
ul.list-diamond li:before{
	content: '◆';  /* アイコンの右側スペースを空けたいのでcntents入れ替え */
}
/* 四角 */ 
ul.list-rect li:before{
	content: '■';  /* アイコンの右側スペースを空けたいのでcntents入れ替え */
}
/* ※印 **/
ul.list-comme{
	padding: 0 0 0 1em;
	list-style-type: "※";  /* コメントなのでline-style-typeを使用 */
}
/* ★マーク**/
ul.list-star{
	padding: 0 0 0 1em;
	list-style-type: "★";  /* コメントなのでline-style-typeを使用 */
}

/**********************
 モバイル固定ナビ 
**********************/
.mobile-fix-nav-top{
	border: none!important;
}

.mobile-fix-nav .mobile-fix-nav-menu li .vk-mobile-nav-menu-btn, .mobile-fix-nav .mobile-fix-nav-menu li a{
	font-size:1.2em;
}

/**********************
 ギャラリーの画像サイズを統一
**********************/
.wp-block-gallery.has-nested-images.fg-0 figure.wp-block-image {
    flex-grow: 0;
}

/****************************
モバイルメニューのサブメニュのクリック位置を▽以外でも効くようにする
****************************/
@media (max-width: 992px) {
	.vk-menu-acc .acc-btn {
		border: none;
		background: var(--vk-menu-acc-icon-open-black-bg-src) right 50% no-repeat;
		width: 100%;
		right: 0;
		top: 0;
		height: calc( 24px + 1.4em );
		background-size: 30px;
	}

	.vk-menu-acc .acc-btn-close {
		background: var(--vk-menu-acc-icon-close-black-bg-src) right 50% no-repeat;
		background-size: 30px;
	}
}