/*
Template: lightning
Theme Name: Lightning-Infiniware
Theme URI: https://infiniware.jp
Description: Theme for infiniware
Author: okameg
Author URI: okameg.com
Version:1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
/*
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
*/

/*
:root {
    --base-font-family-gothic: "ヒラギノ角ゴ ProN","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    --wp--preset--font-family--system-font: "Noto Sans JP", var(--base-font-family-gothic);
    --inf-head-font-family: "Rubik","heisei-maru-gothic-std", var(--base-font-family-gothic);
}
*/

:root {
--bp-primary: #2196F3;
--bp-secondary: #006064;
--bp-background: #e0f7fa;
--bp-text: #263238;
--bp-accent: #00BCD4;

/* Base Enterprise カラーパレット */
--be-primary: #0D47A1;
--be-secondary: #263238;
--be-background: #ECEFF1;
--be-text: #212121;
--be-accent: #FFD700;
}


body, html {
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "heisei-maru-gothic-std", "Rubik", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #222222;
}
h2 {
    font-size: 1.6rem;
    padding: 1em 0 0.5em;
}
h2 sub {
    color: rgba(0, 0, 0, .2);
}
h3 {
	font-size: 1.4rem;
}
h4 {
	font-size: 1.1rem;
}

.page-header-title, h1.page-header-title {
	font-weight: 400;
	color: white;
}


/* vk-blocksで文字色がinitialに設定されるためOverride */
li, .vk_balloon p {
	color: var(--vk-color-text-body);
}

.vk_balloon p {
	font-size: 0.9rem;
}

/* ----------------- メニュー関係 ----------------- */

/*
.page-header_pageTitle {
        background-color: #5cb6b6;
}
*/

/* 製品右ナビゲーションで、ページ内リンクをそのページのみで表示 */
#menu-products_menu .sub-menu {
	display: none;
}
#menu-products_menu .current-menu-item .sub-menu {
	display: block;
}






/* ----------------- lightning old style ----------------- */

/* 以前はH2要素に飾りがついていた */
/*
h2 {
    padding: .8em 0 .7em;
    border-top: 2px solid #337ab7;
    border-bottom: 1px solid #e9e9e9;
}
h2 sub {
    color: rgba(0, 0, 0, .2);
}
.widget_nav_menu>div>ul li a:hover, .widget_nav_menu>div>ul li.current_page_item>a {
    background-color: rgba(0, 0, 0, .05);
}
aside.widget.widget_nav_menu h4 {
    padding-bottom: 0.8em;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

aside.widget.widget_nav_menu h4:after {
    content: ".";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    bottom: -1px;
    width: 30%;
    border-bottom: 1px solid #337ab7;
}
*/


/* ----------------- ヘッダ、フッタ ----------------- */

/* ヘッダの高さを低めに設定*/
/* トップメニューのhover効果  */
.page-header {
	min-height: 6rem;
}


#site-header-container .menu-item {
    position: relative;
}

#site-header-container .menu-item:hover {
  color: var(--vk-color-primary);
}

#site-header-container .menu-item:before{
  content: '';
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 0;
  border-bottom: solid 1px var(--vk-color-primary);
  transition: width .5s;
}


#site-header-container .menu-item:hover::before {
    width: 80%;
}

#site-header-container .menu-item.current-menu-item:before,
#site-header-container .menu-item.current-page-ancestor:before {
	width: 80%;
}


/* footer */
.site-footer {
    border-top: 3px solid #337ab7;
    background-color: #f9f9f9;
    display: block;
    overflow: hidden;
}

/* ------ theme の copyright を非表示 ------ */
footer .site-footer-copyright p:nth-child(2) {
    display:none !important;
}

/* ----------------- お問い合わせ ----------------- */

dl.iw_contact dt {
}
dl.iw_contact dd {
        margin-bottom: 1.5em;
}
dl.iw_contact dd ._mail, dl.iw_contact dd ._phone {
        font-weight: 700;
}

/* ----------------- お問い合わせフォーム ----------------- */


/* 入力画面 */
.iw_contact_form .label {
    color: #fff;
    padding: .2em .6em .3em;
    border-radius: .25em;
	font-size: 0.9em;
}

.iw_contact_form .label-danger {
    background-color: #f16142;
}
.iw_contact_form .label-success {
    background-color: #0064B3;
}


/* エラーコンポーネントの色付け */
/* error divが出力された時の隣接コンポーネント指定 */
.iw_contact_form .error + input,
.iw_contact_form .error + span input,
.iw_contact_form .error + textarea,
.iw_contact_form .error + span label
{
        background-color: #ffff99;
}

/* 確認画面 */
.mw_wp_form_confirm .form-row label {
    font-weight: bold;
}

