/* ===============================================
   SITE HEADER
   (style.css の header 関連 CSS を統合・整理)
=============================================== */

/* ----- 共通 ----- */
body.menu-open {
	overflow: hidden;
}

/* gnav-arrow はデフォルト非表示（SP media query 内で上書き） */
.gnav-arrow {
	display: none;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 100px;
	background: #fff;
	border-bottom: 1px solid #D9D9D9;
	box-shadow: 2px 2px 10px rgb(0 0 0 / 0.1);
}

.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	padding: 0 15px;
	border-bottom: 1px solid #D9D9D9;
}

.site-header__logo {
	position: relative;
	z-index: 100;
	width: 180px;
	height: auto;
}

.site-header__logo svg {
	width: 100%;
	height: auto;
}

/* ----- お問い合わせボタン（PC・SP共通） ----- */
.header-contact {
	display: grid;
	place-content: center;
	width: 135px;
	height: 35px;
	background: #fff;
	border-radius: 70px;
	border: 1px solid #A72126;
	text-decoration: none;
	margin-right: 15px;
	transition: background-color 0.3s;
}

.header-contact span {
	color: #A72126;
	font-size: 14px;
	font-weight: 400;
	transition: color 0.3s;
}

.header-contact:hover {
	background-color: #A72126;
}

.header-contact:hover span {
	color: #fff;
}

/* ----- PC 言語切替（デフォルト非表示） ----- */
.header-lang {
	display: none;
	align-items: center;
	font-family: Roboto, sans-serif;
}

.header-lang__jp,
.header-lang__en {
	color: #b41414;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #b41414;
	font-size: 14px;
	transition: background-color 0.3s, color 0.3s;
	height: 35px;
	display: flex;
	align-items: center;
}

.header-lang__jp {
	padding: 5px 14px 5px 18px;
	border-radius: 70px 0 0 70px;
}

.header-lang__en {
	padding: 5px 12px 5px 10px;
	border-radius: 0 70px 70px 0;
}

.header-lang__jp.active,
.header-lang__en.active {
	color: #fff;
	background-color: #b41414;
}

.header-lang__en:hover {
	background-color: #F3F3F3;
}
.header-lang__jp:hover {
	background-color: #F3F3F3;
}
.header-lang__jp.active:hover {
	color: #b41414;
	background-color: #fff;
}
.header-lang__en.active:hover {
	color: #b41414;
	background-color: #fff;
}

