@charset "utf-8";
/* ============================================================
   build-brain テーマ 追加スタイル
   作成日: 2026-08-08 ／ Phase 1 SEO改善
   ------------------------------------------------------------
   ・style.css は Sass から自動生成されているため直接編集しない。
     追加・上書きはすべてこのファイルに書く。
   ・header.php で他のCSSより後に読み込むこと。
   ・更新したら header.php の ?ver= の数字を変えてキャッシュを切り替える。
   ============================================================ */


/* ============================================================
   0. フォント
   ============================================================ */
body,
table,
input,
textarea,
select,
option {
	font-family: "Noto Sans JP", Meiryo, "Hiragino Kaku Gothic ProN",
	             "ヒラギノ角ゴ ProN W3", sans-serif;
}

/* スマホでの文字サイズ自動調整を許可（style.css の none を上書き） */
body {
	-webkit-text-size-adjust: 100%;
}


/* ============================================================
   1. ヘッダーのロゴ
   （トップページのみ h1、他ページは p。見た目は同じ）
   ============================================================ */
.hLogo {
	margin-bottom: 66px;
	text-align: center;
}


/* ============================================================
   2. NEWS一覧の見出し「新着情報 / Topics」
   （旧 img/news/h2_img.png の置き換え。
     元は h2 img に margin-top:-65px が効いていたので再現する）
   ============================================================ */
#main .news h1.newsTtl {
	margin: -65px auto 26px;
	padding: 0;
	width: auto;
	border: none;
	text-align: center;
	line-height: 1.2;
}


/* ============================================================
   3. トップ「新着情報 / Topics」
   （旧 img/index/imgtext01.png の置き換え）
   ============================================================ */
#main .infoBox .ttlBox .title h2.secTtl {
	margin: 0;
	padding: 0;
	width: auto;
	border: none;
	text-align: center;
	line-height: 1.2;
}
.secTtlJa {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.42em;
	text-indent: 0.42em;
	color: #000;
}
.secTtlEn {
	display: block;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 52px;
	font-weight: 300;
	letter-spacing: 0.02em;
	color: #7A6356;
}


/* ============================================================
   4. トップ「ビルドブレインについて」
   （旧 img/index/imgtext02.png の置き換え）
   ============================================================ */
#main .free .freeBox .textBox .title h2.aboutTtl {
	margin: 0;
	padding: 0;
	width: auto;
	border: none;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.36em;
	text-align: left;
	color: #000;
}


/* ============================================================
   5. トップ「Architecture ✕ Builder ＝ BUILD BRAIN」
   （旧 img/index/imgtext03.png の置き換え）
   ============================================================ */
#main .free .freeBox .textBox .bbTagline {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: #000;
}


/* ============================================================
   6. トップ「Works」
   （旧 img/index/h2_img.png の置き換え。h2 の枠線等は既存CSSのまま）
   ============================================================ */
.worksTtl {
	display: inline-block;
	font-family: "Cormorant Garamond", "Times New Roman", serif;
	font-size: 52px;
	font-weight: 300;
	letter-spacing: 0.02em;
	line-height: 1.1;
	color: #736357;
}


/* ============================================================
   7. トップ「施工事例 ： 新築 / リフォーム」
   （旧 imgtext04.png / imgtext05.png の置き換え。
     背景の筆記体英字は装飾なので Webフォントで再現）
   ============================================================ */
#main .section h3.worksH3,
#main .none h3.worksH3 {
	position: relative;
	height: 100px;
	line-height: 100px;
	text-align: center;
	overflow: hidden;
}
.worksH3En {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Italianno", "Cormorant Garamond", cursive;
	font-size: 78px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
	color: #EFEDEB;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}
.worksH3Ja {
	position: relative;
	z-index: 1;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.34em;
	text-indent: 0.34em;
	color: #000;
}


/* ============================================================
   8. 電話番号（フッター・コンタクト）
   ============================================================ */
.comContact .tel .telLink {
	color: inherit;
	text-decoration: none;
}
.comContact .tel .telLink:hover {
	text-decoration: underline;
}

#gFooter .fInner .fTel {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
	color: #333;
}
.fTelLink {
	color: #333;
	text-decoration: none;
}
.fTelLink:hover {
	text-decoration: underline;
}
.fFax {
	display: inline-block;
	margin-left: 16px;
	font-size: 15px;
	font-weight: 400;
	color: #333;
}