.mw_wp_form_confirm .form-row label::before {
	content: "●";
	font-size: 0.9em;
	color: #0262af;
	display: inline-block;
}
.mw_wp_form_confirm .form-row label::after {
	content: "：　";
	font-size: 0.9em;
	display: inline-block;
}
.mw_wp_form_confirm .form-row label, .mw_wp_form_confirm .form-row p, .mw_wp_form_confirm .form-row div {
	display: inline-block;
}

/* 入力画面、確認画面が共通のため、それぞれのページのメッセージを分ける */
/* MW-wp-form のクラスを使用 */
.mw_wp_form_input .only-input,  .mw_wp_form_confirm .only-confirm {
        display: default;
}
.mw_wp_form_input .only-confirm,  .mw_wp_form_confirm .only-input {
        display: none;
}
.mw_wp_form_input .only-confirm {
        display: none;
}



/* ----------------- 画像キャプションのためのグラデーション ----------------- */

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
        background: linear-gradient(0deg, #000 20%, #0000);
}



/* ----------------- 製品紹介ページ等共通 ----------------- */

/*-- 2重リスト --*/
ul.inf-double-list > li {
	font-weight: bold;
	color: var(--vk-color-primary);
}

ul.inf-double-list li::before {
    font-size: 1.2em;
}
ul.inf-double-list ul > li {
	font-weight: normal;
	color: var(--vk-color-text-body);
}

ul.inf-double-list ul li::before {
    font-size: 0.8em;
}

.inf-nomachine-benefit {
}


/* table ブロックは、figure > table 構造となる */

.inf-table-3070 td:nth-child(1){
	width: 30%;
}

.inf-base-tb table {
	border: 1px solid rgba(0, 0, 0, .6);
	font-size: 1rem;
}
.inf-base-tb table th {
	font-weight: bold;
	background-color: rgba(1, 98, 175, .3);
}
.inf-base-tb table td {
	padding: 1em;
	font-size: 0.9em;
	background-color: rgba(255, 255, 255, .4);
	vertical-align: top;
}

.inf-nomachine-case table th{
	width: 30%;
}
.inf-base-tb table td ul {
	margin: 0;
}
.inf-nomachine-case table td ul li{
	margin-top: .3em;
	margin-bottom: .3em;;
}

.inf-dcv-platform table td ul {
	margin: 0;
}

/* データ等、小さな文字 */
.inf-data-char {
	font-size: 0.9em;
}

/* ----------------- パートナー ----------------- */

.inf-partners {
    gap: 3em;
}
.inf-partners h3 {
    font-size: 1.2rem;
    margin-top: .6rem;
    color: var(--vk-color-text-meta);
}


/* VKBLOCKSのスライダーで下が透けてしまう問題への対応 */
.vk_slider_item {
  opacity: 0 !important;
}
.vk_slider_item.swiper-slide-active {
  opacity: 1 !important;
}

/* openit テーブルスタイル */

.openit-bp-vs-be table th:nth-child(2) {
    border-bottom: var(--bp-primary) 4px solid;
    color: var(--bp-text);
}

.openit-bp-vs-be table th:nth-child(3) {
    border-bottom: var(--be-accent) 4px solid;
    color: var(--be-text);
}
.openit-bp-vs-be table th, .openit-bp-vs-be table td {
    border-right: solid 1px #cccccc !important;
}

/****************************************************************/
/* モバイルがデフォルト、ここからPC向けのレイアウト設定を実施 */
@media (min-width: 576px) {

	/* 全幅レイアウト時に、内側のコンテナに設定、通常幅のコンテンツと幅を合わせる */
	.inf-inner-container {
		width: var(--vk-width-container);
		margin: auto;
	}
}

/*
.page-header {
    color: white;
    background-color: var(--vk-color-primary);
}
*/

/*
.footer-nav {
	margin-bottom: 1em;
    font-size: 0.9rem;
}
*/

/* フッタ、モバイルはデフォルトで */
.footer-nav .container {
	text-align: center;
    font-size: 0.8rem;
}
/*
.footer-nav li {
	padding: 0;
}
.footer-nav li a {
    border-left: 1px solid var(--color-footer-border,#ccc);
    padding: 0 1em;
}
.footer-nav li:last-child a {
    border-right: 1px solid var(--color-footer-border,#ccc);
}
*/

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;  /* 16:9のアスペクト比 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



/* ----------------- お問い合わせフォーム ----------------- */
/* 入力欄の長さ調整 */
.iw_contact_form input[type=text], .iw_contact_form input[type=email] {
	width: 30em;
}
.mwform-tel-field input[type="text"] {
    display: inline-block;
    width: auto;
}