/* ----- ハンバーガー（デフォルト非表示） ----- */
.hamburger {
	display: none;
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	z-index: 1100;
	width: 44px;
	height: 44px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.hamburger span {
	display: block;
	width: 28px;
	height: 2px;
	background-color: #A72126;
	transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}


/* ===============================================
   PC NAV (1201px 以上)
=============================================== */
@media screen and (min-width: 1201px) {

	.site-header {
		height: 147px;
	}

	.site-header__inner {
		height: 80px;
		padding: 0 19px 0 24px;
	}

	.site-header__logo {
		width: 243px;
		height: 39px;
	}

	.header-lang {
		display: flex;
	}

	/* SP専用要素を非表示 */
	.gnav__item--sp,
	.sp-nav-footer,
	.sp-lang,
	.mega__close {
		display: none;
	}

	.gnav .gnav-arrow {
		display: none;
	}

	/* PC専用要素を表示 */
	.gnav__item--pc {
		display: list-item;
	}

	/* ----- PC site-header__nav レイアウト ----- */
	.site-header__nav {
		display: block;
		position: static;
		height: auto;
		background: transparent;
		overflow: visible;
	}

	/* ----- グローバルナビ ----- */
	.gnav-scroll {
		display: block;
	}

	.gnav {
		display: flex;
		align-items: center;
		justify-content: center;
		/* gap: 48px; */
		width: 100%;
		padding: 17px 20px;
		padding-bottom: 0;
		letter-spacing: 0.14em;
		list-style: none;
		margin: 0;
	}

	.gnav__item {
		font-weight: 700;
		text-align: center;
		white-space: nowrap;
		list-style: none;
		margin-right: 48px;
	}
	.gnav__item:first-child .span {
	gap: 5px;
	}
	.gnav__item:nth-child(3) .span {
	gap: 10px;
	}
	.gnav__item:nth-child(5) .span {
	gap: 8px;
	}
	.gnav__item:nth-child(6) .span {
	gap: 11px;
	}
	.gnav__item:nth-child(7) {
	margin-right: 38px;
	}
	.gnav__item:last-child {
	margin-right: 0;
	}


	.gnav__link {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-bottom: 19px;
		font-size: 17px;
		font-weight: 400;
		color: inherit;
		text-decoration: none;
		background: none;
		border: none;
		border-bottom: 3px solid transparent;
		outline: none;
		cursor: pointer;
		transition: border-color 0.3s;
		z-index: 1002;
	}

	.gnav__link span {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 9px;
	}

	/* サブメニューあり: SVG 矢印（.gnav-arrow span は除外） */
	.gnav__link.has-mega > span:not(.gnav-arrow)::after {
		display: block;
		content: "";
		width: 13px;
		height: 8px;
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
	}

	/* サブメニューなし: 矢印なし */
	.gnav__link:not(.has-mega) span::after {
		display: none;
	}

	.gnav__link:hover,
	.gnav__link.has-mega.active {
		border-bottom: 4px solid #b41414;
	}


	/* ----- オーバーレイ ----- */
	.mega-overlay {
		display: none;
		position: fixed;
		top: 140px;
		left: 0;
		width: 100%;
		height: calc(100vh - 140px);
		background: rgba(255, 255, 255, 0.8);
		z-index: 998;
		pointer-events: none;
	}

	.mega-overlay.active {
		display: block;
	}

	/* ----- メガメニュー ----- */
	.mega {
		position: absolute;
		top: 148px;
		left: 50%;
		transform: translateX(-50%);
		display: none;
		width: 100%;
		max-width: 100%;
		background: #FBFBFB;
		z-index: 1001;
		text-align: left;
	}

	.mega.active {
		display: flex;
		padding: 0 20px;
	}

	.mega--4col {
		align-items: flex-start;
	}

	/* カバー（画像エリア）は非表示 */
	.mega__cover {
		display: none;
	}

	/* リスト本体 */
	.mega__body {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 0 29px;
		width: 100%;
		/* background: #F8F8F8; */
		padding: 60px 20px 90px;
	}

	.mega__body--4col {
		display: flex;
		justify-content: center;
		gap: 50px;
		/* padding: 30px; */
	}

	.mega__col {
		border-bottom: none;
	}

	/* 4列メニューの列スタイル */
	.mega__body--4col .mega__col {
		padding-bottom: 20px;
		padding-right: 50px;
		border-right: 1px solid #D9D9D9;
	}

	.mega__body--4col .mega__col:last-child {
		border-right: none;
		padding-right: 0;
	}

	/* 企業情報メガメニュー専用スタイル */
	.mega--company .mega__body--4col {
		flex-wrap: wrap;
		justify-content: flex-start;
		/* max-width: 1270px; */
		margin: 0 auto;
	}

	.mega--company .mega__body--4col .mega__col {
	}

	/* .mega--company .mega__body--4col .mega__col:nth-child(4n) {
		border-right: none;
		padding-right: 0;
	} */

	.mega--company .mega__heading {
		margin-bottom: 0;
	}

	/* 英語版 R&D・Sustainability: 縦線復元 */
	.english-page .mega--company:not(.mega--about-us) .mega__body--4col .mega__col:not(:last-child) {
		border-right: 1px solid #D9D9D9;
		padding-right: 50px;
	}
	/* 英語版 About Us: グリッド4列・中央寄せ */
	.english-page .mega--about-us .mega__body--4col {
		display: grid;
		grid-template-columns: repeat(4, auto);
		justify-content: center;
		gap: 50px;
	}
	.english-page .mega--about-us .mega__body--4col .mega__col {
		padding-right: 0;
		max-width: unset;
	}
	.english-page .mega--about-us .mega__body--4col .mega__col:not(:nth-child(4n)) {
		border-right: 1px solid #D9D9D9;
		padding-right: 30px;
	}
	.english-page .mega--about-us .mega__body--4col .mega__col:nth-child(4n) {
		border-right: none;
		padding-right: 0;
	}
	.english-page .mega--about-us .mega__heading {
		font-size: 20px;
	}

	/* カテゴリー見出し */
	.mega__heading {
		color: #282828;
		font-size: 20px;
		font-weight: 500;
		padding: 0;
		margin-bottom: 17px;
		border-bottom: none;
	}

	.mega__heading a {
		color: inherit;
		text-decoration: none;
		transition: color 0.3s;
	}

	.mega__heading a:hover {
		color: #A72126;
	}

	/* サブリンク */
	.mega__sub {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mega__sub li {
		border-bottom: none;
		font-size: 13px;
	}

	.mega__sub a {
		position: relative;
		display: block;
		color: #282828;
		padding: 9px 0 9px 16px;
		font-size: 16px;
		font-weight: 500;
		text-decoration: none;
		transition: .3s;
	}

	.mega__sub a:hover {
		text-decoration: underline;
		text-decoration-color: #A72126;
		text-underline-offset: 7px;
		text-decoration-thickness: 2px
	}

	.mega__sub a::after {
		display: block;
		content: "";
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%) rotate(-90deg);
		width: 10px;
		height: 7px;
	}

	/* mega__sub なしの場合の mega__body: 中央寄せ（改行時は左始まり）・padding-bottom */
	.mega__body--4col:not(:has(.mega__sub)) {
		justify-content: flex-start;
		width: fit-content;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 60px;
	}

	/* mega__sub なしの列: 右ボーダーなし・heading に三角アイコン */
	.mega__body--4col .mega__col:not(:has(.mega__sub)) {
		border-right: none;
		padding-right: 0;
	}

	.mega__body--4col .mega__col:not(:has(.mega__sub)) .mega__heading a {
		position: relative;
		padding-left: 16px;
	}

	.mega__body--4col .mega__col:not(:has(.mega__sub)) .mega__heading a::after {
		display: block;
		content: "";
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%) rotate(-90deg);
		width: 10px;
		height: 7px;
	}

	/* シンプルリスト（サブ見出しなしメニュー用） */
	.mega__body:not(.mega__body--4col) {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 0 29px;
	}

	.mega__link {
		display: block;
		padding: 16px 0;
		color: #282828;
		text-decoration: none;
		font-size: 16px;
		transition: color 0.3s;
	}

	.mega__link:hover {
		color: #A72126;
	}

	@media screen and (max-width: 1350px) {
		.english-page .mega--about-us .mega__heading {
			font-size: 16.7px;
		}
	}

}


