@charset "UTF-8";

:root {
	interpolate-size: allow-keywords;
	--bl: #000;
	--gray-02: #ccc;
	--grad-01: linear-gradient(90deg, var(--MAIN) 0%, var(--LMAIN) 100%);
	--grad-01-rev: linear-gradient(270deg, var(--MAIN) 0%, var(--LMAIN) 100%);
	--grad-02: linear-gradient(90deg, var(--ACC) 0%, var(--LACC) 100%);
	--grad-02-rev: linear-gradient(270deg, var(--ACC) 0%, var(--LACC) 100%);
	--grad-03: linear-gradient(90deg, var(--OTH) 0%, var(--LOTH) 100%);
	--grad-03-rev: linear-gradient(270deg, var(--OTH) 0%, var(--LOTH) 100%);
	--transition: all 0.3s ease-in-out;
	--oversize: calc((100% - 100vw) / 2);
	/* サイズの単位 ( 0.5rem = 8px )
	* https://css-notes.com/layout/typography-scaling/ */
	--s-unit: calc(1rem * 0.5); /* ≒ 8px */
	/* 単位 8 での フィボナッチ数列 */
	--s--10: var(--s-unit);
	--s--20: calc(2 * var(--s-unit));
	--s--30: calc(3 * var(--s-unit));
	--s--40: calc(5 * var(--s-unit));
	--s--50: calc(8 * var(--s-unit));
	--s--60: calc(13 * var(--s-unit));
	--s--70: calc(21 * var(--s-unit));
	--s--80: calc(34 * var(--s-unit));
	/* 例外 */
	--s--2_5: calc(0.25 * var(--s-unit));
	--s--5: calc(0.5 * var(--s-unit));
	--s--15: calc(1.5 * var(--s-unit));
}

/* ==================================
リセット・調整・ファンデーション
===================================== */
/* 高さを画像自体の高さにする */
:where(img) {
	vertical-align: bottom;
}
:where(.thumb),
:where([class*="__thumb"]) {
	vertical-align: bottom;
	background-color: unset;
}

/*---------- アクセシビリティ ----------*/
/* アイコンをスクリーンリーダーに読み上げられないようにする */
i,
[class*="material-icons"],
[class*="material-symbols"] {
	speak: none;
}

/*---------- BMパーツの調整 ----------*/
/* 疑似要素の削除 */
.no-before::before,
.no-after::after {
	content: unset !important;
}

/* スクロールした後のヘッダーのボタンの高さが変わるときにイージング */
.lib-induce__outer li:has(.lib-induce__btn) {
	transition: all 0.2s;
}

/* ボタンのアイコンを「→」に変更 */
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) > .txt::after {
content: "\ea03";
font-size: 1em;
} */

/* ボタンのアイコンに●の背景色を入れる */
/* :where(.lib-link__btn):not([class*="ico-after-"]):not([class*="ico-before-"]) {
> .txt::after {
color: var(--MAIN);
background-color: var(--WHT);
padding: 0.5em;
border-radius: 50%;
margin-top: -0.875em;
line-height: 1;
font-size: 0.675em;
transition: var(--transition);
}
&:hover > .txt::after {
color: var(--WHT);
background-color: var(--MAIN);
}
&.bg-wht > .txt::after {
color: var(--WHT);
background-color: var(--MAIN);
}
&.bg-wht:hover > .txt::after {
color: var(--MAIN);
background-color: var(--WHT);
}
&.border-accent > .txt::after {
color: var(--ACC);
}
&.border-accent:hover > .txt::after {
color: var(--WHT);
background-color: var(--ACC);
}
&.border-accent.bg-wht > .txt::after {
color: var(--WHT);
background-color: var(--ACC);
}
&.border-accent.bg-wht:hover > .txt::after {
color: var(--ACC);
background-color: var(--WHT);
}
&.border-def > .txt::after {
color: var(--DEF);
}
&.border-def:hover > .txt::after {
color: var(--WHT);
background-color: var(--DEF);
}
} */

/*---------- BMパーツのパターン増設 ----------*/
/* ①②③...のリストマーカー */
:where(.lib-indent__list).--circle > li::before {
	content: counter(ol-bullet);
	text-align: center;
	border: 1px solid var(--DEF);
	border-radius: 50%;
	font-size: 0.75em;
	line-height: 1;
	width: 1.5em;
	height: 1.5em;
	aspect-ratio: 1/1;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 0.4%;
	/* margin-top: 2px; */
}

/* ※のリストマーカー */
:where(.lib-indent__list).--asterisk {
	> li {
		padding-left: 1.8em;
		position: relative;
	}
	> li::before {
		/* counter-increment: ol-bullet; */
		content: "※";
		display: block;
		width: 2em;
		text-align: center;
		text-align: right;
		position: absolute;
		left: 0;
		top: 0;
		padding-right: 0.5em;
	}
}

/* 「―」（横線）のリストマーカー */
:where(.lib-indent__list).--line {
	> li {
		position: relative;
		padding-left: 2em;
	}
	> li::before {
		content: "―";
		position: absolute;
		top: 0;
		left: 0;
	}
}

/* table 罫線パターン */
:where(table).--border {
	> thead,
	th {
		background-color: unset;
	}
	> thead th:first-child {
		border-left-color: var(--GRY);
	}
	> thead th:last-child {
		border-right-color: var(--GRY);
	}
	th,
	td {
		border: unset;
		border: 1px solid var(--GRY);
	}
	th {
		color: var(--DEF);
	}
	tbody > tr > th:first-child {
		border-left-color: var(--GRY);
	}
}
:where(table).--border.--even {
	tbody > tr:nth-child(even) > th {
		background-color: var(--LGRY);
	}
}

/* table 下線パターン */
:where(table).--border-bottom {
	border: unset;
	th,
	> thead {
		background-color: unset;
	}
	th,
	td {
		border: unset;
		border-bottom: 1px solid var(--GRY);
	}
	th {
		color: var(--DEF);
		@media print, screen and (max-width: 767px) {
			border-top: 1px solid var(--DGRY);
			margin-top: -1px;
		}
	}
	&.--even tbody > tr:nth-child(even) > th {
		background-color: var(--LGRY);
	}
}
:where(table).--border.--even {
	tbody>tr:nth-child(even)>th {
		background-color: var(--LGRY);
	}
}

/* table 下線パターン2 見出しセルの下線はメインカラー */
:where(table).--border-bottom-main {
	border: unset;
	th,
	> thead {
		background-color: unset;
	}
	th,
	td {
		border: unset;
		border-bottom: 1px solid var(--GRY);
	}
	th {
		color: var(--DEF);
		border-bottom: 1px solid var(--MAIN);
		@media print, screen and (max-width: 767px) {
			border-top: 1px solid var(--MAIN);
			border-bottom: 1px solid var(--GRY);
			margin-top: -1px;
		}
	}
	&.--even tbody > tr:nth-child(even) > th {
		background-color: var(--LGRY);
	}
}

/* 見出し"列"だけグレー */
:where(table.--gry) tbody > tr > th {
	background-color: var(--GRY);
	color: var(--DEF);
}
:where(table.--gry) tbody > tr > th:first-child {
	border-left-color: var(--GRY);
}

/* table .lib-table__03に少し余白を入れる */
:where(.lib-table__03).--padding {
	--cell-padding: 0.5em;
	td,
	th {
		padding: var(--cell-padding);
	}
}

/* メディアのスライダーをリストにする */
/* swiper用のclassを削除or無効にした上で利用 */
.lib-blog-001.--list {
	.swiper-wrapper {
		flex-direction: column;
		.swiper-slide {
			width: 100%;
		}
	}
	.lib-media__thumb,
	.lib-media__tag,
	.lib-swiper__control,
	.lib-media__txt {
		display: none;
	}
	.lib-media__txtarea {
		display: flex;
		flex-direction: column;
		gap: 0.25em 1em;
		padding-bottom: 1em;
		border-bottom: 1px solid var(--GRY);
		@media print, screen and (min-width: 992px) {
			flex-direction: row;
			align-items: center;
		}
		.lib-media__category {
			order: 2;
		}
		.lib-media__title {
			order: 3;
		}
		.lib-media__txt {
			order: 4;
		}
		.lib-media__time {
			order: 1;
			align-items: flex-start;
			margin-top: 0;
			padding-top: 0;
			border-top: unset;
			min-height: unset;
			@media print, screen and (min-width: 992px) {
				text-wrap: nowrap;
			}
		}
	}
}
/* 「記事公開日」のみ表示させる
（「記事更新日」を非表示） */
.lib-blog-001.--list {
	.lib-media__time:has(p + p) p:nth-of-type(2),
		.lib-media__time:has(p + p) p span {
			display: none;
	}
}

/*---------- Swiper ----------*/
/* 滑らかに */
.u-swiper-liner .swiper-wrapper {
	-webkit-transition-timing-function: linear !important;
	-o-transition-timing-function: linear !important;
	transition-timing-function: linear !important;
}

/* メディアの一覧ページを3カラムにする
（15em=240px以下にしないようにする） */
/* .media-post__list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
gap: 1em;
.media-post__item {
margin-top: 0;
display: grid;
grid-template-rows: subgrid;
grid-row: span 2;
}
.media-post__thumb {
height: auto;
grid-row: 1/2;
@media print, screen and (min-width: 768px) {
width: 100%;
}
img {
object-fit: cover;
aspect-ratio: 16/9;
}
}
.media-post__inside {
grid-row: 2/3;
@media print, screen and (min-width: 768px) {
padding-left: 0;
}
.media-post__chip {
@media print, screen and (min-width: 768px) {
margin-top: 0;
}
}
}
} */

