/* //////////////////////////////////////////////////////////////////////////////////// */
/*ファーストコーポレーション　スタイルシート*/

/* //////////////////////////////////////////////////////////////////////////////////// */
/*(011)ブロックエディターのカラムのセンタリング　ns_block_style.js　とセット*/

.wp-block-columns[class*="is-style-justify"] {
    justify-content: space-between;
}
.wp-block-columns[class*="is-style-center"] {
    justify-content: center;
}



/* //////////////////////////////////////////////////////////////////////////////////// */
/*(012)ブロックエディターのグループで文字シャドウを可能にする　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);
}

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

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


/* //////////////////////////////////////////////////////////////////////////////////// */
/*(014)ブロックエディターのリスト表示でマーカーを非表示にする　ns_block_style.js　とセット*/

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


/* //////////////////////////////////////////////////////////////////////////////////// */

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

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

.page-id-5 #site-header {
    background-color: rgba(255,255,255,0.0) !important;
	box-shadow:none;
}

.page-id-5.header_scrolled #site-header {
    /*background-color: rgba(255,255,255,0.0) ;*/
	box-shadow:none;
}

.page-id-5:not(.header_scrolled) #site-header {
    position: absolute;
}

.page-id-5 .page-header {
    min-height: min(360px, 50vw);
    padding-top: 80px;
}

/* スクロールしてグローバルナビがページ上部に固定表示されるタイミングでカックンとなることを防ぐ。 */
.page-id-5 .page-header {
    margin-top: 0 !important;
}

.page-id-5 .global-nav-list>li .global-nav-name {
	color: #ffffff;
}

.breadcrumb {
    border-top: none !important;
    border-bottom: none !important;
}


.site-header {
    box-shadow:none !important;
}

/* //////////////////////////////////////////////////////////////////////////////////// */
/*(022)フッターカラー*/

.site-footer {
	color:#ffffff;
	/* https://colorzilla.com/gradient-editor/#191970+0,0000ff+49,191970+100 */
	background: linear-gradient(135deg,  rgba(25,25,112,1) 0%,rgba(0,0,255,1) 49%,rgba(25,25,112,1) 100%);
	/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}


/* //////////////////////////////////////////////////////////////////////////////////// */
/*(023)文字サイズ*/

/* PCでの文字サイズ */
body, html {
    font-size: 16px ;
}

@media (max-width: 575.98px) {
	/* モバイル */
	body, html {
	    font-size: 16px !important;
	}
}

@media (min-width: 576px) and (max-width: 991.98px) {
	/* タブレット */
	body, html {
	    font-size: 16px !important;
	}
}




/* //////////////////////////////////////////////////////////////////////////////////// */
/*(025)通常の固定ページのページヘッダーを非表示にする */
.page-header{
    display: none !important;
}

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

/*①ベースとなる親要素*/
.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 */



/* //////////////////////////////////////////////////////////////////////////////////// */
/*(041)コンタクトフォーム７ 関連*/
.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;
}


/* //////////////////////////////////////////////////////////////////////////////////// */
/*(042) 会社概要　定義リスト*/

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

.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: 15px 15px;
    border-bottom: 1px solid #abb8c3;
}

.company-profile-dl dt {
    font-weight: 400 !important;
    background: #edf8fb;
}

.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;*/
      }
}

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

/* //////////////////////////////////////////////////////////////////////////////////// */
/* (052)flexボックスの子要素の高さを親要素に合わせる */
.ns2-height-100per {
    height: 100%;
}

/* //////////////////////////////////////////////////////////////////////////////////// */


/* //////////////////////////////////////////////////////////////////////////////////// */
/* テーブルを作成すると周りに枠が出てしまうので削除 */
.wp-block-flexible-table-block-table > table {
    border: none !important;
}


/* //////////////////////////////////////////////////////////////////////////////////// */
/* テーブルを作成すると周りに枠が出てしまうので削除 */

[class*="wp-container-"] > h1,
[class*="wp-container-"] > h2,
[class*="wp-container-"] > h3,
[class*="wp-container-"] > h4,
[class*="wp-container-"] > h5,
[class*="wp-container-"] > h6
 {
    margin-block-end: 0 !important;
}


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

h4:where(:not(.wp-block-post-title)) {
    background-color: transparent !important;
}



