@charset "UTF-8";

:root {
	--bg-main: #f8fafc;
	--bg-card: #ffffff;
	--bg-card-hover: #ffffff;
	--border-color: #e2e8f0;
	--border-color-hover: #0284c7;
	--text-main: #0f172a;
	--text-sub: #475569;
	--text-muted: #64748b;
	--primary: #0284c7;
	--primary-hover: #0369a1;
	--primary-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
	--accent-pink: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
	--accent-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	--transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--line-green: #06C755;
	--line-green-hover: #05b34c;
	--shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
	--shadow-glow: 0 12px 36px -4px rgba(2, 132, 199, 0.18);
}

body {
	font-family: 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
	background-color: var(--bg-main);
	color: var(--text-main);
	margin: 0;
	padding: 0;
	min-height: 100vh;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar-track {
	background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

/* ヘッダー共通 */
header.site-header {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid #e2e8f0;
	padding: 14px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.06);
	transition: var(--transition);
}

.header-inner {
	width: 1240px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-sizing: border-box;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-wrapper {
	position: relative;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	padding-top: 6px;
	transition: var(--transition);
}

.logo-wrapper:hover {
	opacity: 0.95;
	transform: scale(1.02);
}

.logo-badge {
	position: absolute;
	top: -4px;
	left: -10px;
	background: var(--accent-pink);
	color: #ffffff;
	font-size: 10px;
	font-weight: 900;
	padding: 1px 5px;
	border-radius: 4px;
	transform: rotate(-12deg);
	box-shadow: 0 4px 12px rgba(255, 8, 68, 0.3);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.4);
	letter-spacing: 0.5px;
	z-index: 10;
}

.logo-text {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.5px;
	background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.logo-dot {
	height: 6px;
	width: 6px;
	background-color: var(--primary);
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
	margin-top: 10px; /* バッジによるパディング調整に合わせる */
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ヘッダーナビゲーション (デスクトップ) */
.header-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-nav .nav-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 24px;
	font-size: 20px;
	font-weight: 700;
	color: var(--text-main);
	text-decoration: none;
	transition: var(--transition);
	background: transparent;
}

.header-nav .nav-item:hover {
	color: var(--primary);
	background-color: var(--primary-light);
	transform: translateY(-1px);
}

.header-line-buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 5px;
}

.header-nav .nav-item.btn-line-nav,
.btn-line-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: linear-gradient(135deg, #06C755 0%, #05b34c 100%);
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 16px;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(6, 199, 85, 0.25);
	transition: var(--transition);
	white-space: nowrap;
}

.btn-line-header:hover {
	opacity: 0.95;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(6, 199, 85, 0.35);
}

.btn-line-login-header {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: linear-gradient(135deg, #06C755 0%, #05b34c 100%);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 800;
	padding: 7px 16px;
	border-radius: 20px;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(6, 199, 85, 0.25);
	transition: var(--transition);
	white-space: nowrap;
}

.btn-line-login-header:hover {
	opacity: 0.95;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(6, 199, 85, 0.35);
}

/* ログイン＆LINE友達登録完了ユーザー用ヘッダースタイル */
.header-user-profile {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 14px 4px 6px;
	background: rgba(241, 245, 249, 0.9);
	border: 1.5px solid rgba(6, 199, 85, 0.4);
	border-radius: 30px;
	text-decoration: none !important;
	color: #0f172a !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(6, 199, 85, 0.1);
}

.header-user-profile:hover {
	background: #ffffff;
	border-color: #06C755;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(6, 199, 85, 0.25);
}

.user-avatar-container {
	position: relative;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.header-user-avatar-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-user-avatar-default {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #06C755 0%, #0284c7 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(6, 199, 85, 0.2);
}

.user-friend-badge {
	position: absolute;
	bottom: -2px;
	right: -2px;
	width: 13px;
	height: 13px;
	background-color: #06C755;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.header-user-name {
	font-size: 14px;
	font-weight: 700;
	color: #1e293b;
	max-width: 140px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -0.2px;
}

.header-nav .nav-item.btn-line-nav:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
	color: #ffffff;
}

/* LINE バナーデザイン */
.line-banner {
	max-width: 960px;
	margin: 0 auto 40px auto;
	padding: 35px 30px;
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border: 1px solid #bbf7d0;
	border-radius: 20px;
	box-shadow: 0 10px 25px -5px rgba(6, 199, 85, 0.05), 0 8px 10px -6px rgba(6, 199, 85, 0.05);
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

.line-badge {
	background-color: var(--line-green);
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	padding: 6px 18px;
	border-radius: 14px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(6, 199, 85, 0.25);
	animation: pulse 2.5s infinite;
}

.line-title {
	font-size: 34px;
	font-weight: 800;
	margin: 0;
	color: #14532d;
}

.line-text {
	font-size: 21px;
	color: #166534;
	max-width: 750px;
	margin: 0;
	line-height: 1.6;
}

.btn-line {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 40px;
	background-color: var(--line-green);
	color: #ffffff;
	text-decoration: none;
	border-radius: 36px;
	font-size: 22px;
	font-weight: 700;
	transition: var(--transition);
	gap: 10px;
	box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-line:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(6, 199, 85, 0.35);
	background-color: var(--line-green-hover);
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.03); }
	100% { transform: scale(1); }
}

/* レイアウト共通 */
.container {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px 80px 20px;
	box-sizing: border-box;
}

/* メインレイアウト（2カラム） */
.main-layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.main-content {
	flex: 1;
	min-width: 0;
}

/* 右サイドメニュー（サイドバー） */
.sidebar {
	width: 320px;
	min-width: 320px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

@media (min-width: 1025px) {
	.sidebar {
		position: sticky;
		top: 80px;
	}
}

/* サイドバーウィジェット共通 */
.sidebar-widget {
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
	transition: var(--transition);
}

.sidebar-widget:hover {
	border-color: rgba(2, 132, 199, 0.3);
	box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.05);
}

.widget-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--text-main);
	margin: 0 0 16px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary-light);
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
}

