@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: 180px;
		}
	}
	.is-scroll {
		.p-header {
			.lib-header__logo img {
				width: 150px;
			}
		}
	}
}

/* スクロール後にロゴを変えるとき */
.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;
					}
				}
			}
		}
	}
}

/* ========================================
フローティングメニュー
======================================== */
.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;
		}
	}
}

/*header*/
@media print, screen and (min-width: 992px) {
#wrapper:has(.lib-header-BS02) {
    padding-top: 0;
}
}

.lib-header__outer {
z-index: 21;
}

@media print, screen and (min-width: 992px) {
.lib-header__outer {
    position: fixed;
    top: 2%;
    left: 50%;
    width: 100%;
    max-width: calc(1120px + .75rem * 2);
    transform: translateX(-50%);
}

.lib-header__outer.lib-header-BS02 .lib-induce__outer {
    top: 25%;
}
	
	.lib-nav__outer>*~* {
    margin-left: 20px;
    margin-right: 20px;
}
	
	.lib-nav__panel:has(.lib-induce__outer) {
    padding-right: 275px;
}
	
	.lib-header__outer.lib-header-BS02 .lib-induce__outer {
    height: 40px;
}
	
	.lib-header__outer {
    height: 80px;
}
	
	.is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__outer {
    height: 40px;
		top: 17%;
}
}

.lib-nav__outer .lib-induce__outer:has(>li:nth-child(1):nth-last-child(1)) .lib-induce__btn .txt {
    font-size: 0.88rem;
}

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

.lib-nav__list {
    border-bottom: none;
    box-shadow: none;
}

.lib-menu__btn {
    border: var(--MAIN) 2px solid;
    width: 75px;
    height: 75px;
    border-radius: 0 0 0 20px;
}

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

@media print, screen and (max-width: 475px) {
.lib-footer__utility {
	max-width: 350px;
}
}

.lib-footer__logo {
    width: 200px;
}

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

/* ========================================
TOP
======================================== */
/*mv*/
/* FV全体の高さ確保 */
.lib-fv-custom {
    min-height: 100vh;
    background-color: #fff;
}

/* z-indexの整理 */
.z-index-5 { z-index: 5; }
.z-index-10 { z-index: 10; }
.pointer-events-none { pointer-events: none; }

/* 四つ角の画像サイズ調整 */
.decor-corner01 {
    width: 100%; /* 画面サイズに合わせて調整 */
    max-width: 500px;
    height: auto;
}

.decor-corner02 {
    width: 100%; /* 画面サイズに合わせて調整 */
    max-width: 400px;
    height: auto;
}

/* 中央の背景白丸 */
.fv-white-circle {
    width: 90vw;
    max-width: 1000px;
    height: auto;
    opacity: 0.9;
}

/* テキストカラーの微調整 */
.text-info {
    color: #00b1cd !important;
	font-size: clamp( 3.625rem, calc( 3.320945945945946rem + 1.2972972972972971vw ), 4.375rem );
}

    .display-4 {
        font-size: clamp( 2.375rem, calc( 2.02027027027027rem + 1.5135135135135136vw ), 3.25rem );
    }

@media (min-width: 1920px) {
    .fv-wifi-device {
        width: 20%;
    }
    .decor-corner01 {
    max-width: 690px;
    }
	    .decor-corner02 {
    max-width: 580px;
    }
	
	    .display-4 {
        font-size: 68px;
    }
	.text-info {
    font-size: 90px;
}
}


/* モバイル対応の微調整 */
@media (max-width: 768px) {
    .fv-wifi-device {
        width: 20%;
    }
    .decor-corner01 {
    max-width: 300px;
    }
	    .decor-corner02 {
    max-width: 200px;
    }
}



/* 中央のベース要素（白丸背景） */
.fv-content-base {
    width: 100%;
    max-width: 900px; /* 最大幅を指定 */
    min-height: 700px; /* 必要に応じて最小高さを確保 */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 背景画像の設定 */
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/mv09.png");
    background-size: contain; /* 円を要素内に収める */
    background-position: center;
    background-repeat: no-repeat;
}

/* Wi-Fiデバイスの配置調整 */
.fv-wifi-device {
    width: 100%;
    max-width: 354px;
    height: auto;
    z-index: 6;
}

.fv-wifi-device.--left {
    top: 50%;
    left: -12%; /* 白丸の外側に少しはみ出す程度に調整 */
    transform: translateY(-50%);
}
.fv-wifi-device.--right {
    top: 50%;
    right: -7%;
    transform: translateY(-50%);
}

