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


/*---------------全体-----------------*/
section {
  margin: 2em 0 2em 0;
}
/*スマホ*/
@media screen and (max-width:480px) {
  section {
    padding: 0 2px;
  }
}


/*---------------PR部分のボタンの位置を揃える-----------------*/
.wp-block-columns {
	align-items: stretch !important;
}
    
.wp-block-column {
	display: flex !important;
	flex-direction: column !important;
    align-self: auto !important;
	
}
.wp-block-buttons {
	margin-top: auto !important;
}



/*----------TABLE関係----------*/

table{
border-top:1px solid #8B8B8B;
}
table tbody tr td,
table tbody tr th,
table td, table th,
table thead tr td,
table thead tr th{
border:1px solid #8B8B8B;
}

th {
  background-color: #f4f5f6;
  
}



/*----------------------------------------------------------------
  Woocommerce
----------------------------------------------------------------*/
/*カート非表示*/
.wc-block-grid__product-add-to-cart {
  display: none;
}

/*価格フォント変更 
<p class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">¥</span>889,000</bdi></span></p>
*/
/*.woocommerce-Price-amount {
font-size: 2em !important;
}*/

.price{
  text-align: right;
}

/*画像/文章*/
.productsIntro {
  margin: 0 auto;
  padding: 0;
}
.productsIntro li {
  width: 100%;
  margin: 0 auto;
  vertical-align: middle;
  text-align: left;
  position: relative;
  margin-bottom: .5rem;
}
.productsIntro li div {
  width: calc(100% - 200px);
  float: right;
  text-align: left;
}
.productsIntro li div:nth-of-type(1) {
  width: 200px;
  padding: 0;
  float: left;
}
.productsIntro li div > ul {
  position: relative;
}
.productsIntro li div > ul li {
  text-align: left;
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none !important; /*ポチ消す*/
}
.productsIntro li div ul li:before { /*疑似要素*/
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f046";
  position: absolute;
  left: -1.2em; /*左端からのアイコンまで*/
  color: #a6341f; /*アイコン色*/
}
.productsIntro li div > ul.bigTitle {
  color: #000;
}
.productsIntro2 li div {
  width: calc(100% - 200px - 1.5em);
  float: right;
  text-align: left;
}
.productsIntro2 li div:nth-of-type(1) {
  text-align: center;
}
.productsIntro2 li div > ul li {
  list-style-type: decimal;
  padding: 0.2em 0;
}
.productsIntro2 li div ul li:before { /*疑似要素*/
  font-family: "Hiragino Maru Gothic W4 JIS2004", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  content: '■';
  position: absolute;
  left: -1.2em; /*左端からのアイコンまで*/
  color: #000000; /*アイコン色*/
}
/*スマホ*/
@media screen and (max-width:480px) {
  .productsIntro {
    /*縦並び*/
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: .5rem;
    /*font-size: 1.2rem;*/
  }
  .productsIntro li {
    margin: 0 auto;
    text-align: center;
  }
  .productsIntro li div {
    margin-top: 1em;
    width: 100%;
    float: none;
    text-align: left;
  }
  .productsIntro li div:nth-of-type(1) {
    margin: 0 auto;
    text-align: center;
    float: none;
    width: 100%;
  }
  .productsIntro li img {
    width: 200px;
  }
  .productsIntro li div > ul {
    margin-left: -1em;
  }
  .productsIntro2 li div {
    margin-top: 1em;
    width: 100%;
    float: none;
    text-align: left;
  }
}

