/*
Theme Name: ecovis-ita-custom
Theme URI: https://ita.ne.jp
Template: lightning
Author: I.T.A.Group
Author URI: https://www.akia-tax.com/
Description: love and peace
Tags: love and peace
Version: 15.29.4.1737431038
Updated: 2025-01-21 12:43:58

*/

/*
 Lightning本体更新時の注意点！！

お問い合わせフォームの条件分岐のため

（１）site-header.php　に下記スクリプトを記述

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
jQuery( function($) {
  $(function() {
     $('[name="type"]:radio').change( function() {
         var result = $("input[name='type']:checked").val(); 
         if(result === '法人'){ //法人を選んだ場合
                $('.open-area').css('display','block');
         } else if (result === '個人') { //個人を選んだ場合
                $('.open-area').css('display','none');
         }
     }).trigger('change');
  });
});
</script>

（２）さらに wp-config.phpに以下追記

ini_set('display_errors','Off');
 エラーメッセージを非表示に


 */





/*TOPに戻るボタンカスタマイズ*/
.page_top_btn {

    /*ボタンの大きさ*/
    width: 60px;
    height: 60px;
    
    /*ボーダーの種類と色*/
    border: solid #fff;
    
    /*ボタンの背景色*/
    background:#2a617c;
    
    /*ボタンの丸み*/
    border-radius: 50%;
    
    /*ボタンの中の画像（デフォルトのもの）*/
     background-image: var(--ver_page_top_button_url);
    
    /*ボタンの中の画像サイズと位置など*/
    background-size:50%;
    background-repeat: no-repeat;
    background-position: center;
    /*シャドウ効果なし*/
     box-shadow: none;
    }

/*―――レスポンシブ　フォームテーブル―――*/
table.tb01{
	border-collapse: collapse;
	width: 100%;
	font-size: 1em !important;
}
.tb01 th,
.tb01 td{
	padding: 24px;
	border: solid 1px #ccc;
	box-sizing:border-box;
	font-size: 1em !important;
	font-weight: normal !important;
}
.tb01 th {
	background: #efefef;
	text-align:left;
	width:30%;
	font-weight: normal !important;
  
}
/*―――表示エラー回避のためブレイクポイントを　5800に設定　通常は　800px―――*/
@media screen and (max-width: 5800px) {
  .tb01 {
    width: 100%;
  }
  table.tb01 th,
  table.tb01 td {
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}



/*―――「必須」デザイン―――*/
.required-srt {
	font-size:0.9em;
	padding: 6px;
	border-radius: 5px;
	margin-left: 10px;
	margin-right: 10px;
	background: #e48787;
	color: #ffffff;
}

/*―――「任意」デザイン―――*/
.any-srt {
	font-size:0.9em;
	padding: 6px;
	border-radius: 5px;
	margin-left: 10px;
	margin-right: 10px;
	background: #5a5a5a;
	color: #ffffff;
}

/*―――ボタン横並び―――*/
.contact-b {
	margin: auto;
	border: 0 !important;
	width: auto;
}
.contact-b2 {
	border: 0 !important;
}

/*―――確認画面非表示―――*/

.mw_wp_form_confirm .input-text {
  display: none;
}

/*―――個人情報の取得に同意―――*/
.pp-doui {
	text-align: center;
}

.pp-box {
	padding: 3em 1em 1em 1em;
	margin: 2em 0;
	color: #2c2c2f;
	background: #efefef;/*背景色*/
	border-radius: 5px;
}


/* チェックボックス01 */
input[type="checkbox"] {
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid #000;
  vertical-align: -5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  content: '';
}


/*―――レイアウト調整―――*/
.mt30 {
	margin-top: 30 !important;
}
.mt50 {
  margin-top: 50px !important;
}
.mt100 {
  margin-top: 100px !important;
}
.mt150 {
  margin-top: 150px !important;
}
.mt200 {
  margin-top: 200px !important;
}



/*―――レイアウト調整―――*/
.header-top {
	margin-top: -12px !important;
}

.header-top .header-top-description {
	top: 8px !important;
	font-size: 0.9em !important;
	text-align: right;
}


/*ハンバーガーメニューカスタマイズ*/
.vk-mobile-nav-menu-btn {
    border: none;
    background-image: url("https://itayou.xsrv.jp/akia-tax2025/wp-content/uploads/2025/04/smp-menu.svg");
	  background-size: cover;
}

.vk-mobile-nav-menu-btn.menu-open {
    border: none;
    background-image: url("https://itayou.xsrv.jp/akia-tax2025/wp-content/uploads/2025/04/xmark-solid.svg");
	  background-size: cover;
}

.page-header-title, h1.page-header-title {
	font-family: 'Noto Serif JP', serif;
	margin-bottom: -8px !important;
}

/*　ンバーガーメニュー位置調整　*/
.vk-mobile-nav-menu-btn.position-right {
    left: inherit;
    right: 8px !important;
    top: 13px !important;
}

/*　ハンバーガーメニュー　表示サイズ調整　*/
.vk-mobile-nav-menu-btn {
	width: 28px !important;
	height: 28px !important;
}

/*　グロナビ　フォント調整　*/
.global-nav-list>li .global-nav-name {
    font-weight: 200 !important;
}

/*　MW WP Form　条件分岐　通常非表示　*/
.mw_wp_form_input .open-area{display: none;}

/*　グロナビ HOVER時のアンダーライン　*/
.global-nav-list>li:before {
    border-bottom: 6px solid var(--vk-color-primary) !important;
    transition: all .5s ease-out;
}



/*　投稿タイトル　カスタマイズ　*/
.entry-title {
    color: var(--vk-color-text-body);
    background-color: unset;
    position: relative;
    border: none;
    padding: unset;
    margin-left: auto;
    margin-right: auto;
    border-radius: unset;
    outline: unset;
    outline-offset: unset;
    box-shadow: unset;
    content: none;
    overflow: unset;
    padding: 0.6em 0 0.55em;
    margin-bottom: var(--vk-margin-headding-bottom);
    border-bottom: 1px solid var(--vk-color-border-hr);
    background-color: transparent;
    text-align: left;
    border-radius: 0;
}

.entry-title::after {
    color: var(--vk-color-text-body);
    background-color: unset;
    position: relative;
    border: none;
    padding: unset;
    margin-left: auto;
    margin-right: auto;
    border-radius: unset;
    outline: unset;
    outline-offset: unset;
    box-shadow: unset;
    content: none;
    overflow: unset;
    content: "";
    line-height: 0;
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 30%;
    border-bottom: 1px solid var(--vk-color-primary);
    margin-left: 0;
    height: inherit;
}