.widget-title::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 40px;
	height: 2px;
	background-color: var(--primary);
	border-radius: 2px;
}

/* LINEウィジェット */
.widget-line {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border-color: #bbf7d0;
	text-align: center;
}

.widget-line .line-badge {
	display: inline-block;
	margin-bottom: 8px;
}

.widget-line .line-title {
	font-size: 24px;
	font-weight: 800;
	color: #14532d;
	margin: 0 0 6px 0;
}

.widget-line .line-text {
	font-size: 18px;
	color: #166534;
	line-height: 1.5;
	margin: 0 0 14px 0;
}

.widget-line .btn-line {
	padding: 12px 20px;
	font-size: 18px;
	width: 100%;
	box-sizing: border-box;
}

/* 新着予想サイトウィジェット */
.sidebar-site-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sidebar-site-item {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	padding: 8px;
	border-radius: 10px;
	transition: var(--transition);
	border: 1px solid transparent;
}

.sidebar-site-item:hover {
	background-color: var(--primary-light);
	border-color: var(--primary-border);
}

.sidebar-site-thumb {
	width: 64px;
	height: 44px;
	min-width: 64px;
	border-radius: 6px;
	overflow: hidden;
	background-color: #f1f5f9;
	border: 1px solid var(--border-color);
}

.sidebar-site-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sidebar-site-info {
	flex: 1;
	min-width: 0;
}

.sidebar-site-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-main);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 3px;
}

.sidebar-site-item:hover .sidebar-site-title {
	color: var(--primary);
}

.sidebar-site-date {
	font-size: 15px;
	color: var(--text-muted);
	font-family: 'Outfit', sans-serif;
}

/* 批評サイト一覧ウィジェット */
.critic-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.critic-link-card {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	background-color: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-size: 17px;
	font-weight: 600;
	color: var(--text-main);
	text-decoration: none;
	text-align: center;
	transition: var(--transition);
}

.critic-link-card:hover {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	transform: translateY(-2px);
}

/* 豆知識・検証ガイドウィジェット */
.guide-list {
	margin: 0;
	padding: 0 0 0 16px;
	font-size: 18px;
	color: var(--text-muted);
	line-height: 1.6;
}

.guide-list li {
	margin-bottom: 8px;
}

.guide-list li strong {
	color: var(--text-main);
}

/* モバイル・レスポンシブ調整（1000px以下でサイドバーをドロワーへ切替） */
@media (max-width: 1000px) {
	.main-layout {
		flex-direction: column;
		gap: 24px;
	}
	/* PC表示メイン直下のサイドバーはタブレット・スマホで隠し、ハンバーガー（ドロワー）内で表示 */
	.main-layout > .sidebar {
		display: none !important;
	}
	.header-nav {
		display: none !important;
	}
	.mobile-menu-toggle {
		display: flex !important;
	}
}

