@charset "UTF-8";
/* ==========================================================================
   リニューアルデザイン案　共通ヘッダー・フッター
   トップページ（/）と全下層ページで共有する
   ・ヘッダー（ロゴ＋ユーティリティ＋グローバルナビ）
   ・スクロール追従の固定ナビ
   ・メガメニュー
   ・フッター（biz_ren共通パーツ）の幅補正
   ========================================================================== */

/* トークン（ページ側CSSの .rt でも同値を定義しているが、
   cases のようにボディへ .rt を付けないページでも効くよう :root に置く） */
:root {
	--navy: #0c0b86;
	--orange: #e83817;
	--cta-red: #d9161b;
	--blue: #406faf;
	--ink: #000;
	--line: #c5c5c5;

	/* 可読性基準：本文16px以上／注釈14pxを下限（PC/SP共通） */
	--fs-body: 16px;
	--fs-note: 14px;
}

/* ヘッダー配下は共通のボックスモデル・余白リセットを効かせる */
.rt-header *,
.rt-fixnav *,
.rt-mega * {
	box-sizing: border-box;
}
.rt-header :where(ul, ol, p),
.rt-fixnav :where(ul, ol, p),
.rt-mega :where(ul, ol, p) {
	margin: 0;
	padding: 0;
	list-style: none;
}
/* 下層ページは既存サイトの main.css（li { margin-bottom: 16px; }）を読み込むため、
   共通パーツ内の li の余白を打ち消す（詳細度 0,1,1 で main.css の li より優先） */
.rt-header li,
.rt-fixnav li,
.rt-mega li,
.rt-wnav li,
.rt-wnav__panel li {
	margin: 0;
}
/* main.css の a:link / a:visited（詳細度 0,1,1）に負けないよう :where() は使わない。
   個別に色を持つ要素は、このリセットより高い詳細度で指定すること。 */
.rt-header,
.rt-fixnav,
.rt-mega {
	color: var(--ink);
}
.rt-header a,
.rt-fixnav a,
.rt-mega a {
	color: inherit;
	text-decoration: none;
}
/* 上のリセットより強い詳細度で個別の色を当てる */
.rt-header a.rt-header__contact {
	color: #fff;
}
.rt-mega a.rt-mega__all {
	color: var(--navy);
}
.rt-header img,
.rt-mega img {
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   ヘッダー（デザイン案の新グローバルナビ）
   ロゴ・赤い装飾はbiz_ren共通素材を流用
   -------------------------------------------------------------------------- */
.rt-header {
	position: relative;
	z-index: 3;
	height: 123px;
	background-color: rgba(255, 255, 255, 0.7);
}
.rt-header__blob {
	position: absolute;
	top: 0;
	left: 0;
	width: 363px;
	height: 200px;
	pointer-events: none;
}
/* 中央寄せのコンテナにせず画面幅いっぱいに置くことで、
   ロゴ＝左上、メニュー＝右上が、画面幅に関係なく背景装飾とズレない */
.rt-header__inner {
	position: relative;
	height: 100%;
	width: 100%;
	padding: 0 24px;
}
.rt-header__logo {
	position: absolute;
	top: 36px;
	left: 54px;
	margin: 0;
	width: 100px;
	z-index: 2;
}
.rt-header__logo img {
	display: block;
	width: 100%;
	height: auto;
}
.rt-header__util {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	padding-top: 20px;
}
.rt-header__util-link {
	font-size: var(--fs-body);
	font-weight: 500;
}
.rt-header__util-link:hover {
	text-decoration: underline;
}
/* 外部リンク（別タブ）を示すアイコン。biz_ren共通素材を流用 */
.rt-header__util-link.is-blank {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.rt-header__util-link.is-blank::after {
	content: "";
	width: 12px;
	height: 12px;
	background: url("../../common_v10/images/icn-link-blank-black.svg") no-repeat center center / contain;
}
.rt-header__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 171px;
	height: 34px;
	border-radius: 100px;
	background-color: var(--cta-red);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}
.rt-header__contact:hover {
	opacity: 0.85;
}
.rt-gnav {
	display: flex;
	justify-content: flex-end;
	gap: 34px;
	margin-top: 18px;
}
.rt-gnav__list {
	display: contents;
}
.rt-gnav__item > a,
.rt-gnav__item > .rt-gnav__item-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
}
.rt-gnav__item.has-mega > .rt-gnav__item-trigger::after {
	content: "";
	width: 10px;
	height: 5px;
	background-color: currentColor;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transition: transform 0.2s;
}
.rt-gnav__item.has-mega:hover > .rt-gnav__item-trigger::after,
.rt-gnav__item.has-mega:focus-within > .rt-gnav__item-trigger::after {
	transform: rotate(180deg);
}
.rt-gnav__item > a:hover,
.rt-gnav__item > .rt-gnav__item-trigger:hover {
	color: var(--navy);
}
/* SP・タブレット：business.jcom.co.jp と同じく、ヘッダーはロゴのみ（レビュー指摘）。
   メニューとお問い合わせは画面下部の固定メニュー（.rt-wnav）が担う。
   ヘッダーは透明にしてFVに重ね、背景画像を画面上端まで見せる */