/* ---------------------------------
 header-topに検索窓を設置
---------------------------------*/
.header-top .search-form{
    position: relative;
    top:3px;
    margin-left: 30px;
}
/*虫眼鏡マーク*/
.header-top .search-form:after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding:10px;
}
/*フィールド*/
.header-top .search-field{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
/*submitボタン非表示*/
.header-top .search-submit{
    display: none;
}
/*テキストフィールド*/
.header-top form .search-field{
    z-index: 200;
    opacity: 0;
    width: 64px;
    transition: all 0.5s ease-in;
    padding: 3px;
    cursor: pointer;
}
/*フォーカス時にテキストフィールド表示*/
.header-top form .search-field:focus{
    opacity: 1;
    width:155px;
    transition: all 0.5s ease-in;
    border-width:1px;
    border-radius:var(--vk-size-radius);
}


/*カードブロックでリンクエリアをカード全体に拡張する - VK Blocks Pro*/
.wp-block-vk-blocks-card .vk_post_imgOuter,
.wp-block-vk-blocks-select-post-list .vk_post_imgOuter,
.vk_posts-postType-post .vk_post_imgOuter,
.vk_posts-postType-product .vk_post_imgOuter{
    position: static;
}

.wp-block-vk-blocks-card .vk_post_imgOuter>a::after,
.wp-block-vk-blocks-select-post-list .vk_post_imgOuter>a::after,
.vk_posts-postType-post .vk_post_imgOuter>a::after,
.vk_posts-postType-product .vk_post_imgOuter>a::after
{
    z-index: 1;
}


/*カードブロック動き追加*/
.wp-block-vk-blocks-card .vk_post_imgOuter {
    position: static;
}

.wp-block-vk-blocks-card .vk_post_imgOuter>a::after {
    z-index: 1;
}

.wp-block-vk-blocks-card .vk_post_imgOuter>a::after {
    transition: all .5s ease;
}

.wp-block-vk-blocks-card .vk_post_imgOuter>a:hover::after {
    background: rgba(0,106,161,0.1);
}

.card {
    transform: none;
    box-shadow: none;
    transition: all .5s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 6px 0 rgb(0 0 0 / 25%);
}

.textHide {
  display: none;
}


/*----------------------------------------------------------------
  flexBox
----------------------------------------------------------------*/
.flexBox {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  /*space-between-行端揃え*/
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between;
  /*横並び*/
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  /*折返し*/
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  margin-top: 0;
  padding: 0;
  list-style: none;
}
ul.flexBoxDivide li {
  width: calc(100% / 2 - .4em);
  margin-bottom: .4em;
}
ul.flexBoxDivide3 li {
  width: calc(100% / 3 - .4em);
  margin-bottom: 2em;
}
.flexBoxStart {
  align-items: flex-start;
  align-content: flex-start;
}
ul.flexBoxDivide li ul li, ul.flexBoxDivide li ol li {
  width: 100%;
}
/*タブレット*/
@media screen and (min-width:481px) and (max-width:859px) {
  .flexBox {
    max-width: 859px;
  }
}
/*スマホ*/
@media screen and (max-width:480px) {
  .flexBox {
    width: 100%;
  }
  ul.flexBoxDivide li {
    width: 100%;
  }
  ul.flexBoxDivide3 li {
    width: calc(100% / 2 - .4em);
    margin-bottom: 2em;
  }
}



/*アイキャッチ画像を正方形で表示*/
.card-noborder .vk_post_imgOuter {
  /* アイキャッチ画像を正方形で表示 */
  background-size: contain;
  background-repeat: no-repeat;
}

/*表示タイプが「カード」の場合*/
.card-post:not(.card-horizontal) .vk_post_imgOuter {
  /* アイキャッチ画像を正方形で表示 */
  background-size: contain;
  background-repeat: no-repeat;
}

/*
表示タイプによって、上記 CSS の1行目の記述を以下の通り書き換えればオッケーです。

■表示タイプが「カード（線なし）」の場合
.card-noborder .vk_post_imgOuter {

■表示タイプが「カード（インテキスト）」の場合
.card-intext .vk_post_imgOuter {

■表示タイプが「カード（水平）」の場合
.card-horizontal .vk_post_imgOuter {

■表示タイプが「メディア」の場合
.media .vk_post_imgOuter {

■表示タイプが「Lightning 標準」の場合（「メディア」の場合と記述は同じ）
.media .vk_post_imgOuter {
*/

/*目次英語表記*
div.vk_tableOfContents_title{
   font-size:0px;
}
div.vk_tableOfContents_title::before{
   content:"Contents";
   font-size:1.2rem;
}
*/

/*----------------------------------------------------------------
  最新情報
----------------------------------------------------------------*/
#newsInfo {
  list-style: none;
  line-height: 150%;
  margin: 0;
  padding: 2px;
}
#newsInfo li {
  border-bottom: #999 solid 1px;
  padding: 0.5em 0;
  width: 100%;
}
#newsInfo li a {
  width: 100%;
  white-space: normal;
  display: block;
  padding: 2px;
  padding-left: 1em;
  text-indent: -1em;
}
#newsInfo li a:before {
  content: "・ ";
}
.newsInfo {
  list-style: none;
  line-height: 150%;
  margin: 0;
  padding: 2px;
}
.newsInfo li {
  border-bottom: #999 solid 1px;
  padding: 0.5em 0;
  width: 100%;
}
.newsInfo li a {
  width: 100%;
  white-space: normal;
  display: block;
  padding: 2px;
  padding-left: 1em;
  text-indent: -1em;
}
.newsInfo li a:before {
  content: "・ ";
}
.newsTime {
  color: #900;
  padding-right: 0.5rem;
}
.block {
  margin: 0 auto;
  padding: 4px;
  width: 100%;
}

