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


:root {
  --action-nav-bg-color: #00541d;
  --action-nav1-bg-color: #047AC5;
  --action-nav2-bg-color: #C75000;
}

.site-body {
    padding:7rem 0 4rem;
}


@media (min-width: 768px){
.site-body {
    padding: 7rem 0 4rem;
}
}
@media (min-width: 992px){
.site-body {
    padding: 10.5rem 0 4rem;
}
}
@media (min-width: 1200px){
.site-body {
    padding: 11rem 0 4rem;
}
}



#header-h1{
	width: 100%;
	font-size: 12px;
	margin-left: auto;
	margin-right: auto;
    max-width: 1140px;

}

body.header_scrolled #header-h1{
	display: none;

}

#action-nav{
	position: relative;
	height: 1px;
	overflow: visible;
	
}
#action-nav ul{
    display: flex;
    position: absolute;
    width: 430px;
    width: 280px;
    right: 0px;
	bottom:95px;
    flex-wrap: wrap;
    justify-content: space-between;	
	padding: 0;
	margin: 0;
	
}
#action-nav ul li{
    width: 130px;
	padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: 12px;
    border: 1px solid var(--action-nav-bg-color);
    font-weight: 600;
    -webkit-box-shadow: 3px 3px 0px var(--action-nav-bg-color);
    box-shadow: 3px 3px 0px var(--action-nav-bg-color);
    background-color: #FFFFFF;
}
#action-nav ul li:first-child{
	flex:1 0 400px;
	font-size: 25px;
	text-align: left;
	font-weight: 600;
	border:none;
	box-shadow: none;
	background-color: transparent;
}
#action-nav ul li:nth-child(2){
    border: 1px solid var(--action-nav1-bg-color);
    box-shadow: 3px 3px 0px var(--action-nav1-bg-color);
}
#action-nav ul li:nth-child(3){
    border: 1px solid var(--action-nav2-bg-color);
    box-shadow: 3px 3px 0px var(--action-nav2-bg-color);
}
#action-nav ul li:first-child a{
	margin: 0;
	padding: 0;
	color: var(--action-nav-bg-color);
}
#action-nav ul li:first-child span{
	font-size: 12px;
	color: var(--action-nav-bg-color);
	display: block;
	font-weight: 400;
	position: relative;
	top:-5px;
}
/*#action-nav ul li:nth-child(2) a{
 color:  var(--action-nav-bg-color);
}*/
#action-nav ul li:nth-child(2) a{
 color:  var(--action-nav1-bg-color);
}
#action-nav ul li:nth-child(3) a{
 color:  var(--action-nav2-bg-color);
}
#action-nav ul li a{
	width: 100%;
	display: block;
	padding: 0.5em 0 0.61em 0;
	
}
#action-nav ul li a:hover{
	background-color: #E5FFDC;
}
#action-nav ul li:first-child a:hover{
	background-color: rgba(229,255,220,0.00);

}

/*検索用*/
.searchandfilter ul > li:last-child{
	margin-left: auto;
	margin-right: auto;
	display: block;
	text-align: center;
}
.searchandfilter ul>li ul li:last-child{
	display: none;
}
.searchandfilter .cat-item-27{
	display: inline-block!important;
	text-align: left!important;
}

.searchandfilter .cat-item-3,
.searchandfilter .cat-item-109,
.searchandfilter .cat-item-1,
.searchandfilter .cat-item-4,
.searchandfilter .cat-item-17,
.searchandfilter .cat-item-90,
.searchandfilter .cat-item-89,
.searchandfilter .cat-item-111,
.searchandfilter .cat-item-77,
.searchandfilter .cat-item-81,
.searchandfilter .cat-item-119,
.searchandfilter .cat-item-109,
.searchandfilter .cat-item-116,
.searchandfilter .cat-item-88,
.searchandfilter .cat-item-83,
.searchandfilter .cat-item-127,
.searchandfilter .cat-item-121,
.searchandfilter .cat-item-122,
.searchandfilter .cat-item-123,
.searchandfilter .cat-item-124,
.searchandfilter .cat-item-114,
.searchandfilter .cat-item-97,
.searchandfilter .cat-item-113,
.searchandfilter .cat-item-84,
.searchandfilter .cat-item-115,
.searchandfilter .cat-item-126,
.searchandfilter .cat-item-118,
.searchandfilter .cat-item-87,
.searchandfilter .cat-item-76,
.searchandfilter .cat-item-78,
.searchandfilter .cat-item-80,
.searchandfilter .cat-item-101,
.searchandfilter .cat-item-79,
.searchandfilter .cat-item-128,
.searchandfilter .cat-item-112,
.searchandfilter .cat-item-117,
.searchandfilter .cat-item-125
{display:none;}







  @media (max-width:550px) {
    .vk_post_imgOuter.media-img {
      overflow: visible;
    }
    .vk_post_imgOuter_singleTermLabel {
      padding: 0 3px;
    }
    .vk_post_imgOuter_singleTermLabel {
      font-size: 10px;
      position: absolute;
      right: auto;
      left: 0;
      top: auto;
      bottom: -14px;
    }
    .vk_post .media-img {
      width: 38%;
    }
    .vk-mobile-nav-menu-btn {
      border-radius: 3px;
      width: 45px;
      height: 45px;
      top: 38px;
    }
    #action-nav {
      display: none;
    }
