/* =========================================================
   /performance 特設ページ専用スタイル
   本体サイト (top_v2.css) のトンマナに準拠:
   - 見出し: #2a5c6e / アクセント: #46baa1 / 本文: #555
   - 白半透明カード + ティール系ボーダー
   ========================================================= */

/* --- アンカー着地位置の調整 ---
   sticky ヘッダー (#gheader) に見出しが隠れないよう、
   ヘッダー高 + 余白ぶんだけ着地位置を下げる */
#perf-hero,
.perf-section,
#perf-questlink-openxr,
#perf-questlink-resolution,
#perf-questlink-steamvr {
	scroll-margin-top: 90px;
}
@media (max-width: 768px) {
	#perf-hero,
	.perf-section,
	#perf-questlink-openxr,
	#perf-questlink-resolution,
	#perf-questlink-steamvr { scroll-margin-top: 70px; }
}

/* --- ヘッダー調整（サブページ用） ---
   トップと違いMVの大ロゴが無いため、テキストロゴを表示する。
   ロゴ表示に伴い、デスクトップではナビを右側（言語切替の隣）に寄せる */
#gheader nav { margin-left: auto; }
@media (min-width: 981px) and (max-width: 1120px) {
	/* ロゴ+ナビ6項目が収まりきらない中間幅では少し詰める */
	.gheader-logo-text a { font-size: 0.92rem !important; }
	#gnav ul { gap: 1.1em !important; }
	#gnav a { font-size: 0.88rem !important; }
}
@media (max-width: 480px) {
	/* 狭い画面でロゴが言語切替・ハンバーガーと重ならないように */
	.gheader-logo-text a { font-size: 0.8rem !important; }
}

/* --- ページヒーロー --- */
#perf-hero {
	padding: 90px 0 50px;
	text-align: center;
}
#perf-hero .perf-hero-eyebrow {
	display: inline-block;
	margin: 0 0 1.2em;
	padding: 0.35em 1.4em;
	border: 1px solid rgba(70, 186, 161, 0.45);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	color: #46baa1;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}
#perf-hero h2 {
	color: #2a5c6e;
	font-size: 2.4rem;
	margin: 0 0 0.4em;
}
#perf-hero .perf-hero-lead {
	max-width: 720px;
	margin: 1.5em auto 0;
	font-size: 0.98rem;
	line-height: 2.0;
	color: #555;
	text-align: left;
}
@media (max-width: 768px) {
	#perf-hero { padding: 60px 0 30px; }
	#perf-hero h2 { font-size: 1.5rem; }
	#perf-hero .perf-hero-lead { font-size: 0.92rem; }
}