/* 新着情報背景装飾関係
-------------------------*/
.bgNewItem, .bgNewApli, .bgNewTech, .bgNewNotice, .bgManual {
  color: #fff;
  padding: 0 1em;
  margin-left: 0.5em;
}
.bgNewItem { /*新商品*/
  background: #a6341f;
}
.bgNewApli { /*技術情報*/
  background: #009688;
}
.bgNewTech { /*技術資料*/
  background: #ecb935;
}
.bgNewNotice { /*お知らせ*/
  background: #ff5722;
}
.bgManual { /*取扱説明書*/
  background: #369;
}
/*タブによる切り替え*/
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  background: #325A8C;
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: LightGray;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
.tab-switch:checked + .tab-label {
  background: #325A8C;
}
.tab-switch:checked + .tab-label + .tab-content {
  height: auto;
  overflow: auto;
  padding: 15px;
  opacity: 1;
  transition: .5s opacity;
  /*box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);*/
}
.tab-switch {
  display: none;
}

/***************************************************************/
/*********************絞り込み*****************************/


/*1段目のタブ*/
.tab01 {
  width: 100%;
  margin: 0 auto 50px;
}
/*タブのスタイル*/
.tab_menu,
.tab_menu4{
  width: calc(100%/3);
  height: 60px;
  line-height: 60px;
  font-size: 16px;
  text-align: center;
  color: #000;
  background-color: #d9d9d9;
  display: block;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
}

.tab_menu4{
width: calc(100%/4);
}

.tab_menu:hover,
.tab_menu4:hover{
  opacity: 0.75;
}
/*ラジオボタンを全て消す*/
input[name="tab_menu"] {
  display: none;
}


/*タブ切り替えの中身のスタイル*/
.tab_contents {
  display: none;
  padding: 40px;
  clear: both;
  overflow: hidden;
  transition: .5s opacity;
}
/*選択されているタブを表示*/
#menu01:checked ~ #contents01,
#menu02:checked ~ #contents02,
#menu03:checked ~ #contents03,
#menu04:checked ~ #contents04{
  display: block;
}

/*選択されているタブのスタイル*/
input[name="tab_menu"]:checked + .tab_menu,
input[name="tab_menu"]:checked + .tab_menu4{
  background-color: #1f71b5;
  color: #fff;
}

/*2段目のタブ*/

/*タブのスタイル*/

/*ラジオボタンを全て消す*/
input[name="filter"] {
  display: none;
}

input[name="filter"]+ label {
    width: calc(100% / 4 - .4em);
    margin-bottom: .4em;
    background-color: #0069a0; /* ボタンの背景色 */
    border: none; /* ボタンの枠線をなくす */
    color: white; /* ボタンの文字色 */
    padding: 12px 24px; /* ボタンの内側の余白 */
    text-align: center; /* ボタンの文字を中央寄せ */
    text-decoration: none; /* ボタンの下線をなくす */
    display: block; /* ボタンの表示方法をブロックにする */
    font-size: 16px; /* ボタンの文字サイズ */
    border-radius: 4px; /* ボタンの角を丸くする */
    cursor: pointer; /* マウスカーソルをポインターにする */
    transition: background-color 0.3s ease; /* マウスオーバー時に色が変わるようにする */
    
}

/*選択されているタブのスタイル*/
input[name="filter"]:checked + label {
  opacity: 0.75;
}