@media (min-width: 1920px) {
.fv-wifi-device {
    max-width: 445px;
}

.fv-wifi-device.--left {
    left: -32%; /* 白丸の外側に少しはみ出す程度に調整 */
}
.fv-wifi-device.--right {
    right: -24%;
}
}

/* スマホ用の調整 */
@media (max-width: 768px) {
    .fv-content-base {
        background-size: cover; /* スマホでは円を画面いっぱいに広げるか、100% 100% に調整 */
        padding: 60px 20px;
        min-height: auto;
    }
    .fv-wifi-device {
        display: none; /* スマホで重なりが厳しい場合は非表示にするかサイズを極小に */
    }
}

@media (min-width: 1920px) {
 .mv-btn {
	min-height: 75px;
}
}

.fv-bg-img img {
	min-height: 900px;
}


/*---初月1ヶ月 無料お試しキャンペーン---*/
[class*=lib-fv]+#contents {
    padding-top: 0;
}

.egao-01 h2 {
	font-size: clamp( 2rem, calc( 1.7466216216216215rem + 1.0810810810810811vw ), 2.625rem );
}
.egao-campaign {
    position: relative !important;
    overflow: hidden; /* はみ出した楕円を隠して「くぼみ」に見せる */
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg01-scaled.png");
    background-size: cover;
    background-position: center;
    z-index: 11;
}

@media (min-width: 1500px) {
.egao-campaign {
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg01-lg-scaled.png");
}
}

@media (max-width: 425px) {
.egao-campaign {
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg01-sm.png");
}
}

/* 共通設定 */
.z-index-2 { z-index: 2; }
.max-800 { max-width: 800px; }
.max-900 { max-width: 900px; }

/* タイトルのあしらい画像 */
.campaign-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px; /* サイズ調整 */
    height: auto;
}
.deco-left { left:10px; }
.deco-right { right: 10px; }

/* スマホ表示の調整 */
@media (max-width: 768px) {
    .campaign-deco {
        width: 70px;
    }
    .deco-left {top: 0%;}
    .deco-right {top: 0%;}
    .display-5 { font-size: 1.5rem; }
}

.egao01-0 {
	font-size: clamp( 2.5rem, calc( 2.25rem + 1vw ), 3rem );
}

/*---日常も、お出かけも。もっと自由に、もっと便利に。---*/
/* タイトル横のあしらい調整 */
.deco-city {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 442px; /* PCサイズ */
    height: auto;
    z-index: -1; /* 文字に被らないように */
}
.deco-city.--left {left: 0;}
.deco-city.--right {right: 0;}

/* 円形カードのデザイン */
.egao-circle-card {
    background-color: #f6f6f6; /* 画像に近い薄グレー */
    border-radius: 50%;
    aspect-ratio: 1 / 1; /* PCで正円を維持 */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 420px; /* 大きすぎ防止 */
    transition: transform 0.3s ease;
}

.egao-circle-card:hover {
    transform: translateY(-10px);
}

.card-inner {
    padding: 10%;
    text-align: center;
}

.card-icon {
    width: 100%;
    max-width: 112px;
    height: auto;
    margin-bottom: 20px;
}

/* テキスト微調整 */
.fs-20 { font-size: 1.25rem; }
.fs-14 { font-size: 0.875rem; line-height: 1.6; }

/* SP（スマホ）レスポンシブ */
@media (max-width: 768px) {
    .deco-city {
        width: 210px;
    }
    .deco-city.--left {left: 0%;}
    .deco-city.--right {right:  0%;}
	.deco-city.--bottom {top: 110%;left: 50%;width: 100% !important;transform: translateX(-50%);}
}

@media (max-width: 767px) {
    /* スマホであしらいが邪魔なら非表示 */
    .deco-city {display: none;}
    
    .egao-circle-card {
        aspect-ratio: 1 / 1; /* 円形を解除して楕円形にする */
        border-radius: 50%; /* カプセル型 */
        padding: 50px 20px;
        max-width: 100%;
    }
    
    .card-inner {
        padding: 0;
    }
}

/*---従来のポケットWi-Fiとの違い---*/
.egao-03-bg {
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg02-scaled.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    /* 上に弧を描くためのmask (必要に応じて調整) */
    /* clip-path: ellipse(150% 100% at 50% 100%); */
}