@media (max-width: 900px) {
	.rt-header {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		height: 88px;
		background-color: transparent;
	}
	.rt-header__blob {
		width: 220px;
		height: auto;
	}
	.rt-header__logo {
		top: 16px;
		left: 16px;
		width: 72px;
	}
	.rt-header__util,
	.rt-gnav {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   スクロール追従の固定ナビ（ファーストビューを超えると表示）
   ロゴ・ユーティリティを持たない一行帯
   -------------------------------------------------------------------------- */
.rt-fixnav {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
	background-color: #fff;
	border-bottom: 1px solid #e4e7ef;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	/* 非表示のときはフォーカスも入らないようにする */
	visibility: hidden;
	transform: translateY(-100%);
	transition: transform 0.3s ease, visibility 0s 0.3s;
}
.rt-fixnav.is-visible {
	visibility: visible;
	transform: translateY(0);
	transition: transform 0.3s ease, visibility 0s 0s;
}
@media (prefers-reduced-motion: reduce) {
	.rt-fixnav {
		transition: none;
	}
}
/* メニュー5項目＋お問い合わせボタンを1行に並べる（お問い合わせはレビュー指摘で追加） */
.rt-fixnav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding-inline: 24px;
}
.rt-fixnav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	height: 56px;
}
.rt-fixnav .rt-fixnav__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 171px;
	height: 38px;
	border-radius: 100px;
	background-color: var(--cta-red);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}