/* ===============================================
   PC フッター (769px 以上)
=============================================== */
@media screen and (min-width: 769px) {

/* footerのスタイル */
.footer {
	border-top: 1px solid #A72126;
	border-bottom: 10px solid #A72126;
	margin-top: 0;
}
.footer__logo {
	padding: 0;
	padding-top: 34px;
	border-bottom: none;
	border-top: 1px solid #A72126;
}

.footer-nav {
	padding: 46px 0;
}
ul.footer-nav__lists {
	border-left: none;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-nav__link {
	letter-spacing: .07em;
}

.footer-sub {
	background: #fff;
	color: #000;
}

.footer-sub__link {
	color: #000;
}

.footer-sub__inner {
	background: #F8F8F8;
	display: block;
}

.footer-sub__lists {
	width: 100%;
	justify-content: center;
	gap: 70px;
}

.footer-nav__ttl {
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 30px;
	letter-spacing: 0.04em;
}

li.footer-nav__list {
	display: flex;
	align-items: center;
	padding-left: 0;
}

.footer-nav__list::before {
	display: block;
	content: "";
	width: 12px;
	height: 9px;
	background: url(../images/home/footer-arrow.svg) center center / contain;
	background-repeat: no-repeat;
	margin-right: 5px;
}

.footer-nav-inner {
	display: flex;
	/* justify-content: space-between; */
	justify-content: center;
	margin-left: 10px;
}

.col01 {
	padding-right: 3.8vw;
}
.col02,.col03,.col04 {
	padding-right: 3.54vw;
}

/* .col03 {
	padding-right: 3.3vw;

}
.col04 {
	padding-right: 3.3vw;

} */
.col05 {
	padding-right: 3.75vw;
}

.english-page .footer-nav-inner {
	justify-content: center;
	margin-left: 0;
	gap: 4%;
}
.english-page .col01,
.english-page .col02,
.english-page .col03,
.english-page .col04,
.english-page .col05 {
	padding-right: 0;
}
.english-page li.footer-nav__list a:hover {
	font-weight: normal;
	text-shadow: 0 0 .65px currentColor, 0 0 .65px currentColor;
}

.footer__inner {
	/* max-width: 1240px; */
	padding: 0 20px;
	margin: 0 auto;
}

} /* end @media min-width: 769px */


/* ===============================================
   SP/タブレット NAV (1200px 以下)
=============================================== */
@media screen and (max-width: 1200px) {

	.hamburger {
		display: flex;
	}

	/* SP メニューパネル */
	.site-header__nav {
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		height: calc(100vh - 70px);
		background: #fff;
		z-index: 1000;
		overflow-y: auto;
		display: none;
		flex-direction: column;
	}

	.site-header__nav.active {
		display: flex;
		background: #FBFBFB;
	}

	/* SP 言語切替 */
	.sp-lang {
		/* padding: 20px 16px 12px; */
	}

	.sp-lang__switcher {
		display: flex;
		border: 2px solid #A72126;
		border-radius: 40px;
		overflow: hidden;
		margin-bottom: 4px;
		width: fit-content;
		margin: 0 auto;
		margin-top: 34px;
		margin-bottom: 30px;
	}

	.sp-lang__btn {
		/* flex: 1; */
		/* text-align: center; */
		padding: 10px 35px;
		font-size: 18px;
		font-weight: 400;
		border: none;
		border-radius: 0;
		color: #A72126;
		background: #fff;
		text-decoration: none;
		transition: background-color 0.2s, color 0.2s;
	}

	.sp-lang__btn.active {
		background: #A72126;
		color: #fff;
	}

	/* SP メニューフッター */
	.sp-nav-footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 60px 16px;
		gap: 52px;
	}

	.sp-nav-footer .header-contact {
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
		height: 60px;
		background: #A72126;
		border-radius: 40px;
	}

	.sp-nav-footer .header-contact span {
		color: #fff;
		font-size: 18px;
	}

	.sp-nav-footer__privacy {
		/* font-size: 12px; */
		/* color: #333; */
	}

	.sp-nav-footer__privacy a {
		color: #7A7A7A;
		font-size: 16px;
		/* text-decoration: underline; */
	}

	/* PC専用を非表示 */
	.gnav__item--pc {
		display: none;
	}

	/* SP専用を表示 */
	.gnav__item--sp {
		display: block;
	}

	/* ナビスクロール領域（site-header__nav 内で常に表示） */
	.gnav-scroll {
		display: block;
		flex: 1;
		padding: 0 20px;
	}

	/* グローバルナビ（SP縦並び） */
	.gnav {
		display: flex;
		flex-direction: column;
		padding: 0;
		width: 100%;
		letter-spacing: 0;
		list-style: none;
		margin: 0;
	}

	.gnav__item {
		width: 100%;
		font-weight: 400;
		border-bottom: 1px solid #e5e5e5;
		list-style: none;
	}

	.gnav__item:first-child {
		border-top: none;
	}

	.gnav__item:first-child .gnav__link {
		padding-top: 20px;
	}

	/* SP ナビリンク */
	.gnav__link {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 22px 0;
		font-size: 22px;
		font-weight: 400;
		color: #282828;
		border: none;
		width: 100%;
		text-align: left;
		background: none;
		text-decoration: none;
		cursor: pointer;
		letter-spacing: 0.2em;
	}

	.gnav__link span::after {
		display: none;
	}

	.gnav__link.has-mega::before,
	.gnav__link.has-mega::after {
		display: none;
	}

	/* ▼ 矢印 */
	.gnav-arrow {
		display: inline-block;

		transition: transform 0.3s;
		margin-left: auto;
		padding-left: 8px;
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
		width: 16px;
		height: 10px;
	}

	/* .gnav__link.has-mega.active .gnav-arrow {
		transform: rotate(180deg);
	} */

	/* SP メガメニュー */
	.mega {
		position: static;
		transform: none;
		display: none;
		width: 100%;
		background: #FBFBFB;
		box-shadow: none;
	}
	.mega--company .mega__col {
		margin-top: 30px;
	}
	.mega.active {
		display: block;
	}

	.mega__cover {
		display: none;
	}

	.mega__body {
		display: block;
		padding: 20px 24px;
		background: #F3F3F3;
	}

	.mega__body--4col {
		display: block;
	}

	.mega__col--4 {
		position: static;
		margin-bottom: 0;
		top: auto;
	}

	.mega__heading {
		color: #282828;
		font-size: 20px;
		font-weight: 400;
		padding: 0 0 8px;
		border-bottom: none;
		margin-bottom: 0;
	}

	.mega__sub {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mega__col {
		margin-top: 60px;
	}

	.mega__sub li {
		border-bottom: 1px solid #C1C1C1;
		font-size: 16px;
	}
	.mega__col.mega__col--1 {
		margin-top: 0;
	}

	.mega__sub a {
		position: relative;
		display: block;
		color: #282828;
		padding: 32px 8px 32px 30px;
		text-decoration: none;
		font-weight: 500;
	}

	.mega__sub a:hover {
		color: #A72126;
	}

	.mega__sub a::after {
		display: block;
		content: "";
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
		position: absolute;
		left: 8px;
		top: 50%;
		transform: translateY(-50%) rotate(-90deg);
		width: 10px;
		height: 7px;
	}

	/* シンプルリスト */
	.mega__link {
		color: #333;
		padding: 14px 8px;
		display: block;
		text-decoration: none;
		font-size: 14px;
		border-bottom: 1px solid #ebebeb;
	}

	/* 折りたたむボタン */
	.mega__close {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 6px;
		width: 100%;
		/* padding: 14px 16px; */
		margin-top: 30px;
		background: #FBFBFB;
		border: none;
		color: #7A7A7A;
		font-size: 16px;
		cursor: pointer;
		letter-spacing: 0.05em;
		margin-bottom: 50px;
		margin-right: 20px;
	}

	.mega__close::after {
		display: block;
		content: "";
		background: url(../images/home/header-polygon.svg) center / contain no-repeat;
		/* position: absolute; */
		/* left: 8px; */
		/* top: 50%; */
		/* transform: translateY(-50%) rotate(-180deg); */
		width: 16px;
		height: 10px;
		rotate: -180deg;
	}

	.mega__close:hover {
		/* background: #e5e5e5; */
	}

} /* end @media max-width: 1200px */


/* ===============================================
   モバイル (768px 以下)
=============================================== */
@media screen and (max-width: 1128px) {

	.site-header {
		height: 70px;
	}

	.footer__inner {
		display: none;
	}

	.footer {
		padding-top: 45px;
		margin-top: 0;
		background: #F8F8F8;
		border-top: none;
		border-bottom: 5px solid #A72126;
	}

	.footer-sub__lists {
		padding: 0;
	}

	.footer__logo {
		padding-top: 0;
		border-top: none;
		border-bottom: none;
		padding-bottom: 0;
	}

	.footer__logo svg {
		width: 260px;
	}

	.footer-sub__inner {
		padding: 35px 0 25px;
	}

	.footer-sub {
		background: #F8F8F8;
	}

	.footer__copyrights {
		text-align: center;
		display: flex;
		color: #282828;
		font-size: 12px;
		letter-spacing: .07em;
		line-height: 1.7;
	}
}

/* fireproof_ventilation_molding */
.fireproof_features_item_fig.un_fs_item {
  display: block;
}
.fireproof_features_item_fig.un_fs_item .fireproof_features_item_fig_img {
  display: block;
  width: 100%;
}