/* ==================================
タイポ
===================================== */
/*---------- font（日本語フォントが打ち消される場合に使用） ----------*/
/* @font-face{
	font-family: "Avenir"; ←任意の文字で書く
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff2') format('woff2');
	src: url('../../dcms_media/fonts/webFonts/Avenir35Light/font.woff') format('woff');
	font-weight: 300; ←読み込むフォントのデータに合わせてweight設定する（woffデータの中にweightがすべてそろっていれば記載不要）
	unicode-range: U+0030-0039, U+0041-005A, U+0061-007A, U+0021, U+003F, U+0026, U+0025, U+002C, U+002E; ←英数字 + ! ? & % , . を含める
} */
 /*↑↑↑必要に応じて記載変更↑↑↑↑*/

/*---------- font-family ----------*/
/* ゴシックとか */
.ff-notosans {
	font-family: "Noto Sans JP", sans-serif;
}
.ff-lato {
	font-family: "Lato", sans-serif;
	/* letter-spacing: 0.05rem; */
}
.ff-oswald {
	font-family: "Oswald", sans-serif;
}
.ff-poppins {
	font-family: "Poppins", sans-serif;
}
.ff-zenmarugo {
	font-family: "Zen Maru Gothic", sans-serif;
}
.ff-zenkakugo {
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.ff-montserrat {
	font-family: "Montserrat", sans-serif;
}
.ff-staatliches {
	font-family: "Staatliches", sans-serif;
}
.ff-m-plus-rounded-1c {
	font-family: "M PLUS Rounded 1c", sans-serif;
	transform: rotate(0.07deg);
}
.ff-inter {
	font-family: "Inter", sans-serif;
}
/* 明朝とか */
.ff-notoserif {
	font-family: "Noto Serif JP", serif;
}
.ff-yumincho {
	font-family: "Yu Mincho", "YuMincho", serif;
}
.ff-shippori {
	font-family: "Shippori Mincho", serif;
}
.ff-shippori-b1 {
	font-family: "Shippori Mincho B1", serif;
}

/*---------- font-weight ----------*/
.fw-600 {
	font-weight: 600 !important;
}
.fw-800 {
	font-weight: 800 !important;
}
.fw-900 {
	font-weight: 900 !important;
}

/*---------- font-size ----------*/
@media print, screen and (min-width: 992px) {
	.fs-lg-50 {
		font-size: 3.125rem;
	}
}
@media print, screen and (min-width: 992px) {
	.fs-lg-60 {
		font-size: 3.75rem;
	}
}

/* ▼clamp()を使った流体タイポグラフィの設計
* https://css-notes.com/layout/fluid-typography/
* ▼余白とタイポグラフィのスケーリング設計
* https://css-notes.com/layout/typography-scaling/
*  */
:root {
	/* 基準となるフォントサイズをclamp() で定義 */
	--fs-base: clamp( 0.875rem, calc( 0.8292682926829268rem + 0.1951219512195122vw ), 1rem );
	/* --fs-base を元にスケーリングさせる */
	--fs-5xs: calc(var(--fs-base) * (8 / 18));
	--fs-4xs: calc(var(--fs-base) * (8 / 16));
	--fs-3xs: calc(var(--fs-base) * (8 / 14));
	--fs-xxs: calc(var(--fs-base) * (8 / 12));
	--fs-xs: calc(var(--fs-base) * (8 / 10));
	--fs-sm: calc(var(--fs-base) * (8 / 9));
	--fs-md: calc(var(--fs-base) * (8 / 7));
	--fs-lg: calc(var(--fs-base) * (8 / 6));
	--fs-xl: calc(var(--fs-base) * (8 / 5));
	--fs-xxl: calc(var(--fs-base) * (8 / 4));
	--fs-3xl: calc(var(--fs-base) * (8 / 3));
	--fs-4xl: calc(var(--fs-base) * (8 / 2));
	--fs-5xl: calc(var(--fs-base) * (8 / 1));
	--fs-6xl: calc(var(--fs-base) * (8 / 0.875));
	--fs-7xl: calc(var(--fs-base) * (8 / 0.625));
}
.fs-5xs {
	font-size: var(--fs-5xs);
}
.fs-4xs {
	font-size: var(--fs-4xs);
}
.fs-3xs {
	font-size: var(--fs-3xs);
}
.fs-xxs {
	font-size: var(--fs-xxs);
}
.fs-xs {
	font-size: var(--fs-xs);
}
.fs-sm {
	font-size: var(--fs-sm);
}
.fs-base {
	font-size: var(--fs-base);
}
.fs-md {
	font-size: var(--fs-md);
}
.fs-lg {
	font-size: var(--fs-lg);
}
.fs-xl {
	font-size: var(--fs-xl);
}
.fs-xxl {
	font-size: var(--fs-xxl);
}
.fs-3xl {
	font-size: var(--fs-3xl);
}
.fs-4xl {
	font-size: var(--fs-4xl);
}
.fs-5xl {
	font-size: var(--fs-5xl);
}
.fs-6xl {
	font-size: var(--fs-6xl);
}
.fs-7xl {
	font-size: var(--fs-7xl);
}

/*---------- line-height ----------*/
:root {
	/* ハーフレディング単位 を 0.125rem ≒ 2px ( 上下合わせて ≒ 4px) とする */
	--hl-unit: calc(1em * 0.125);
	/* --hl-unit の等差にすることで、上下合わせて ≒ 4pxずつ増減する */
	--hl-xxs: calc(var(--hl-unit) * 0.5);
	--hl-xs: var(--hl-unit);
	--hl-sm: calc(var(--hl-unit) * 2);
	--hl-base: calc(var(--hl-unit) * 3);
	--hl-md: calc(var(--hl-unit) * 4);
	--hl-lg: calc(var(--hl-unit) * 5);
	--hl-xl: calc(var(--hl-unit) * 6);
}
[class*="hl-"] {
	line-height: calc(1em + var(--hl) * 2);
}
.hl-xxs {
	--hl: var(--hl-xxs);
}
.hl-xs {
	--hl: var(--hl-xs);
}
.hl-sm {
	--hl: var(--hl-sm);
}
.hl-base {
	--hl: var(--hl-base);
}
.hl-md {
	--hl: var(--hl-md);
}
.hl-lg {
	--hl: var(--hl-lg);
}
.hl-xl {
	--hl: var(--hl-xl);
}

/*---------- 縦書き ----------*/
.vertical-rl {
	writing-mode: vertical-rl;
}

/*---------- 袋文字 ----------*/
.text-hukuro {
	text-shadow: 2px 2px 1px var(--bl), -2px 2px 1px var(--bl), 2px -2px 1px var(--bl), -2px -2px 1px var(--bl), 2px 0px 1px var(--bl), 0px 2px 1px var(--bl), -2px 0px 1px var(--bl), 0px -2px 1px var(--bl);
}
.text-hukuro-wht {
	text-shadow: 2px 2px 1px var(--WHT), -2px 2px 1px var(--WHT), 2px -2px 1px var(--WHT), -2px -2px 1px var(--WHT), 2px 0px 1px var(--WHT), 0px 2px 1px var(--WHT), -2px 0px 1px var(--WHT), 0px -2px 1px var(--WHT);
}

/*---------- text-stroke ----------*/
.text-stroke {
	-webkit-text-stroke: 0.0625em var(--bl);
	text-stroke: 0.0625em var(--bl);
	paint-order: stroke;
}
.text-stroke-wht {
	-webkit-text-stroke: 0.0625em var(--WHT);
	text-stroke: 0.0625em var(--WHT);
	paint-order: stroke;
}

/*---------- text-shadow ----------*/
.text-shadow {
	text-shadow: 0px 0px 0.25em var(--bl);
}
.text-shadow-wht {
	text-shadow: 0px 0px 0.25em var(--WHT);
}

/*---------- box-decoration-break ----------*/
.decoration-break {
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

/*---------- マーカーのあしらい ----------*/
mark {
	background: linear-gradient(transparent 60%, yellow 60%);
}

/*---------- テキストをグラデーションにするベース ----------*/
.text-grad {
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	display: inline-block;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect {
	/* 縦横比はstyleでCSS変数を書き換える
	ex) style="--aspect: 2.51 / 1;" */
	--aspect: auto;
	@media print, screen and (min-width: 576px) {
		--aspect-sm: var(--aspect);
	}
	@media print, screen and (min-width: 768px) {
		--aspect-md: var(--aspect-sm);
	}
	@media print, screen and (min-width: 992px) {
		--aspect-lg: var(--aspect-md);
	}
	@media print, screen and (min-width: 1200px) {
		--aspect-xl: var(--aspect-lg);
	}
	@media print, screen and (min-width: 1400px) {
		--aspect-xxl: var(--aspect-xl);
	}

	img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		aspect-ratio: var(--aspect);
		@media print, screen and (min-width: 576px) {
			aspect-ratio: var(--aspect-sm);
		}
		@media print, screen and (min-width: 768px) {
			aspect-ratio: var(--aspect-md);
		}
		@media print, screen and (min-width: 992px) {
			aspect-ratio: var(--aspect-lg);
		}
		@media print, screen and (min-width: 1200px) {
			aspect-ratio: var(--aspect-xl);
		}
		@media print, screen and (min-width: 1400px) {
			aspect-ratio: var(--aspect-xxl);
		}
	}

	&.--4x3 img {
		aspect-ratio: 4 / 3;
	}
	&.--3x2 img {
		aspect-ratio: 3 / 2;
	}
	&.--16x9 img {
		aspect-ratio: 16 / 9;
	}
	&.--21x9 img {
		aspect-ratio: 21 / 9;
	}
	&.--1x1 img {
		aspect-ratio: 1 / 1;
	}
	&.--2x1 img {
		aspect-ratio: 2 / 1;
	}
	&.--3x1 img {
		aspect-ratio: 3 / 1;
	}
	&.--4x1 img {
		aspect-ratio: 4 / 1;
	}
	&.--8x9 img {
		aspect-ratio: 8 / 9;
	}
	&.--7x8 img {
		aspect-ratio: 7 / 8;
	}
	&.--9x16 img {
		aspect-ratio: 9 / 16;
	}
	&.--2x3 img {
		aspect-ratio: 2 / 3;
	}
	&.--3x4 img {
		aspect-ratio: 3 / 4;
	}

	/* 画像全体を枠内に入れたいとき */
	&.--contain img,
	.--contain img {
		object-fit: contain;
	}
}

/*---------- 余白 ----------*/
.u-spacing-10 {
	margin-top: var(--s--10);
}
.u-spacing-20 {
	margin-top: var(--s--20);
}
.u-spacing-30 {
	margin-top: var(--s--30);
}
.u-spacing-40 {
	margin-top: var(--s--40);
}
.u-spacing-50 {
	margin-top: var(--s--50);
}
.u-spacing-60 {
	margin-top: var(--s--60);
}
.u-spacing-70 {
	margin-top: var(--s--70);
}
.u-spacing-80 {
	margin-top: var(--s--80);
}
.u-spacing-2_5 {
	margin-top: var(--s--2_5);
}
.u-spacing-5 {
	margin-top: var(--s--5);
}
.u-spacing-15 {
	margin-top: var(--s--15);
}
.u-spacing {
	/* 余白の大きさはstyleでCSS変数を書き換える
	ex) style="--spacing: --s--40;" */
	--spacing: var(--s--10);
	@media print, screen and (min-width: 576px) {
		--spacing-sm: var(--spacing);
	}
	@media print, screen and (min-width: 768px) {
		--spacing-md: var(--spacing-sm);
	}
	@media print, screen and (min-width: 992px) {
		--spacing-lg: var(--spacing-md);
	}
	@media print, screen and (min-width: 1200px) {
		--spacing-xl: var(--spacing-lg);
	}
	@media print, screen and (min-width: 1400px) {
		--spacing-xxl: var(--spacing-xl);
	}
	margin-top: var(--spacing);
	@media print, screen and (min-width: 576px) {
		margin-top: var(--spacing-sm);
	}
	@media print, screen and (min-width: 768px) {
		margin-top: var(--spacing-md);
	}
	@media print, screen and (min-width: 992px) {
		margin-top: var(--spacing-lg);
	}
	@media print, screen and (min-width: 1200px) {
		margin-top: var(--spacing-xl);
	}
	@media print, screen and (min-width: 1400px) {
		margin-top: var(--spacing-xxl);
	}
}

/*---------- 角丸 ----------*/
[class*="u-rounded"] {
	overflow: clip;
}
.u-rounded {
	--round: 0.625em;
	border-radius: var(--round);
	@media print, screen and (min-width: 576px) {
		--round-sm: var(--round);
		border-radius: var(--round-sm);
	}
	@media print, screen and (min-width: 768px) {
		--round-md: var(--round-sm);
		border-radius: var(--round-md);
	}
	@media print, screen and (min-width: 992px) {
		--round-lg: var(--round-md);
		border-radius: var(--round-lg);
	}
	@media print, screen and (min-width: 1200px) {
		--round-xl: var(--round-lg);
		border-radius: var(--round-xl);
	}
	@media print, screen and (min-width: 1400px) {
		--round-xxl: var(--round-xl);
		border-radius: var(--round-xxl);
	}
}

.u-rounded-_25 {
	border-radius: 0.25rem !important;
}
.u-rounded-_5 {
	border-radius: 0.5rem !important;
}
.u-rounded-_75 {
	border-radius: 0.75rem !important;
}
.u-rounded-1 {
	border-radius: 1rem !important;
}
.u-rounded-1_5 {
	border-radius: 1.5rem !important;
}
.u-rounded-1_25 {
	border-radius: 1.25rem !important;
}
.u-rounded-2 {
	border-radius: 2rem !important;
}
.u-rounded-3 {
	border-radius: 3rem !important;
}

.--round-top {
	border-bottom-right-radius: unset !important;
	border-bottom-left-radius: unset !important;
}
.--round-bottom {
	border-top-right-radius: unset !important;
	border-top-left-radius: unset !important;
}
.--round-right {
	border-top-left-radius: unset !important;
	border-bottom-left-radius: unset !important;
}
.--round-left {
	border-top-right-radius: unset !important;
	border-bottom-right-radius: unset !important;
}
.--round-trans-up {
	border-top-left-radius: unset !important;
	border-bottom-right-radius: unset !important;
}
.--round-trans-down {
	border-top-right-radius: unset !important;
	border-bottom-left-radius: unset !important;
}

/*---------- はみ出させる ----------*/
.u-over {
	margin-inline: var(--oversize);
}
/* 右に */
.u-r-over {
	margin-right: var(--oversize);
}
@media print, screen and (min-width: 768px) {
	.u-r-md-over {
		margin-right: var(--oversize);
	}
}
@media print, screen and (min-width: 992px) {
	.u-r-lg-over {
		margin-right: var(--oversize);
	}
}
/* 左に */
.u-l-over {
	margin-left: var(--oversize);
}
@media print, screen and (min-width: 768px) {
	.u-l-md-over {
		margin-left: var(--oversize);
	}
}
@media print, screen and (min-width: 992px) {
	.u-l-lg-over {
		margin-left: var(--oversize);
	}
}

.u-l-over-50vw {
	width: 50vw;
	margin-left: calc((50vw - 50%) * -1);
}
.u-r-over-50vw {
	width: 50vw;
	margin-right: -50vw;
}
@media print, screen and (min-width: 768px) {
	.u-l-over-50vw-md {
		width: 50vw;
		margin-left: calc((50vw - 50%) * -1);
	}
	.u-r-over-50vw-md {
		width: 50vw;
		margin-right: -50vw;
	}
}
@media print, screen and (min-width: 992px) {
	.u-l-over-50vw-lg {
		width: 50vw;
		margin-left: calc((50vw - 50%) * -1);
	}
	.u-r-over-50vw-lg {
		width: 50vw;
		margin-right: -50vw;
	}
}
@media print, screen and (min-width: 1200px) {
	.u-l-over-50vw-xl {
		width: 50vw;
		margin-left: calc((50vw - 50%) * -1);
	}
	.u-r-over-50vw-xl {
		width: 50vw;
		margin-right: -50vw;
	}
}
@media print, screen and (min-width: 1400px) {
	.u-l-over-50vw-xxl {
		width: 50vw;
		margin-left: calc((50vw - 50%) * -1);
	}
	.u-r-over-50vw-xxl {
		width: 50vw;
		margin-right: -50vw;
	}
}

/* ========================================
パーツ
======================================== */
/*---------- アイコン（アイコンフォント想定。大きさはp-*やfs-*、個別にwidth・height指定して調整。） ----------*/
.c-icon {
	aspect-ratio: 1 / 1;
	speak: none;
	display: inline-block;
	vertical-align: bottom;
	line-height: 1;

	--icon-size: 1.5em;
	width: var(--icon-size);
	height: var(--icon-size);
	@media print, screen and (min-width: 576px) {
		--icon-size-sm: var(--icon-size);
		width: var(--icon-size-sm);
		height: var(--icon-size-sm);
	}
	@media print, screen and (min-width: 768px) {
		--icon-size-md: var(--icon-size-sm);
		width: var(--icon-size-md);
		height: var(--icon-size-md);
	}
	@media print, screen and (min-width: 992px) {
		--icon-size-lg: var(--icon-size-md);
		width: var(--icon-size-lg);
		height: var(--icon-size-lg);
	}
	@media print, screen and (min-width: 1200px) {
		--icon-size-xl: var(--icon-size-lg);
		width: var(--icon-size-xl);
		height: var(--icon-size-xl);
	}
	@media print, screen and (min-width: 1400px) {
		--icon-size-xxl: var(--icon-size-xl);
		width: var(--icon-size-xxl);
		height: var(--icon-size-xxl);
	}

	img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		speak: none;
	}

	&.--cover img {
		object-fit: cover;
	}
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
/* 余白の微調整は「gap-*」 */
.c-icon-text {
	display: grid;
	grid-template-columns: repeat(2, auto);
	column-gap: 0.75em;
	justify-content: center;
	align-items: center;

	/* アイコンだけ右寄せ */
	&.--r {
		grid-template-columns: 1fr auto;
	}
	/* アイコンだけ左寄せ */
	&.--l {
		grid-template-columns: auto 1fr;
	}
}

/*---------- レイアウト ----------*/
/* display: grid;で重ねる */
.l-overlap {
	display: grid;
	> * {
		grid-area: 1 / -1;
	}
}
#tinymce,
.editor_block {
	.l-overlap {
		> * {
			grid-area: unset !important;
			z-index: 1 !important;
			opacity: 1 !important;
		}
	}
}

/* 子要素を中央配置 */
/* 縦 */
.l-v-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* 縦横中央 */
.l-center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/*---------- 背景のベース ----------*/
/* 背景画像を敷く場合、
背景画像に各色のフィルターをかける場合
疑似要素を配置したいときのベース */
.p-bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	position: relative;
	z-index: 1;
	/* opacity（濃さ）はstyleでCSS変数を書き換える
	ex) style="--bg-opacity: 0.5;" */
	--bg-opacity: 0.3;

	/* 疑似要素のファンデーション */
	&::before,
	&::after {
		content: "";
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		z-index: -1;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center;
		border-radius: inherit;
		pointer-events: none;
		speak: none;
		opacity: var(--bg-opacity);
	}
	/* 画像の時 */
	&.--img::before,
		&.--img::after {
			z-index: 1;
	}
	/* グレースケール透明フィルター */
	&.--bl::before {
		background-color: var(--bl);
	}
	&.--def::before {
		background-color: var(--DEF);
	}
	&.--dgry::before {
		background-color: var(--DGRY);
	}
	&.--gry::before {
		background-color: var(--GRY);
	}
	&.--lgry::before {
		background-color: var(--LGRY);
	}
	&.--wh::before {
		background-color: var(--WHT);
	}
	/* メインカラーフィルター */
	&.--main::before {
		background-color: var(--MAIN);
	}
	&.--lmain::before {
		background-color: var(--LMAIN);
	}
	/* アクセントカラーフィルター */
	&.--accent::before {
		background-color: var(--ACC);
	}
	&.--laccent::before {
		background-color: var(--LACC);
	}
	/* 補助色カラーフィルター */
	&.--other::before {
		background-color: var(--OTH);
	}
	&.--lother::before {
		background-color: var(--LOTH);
	}
	/* グラデーションカラーフィルター */
	&.--grad-01::before {
		background: var(--grad-01);
	}
	&.--grad-01-rev::before {
		background: var(--grad-01-rev);
	}
	&.--grad-02::before {
		background: var(--grad-02);
	}
	&.--grad-02-rev::before {
		background: var(--grad-02-rev);
	}
	&.--grad-03::before {
		background: var(--grad-03);
	}
	&.--grad-03-rev::before {
		background: var(--grad-03-rev);
	}

	/* ぼかしフィルター
	強さはstyleでCSS変数を書き換える
	ex) style="--blur: 1em;" */
	&.--blur {
		--blur: 0.5rem;
	}
	&.--blur::after {
		backdrop-filter: blur(var(--blur));
		opacity: 1;
	}

	/* 乗算 */
	&.--multiply::before,
		&.--multiply::after {
			mix-blend-mode: multiply;
	}
}

/*---------- ホバーアクション ----------*/
.c-hover {
	transition: var(--transition);
	text-decoration: none;
	&:hover {
		text-decoration: none;
	}
	/* 背景色 */
	&.--bg-bl:hover {
		background-color: var(--bl);
	}
	&.--bg-def:hover {
		background-color: var(--DEF);
	}
	&.--bg-dgry:hover {
		background-color: var(--DGRY);
	}
	&.--bg-gry:hover {
		background-color: var(--GRY);
	}
	&.--bg-lgry:hover {
		background-color: var(--LGRY);
	}
	&.--bg-wh:hover {
		background-color: var(--WHT);
	}
	&.--bg-main:hover {
		background-color: var(--MAIN);
	}
	&.--bg-lmain:hover {
		background-color: var(--LMAIN);
	}
	&.--bg-accent:hover {
		background-color: var(--ACC);
	}
	&.--bg-laccent:hover {
		background-color: var(--LACC);
	}
	&.--bg-other:hover {
		background-color: var(--OTH);
	}
	&.--bg-lother:hover {
		background-color: var(--LOTH);
	}
	/* 動き */
	&.--up,
	.--up {
		--translate-up: -0.125rem;
		transition: var(--transition);
	}
	&.--up:hover,
		&:hover .--up {
			transform: translateY(var(--translate-up));
	}
	&.--down,
	.--down {
		--translate-down: 0.125rem;
		transition: var(--transition);
	}
	&.--down:hover,
		&:hover .--down {
			transform: translateY(var(--translate-down));
	}
	&.--right,
	.--right {
		--translate-right: 0.125rem;
		transition: var(--transition);
	}
	&.--right:hover,
		&:hover .--right {
			transform: translateX(var(--translate-right));
	}
	&.--left,
	.--left {
		--translate-left: -0.125rem;
		transition: var(--transition);
	}
	&.--left:hover,
		&:hover .--left {
			transform: translateX(var(--translate-left));
	}
	&.--scale-up,
	.--scale-up {
		--scale: scale(1.1);
		img {
			transition: var(--transition);
		}
		&:hover img {
			transform: var(--scale);
		}
	}
	/* あしらい */
	&.--underline:hover,
		&:hover .--underline {
			text-decoration: underline;
	}
	&.--opacity,
	.--opacity {
		--opacity: 0.8;
		&:hover {
			opacity: var(--opacity);
			img {
				opacity: var(--opacity);
			}
		}
	}
	/* l-overlapで重ねた要素のうち、ホバーしたら--afterが表示される */
	&.--overlap {
		.--after {
			opacity: 0;
			transition: var(--transition);
		}
		&:hover .--after {
			opacity: 1;
		}
	}
	/* 下線が伸びる */
	&.--bottom-line {
		position: relative;
		padding-bottom: min(0.5em, 5%);
		&::after {
			content: "";
			width: 0%;
			height: 2px;
			background-color: currentColor;
			position: absolute;
			bottom: -1px;
			left: 0;
			transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
		}
		&:hover::after {
			@media (hover: hover) and (pointer: fine) {
				width: 100%;
			}
		}
	}
	/* 下線が伸びる（子要素の場合） */
	.--bottom-line {
		position: relative;
		padding-bottom: min(0.5em, 5%);
		&::after {
			content: "";
			width: 0%;
			height: 2px;
			background-color: currentColor;
			position: absolute;
			bottom: -1px;
			left: 0;
			transition: 0.3s cubic-bezier(0.42, 0, 0.13, 0.99);
		}
	}
	&:hover .--bottom-line::after {
		@media (hover: hover) and (pointer: fine) {
			width: 100%;
		}
	}
	/* shadowを入れる */
	&.--shadow:hover {
		@media (hover: hover) and (pointer: fine) {
			/* box-shadow: 0 .5em 1em currentColor; */
			box-shadow: 0 0.5em 1em rgb(0 0 0 / 30%);
		}
	}
}

/* ホバーしたら下線が左から順に伸びる
（display: inline;にする必要があるので注意） */
.c-hover {
	&.--underline-chain,
	.--underline-chain {
		display: inline;
		overflow: hidden;
		background-image: linear-gradient(90deg, currentColor, currentColor);
		background-repeat: no-repeat;
		background-position: bottom 0 left 0;
		background-size: 0 1px;
		transition-duration: 0.3s;
		transition-property: background-size;
	}
}
@media (any-hover: hover) {
	.c-hover:hover {
		&.--underline-chain,
		.--underline-chain {
			background-size: 100% 1px;
		}
	}
}

/* ==================================
ヘッダー
===================================== */
/*---------- ロゴ ----------*/
/* ロゴを大きさを変えるとき */
.p-header {
	.lib-header__logo img {
		width: 200px;
	}
}
@media print, screen and (min-width: 992px) {
	.p-header {
		.lib-header__logo img {
			width: 250px;
		}
	}
	.is-scroll {
		.p-header {
			.lib-header__logo img {
				width: 200px;
			}
		}
	}
}

/* スクロール後にロゴを変えるとき */
.p-header {
	.lib-header__logo .l-overlap {
		.--before,
		.--after {
			transition: var(--transition);
		}
		.--after {
			opacity: 0;
		}
	}
}
.is-scroll {
	.p-header {
		.lib-header__logo .l-overlap {
			.--after {
				opacity: 1;
			}
		}
	}
}


/*---------- スクロール後にヘッダーの背景色を変えるとき ----------*/
/* .p-mvがhtmlの子孫要素にあれば反映される */
html:has(.p-mv) {
	#wrapper {
		padding-top: 0;
	}
	.p-header {
		&.lib-header__outer {
			transition: var(--transition);
			.lib-header__bar {
				background-color: transparent;
			}
			.lib-nav__btn > .txt::before {
				background-color: currentColor;
			}
		}
	}
	&:not(.is-scroll) {
		.p-header {
			&.lib-header__outer {
				box-shadow: unset;
				background-color: unset;
				&:has(.is-open) {
					background-color: var(--WHT);
				}
				.lib-header__logo .l-overlap {
					.--before {
						opacity: 1;
					}
					.--after {
						opacity: 0;
					}
				}
				@media print, screen and (min-width: 992px) {
					.lib-utility__item~li::before {
						background-color: var(--WHT);
					}
				}			
				@media print, screen and (min-width: 992px) {
					.lib-utility__item a:not([class*=__btn]),
					.lib-nav__btn {
						color: var(--WHT);
					}
				}
			}
		}
	}
}
html:has(.p-mv) .is-overlay {
	.p-header {
		&.lib-header__outer {
			background-color: var(--WHT);
			@media print, screen and (min-width: 992px) {
				.lib-utility__item a:not([class*=__btn]),
				.lib-nav__btn {
					color: var(--DEF);
				}
			}
		}
		.lib-header__logo .l-overlap {
			.--before {
				opacity: 0;
			}
			.--after {
				opacity: 1;
			}
		}
	}
}