.rt-fixnav .rt-fixnav__contact:hover {
	opacity: 0.85;
}
@media (max-width: 1100px) {
	.rt-fixnav,
	.rt-fixnav__list {
		gap: 24px;
	}
	.rt-fixnav .rt-fixnav__contact {
		width: 150px;
	}
}
.rt-fixnav__item > a,
.rt-fixnav__item > .rt-fixnav__item-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
}
.rt-fixnav__item.has-mega > .rt-fixnav__item-trigger::after {
	content: "";
	width: 10px;
	height: 5px;
	background-color: currentColor;
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	transition: transform 0.2s;
}
.rt-fixnav__item.has-mega:hover > .rt-fixnav__item-trigger::after,
.rt-fixnav__item.has-mega:focus-within > .rt-fixnav__item-trigger::after {
	transform: rotate(180deg);
}
.rt-fixnav__item > a:hover,
.rt-fixnav__item > .rt-fixnav__item-trigger:hover {
	color: var(--navy);
}
@media (max-width: 900px) {
	/* SPでは上部の一行帯を使わず、下部のわくわくナビ（.rt-wnav）に置き換える。
	   旧実装は height:48px の帯に padding:0 / line-height:1 の項目を並べており、
	   各項目の実タップ高さが文字高（14px）しかなかった。 */
	.rt-fixnav {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   わくわくナビ（SP用の下部追従ナビ）
   business.jcom.co.jp の #gnav-sp の寸法・動きを踏襲：
     バー  : 画面下から34pxに浮いた白いピル（左右余白24px・高さ64px・影あり）
     項目  : 高さ56px、アイコン24px（上から7px）＋ラベル
     開いた時: バー上部が白く盛り上がり（.rt-wnav__bump）、紺の丸48pxが飛び出して
              アイコンが白抜き30pxに拡大。背景は白30%＋ぼかしのすりガラス
   現行との違い（可読性のための是正）：
     ラベルは10px相当のSVG画像 → 実テキスト14px（拡大表示・読み上げに対応）。
     文字幅に合わせて各項目の幅を64px → 84pxに広げている
   901px以上では表示しない（PCは .rt-fixnav が担当）
   -------------------------------------------------------------------------- */
.rt-wnav,
.rt-wnav__panel,
.rt-wnav__overlay {
	display: none;
}

@media (max-width: 900px) {
	.rt-wnav {
		display: block;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 50;
		padding: 0 16px max(34px, calc(12px + env(safe-area-inset-bottom)));
		/* バーの外側の余白では下のコンテンツを操作できるようにする */
		pointer-events: none;
	}
	/* ページ側CSSの .rt :where(ul) リセット（margin/padding:0）と詳細度が並ぶため、親を付けて優先させる */
	.rt-wnav .rt-wnav__list {
		pointer-events: auto;
		display: flex;
		gap: 10px;
		width: max-content;
		margin: 0 auto;
		padding: 4px 24px;
		list-style: none;
		background-color: #fff;
		border-radius: 100px;
		box-shadow: 0 7px 32px rgba(0, 0, 0, 0.25);
	}
	.rt-wnav__item {
		position: relative;
		width: 84px;
		height: 56px;
	}
	.rt-wnav__item > a,
	.rt-wnav__item > button {
		position: relative;
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 34px 0 0;
		border: 0;
		background: none;
		color: var(--navy);
		font-family: inherit;
		font-size: var(--fs-note);
		font-weight: 700;
		line-height: 1.2;
		text-align: center;
		text-decoration: none;
		white-space: nowrap;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.rt-wnav__item > a img,
	.rt-wnav__item > button img {
		position: absolute;
		top: 7px;
		left: 50%;
		width: 24px;
		height: 24px;
		margin-left: -12px;
	}

	/* ---- メニューボタンの開閉アニメーション（押すとモコっと盛り上がる） ---- */
	/* バー上部の白い盛り上がり。メニュー項目の中心に合わせ、下端をバーの上端に重ねる */
	.rt-wnav__bump {
		position: absolute;
		top: -25px;
		left: 50%;
		width: 110px;
		height: 21.5px;
		margin-left: -55px;
		overflow: hidden;
		pointer-events: none;
		opacity: 0;
		transform: scaleY(0.2);
		transform-origin: 50% 100%;
		transition: opacity 0.2s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	}
	/* 紺の丸（アイコンの背景） */
	.rt-wnav__item.is-menu > button::before {
		content: "";
		position: absolute;
		top: -20px;
		left: 50%;
		width: 48px;
		height: 48px;
		margin-left: -24px;
		border-radius: 50%;
		background-color: var(--navy);
		box-shadow: 2px 4px 8px rgba(0, 6, 130, 0.4);
		opacity: 0;
		transform: translateY(24px) scale(0.4);
		transition: opacity 0.2s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	}
	.rt-wnav__item.is-menu > button img {
		z-index: 1;
		transition: top 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.3s, height 0.3s, margin 0.3s;
	}
	.rt-wnav__item.is-menu.is-active .rt-wnav__bump,
	.rt-wnav__item.is-menu > button[aria-expanded="true"]::before {
		opacity: 1;
		transform: none;
	}
	.rt-wnav__item.is-menu > button[aria-expanded="true"] img {
		top: -11px;
		width: 30px;
		height: 30px;
		margin-left: -15px;
		content: url("../../common_v10/images/sp-menu/jcom/icn-menu-active.svg");
	}
	@media (prefers-reduced-motion: reduce) {
		.rt-wnav__bump,
		.rt-wnav__item.is-menu > button::before,
		.rt-wnav__item.is-menu > button img {
			transition: none;
		}
	}

	/* 背景のすりガラス（現行サイトと同じ白30%＋ぼかし30px） */
	.rt-wnav__overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 48;
		visibility: hidden;
		opacity: 0;
		background-color: rgba(255, 255, 255, 0.3);
		-webkit-backdrop-filter: blur(30px);
		backdrop-filter: blur(30px);
		transition: opacity 0.3s ease-out, visibility 0s 0.3s;
	}
	.rt-wnav__overlay.is-open {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.3s ease-out, visibility 0s 0s;
	}
	/* メニューを開いている間は背面のページをスクロールさせない */
	body.is-wnav-open {
		overflow: hidden;
	}

	/* メニューパネル
	   現行サイト（business.jcom.co.jp）の .slide-menu のデザインを踏襲：
	   紺の角丸パネル／ロゴと閉じるボタン／白カードのアコーディオン／
	   区切り線／白いピル型ボタン／白枠のピル型ボタン（外部リンク）
	   文字サイズは現行の14pxから16pxに拡大（本文16px以上のルールに合わせる） */
	.rt-wnav__panel {
		display: flex;
		flex-direction: column;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		/* 現行サイトと同じく、画面上端から40px〜バーの30px上までの固定サイズ。
		   中身が収まらない分はパネル内でスクロール */
		position: fixed;
		top: 40px;
		right: 24px;
		left: 24px;
		bottom: calc(max(34px, calc(12px + env(safe-area-inset-bottom))) + 94px);
		z-index: 49;
		max-width: 420px;
		margin: 0 auto;
		background-color: var(--navy);
		border-radius: 32px;
		overflow: hidden;
		/* 現行：0.1秒遅れて、95%から等倍へ拡大しながらフェードイン */
		transform: scale(0.95);
		transition: opacity 0.3s 0.1s, transform 0.3s 0.1s, visibility 0s 0.4s;
	}
	.rt-wnav__panel.is-open {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: scale(1);
		transition: opacity 0.3s 0.1s, transform 0.3s 0.1s, visibility 0s 0s;
	}
	.rt-wnav__panel ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	/* ロゴ＋閉じるボタン */
	.rt-wnav__panel-head {
		position: relative;
		flex-shrink: 0;
		padding: 24px 55px 24px 16px;
	}
	.rt-wnav__panel-head a {
		display: block;
	}
	.rt-wnav__panel-head img {
		display: block;
	}
	/* ×アイコンの位置は現行と同じ（上19px・右20px）。タップ領域は44px四方に広げる */
	.rt-wnav__close {
		position: absolute;
		top: 9px;
		right: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}
	.rt-wnav__panel-body {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 16px 40px;
	}

	/* アコーディオン（白カード）＋下の区切り線 */
	.rt-wnav__panel .rt-wnav__acc {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-bottom: 24px;
		padding-bottom: 24px;
		border-bottom: 1px solid #fff;
	}
	.rt-wnav__sub {
		background-color: #fff;
		border-radius: 20px;
		overflow: hidden;
	}
	.rt-wnav__sub-toggle {
		display: flex;
		align-items: center;
		gap: 12px;
		width: 100%;
		min-height: 69px;
		margin: 0;
		padding: 20px 16px;
		border: 0;
		background: none;
		color: #333;
		font-family: inherit;
		font-size: var(--fs-body);
		font-weight: 700;
		line-height: 1.4;
		text-align: left;
		cursor: pointer;
	}
	/* 左のアイコン（現行サイトのサービス一覧アイコン） */
	.rt-wnav__sub-toggle::before {
		content: "";
		flex-shrink: 0;
		width: 28px;
		height: 28px;
		background: url("../../common_v10/images/gnav-icn-service-archive.svg") no-repeat center / contain;
	}
	/* 右の＋／− */
	.rt-wnav__sub-toggle::after {
		content: "";
		flex-shrink: 0;
		width: 16px;
		height: 16px;
		margin-left: auto;
		background: url("../../common_v10/images/plus-icon.svg") no-repeat center / contain;
		transition: transform 0.3s ease-out;
	}
	/* 開くと半回転しながら「－」に切り替わる */
	.rt-wnav__sub-toggle[aria-expanded="true"]::after {
		background-image: url("../../common_v10/images/minus-icon.svg");
		transform: rotate(180deg);
	}
	/* 開閉アニメーション：grid の行の高さを 0fr → 1fr に変化させて中身の高さまで広げる */
	.rt-wnav__sub-body {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.3s ease-out;
	}
	.rt-wnav__sub-body.is-open {
		grid-template-rows: 1fr;
	}
	.rt-wnav__panel .rt-wnav__sub-list {
		min-height: 0;
		overflow: hidden;
		padding: 0 16px;
		/* 閉じている間はキーボードフォーカスが入らないようにする（閉じ終わってから非表示） */
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.2s ease-out, visibility 0s 0.3s;
	}
	.rt-wnav__sub-body.is-open .rt-wnav__sub-list {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.3s ease-out 0.05s, visibility 0s 0s;
	}
	/* 下端の余白は閉じたときに残らないよう、リストの内側（最後の行）に持たせる */
	.rt-wnav__sub-list li:last-child {
		padding-bottom: 8px;
	}
	@media (prefers-reduced-motion: reduce) {
		.rt-wnav__sub-body,
		.rt-wnav__panel .rt-wnav__sub-list,
		.rt-wnav__sub-toggle::after {
			transition: none;
		}
	}
	/* main.css の a:link（0,1,1）より強い詳細度で色を当てる */
	.rt-wnav__panel .rt-wnav__sub-list a {
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 16px 0;
		border-top: 1px solid var(--line);
		color: #333;
		font-size: var(--fs-body);
		font-weight: 700;
		line-height: 1.4;
		text-decoration: none;
	}
	.rt-wnav__sub-list a img {
		width: 36px;
		height: 36px;
		flex-shrink: 0;
	}

	/* ピル型ボタン（アイコン＋文字を中央揃え） */
	.rt-wnav__panel .rt-wnav__btns {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}
	.rt-wnav__panel a.rt-wnav__btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 11px 24px;
		border-radius: 128px;
		background-color: #fff;
		color: #333;
		font-size: var(--fs-body);
		font-weight: 700;
		line-height: 1.4;
		text-align: center;
		text-decoration: none;
	}
	.rt-wnav__btn::before {
		content: "";
		flex-shrink: 0;
		width: 24px;
		height: 24px;
		background: no-repeat center / contain;
	}
	/* 虫めがねは線が太いため、他のアイコンと見た目の大きさを揃えて小さめにする */
	.rt-wnav__btn.is-issue::before {
		width: 18px;
		height: 18px;
		margin: 0 3px;
		background-image: url("../../common_v10/images/icn-search-black.svg");
	}
	/* 導入事例アイコンはローカル素材に無いため、現行サイトの同名ファイルを参照 */
	.rt-wnav__btn.is-cases::before {
		background-image: url("../../common_v10/images/sp-menu/jcom/icn-interview-black.svg");
	}
	.rt-wnav__btn.is-event::before {
		background-image: url("../../common_v10/images/sp-menu/jcom/icn-event-black.svg");
	}
	.rt-wnav__btn.is-info::before {
		background-image: url("../../common_v10/images/sp-menu/jcom/icn-information-black.svg");
	}
	/* 外部リンクは現行の「J:COM トップ」と同じ白枠ボタン */
	.rt-wnav__panel a.rt-wnav__btn.is-outline {
		border: 2px solid #fff;
		background-color: transparent;
		color: #fff;
	}
	.rt-wnav__btn.is-corp::before {
		background-image: url("../../common_v10/images/sp-menu/jcom/icn-jcom-other-white.svg");
	}
	.rt-wnav__btn.is-top::before {
		background-image: url("../../common_v10/images/sp-menu/jcom/icn-jcom-top.svg");
	}
	/* 別タブで開く外部サイトには、文字の後ろに外部リンクアイコンを付ける */
	.rt-wnav__btn[target="_blank"]::after {
		content: "";
		flex-shrink: 0;
		width: 14px;
		height: 14px;
		background: url("../../common_v10/images/icn-link-blank-white.svg") no-repeat center / contain;
	}

	@media (prefers-reduced-motion: reduce) {
		.rt-wnav__panel {
			transition: none;
		}
	}

	/* フッター下には余白を設けない（現行サイトと同じ。レビュー指摘）。
	   わくわくナビは画面下から34px浮いているため、最下部の Copyright 帯には重ならない */
}

/* --------------------------------------------------------------------------
   メガメニュー（ヘッダー／固定ナビ共通）
   wireframe_top_phase1_gray.html の構成を踏襲：
   左にリード文、右にリンクを3列グリッドで配置
   PC専用。900px以下では表示しない（SPのナビ設計は別途）
   -------------------------------------------------------------------------- */
.rt-gnav__item.has-mega,
.rt-fixnav__item.has-mega {
	/* パネルを画面幅いっぱいに出すため、包含ブロックをヘッダー／固定バーにする */
	position: static;
}
.rt-mega {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 60;
	padding: 28px 24px 32px;
	background-color: #fff;
	border-top: 1px solid #e4e7ef;
	border-bottom: 3px solid var(--navy);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
	text-align: left;
	/* 既定は非表示。フォーカスも入らないようにする */
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
}
.has-mega:hover > .rt-mega,
.has-mega:focus-within > .rt-mega {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
}
@media (prefers-reduced-motion: reduce) {
	.rt-mega {
		transition: none;
	}
}
.rt-mega__inner {
	display: flex;
	gap: 40px;
	max-width: 1120px;
	margin-inline: auto;
}
.rt-mega__lead {
	flex: 0 0 240px;
}
.rt-mega__title {
	color: var(--navy);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}
.rt-mega__text {
	margin-top: 8px;
	font-size: var(--fs-body);
	line-height: 1.8;
	color: #4a4a4a;
}
.rt-mega__list {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px 20px;
}
.rt-mega__list a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 12px 16px;
	border: 1px solid #dfe4f0;
	border-radius: 8px;
	font-size: var(--fs-body);
	font-weight: 500;
	line-height: 1.4;
	transition: background-color 0.15s, border-color 0.15s;
}
.rt-mega__list a:hover {
	background-color: #f4f7fc;
	border-color: var(--navy);
	color: var(--navy);
}
.rt-mega__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
}
.rt-mega__icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
/* 「サービス一覧を見る」だけは他と差をつける */
.rt-mega__all {
	justify-content: center;
	background-color: #f4f7fc;
	color: var(--navy);
	font-weight: 700;
}
.rt-mega__all::after {
	content: "";
	width: 6px;
	height: 10px;
	margin-left: 8px;
	background-color: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* 課題側はアイコンがないので左に色バーを添える */
.rt-mega__list--issue a {
	position: relative;
	padding-left: 22px;
}
.rt-mega__list--issue a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 12px;
	transform: translateY(-50%);
	width: 3px;
	height: 16px;
	border-radius: 2px;
	background-color: var(--orange);
}

