@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD nichias_n
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
*/



/*ロゴカラー　#00518b　*/
 body {
font-family: pingfang SC,helvetica neue,arial,hiragino sans gb,microsoft yahei ui,microsoft yahei,simsun,sans-serif!important;
  }

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
bottom: -1.8rem;
color: #0068b6;
font-weight: bold;
background:transparent;}
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {

  margin-bottom: 4rem;}
.p-mainVisual__slideTitle {

    font-weight: bold;
}
  @media (min-width: 600px){


.swell-block-button  {
    width: 300px!important;
}

.swell-block-button__link{
    width: 100%!important;
	  }
}
	  @media screen and (max-width: 767px) {
  .swell-block-button {
    width: 100%!important;
  }
}
	small{
	color: #0099c3;
	font-size: 16px;
		opacity: 1;
		font-weight: normal;
}
.is-style-more_btn a:hover {
  background-color: white;
  box-shadow: none;
  color: #00518b;
	    opacity: 0.9;
}
.text_shadow {

    text-shadow: 1px 1px 2px #000;

}
.mincho{
font-family: AdobeFangsongStd-Regular, 'Adobe Fangsong Std R', 'Adobe Fangsong Std', FangSong, STFangsong, 'STFangsong レギュラー', AdobeSongStd-Light, 'Adobe Song Std L', 'Adobe Song Std', STSong, 'STSong レギュラー', LiSongPro, 'LiSong Pro ライト', MingLiU, Ming-Lt-HKSCS-UNI-H, MingLiU_HKSCS, Ming-Lt-HKSCS-ExtB, MingLiU_HKSCS-ExtB, MingLiU-ExtB, NSimSun, PMingLiU, PMingLiU-ExtB, SimSun, SimSun-ExtB, New-Gulim, DFKai-SB, ArialUnicodeMS, 'Arial Unicode MS', Arial, serif !important;
}
/*余白*/
.home #content {
  margin-bottom: 0;

}
.l-content {

	padding-top: 0;
}
/* 投稿記事の余白 */
.post_content > * {
margin-bottom: .1em;
}
.c-gnav .sub-menu {
  width: 18em;
}
/* ロゴ上下の余白 */
@media (min-width:1280px) {
/* ロゴを包む要素の幅制限を解除する */
.l-header__logo {
    max-width: none !important; /* SWELLのデフォルト幅制限を消す */
    width: auto !important;
    flex-shrink: 0; /* 他の要素に押されて縮まないように固定 */
}

/* ロゴのリンクと画像自体のサイズを強制指定 */
.c-headLogo__link {
    display: block !important;
    width: auto !important;
    height: 52px !important; /* カスタマイズ設定に合わせる */
}

.c-headLogo__img {
    /* 高さを52pxに固定し、幅はアスペクト比を維持して自動計算させる */
    height: 52px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 52px !important;
    object-fit: contain; /* 念のため形が崩れないように */
}

/* ヘッダー全体のコンテナが狭い場合は広げる */
.l-header__inner {
    display: flex !important;
    justify-content: space-between; /* ロゴとメニューを離す */
    align-items: center;
}
	
}
	
	/*タブ　well-block-tab
	  .Visibility_Hidden li:nth-child(2)  {visibility: hidden;}*/
.post_content .swell-block-tab:first-child {
    margin-top: 2em !important;
}
.is-style-balloon > .c-tabList .c-tabList__button {
  text-align: left; /* 不要なら削除しても大丈夫ですが、一応残します */
  display: flex !important;
  align-items: center;
  justify-content: center; /* 💡これを追加して横方向の中央揃えにする */
  position: relative;
  font-size: 20px;
  height: 74.7px;
}