@media print, screen and (max-width: 991px) {
	html:has(.p-mv) {
		.p-header {
			&.lib-header__outer {
				.lib-nav__panel.is-open,
				.lib-nav__list {
					box-shadow: unset;
				}
			}
		}
		&:not(.is-scroll) {
			.p-header {
				&.lib-header__outer {
					.lib-header__bar {
						-webkit-box-shadow: none;
						box-shadow: none;
					}
				}
			}
		}
	}
}

.lib-header__outer.lib-header-BS02 .lib-induce__btn {
    border-radius: 0.5rem!important;
}

/* ========================================
フローティングメニュー
======================================== */
.p-footer-fix {
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: repeat(2, 1fr) 4.125em;
	grid-auto-columns: auto;
	grid-template-rows: auto;
	grid-auto-rows: auto;
	align-items: center;
	gap: 0.25em;
	/* position: sticky; */
	position: fixed;
	inset: 0;
	top: auto;
	z-index: 8;
	.--radius {
		border-radius: 0.5em 0.5em 0 0 !important;
	}
}
@media only screen and (min-width: 992px) {
	.p-footer-fix {
		grid-auto-flow: row;
		grid-template-columns: auto;
		/* grid-template-rows: auto; */
		/* position: fixed; */
		top: 50vh;
		left: auto;
		right: 0;
		bottom: auto;
		transform: translateY(-50%);
		.--radius {
			border-radius: 0.5em 0 0 0.5em !important;
		}
		&:has(.vertical-rl) :where([class*=ico-])::before {
			margin-right: 0;
			margin-top: 0;
		}
	}
}
@media only screen and (max-width: 991px) {
	.p-footer-fix {
		.vertical-rl {
			writing-mode: unset;
		}
	}
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li::before {
	background-color: currentColor;
}

/* ========================================
CTA
======================================== */

/* ========================================
TOP
======================================== */

/* ========================================
アレンジパーツ
======================================== */
/*---------- 上下スライダー ----------*/
.sliderVertical {
	.slider-wrapper {
		display: grid; /* slideのmargin-bottom値を全て内包させる為 */
	}
	.thumb {
		margin-bottom: 1rem;
	}
}

@keyframes vertical-animation {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-100%);
	}
}
.sliderVertical .slider-wrapper {
	animation: vertical-animation 60s linear infinite;
}

