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

body{
	font-family: "Times New Roman", YuMincho, "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

a:hover{
	opacity:0.8;
}

.global-nav-list>li:before{
	border:none;
}

.vertical-rl{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.p-relative{
	position:relative
}

body:not(.header_scrolled).home .site-header {
	display: none;
}

.site-header{
	height: 60px;	
}

.header_scrolled .site-header,
.header_scrolled .vk-mobile-nav-menu-btn{
	animation: header_drop .5s ease-out 0s 1 alternate none running;
}

.header_scrolled .site-header {
	background-color: rgba(255, 255, 255, 0.6);
	height: 60px;
	clear: both;
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	max-width: 100vw;
	min-height: unset;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

/* ----------------
 * 
 * movile-nav
 * 
 * ---------------- */

/* 標準ボタンの非表示 */
.vk-mobile-nav-menu-btn.menu-open{
	border:none;
	background:none;
}

.header_scrolled.admin-bar .vk-mobile-nav-menu-btn{
	top:32px;
}

.header_scrolled .vk-mobile-nav-menu-btn{
	background-color: transparent;
	clear: both;
	top:14px;
	z-index: 2100;
	min-height: unset;
	border: none;
	box-shadow: none;
}

.header_scrolled .site-header-logo{
	display:block;
}

.vk-mobile-nav-menu-btn {
	position:static;
}

.vk-mobile-nav-menu-btn {
  position: fixed;
  top: 14px;
  left: 5px;
  z-index: 2100;
  width: 34px;
  height: 34px;
  cursor: pointer;
  text-indent: -9999px;
  background: transparent;
  border: none;
  outline: none;
}

.vk-mobile-nav-menu-btn::before,
.vk-mobile-nav-menu-btn::after{
    content: '';
    position: absolute;
    right: 6px;
    height: 1px;
    background-color: #333;
    transition: all 0.3s ease;
    display: block;
}

.vk-mobile-nav-menu-btn::before {
	top: 10px;
	box-shadow: 0 14px 0 0 #333;
	width: 24px;
}

.vk-mobile-nav-menu-btn::after {
    top: 17px;
	width:20px;
}

.vk-mobile-nav-menu-btn.menu-open::before {
  top: 16px;
  transform: rotate(45deg);
  box-shadow: none;
}

.vk-mobile-nav-menu-btn.menu-open::after {
  top: 16px;
  transform: rotate(-45deg);
}

/* 展開時 */
.vk-mobile-nav-menu-btn.menu-open::after,
.vk-mobile-nav-menu-btn.menu-open::before{
	background-color:#ffffff;
	width:24px;
}
.vk-mobile-nav-menu-btn.menu-open::after {
	width:24px;
}
.vk-mobile-nav.vk-mobile-nav-open{
	background-color: #2F2F2F;
}

.vk-mobile-nav nav>ul{
	border-top:none;
}

.vk-mobile-nav nav ul li a{
	color:#ffffff;
	text-align:center;
	padding: 20px .5em;
}

.vk-mobile-nav .widget_nav_menu ul.menu{
	border:none;
	display:flex;
	flex-wrap:wrap;
	padding-left:1em;
}

.vk-mobile-nav .widget_nav_menu ul.menu li{
	width:50%;
	position:relative;
}

.vk-mobile-nav .widget_nav_menu ul.menu li::before{
	content: "";
    position: absolute;
    left: 0;
    top: 1.4em;
    width: 0.3em;
    height: 0.3em;
    background-color: #ffffff;
    border-radius: 50%;
}

.vk-mobile-nav .widget_nav_menu ul.menu li a{
	color:#ffffff;
	border:none;
}

@media (max-width: 992px){
	.site-header {
		display: flex;
        align-items: center;
	}
	.site-header-container {
		width: 191px;
		margin-left: 0;
		padding-left:20px;
	}
}
@media (min-width: 992px){
    .site-header-logo {
		display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: auto;
    }
    .site-header-logo img{
        margin-left: auto!important;
        max-height:100%;
		width: 213px;
        max-width: 100%;
    }
	.site-header--layout--nav-float .site-header-logo{
		margin-right: 0;
        width: auto;		
	}
	.site-header--layout--nav-float .site-header-container{
		display: flex!important;
		height:60px;
		max-width:100%;
	}
	.site-header-logo{
		margin-left:18px;
		padding-top:0;
	}
	.site-header .global-nav{
		margin-left:42px;
	}
	
	/* スクロール時 */
	.header_scrolled .header-top,
	.header_scrolled .site-header-logo,
	.header_scrolled .site-header-sub,
	.header_scrolled .vk-campaign-text{
		display: block;
		padding:0;
		margin-left:18px;
	}
	.header_scrolled .site-header{
		background-color: rgba(255, 255, 255, 0.6);
		height: 60px;
	}
	.site-header .nav li a, nav li a{
		padding: 8px 18px;
	}
	.header_scrolled .site-header .global-nav{
		margin-left:42px;
	}
	.global-nav-list>li .global-nav-name{
		font-weight:normal;
	}
}

.page-header-title, h1.page-header-title{
	font-size: 3rem;
	font-weight: normal;
}

.page-header{
	height:162px;
}

.button-table{
	gap:0;
	align-items: stretch;
}
.button-table .wp-block-button{
	width:50%;
}
@media (min-width: 992px){
	.button-table .wp-block-button{
		width:20%;
	}
}
.button-table .wp-block-button>.wp-block-button__link{
	width:100%;
	height: 100%;
	border-color: #e0dfdf;
	flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
}
.button-table .wp-block-button>.wp-block-button__link:hover{
    filter: brightness(1) saturate(1);
    color:#000!important;
    border-color: #e5e6e6;
    background-color: #e5e6e6 !important;
}

.table-first-column-bg tr>*:first-child{
	background-color: #e0e0df;
}

.table-first-line-bg tr:first-child>*{
	background-color: #e0e0df;	
}

.table-first-column-bgor tr>*:first-child{
	background-color: #FFF0E0;
}

.table-first-line-bgor tr:first-child>*{
	background-color: #FFF0E0;
}

.vk_faq{
	border-bottom: none;
}

.faq-iiyama.vk_faq .vk_faq_title {
    font-weight: normal;
	border-bottom: none;
}

.faq-iiyama.vk_faq .vk_faq_title:before {
    content: "";
    font-weight: normal;
    background-image: url(http://iiyama-butsudan.net/web/wp-content/uploads/2025/02/icon-faq-q.png);
    background-size: contain;
}

.faq-iiyama.vk_faq .vk_faq_content:before {
    content: "";
    background-image: url(http://iiyama-butsudan.net/web/wp-content/uploads/2025/02/icon-faq-a.png);
    background-size: contain;
}

/* -------------------
 * 
 * 投稿一覧
 * 
 * ------------------ */
.archive h5:where(:not(.wp-block-post-title)){
	border-bottom:none!important;
	padding-bottom:0!important;
}

/* -------------------
 * 
 * single - 投稿ページ
 * 
 * ------------------- */
.single-post .site-body-container{
/* 	border: 1px solid #000000; */
	border-radius: 20px;
/*  padding: 6rem; */
/*  text-align: center; */
}
.single-post h1.entry-title{
	font-weight:normal;
	font-size: 2.2rem;
	margin-bottom: 4rem;
}
.single-post .entry-meta .entry-meta-item-updated,
.single-post .entry-meta .entry-meta-item-author{
	display:none;
}

.single-post .entry-body{
	font-size:1.3rem;
}

.entry-meta-data-list dd{
	text-align: left;
}

.widget_nav_menu {
	margin-bottom: -7px;
}

@media (min-width: 768px){
	.site-body-bottom #menu-footer-nav{
		display: flex;
		justify-content: space-around;
	}
}

/* --------------------
 * 
 * vk_button
 * 
 * -------------------- */
.vk_button{
	border: 1px solid var(--wp--preset--color--vk-color-primary);
    padding: 1px;
}

.vk_button .vk_button_link_caption,
.editor-styles-wrapper .vk_button .vk_button_link_caption{
	justify-content: space-between;
	display: flex;
}

/* --------------------
 * 
 * SiteFooter
 * 
 * -------------------- */
.site-footer{
	border-top:none;
	background-color: #F4F4F4;
}

.footer-nav{
	background-color: #2F2F2F;
	padding:50px 0;
}


.footer-nav .footer-nav-list {
	display: flex;
	flex-wrap:wrap;
}

@media (min-width: 782px) {
	.footer-nav .footer-nav-list {
		width: 100%;
		justify-content: center;
	}
}

.footer-nav .footer-nav-list .menu-item{
	width: 50%;
}

@media (min-width: 782px) {
	.footer-nav .footer-nav-list .menu-item{
		width:auto;
	}
}

.footer-nav li a{
	color:#ffffff;
}

.widget_wp_widget_vkexunit_profile{
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	text-align: center
}

.site-footer-copyright p:nth-child(2){
	display:none;
}

.container.site-footer-content {
    padding-top: 32px;
}

.veu_profile .profile_text {
    font-size: 12px;
}


/* -------------
 * 
 * 次の記事 前の記事 のスタイル
 * 
 * ------------- */
.next-prev-prev.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
justify-content: flex-start;
}

.next-prev-prev.card-horizontal .card-body:before {
font-family: "Font Awesome 5 Free";
content: "\f053";
font-weight: bold;
position: absolute;
font-size: 3rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1.5rem);
left: 1rem;
}

.next-prev-prev.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 1.0rem 1.5rem 3.5rem;
}

.next-prev-next.card-horizontal .card-body {
display: flex;
padding: 0;
align-items: center;
justify-content: flex-end;
}

.next-prev-next.card-horizontal .card-body:before {
font-family: "Font Awesome 5 Free";
content: "\f054";
font-weight: bold;
position: absolute;
font-size: 3rem;
color: rgba(0,0,0,0.1);
top: calc(50% - 1.5rem);
right: 1rem;
}

.next-prev-next.card-horizontal.vk_post .card-body .vk_post_title a {
display: block;
padding: 1.5rem 3.5rem 1.5rem 1.0rem;
}

.next-prev h5:where(:not(.wp-block-post-title)){
	padding-bottom:0!important;
}