.is-style-balloon > .c-tabList .c-tabList__button::after {
  content: "";
  order: -1; /* 💡アイコンをテキストの左側に配置 */
  display: inline-block;
  width: 44.814px;
  height: 46.438px;
  margin-right: 8px; /* アイコンとテキストの間の余白 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: static;
  transform: none;
  opacity: 1;
}
/* 2. 💡【選ばれていないタブ】はコーポレートカラー（青）の画像 */
.is-style-balloon > .c-tabList .c-tabList__button[aria-selected="false"]::after {
  background-image: url(images/icon_product.png); /* 青い画像のパス */
}

/* 3. 💡【選ばれているタブ】は白い画像 */
.is-style-balloon > .c-tabList .c-tabList__button[aria-selected="true"]::after {
  background-image: url(images/icon_product_white.png); /* 白い画像のパス */
}
.c-tabList__button{
	    background-color: #f4f5f5;
	color: #0065ae;
font-weight: bold;
}


/* 💡 選ばれていないタブのhoverスタイルを無効化（背景・文字・矢印をリセット） */
.is-style-balloon > .c-tabList .c-tabList__button[aria-selected="false"]:hover {
background: var(--color_gray);
  color: var(--color_main);     
}

/* 💡 選ばれていないタブのhover時だけ、下向きの三角形（矢印）を消す */
.is-style-balloon > .c-tabList .c-tabList__button[aria-selected="false"]:hover::before {
  border-top-color: transparent !important; /* 三角形の色を透明にして消す */
  /* または display: none !important; でも完全に消えます */
}

.is-style-balloon > .c-tabList .c-tabList__button:hover::before, .is-style-balloon > .c-tabList .c-tabList__button[aria-selected="true"]::before {
  opacity: 0;
}
/* メインコンテンツ内の左右パディングを強制的に0にする 
.l-mainContent__inner > .post_content {
    --swl-pad_post_content: 0px !important;
}*/

/* PCサイズなどで別の指定が生きている場合のための念押し */
@media (min-width: 960px) {
    .l-mainContent__inner > .post_content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.w-beforeFooter {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/*トップ　ページタイトル*/
.home .c-pageTitle {
font-size: 2.5em;
text-shadow: 1px 1px 2px #000;
text-align: center;
}

@media (max-width: 768px) {
  .c-pageTitle__subTitle::before {
    display: none;
  }
}




.smf-form--business .smf-item:not(:first-child) {
  border-top: 1px solid #ddd;
}
/* ターゲットアイコン
.post_content a[target="_blank"]::after {
  content: "";
  background-image: url(images/icon_link.png);
  display: inline-block;
  width: 25px;
  height: 24px;
  vertical-align: bottom;
  margin-left: 0.3em;
  background-repeat: no-repeat;
} */

/*該当サイトのみ*/
/*Langメニュー*/
#menu-menu_lang {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 29px 0 0 0;
	font-weight: bold;
}
#menu-menu_lang li {
    padding: 0 12px 0 12px;
    color: #ccc;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 1vw;
    line-height: 1.2;
    position: relative;
}
#menu-menu_lang li:first-child a:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 0.7vw;
    top: 0.2vw;
    right: 0;
    background: #333;
}
/*headメニュー*/


.c-gnav > .menu-item > a {
padding-top: 47px;
 padding-left: 40px;
	padding-right: 40px;

}
@media (min-width: 960px) {
/* ヘッダーの内枠（コンテナ）を画面幅いっぱいにする */
.l-header__inner.l-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;  /* 必要に応じて余白を0に */
    padding-right: 0 !important;
}

/* ロゴやナビゲーションが端に寄りすぎるのを防ぎたい場合の微調整 */
.l-header__inner.l-container {
    padding-left: 40px !important;

}}
/* --- お問い合わせボタン共通・PC設定 --- */
.l-header__inner.l-container .menuContact {
    background: #0065ae !important;
}

/* PC時の基本スタイル */
.l-header__inner.l-container .menuContact a {
    display: flex !important;
    flex-direction: column;    /* 縦並び（アイコンが上） */
    align-items: center;
    justify-content: center;
    text-align: center;
    
    background-image: url(images/icon_h_contact.png) !important;
    background-repeat: no-repeat !important;
    background-position: center 19.6px !important; /* PC用の位置 */
    background-size: auto !important;

    color: white !important;
    height: 110px !important;
    width: 120px;
    font-size: 14px;
    padding: 0 !important;
}

/* PC時の文字位置調整（アイコンとの距離） */
.l-header__inner.l-container .menuContact a span {
    padding-top: 45px; /* アイコンの下に文字が来るように調整 */
    display: block;
}

/* ホバー・カレント時のインラインCSS（rgba背景）を無効化 */
.c-gnav > li.l-header__inner.l-container .menuContact:hover > a, 
.c-gnav > li.l-header__inner.l-container .menuContact.-current > a {
    background-color: transparent !important;
    /* 画像や位置は共通設定で!importantにしているので、ここでは色を消すだけでOK */
}

