/*塗装業ホームぺージCSS*/


/*ブロックエディターのカラムのセンタリング 属性セレクタ*/
.wp-block-columns[class*="is-style-justify"] {
    justify-content: space-between;
}
.wp-block-columns[class*="is-style-center"] {
    justify-content: center;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*ブロックエディターのグループで文字シャドウを可能にする　ns_block_style.js　とセット*/

[class*="is-style-moji-shadow-1"] {
    text-shadow: 2px 2px 10px rgba(150, 150, 150, 0.3);
}

[class*="is-style-moji-shadow-2"] {
    text-shadow: 2px 2px 10px rgba(150, 150, 150, 0.6);
}

[class*="is-style-moji-shadow-3"] {
    text-shadow: 2px 2px 10px rgba(150, 150, 150, 1.0);
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*ブロックエディターのグループでinline-blockを可能にする。文字サイズに合わせて背景色がつく　ns_block_style.js　とセット*/

[class*="is-style-inline-block"] {
     display: inline-block;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*ブロックエディターのリスト表示でマーカーを表示しないようにする　ns_block_style.js　とセット*/

[class*="is-style-moji-shadow-2"].no-list-style {
    list-style: none;
    padding-left: 0;
}


/* //////////////////////////////////////////////////////////////////////////////////// */
/* 特定のページ（TOPページ）のグローバルメニューをメイン画像の上に乗せる */

/*  固定ページにカテゴリー検索を追加するとページにカテゴリーリンクが出てしまうので非表示にする  */
.entry-footer .entry-meta-data-list--category{
	display: none; /* リンク自体を非表示 */
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/* 特定のページ（TOPページ）のグローバルメニューをメイン画像の上に乗せる */



/* グローバルヘッダーの文字色 */

.global-nav-list>li .global-nav-name {
	/*color:white;*/
	/*color:#e2e2e2; /* 少し灰色系の白*/
	color: #333333; /* 定番の少し弱めの黒*/
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*ヒーロー画像の上に文字を重ねる*/
/* //////////////////////////////////////////////////////////////////////////////////// */

/*①ベースとなる親要素*/
.ns_hero_base {
    position: relative;
}

/*②画像の上に重ねるブロック */
.ns_hero_text_wrap{
position: absolute !important;
    inset: 0;
    display: flex;
    align-items: center;    /* 縦方向中央 */
    max-width:100% !important;
    width: 100% !important;
}

/* ③文字部分だけcontainer幅に戻す */
/*　テーマで設定されているcontainerクラスを使う。追加CSSクラスにcontainerを設定する*/
/*
.ns_text_on_image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
*/

/*④文字要素をまとめるブロック */
.ns_inline_block{
        display:inline-block;
}

.ns_hero_text{
    font-size:clamp(30px, 3vw, 80px) !important;
    /*font-size:4.5vw !important;*/
}

/*レスポンシブ スマフォ表示コントロール*/

@media (max-width: 575.98px) {
	
    .ns_hero_text_wrap{
        align-items: flex-start;
    }

	.ns_hero_text{
	    text-align: center !important;
	}



     .ns_inline_block_center{
        text-align: center;/*子要素のインラインブロックをセンタリング*/
    }
    
    .ns_inline_block{
        display:inline-block;
        margin-top:30px !important;
    }
    
}/* @media */


/* //////////////////////////////////////////////////////////////////////////////////// */
/*メニューの「お問い合わせ」項目の、背景色を指定し、かつ文字の前にメールアイコンを付与する
/* //////////////////////////////////////////////////////////////////////////////////// */

/*グローバルナビの最後のボロックを指定して背景の装飾*/
.global-nav-list > li:last-child > a {
  background: linear-gradient(135deg,#b57b20,#81551e);
  color: #fff;
  padding: 12px 22px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center; /*上下のセンタリング*/
  gap: 0.5em;
  white-space: nowrap;
  flex-wrap: nowrap !important;
}

.global-nav-list > li:last-child > a::before {
  content: "\f0e0";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}

.global-nav-list > li:last-child >a .global-nav-name {
  color: inherit;
  display: inline-block;
  line-height: 1;
    width: auto !important;
}

/*グローバルナビのIDを指定して背景の装飾*/

.global-nav #menu-item-20 {
	margin-left:5px;
	margin-right:5px;
}

#menu-item-20 > a {
  background: linear-gradient(135deg,#b57b20,#81551e);
  color: #fff;
  padding: 12px 22px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center; /*上下のセンタリング*/
  gap: 0.5em;
  white-space: nowrap;
  flex-wrap: nowrap !important;
}

#menu-item-20 > a::before {
  content: "\f0e0";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  display: inline-block;
  line-height: 1;
}

#menu-item-20 >a .global-nav-name {
  color: inherit;
  display: inline-block;
  line-height: 1;
    width: auto !important;
}



/*グローバルナビ内にアイコンを入れた場合の上下のセンタリング*/
.ns_navi_list{
    display: flex;
    align-items: center; /*上下のセンタリング*/
    
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*各セクションのタイトルデザイン
/* //////////////////////////////////////////////////////////////////////////////////// */

.section-title {
    text-align: center;
}

.section-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; /* 文字と線の余白 */
}

.section-title h2::before, .section-title h2::after {
    display:inline-block;
    content: "";
    width: 100px;
    height: 1px;
    background: #c7984c;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/* 見出しの装飾をリセット */
h1, h2, h3, h4, h5, h6 {
    border-top: 0 !important;
    border-bottom: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
}

h3::after {
    border-bottom:0 !important;
}

a {
	text-decoration:none !important;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/* 画面TOPのロゴの装飾 */
.site-header-logo{
    margin-bottom: auto !important;
    
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*TOPページ以外で、ライトニングがつけてくるヘッダーに背景画像を設定する*/
/* 共通ページヘッダーを非表示 */

.page-header { 
	/*display:none;*/
	background-color: transparent !important;
	background-image: url(https://ktk-scaffolding.com/wp-content/uploads/2026/06/blog_back.jpg);
	background-size:100% auto ;
	background-position: 50%  50%;
	background-repeat: no-repeat;
    min-height:12rem !important;
	/*background-size: cover;*/
 }

/* //////////////////////////////////////////////////////////////////////////////////// */
/* ブログの一覧表示の調整 */
.vk_post_title a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  /*gap: 0.4em;*/
}

.vk_post_title a .vk_post_title_new {
  order: -1;
}

.vk_post_title_new{
	margin-left: 0 !important;
}


.vk_post_imgOuter_singleTermLabel {
	color:#111111 !important;
	font-weight: bold;
	background-color:#ffffff !important;
	opacity: 0.7;
}


/* //////////////////////////////////////////////////////////////////////////////////// */
/*コンタクトフォーム７ 関連*/

.wpcf7 p{
    margin-bottom: 0;
    margin-block-end: 0 !important;
}

.wpcf7-previous{
    font-size:1rem;
    padding:0.5em 2em;
}

.wpcf7 input{
    margin-bottom: 20px !important;
}

.ns_wpcf7_zip{
    display:flex;
}

.ns_wpcf7_zip input{
    width:auto!important;
}

.ns_wpcf7_your_pre select{
    width:auto!important;
}

.ns_wpcf7_confirm{
   background-color:#ffffff;
    border: solid 1px #abb8c3;
    padding-left: 10px;
    margin-bottom: 20px;
    min-height:32px;
    min-width: 100px;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*
スマフォ時にFLEX順序を逆転
ブロックの追加CSSクラスに　col-reverse　を記載する必要あり
*/
@media (max-width: 575px)  {
	.col-reverse{
		flex-direction: column-reverse; 
	}
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*会社概要　定義リスト*/

.company-profile-dl {
  border-top: 1px solid #ddd;
}

.company-profile-dl > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  /*border-bottom: 1px solid #ddd;*/
}

.company-profile-dl dt,
.company-profile-dl dd {
  margin: 0;
  padding: 18px 20px;
    border-bottom: 1px solid #ddd;
}

.company-profile-dl dt {
    font-weight: 700;
    background: #f7f7f7;
}

.company-profile-dl dd {
  background: #fff;
}

@media (max-width: 575px) {
    .company-profile-dl > div {
        grid-template-columns:1fr;
    }

      .company-profile-dl dt {
        /*padding-bottom: 8px;*/
      }

      .company-profile-dl dd {

        /*padding-top: 8px;*/
      }
}
