/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

html, body {background-color: #333 !important;}
#breadcrumb {background-color: #fff !important;}

/*smartslederの隙間を削除*/
.site-body {
	margin: 0 !important;
	padding: 0 0 0 0 !important;
	background-color: #fff !important;
	height: auto;
	min-height: auto;
}

#site-header {
}

/* グローバルナビのリンク全体 */
.global-nav-list {
  display: flex;
  gap: 24px;/*メニューの間隔調整*/
  justify-content: right;/*メニューを右寄せに*/
}

.global-nav .menu li a {
  display: inline-block;
  text-align: center;
  color: #111;
  text-decoration: none;
}

/* 英語ラベル部分 */
.global-nav .global-nav-name {
  font-family: 'DIN' , 'Barlow', sans-serif;
  font-size: 16px !important;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.08em; /* ← ここ追加！ */
  display: block;
}

/* 和文サブラベル部分 */
.global-nav .menu-jp {
  display: block;
  font-size: 11px;
  font-family: 'Noto Sans CJK JP', sans-serif;  /* ← 和文：源ノ角ゴシック体 */
  font-weight: normal;
  color: #666;
  margin-top: 2px;
}

/* メニュー下線の色、太さ変更 */
.global-nav-list > li:before {
  border-bottom: 2px solid #b4866b;
}

/* Lightningテーマのフッターのボーダーを非表示 */
.site-footer {
	border-top: none !important;
 
}

/* Lightningテーマの自動クレジットを非表示 */
.site-footer-copyright {
	display: none !important;
}

/*自作フッター*/
#footer {
	background-color: #333 !important;
	padding: 30px 0;
	margin: 0 !important;
}

/*自作コピーライト*/
.copyright {
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  margin: 0;
  padding: 10px 0;
}

/*タイトル非表示*/
.page-header,.page-header-inner {
  display: none !important;
}

/*パンクズリストのpaddingを広げる*/
.breadcrumb {
	padding:10px 0 20px 0 !important;
	border-bottom:none !important;
}


h3 {
	font-size: 1.3rem !important;
	color:#555;
	/*font-weight:normal;*/
	font-family: 'Noto Serif JP', serif;
	background:none !important;
}

h3::after {
  border-bottom: 1px solid #b4866b !important;
}

h5 {
	font-size: 1.1rem !important;
	color:#555;
	font-family: 'Noto Serif JP', serif;
	border-bottom: 1px solid #b4866b !important;
}



p {
	font-size:0.9rem !important;
	margin:0 0 10px 0;
	font-family: 'Noto Serif JP', serif;
	line-height:1.8;
	
}

.page-catch {
  text-align: center;
  padding: 40px 20px 10px;
  max-width: 800px;
  margin: 0 auto;
}

.page-catch .catch-heading {
  all: unset; /* ← これで完全にリセット（要注意） */
  font-size: 1.6rem;

	font-family: 'Noto Serif JP', serif;
  font-weight: 600;
	color: #333;

}

.page-catch .catch-text {
  font-size: 1.2rem !important;
  line-height: 1.8;
  color: #666;
	margin-top: 10px !important;
}


/*アクセス*/

.representative {
	margin:20px 0 60px 0;
}

.representative p {
	line-height:3;
	letter-spacing:2px;
	font-size:1rem:
}

.representative p span {
	font-size:80%;
}

.offices {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.office {
  flex: 1 1 45%;
  min-width: 280px;
}


/*-----▼事業内容-----*/

.service-list-section {
  position: relative;
  background: url('https://takahashikoumu.com/wp-content/uploads/2025/10/bg.png') no-repeat right center;
  background-size: 60% auto; /* 右側だけに表示 */
  padding: 2em;
}

.service-list {
  padding: 0;
  margin: 0 0 300px 0;
}

.service-list li {
	padding: 0.5em 1em;
	margin-bottom: 0.5em;
	font-family: 'Noto Serif JP', serif;
	font-size: 1rem;
}



/*-----▼施工事例-----*/

/* 共通設定 */
*, *::before, *::after {
  box-sizing: border-box;
}

.works-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* 各事例カード */
.works-box {
  width: calc(33.333% - 20px);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.works-box:hover {
  transform: translateY(-4px);
}

.works-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

.works-box h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-bottom: 1px solid #b4866b;
  padding-bottom: 4px;
  font-family: 'Noto Serif JP', serif;
}

.works-box ul {
  padding-left: 1.2em;
  margin-bottom: 14px;
}

.works-box ul li {
  font-size: 0.9rem;
  margin-bottom: 0px;
}

.works-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .works-box {
    width: 100%;
  }
}




/*-----▼お問い合わせ-----*/

/* お問い合わせフォーム 全体背景 */
.wpcf7 {
  background-color: #EBE7DD;
  padding: 20px;
  margin-bottom: 100px;
  border-radius: 10px;
  margin: auto;
  font-family: sans-serif; /* フォールバックで統一 */
}

/* ラベル・段落の余白とフォント */
.wpcf7-form label,
.wpcf7-form p {
  display: block !important;
  margin-bottom: 1.2em !important;
  font-family: sans-serif !important;
  letter-spacing: 0.03em;
}

/* 必須マーク */
.wpcf7-form .required {
  background-color: #ff0000;
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 10px;
  font-size: 12px;
  font-family: sans-serif !important;
}

/* チェックボックス行間とアクセントカラー */
.wpcf7-form .wpcf7-list-item {
  line-height: 1.8;
  accent-color: #8c5e3c; /* 高橋工務店っぽいブラウン系 */
}

/* テキストエリア高さ調整 */
.wpcf7-form textarea {
  min-height: 150px;
  font-family: sans-serif;
}

/* インプットのフォント統一（念のため） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"] {
  font-family: sans-serif;
}



@media (max-width: 991px) {

  .site-header-logo img {
    max-width: 220px; /* ← 好みで調整（120〜160くらい） */
    height: auto;
	}

	#footer {
	padding: 15px 0;
	margin: 0 !important;
	}

.site-body {
	width:100%;
	height: auto;
	min-height: auto;
}

  /*.site-body-container,*/
  /*.main-section,*/
  .site-footer {
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
	background-color: #333 !important;
  }

	/*モバイルレイアウト時にスライダーを縦長に*/
	#n2-ss-3 .n2-ss-slider-3 {
    min-height: 520px !important;
  }

  .n-uc-pTgDfhQb07Uw {
    width: 100% !important;
    height: auto !important;
    display: flex;
    justify-content: center;
  }

  .n-uc-pTgDfhQb07Uw img {
    width: 86% !important;
    height: auto !important;
    /*aspect-ratio: 3 / 1.2 !important;*/ /* 縦長感を出す */
  }


}