/* --- スマホ時の設定 (959px以下) --- */

@media (max-width: 959px) {
    .l-header__inner.l-container .menuContact a {
        flex-direction: row;      /* 横並び */
        justify-content: flex-start !important; /* ★左寄せにする */
        align-items: center !important;        /* 上下方向は中央 */
        
        height: auto !important;
        width: 100% !important;
        padding: 15px 55px !important;
        
        background-position: 15px center !important;
        background-size: 24px auto !important;
        text-align: left !important; /* 念のため */
    }



	  .l-header__inner.l-container .menuContact a::before {

  content: "";
	}}
/*class*/

.content_border{
border: 1px solid var(--color_border); }
.content_border .p-postList__item:last-child a{
    border: none;
}
.content_border .p-postList.-type-simple {
  border-top: none;
}

.text-danger{
color: white;
  background-color: #e80b0b;
  margin-left: 2px;
  margin-right: 2px;
  padding-right: 1px;
  padding-left: 1px;
  font-size: smaller;
    vertical-align: middle;
}
/*該当サイトのみ 製品ページ*/
/* コンテンツエリアをFlexboxにして並べ替え */
.l-mainContent {
    display: flex;
    flex-direction: column;
}

/* ウィジェットエリア（投稿上部）を一番上に */
#widget_before_single_contents {
    order: -1;
}

/* パンくずリストを2番目に */
.c-breadcrumb {
    order: 0;
}

/* タイトルエリアを3番目に（※タイトルを表示設定にしている場合） */
.p-articleHead {
    order: 1;
}
/*新闻中心　投稿リスト日付を左に　PCサイズ（960px以上）の時だけ適用 */
@media (min-width: 960px) {
    /* 親要素を横並びにする */
    .p-postList__body {
        display: flex !important;
        flex-direction: row; /* 横並び */
        align-items: center; /* 垂直方向の中央揃え */
        gap: 15px; /* 日付とタイトルの間の隙間 */
    }

    /* 日付エリアの幅を固定し、100%を解除する */
    .p-postList__meta {
        flex-shrink: 0; /* 幅が潰れないように固定 */
        width: auto !important; /* 100%表示を解除 */
        margin-top: 0 !important; /* 上の余白を消して高さを合わせる */
    }

    /* タイトルを横幅いっぱいまで広げる */
    .p-postList__title {
        margin: 0 !important;
        flex-grow: 1;
    }
}
/*該当サイトのみ 見出しデザイン*/
@media (min-width: 600px) {
 .single .l-topTitleArea {
    min-height: inherit;
  }
}

        .home  .post_content h2  {
        font-size: 38px;
		  margin-bottom: 0;
    }
/*該当サイトのみ　ブログパーツ（製品詳細見出し） 見出しデザイン
#body_wrap:not(.home) .post_content h2{
	        font-size: 26px;
        margin-bottom: 40px;
        padding-bottom: 20px;border-bottom: 3px solid #0065ae;}*/
.single #content h2,h3{
    color: #00518b;
    font-size: 1.4vw;
    padding: 1.428571428571428vw;
    background-color: #eff6fc;
    position: relative;
    margin: 5vw 0 2.1vw;
}.single .post_content{margin-bottom: 2.1vw;
}
/*該当サイトのみ　ブログパーツ（カテゴリー見出し） 見出しデザイン*/
/* 元の指定（Flexboxはここではなく、中身のインナーにかけます） */
.underLayer_cap {
  height: 155px !important;
  min-height: 0 !important;
}

/* ★新しくここを追加（h2とpの直前の親要素） */
.underLayer_cap .swell-block-fullWide__inner {
  height: 100%;             /* 親の155pxいっぱいに高さを広げる */
  display: flex;
  flex-direction: column;   /* 縦並び */
  justify-content: center;  /* 上下中央 */
  align-items: flex-start;  /* 左揃え */
}



 
/*製品画像 */

/* アイキャッチ横並びのベース */
.eyecatch-flex-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.eyecatch-left {
    flex: 1;
    min-width: 0;
}

