@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: 1.5rem;
	}
	> li::before {
		content: "―";
		position: absolute;
		top: 0;
		left: 0;
		color: var(--WHT);
	}
}

/* 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);
}
/* 見出し"列"だけLACCENT */
:where(table.--laccent) tbody > tr > th {
	background-color: var(--LACC);
	color: var(--DEF);
}
:where(table.--laccent) tbody > tr > th:first-child {
	border-left-color: var(--LACC);
}

/* 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: 768px) {
	.fs-md-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.--main {
	-webkit-text-stroke: 0.2rem var(--MAIN);
	text-stroke: 0.2rem var(--MAIN);
	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);
}
.w-30{
	width: 30%;
}
/*---------- 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;
		}
	}
}

/* ==================================
ヘッダー
===================================== */
.lib-nav__btn[aria-expanded]:after {
	margin-left: 0;
    margin-top: .3rem;
}
.lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn:before {
	margin-top: 0;
}
.lib-nav__btn>.txt:first-child:before, .lib-child__item>a .txt:last-child:before {
	display: none;
}
.lib-header__outer.typeS .lib-child__panel:before {
    left: 50%;
    transform: translateX(-50%);	
}
.lib-header__outer.typeS .lib-child__panel {
	margin-left:0;
}
@media print, screen and (min-width: 992px) {
	.lib-header__outer.lib-header-BS02.typeS .lib-child__panel {
        top: 74px;
    }
.lib-nav__btn[aria-expanded=true]:after {
	display: none;
}
}

/* ========================================
フローティングメニュー
======================================== */
.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:  var(--WHT);
}
.lib-footer__outer.lib-footer-BS01 .lib-footer__utility, .lib-footer__copyright {
	background-color:  transparent;
}
.lib-footer__title a, .lib-footer__guidance a {
	color: var(--WHT);
}
.lib-footer__title a:hover {
	color: var(--LACC);
}
.lib-footer__item a {
	display: flex;
	flex-direction: column;
}
.lib-footer__title {
    margin-top: 15px;
}
.lib-footer__outer.lib-footer-BS01 .lib-footer__copyright {
        margin-top: 0;
    }
@media print, screen and (max-width: 767px) {
	.lib-footer__title a {
		align-items: start;
	}
	
}