.admin-bar .vk-mobile-nav-menu-btn {
    top: calc(88px + 5px);
}  }






/*reform*/
.global-nav--layout--penetration{
	background-color: var(--action-nav-bg-color);
}
.site-header{
	background-color: #fff;
}





/*for youtube list*/
.flex_3row{
	display:flex;
	max-width:1200px;
	width:100%;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 1%;
	align-items: flex-start;
	}

.flex_3row figure,
	.youtubebox{
    width: 31%;
    height: auto;
    box-sizing: border-box;
    margin: 15px 0 30px 0;
    align-items: flex-start;
	}

.youtubebox a::before {
    content: "";
    position: absolute;
    display: block;
    z-index: 99;
    background-image: url("/images/youtube-icon.svg");
    background-repeat: no-repeat;
    background-position: 50% center;
    width: 27%;
    height: 170px;
    background-size: 67px auto;
    filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.9));
}
@media (max-width:1200px){
	.youtubebox a::before {
    width: 30.5%;
    height: 160px;
    background-size: 55px auto;	}
}
@media (max-width:991px){
	.youtubebox a::before {
    height: calc(100vw* 0.125);;
    background-size: 50px auto;	}
}
@media (max-width:820px){
	.youtubebox a::before {
    height: calc(100vw * 0.14);
}
}
@media (max-width:769px){
	.flex_3row figure,
	.youtubebox{
    width: 47%;
    height: auto;
    margin: 15px 0 30px 0;
	}
	.youtubebox a::before {
    width: 43%;
    height: 170px;
}
}
@media (max-width:767px){
	.youtubebox a::before {
    width: 46.1%;
    height: 137px;

}
}
@media (max-width:520px){
	.youtubebox a::before {
    width: 46.1%;
    height: calc(100vw *0.24);
    background-size: 48px auto;
}
}

/*カテゴリー一覧、画像を全て出るように調整
*/.vk_post .vk_post_imgOuter:before {
    padding-top: 53%;
}

/*サイトの上余白減らした
*/.site-body {
    padding: 5rem 0 4rem;
}

/*モバイルフッター　アイコンサイズ*/
.mobile-fix-nav .mobile-fix-nav-menu li a i {
	font-size: 17px!important;
}
.mobile-fix-nav {
	background-color: rgba(255,255,255,0.00);
    background-image: url(https://reform.eco-vita.co.jp/2025ref/wp-content/uploads/2025/05/footer-bg-color.png);
    background-repeat: repeat-y;
    background-size: contain;
}
.mobile-fix-nav .mobile-fix-nav-menu li {
    width: 25%;
}



/*-------------------------------------
	フロートバナー
-------------------------------------*/
div.float-ban,
div.float-ban a,
div.float-ban a:hover{
	display: block;
}
div.float-ban{
	bottom: -500px;
	transition:	bottom 1000ms ease 0ms;
	opacity: 0;
}
div.float-ban.fade-in{
	opacity: 1;
    position: fixed;
	height: fit-content;
	background-color: white;
	border: 1px solid rgba(36,82,0,1.00);
	padding: 5px 5px;
    right: 50px;
    bottom: 10px;
    z-index: 1500;
	transition: bottom 1600ms ease 100ms,opacity 1000ms ease 0ms;
}
.float-ban_hide{
	display: block;
	padding: 3px 0 3px 5px;
	background-color: rgba(10,54,0,1.00);
	color: white;
	margin-bottom: 3px;
	cursor:pointer;
}
div.float-ban a img {
	width: 300px;
	height: auto;
}
div.float-ban.active{
	opacity: 0;
	bottom:-500px;
	overflow: hidden;
}
@media screen and (max-width: 550px) {
/* フロートバナー　モバイル用 */
div.float-ban.fade-in{
	padding: 3px 3px;
    left: 15px;
    bottom: 70px;
	width: fit-content;
}	
div.float-ban a img {
	width: 200px;
	height: auto;
	}}
/*-------------------------------------
	フロートバナーここまで
-------------------------------------*/

/*フッターパーツ消し　モバイル*/
@media screen and (max-width: 500px) {
}



/*サイトタイトル消し*/
#header-h1{
    text-indent: -200vw;
    overflow: hidden;	
}