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

/* グーグルフォント */

.home .wp-block-cover__inner-container.is-layout-constrained.wp-block-cover-is-layout-constrained h2 {
  font-family: "Italianno", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 62px !important;
  line-height: 0.8;
}

html {
  scroll-behavior: smooth;
}
a:hover{opacity: 0.6;}
body.home:not(.header_scrolled) nav.global-nav li{display:none;}

.global-nav-list>li .global-nav-name {
	color: #2a44a4;
}
ul.bogo-language-switcher { /* 翻訳ボタンを横並びに */ display: flex; } 
.bogo-header {
	position: absolute;    
	top: 0;
	right: 2%;    
	transform: translateY(-30%);    
	z-index: 10; /* Bogoを他の要素の上に表示するためのz-index */ 
}
.bogo-language-switcher.list-view{
	margin-bottom: 0;
}
@media screen and (max-width:991px) {
	.bogo-header {
		top:70px;
	}
}

.gt-current-lang{
	display: none;
}


/* ニュードロップダウン */
.dropdown-menu {
  display: none;
  position: absolute;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
}
.dropdown-menu > .wp-block-vk-blocks-gridcolcard-item{
	 background-color: #4f69c9fc !important;
}


.dropdown-menu.show {
  display: flex;
  width: 100%;
}
.dropdown-menu.show > .wp-block-vk-blocks-gridcolcard-item{
	width: 100%;
}
@media screen and (max-width: 768px) {
  .dropdown-button {
    width: 100%;
  }
  .dropdown-menu.show {
    width: 100%;
    min-width: auto;
	position: relative;
	display: block;
  }
	.dropdown-menu.show p {
		font-size: 13px!important;
	}
	
}




/* スクロールヘッダー */
.header_scrolled .site-header-container{
	padding-top: 30px;
}
.page .site-header-container,.archive .site-header-container,.error404 .site-header-container,.single .site-header-container{
	padding-top: 30px;
}
/* .archive .bogo-header,.error404 .bogo-header,.single .bogo-header{
	display: none;
} */


.post-5079  .wp-block-group hr{
	    width: 18%;
}

h3.h_line{position:relative}
h3.h_line:after{
    content: ".";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    bottom: -4px;
    width: 30%;
    border-bottom: 4px solid var(--vk-color-primary);
}
h4.s_line.left{
	border-top: solid 2px #2a44a4;
}
h4.s_line.right{
	border-top: solid 2px #5A9738;
}
h4.s_line{
	border-bottom: 1px dotted #000!important;
}
.child strong {
  position: relative;
  display: inline-block;
}
.child strong:before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-bottom: solid 1px #333;
  border-right: solid 1px #333;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: -12px;
  bottom: 0;
  margin: auto;
}

.wp-block-navigation .wp-block-navigation-item__label,.wp-block-navigation-item__description{
	margin: 0 auto;
    width: fit-content;
    display: block!important;
}


.gt_switcher a img {min-width:16px;}
@media screen and (min-width:992px) {
.gt_switcher {
	position: fixed;
    top: 0px;
    right: 20px;
}
}
.home .vk_slider_item_container.container{margin-top: 0!important;}

table.table-sm.mt-3 th{background:#f2f2f2;}
@media screen and (max-width:767px) {
.archive .vk_post-btn-display.media .vk_post_body{overflow-x: auto;}
}
.accordion{
	background: #2a44a4;
	color: #fff;
	width: 50%;
	margin: 0 auto;
	border-radius: 34px;
}
.vk_accordion:not(.is-style-vk_accordion-no-background-color-border):not(.is-style-vk_accordion-background-color):not(.is-style-vk_accordion-background-color-border):not(.is-style-vk_accordion-background-color-rounded):not(.is-style-vk_accordion-background-color-rounded-border):not(.is-style-vk_accordion-plain){
	border-bottom: unset;
}
@media screen and (max-width: 768px) {
	.page .page-header-title, h1.page-header-title {
		position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translate(-58px, -28px);
		width: 60%;
	}
}

.gtranslate_wrapper > .gt_switcher_wrapper{
	position: absolute!important;
}


/*フィードイン*/
.fade-in {
  opacity: 0;
  transition-duration: 800ms;
  transition-property: opacity, transform;
}

.fade-in-up {
  transform: translate(0, 100px);
}

.fade-in-up1 {
  transform: translate(0, 170px);
}

.fade-in-up2 {
  transform: translate(0, 240px);
}

.fade-in-up3 {
  transform: translate(0, 310px);
}

.fade-in-down {
  transform: translate(0, -50px);
}

.fade-in-left {
  transform: translate(-50px, 0);
}

.fade-in-right {
  transform: translate(50px, 0);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.8s;
animation-fill-mode:forwards;
opacity:0;
z-index: 100;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 0;
}


/* カスタム投稿タイプ　一覧ページデザイン */


/* ================================
   equipment カテゴリーページ専用
   投稿を表形式（カラム落ち防止）
   ================================ */
body.tax-equipment .post-list.vk_posts {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  table-layout: fixed; /* カラム幅を固定して落ちないように */
}

/* 各投稿をテーブル行に */
body.tax-equipment .vk_post {
  display: table-row !important;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.2s ease;
}

body.tax-equipment .vk_post:hover {
  background-color: #f9f9f9;
}

/* 各セル */
body.tax-equipment .vk_post_title,
body.tax-equipment .vk_post_excerpt,
body.tax-equipment .vk_post_btnOuter {
  display: table-cell !important;
  padding: 12px 15px;
  border: 1px solid #ddd;
  vertical-align: middle;
  word-break: break-word;   /* 長い文字でも落ちない */
  overflow-wrap: anywhere;  /* スマホでも崩れ防止 */
}

/* 列幅を固定 */
body.tax-equipment .vk_post_title { width: 25%; font-weight: bold; }
body.tax-equipment .vk_post_excerpt { width: 55%; }
body.tax-equipment .vk_post_btnOuter { width: 20%; text-align: center; }

/* ボタン */
body.tax-equipment .vk_post_btnOuter .vk_post_btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9em;
  white-space: nowrap; /* ボタン文字を折り返さない */
}
body.tax-equipment .vk_post_btnOuter .vk_post_btn:hover {
  background-color: #005f8d;
}

/* 疑似ヘッダー */
body.tax-equipment .post-list.vk_posts::before {
  content: "製品名 | 詳細情報 | リンク";
  display: table-row;
  font-weight: bold;
  background: #f2f2f2;
  border-bottom: 2px solid #ccc;
}
.post-list .vk_post-btn-display .vk_post_btnOuter
 {
	 position: unset!important;
}
.post-list .vk_post .media-body {
	width: 100%;
}
.post-list .media .vk_post_body
 {
    padding-bottom: 0; 
}