/* PCではタップ発信できないためリンクを無効化 */
@media all and (min-width: 641px) {
	.fTelLink,
	.comContact .tel .telLink {
		pointer-events: none;
	}
}


/* ============================================================
   9. 不具合修正
   style.css 内で http:// の絶対パスが指定されており、
   HTTPSページからの読み込みがブロックされる可能性がある。
   ============================================================ */
@media screen and (max-width: 768px) {
	.tab_1 {
		background-image: url(../img/about/photo06_tab.png);
	}
	.tab_2 {
		background-image: url(../img/about/photo07_tab.png);
	}
}


/* ============================================================
   タブレット（641px〜768px）
   ============================================================ */
@media all and (min-width: 641px) and (max-width: 768px) {
	.hLogo {
		margin-bottom: 50px;
	}
	.hLogo img {
		width: 358px;
	}
	#main .news h1.newsTtl {
		margin: -50px 40px 22px;
	}
	.secTtlEn {
		font-size: 44px;
	}
	#main .free .freeBox .textBox .title h2.aboutTtl {
		font-size: 24px;
		letter-spacing: 0.3em;
	}
	#main .free .freeBox .textBox .bbTagline {
		font-size: 22px;
	}
	.worksTtl {
		font-size: 44px;
	}
	.worksH3En {
		font-size: 64px;
	}
	.worksH3Ja {
		font-size: 21px;
	}
}


/* ============================================================
   スマートフォン（〜640px）
   ============================================================ */
@media all and (min-width: 0) and (max-width: 640px) {
	.hLogo {
		margin-bottom: 22px;
	}
	.hLogo img {
		width: 180px;
	}

	#main .news h1.newsTtl {
		margin: -30px 15px 18px;
	}

	.secTtlJa {
		font-size: 12px;
		letter-spacing: 0.36em;
		text-indent: 0.36em;
	}
	.secTtlEn {
		font-size: 38px;
	}

	#main .free .freeBox .textBox .title h2.aboutTtl {
		font-size: 19px;
		letter-spacing: 0.24em;
	}
	#main .free .freeBox .textBox .bbTagline {
		font-size: 17px;
	}

	.worksTtl {
		font-size: 38px;
	}

	#main .section h3.worksH3,
	#main .none h3.worksH3 {
		height: 74px;
		line-height: 74px;
	}
	.worksH3En {
		font-size: 48px;
	}
	.worksH3Ja {
		font-size: 16px;
		letter-spacing: 0.22em;
		text-indent: 0.22em;
	}

	/* スマホでフッター電話番号が非表示になっていたのを解除 */
	#gFooter .fInner .tel {
		display: block;
	}
	#gFooter .fInner .fTel {
		text-align: center;
		font-size: 19px;
	}
	.fFax {
		display: block;
		margin: 4px 0 0;
	}
}


/* ============================================================
   10. 追加修正（2026-08-08）
   フッターの電話番号が既存の #gFooter a ルールに負けて
   リンク色（青・下線）で表示されていたため、詳細度を上げて上書きする。
   ============================================================ */
#gFooter .fInner .fTel a.fTelLink,
#gFooter .fInner .fTel a.fTelLink:link,
#gFooter .fInner .fTel a.fTelLink:visited {
	color: #333;
	text-decoration: none;
}
#gFooter .fInner .fTel a.fTelLink:hover {
	text-decoration: underline;
}
