@charset "UTF-8";/*ヤマトシ板金工業*/
body {
   background-color: #E5F6FF !important;
   font-family: "Zen Kaku Gothic New", sans-serif;
   font-weight: 500;
   font-style: normal;
   width:100%;
   margin: auto;
   font-size: 17px;
   line-height: 1.5;
}

p,
li,
td,
th {
    font-size: 17px;
    line-height: 1.5;
}



@import url("https://use.fontawesome.com/releases/v5.15.4/css/all.css");



/*-------------------------
見出し設定 
--------------------------*/
h1.title1{
	text-shadow: 3px 4px 10px rgb(50 50 70);
	font-size:2.75rem;

}
@media (max-width: 640px){ 
h1.title1{
	text-shadow: 3px 4px 10px rgb(50 50 70);
	font-size:1.75rem;

}
}

/**固定ページ見出し**/
@media (max-width: 640px){ 
h1.h1-padding{
	
	padding-top: 100px!important;
}
}

/**ブログh1見出し**/
h1.c-entry__title{
	font-size:2rem;
	display: inline-block;
    border-left: solid 8px #395BB2;
    padding: 0px 0px 0px 15px !important;
}

@media (max-width: 640px){ 
h1.c-entry__title{
	font-size:1.75rem;
	display: inline-block;
    border-left: solid 8px #395BB2;
    padding: 0px 0px 0px 15px !important;
}
}

h2.title2{
	font-size: 2rem !important;
	font-weight: 700 !important;
	color:#395BB2;
}
@media (max-width: 640px){ 
h2.title2 {
    font-size: 1.625rem!important;
	font-weight: 700 !important;
	color:#395BB2;
}
}

h2.title2-volume{
	font-size: 2rem !important;
	font-weight: 700 !important;
	color:#395BB2;
}

@media (max-width: 640px){ 
h2.title2-volume{/*ボリューム多め*/
    font-size: 1.4rem!important;
	font-weight: 700 !important;
	color:#395BB2;
}
}

h3.title3 {
	color:#395BB2;
    font-weight: 700!important;
    font-size: 1.8rem !important;

}

h3.title3-border{
    font-weight: 700!important;
    font-size: 1.625rem !important;
    display: inline-block;
    border-left: solid 8px #395BB2;
    padding: 0px 0px 0px 15px !important;
}

h3.title3small-border {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0.75em !important; /* ← 少し狭める */
}

h3.title3small-border::before {
    content: '';
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-top: 0.325em solid transparent;  /* 0.5em → 約65% */
    border-bottom: 0.325em solid transparent;
    border-left: 0.4875em solid #395BB2;     /* 0.75em → 約65% */
}



@media (max-width: 640px){ 
h3.title3 {
	color: #395BB2;
    font-size: 1.625rem!important;
	font-weight: 500 !important;

}
}

@media (max-width: 640px){ 
h3.title3-border  {
    font-size: 1.3rem!important;
	font-weight: 700 !important;
    display: inline-block;
    border-left: solid 8px #395BB2;
    padding: 0px 0px 0px 15px !important;
}
}
@media (max-width: 640px){ 
  h3.title3small-border {
      font-size: 1.15rem !important;
      font-weight: 700 !important;
  }
}

h4.title4 {
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	display: inline-block;
    border-left: solid 5px #F8A201;
    padding: 0px 0px 0px 15px !important;
}
@media (max-width: 640px){ 
h4.title4 {
    font-size: 1.15rem!important;
	font-weight: 700 !important;
	display: inline-block;
    border-left: solid 5px #F8A201;
    padding: 0px 0px 0px 15px !important;
}
}

h5.title5obi {
	font-size: 1.1rem !important;
	font-weight: 700 !important;
	color: #418BCF;
	background-color:#E8F4FF;
	border-radius: 20px;
	padding-right:20px;
	padding-left:20px;
	margin-bottom: 10px;
	display:inline;
}
@media (max-width: 640px){ 
h5.title5obi {
    font-size: 1rem!important;
	font-weight: 700 !important;
	color: #418BCF;
	background-color:#E8F4FF;
	border-radius: 20px;
	padding-right:20px;
	padding-left:20px;
	margin-bottom: 10px;
	display:block;
}
}

.text-large {
	font-size: 1.5rem !important;
	font-weight: 700 !important;

}
.text-large a {
	text-decoration: none!important;
	color: #333333!important;
}
.text-large a:hover {
  color: #395BB2!important; 
}
.text-large a:visited  {
	color: #333333!important;
}

@media (max-width: 640px){ 
.text-large {
    font-size: 1.25rem!important;
	font-weight: 700 !important;
}
}



/*--------------------
全体設定
--------------------*/
/*ぱんくず文字サイズ*/
.c-breadcrumbs__item {
	font-size: 14px!important;
}


/*キャプションセンター揃え*/
.wp-element-caption{
	text-align: center;
}
/*メディアとテキストのキャプションセンター揃え*/
.smb-media-text__caption{
	text-align: center;
}