/* --- まず確認ボックス --- */
.perf-quickcheck {
	max-width: 720px;
	margin: 2.5em auto 0;
	padding: 1.4em 1.8em;
	background: rgba(70, 186, 161, 0.08);
	border: 1px solid rgba(70, 186, 161, 0.45);
	border-radius: 10px;
	text-align: left;
}
.perf-quickcheck-title {
	margin: 0 0 0.6em;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #2a5c6e;
}
.perf-quickcheck ol {
	margin: 0;
	padding-left: 1.4em;
}
.perf-quickcheck li {
	margin-bottom: 0.5em;
	line-height: 1.8;
	color: #555;
	font-size: 0.95rem;
}
.perf-quickcheck li:last-child { margin-bottom: 0; }
.perf-quickcheck a {
	color: #2a5c6e;
	font-weight: 600;
}
.perf-quickcheck a:hover { color: #46baa1; opacity: 1; }

/* --- 目次 --- */
.perf-toc {
	max-width: 720px;
	margin: 2.5em auto 0;
	padding: 1.4em 1.8em;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(70, 186, 161, 0.22);
	border-radius: 10px;
	text-align: left;
}
.perf-toc-title {
	margin: 0 0 0.6em;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #999;
}
.perf-toc ol {
	margin: 0;
	padding-left: 1.4em;
}
.perf-toc li { margin-bottom: 0.4em; line-height: 1.7; }
.perf-toc a {
	color: #2a5c6e;
	font-weight: 600;
	text-decoration: none;
}
.perf-toc a:hover { color: #46baa1; opacity: 1; }

/* --- セクション共通 --- */
.perf-section { padding: 50px 0; }
.perf-section h2 { color: #2a5c6e; }
.perf-section .sub { color: #666 !important; }

.perf-card {
	max-width: 860px;
	margin: 2em auto 0;
	padding: 2em 2.4em;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(70, 186, 161, 0.22);
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.9;
	color: #555;
}
.perf-card p { margin: 0 0 1em; }
.perf-card p:last-child { margin-bottom: 0; }
.perf-card ul {
	margin: 0.5em 0 1em;
	padding-left: 1.4em;
}
.perf-card li { margin-bottom: 0.5em; line-height: 1.8; }
@media (max-width: 768px) {
	.perf-card { padding: 1.4em 1.2em; font-size: 0.9rem; }
}

/* 強調ボックス（推奨・注意） */
.perf-point {
	margin: 1.4em 0;
	padding: 1.1em 1.4em;
	background: rgba(70, 186, 161, 0.08);
	border-left: 4px solid #46baa1;
	border-radius: 0 8px 8px 0;
}
.perf-point strong { color: #2a5c6e; }
.perf-note {
	font-size: 0.85rem;
	color: #888;
}

/* --- 接続方法の比較表 --- */
.perf-table-wrap {
	max-width: 860px;
	margin: 2em auto 0;
	overflow-x: auto;
}
.perf-compare {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	background: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	line-height: 1.7;
	color: #555;
}
.perf-compare th,
.perf-compare td {
	padding: 0.8em 1em;
	border: 1px solid rgba(70, 186, 161, 0.35);
	text-align: left;
	vertical-align: top;
}
.perf-compare thead th {
	background: rgba(70, 186, 161, 0.12);
	color: #2a5c6e;
	white-space: nowrap;
}
.perf-compare td a { color: #2a5c6e; font-weight: 600; }
.perf-compare td a:hover { color: #46baa1; opacity: 1; }
.perf-compare tr.is-reco td { background: rgba(70, 186, 161, 0.08); }

/* --- 手順ステップ --- */
.perf-steps {
	counter-reset: perfstep;
	margin: 1em 0 0;
	padding: 0;
	list-style: none;
}
.perf-steps > li {
	counter-increment: perfstep;
	position: relative;
	margin: 0 0 0.9em;
	padding: 0.9em 1.2em 0.9em 3.4em;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(70, 186, 161, 0.22);
	border-radius: 8px;
	line-height: 1.8;
}
.perf-steps > li::before {
	content: counter(perfstep);
	position: absolute;
	left: 1em;
	top: 0.95em;
	width: 1.7em;
	height: 1.7em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #46baa1;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	font-size: 0.85rem;
	border-radius: 50%;
	line-height: 1;
}
.perf-steps .step-note {
	display: block;
	margin-top: 0.3em;
	font-size: 0.85rem;
	color: #888;
}

/* 接続方法 2カラム (有線 / Air Link) */
.perf-connect-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6em;
	max-width: 1000px;
	margin: 2em auto 0;
}
@media (max-width: 860px) {
	.perf-connect-grid { grid-template-columns: 1fr; }
}
.perf-connect-col {
	padding: 1.8em 1.8em 1.6em;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(70, 186, 161, 0.22);
	border-radius: 10px;
}
.perf-connect-col h3 {
	margin: 0 0 0.9em;
	text-align: left;
	font-size: 1.1rem;
	color: #2a5c6e;
	padding-bottom: 0.5em;
	border-bottom: 2px solid rgba(70, 186, 161, 0.35);
}
.perf-connect-col h3 .tag {
	display: inline-block;
	margin-right: 0.6em;
	padding: 0.15em 0.8em;
	background: #46baa1;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 999px;
	vertical-align: middle;
	letter-spacing: 0.08em;
}
.perf-connect-col .perf-steps > li { background: rgba(255, 255, 255, 0.6); }
.perf-connect-col > p {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.8;
	margin: 0 0 0.5em;
}

/* --- SteamVR 設定手順（スクリーンショット付き） --- */
.perf-shot-steps {
	max-width: 1000px;
	margin: 2em auto 0;
}
.perf-shot-step {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 1.8em;
	align-items: center;
	margin-bottom: 1.6em;
	padding: 1.8em 2em;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(70, 186, 161, 0.22);
	border-radius: 10px;
}
@media (max-width: 860px) {
	.perf-shot-step { grid-template-columns: 1fr; }
}
.perf-shot-step .shot-txt { font-size: 0.95rem; line-height: 1.9; color: #555; }
.perf-shot-step .shot-txt h3 {
	position: relative;
	margin: 0 0 0.7em;
	text-align: left;
	font-size: 1.05rem;
	color: #2a5c6e;
	padding-left: 2.2em;
}
.perf-shot-step .shot-txt h3 .step-num {
	position: absolute;
	left: 0;
	top: 0.05em;
	width: 1.6em;
	height: 1.6em;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #46baa1;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	border-radius: 50%;
	line-height: 1;
}
.perf-shot-step .shot-txt p { margin: 0 0 0.8em; }
.perf-shot-step .shot-txt p:last-child { margin-bottom: 0; }
.perf-shot-step figure {
	margin: 0;
	text-align: center;
}
.perf-shot-step figure img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
}
.perf-shot-step figcaption {
	margin-top: 0.6em;
	font-size: 0.8rem;
	color: #999;
}

/* --- 締めのメッセージ --- */
#perf-message .perf-card { text-align: center; }
#perf-message .perf-card p { text-align: left; }
#perf-message .perf-sign {
	margin-top: 1.5em !important;
	text-align: right !important;
	color: #2a5c6e;
	font-weight: 600;
}

/* トップへ戻る CTA */
.perf-back {
	margin: 3em auto 0;
	text-align: center;
}
.perf-back a {
	display: inline-block;
	padding: 0.8em 2.6em;
	border: 1px solid rgba(70, 186, 161, 0.5);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	color: #2a5c6e;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: 0.08em;
	transition: background 0.2s, color 0.2s;
}
.perf-back a:hover { background: #46baa1; color: #fff; opacity: 1; }