@keyframes vertical-animation-reverse {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}
.sliderVertical.--Reverse .slider-wrapper {
	animation: vertical-animation-reverse 60s linear infinite;
}


/*---------- テキストループスライダー（CSS） ----------*/
.p-loop-text {
	width: 100vw;
	overflow: hidden;
	.p-loop-box {
		display: flex;
		.c-loop-item {
			padding-right: 15%;
			.c-loop-text {
				display: inline-block;
				white-space: nowrap;
				min-width: 100vw;
			}
		}
	}
}

/* ループアニメーション */
@keyframes loop-text {
	0% {
		transform: translateX(100%);
	}
	to {
		transform: translateX(-100%);
	}
}
@keyframes loop-text-02 {
	0% {
		transform: translateX(0);
	}
	to {
		transform: translateX(-200%);
	}
}
.p-loop-text .c-loop-item:first-child {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	will-change: transform;
	&:first-child {
		-webkit-animation: loop-text 100s -50s linear infinite;
		animation: loop-text 100s -50s linear infinite;
	}
	& + .c-loop-item {
		-webkit-animation: loop-text-02 100s linear infinite;
		animation: loop-text-02 100s linear infinite;
	}
}

/* 管理画面ではオフ */
#tinymce,
.editor_block {
	position: static !important;
	.p-loop-box {
		flex-direction: column;
		.c-loop-item {
			animation: unset;
			.c-loop-text {
				width: 100%;
			}
		}
	}
}