.smb-btn__label::after {
    content: "\f105"; /* FontAwesomeの「>」アイコン */
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    position: absolute;
    right: 10px; /* 右端に配置 */
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 640px) {
  .calum-sp {
    flex-direction: column-reverse;
  }
}

/*BOX設定*/
.box-nagare {
  display: block;
  width: 1200px !important;
  max-width: calc(100% - 30px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 40px;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .box-nagare {
    width: auto !important;
    max-width: calc(100% - 30px) !important; /* 左右30pxずつ余白を作る */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/**リンクテキスト下線なし**/
.link-noline a {
	text-decoration: none;
}

/**極細区切りライン**/
.border-gokuboso{
	border-top: 1px solid rgba(0, 0, 0, 0.03); 
}


/*--------------------
ヘッダー・グロナビ周り・スマホ固定ナビ
---------------------*/
/*ヘッダー背景色*/
.l-header {
  background-color: #E5F6FF;
}


/*インスタアイコン・電話番号・問い合わせボタン横並び*/
.my-header-content {
    display: flex;
    align-items: flex-end;
}

.insta-icon{
	 display: flex!important;
	 align-items: flex-start!important;
	 padding-bottom: 32px;
	padding-right: 10px;
}
.header-tel{
	display: flex;
    align-items: center;
	font-size: 2rem !important;
	font-weight: 700 !important;
	color: #395BB2;
	padding-top: 0;	
}

.header-tel a{
	text-decoration: none;
}

.ss-small{
	font-size: 0.85rem;
	font-weight: 600;
}

.my-header-content__button {
	width: 280px;
	text-align: center;
    margin: 0 1rem 0 0;
	color: #395BB2;
	background-color: #FFFFFF!important;
	border: 2px solid #395BB2;
	margin-left: 20px;
	padding-top: 8px;
	padding-bottom: 8px;	
}

.my-header-content__button:hover {
	background-color: #395BB2 !important;
	color: #FFFFFF!important;
}

/*ボタン文字の1行目と2行目の文字サイズ*/
.my-header-content__button a {
  color: #395BB2;
  text-decoration: none;
}

.my-header-content__button:hover {
  background-color: #395BB2 !important;
}

.my-header-content__button:hover a {
  color: #FFFFFF !important;
}
.my-header-content__button span {
  line-height: 0.75; /* 行間をやや狭める */
}
.my-header-content__button span:first-of-type {
	font-size: 0.85rem;
	font-weight: 600;
}

 .my-header-content__button span:last-of-type {
	font-size: 1.15rem;
	font-weight: 700;
}

/**オーバレイグロナビ背景色**/
.p-drop-nav {
  background-color:#E5F6FF!important;
  
}

/*スマホフッター固定ナビ*/
.p-footer-sticky-nav a {
	background-color: #395BB2; /* 背景色 */
	color: #ffffff !important;
	font-size: 0.85rem!important;
	font-weight: 700;
}





/*--------------------
サイドバー
----------------------*/

/** ▼ 階層カテゴリー 表示スタイル全体 **/

/* 共通：リスト装飾なし＆リンク装飾 */
.cat-item {
	list-style: none;
}
.cat-item a {
	text-decoration: none;
	color: #333;
}

/* 親カテゴリ */
.cat-item {
	font-weight: bold;
	margin-bottom: 0.5em;
	position: relative;
	padding-left: 1.2em;
}

/* 親カテゴリに › をつける（●を消す） */
.cat-item::before {
	content: "›";
	position: absolute;
	left: 0;
	color: #333;
}

/* 子カテゴリ（ul.children 直下の li） */
.cat-item > .children > .cat-item {
	font-weight: normal;
	margin-left: 0;
	position: relative;
	padding-left: 1.2em;
}

/* 子カテゴリにも › をつける */
.cat-item > .children > .cat-item::before {
	content: "›";
	position: absolute;
	left: 0;
	color: #333;
}

/* 孫カテゴリ（2階層下） */
.cat-item > .children > .cat-item > .children > .cat-item {
	margin-left: 0;
	position: relative;
	padding-left: 1.2em;
}

/* 孫カテゴリには ・をつける */
.cat-item > .children > .cat-item > .children > .cat-item::before {
	content: "・";
	position: absolute;
	left: 0;
	color: #666;
}

/** ▼ 折りたたみ解除（常に展開された状態） **/

ul.children {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	height: auto !important;
}

ul.children[data-is-hidden="true"] {
	display: block !important;
}

/* 展開トグルのボタンを非表示に */
.children-expander {
	display: none !important;
}

/*カテゴリーが二つ表示されるので2番目を非表示*/
.l-contents__sidebar > .l-sidebar-widget-area:nth-of-type(2) {
	display: none !important;
}

/* 通常サイドバーカテゴリーの文字サイズを調整 */
.widget_categories ul li,
.widget_categories ul li a {
    font-size: 18px;
    line-height: 1.6;
}



/*--------------------
TOPページ
---------------------*/
/* 「建築板金」「企画板金」ボタンの矢印を非表示にする */
.custom-button a {
  position: relative;
  display: block;
  padding: 0.8em 1.5em;
  background-color: #1f2399;
  color: #fff;
  border: 1px solid #fff;
  text-align: center;
  font-size: 16px;
  font-weight: normal;
  border-radius: 0;
  max-width: 220px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 「建築板金」「企画板金」> をボタン内右端に表示 */
.custom-button a::after {
  content: "\f105"; /* FontAwesomeの「>」アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  font-size: 20px;
  color: white;
}


/*>付きボタン*/
.custom-button-nomal {
  padding-bottom: 0px;
  padding-top: 0px;
}

.custom-button-nomal a::after {
  content: "\f105"; /* FontAwesomeの「>」アイコン */
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  font-size: 20px;
}

/**ブログの表示順番**/

/* 最新記事リストの並び順変更 */
.wp-block-latest-posts__list > li {
    display: flex;
    flex-direction: column;
}

/* タイトルを先に記述していても、後ろに表示させる */
.wp-block-latest-posts__post-title {
    order: 2;
	font-weight: 700;
}

/* 日付を一番上に */
.wp-block-latest-posts__post-date {
    order: 1;
}

/* 抜粋を最後に */
.wp-block-latest-posts__post-excerpt {
    order: 3;
}
/* 各投稿（li）の下に区切り線を表示 */
.wp-block-latest-posts__list > li {
    padding-bottom: 1.5em;
    margin-bottom: 1.5em;
    border-bottom: 1px solid #ccc;
}

/**最近の実績表示数**/
/* 実績一覧：PCで4列、タブレットで2列、スマホで1列に */
h4.c-entry-summary__title{
	font-size: 18px!important;
}

.c-entries--rich-media .c-entries__item {
  flex-basis: 25%;
  max-width: 25%;
}

@media (max-width: 1023px) {
  .c-entries--rich-media .c-entries__item {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 640px) {
  .c-entries--rich-media .c-entries__item {
    flex-basis: 100%;
    max-width: 100%;
  }
}



/*--------------------
ヤマトシ板金について
---------------------*/
/****会社概要の表の調整****/

/**概要のラベル文字サイズ**/
.smb-information__item__label{
	font-size: 17px!important;
}

/**下線のみにする**/
.gaiyou-table {
  border: none;
  --smb-information--border-color: transparent !important;
}
/* 各行（ラベル＋本文）の下に下線を表示 */
.gaiyou-table .smb-information__item {
  border-bottom: 1px solid #ccc;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 0.8em 0;
}
/* 最後の行の下線を消す */
.gaiyou-table .smb-information__item:last-child {
  border-bottom: none;
}

/**ラベルとテキストの行間を狭める**/
@media (max-width: 640px) {
  .gaiyou-table .smb-information__item__body {
    margin-top: 5 !important;
    padding-top: 0 !important;
  }
}


/*--------------------
実績・NEWS・ブログ
---------------------*/

/**記事一覧サムネイルのカテゴリー名非表示**/
.c-entry-summary__term {
	  display: none;
}

/**記事一覧投稿者非表示**/
.c-meta__item--author{
    display: none!important;
}

/**記事一覧記事タイトルを18文字に制限**/
.c-entry-summary__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* ← 1行に制限 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**カテゴリー一覧ヘッダー画像縦サイズ指定**/
.c-page-header {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important; /* 中央寄せ */
}

.c-page-header__bgimage {
    width: 100vw !important;
    height: 165px !important;
    overflow: hidden;
}

.c-page-header__bgimage img {
    width: 100%;
    height: 165px;
    object-fit: cover;
}

.c-page-header[data-has-image="true"] {
    height: 165px !important;
}

/**カテゴリー一覧ヘッダー画像上にカテゴリー名を表示JAVAscrptと連携**/
.c-page-header__bgimage {
  position: relative;
  width: 100vw;
  height: 165px !important;
  overflow: hidden;
}

.category-title {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #fff !important;
  font-size: 36px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* スマホ用 */
@media (max-width: 1024px) {
  .category-title {
	margin-top:30px;
    font-size: 24px !important;
  }
}

/**投稿記事の著者名と更新日非表示**/
body.single-post .c-meta__item--author,
body.single-post .c-meta__item--modified {
display: none;
}






/*--------------------
お見積り・相談
---------------------*/

/**ウインドウ幅370以下の電話番号文字サイズ指定**/
@media (max-width: 370px) {
.contact-tel{
    font-size: clamp(40px, 2vw, 58px)!important;
}
}

/**文字サイズ**/
.smf-item__label {
	font-size: 17px!important;
}
.smf-label {
	font-size: 17px!important;
}

/*--------------------
フッター
--------------------*/
.l-footer {
  background-color: #E5F6FF !important;
  border: 0;

}
.c-copyright.c-copyright--inverse {
 color:#395BB2!important;
  background-color: #E5F6FF !important;
  text-align: center !important;
}

.c-container{
	font-size: 14px!important;
}


/**ご相談・お見積りボタンフォバー**/
.hover-btn img {
  transition: 0.3s ease;
}

.hover-btn:hover img {
  content: url("https://yamatoshi-works.com/wp-content/uploads/2025/08/bt-toiawase-2.png");
}