/* ハンバーガーボタン */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: #f1f5f9;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	cursor: pointer;
	padding: 0;
	transition: var(--transition);
	z-index: 1001;
}

.mobile-menu-toggle:hover {
	background: #e2e8f0;
}

.hamburger-bar {
	width: 20px;
	height: 2px;
	background-color: var(--text-main);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ハンバーガーアイコンのアニメーション (アクティブ時) */
.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* モバイルドロワーメニュー & オーバーレイ */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 2000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-drawer {
	position: fixed;
	top: 0;
	right: 0;
	width: 70%;
	max-width: 70vw;
	height: 100vh;
	background: #ffffff;
	z-index: 2001;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.mobile-menu-drawer.is-open {
	transform: translateX(0);
}

.drawer-header {
	padding: 16px 20px;
	background: linear-gradient(135deg, #0b2545, #134074);
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.drawer-logo-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
}

.drawer-logo-wrap .logo-badge {
	position: static;
	transform: none;
}

.drawer-logo-text {
	font-weight: 800;
	font-size: 24px;
	color: #ffffff;
}

.drawer-close-btn {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--transition);
}

.drawer-close-btn:hover {
	background: rgba(255, 255, 255, 0.3);
}

.drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.drawer-section-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 10px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--border-color);
}

.drawer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.drawer-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: #f8fafc;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	color: var(--text-main);
	text-decoration: none;
	font-weight: 700;
	font-size: 20px;
	transition: var(--transition);
}

.drawer-nav-item:hover {
	background: var(--primary-light);
	border-color: var(--primary-border);
	color: var(--primary);
}