/*タブの中身*/
.posts .post {
    display: block;
}
.posts .post.hide {
    display: none;
}




.posts .post.popup.is-animated {
  animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
 
@keyframes popup {
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}
 
 
 .post{
  animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
 
@keyframes post
{
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}

 .filter{
  animation: popup 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
}
 
@keyframes filter
{
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}

/*タブ２つめが4個じゃない時用*/
input[class="nonfilter"] {
  display: none;
}

input[class="nonfilter"]+ label {
    width: calc(100% / 4 - .4em);
    margin-bottom: .4em;
    background-color: #ffff; /* ボタンの背景色 */
    border: none; /* ボタンの枠線をなくす */
    color: white; /* ボタンの文字色 */
    padding: 12px 24px; /* ボタンの内側の余白 */
    text-align: center; /* ボタンの文字を中央寄せ */
    text-decoration: none; /* ボタンの下線をなくす */
    
}
/*************************************************************************************************/

/*----------------------------------------------------------------
  お問い合わせフォーム
----------------------------------------------------------------*/
.cform th {
  width: 30%; /*変なところで改行される場合はここの数字を変更します。*/
  padding: 10px;
  font-weight: normal;
}
.cform td {
  line-height: 150%;
  padding: 15px 10px;
}
.cform {
  width: 100%;
  margin: auto;
}
.cform [type=submit] {
  display: inline-block;
  font-size: 20px;
  padding: 10px 30px;
  text-align: center;
  margin-top: 2rem;
  width: 60%;
}
@media only screen and (max-width:767px) {
  .cform th, .cform td {
    width: 100%;
    display: block;
    border-top: none;
  }
}
span.wpcf7-list-item {
  display: block;
}
/*----------必須・任意------------//*/
.bgRequired, .bgNoRequired {
  color: #fff;
  padding: 0 0.5em;
  text-align: right;
  /* font-size: 1.1rem;*/
}
/*スマホ*/
@media screen and (max-width:480px) {
  .bgRequired, .bgNoRequired {
    color: #fff;
    padding: 0 0.5em;
    margin-left: 0.2em;
    float: none;
    /* font-size: 1.1rem;*/
  }
}
.bgRequired { /*必須*/
  background: #a6341f;
}
.bgNoRequired { /*必須じゃない*/
  background: #999;
}
/* 確認ボタン */
.submit-btn, .back-btn {
  background: #537898;
  height: 60px;
  font-size: 20px;
  width: 300px;
  display: inline;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  border: 0;
  border-radius: 5px;
}
.back-btn {
  background: #5A5B66;
  margin-right: 1em;
}
.submit-btn:hover {
  background: #7697B4 !important;
}
.back-btn:hover {
  background: #8F8F8F;
}
.contact_bt {
  width: 100%;
}
/* 確認画面のフィールド背景色や枠線を消す */
input:-webkit-autofill.wpcf7c-conf {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  border: none !important;
  background: #fff !important;
}
input:-webkit-autofill.wpcf7c-conf:focus {
  border: none !important;
}
.wpcf7c-conf {
  background: #fff !important;
  border-color: #fff !important;
}
.wpcf7c-conf:focus {
  border-color: transparent !important;
}


/******************細かなCSS*********************/
/*センター揃え*/
.Center{
  text-align: center;
}

/*枠線*/
.borderBox {
  padding: 1em;
  border: #333 solid 1px;
}


/* ---------------------------------
 header-topに検索窓を設置
---------------------------------*/
.header-top .search-form{
    position: relative;
    top:3px;
    margin-left: 30px;
}
/*虫眼鏡マーク*/
.header-top .search-form:after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding:10px;
}
/*フィールド*/
.header-top .search-field{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}
/*submitボタン非表示*/
.header-top .search-submit{
    display: none;
}
/*テキストフィールド*/
.header-top form .search-field{
    z-index: 200;
    opacity: 0;
    width: 64px;
    transition: all 0.5s ease-in;
    padding: 3px;
    cursor: pointer;
}
/*フォーカス時にテキストフィールド表示*/
.header-top form .search-field:focus{
    opacity: 1;
    width:155px;
    transition: all 0.5s ease-in;
    border-width:1px;
    border-radius:var(--vk-size-radius);
}