/*---------- 画像ループスライダー（CSS） ----------*/
.p-loop-img {
	speak: none;
	.p-loop-box {
		display: flex;
		.c-loop-img {
			display: flex;
			/* スライドの枚数 ÷ 表示させたい枚数 × 100vw */
			width: 300vw;
			@media print, screen and (min-width: 768px) {
				width: 150vw;
			}
			@media print, screen and (min-width: 992px) {
				width: 100vw;
			}
		}
	}
}

/* ループアニメーション */
@keyframes loop-img {
	0% {
		transform: translateX(100%);
	}
	to {
		transform: translateX(-100%);
	}
}
@keyframes loop-img-02 {
	0% {
		transform: translateX(0);
	}
	to {
		transform: translateX(-200%);
	}
}
.p-loop-img .c-loop-item:first-child {
	-webkit-animation: loop-img 100s -50s linear infinite;
	animation: loop-img 100s -50s linear infinite;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	will-change: transform;
}
.p-loop-img .c-loop-item + .c-loop-item {
	-webkit-animation: loop-img-02 100s linear infinite;
	animation: loop-img-02 100s linear infinite;
}

@keyframes loop-img-rev {
	0% {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(100%);
	}
}
@keyframes loop-img-02-rev {
	0% {
		transform: translateX(-200%);
	}
	to {
		transform: translateX(0%);
	}
}
.p-loop-text.--rev .c-loop-item:first-child {
	-webkit-animation: loop-img-rev 100s -50s linear infinite;
	animation: loop-img-rev 100s -50s linear infinite;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	will-change: transform;
}
.p-loop-text.--rev .c-loop-item + .c-loop-item {
	-webkit-animation: loop-img-02-rev 100s linear infinite;
	animation: loop-img-02-rev 100s linear infinite;
}

#tinymce,
.editor_block {
	position: static !important;
	.p-loop-box {
		flex-direction: column;
		.c-loop-item {
			animation: unset;
			.c-loop-img {
				width: 100%;
			}
		}
	}
}


/*---------- お知らせ ----------*/
.p-top-news {
	.l-grid {
		@media (min-width: 992px) {
			display: grid;
			/* grid-template-columns: auto 1fr; */
			grid-template-columns: 4fr 8fr;
			/* gap: 1em 10%; */
			.l-head {
				grid-area: 1 / 1 / 2 / 2;
			}
			.l-article {
				grid-area: 1 / 2 / 3 / 3;
			}
			.l-btn {
				grid-area: 2 / 1 / 3 / 2;
			}
		}
	}
}

/*---------- 施工までの流れ ----------*/
.p-top-flow {
	.col + .col {
		.lib-card__item.p-bg::before {
			background-color: var(--MAIN);
			opacity: 1;
			border-radius: unset;
			width: 3rem;
			height: 1.5rem;
			top: -2.25rem;
			left: 50%;
			transform: translateX(-50%);
			clip-path: polygon(0 0, 100% 0, 50% 100%);
		}
	}
	@media print, screen and (min-width: 768px) {
		[class*="row-cols-md-"] {
			.col + .col {
				.lib-card__item.p-bg::before {
					width: 3rem;
					height: 3rem;
					top: 50%;
					left: -2rem;
					transform: translateY(-50%);
					clip-path: polygon(0 0, 100% 47%, 0 100%);
				}
			}
		}
	}
	@media print, screen and (min-width: 992px) {
		.row-cols-lg-3 {
			.col:nth-of-type(3n + 1) {
				.lib-card__item.p-bg::before {
					display: none;
				}
			}
		}
	}
}

/*---------- 導入事例 ----------*/
.p-archive-map {
	@media print, screen and (min-width: 768px) {
		[class*="l-pin"] {
			position: absolute;
			width: 10%;
			aspect-ratio: 1/1;
			top: 0%;
			left: 0%;
			:where(.lib-link__btn.js-open-modal) {
				font-size: 1em;
				padding: 0;
				min-height: unset;
				border-radius: 50%;
				border-color: var(--WHT);
				background-color: rgb(225 225 225 / 0.9);
			}
		}
		.l-pin-01 {
			top: 10%;
			left: 47%;
		}
		.l-pin-02 {
			top: 12%;
			left: 70%;
		}
		.l-pin-03 {
			top: 31%;
			left: 72%;
		}
		.l-pin-04 {
			top: 33%;
			left: 7%;
		}
		.l-pin-05 {
			top: 55%;
			left: 15%;
		}
		.l-pin-06 {
			top: 56%;
			left: 60%;
		}
		.l-pin-07 {
			top: 59%;
			left: 40%;
		}
	}
}

/* 管理画面用 */
#tinymce .js-modal-dialog,
.editor_block .js-modal-dialog {
	display: block !important;
	position: static !important;
}
#tinymce .js-modal-dialog[class*="translate-middle"],
.editor_block .js-modal-dialog[class*="translate-middle"] {
	transform: unset !important;
}
#tinymce [class*="l-pin"],
.editor_block [class*="l-pin"] {
	position: static !important;
	width: 100%;
	aspect-ratio: unset;
	:where(.lib-link__btn.js-open-modal) {
		font-size: 1.125em;
		padding: 0.75em;
		min-height: 50px;
		border-radius: unset;
	}
}


/*---------- こんなところに ----------*/
/* ピンの配置 */
.p-where {
	[class*="l-pin"] {
		width: 5%;
		line-height: 0;
		top: 0%;
		left: 0%;
	}
	.l-pin-01 {
		top: 42%;
		left: 51%;
	}
	.l-pin-02 {
		top: 52%;
		left: 14%;
	}
	.l-pin-03 {
		top: 62%;
		left: 86%;
	}
	.l-pin-04 {
		top: 2%;
		left: 32%;
	}
}
/* モーダル */
#tinymce .js-modal-dialog,
.editor_block .js-modal-dialog {
	display: block !important;
	position: static !important;
}
#tinymce .js-modal-dialog[class*="translate-middle"],
.editor_block .js-modal-dialog[class*="translate-middle"] {
	transform: unset !important;
}
#tinymce .js-modal-dialog.container,
.editor_block .js-modal-dialog.container {
	margin-top: 0.5em !important;
}


/*---------- GSAPアニメーション用 ----------*/
.c-gsapClipIn {
	overflow: clip;
	> * {
		speak: none;
		will-change: transform;
	}
}
.c-gsapCoverIn {
	position: absolute;
	inset: 0;
	clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
	/* clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); */
	/* clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); */
	/* transition: var(--transition); */
	will-change: clip-path;
}
.c-scrollText {
	transition: transform 0.2s ease-out;
	will-change: transform;
}


/* ========================================
下層
======================================== */
/*---------- 下層MV ----------*/
/* .lib-hero__outer {
background-color: unset;

.lib-hero__title {
font-size: clamp(1.25rem, calc(0.975609756097561rem + 1.170731707317073vw), 2rem);
}
.lib-hero__title-en {
font-size: clamp(2rem, calc(1.2682926829268293rem + 3.1219512195121952vw), 4rem);
color: var(--MAIN);
font-weight: bold;
opacity: 0.2;
line-height: 1.2;
margin-bottom: -0.4em;
}
.lib-hero__title-en::first-letter {
text-transform: uppercase;
}
} */

/* ========================================
投稿
======================================== */
/*---------- ページネーション ----------*/
.p-navi {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	/* align-items: baseline; */
	align-items: center;
	gap: 0.5em;

	.page-numbers {
		min-width: 2em;
		min-height: 2em;
		text-align: center;
		line-height: 1;
		display: inline-flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		/* border: 1px solid var(--DEF); */
		border-radius: 50em;
		text-decoration: none;
		font-size: .875em;
		@media print, screen and (min-width: 768px) {
			font-size: 1em;
		}
		@media print, screen and (min-width: 1400px) {
			font-size: 1.25em;
		}
	}

	.page-numbers.current,
	a.page-numbers:hover {
		background-color: var(--MAIN);
		color: var(--WHT);
	}
	.page-numbers.prev,
	.page-numbers.next {
		border: 1px solid var(--MAIN);
	}
}