.drawer-nav-item.btn-line-drawer {
	background: linear-gradient(135deg, #06C755 0%, #05b34c 100%);
	color: #ffffff;
	border-color: #05b34c;
}

.drawer-nav-item.btn-line-drawer:hover {
	background: #05b34c;
	color: #ffffff;
}

.drawer-sidebar-wrapper .sidebar {
	width: 100% !important;
	min-width: 100% !important;
}

@media (max-width: 768px) {
	header.site-header {
		padding: 8px 0;
	}
	.header-inner {
		padding: 0 14px;
	}
	.header-actions {
		gap: 6px;
	}
	.mobile-menu-toggle {
		width: 36px;
		height: 36px;
		flex-shrink: 0;
	}
	.header-line-buttons {
		gap: 3px;
	}
	.btn-line-header {
		font-size: 11.5px;
		padding: 4px 10px;
		border-radius: 12px;
	}
	.btn-line-login-header {
		font-size: 11px;
		padding: 3px 10px;
		border-radius: 12px;
	}
	.logo-text {
		font-size: 17px;
	}
	.logo-badge {
		font-size: 9px;
		padding: 1px 4px;
		top: -3px;
		left: -7px;
	}
	.ticker-bar-wrapper {
		padding: 6px 12px;
		font-size: 16px;
	}
	.container {
		padding: 0 12px 36px 12px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.line-banner {
		padding: 20px 16px;
		gap: 10px;
		border-radius: 14px;
		margin: 0 auto 20px auto;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}
	.line-title {
		font-size: 24px;
	}
	.line-text {
		font-size: 18px;
	}
	.btn-line {
		padding: 12px 24px;
		font-size: 19px;
		width: 100%;
		max-width: 360px;
		box-sizing: border-box;
	}
}

@media (max-width: 480px) {
	.header-inner {
		padding: 0 10px;
	}
	.logo-text {
		font-size: 15px;
	}
	.ticker-badge {
		font-size: 14px;
		padding: 2px 7px;
	}
	.container {
		padding: 0 8px 24px 8px;
	}
	.line-banner {
		padding: 16px 12px;
		gap: 8px;
		margin-bottom: 16px;
		border-radius: 12px;
	}
	.line-title {
		font-size: 22px;
	}
	.line-text {
		font-size: 17px;
	}
	.mobile-menu-drawer {
		width: 75%;
		max-width: 75vw;
	}
}

/* スマホ表示での画面横漏れ・ハミ出し完全防止ガード */
html, body {
	max-width: 100% !important;
	overflow-x: hidden !important;
}

*, *::before, *::after {
	box-sizing: border-box;
}

img, video, iframe, object, svg {
	max-width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.container {
		width: 100% !important;
		max-width: 100% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
		box-sizing: border-box !important;
		overflow-x: hidden;
	}
	.main-layout {
		width: 100% !important;
		max-width: 100% !important;
		flex-direction: column !important;
		display: flex !important;
		min-width: 0 !important;
	}
	main.main-content, aside.sidebar {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
}

/* ユーティリティクラス */
.pb-0 {
	padding-bottom: 0 !important;
}
.d-none {
	display: none !important;
}

.btn-line .icon-line {
	margin-right: 5px;
}

/* 新着バッジデザイン */
.badge-new {
	background: linear-gradient(135deg, #ff0844 0%, #ff4e50 100%);
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 900;
	padding: 5px 12px;
	border-radius: 20px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(255, 8, 68, 0.4);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	animation: badgePulse 2s infinite ease-in-out;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.badge-new .badge-new-icon {
	font-size: 12px;
}

.sidebar-badge-new {
	background: linear-gradient(135deg, #ff3b30, #f97316);
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
	padding: 2px 7px;
	border-radius: 4px;
	display: inline-block;
	box-shadow: 0 2px 6px rgba(255, 59, 48, 0.35);
	letter-spacing: 0.5px;
	line-height: 1.2;
}

@keyframes badgePulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.04); }
	100% { transform: scale(1); }
}

/* 共通アイコン描画用CSS定義 (SVG maskを使用) */
.icon-line {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 4.269 8.846 10.036 9.564.39.084.922.258 1.057.592.12.303.079.778.039 1.085l-.171 1.027c-.053.303-.255 1.185 1.1 0 1.355-1.185 7.32-4.309 9.99-7.382 1.898-2.023 2.949-4.354 2.949-6.67zm-15.684 3.903h-1.66c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656s.656.293.656.656v4.126h1.004c.363 0 .656.293.656.656s-.293.656-.656.656zm2.845-.656c0 .363-.293.656-.656.656h-.001c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656s.656.293.656.656v4.782zm4.331 0c0 .245-.136.469-.352.579-.104.053-.218.077-.331.077-.146 0-.291-.041-.418-.124l-2.022-1.32v1.168c0 .363-.293.656-.656.656s-.293-.656-.656-.656v-4.782c0-.246.137-.469.353-.58.217-.11.478-.09.675.051l2.021 1.32v-1.191c0-.363.293-.656.656-.656s.656.293.656.656v4.782zm3.324-2.888h-1.229v.883h1.229c.363 0 .656.293.656.656s-.293.656-.656.656h-1.229v.883h1.229c.363 0 .656.293.656.656s-.293.656-.656.656h-1.885c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656h1.885c.363 0 .656.293.656.656s-.293.656-.656.656z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 4.269 8.846 10.036 9.564.39.084.922.258 1.057.592.12.303.079.778.039 1.085l-.171 1.027c-.053.303-.255 1.185 1.1 0 1.355-1.185 7.32-4.309 9.99-7.382 1.898-2.023 2.949-4.354 2.949-6.67zm-15.684 3.903h-1.66c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656s.656.293.656.656v4.126h1.004c.363 0 .656.293.656.656s-.293.656-.656.656zm2.845-.656c0 .363-.293.656-.656.656h-.001c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656s.656.293.656.656v4.782zm4.331 0c0 .245-.136.469-.352.579-.104.053-.218.077-.331.077-.146 0-.291-.041-.418-.124l-2.022-1.32v1.168c0 .363-.293.656-.656.656s-.293-.656-.656-.656v-4.782c0-.246.137-.469.353-.58.217-.11.478-.09.675.051l2.021 1.32v-1.191c0-.363.293-.656.656-.656s.656.293.656.656v4.782zm3.324-2.888h-1.229v.883h1.229c.363 0 .656.293.656.656s-.293.656-.656.656h-1.229v.883h1.229c.363 0 .656.293.656.656s-.293.656-.656.656h-1.885c-.363 0-.656-.293-.656-.656v-4.782c0-.363.293-.656.656-.656h1.885c.363 0 .656.293.656.656s-.293.656-.656.656z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

@media (max-width: 768px) {
	header {
		padding: 16px 20px;
	}
}

/* 新着ニューステロップバー */
.ticker-bar-wrapper {
	background: #0b2545;
	color: #ffffff;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 18px;
	overflow: hidden;
	box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}

.ticker-badge {
	background: linear-gradient(135deg, #ff6b35, #ff8800);
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 4px;
	white-space: nowrap;
	letter-spacing: 0.5px;
}

.ticker-scroll {
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.ticker-text {
	display: inline-block;
	padding-left: 100%;
	animation: ticker 25s linear infinite;
	color: #e2e8f0;
}

@keyframes ticker {
	0% { transform: translate3d(0, 0, 0); }
	100% { transform: translate3d(-100%, 0, 0); }
}

/* フッター共通デザイン */
footer.site-footer {
	background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
	color: #94a3b8;
	margin-top: 60px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
}

footer.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #0ea5e9, #2563eb, #06C755);
}

.footer-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 50px 24px 30px 24px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-logo {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding-top: 10px;
	text-decoration: none;
	width: fit-content;
}

.footer-logo .logo-text {
	font-size: 28px;
	font-weight: 800;
	color: #ffffff;
	background: linear-gradient(135deg, #38bdf8, #60a5fa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.footer-desc {
	font-size: 18px;
	line-height: 1.7;
	color: #94a3b8;
	margin: 0;
}

.btn-line-footer {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #06C755 0%, #05b34c 100%);
	color: #ffffff !important;
	font-size: 18px;
	font-weight: 700;
	padding: 12px 22px;
	border-radius: 24px;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25);
	width: fit-content;
}

.btn-line-footer:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
}

.footer-heading {
	font-size: 21px;
	font-weight: 800;
	color: #f1f5f9;
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	position: relative;
	letter-spacing: 0.5px;
}

.footer-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 24px;
	height: 2px;
	background: var(--primary);
	border-radius: 1px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: #94a3b8;
	text-decoration: none;
	font-size: 19px;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.footer-links a:hover {
	color: #38bdf8;
	transform: translateX(4px);
}

.footer-links .link-bullet {
	color: #0284c7;
	font-weight: bold;
}

.footer-info-text {
	font-size: 18px;
	line-height: 1.6;
	color: #94a3b8;
	margin: 0 0 14px 0;
}

.footer-warning-box {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.25);
	color: #fca5a5;
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.5;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.footer-disclaimer {
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.05);
	padding: 16px 20px;
	border-radius: 12px;
	margin-bottom: 30px;
}

.footer-disclaimer p {
	font-size: 16px;
	line-height: 1.7;
	color: #64748b;
	margin: 0;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	flex-wrap: wrap;
	gap: 16px;
}

.footer-bottom .copyright {
	font-size: 17px;
	color: #64748b;
	margin: 0;
}

.back-to-top {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #cbd5e1;
	padding: 10px 20px;
	border-radius: 24px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.back-to-top:hover {
	background: var(--primary);
	border-color: var(--primary);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

@media (max-width: 992px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}


@media (max-width: 576px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.footer-bottom {
		flex-direction: column-reverse;
		align-items: center;
		text-align: center;
	}
}

/* 全国24ボートレース場ウィジェット */
.widget-boatrace24 {
	background: #ffffff;
}

.widget-boatrace24 .widget-subtitle {
	font-size: 13px;
	color: #64748b;
	margin: -10px 0 14px 0;
	font-weight: 500;
}

.stadium-list-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stadium-region-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stadium-region-name {
	font-size: 12px;
	font-weight: 700;
	color: #0284c7;
	background: #f0f9ff;
	border-left: 3px solid #0284c7;
	padding: 2px 8px;
	border-radius: 0 4px 4px 0;
	width: fit-content;
}

.stadium-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.stadium-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 7px 2px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	transition: all 0.2s ease;
	text-align: center;
}

.stadium-link:hover {
	background: #0284c7;
	color: #ffffff;
	border-color: #0284c7;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(2, 132, 199, 0.25);
}

.stadium-code {
	font-size: 10px;
	color: #94a3b8;
	font-weight: 600;
}

.stadium-link:hover .stadium-code {
	color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   規約・プライバシーポリシー用 共通静的ページスタイル
   ========================================================================== */
.page-header-banner {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #1e40af 100%);
	color: #ffffff;
	padding: 40px 24px;
	text-align: center;
	border-radius: 16px;
	margin-bottom: 28px;
	box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.3);
	position: relative;
	overflow: hidden;
}

.page-header-banner::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

.page-header-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 10px 0;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.page-header-subtitle {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	line-height: 1.6;
}

.static-page-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 40px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
	margin-bottom: 32px;
	color: #1e293b;
	line-height: 1.8;
}

.static-section {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px dashed #e2e8f0;
}

.static-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.static-h2 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 16px 0;
	padding-left: 14px;
	border-left: 4px solid #0284c7;
	display: flex;
	align-items: center;
	gap: 8px;
}

.static-h3 {
	font-size: 16px;
	font-weight: 700;
	color: #334155;
	margin: 16px 0 10px 0;
}

.static-p {
	font-size: 15px;
	color: #475569;
	margin: 0 0 14px 0;
	line-height: 1.85;
}

.static-list {
	margin: 12px 0 16px 20px;
	padding: 0;
	color: #475569;
	font-size: 15px;
}

.static-list li {
	margin-bottom: 8px;
	line-height: 1.7;
}

.static-date-box {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 16px 20px;
	font-size: 14px;
	color: #64748b;
	margin-top: 24px;
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.page-header-banner {
		padding: 28px 16px;
		border-radius: 12px;
		margin-bottom: 20px;
	}
	.page-header-title {
		font-size: 22px;
	}
	.page-header-subtitle {
		font-size: 13px;
	}
	.static-page-card {
		padding: 20px 16px;
		border-radius: 12px;
	}
	.static-h2 {
		font-size: 17px;
		padding-left: 10px;
	}
	.static-p, .static-list {
		font-size: 14px;
	}
	.static-date-box {
		padding: 12px 14px;
		font-size: 13px;
		justify-content: flex-start;
	}
}

/* サイドバー・コンテンツガイドウィジェット */
.widget-column-list {
	margin-top: 24px;
}

.column-group-title {
	font-size: 13px;
	font-weight: 700;
	color: #0369a1;
	background: #f0f9ff;
	padding: 8px 12px;
	border-radius: 8px;
	border-left: 4px solid #0284c7;
	margin: 0 0 10px 0;
}

.column-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.column-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 12.5px;
	line-height: 1.4;
	color: #334155;
	text-decoration: none;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease;
}

.column-link:hover {
	background: #ffffff;
	border-color: #0284c7;
	color: #0284c7;
	box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
	transform: translateX(2px);
}

.column-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	background: #0284c7;
	color: #ffffff;
	font-weight: 700;
	font-size: 11px;
	border-radius: 5px;
	flex-shrink: 0;
}