@media (max-width: 900px) {
	/* SPではメガメニューを出さない（ナビは横スクロールの一行） */
	.rt-mega {
		display: none;
	}
	.rt-gnav__item.has-mega > .rt-gnav__item-trigger::after,
	.rt-fixnav__item.has-mega > .rt-fixnav__item-trigger::after {
		display: none;
	}
}


/* --------------------------------------------------------------------------
   フッター（biz_ren共通パーツ）の幅補正
   このページは main.css を読み込んでいないため、main.css 側で定義されている
   .container / .content-max-md の最大幅が効かず、リンクの折り返し位置が
   本番（business.jcom.co.jp）とずれる。本番の実測値に合わせて補う。
     .container      … max-width 1120px・左右24pxの余白
     .content-max-md … max-width 900px（リンクが5件＋6件の2行に折り返す）
   -------------------------------------------------------------------------- */
#footer .container,
.social .container {
	width: min(1120px, 100% - 48px);
	max-width: 1120px;
	margin-inline: auto;
}
#footer .footer-content .content-max-md {
	max-width: 900px;
	margin-inline: auto;
}

/* --------------------------------------------------------------------------
   フッター（biz_ren共通パーツ）の見た目を business.jcom.co.jp に合わせる
   このページは main.css を読み込まず、本文側（.rt）で文字色・行間を持っているため、
   そのままだと本番と色・行間・余白がずれる（SPレビュー SP02 の指摘）。
   本番の実測値に揃えたうえで、文字サイズだけは可読性基準に合わせて底上げしている。
     本番：リンク12px／コピーライト10px → この案：どちらも14px
   ※ 本番へ反映する際は共通CSS側の文字サイズ是正が必要
   -------------------------------------------------------------------------- */