/* ========================================
Contactform - お問い合わせフォーム
======================================== */
.wpcf7-spinner {
	display: block;
	margin-inline: auto;
}

@media print, screen and (min-width: 992px) {
	.lib-header__outer.lib-header-BS02 .lib-induce__outer>li {
    width: 100%;
    max-height: 60px;
    margin-right: 28px;
}
	
.is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__outer:not(:has(li:nth-child(2)))>li {
    width: 100%;
    max-height: 50px;
}
}

/* WANHUA-FTWP 2026-06-10 ============================================
   下層ページ追加CSS (figma-to-wppage)
   ================================================================ */
/* --- 下層MV：濃紺バンド＋白文字 --- */
.lib-hero__outer.js-page-main { background-color: var(--MAIN) !important; }
.lib-hero__outer.js-page-main .lib-hero__title { color: var(--WHT); }
.c-under-mv-text-en {
	display: block; font-family: var(--fntEN); font-weight: 700;
	font-size: .95rem; letter-spacing: .1em; line-height: 1; color: var(--WHT);
	opacity: .85; margin-bottom: .5em; text-transform: uppercase;
}
/* --- 会社概要：経営理念 --- */
.p-about-philosophy { display: flex; flex-direction: column; gap: 20px; }
.p-about-philosophy__item { box-shadow: 0 0 10px rgba(0,0,0,.3); border-radius: 4px; }
.p-about-philosophy__label { color: var(--MAIN); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
/* .p-about-philosophy__label span { font-size: 14px; font-weight: 500; } */
.p-about-philosophy__text { margin: 0; line-height: 1.85; color: var(--DEF); }

.company tbody>tr>th:first-child {
    border-left-color: transparent;
}

.company th, .company>thead {
    border: none;
    background-color: transparent;
    color: var(--DEF);
    text-align: start;
    border-bottom: var(--MAIN) 1px solid;
}

.company td {
    border: none;
    border-bottom: var(--MAIN) 1px solid;
}


/* --- 会社概要：アクセスマップ --- */
.p-about-access__row { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.p-about-access__info { flex: 1 1 360px; font-size: 16px; color: var(--DEF); }
.p-about-access__addr { margin: 0 0 16px; line-height: 1.7; }
.p-about-access__tel { margin: 0 0 24px; line-height: 1.9; }
.p-about-access__train {
    padding: 20px 24px;
    border-radius: 4px;
    margin: 0;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    background-color: var(--LGRY);
}
.p-about-access__train dt { font-weight: 700; margin-bottom: 6px; }
.p-about-access__train dd { margin: 0; line-height: 1.8; }
.p-about-access__map { flex: 1 1 480px; max-width: 535px; }
.p-about-access__map iframe { width: 100%; aspect-ratio: 535/314; height: auto; display: block; }
.p-about-access__maplink { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--MAIN); }
@media (max-width: 767.98px) {
	.p-about-philosophy__item { padding: 20px; }
	.p-about-access__row { gap: 24px; }
}
/* --- 製品カテゴリページ (WANHUA-FTWP product) --- */
.p-anchor-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.p-anchor-nav .lib-link__btn { min-width: 150px; }
.p-product__row { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.p-product__main { flex: 1 1 420px; }
.p-product__desc { font-size: 16px; line-height: 1.9; color: var(--DEF); margin: 0 0 24px; }
.p-product__table { margin-bottom: 24px; }
.p-product__btn { margin-top: 4px; }
.p-product__thumb { flex: 0 0 380px; max-width: 380px; }
.p-product__thumb .ph { display: block; width: 100%; aspect-ratio: 506/272; background: #e9edf2; border-radius: 4px; }
/* 用途一覧 */
.p-usage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.p-usage__thumb { display: block; width: 100%; aspect-ratio: 3/2; background: #e9edf2; border-radius: 4px; margin-bottom: 12px; }
.p-usage__name { font-weight: 700; font-size: 18px; color: var(--MAIN); margin: 0 0 8px; }
.p-usage__desc { font-size: 14px; line-height: 1.8; color: var(--DEF); margin: 0; }
@media (max-width: 991.98px) { .p-usage__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767.98px) {
	.p-product__row { gap: 24px; }
	.p-product__thumb { flex-basis: 100%; max-width: 100%; }
	.p-usage__grid { grid-template-columns: 1fr; }
}
/* --- CONTACTバンド (WANHUA-FTWP contact-band) --- */
.p-contact-band {position: relative;padding: 120px 16px 50px;overflow: hidden;}
.p-contact-band__watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--fntEN); font-weight: 700; font-size: clamp(80px, 18vw, 200px); line-height: 1; color: rgba(0,0,0,0.05); margin: 0; pointer-events: none; white-space: nowrap; z-index: 0; }
.p-contact-band .container { position: relative; z-index: 1; }
.p-contact-band__inner { text-align: center; }
.p-contact-band__en { color: var(--MAIN); font-size: 24px; font-weight: 700; letter-spacing: .06em; margin: 0 0 8px; }
.p-contact-band__bg-en {color: rgba(109,168,255,.22);font-size: clamp( 5.625rem, calc( 2.8378378378378377rem + 11.891891891891893vw ), 12.5rem );font-weight: 700;/* letter-spacing: .06em; */margin-top: -60px;line-height: 1;}
.p-contact-band__title { font-size: clamp(28px, 4vw, 46px); font-weight: 700; line-height: 1.3; color: var(--DEF); margin: 0 0 20px; }
.p-contact-band__lead { line-height: 1.7; color: var(--DEF); margin: 0 0 32px; }
.p-contact-band__btn { display: flex; justify-content: center; }
.p-contact-band__btn .lib-link__btn { min-width: 320px; background: var(--MAIN) !important; border-color: var(--MAIN) !important; }
.p-contact-band__btn .lib-link__btn .txt { color: var(--WHT) !important; }
.p-contact-band__btn .lib-link__btn::before { color: var(--WHT) !important; }
@media (max-width: 767.98px) { .p-contact-band { padding: 76px 16px; } .p-contact-band__btn .lib-link__btn { min-width: 0; width: 100%; } }

.footerbg {
	background-image: url(/wp/wp-content/uploads/contact-bg-scaled.jpg);
}

.lib-footer__outer {
    border-top: none;
}

.lib-footer__copyright {
    background-color: transparent;
    color: var(--DEF);
}

.lib-footer__outer.lib-footer-BS01 .lib-footer__guidance a {
    color: var(--DEF);
}

.lib-footer__outer.lib-footer-BS01 .lib-footer__guidance>li~li:before {
    background-color: var(--DEF);
}
/* WANHUA-FTWP end ================================================== */

/* WANHUA-FTWP add-2 (2026-06-10) ===================================== */
/* 下層MVタイトル: 英語廃止・日本語 PC48px / SP36px */
.lib-hero__outer .lib-hero__title { font-size: 48px; }
@media (max-width: 767.98px) { .lib-hero__outer .lib-hero__title { font-size: 36px; } }
/* 用途一覧サムネ画像対応 */
.p-usage__thumb { overflow: hidden; }
.p-usage__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ================================================================== */

/* WANHUA-FTWP add-3 (2026-06-11) 用途一覧=製品同等ブロック化 + フル幅バナー ===== */
/* 用途一覧の各項目見出し: 製品(32px)よりやや小さくデザイン準拠の24px */
.p-usage-item .title { font-size: 24px; }
@media (max-width: 767.98px){ .p-usage-item .title { font-size: 20px; } }
/* 用途一覧 直前のフル幅バナー画像 (デザイン node 363:581 準拠 / 5:1) */
.p-usage__banner { position: relative; width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); height: clamp(140px, 20vw, 260px); overflow: hidden; margin-top: 56px; margin-bottom: 8px; }
.p-usage__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-usage__banner::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.45); }

.lib-form__main {
	justify-content: center;
}
/* ================================================================== */

/* ============================================================
   WANHUA-FTWP TOP (2026-06-16) — front-page.php 用 追記
   ============================================================ */

:root{
  --top-mv: url("/wp/wp-content/uploads/mv.jpg");
  --top-secbg: url("/wp/wp-content/uploads/top-about-bg.png");
	  --top-secbg-sp: url("/wp/wp-content/uploads/top-about-bg-sp.png");
}