/* ログイン中マイページサイドバーウィジェット */
.sidebar-widget.widget-user-mypage {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	position: relative;
	overflow: hidden;
}

.sidebar-widget.widget-user-mypage::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #0284c7, #2563eb);
}

.sidebar-user-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.sidebar-user-avatar {
	flex-shrink: 0;
}

.sidebar-user-avatar-img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ffffff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-user-avatar-default {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
	color: #ffffff;
	font-weight: 800;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.sidebar-user-info {
	flex: 1;
	min-width: 0;
}

.sidebar-user-name {
	font-size: 15px;
	font-weight: 800;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar-user-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 700;
	color: #16a34a;
	margin-top: 2px;
}

.user-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background-color: #22c55e;
	box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.sidebar-user-menu-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sidebar-user-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.sidebar-user-menu-btn.btn-mypage {
	background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.sidebar-user-menu-btn.btn-mypage:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
	color: #ffffff;
}

.sidebar-user-menu-btn.btn-settings {
	background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

.sidebar-user-menu-btn.btn-settings:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(30, 41, 59, 0.3);
	color: #ffffff;
}

.sidebar-user-menu-btn.btn-admin {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.sidebar-user-menu-btn.btn-admin:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
	color: #ffffff;
}

.sidebar-user-menu-btn.btn-climini {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sidebar-user-menu-btn.btn-climini:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
	color: #ffffff;
}

.sidebar-user-menu-btn.btn-line-official {
	background: #06C755;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25);
}

.sidebar-user-menu-btn.btn-line-official:hover {
	background: #05b34c;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
	color: #ffffff;
}

/* 最新の的中実績セクションの完全非表示 */
.win-results-section,
.detail-section-frame.win-results-section {
	display: none !important;
}