.rt-pagetop,
.social,
#footer {
	color: #333;
	line-height: 1.5;
}
/* 「アカウント一覧」（本番は .fs-14 .fw-bold。main.css 未読込のため補う） */
.social p.fs-14 {
	font-size: 14px;
	font-weight: 700;
	line-height: 21px;
}
.social p.fs-14 a {
	color: #406faf;
}
/* 「あたらしいを、あたりまえに J:COM」ロゴ。本番同様に幅なりの高さにする */
.social .pt-sm img {
	display: inline;
	height: auto;
}
#footer .footer-content {
	font-size: var(--fs-note);
	line-height: 1.5;
}
#footer .copyright {
	font-size: var(--fs-note);
	line-height: 1.5;
}
/* 別ドメインへ出るリンクの別窓アイコン。
   本番の共通CSS（common_v10/css/header-footer.css）にも
   「#footer .footer-content ul li .blank::after」があるが、背景画像の指定が
   絶対パス（url(/common_v10/...)）のため、テスト環境のようにサイトを
   サブディレクトリへ置くと画像が解決できず、アイコンが出ない。
   本番CSSより高い詳細度で、相対パスに上書きする。 */
#footer .footer-content ul li a.blank::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 4px;
	background: url("../../common_v10/images/icn-link-blank-black.svg") no-repeat center center / contain;
	vertical-align: middle;
}
/* SNS帯の「アカウント一覧」など（本番CSSに該当ルールがないため通常の詳細度でよい） */
.social a[target="_blank"]::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 4px;
	background: url("../../common_v10/images/icn-link-blank-black.svg") no-repeat center center / contain;
	vertical-align: middle;
}
/* SNSアイコンのリンクには付けない（画像だけのリンクのため） */
.social ul a[target="_blank"]::after {
	content: none;
}
@media screen and (max-width: 767px) {
	#footer .copyright {
		font-size: var(--fs-note);
	}
}