/* ---- 共通: lib-link__btn ホバーでオレンジ反転 (全ページ共通) ---- */
.lib-link__btn:hover,
a:hover .lib-link__btn,
.lib-link__btn.bg-wht:hover,
.lib-link__btn.bg-wht.border-main:hover{
  background-color: var(--ACC) !important;
  color: var(--WHT) !important;
  border-color: var(--ACC) !important;
}
.lib-link__btn.bg-wht.border-main:hover .p-top-cta-arrow{ color:#fff; }

/* ===================== MV ===================== */
.p-top-mv{
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  background: linear-gradient(66deg, #0f2845 0%, #285d9a 100%);
  padding: 100px 0 100px;
  justify-content: end;
}
@media (max-width: 768px){
.p-top-mv{
	 min-height: 560px;
  padding: 70px 0 70px;
}
}
.p-top-mv__loop{
  position:absolute;
  left:0;
  right:0;
  top: 75%;
  transform: translateY(-50%);
  /* overflow:hidden; */
  pointer-events:none;
  z-index:1;
	text-align: center;
  /* -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); */
  /* mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); */
}

@media (max-width: 768px){
	.p-top-mv__loop{
  top: 59%;
}
}

.p-top-mv__loop-inner{/* display:inline-flex; */white-space:nowrap;/* animation: pTopLoop 30s linear infinite; */}
.p-top-mv__loop-inner span{
  font-family: font-weight:700;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing:.04em;
  color: rgba(255,255,255,.16);
  /* padding-right: 56px; */
  font-weight: bold;
}
@media (min-width: 768px){
.p-top-mv__loop-inner span{
  font-size: 52px;
}
}

@media (min-width: 992px){
.p-top-mv__loop-inner span{
  font-size: 77px;
}
}


@keyframes pTopLoop{ from{transform:translateX(0)} to{transform:translateX(-50%)} }

.p-top-mv__inner{ position:relative; z-index:2; }
.p-top-mv__en{ color:#5b93f0; font-weight:500;
  font-size: clamp(16px, 2vw, 26px); letter-spacing:.06em; margin-bottom:14px; }
.p-top-mv__title{
  color:#fff;
  font-weight:900;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height:1.42;
  letter-spacing:.03em;
  }

.p-top-mv__stats{
  position:relative;
  z-index:3;
  margin: 210px auto -337px;
  max-width: 1024px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 8px 11px rgba(0,0,0,.11);
  padding: 26px 20px;
}
.p-top-mv__stats-row{display:flex;flex-wrap:wrap;}
.p-top-stat{flex:1 1 25%;text-align:center;padding: 6px 15px 4px;position:relative;/* margin: 0 1px; */}
.p-top-stat + .p-top-stat::before{/* content:""; */position:absolute;left:0;top:14%;height:72%;width:1px;background:#e2e2e2;}
.p-top-stat__num{
  font-weight:700;
  color: var(--MAIN);
  font-size: clamp(34px, 3.6vw, 50px);
  line-height:1;
  border-bottom: 3px solid var(--MAIN);
  padding-bottom: 10px;
  }
.p-top-stat__num .u{ font-size:.34em; font-family: var(--fntBase); font-weight:700; margin-left:2px; }
.p-top-stat__num .plus{ font-size:.64em; }
.p-top-stat__label{font-size: 16px;font-weight:700;color:#333;margin-top:14px;}
@media (max-width: 575.98px){
	.p-top-stat__label{font-size: 14px;font-weight:700;color:#333;margin-top:14px;}
  .p-top-stat{ flex:1 1 50%; }
  .p-top-stat:nth-child(3)::before, .p-top-stat:nth-child(2n+1)::before{ display:none; }
  .p-top-mv__stats{margin-bottom: -288px;margin-top: 90px;}
  .p-top-about__cards{ grid-template-columns: 1fr; max-width:360px; }
  .p-top-pcard{ min-height:0; padding:18px 18px 22px; }
  .p-top-pcard__num{ font-size:60px; }
}

/* 共通: セクション見出し */
.p-top-wm{ font-weight:700; color: rgba(109,168,255,.22);
  line-height:1; letter-spacing:.02em; pointer-events:none; }
.p-top-cap{
  font-weight:700;
  color: var(--MAIN);
  font-size: clamp(18px,2vw,24px);
  letter-spacing:.08em;
  display: none;
  }
.p-top-h2{font-weight:900;color:#333;font-size: clamp(26px,3.4vw,40px);line-height:1.32;}

/* ===================== ABOUT ===================== */
.p-top-about{
  position:relative;
  overflow:hidden;
  background: var(--top-secbg) center/cover no-repeat, #fff;
  padding: 168px 0 100px;
  }
@media (max-width: 992px){
.p-top-about{
  background: var(--top-secbg-sp) center/cover no-repeat, #fff;
  }
}
.p-top-about::before{ content:""; position:absolute; inset:0; z-index:0; }
.p-top-about .container{ position:relative; z-index:2; }
.p-top-about__wm{font-size: clamp(80px,15vw,200px);position:absolute;top: -60px;left: -340px;z-index:-1;}
@media (max-width: 1800px){
.p-top-about__wm{ left:0px;}
}
.p-top-about__lead{ font-size:16px; line-height:1.85; color:#333; max-width:600px; margin-top:22px; }
.p-top-about__cards{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top:34px; max-width:620px; }
.p-top-pcard{
  background:#fff;
  border-radius:10px;
  box-shadow:5px 5px 6px rgba(158,157,157,.45);
  padding: 47px 13px 26px;
  position:relative;
  overflow:hidden;
  min-height:200px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  }
.p-top-pcard__num{
  font-weight:700;
  font-size:74px;
  line-height:1;
  color: rgba(0,68,158,.1);
  position:absolute;
  right:14px;
  bottom:6px;
  display: none;
  }
.p-top-pcard__ttl{font-weight:700;font-size: 18px;color:#333;text-align: center;margin-bottom: 10px;}
.p-top-pcard__txt{font-size: 16px;line-height:1.7;color:#333;margin-top:14px;position:relative;z-index:2;}
.p-top-about__hex{ margin-top: 10px; }

/* 六角形画像（横長ヘキサゴン） */
.p-top-hex{ position:relative; width:100%; max-width:560px; aspect-ratio: 606/540; margin-inline:auto; }
.p-top-hex__frame{ position:absolute; inset:0; transform: translate(14px,16px);
  background: var(--MAIN);
  -webkit-clip-path: polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%);
          clip-path: polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%); opacity:.92; }
.p-top-hex__img{
  position:absolute;
  inset:0;
  overflow:hidden;
  -webkit-clip-path: polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%);
  clip-path: polygon(25% 4%,75% 4%,100% 50%,75% 96%,25% 96%,0 50%);
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  }
/* About画像はユーザー調整(scale2.6/object-position)を維持しAbout専用にスコープ */
.p-top-about .p-top-hex__img img{width:100%;height:100%;object-fit:cover;display:block;scale:1;object-position:center;transition:opacity .35s ease;object-position: bottom;}
/* fix-3 (2026-06-17): App画像はwidth/height復活(共通ルール波及で消えた問題を修正) */
.p-top-app .p-top-hex__img img{width:100%;height:100%;object-fit:cover;display:block;scale:1;object-position:center;transition:opacity .35s ease;}
.position-end img {
	object-position:left;
}

/* ===================== NEWS (info) ===================== */
.p-top-info{ background:#0f2a4d; position:relative; overflow:hidden; padding: 100px 0; }
.p-top-info::after{
 content:"NEWS";
 position:absolute;
 right: 0;
 bottom: 0px;
 font-weight:700;
 font-size: clamp(100px,14vw,210px);
 color: rgba(255,255,255,.06);
 line-height:.8;
 pointer-events:none;
 }
.p-top-info .p-top-cap{color: #fff;}
.p-top-info .p-top-h2{ color:#fff; }
.p-top-info__list{ position:relative; z-index:2; }
.p-top-info__item{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 18px;
  padding: 18px 4px;
  border-bottom: none;
  }
.p-top-info__date{color: #fff;font-family: var(--fntEN);font-size: 16px;font-weight: bold;}
.p-top-info__badge{
  background: var(--MAIN);
  color:#fff;
  font-size: 14px;
  font-weight:700;
  padding: 4px 14px;
  border-radius:3px;
  }
.p-top-info__ttl{color:#fff;font-size:16px;line-height:1.6;flex:1 1 100%;font-weight: bold;text-decoration: none;}
@media (min-width:768px){ .p-top-info__ttl{ flex:1 1 auto; } }
.p-top-info__item a{ color:#fff; }
.p-top-info__item:hover .p-top-info__ttl{ color:#aecbff; }

/* ===================== PRODUCTS ===================== */
.p-top-products{ position:relative; overflow:hidden; padding: 96px 0 100px; }
.p-top-products::before{
 content:"PRODUCTS";
 position:absolute;
 top: -1px;
 right: 10%;
 /* transform:translateX(-50%); */
 font-weight:700;
 font-size: clamp(80px,12vw,170px);
 color: rgba(109,168,255,.14);
 line-height:1;
 white-space:nowrap;
 pointer-events:none;
 z-index: -1;
 }
.p-top-products__lead{text-align:center;font-size: 16px;color:#333;margin-top:16px;}
.p-top-products__grid{display:grid;grid-template-columns: repeat(4,1fr);gap: 50px;margin-top:44px;}
.p-top-product{
  display:block;
  background:#fff;
  border-radius:10px;
  box-shadow:0 4px 8px rgba(0,0,0,.16);
  padding: 40px 22px 28px;
  position:relative;
  transition: transform .3s ease, box-shadow .3s ease;
  height:100%;
  text-decoration: none;
  }
.p-top-product:hover{ transform: scale(1.05); box-shadow:0 12px 24px rgba(0,0,0,.22); }
.p-top-product__en{
 position:absolute;
 top: -18px;
 left:18px;
 background: var(--MAIN);
 color:#fff;
 font-weight:500;
 font-size: 14px;
 padding:4px 10px;
 border-radius:5px;
 }
.p-top-product__ttl{ font-weight:700; font-size:20px; color:#333; }
.p-top-product__txt{font-size: 16px;line-height:1.75;color:#333;margin-top:14px;}
@media (max-width: 991.98px){ .p-top-products__grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575.98px){ .p-top-products__grid{ grid-template-columns: 1fr; } }

/* ===================== APPLICATION ===================== */
.p-top-app{ position:relative; overflow:hidden;
  background: var(--top-secbg) center/cover no-repeat, #fff; padding: 96px 0 110px; }
.p-top-app::before{ content:""; position:absolute; inset:0; background: rgba(233,239,247,.55); z-index:0; }
.p-top-app::after{
 content:"APPLICATION";
 position:absolute;
 left: 70%;
 bottom:0px;
 transform:translateX(-50%);
 font-weight:700;
 font-size: clamp(65px,11vw,160px);
 color: rgba(109,168,255,.22);
 line-height:1;
 white-space:nowrap;
 pointer-events:none;
 z-index:0;
 }
@media (max-width: 575.98px){
	.p-top-app::after{
 left: 53%;
 }
}
.p-top-app .container{ position:relative; z-index:2; }
.p-top-app__row{ display:flex; flex-wrap:wrap; align-items:center; gap: 30px 40px; }
.p-top-app__left{ flex:1 1 44%; min-width: 280px; }
.p-top-app__right{ flex:1 1 48%; min-width: 300px; }
.p-top-app__head{ margin-bottom: 26px; }
.p-top-app__grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.p-top-app__btn{ display:flex; align-items:center; gap:12px; background: #063587; color:#fff;
  border-radius:10px; box-shadow:5px 5px 3px rgba(158,157,157,.8); padding: 0 18px; min-height:80px;
  font-weight:700; font-size:16px; text-align:left; position:relative; transition: background .3s ease, transform .3s ease; }
.p-top-app__btn:hover{ background: var(--ACC); color:#fff; transform: translateY(-2px); }
.p-top-app__btn .ico{ width:30px; height:30px; flex:0 0 30px; display:flex; align-items:center; justify-content:center; }
.p-top-app__btn .ico svg{ width:100%; height:100%; fill:none; stroke:#fff; stroke-width:1.8; }
.p-top-app__btn .arr{ margin-left:auto; width:8px; height:13px; flex:0 0 8px; }
.p-top-app__btn .arr svg{ stroke:#fff; stroke-width:2; fill:none; }
.p-top-app__name{ flex:1; line-height:1.3; }
@media (max-width: 991.98px){
  .p-top-app__left, .p-top-app__right{ flex:1 1 100%; }
  .p-top-app__left{ order:2; } .p-top-app__right{ order:1; }
}
@media (max-width: 479.98px){ .p-top-app__grid{ grid-template-columns:1fr; } }

/* ===================== 途中テキスト (market band) ===================== */
.p-top-market{ background: linear-gradient(rgba(10,26,46,.86),rgba(10,26,46,.86)), var(--top-mv) center/cover no-repeat;
  color:#fff; padding: 70px 0; }
.p-top-market__txt{ max-width: 1144px; margin-inline:auto; text-align:center;
  font-size: clamp(15px,1.5vw,18px); line-height: 2.1; font-weight:500; }
.p-top-market__txt b{ color:#7fb0ff; }
/* WANHUA-FTWP TOP end ============================================== */

/* WANHUA-FTWP TOP fix-1 (2026-06-16): SP ABOUTカード1列化(カスケード順対策) */
@media (max-width:575.98px){ .p-top-about .p-top-about__cards{ grid-template-columns:1fr !important; } }

:where(.lib-link__btn) {
    background-color: var(--MAIN);
    color: var(--WHT);
    padding: 10px;
    line-height: 1.3;
    min-height: 45px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    font-weight: 700;
    text-decoration: none!important;
    border: var(--MAIN) 2px solid;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 0.5rem !important;
    box-shadow: 6px 6px 3px rgba(0,0,0,.3);
    max-width: 360px;
    height: 60px;
}

/* WANHUA-FTWP TOP fix-2 (2026-06-17): 六角形をFigmaパスmask化(clip-path廃止) + 端ブリード */
.p-top-hex{ aspect-ratio: 690.718 / 606.218 !important; }
.p-top-hex__frame, .p-top-hex__img{ -webkit-clip-path:none !important; clip-path:none !important; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20690.718%20606.218%22%3E%3Cpath%20transform%3D%22translate%28690.718%200%29%20rotate%2890%29%22%20d%3D%22M288.109%204.01923C297.391%20-1.33975%20308.827%20-1.33974%20318.109%204.01924L591.218%20161.699C600.5%20167.058%20606.218%20176.962%20606.218%20187.679V503.038C606.218%20513.756%20600.5%20523.66%20591.218%20529.019L318.109%20686.699C308.827%20692.058%20297.391%20692.058%20288.109%20686.699L15%20529.019C5.71795%20523.66%200%20513.756%200%20503.038V187.679C0%20176.962%205.71797%20167.058%2015%20161.699L288.109%204.01923Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20690.718%20606.218%22%3E%3Cpath%20transform%3D%22translate%28690.718%200%29%20rotate%2890%29%22%20d%3D%22M288.109%204.01923C297.391%20-1.33975%20308.827%20-1.33974%20318.109%204.01924L591.218%20161.699C600.5%20167.058%20606.218%20176.962%20606.218%20187.679V503.038C606.218%20513.756%20600.5%20523.66%20591.218%20529.019L318.109%20686.699C308.827%20692.058%20297.391%20692.058%20288.109%20686.699L15%20529.019C5.71795%20523.66%200%20513.756%200%20503.038V187.679C0%20176.962%205.71797%20167.058%2015%20161.699L288.109%204.01923Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.p-top-hex__frame{transform: translate(30px,0px) !important;}
.p-top-hex__img{ box-shadow:none !important; }
@media (min-width:1440px){
  .p-top-about__hex{ position:relative; }
  .p-top-about .p-top-hex{/* max-width:none !important; */width: 100%;margin-right: calc(50% - 32vw);margin-left:auto;max-width: 504px;}
  .p-top-app__left{ position:relative; }
  .p-top-app .p-top-hex{ max-width:none !important; width:100%; margin-left: calc(50% - 32vw); }
}

@media (min-width:1500px){
	  .p-top-about .p-top-hex{max-width:none !important;width:35vw;margin-right: calc(50% - 37vw);margin-left:auto;}
	  .p-top-app .p-top-hex{ max-width:none !important; width:35vw; margin-left: calc(50% - 37vw); }


}

/* WANHUA-FTWP TOP fix-5 (2026-06-17): セクション背景画像 + 化学模様あしらい */
:root{
  --news-bg: url("/wp/wp-content/uploads/news-bg.jpg");
  --market-bg: url("/wp/wp-content/uploads/market-bg.jpg");
  --deco-mol: url("/wp/wp-content/uploads/wp-top-deco.png");
}

/* ① 製品カテゴリ + 用途から探す を同じ背景画像で囲む */
.p-top-pa{ position:relative; overflow:hidden;
  background:#fff var(--top-secbg) center/cover no-repeat; }
@media (max-width:992px){
.p-top-pa{ position:relative; overflow:hidden;
  background:#fff var(--top-secbg-sp) center/cover no-repeat; }
}


.p-top-pa > section{ position:relative; z-index:2; }
.p-top-pa > .p-top-products,
.p-top-pa > .p-top-app{ margin-left:0 !important; margin-right:0 !important; background:transparent !important; }
.p-top-pa > .p-top-app::before{ display:none !important; }
.p-top-pa > .p-top-products{ padding-bottom:100px; }
.p-top-pa > .p-top-app{ padding-top:40px; }

/* 化学模様のあしらい（分子ドットネットワーク） */
.p-top-deco{
  position:absolute;
  z-index:1;
  pointer-events:none;
   width: 100%;
  /* opacity:.55; */
  height: 100%;
  /* aspect-ratio: 2/1; */
  background:var(--deco-mol) center/contain no-repeat;
  /* opacity:.7; */
  }
.p-top-deco--tl{ top:-30%; left:0%; transform:scaleX(1); }
.p-top-deco--br{ right:0; bottom:-30%; transform: scaleX(-1) scaleY(-1); }
.p-top-deco--about{
  top: -20%;
  left:0;
  z-index:1;
  /* transform:scaleX(-1); */
  width: 100%;
  /* opacity:.55; */
  height: 100%;
  }

@media (max-width:992px){
.p-top-deco--tl{ top:-45%; left:0%; transform:scaleX(1); width: 200%; }
.p-top-deco--br{ right:0; bottom:-45%; transform: scaleX(-1) scaleY(-1); width: 200%;}
.p-top-deco--about{
  top: -40%;
  left:0;
  z-index:1;
  /* transform:scaleX(-1); */
  width: 200%;
  /* opacity:.55; */
  height: 100%;
  }
}

/* ④ 最新情報 背景画像 */
.p-top-info{
  background: var(--news-bg) center/cover no-repeat !important;
  }

/* ③ お問い合わせ上テキスト 背景差し替え + 上下余白拡大 */
.p-top-market{
  background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
  var(--market-bg) center/cover no-repeat !important;
  padding-top:112px !important;
  padding-bottom:112px !important;
  }
.p-top-market__txt b{ color:#4686ee; }
/* WANHUA-FTWP TOP fix-5 end */

/* WANHUA-FTWP TOP fix-5b (2026-06-17): あしらいspanをblock化(inlineで0サイズ化の修正) */
.p-top-deco{display: none !important;/* display: none; */}

/* WANHUA-FTWP TOP fix-6 (2026-06-18): 最新情報カテゴリバッジをリンク化した際の下線除去(見た目維持) */
.p-top-info__badge
{text-decoration:none;background-color: var(--MAIN);border: 1px solid var(--MAIN);color: var(--WHT) !important;}

.p-top-info__badge:hover{text-decoration:none;background-color: var(--ACC);border: 1px solid var(--ACC);color: var(--WHT) !important;}

/* WANHUA-FTWP TOP fix-7 (2026-06-18): 用途ボタンのアイコンをinline svg→img化に伴うサイズ調整 */
.p-top-app__btn .ico img{ width:100%; height:100%; object-fit:contain; display:block; }

@media print, screen and (min-width: 992px) {
.lib-induce__btn:hover {
    background-color: var(--ACC);
    border-color: var(--ACC);
    color: var(--WHT);
}
}
.lib-breadcrumb__outer {
    font-size: 1rem;
}

.lib-media__category .badge:hover {
    background-color: var(--ACC);
    color: var(--WHT);
    border: 1px solid var(--ACC);
}


/* ===== TOP MV 背景動画化 (2026-06-25) ===== */
.p-top-mv__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
/* .p-top-mv { overflow: hidden; } */
/* .p-top-mv::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, rgb(15 40 69) 0%, rgb(15 40 69 / 96%) 25%, rgb(15 40 69 / 14%) 62%, rgb(15 40 69 / 0%) 66%);
} */
.p-top-mv__loop  { z-index: 2; }
.p-top-mv__inner { z-index: 3; }
.p-top-mv__stats { z-index: 4; }

.mt-60 {
	margin-top: 2.8rem !important;;
}

@media print, screen and (min-width: 992px) {
.mt-60 {
	margin-top: 3.8rem !important;;
}
}