.eyecatch-right {
    flex: 0 0 70%; /* ここで右側の幅を自由に調整 */
	text-align: left;
}
.eyecatch-product-title{
	font-size: 32px;
	text-align: left;
	margin-bottom: 20px;
}
	  /*製品ブログパーツ */
/*table */
.p-blogParts  table td:has(strong) {
    background-color: #eff6fc !important;
}
.p-blogParts  td, .p-blogParts  th {
	border: 1px solid #bdd0e3;}
sup {
  font-size: xx-small;
  vertical-align: super;
  position: relative;
  *top: -7px;
}

/* カテゴリーページのパーツ表示を全幅に調整 */
.archive .c-pageTitle {
    max-width: 100%;
    width: 100%;
}

.p-breadcrumb__text{
    color: #0099c3;
    text-decoration: underline;

}
/* ニュース等で記事下ウィジェットをCSSでも念のため隠す */
.parent-cat-news .w-contentBottom,
.parent-cat-news .w-postBottom {
    display: none !important;
}

/* スマホ対応 */
@media (max-width: 767px) {
    .eyecatch-flex-wrapper {
        flex-direction: column;
    }
    .eyecatch-right {
        flex: 0 0 100%;
        width: 100%;
    }
}

.wp-block-separator {
  border-top: 4px solid #00518b;
  margin-top: .7em;
  margin-bottom: .7em;
}
/*固定ページ*/
/* 親ブロックの高さ制限などを解除 */
#top_title_area.l-topTitleArea {
	padding: 2em 0;
    height: 155px !important;
    min-height: 0 !important;
    padding: 0 !important;
    position: relative;
}

/* メインビジュアル画像をそのまま表示 */
.l-topTitleArea__img {
    position: relative !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    width: 100%;
}

/* テキストエリアの配置調整 */
.l-topTitleArea__body {
    position: absolute;
    top: 50%;
    left: 7%; 
    transform: translateY(-50%);
    width: auto;
    text-align: left;
}

/* メインタイトル (h1) */
.c-pageTitle,.underLayer_cap h2 {
    font-size: 2.7vw !important;
    position: relative !important;
    font-weight: bold !important;
    margin-bottom: 0 !important;
    line-height: 1.2;
    display: block !important;
	color: var(--color_text);
}

/* メインタイトルの前のアイコン */
.c-pageTitle::before,.underLayer_cap h2:before {
    display: block;
    content: "";
    width: 2vw;
    height: 2vw;
    background-image: url("images/icon_mv.png"); /* パスが通らない場合はフルパスで */
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0.8vw;       /* 元の1.2vwから微調整。文字との高さ合わせ */
    left: -2.5vw;     /* margin-leftの代わりにleftで指定 */
}

/* サブタイトル (p) */
.c-pageTitle__subTitle,.underLayer_cap p {
    display: block !important;
    font-size: 1.1vw !important;
    margin-bottom: 0 !important;
    color: #0099c3 !important;
    font-weight: normal;
    text-align: left;
	margin: 0;
font-style: inherit;
	letter-spacing: var(--swl-letter_spacing,1px);
  opacity: .8;
  padding-block: 2px;
  position: relative;
  top: -2px;
}
	  /*カテゴリーページ（製品一覧）*/
	/* リッチカラム（products_Box）内の画像サイズと比率を統一 */
.products_Box .swell-block-column figure img {
    width: 100% !important;
    /* 高さを固定せず、横長（16:9）の比率を維持する */
    aspect-ratio: 16 / 9 !important; 
    
    object-fit: cover;        /* 変形させず、中央で切り抜き */
    object-position: center;   /* 真ん中を中心に配置 */
    
    /* 元々入っているかもしれない高さを打ち消す */
    height: auto !important; 
}
.products_Box p{
	
text-align: center;}
.products_Box a{font-weight: 700;
    color: #00518b;
}
/* スマホで画像が大きすぎる場合はここで比率を微調整できます */
@media (max-width: 767px) {
    .products_Box .swell-block-column figure img {
        aspect-ratio: 3 / 2 !important; /* スマホでもう少し縦幅が欲しければ3:2などに変更 */
    }
}
/*フッターメニュー*/
.custom-global-menu {
  padding: 2em 1em;
}

.custom-global-menu ul.menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1em; /* 各項目の間隔 */
}