/* ========================================
TOP
======================================== */
/*---------- COMMON ----------*/
@media print, screen and (min-width: 768px) {
	:where(.lib-link__btn) {
		min-height: 60px;
	}	
}
:where(h1,h2,h3,h4,h5,h6) {
	letter-spacing: normal;
}
.grad-text {
	background: linear-gradient(to right, var(--MAIN) 0%, var(--ACC) 50%, var(--MAIN) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text.--wh {
	background: linear-gradient(to right, var(--WHT) 0%, rgba(255, 255, 255, .8) 50%, var(--WHT) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.main-title {
	font-size: clamp( 3.75rem, calc( 2.5rem + 5vw ), 6.25rem );	
}
.max-none {
	max-width: none;
}

/*---------- MV/news ----------*/
.p-mv .main-title {
	font-size: clamp( 2rem, calc( 1.25rem + 5vw ), 5rem );
}
.p-mv .lib-fv__thumb {
	height: 80vh;
}
.p-top-news {
	position: absolute;
	width: 50%;
	right: 0;
    bottom: -10%;
    z-index: 2;
}
.lib-link__btn.text-def:hover, .lib-rss__list .lib-rss__title:hover {
	color: var(--MAIN) !important;
}
.lib-rss__list .lib-rss__title {
	text-decoration: none;
}

@media only screen and (max-width: 991px) {
	.p-top-news {
		width: 80%;
		right: 50%;
		transform:translatex(50%);
	}
.p-mv .lib-fv__thumb {
	height: 40vh;
}
}
@media only screen and (max-width: 767px) {
	.p-mv {
		margin-bottom: 3rem;
	}
	.p-mv .lib-fv__thumb img {
		object-position: top right !important;
	}
	.p-top-news {
		width: 90%;
		bottom: -60%;
	}
}

/*---------- project ----------*/
.p-project {
	background-color: #1A6CBC;
}
.p-project .lib-card__thumb img {
	position: relative;	
}
.p-project .lib-card__thumb .--img01 {
    margin-top: -30%;
}
.p-project .lib-card__thumb .--img01:before {
	position: absolute;
	content:"";
	width: 100%;
	height: 100%;
	bottom: -10px;
	right: 0;
	background: linear-gradient(to bottom, var(--WHT) 0%, rgba(255, 255, 255, .2) 100%);
}
.p-project .lib-card__thumb .--img02:before {
	position: absolute;
	content:"";
	width: 100%;
	height: 100%;
	bottom: -10px;
	left: 0;
	background: linear-gradient(to bottom, var(--WHT) 0%, rgba(255, 255, 255, .4) 100%);
}

/*---------- 流れる文字 ----------*/
.marquee-text {
	font-size:clamp( 6.25rem, calc( 3.125rem + 12.5vw ), 12.5rem );
	flex-shrink: 0;
	opacity: .4;
	animation: scroll-anim 40s linear infinite;
	width: max-content;
  padding-right: 3rem;
}
.marquee-text span {
	margin-right: 3rem;
}
@keyframes scroll-anim {
  0% {
    transform: translateX(0); /* 最初は元の位置からスタート */
  }
  100% {
    transform: translateX(-100%); /* 自分の幅の分だけ左に移動する */
  }
}

/*---------- achievements ----------*/
.p-achievements .lib-card__badge {
	top: 0;
	right: 0;
}
.p-achievements .lib-sld-001__item .lib-card__link {
	height: 350px;
}
.p-achievements .lib-sld-001__item .lib-card__link::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top:0;
	left:0;
	background: linear-gradient(to bottom, rgba(107, 182, 255, 0) 0%, rgba(107, 182, 255, .7) 65%, rgba(41, 70, 178, .8) 100%);	
    z-index: -1;
}
.swiper-pagination-bullet {
	border-radius: 0 !important;
}
.swiper-pagination-bullet-active {
    background-color: var(--ACC) !important;
    border-color: var(--ACC);
}
@media only screen and (max-width: 767px) {
.p-achievements .lib-sld-001__item .lib-card__link {
	height: 300px;
}
}

/*---------- service ----------*/
.ls-1 {
	letter-spacing: 1px;
}
.p-service .p-link a {
	text-decoration: none;
	position: relative;
}
.p-service .p-link a:hover {
	background-color: var(--MAIN);
}
.p-service .p-link a::before, .service-title::before {
	position: absolute;
	content:"";
	color: rgba(255, 255, 255, .1);
	font-size: 6.25rem;
	font-weight: bold;
	left: 0;
	bottom: 0;
	line-height: 1;
    z-index: -1;
}
.service-title::before {
	color: var(--LACC);
	font-size: 5rem;
	bottom: 50%;
	transform: translateY(50%);
}
.p-service .p-link:first-of-type a::before, .service-title.--01::before {
	content:"01";
}
.p-service .p-link:nth-of-type(2) a::before, .service-title.--02::before {
	content:"02";
}
.p-service .p-link:nth-of-type(3) a::before, .service-title.--03::before {
	content:"03";
}
.p-service .p-link:last-of-type a::before, .service-title.--04::before {
	content:"04";
}

/* ========================================
アレンジパーツ
======================================== */
/*---------- 上下スライダー ----------*/
.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;
}


/* ========================================
下層
======================================== */
/*---------- title ----------*/
.lib-hero__outer {
	background-image: url('/wp/wp-content/uploads/common-header-scaled.jpg');
}
/*---------- title ----------*/
.p-b-title::before,
.p-b-title::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
	transform: translateY(-50%);
    width: 45%;
    height: 1px;
    background-color: var(--GRY);
}
.p-b-title::before {
    left: 0;
}
.p-b-title::after {
    right: 0;
}
/* ========================================
投稿
======================================== */
:where(.lib-pager__list)>li a.lib-link__btn {
	color: var(--WHT);
    min-width: 300px;
}
:where(.lib-pager__list)>li a.lib-link__btn:hover {
	color: var(--MAIN);
}
.media-post__pagenation .lib-pager__prev a.lib-link__btn:before {
	border-color:var(--WHT);
}
.media-post__pagenation .lib-pager__prev a.lib-link__btn:hover:before {
	border-color:var(--MAIN);
}
/*---------- ページネーション ----------*/
.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;
}

/* ========================================
2026/05/01 追加CSS
======================================== */
.lib-table__01 th {
    text-align: left !important;
}
.media-post__thumb {
	height: auto;
}