/* 「ページトップへ戻る」帯（本番の include_v10/footer.html ＋ adjust.css .head-return と同じ）。SPのみ */
.rt-pagetop {
	display: none;
}
@media screen and (max-width: 767px) {
	.rt-pagetop {
		display: block;
	}
	.rt-pagetop__link {
		display: block;
		padding: 15px;
		border-top: 1px solid #d0d0d0;
		border-bottom: 1px solid #d0d0d0;
		background-color: #f2f2f2;
		color: #333;
		font-size: 16px;
		line-height: 24px;
		text-align: center;
		text-decoration: none;
	}
	.rt-pagetop__link::before {
		content: "";
		display: inline-block;
		margin-right: 4px;
		border-style: solid;
		border-width: 0 6px 10px;
		border-color: transparent transparent #333;
	}
}

/* ==========================================================================
   下層ページ用ヘッダー（include_v10/renewal/header.html の .rt-header--sub）
   トップページはヘッダーを透明・絶対配置にしてFVへ重ねているが、下層ページでは
   見出しの紺帯にロゴが重なってしまうため、SP・タブレットでは通常配置に戻す。
   （もとは cases/css/cases.css にあった指定を、全下層ページ共通にしたもの）
     ヘッダー : 高さ80px、ロゴ72px（左上16px）、左上の赤い装飾 215px幅
   ========================================================================== */
@media (max-width: 900px) {
	.rt-header--sub {
		position: relative;
		height: 80px;
	}
	/* 装飾は現行SPと同じ画像（bg-body-sp.png）に差し替える */
	.rt-header--sub .rt-header__blob {
		width: 215px;
		height: auto;
		content: url("../../common_v10/images/bg-body-sp.png");
	}
}