/* メニュー項目（PCでは5カラム固定） */
.custom-global-menu ul.menu > li {
  flex: 0 0 calc(20% - 1em); /* gap分を引いた5カラム固定 */
  box-sizing: border-box;
}

/* 1. まず全てのメニュー(親も子も)に「青い棒」の設定を書く */
.custom-global-menu a:before {
    content: "";
    display: block;
    width: 5px;
    height: 15px;
    background: #0065ae;
    position: absolute;
    left: -13px;
    top: 50%;
    transform: translateY(-50%);
}

/* 2. サブメニューの中にある a:before だけ、設定を「矢印」に塗り替える */
.custom-global-menu .sub-menu a:before {
    /* 矢印の画像を指定（これで青い棒が消えて画像に変わる） */
    background: url(images/icon_f_arrow_0065AE.png) no-repeat center / contain;
    
    /* 矢印用のサイズに上書き */
    width: 6px;
    height: 10px;
    
    /* 余計な装飾をリセット */
    border: none;
}

/* --- 以下、余白などの調整 --- */

/* 親リストのドットや余白をリセット */
.custom-global-menu,
.custom-global-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 全体のリンク共通 */
.custom-global-menu a {
    font-size: 15px;
    color: #00518b;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-left: 15px; /* 前の記号が被らないための余白 */
    text-decoration: none;
}

/* サブメニュー特有の文字スタイル */
.custom-global-menu .sub-menu {
    margin-top: 5px;
    margin-left: 5px; /* 親メニューより少し右に下げる */
}

.custom-global-menu .sub-menu a {
    font-size: 14px;
    font-weight: normal;
    color: #1f2d37;
    margin-bottom: 8px;
}
/* スマホ対応：1カラムに */
@media (max-width: 768px) {
  .custom-global-menu ul.menu > li {
    flex: 0 0 100%;
  }
}

/*追記css*/
.bg_white_alpha{background-color: rgba(255, 255, 255, 0.85) !important;}

/* ページトップボタンを四角くする */
#pagetop {
    border-radius: 0; /* 角の丸みをなくす */
}
.industrial-bg {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e3a5f 35%,
    #2563eb 100%
  );
  color: #fff;
  padding: 80px 0;
}
/*追記css News 投稿ページから製品詳細項目を非表示*/
.parent-cat-news .w-singleBottom{
    display: none !important;
}
/* chanpinとその子カテゴリーすべてで日付を非表示 */
.is-chanpin-family .c-postTimes {
    display: none !important;
}
/* contactボタン調整*/
.is-style-more_btn a {
    color: #0065ae;
  box-shadow: none;
        font-size: 16px;
	        font-weight: bold;
  border-radius: 5px;
}
.is-style-more_btn a::after {
    content: none !important;
}
/* 理化学の使用范围,下部のリンク表示*/

.lihuaxue_ACF{display: none;}
.current-cat-lihuaxue .lihuaxue_ACF{display: revert!important;
	margin-top: 5vw;
}
.lihuaxue_ACF .wp-block-columns{
padding: 2em;
	    border: 1px solid #CDCDCD;
}

/* ===================================================
   記事下部ブログパーツの出し分け（CSS制御版）汽车 は投稿本文へ
=================================================== */

/* 1. 最初はすべてのパーツを非表示にしておく */
.parent-sub-thermal .target_chanpin, 
.parent-sub-soundproof .target_chanpin, 
.parent-sub-seal .target_chanpin{
    display: none!important;
}
/* ===================================================
   カテゴリー一覧
=================================================== */
.c-pagination {
    display: none;
}
/* ===================================================
　　　メールフォーム
=================================================== */
.post_content .wpcf7-form  td, .post_content .wpcf7-form th {
  border: none; /* 一度、上下左右のすべての線を消す */
  border-top: 1px solid var(--color_border--table, #dcdcdc); /* 上側の線 */
  border-bottom: 1px solid var(--color_border--table, #dcdcdc); /* 下側の線 */
    padding: 1.428571428571428vw 2.857142857142857vw;

}

.post_content .wpcf7-form th {

    background: #eff6fc;
}
.post_content .wpcf7-form td {
}

.formmust{        font-size: 13px;
        padding: 3px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.928571428571428vw;
    text-align: center;
    font-weight: normal;
    padding: 0.214285714285714vw 0.571428571428571vw;
    float: right;
    background-color: #d01800;}