@media (min-width: 1500px) {
.egao-03-bg {
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg02-lg-scaled.png");
}
}

@media (max-width: 425px) {
.egao-03-bg {
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg02-sm.png");
}
}

/* タイトル横のWi-Fi画像 */
.deco-wifi {
    width: 288px;
    height: auto;
    top: -90%;
    transform: translateY(-50%);
    z-index: 10;
}
.deco-wifi.--left {left: -200px;transform: translateY(-50%) rotate(-25deg);}
.deco-wifi.--right {right: -200px;transform: translateY(-50%) rotate(25deg);}

/* テーブル応用クラス --comparison */
.lib-table__02.--comparison {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    border-radius: 15px;
}

.lib-table__02.--comparison th,
.lib-table__02.--comparison td {
    padding: 20px 15px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #eee;
    background: #fff;
}

/* 比較項目の列 */
.lib-table__02.--comparison thead th:first-child,
.lib-table__02.--comparison tbody th {
    background: #e9e9e9;
    font-weight: bold;
    width: 20%;
    color: var(--DEF);
}

/* 従来のWi-Fiの列 */
.lib-table__02.--comparison td:nth-child(2),
.lib-table__02.--comparison thead th:nth-child(2) {
    background: #fff;
    width: 40%;
}
.bg-gray-md { background: #707070 !important; }

/* Drive Wi-Fi強調列 (highlight-column) */
.lib-table__02.--comparison .highlight-column {
    background: #fff;
    /* border-left: 3px solid #00b1cd !important; */
    /* border-right: 3px solid #00b1cd !important; */
    width: 40%;
    position: relative;
    /* 浮き出ているような影 */
    box-shadow: 3px 12px 15px rgba(0, 177, 205, 0.15);
    z-index: 7;
}

.lib-table__02.--comparison thead th.highlight-column {
    background: #00b1cd !important;
    border-top: 3px solid #00b1cd !important;
    border-radius: 10px 10px 0 0; /* 角を丸く */
}

.lib-table__02.--comparison tbody tr:last-child td.highlight-column {
    box-shadow: 3px 12px 15px rgba(0, 177, 205, 0.15);
    border-radius: 0 0 10px 10px;
}

/* モバイル対応 */
@media (max-width: 992px) {

	.deco-wifi {
    width: 180px;
}
	
.deco-wifi.--left {left: -20px;transform: translateY(-50%) rotate(-25deg);top: -150%;}
.deco-wifi.--right {right: -20px;transform: translateY(-50%) rotate(25deg);top: -200%;}
	
    .lib-table__02.--comparison th, 
    .lib-table__02.--comparison td {
        padding: 15px 10px;
        font-size: 14px;
    }
    .fs-22 { font-size: 1.2rem; }
}

.w-30 {
	width: 30% !important;
}

@media (min-width: 992px) {
.lib-scroll__cover {
overflow: visible;
}
}

.lib-table__02.--comparison thead th:first-child {
    border-radius: 15px 0 0 0;
}

.lib-scroll__cover {
    scrollbar-color: var(--LACC) #f5f5f5;
}

/*---------- Drive Wi-Fiが選ばれる理由 ----------*/
.egao-04 {
	background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg03-scaled.jpg");
	background-size: cover;
}

/*---------- 快適なドライブを、ここから。 ----------*/
.egao-05 {
	background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top06.jpg");
}

.egao-05 .fs-48 {
	font-size: 48px;
}
@media (max-width: 768px) {
.deco-car {
	max-width: 52px;
}

.deco-car.--left {
    left: -5% !important;
    top: 50%;
    transform: translateY(-50%);
}

.deco-car.--right {
	right: -5% !important;
	   top: 50% !important;
    transform: translateY(-50%);
}
}

/*---------- 日常のあらゆるシーンで活躍 ----------*/
.max-60 {
	max-width: 60px;
}

/*---------- ご利用用途に合わせた4つのプラン ----------*/
@media (max-width: 768px) {
.egao-07 .container {
	margin-top: -3rem;
}
}

/* カードの基本設定 */
/* カードの基本設定 */
.plan-card {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    /* 重要：カクつき防止のため、最初から3pxの透明な枠線を引いておく */
    border: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ホバー時のカードの挙動 */
.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--LACC); /* 枠線を表示 */
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* フッター（ボタンエリア）の設定 */
.plan-footer {
    position: relative;
    height: 50px; /* ボタンの高さに合わせて固定（カクつき防止） */
    margin-top: auto;
}

/* ボタン共通設定 */
.btn-select, .btn-apply {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 200px;
    white-space: nowrap;
    text-decoration: none !important; /* アンダーバー消去 */
    transition: opacity 0.3s ease; /* 滑らかな切り替え */
}

/* 選択するボタンのデザイン */
.btn-select {
background-color: transparent;
    color: var(--LACC);
    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(--LACC) 1px solid;
    -webkit-transition: .3s;
    transition: .3s;
    border-color: var(--LACC);
    pointer-events: none;
}

/* 申し込むボタンのデザイン */
.btn-apply {
    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-color: var(--MAIN);
    color: #fff !important;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* ホバー時のボタン切り替え */
.plan-card:hover .btn-select {
    opacity: 0;
    pointer-events: none;
}

.plan-card:hover .btn-apply {
    opacity: 1;
    pointer-events: auto;
}

/* その他パーツ（必要に応じて調整してください） */
.plan-title { font-weight: 900; margin-bottom: 15px; }
.plan-price { color: var(--MAIN); font-weight: 900; }
.price-num { font-size: 2.5rem; }
.plan-features { background: #fff; border-radius: 15px; padding: 20px; text-align: left; margin-bottom: 20px; flex-grow: 1; }
.price-tax { color: #989898; }

/*--------- 軽量・コンパクト。有線接続でさらに安定。-----------*/
.egao-08 {
	    background-image: url('https://egao-wifi.com/dcloud/wp-content/uploads/top-bg05-scaled.jpg');
    background-size: cover;
    background-position: center;
}

.egao-08 h2 {
	    color: var(--LMAIN);
    font-size: 1.625rem;
    line-height: 1.4;
}

.egao-08__image-box {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
	
	    background-image: url('https://egao-wifi.com/dcloud/wp-content/uploads/top11.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
.egao-08__image-box {
background-image: url('https://egao-wifi.com/dcloud/wp-content/uploads/top11-sm.png');
}
}

.egao-08__table {
    /* 最初の行の上にもドット線を入れる場合 */
    border-top: 1px dashed rgba(255, 255, 255, 0.4) !important;
    margin-top: 10px;
}

.egao-08__table tr {
    /* 各行の下にドット線を追加 */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4) !important;
}

.egao-08__table td {
    /* 文字サイズと太さの調整 */
    font-size: 0.88rem; /* 必要に応じて調整してください */
    font-weight: 400;  /* 少し太めに設定 */
    letter-spacing: 0.05em;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* レスポンシブ調整 */
@media (max-width: 991.98px) {
    .egao-08__image-box {
        min-height: auto;
        padding: 40px 20px !important;
        margin-bottom: 20px;
    }
}

.w-40 {
	width: 40% !important;
}

/*--------- ご利用までの流れ-----------*/
.egao-09-bg {
background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg06-scaled.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    /* 上に弧を描くためのmask (必要に応じて調整) */
    /* clip-path: ellipse(150% 100% at 50% 100%); */
}

@media (min-width: 1920px) {
.egao-09-bg {
background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg06-lg-scaled.png");
}
}

@media (max-width: 425px) {
.egao-09-bg {
background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top-bg06-sm.png");
}
}

/* カード基本 */
.egao-09__step-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid transparent; /* ガタつき防止 */
}

/* 3番目のカード強調（枠線） */
.egao-09__step-card.--highlight {
    border-color: var(--LACC);
}

/* 数字の円 */
.egao-09__step-num {
    background-color: var(--LACC);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* タイトル */
.egao-09__step-title {
    color: var(--LACC); /* 画像の濃い青色 */
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* 説明文 */
.egao-09__step-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: left; /* テキストは左寄せ（画像参照） */
}

/* 右上の「簡単！」ラベル */
.egao-09__step-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--LACC);
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 0 12px 0 12px; /* 右上と左下を角丸に */
}

/* モバイル時の調整 */
@media (max-width: 767.98px) {
    .egao-09__step-card {
        padding: 30px 20px;
    }
}


/*--------- よくある質問 --------- */

/* 親要素の枠 */
.egao-10 .lib-cnt-021__outer {
    background-color: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 15px;
    padding-top: unset; /* 既存の 5px をリセット */
    border: none;
}

/* ボタン（質問）エリア */
.egao-10 .lib-cnt-021__btn {
    padding: 20px 25px 20px 85px !important; /* 左側にQアイコンのスペースを確保 */
    min-height: 80px;
    display: flex;
    align-items: center;
    background: transparent;
    width: 100%;
    text-align: left;
    border: none;
}

/* 既存の :before (Qアイコン) を画像通りに上書き */
.egao-10 .lib-cnt-021__btn:before {
    content: "Q" !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: 45px !important;
    height: 45px !important;
    background-color: #fff !important; /* 白丸 */
    color: var(--LACC) !important;    /* 水色の文字 */
    border-radius: 50% !important;
    font-size: 1.5rem !important;
    font-weight: bold;
	font-family: "Montserrat", sans-serif;
}

/* 質問文のテキスト */
.egao-10 .lib-cnt-021__btn .txt {
    font-weight: 700;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.4;
}

/* 右側の矢印アイコン */
.egao-10 .lib-cnt-021__btn::after {
    content: '';
    position: absolute;
    right: 25px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--LACC);
    border-bottom: 2px solid var(--LACC);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}

.egao-10 .lib-cnt-021__btn[aria-expanded="true"]::after {
    transform: translateY(-30%) rotate(-135deg);
}

/* 回答パネルエリア */
.egao-10 .lib-cnt-021__panel {
    padding: 0 25px 25px 25px !important; /* アイコンの縦ラインに合わせる */
    flex-direction: column;
    align-items: flex-start !important;
}

/* 既存のパネル用 :before (Aアイコン) は画像には無いため非表示に */
.egao-10 .lib-cnt-021__panel:before {
    display: none !important;
}

/* パネル内の区切り線 */
.egao-10 .lib-cnt-021__panel .lib-txt__outer {
    width: 100%;
    position: relative;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0; /* 質問との間の線 */
}

.egao-10 .lib-txt__outer p {
    margin-bottom: 0;
    line-height: 1.8;
    color: #333;
    font-size: 0.95rem;
}

/* モバイル対応 */
@media (max-width: 767.98px) {
    .egao-10 .lib-cnt-021__btn {
        padding: 15px 45px 15px 65px !important;
    }
    .egao-10 .lib-cnt-021__btn:before {
        width: 35px !important;
        height: 35px !important;
        left: 15px !important;
        font-size: 1.2rem !important;
    }
    .egao-10 .lib-cnt-021__panel {
        padding: 0 20px 20px 20px !important; /* スマホではテキストを広く */
    }
    .egao-10 .lib-cnt-021__btn .txt {
        font-size: 0.95rem;
    }
}

.lib-toggle__btn[aria-expanded]>.txt:after, .lib-toggle__btn[aria-expanded]>.txt:before {
display: none;
}

@media print and (hover: hover) and (pointer: fine), screen and (min-width: 768px) and (hover: hover) and (pointer: fine) {
.lib-toggle__btn[aria-expanded]:hover {
    background-color: var(--LACC);
    border-radius: 12px;
}
}

/*--------- 快適なドライブを、ここから。02 --------- */
.egao-11 {
	background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/top16.jpg");
}

.egao-11 .fs-48 {
	font-size: 48px;
}



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




/* ============================================================
   ITSUKI LP — SP MV / ハンバーガーメニュー 微調整 (2026-04-20)
   追記先: dcms_media/other/custom.css の末尾
   ============================================================ */

/* === 全画面共通 === */
/* ハンバーガー/×ボタンの枠・アウトラインを削除 */
.lib-menu__btn {
    border: none !important;
    outline: none !important;
}
/* 三本線を太く長く（Figma準拠） */
.lib-menu__btn .line {
    height: 3px !important;
    width: 50% !important;
}
/* Wi-Fi端末画像を常に最前面（PC含む、四つ角装飾より手前に） */
.fv-wifi-device {
    z-index: 999 !important;
    filter: drop-shadow(0 2px 4px rgba(0, 50, 100, 0.15)) !important;
}

/* === SP限定（max-width:992px） === */
@media (max-width: 992px) {
    /* ハンバーガー/×ボタン → アクセント青 */
    .lib-menu__btn { background-color: var(--ACC) !important; }
    .lib-menu__btn:hover,
    .lib-menu__btn:focus-visible { background-color: #004e87 !important; }

    /* メニューパネル背景 → 薄水色 */
    .lib-nav__panel,
    .lib-nav__panel .lib-nav__cover { background-color: #dff3fb !important; }

    /* メニュー項目：中央揃え・区切り線なし */
    .lib-nav__list { padding: 32px 0 12px !important; }
    .lib-nav__item {
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    .lib-nav__item + .lib-nav__item { margin-top: 8px !important; }
    .lib-nav__btn {
        justify-content: center !important;
        text-align: center !important;
        border: none !important;
        padding: 14px 0 !important;
        color: #1a1a1a !important;
        background: transparent !important;
    }
    .lib-nav__btn::before,
    .lib-nav__btn::after { display: none !important; }
    .lib-nav__btn .txt { font-size: 16px !important; font-weight: 500 !important; }

    /* 「今すぐ申し込む」ボタン → 完全pill */
    .lib-nav__panel .lib-induce__outer {
        padding: 24px 32px 40px !important;
        text-align: center !important;
        display: block !important;
    }
    .lib-nav__panel .lib-induce__outer li {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    .lib-nav__panel .lib-induce__btn {
        border-radius: 999px !important;
        background-color: var(--MAIN) !important;
        color: #fff !important;
        min-height: 54px !important;
        padding: 14px 24px !important;
        width: 100% !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }

    /* --- MV 本体 --- */
    .lib-fv-custom { min-height: 900px !important; }
    .lib-fv-custom .fv-bg-img img {
        min-height: 900px !important;
        height: 900px !important;
    }
    .lib-fv-custom .fv-decor-layer { z-index: 3 !important; }
    .lib-fv-custom .lib-fv__txtarea { z-index: 10 !important; }

    /* 親container の幅制限を解除 */
    .lib-fv-custom .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* mv09.png 白丸を正円化、内容をflexで中央集約 */
    .lib-fv-custom .fv-content-base {
        width: 100vw !important;
        max-width: 100vw !important;
        aspect-ratio: 1 / 1 !important;
        margin: 0 auto !important;
        padding: 32px 24px !important;
        min-height: 0 !important;
        background-size: 100% 100% !important;
        background-position: center center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .lib-fv-custom .lib-card__txtarea {
        position: relative !important;
        z-index: 15 !important;
        width: 100% !important;
		justify-content: center;
    }

    /* キャンペーンバッジ（黄色） */
    .lib-fv-custom .lib-card__txtarea span.fs-18 {
        display: inline-block !important;
        padding: 5px 14px !important;
        background-color: var(--LMAIN) !important;
        border-radius: 3px !important;
        line-height: 1.4 !important;
    }
    .lib-fv-custom .lib-card__txtarea .mb-3 { margin-bottom: 0.5rem !important; }

    /* 見出し（「Wi-Fi空間」が1行に収まるサイズ） */
    .lib-fv-custom .display-4 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }

	 .fv-wifi-device {
        display: block !important;
        width: 50% !important;
        max-width: 263px !important;
        top: 35% !important;
    }
    .fv-wifi-device.--left {
      left: 0% !important;
      /* transform: translateY(-50%) !important; */
      top: 40% !important;
      transform: translateY(-50%) rotate(-25deg);
    }
    .fv-wifi-device.--right {
      right: 0% !important;
      left: auto !important;
      top: 38% !important;
      transform: translateY(-50%) rotate(36deg);
    }

    /* リードテキスト */
    .lib-fv-custom .fv-lead-text {
        margin-top: 0.5rem !important;
        margin-bottom: 0.75rem !important;
    }
	
    /* MVボタン縦並び */
    .lib-fv-custom .d-flex.justify-content-center {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 0 !important;
    }
    .lib-fv-custom .mv-btn {
        width: 100% !important;
        max-width: 240px !important;
        min-height: 44px !important;
        padding: 8px 18px !important;
    }
}

.lib-fv-custom .fv-lead-text p.fw-bold {
    font-size: 20px !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block; /*念のため追加*/
}


/* 768px以下の設定（スマホ・タブレット） */
@media screen and (max-width: 768px) {
    .lib-fv-custom .fv-lead-text p.fw-bold {
        font-size: 18px !important;
        max-width: 310px !important;
    }
}

/* 1920px以上の設定（大型モニター） */
@media screen and (min-width: 1920px) {
.lib-fv-custom .fv-lead-text p.fw-bold {
        font-size: 26px !important;
	max-width: 900px !important;
    }
}

@media (max-width: 425px) {
    /* Wi-Fi端末画像（mv07/mv08） → 見出しの左右・画面内完全表示 */
    .fv-wifi-device {
        display: block !important;
        width: 22% !important;
        max-width: 72px !important;
        top: 35% !important;
    }
    .fv-wifi-device.--left {
      left: -8% !important;
    /* transform: translateY(-50%) !important; */
    top: 25% !important;
    transform: translateY(-50%) rotate(-25deg);
    }
    .fv-wifi-device.--right {
      right: -8% !important;
    left: auto !important;
    top: 23% !important;
    transform: translateY(-50%) rotate(36deg);
    }
}

/* ============================================================
   ITSUKI LP — v14 追加微調整 (2026-04-20)
   追記先: dcms_media/other/custom.css の末尾（v13追記の後ろ）
   ============================================================ */

/* 独立した白丸レイヤ */
.lib-fv-custom .fv-white-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url("https://egao-wifi.com/dcloud/wp-content/uploads/mv09.png");
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 3;
}

/* fv-content-base から白丸背景を除去（重複表示を防ぐ） */
.lib-fv-custom .fv-content-base {
    background-image: none !important;
}

/* 四つ角の重ね順：mv02 > mv03, mv04 > mv05 */
.lib-fv-custom .fv-decor-layer img[src*="mv02.png"],
.lib-fv-custom .fv-decor-layer img[src*="mv04.png"] {
    z-index: 2 !important;
}
.lib-fv-custom .fv-decor-layer img[src*="mv03.png"],
.lib-fv-custom .fv-decor-layer img[src*="mv05.png"] {
    z-index: 1 !important;
}

/* PC時の白丸サイズ */
@media (min-width: 769px) {
    .lib-fv-custom .fv-white-circle-bg {
        width: 100%;
        max-width: 662px;
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1920px) {
    .lib-fv-custom .fv-white-circle-bg {
        max-width: 930px;
    }
}

/* SP時：白丸140vw（左右20vwずつ画面外へ）、fv-content-base 正円化解除、USB拡大 */
@media (max-width: 768px) {
    .lib-fv-custom .fv-white-circle-bg {
        width: 100vw !important;
        max-width: 100vw !important;
        aspect-ratio: 1 / 1 !important;
    }
    .lib-fv-custom .fv-content-base {
        width: 100% !important;
        max-width: 580px !important;
        aspect-ratio: auto !important;
        margin: 0 auto !important;
        padding: 24px 20px !important;
        min-height: 0 !important;
    }
    .fv-wifi-device {
        width: 28% !important;
        max-width: 95px !important;
    }
}

@media (max-width: 425px) {
  .lib-fv-custom .fv-white-circle-bg {
        width: 140vw !important;
        max-width: 140vw !important;
        aspect-ratio: 1 / 1 !important;
    }
}

@media (min-width: 1920px) {
.fv-content-base .mv-btn {
	max-width: 300px !important;
	font-size: 22px !important;
}
	
	.fv-content-base .lib-card__txtarea .bg-lmain {
	font-size: 24px !important;
}
}

/* ============================================================
   ITSUKI LP — v15 追加微調整 (2026-04-20)
   追記先: dcms_media/other/custom.css の末尾（v14追記の後ろ）
   ============================================================ */

/* fv-content-base（テキスト・ボタン）を fv-decor-layer（四つ角）より前面に（PC/SP共通） */
.lib-fv-custom .lib-fv__txtarea {
    z-index: 20 !important;
}
.lib-fv-custom .fv-content-base {
    position: relative !important;
    z-index: 5 !important;
}

/* SP時 Wi-Fi端末画像 150px へ拡大 */
@media (max-width: 768px) {
    .fv-wifi-device {
        width: 40% !important;
        max-width: 150px !important;
    }
}

/* ============================================================
   ITSUKI LP — v16 追加微調整 (2026-04-20)
   追記先: dcms_media/other/custom.css の末尾
   目的: fv-decor-layer (四つ角) の z-index を 3 に下げて、
         .lib-fv__txtarea (z:20) より確実に背面になるようにする
   ============================================================ */

.lib-fv-custom .fv-decor-layer {
    z-index: 4 !important;
}

:where(a):has(.txt):where(:where(a):has(.txt)[target=_blank]) :where(.txt):after {
    color: var(--WHT);
}

:where(:where(a)[target=_blank]):after {
    display: none;
}

:where(a):has(.txt):where(:where(a):has(.txt)[target=_blank]) :where(.txt):after {
 display: none;
}
