/*
Theme Name: SWELL Child
Description: SWELLの子テーマ
Template: swell
Version: 1.0.2
*/

/* SWELLの検索モーダル・アイコンを非表示 */
#search_modal,
.p-searchModal,
.c-modal.p-searchModal,
[data-onclick="toggleSearch"],
.icon-search,
.c-gnav__sBtn {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ローカル環境の余白をなくす（四隅の余白のみ削除） */
html {
	scroll-behavior: auto;
	overflow-x: hidden;
}

html, body {
	margin: 0 !important;
	padding: 0 !important;
}

body {
	overflow-x: hidden;
}

/* ページ全体の外側の余白を削除（コンテンツ内の余白は保持） */
#main-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* #content と .l-content の余白を削除 */
#content,
.l-content {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* main と footer の間の余白を削除 */
.gtnet-home + footer,
#main-content + footer,
main + footer,
.gtnet-home ~ footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* GT-NETホームページ用のコンテナ調整 */
.gtnet-home {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

/* 記事ページ（single）の上部余白 — ヘッダー分はスペーサーが確保済み */
.l-mainContent.l-article {
	padding-top: 2rem !important;
}

/* コンテナの左右の外側余白を削除（内部パディングは保持） */
.l-container {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	/* 内部パディングは保持（必要に応じて調整） */
}

/* GT-NETホームページ内のコンテナは通常通り（内部パディングは保持） */
.gtnet-home .container {
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem;
	padding-right: 1rem;
	max-width: 1280px;
	text-align: left;
}

/* お知らせ・キャンペーンセクション専用レイアウト */
.gtnet-news-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 1.5rem !important;
}

@media (min-width: 1024px) {
	.gtnet-news-grid {
		grid-template-columns: 5fr 7fr !important;
		gap: 1.5rem !important;
		align-items: stretch !important;
	}

	.gtnet-news-grid > * {
		min-width: 0 !important;
	}
}

/* 左側の大記事 */
.gtnet-news-main {
	width: 100% !important;
	border-radius: 1rem !important;
	overflow: hidden !important;
	background: #fff !important;
	border: 1px solid #e2e8f0 !important;
	display: flex !important;
	flex-direction: column !important;
}

/* 画像部分 */
.gtnet-news-main .gtnet-news-main-image {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	overflow: hidden !important;
	position: relative !important;
}

.gtnet-news-main .gtnet-news-main-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.5s ease !important;
}

.gtnet-news-main:hover .gtnet-news-main-image img {
	transform: scale(1.05) !important;
}

.gtnet-news-main .gtnet-news-main-placeholder {
	width: 100% !important;
	height: 100% !important;
	background: #e2e8f0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* テキスト部分（画像の下） */
.gtnet-news-main .gtnet-news-main-text {
	padding: 1.25rem !important;
	background: #fff !important;
}

.gtnet-news-main .gtnet-news-main-text time {
	display: block !important;
	color: #64748b !important;
	font-size: 0.75rem !important;
	margin-bottom: 0.5rem !important;
}

.gtnet-news-main .gtnet-news-main-text h4 {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin-bottom: 0.5rem !important;
	color: #1e293b !important;
}

.gtnet-news-main .gtnet-news-main-text h4 a {
	color: #1e293b !important;
	transition: color 0.2s ease !important;
}

.gtnet-news-main:hover .gtnet-news-main-text h4 a {
	color: #2563eb !important;
}

.gtnet-news-main .gtnet-news-main-text p {
	color: #64748b !important;
	font-size: 0.875rem !important;
	line-height: 1.5 !important;
}

/* バッジスタイル（大記事・小記事共通） */
.gtnet-news-main .gtnet-news-main-image span.absolute,
.gtnet-news-small-grid article > a span.absolute {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	z-index: 20 !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.gtnet-news-main .gtnet-news-main-image span.bg-emerald-500 {
	background-color: #10b981 !important;
	color: #fff !important;
}

.gtnet-news-main .gtnet-news-main-image span.bg-blue-600 {
	background-color: #2563eb !important;
	color: #fff !important;
}

.gtnet-news-small-grid article > a span.bg-emerald-500 {
	background-color: #10b981 !important;
	color: #fff !important;
}

.gtnet-news-small-grid article > a span.bg-blue-600 {
	background-color: #2563eb !important;
	color: #fff !important;
}

/* 小記事グリッド（携帯は横2列、タブレット以上で横並び） */
.gtnet-news-small-grid {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important; /* SP時: 横2列 */
	gap: 1rem !important;
	align-content: start !important;
	width: 100% !important;
}

@media (min-width: 640px) {
	.gtnet-news-small-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (min-width: 1024px) {
	.gtnet-news-small-grid.gtnet-news-row {
		grid-template-columns: repeat(5, 1fr) !important;
	}
}

/* SP時も横2列を強制（gtnet-news-rowクラスがあっても）、表示は4件まで */
@media (max-width: 639px) {
	.gtnet-news-small-grid.gtnet-news-row {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	/* 5番目以降の記事を非表示（SP時は4件まで） */
	.gtnet-news-small-grid.gtnet-news-row article:nth-child(n + 5) {
		display: none !important;
	}
}

.gtnet-news-small-grid article {
	display: flex !important;
	flex-direction: column !important;
	background: #fff !important;
	border-radius: 0.75rem !important;
	overflow: hidden !important;
	border: 1px solid #f1f5f9 !important;
	transition: box-shadow 0.3s ease !important;
}

.gtnet-news-small-grid article:hover {
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1) !important;
}

/* お知らせ・画像：横幅100%・右の白い隙間なし・16:9・やや大きく */
.gtnet-news-small-grid article > a {
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	overflow: hidden !important;
	position: relative !important;
	flex-shrink: 0 !important;
	box-sizing: border-box !important;
	padding: 0 !important;
	margin: 0 !important;
	line-height: 0 !important;
}
.gtnet-news-small-grid article a .gtnet-news-thumb-wrap,
.gtnet-news-small-grid article a > span {
	display: block !important;
	width: 100% !important;
	min-width: 100% !important;
	height: 100% !important;
	aspect-ratio: 16 / 9 !important;
	box-sizing: border-box !important;
}
/* お知らせ・キャンペーン：サムネイルの土台をグレーに（白く見えないように） */
.gtnet-news-small-grid article a.relative > span {
	background-color: #e2e8f0 !important; /* bg-slate-200 */
}
	.gtnet-news-small-grid article img {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
		object-fit: cover !important;
		object-position: top center !important;
	transition: transform 0.5s ease !important;
	background-color: #e2e8f0 !important; /* 画像未読込・白画像時用 */
	display: block !important;
	vertical-align: top !important;
}

.gtnet-news-small-grid article:hover img {
	transform: scale(1.05) !important;
}

/* タイトルエリア：日付・カテゴリー横並び・タイトルとのバランス */
.gtnet-news-small-grid article .gtnet-small-card-content {
	padding: 0.5rem 0.65rem !important; /* タイトル周りを少し広めに */
	flex: 1 !important;
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	justify-content: flex-start !important; /* 上揃えで日付上の余白を一定に */
	gap: 0.25rem !important;
}

/* 日付とカテゴリーを横並び */
.gtnet-news-small-grid article .gtnet-news-meta-row {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.375rem !important;
	order: 1 !important;
}
.gtnet-news-small-grid article .gtnet-small-card-content time {
	font-size: 0.625rem !important; /* 10px */
	color: #94a3b8 !important;
	margin: 0 !important;
}
.gtnet-news-small-grid article .gtnet-news-category-badge {
	display: inline-block !important;
	padding: 0.125rem 0.375rem !important;
	font-size: 0.625rem !important; /* 10px */
	font-weight: 700 !important;
	border-radius: 9999px !important;
	line-height: 1.2 !important;
}
.gtnet-news-small-grid article .gtnet-news-category-badge.bg-blue-600 {
	background-color: #2563eb !important;
	color: #fff !important;
}
.gtnet-news-small-grid article .gtnet-news-category-badge.bg-emerald-500 {
	background-color: #10b981 !important;
	color: #fff !important;
}

.gtnet-news-small-grid article .gtnet-small-card-content h4 {
	font-size: 0.9375rem !important; /* 15px */
	line-height: 1.35 !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	margin: 0 !important;
	order: 2 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.gtnet-news-small-grid article .gtnet-small-card-content h4 a {
	color: #1e293b !important;
	font-size: 0.9375rem !important; /* 15px */
}

/* 「すべての記事を見る」ボタンの右寄せを強制 */
/* お知らせセクション右上のリンク（シンプル） */
.gtnet-news-view-all-link {
	display: inline-block !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	color: #0f172a !important; /* text-slate-900 - 黒 */
}

.gtnet-news-view-all-link:hover {
	color: #334155 !important; /* text-slate-700 - ホバー時のグレー */
}

@media (max-width: 767px) {
	.gtnet-news-view-all-link {
		font-size: 0.875rem !important;
	}
}

/* 「すべての記事を見る」ボタンの見やすさを向上 */
.gtnet-view-all-btn {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
	box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2) !important;
}

.gtnet-view-all-btn:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
	box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.4), 0 10px 10px -5px rgba(37, 99, 235, 0.2) !important;
	transform: translateY(-2px) scale(1.05);
}

.gtnet-view-all-btn:active {
	transform: translateY(0) scale(1.02);
}

/* ボタン内の矢印アイコンのアニメーション */
.gtnet-view-all-btn .gtnet-btn-arrow {
	transition: transform 0.3s ease;
}

.gtnet-view-all-btn:hover .gtnet-btn-arrow {
	transform: translateX(4px);
}

/* ボタンのテキストの強化 */
.gtnet-view-all-btn span {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	letter-spacing: 0.025em;
}

/* お知らせ・キャンペーンセクションの記事カードレイアウト */
section article.flex.flex-col.h-full,
section article.flex.flex-row {
	display: flex !important;
}

section article.flex.flex-col.h-full {
	flex-direction: column !important;
	height: 100% !important;
}

section article.flex.flex-row {
	flex-direction: row !important;
}

/* 左側の横長カード（画像上、テキスト下） */
section article.lg\:col-span-2.flex.flex-col {
	flex-direction: column !important;
	height: 100% !important;
}

section article.lg\:col-span-2.flex.flex-col > a {
	width: 100% !important;
	flex-shrink: 0 !important;
}

/* 左側フィーチャーカードの画像サイズを強制 */
section article.lg\:col-span-2.flex.flex-col > a.h-44,
section article.lg\:col-span-2.flex.flex-col > a.h-40,
section article.lg\:col-span-2.flex.flex-col > a.h-56 {
	height: 12.5rem !important; /* 200px */
	flex-shrink: 0 !important;
}

@media (min-width: 768px) {
	section article.lg\:col-span-2.flex.flex-col > a.h-44,
	section article.lg\:col-span-2.flex.flex-col > a.h-56,
	section article.lg\:col-span-2.flex.flex-col > a.h-72 {
		height: 18rem !important; /* 288px */
	}
}

section article.flex.flex-col.h-full > div.flex-1 {
	flex: 1 1 0% !important;
	display: flex !important;
	flex-direction: column !important;
	min-height: 0 !important;
}

/* 右側の小さなカードも高さを統一 */
section article.lg\:col-span-1 .grid.grid-cols-3 article,
section article.lg\:col-span-1 .grid.grid-cols-2 article {
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}

/* 右側の小さな記事（横並び→縦並び） */
@media (min-width: 1024px) {
	section article.flex.flex-row.lg\:flex-col {
		flex-direction: column !important;
}

	section article.flex.flex-row.lg\:flex-col > a {
		width: 100% !important;
	}
}

/* お知らせ・キャンペーンセクションのカテゴリーとタイトルスタイル */
section article span.px-3.py-0\.5.text-\[10px\] {
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
	padding-top: 0.125rem !important;
	padding-bottom: 0.125rem !important;
	font-size: 0.625rem !important;
}

/* 右側の小さなカードのバッジ（画像の上に配置） */
section article.lg\:col-span-1 .grid.grid-cols-3 article a span.absolute,
section article.lg\:col-span-1 .grid.grid-cols-3 article div.relative span.absolute,
section article.lg\:col-span-1 .grid.grid-cols-2 article a span.absolute,
section article.lg\:col-span-1 .grid.grid-cols-2 article div.relative span.absolute {
	z-index: 10 !important;
}

/* 右側の小さなカードのカテゴリーバッジ */
section article.lg\:col-span-1 .grid.grid-cols-3 article .absolute.top-2.left-2,
section article.lg\:col-span-1 .grid.grid-cols-2 article .absolute.top-2.left-2 {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(4px) !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	font-weight: 900 !important;
	border-radius: 9999px !important;
	color: #334155 !important;
}

section article h4.text-lg,
section article h4.text-xl,
section article.group h4,
section article h4 a {
	font-size: 1.125rem !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.375 !important;
}

/* 左側フィーチャーカードのタイトルサイズを強制 */
section article.lg\:col-span-2 h4.text-base {
	font-size: 1rem !important;
}

@media (min-width: 768px) {
	section article.lg\:col-span-2 h4.text-base {
		font-size: 1.125rem !important;
	}
}

section article h4 a {
	color: #0f172a !important;
	text-decoration: none !important;
}

section article.group:hover h4 a,
section article h4 a:hover {
	color: #2563eb !important;
}

@media (min-width: 1024px) {
	section article h4.text-xl {
		font-size: 1.25rem !important;
	}
}

section article time.text-xs.font-black {
	font-size: 0.75rem !important;
	font-weight: 900 !important;
	color: #1f2937 !important;
}

/* 左側フィーチャーカードの日付サイズ（現在のクラスに合わせて調整） */
section article.lg\:col-span-2 time.text-xs {
	font-size: 0.75rem !important;
	font-weight: 400 !important;
}

/* 左側フィーチャーカードの説明文サイズ（現在のクラスに合わせて調整） */
section article.lg\:col-span-2 p.text-sm {
	font-size: 0.875rem !important;
	line-height: 1.5 !important;
}

@media (min-width: 768px) {
	section article.lg\:col-span-2 p.text-sm {
		font-size: 1rem !important;
	}
}

/* 最新情報セクションのコンテナはflexboxを許可 */
.gtnet-home section:has(.gtnet-news-filter) .container {
	display: block !important;
}

.gtnet-home section:has(.gtnet-news-filter) .container > .flex {
	display: flex !important;
}

/* 最新情報セクション：画面サイズに応じてスケール */
.gtnet-home section:has(.gtnet-news-filter),
#latest-info {
	padding-top: clamp(2rem, 5vw, 6rem) !important;
	padding-bottom: clamp(2rem, 5vw, 6rem) !important;
}

/* 最新情報セクションのコンテナ（画面サイズに応じて調整） */
.gtnet-home section:has(.gtnet-news-filter) .container {
	max-width: min(1280px, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	box-sizing: border-box !important;
}

/* ニュースフィルターボタンのスタイリング */
.gtnet-news-filter {
	cursor: pointer;
}

.gtnet-news-filter.bg-blue-600 {
	background-color: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* ニュースアイテムのスタイリング */
.gtnet-news-item {
	text-decoration: none !important;
}

.gtnet-news-item:hover {
	text-decoration: none !important;
}

/* ニュースアイテムの日付部分 */
.gtnet-news-item .flex-shrink-0.flex.flex-col {
	min-width: 96px;
}

/* ニュースアイテムのバッジ部分 */
.gtnet-news-item .flex.flex-wrap.items-center.gap-2 {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

/* ニュースアイテムのタイトル */
.gtnet-news-item h4 {
	margin: 0 !important;
}

/* ニュースアイテムの矢印アイコン */
.gtnet-news-item .w-10.h-10.rounded-full {
	width: 2.5rem !important;
	height: 2.5rem !important;
	border-radius: 9999px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* サイドバーカードのスタイリング */
.gtnet-home section:has(.gtnet-news-filter) .space-y-6 > * {
	margin-bottom: 1.5rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .space-y-6 > *:last-child {
	margin-bottom: 0 !important;
}

/* はじめての方へバナーのコンテナを中央揃え */
.gtnet-firsttime-container {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1280px !important;
	display: block !important;
	width: 100% !important;
	margin-top: 2.5rem !important; /* 統計セクションとの適切な距離 */
	margin-bottom: 1.5rem !important; /* 下のセクションとの適度な距離 */
}

@media (min-width: 768px) {
	.gtnet-firsttime-container {
		margin-top: 3rem !important; /* デスクトップでの適切な距離 */
		margin-bottom: 2rem !important;
	}
}

/* はてなSVGアイコン（背景なし） */
.gtnet-firsttime-icon-svg {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.gtnet-firsttime-icon-svg > svg {
	width: 1.5rem !important;
	height: 1.5rem !important;
	color: #3b82f6 !important; /* text-blue-500 - 明るい青 */
	stroke: #3b82f6 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* お知らせセクションの調整 */
.gtnet-news-section {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}

@media (min-width: 768px) {
	.gtnet-news-section {
		padding-top: 4rem !important;
		padding-bottom: 4rem !important;
	}
}

/* 旧レイアウト（削除済み） */

/* フルスクリーン表示の調整（ビューポート高さを考慮） */
@media (min-height: 1000px) {
	.gtnet-news-section {
		padding-top: 2rem !important; /* フルスク時は上パディングを減らす */
	}
	
	@media (min-width: 768px) {
		.gtnet-news-section {
			padding-top: 3rem !important;
		}
	}
}

/* はじめての方へバナーのレイアウト調整 */
/* ログイン時（青背景）のレイアウト */
.gtnet-firsttime-banner.bg-blue-600 {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

@media (min-width: 768px) {
	.gtnet-firsttime-banner.bg-blue-600 {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
	}
	
	.gtnet-firsttime-banner.bg-blue-600 > div:nth-child(2) {
		flex: 1 1 0% !important;
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}
}

/* ログアウト時（白背景）のレイアウト */
.gtnet-firsttime-banner.bg-white {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	background-color: #ffffff !important;
}

.gtnet-firsttime-banner.bg-white .text-slate-900 {
	color: #0f172a !important;
}

.gtnet-firsttime-banner.bg-white .text-slate-600 {
	color: #475569 !important;
}

/* ログアウト時の白背景バナーのテキストコンテナ */
.gtnet-firsttime-banner.bg-white > div:first-child {
	flex: 1 1 0% !important;
	display: flex !important;
	align-items: center !important;
	gap: 1.25rem !important; /* gapを少し広げる */
}

/* ログアウト時の白背景バナーのボタンコンテナ */
.gtnet-firsttime-banner.bg-white > div:last-child {
	flex-shrink: 0 !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.375rem !important;
}

/* ログアウト時の青い円形アイコン（薄い青） */
.gtnet-firsttime-banner.bg-white .gtnet-firsttime-icon,
.gtnet-firsttime-banner.bg-white > div:first-child > div.bg-blue-100 {
	width: 2.5rem !important;
	height: 2.5rem !important;
	background-color: #dbeafe !important; /* bg-blue-100 */
	border-radius: 9999px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	min-width: 2.5rem !important;
	min-height: 2.5rem !important;
}

.gtnet-firsttime-banner.bg-white .gtnet-firsttime-icon > svg,
.gtnet-firsttime-banner.bg-white > div:first-child > div.bg-blue-100 > svg {
	width: 1.5rem !important;
	height: 1.5rem !important;
	color: #2563eb !important; /* text-blue-600 */
	stroke: #2563eb !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	flex-shrink: 0 !important;
}

/* 「詳しく見る」リンクの色 */
.gtnet-firsttime-banner.bg-white .gtnet-firsttime-link,
.gtnet-firsttime-banner.bg-white .gtnet-firsttime-link-text,
.gtnet-firsttime-banner.bg-white .gtnet-firsttime-arrow {
	color: #1e40af !important; /* text-blue-700 - 濃い青 */
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* テキスト表示を確実にする */
.gtnet-firsttime-banner.bg-white > div:first-child > p {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	color: #475569 !important;
}

.gtnet-firsttime-banner.bg-white .gtnet-firsttime-description {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.gtnet-firsttime-banner.bg-white .gtnet-firsttime-link-text {
	display: inline !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* モバイル対応 */
@media (max-width: 640px) {
	.gtnet-firsttime-banner.bg-white .gtnet-firsttime-description {
		display: none !important;
	}
	
	.gtnet-firsttime-banner.bg-white .gtnet-firsttime-link-text {
		display: none !important;
	}
}

/* はじめての方へバナーのコンテナを中央揃え */
.gtnet-home .container:has(.group.flex.flex-col.md\:flex-row.items-center.justify-between.bg-blue-600) {
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 1280px !important;
	display: block !important;
}

/* GT-NETホームページ内のセクションの外側余白を削除 */
.gtnet-home > section,
.gtnet-home > div {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* セクション内のコンテナは中央揃えで内部パディングを保持 */
.gtnet-home section .container,
.gtnet-home div .container {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 768px) {
	.gtnet-home section .container,
	.gtnet-home div .container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

/* ホーム各セクションのタイトルフォントサイズ統一（お知らせ・最新記事・事業紹介・はじめての方へ） */
.gtnet-section-title {
	font-size: 1.5rem !important; /* 24px - SP */
}
@media (min-width: 640px) {
	.gtnet-section-title {
		font-size: 2rem !important; /* 32px - sm */
	}
}
@media (min-width: 768px) {
	.gtnet-section-title {
		font-size: 2.5rem !important; /* 40px - md */
	}
}

/* ホーム各セクションのサブタイトルフォントサイズ統一 */
.gtnet-section-subtitle {
	font-size: 0.875rem !important; /* 14px - SP */
}
@media (min-width: 640px) {
	.gtnet-section-subtitle {
		font-size: 1rem !important; /* 16px - sm以上 */
	}
}

/* ヘッダーとフッターの左右の外側余白を削除 */
.l-header,
.l-footer {
	margin-left: 0 !important;
	margin-right: 0 !important;
	/* 内部パディングは保持 */
}

/* box-sizingは全要素に適用 */
* {
	box-sizing: border-box;
}

/* CLS防止: スクロールバーの表示/非表示による横方向のガタツキを防ぐ */
html {
	scrollbar-gutter: stable;
}

/* GT-NET モックプレビューのスタイル */
.gtnet-home {
	min-height: 100vh;
	background-color: #f8fafc;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #0f172a;
	overflow-x: hidden;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* GT-NETホームページの親要素の余白を削除 */
body .gtnet-home,
#content .gtnet-home,
.l-content .gtnet-home,
.l-container .gtnet-home {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

/* 追尾ヘッダー分の余白：カルーセルがヘッダーに重ならないように */
main.gtnet-home {
	padding-top: 5rem !important;
}
body.admin-bar main.gtnet-home {
	padding-top: 7rem !important;
}
@media screen and (max-width: 782px) {
	body.admin-bar main.gtnet-home {
		padding-top: 7.5rem !important;
	}
}

/* カルーセルセクションを全幅表示 */
.gtnet-home > section:first-child,
.gtnet-carousel {
	width: 100vw !important;
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	border-top: none !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

/* カルーセル内のコンテンツは中央揃え */
.gtnet-carousel .container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* カルーセル内のコンテンツを中央に配置（モックに合わせる） */
.gtnet-carousel .container.flex.flex-col,
.gtnet-carousel-slide .container.flex.flex-col,
.gtnet-carousel .container.mx-auto.px-4.flex.flex-col,
.gtnet-carousel-slide .container.mx-auto.px-4.flex.flex-col,
.gtnet-carousel .container.mx-auto.px-4.md\:px-6.flex.flex-col,
.gtnet-carousel-slide .container.mx-auto.px-4.md\:px-6.flex.flex-col {
	justify-content: center !important;
	padding-bottom: 0 !important;
}

/* Tailwindのjustify-centerクラスを確実に上書き */
.gtnet-carousel .justify-center,
.gtnet-carousel-slide .justify-center,
.gtnet-carousel .container.justify-center,
.gtnet-carousel-slide .container.justify-center {
	justify-content: center !important;
}

/* タイトルブロックの縦方向位置調整（携帯はコンパクトに） */
.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl {
	margin-top: 2rem !important; /* 携帯: 余白を抑える */
}

@media (min-width: 768px) {
	.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl {
		margin-top: 6rem !important; /* デスクトップ */
	}
}

/* カルーセルのテキストコンテンツに下部余白を追加（携帯は控えめに） */
.gtnet-carousel-slide .container.flex.flex-col.justify-center {
	padding-bottom: 4rem !important; /* 携帯: ボタンとの間隔を短縮 */
}

@media (min-width: 768px) {
	.gtnet-carousel-slide .container.flex.flex-col.justify-center {
		padding-bottom: 8rem !important; /* デスクトップ */
	}
}

/* サブタイトル（text-blue-400）の位置調整 */
.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl > p.text-blue-400 {
	margin-bottom: 1.25rem !important; /* サブタイトルとタイトルの間隔を調整 */
	margin-top: 0 !important;
}

/* タイトル（h2）の位置調整（行間は共通ユーティリティに任せる） */
.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl > h2 {
	margin-bottom: 1.5rem !important; /* タイトルと説明文の間隔 */
	margin-top: 0 !important;
}

@media (min-width: 768px) {
	.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl > h2 {
		margin-bottom: 2rem !important; /* デスクトップでは少し多めに */
	}
}

/* 説明文（p）の位置調整 */
.gtnet-carousel-slide .container.flex.flex-col .max-w-4xl > p.text-white {
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

/* カルーセル内のh2のspan（強調部分）のスタイル */
.gtnet-carousel h2 span.text-blue-400 {
	color: #60a5fa !important;
}

/* 親要素の影響を受けないように */
#content.gtnet-home,
body .gtnet-home {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: 100% !important;
}

/* カルーセル - SPは16:9、PCは固定高さ（元の表示） */
body .gtnet-carousel {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #0f172a;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0 !important;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	padding-bottom: 0 !important;
}
/* PC時のみカルーセルを16:9から元の高さに戻す */
@media (min-width: 768px) {
	body .gtnet-carousel {
		aspect-ratio: auto;
		height: 500px;
		min-height: 400px;
	}
}

.gtnet-carousel-slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transition: opacity 0.7s ease-in-out;
}

.gtnet-carousel-slide.opacity-100 {
	opacity: 1;
	z-index: 10;
}

.gtnet-carousel-slide.opacity-0 {
	opacity: 0;
	z-index: 0;
}

/* スライド内の重なり順: 動画/画像 → オーバーレイ → コンテンツ */
.gtnet-carousel-slide .gtnet-carousel-video,
.gtnet-carousel-slide .gtnet-carousel-bg-image,
.gtnet-carousel-slide > div[style*="background-image"] {
	z-index: 0;
}
.gtnet-carousel-slide .gtnet-carousel-video {
	display: block;
}
/* width/height は carousel.php #gtnet-carousel-media で縦横固定を制御（競合防止） */

/* 背景・動画の縦横固定は carousel.php 内の #gtnet-carousel-media で一元管理 */
.gtnet-carousel-slide > .bg-gradient-to-b {
	z-index: 1;
}
.gtnet-carousel-slide > .container {
	z-index: 2;
}

/* 統計カード */
.gtnet-stats {
	margin-top: -2rem;
	position: relative;
	z-index: 40;
}

@media (min-width: 768px) {
	.gtnet-stats {
		margin-top: -1.5rem;
	}
}

/* コンテナ */
.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
	max-width: 100%;
}

@media (min-width: 640px) {
	.container {
		max-width: 640px;
	}
}

@media (min-width: 768px) {
	.container {
		max-width: 768px;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.container {
		max-width: 1024px;
	}
}

@media (min-width: 1280px) {
	.container {
		max-width: 1280px;
	}
}

@media (min-width: 1536px) {
	.container {
		max-width: 1536px;
	}
}

/* ユーティリティクラス */
.grid {
	display: grid;
}

.grid-cols-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.md\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* 統計カードのコンテナ（カルーセルに被せる） */
.gtnet-stats-container {
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	margin-top: -2rem !important; /* 携帯: カルーセル縮小時はオーバーレイ控えめ */
	margin-bottom: 3rem !important;
	padding-bottom: 0 !important;
	position: relative;
	z-index: 40;
	display: block !important;
	text-align: left !important;
}

@media (min-width: 768px) {
	.gtnet-stats-container {
		margin-top: -4rem !important;
		margin-bottom: 2.5rem !important;
		padding-bottom: 0 !important;
	}
}

/* 統計カードのコンテナ（カルーセルなしで単独表示） — ヘッダー分はスペーサーが確保済み */
.gtnet-stats-standalone {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 2rem !important;
	padding-bottom: 0 !important;
	background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%) !important;
}

/* 統計セクション全体の下の余白を削除 */
.gtnet-stats-container > .gtnet-stats-grid {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.gtnet-stats-container > .gtnet-stats-grid > div:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* 統計カードのグリッドを中央揃え */
.gtnet-stats-grid {
	display: grid !important;
	grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	gap: 1rem !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	justify-content: center !important;
}

@media (min-width: 768px) {
	.gtnet-stats-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		max-width: 100% !important;
	}
}


/* 統計カードの幅を制限 */
.gtnet-stats-grid > div {
	min-width: 0;
	max-width: 100%;
	width: 100%;
	flex: 1 1 0%;
	box-sizing: border-box;
}

.gap-4 {
	gap: 1rem;
}

.flex {
	display: flex;
}

.items-center {
	align-items: center;
}

.justify-center {
	justify-content: center;
}

/* カルーセル内のjustify-centerは確実に中央配置 */
.gtnet-carousel .justify-center,
.gtnet-carousel-slide .justify-center {
	justify-content: center !important;
}

.justify-between {
	justify-content: space-between;
}

.flex-col {
	flex-direction: column;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.inset-0 {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.z-10 {
	z-index: 10;
}

.z-20 {
	z-index: 20;
}

.z-30 {
	z-index: 30;
}

.z-40 {
	z-index: 40;
}

.bg-white {
	background-color: #ffffff;
}

.bg-slate-900 {
	background-color: #0f172a;
}

.bg-slate-50 {
	background-color: #f8fafc;
}

.text-white {
	color: #ffffff;
}

.text-slate-900 {
	color: #0f172a;
}

.text-slate-600 {
	color: #475569;
}

.text-red-600 {
	color: #dc2626;
}

.text-blue-600 {
	color: #2563eb;
}

.text-blue-400 {
	color: #60a5fa;
}

.rounded-xl {
	border-radius: 0.75rem;
}

.shadow-lg {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border {
	border-width: 1px;
}

.border-red-200 {
	border-color: #fecaca;
}

.border-blue-200 {
	border-color: #bfdbfe;
}

.p-6 {
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.md\:p-8 {
		padding: 2rem;
	}
}

.mb-2 {
	margin-bottom: 0.5rem;
}

.mb-3 {
	margin-bottom: 0.75rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.text-xs {
	font-size: 0.75rem;
	line-height: 1rem;
}

.text-sm {
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.text-base {
	font-size: 1rem;
	line-height: 1.5rem;
}

.text-4xl {
	font-size: 2.25rem;
	line-height: 2.5rem;
}

.font-bold {
	font-weight: 700;
}

.font-medium {
	font-weight: 500;
}

.tracking-wide {
	letter-spacing: 0.025em;
}

.max-w-4xl {
	max-width: 56rem;
}

.max-w-2xl {
	max-width: 42rem;
}

.h-full {
	height: 100%;
}

.w-full {
	width: 100%;
}

.transition-all {
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.hover\:bg-white\/20:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.backdrop-blur-sm {
	backdrop-filter: blur(4px);
}

/* グラデーション */
.bg-gradient-to-b {
	background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-black\/40 {
	--tw-gradient-from: rgba(0, 0, 0, 0.4);
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-black\/20 {
	--tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, 0.2), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-black\/60 {
	--tw-gradient-to: rgba(0, 0, 0, 0.6);
}

/* 追加のユーティリティクラス - モックプレビューに合わせて */
.mx-auto {
	margin-left: auto;
	margin-right: auto;
}

.px-4 {
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 768px) {
	.md\:px-6 {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.px-6 {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.px-8 {
	padding-left: 2rem;
	padding-right: 2rem;
}

@media (min-width: 768px) {
	.md\:px-10 {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

.py-6 {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.md\:py-8 {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}
}

.py-20 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.py-24 {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.mt-12 {
	margin-top: 3rem;
}

.mb-8 {
	margin-bottom: 2rem;
}

.mb-12 {
	margin-bottom: 3rem;
}

.mb-16 {
	margin-bottom: 4rem;
}

.-mt-8 {
	margin-top: -2rem;
}

@media (min-width: 768px) {
	.md\:-mt-6 {
		margin-top: -1.5rem;
	}
}

.gap-2 {
	gap: 0.5rem;
}

.gap-3 {
	gap: 0.75rem;
}

.gap-4 {
	gap: 1rem;
}

.gap-5 {
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.md\:gap-6 {
		gap: 1.5rem;
	}
}

.gap-6 {
	gap: 1.5rem;
}

.items-end {
	align-items: flex-end;
}

.items-baseline {
	align-items: baseline;
}

.justify-between {
	justify-content: space-between;
}

.flex-shrink-0 {
	flex-shrink: 0;
}

.w-auto {
	width: auto;
}

.w-12 {
	width: 3rem;
}

.w-14 {
	width: 3.5rem;
}

.h-12 {
	height: 3rem;
}

.h-14 {
	height: 3.5rem;
}

.h-1\.5 {
	height: 0.375rem;
}

.h-64 {
	height: 16rem;
}

@media (min-width: 768px) {
	.md\:h-80 {
		height: 20rem;
	}
}

.h-32 {
	height: 8rem;
}

.bottom-12 {
	bottom: 3rem;
}

@media (min-width: 768px) {
	.md\:bottom-16 {
		bottom: 4rem;
	}
}

/* カルーセルコントロールの位置（1px上にオフセット） */
.gtnet-carousel > div.absolute.z-30 {
	bottom: calc(2.5rem + 1px) !important;
}

@media (min-width: 768px) {
	.gtnet-carousel > div.absolute.z-30 {
		bottom: calc(2.5rem + 1px) !important;
	}
}

.left-0 {
	left: 0;
}

.top-4 {
	top: 1rem;
}

.left-4 {
	left: 1rem;
}

.top-2 {
	top: 0.5rem;
}

.left-2 {
	left: 0.5rem;
}

.z-0 {
	z-index: 0;
}

.z-50 {
	z-index: 50;
}

.text-slate-200 {
	color: #e2e8f0;
}

.text-slate-400 {
	color: #94a3b8;
}

.text-slate-500 {
	color: #64748b;
}

.text-slate-700 {
	color: #334155;
}

.text-blue-50 {
	color: #eff6ff;
}

.text-blue-700 {
	color: #1d4ed8;
}

.bg-blue-600 {
	background-color: #2563eb;
}

/* ログアウトボタンは青色にしない（最優先） */
.gtnet-logout-btn.bg-blue-600,
.gtnet-login-btn[href*="logout"].bg-blue-600,
.gtnet-login-btn[href*="swpm-logout"].bg-blue-600 {
	background-color: #ffffff !important;
	color: #0f172a !important;
}

.gtnet-logout-btn.bg-blue-600:hover,
.gtnet-login-btn[href*="logout"].bg-blue-600:hover,
.gtnet-login-btn[href*="swpm-logout"].bg-blue-600:hover {
	background-color: #f8fafc !important;
}

.bg-blue-700 {
	background-color: #1d4ed8;
}

.bg-blue-900 {
	background-color: #1e3a8a;
}

.bg-slate-100 {
	background-color: #f1f5f9;
}

.bg-slate-200 {
	background-color: #e2e8f0;
}

.bg-slate-800 {
	background-color: #1e293b;
}

.bg-white\/20 {
	background-color: rgba(255, 255, 255, 0.2);
}

.bg-white\/30 {
	background-color: rgba(255, 255, 255, 0.3);
}

.border-white\/20 {
	border-color: rgba(255, 255, 255, 0.2);
}

.border-slate-200 {
	border-color: #e2e8f0;
}

.border-slate-300 {
	border-color: #cbd5e1;
}

.border-slate-800 {
	border-color: #1e293b;
}

.border-blue-700 {
	border-color: #1d4ed8;
}

.border-t {
	border-top-width: 1px;
}

.border-b {
	border-bottom-width: 1px;
}

.rounded-full {
	border-radius: 9999px;
}

.rounded-lg {
	border-radius: 0.5rem;
}

.rounded-2xl {
	border-radius: 1rem;
}

.shadow-md {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.text-xl {
	font-size: 1.25rem;
	line-height: 1.75rem;
}

@media (min-width: 768px) {
	.md\:text-2xl {
		font-size: 1.5rem;
		line-height: 2rem;
	}
}

.text-2xl {
	font-size: 1.5rem;
	line-height: 2rem;
}

.text-3xl {
	font-size: 1.875rem;
	line-height: 2.25rem;
}

@media (min-width: 768px) {
	.md\:text-4xl {
		font-size: 2.25rem;
		line-height: 2.5rem;
	}
}

@media (min-width: 768px) {
	.md\:text-5xl {
		font-size: 3rem;
		line-height: 1;
	}
}

@media (min-width: 768px) {
	.md\:text-6xl {
		font-size: 3.75rem;
		line-height: 1;
	}
}

@media (min-width: 768px) {
	.md\:text-sm {
		font-size: 0.875rem;
		line-height: 1.25rem;
	}
}

@media (min-width: 768px) {
	.md\:text-base {
		font-size: 1rem;
		line-height: 1.5rem;
	}
}

@media (min-width: 768px) {
	.md\:text-xl {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
}

.uppercase {
	text-transform: uppercase;
}

.leading-tight {
	line-height: 1.25;
}

.leading-relaxed {
	line-height: 1.625;
}

.leading-snug {
	line-height: 1.375;
}

.tracking-tight {
	letter-spacing: -0.025em;
}

.overflow-hidden {
	overflow: hidden;
}

.object-cover {
	object-fit: cover;
}

.group:hover .group-hover\:scale-105 {
	transform: scale(1.05);
}

.group:hover .group-hover\:text-blue-600 {
	color: #2563eb !important;
}

.group:hover .group-hover\:bg-blue-50 {
	background-color: #eff6ff !important;
}

.group:hover .group-hover\:text-blue-700 {
	color: #1d4ed8 !important;
}

.group:hover .group-hover\:bg-blue-600 {
	background-color: #2563eb !important;
}

.group:hover .group-hover\:bg-white {
	background-color: #ffffff !important;
}

.group:hover .group-hover\:border-slate-300 {
	border-color: #cbd5e1 !important;
}

.group:hover .group-hover\:shadow-md {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.group:hover .group-hover\:shadow-lg {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* はじめての方へバナーの「詳しく見る」ボタン */
.group .flex.items-center.gap-2.bg-white {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	background-color: #ffffff !important;
	padding: 0.75rem 1.25rem !important;
	border-radius: 0.5rem !important;
	transition: background-color 0.2s ease !important;
}

.group:hover .flex.items-center.gap-2.bg-white {
	background-color: #eff6ff !important;
}

.group .flex.items-center.gap-2.bg-white span {
	color: #2563eb !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	transition: color 0.2s ease !important;
}

.group:hover .flex.items-center.gap-2.bg-white span {
	color: #1d4ed8 !important;
}

.group .flex.items-center.gap-2.bg-white svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
	color: #2563eb !important;
	transition: color 0.2s ease !important;
}

.group:hover .flex.items-center.gap-2.bg-white svg {
	color: #1d4ed8 !important;
}

/* 事業紹介セクションの「詳しく見る」ボタン */
.group .flex.items-center.gap-2.text-xs {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	color: #2563eb !important;
	margin-top: auto !important;
}

.group .flex.items-center.gap-2.text-xs svg {
	width: 1rem !important;
	height: 1rem !important;
	color: #2563eb !important;
}

.transition-transform {
	transition-property: transform;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.transition-colors {
	transition-property: color, background-color, border-color;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.duration-200 {
	transition-duration: 200ms;
}

.duration-300 {
	transition-duration: 300ms;
}

.hover\:bg-blue-700:hover {
	background-color: #1d4ed8;
}

.hover\:text-slate-900:hover {
	color: #0f172a;
}

.hover\:border-slate-300:hover {
	border-color: #cbd5e1;
}

.hover\:shadow-lg:hover {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* グリッドレイアウト */
.grid-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.md\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.lg\:grid-cols-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.lg\:col-span-1 {
		grid-column: span 1 / span 1;
}

	.lg\:col-span-2 {
		grid-column: span 2 / span 2;
	}
	
	.lg\:col-span-3 {
		grid-column: span 3 / span 3;
	}
}

/* グラデーション背景 */
.bg-gradient-to-br {
	background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-slate-50 {
	--tw-gradient-from: #f8fafc;
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(248, 250, 252, 0));
}

.via-white {
	--tw-gradient-stops: var(--tw-gradient-from), #ffffff, var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-slate-50 {
	--tw-gradient-to: #f8fafc;
}

.from-slate-800 {
	--tw-gradient-from: #1e293b;
	--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 41, 59, 0));
}

.via-slate-900 {
	--tw-gradient-stops: var(--tw-gradient-from), #0f172a, var(--tw-gradient-to, rgba(15, 23, 42, 0));
}

.to-slate-800 {
	--tw-gradient-to: #1e293b;
}

.opacity-30 {
	opacity: 0.3;
}

.pointer-events-none {
	pointer-events: none;
}

/* カルーセルコントロール */
.gtnet-carousel-prev,
.gtnet-carousel-next {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem !important;
	height: 2.5rem !important;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	background-color: transparent;
	transition: all 0.2s ease;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.gtnet-carousel-prev:hover,
.gtnet-carousel-next:hover {
	background-color: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
}

.gtnet-carousel-prev svg,
.gtnet-carousel-next svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
}

.gtnet-carousel-indicator {
	cursor: pointer;
}

.gtnet-carousel-indicator.w-12 {
	width: 3rem;
}

.gtnet-carousel-indicator.w-4 {
	width: 1rem;
}

.gtnet-carousel-indicator.bg-white {
	background-color: #ffffff;
}

.gtnet-carousel-indicator.bg-white\/30 {
	background-color: rgba(255, 255, 255, 0.3);
}

/* レスポンシブ表示 */
.hidden {
	display: none !important;
}

@media (min-width: 768px) {
	.md\:flex {
		display: flex !important;
	}
	
	.md\:hidden {
		display: none !important;
	}
	
	.md\:inline {
		display: inline !important;
	}
}

/* テキストの色 */
.text-\[10px\] {
	font-size: 10px;
}

/* カルーセルスライドの背景色 */
.bg-blue-900 {
	background-color: #1e3a8a;
}

.bg-slate-800 {
	background-color: #1e293b;
}

/* 統計カードのスタイル調整 */
.flex-col {
	flex-direction: column;
}

/* はじめての方へバナーのスタイル */
.group {
	position: relative;
}

/* お知らせセクションのスタイル */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 事業紹介セクションのグリッドパターン */
.bg-\[linear-gradient\(to_right\2c #e2e8f0_1px\2c transparent_1px\)\2c linear-gradient\(to_bottom\2c #e2e8f0_1px\2c transparent_1px\)\] {
	background-image: linear-gradient(to right, #e2e8f0 1px, transparent 1px), linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
}

.bg-\[size\:40px_40px\] {
	background-size: 40px 40px;
}

/* GT-NET ヘッダースタイル */

/* WordPress管理バー（カスタマイズ欄）を管理者のみに表示 */
/* PHP側のshow_admin_barフィルターで制御しているため、CSSは補助的に使用 */
/* 管理者でない場合のみ管理バーを非表示（admin-barクラスがない場合） */
/* ログアウト状態では管理バーを確実に非表示 */
body:not(.admin-bar) #wpadminbar,
body:not(.admin-bar):not(.gtnet-admin):not(.admin) #wpadminbar {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

/* 管理者でない場合のadmin-barクラスのマージンをリセット */
body:not(.admin-bar) {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ログアウト状態では管理バーのスペースも削除 */
body:not(.admin-bar) * {
	--admin-bar-height: 0 !important;
}

/* ログアウト状態でヘッダー上のスペースをヘッダーと合わせる */
body:not(.admin-bar)::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2rem;
	background-color: transparent; /* トップ時は透明（ヘッダーと合わせる） */
	z-index: 49;
	pointer-events: none;
	transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* スクロール時はヘッダーと同じ白背景 */
body:not(.admin-bar).gtnet-scrolled::before {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
	body:not(.admin-bar)::before {
		height: 1.5rem;
	}
}

/* 管理者の場合、管理バーを確実に表示（最優先） */
body.admin-bar #wpadminbar,
body.gtnet-admin #wpadminbar,
body.admin #wpadminbar {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 99999 !important;
	width: 100% !important;
	height: auto !important;
	min-height: 32px !important;
}

/* 管理バーが存在する場合は確実に表示（追加の保険 - 管理者クラスがある場合のみ） */
/* 注: このルールは既に上記で定義されているため、ここではコメントアウト */

/* ただし、管理者でない場合は非表示 */
body:not(.admin-bar):not(.gtnet-admin):not(.admin) #wpadminbar {
	display: none !important;
}

/* 管理者がログインしている場合、ヘッダーを管理バーの下に配置 */
.gtnet-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 50;
	transition: all 0.3s ease;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* ヘッダースペーサー: 高さはPHPインラインスタイルで設定（CSSの読み込み順に依存しない）
   モバイルadmin bar（46px）はデスクトップ（32px）より14px高いのでCSS側で補正 */
@media screen and (max-width: 782px) {
	body.admin-bar .gtnet-header-spacer {
		height: 118px !important; /* 72px + 46px(mobile admin bar) */
	}
}

/* 管理バーがある場合はその分下にずらす */
body.admin-bar .gtnet-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar .gtnet-header {
		top: 46px !important;
	}
}

/* トップ時のヘッダー（透明） */
.gtnet-header-transparent {
	background-color: transparent !important;
	padding-top: 1rem;
	padding-bottom: 1rem;
	box-shadow: none !important; /* ヘッダーとカルーセル間の黒い線を防ぐ */
}

/* スクロール時のヘッダー（白背景） */
.gtnet-header-scrolled {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* 固定ヘッダー */
.gtnet-header-solid {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}

/* ホーム／GT-NETトップでヘッダーとカルーセル間の黒い線を出さない（影・ボーダー・アウトラインすべて除去） */
body.home .gtnet-header,
body:has(main.gtnet-home) .gtnet-header {
	box-shadow: none !important;
	border-bottom: none !important;
	outline: none !important;
}
/* #content 側の上端の線も除去 */
body:has(main.gtnet-home) #content,
body:has(main.gtnet-home) .l-content {
	border-top: none !important;
	box-shadow: none !important;
	outline: none !important;
}



.gtnet-header-solid .gtnet-logo-img {
	filter: none !important;
}

.gtnet-header-solid .gtnet-nav-link {
	color: #0f172a !important;
}

.gtnet-header-solid .gtnet-nav-link:hover {
	color: #2563eb !important;
}

/* ロゴのスタイル */
.gtnet-logo-img {
	height: 2.5rem;
	width: auto;
	transition: all 0.3s ease;
}

@media (min-width: 768px) {
	.gtnet-logo-img {
		height: 3rem;
	}
}

/* スクロール時のロゴ（白→黒） */
/* ログイン中はカルーセルがないため、ロゴを透過（白）にしない */
.gtnet-header-transparent:not(.gtnet-header-logged-in) .gtnet-logo-img {
	filter: brightness(0) invert(1);
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-logo-img {
	filter: none;
}

.gtnet-header-scrolled .gtnet-logo-img {
	filter: none;
}

/* PCナビゲーション：リンクの折り返し防止 */
.gtnet-nav {
	white-space: nowrap !important;
	flex-wrap: nowrap !important;
}

/* タブレット（768px-1023px）：ナビ間隔とボタンを縮小 */
@media (min-width: 768px) and (max-width: 1023px) {
	.gtnet-nav {
		gap: 0.75rem !important;
	}
	.gtnet-nav .gtnet-nav-link {
		font-size: 0.75rem !important;
	}
	.gtnet-header nav .flex.items-center.gap-3 > a {
		padding: 0.5rem 0.75rem !important;
		font-size: 0.75rem !important;
	}
}

/* ナビゲーションリンク */
.gtnet-nav-link {
	color: inherit;
	text-decoration: none;
	white-space: nowrap !important;
}

/* ログアウト時（透過時は白） */
.gtnet-header-transparent.gtnet-header-logged-out .gtnet-nav-link {
	color: #ffffff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gtnet-header-transparent.gtnet-header-logged-out .gtnet-nav-link:hover {
	color: #93c5fd;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ログイン時（透過時は黒） */
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-nav-link {
	color: #0f172a;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-nav-link:hover {
	color: #2563eb;
}

.gtnet-header-scrolled .gtnet-nav-link {
	color: #0f172a;
}

.gtnet-nav-link:hover {
	color: #2563eb;
}

/* ログインボタン */
.gtnet-login-btn {
	text-decoration: none;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 700;
	transition: all 0.2s ease;
	border: none;
	cursor: pointer;
}

/* ログインボタン（未ログイン時） */
.gtnet-header-transparent .gtnet-login-btn:not(.gtnet-logged-in-badge) {
	background-color: rgba(255, 255, 255, 0.95) !important;
	color: #1f2937 !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.gtnet-header-transparent .gtnet-login-btn:not(.gtnet-logged-in-badge):hover {
	background-color: rgba(255, 255, 255, 1) !important;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

/* ログアウトボタン（ログイン時） - 透過時はより強いコントラスト */
.gtnet-header-transparent .gtnet-logged-in-badge ~ .gtnet-login-btn,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"],
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] {
	background-color: rgba(255, 255, 255, 0.98) !important;
	color: #0f172a !important;
	border: 2px solid rgba(255, 255, 255, 0.6) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
	font-weight: 700 !important;
}

.gtnet-header-transparent .gtnet-logged-in-badge ~ .gtnet-login-btn:hover,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"]:hover,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"]:hover {
	background-color: rgba(255, 255, 255, 1) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
	transform: translateY(-1px) !important;
}

.gtnet-header-transparent .gtnet-logged-in-badge ~ .gtnet-login-btn svg,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"] svg,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2.5 !important;
}

.gtnet-header-transparent .gtnet-logged-in-badge ~ .gtnet-login-btn span,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"] span,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

.gtnet-header-scrolled .gtnet-login-btn {
	background-color: #f1f5f9;
	color: #334155;
}

.gtnet-header-scrolled .gtnet-login-btn:hover {
	background-color: #e2e8f0;
}

/* ログイン状態（ナビのリンクと同じトーンで表示） */
.gtnet-logged-in-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.5rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	background: none;
	border: none;
	box-shadow: none;
}

.gtnet-logged-in-badge svg {
	flex-shrink: 0;
}

.gtnet-logged-in-badge span {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 透過ヘッダー時はナビリンクと同じ色 */
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-logged-in-badge {
	color: #0f172a;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-logged-in-badge:hover {
	color: #2563eb;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-logged-in-badge svg {
	color: inherit;
	stroke: currentColor;
}

/* スクロール時もナビリンクと同じ */
.gtnet-header-scrolled .gtnet-logged-in-badge {
	color: #0f172a;
}

.gtnet-header-scrolled .gtnet-logged-in-badge:hover {
	color: #2563eb;
}

/* ユーザーボタン（ログイン時・クリックでマイページへ） */
.gtnet-user-btn {
	cursor: pointer;
	text-decoration: none;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.gtnet-user-btn:hover {
	color: #2563eb !important;
}

.gtnet-header-transparent.gtnet-header-logged-out .gtnet-user-btn {
	background-color: rgba(255, 255, 255, 0.98) !important;
	border: 1px solid rgba(255, 255, 255, 0.6) !important;
	color: #0f172a !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.gtnet-header-transparent.gtnet-header-logged-out .gtnet-user-btn:hover {
	background-color: #fff !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
}

/* ログアウトボタンの透過時スタイル（ログイン時専用 - より具体的なセレクタで上書き） */
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="logout"],
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="swpm-logout"] {
	background-color: rgba(255, 255, 255, 0.98) !important;
	color: #0f172a !important;
	border: 2px solid rgba(255, 255, 255, 0.6) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
	font-weight: 700 !important;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="logout"]:hover,
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="swpm-logout"]:hover {
	background-color: rgba(255, 255, 255, 1) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
	transform: translateY(-1px) !important;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="logout"] svg,
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="swpm-logout"] svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2.5 !important;
}

.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="logout"] span,
.gtnet-header-transparent.gtnet-header-logged-in .gtnet-login-btn[href*="swpm-logout"] span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* ログイン時のログアウトボタン（スクロール時） */
.gtnet-header-scrolled .gtnet-login-btn {
	background-color: #ffffff !important;
	color: #0f172a !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
	font-weight: 700 !important;
}

.gtnet-header-scrolled .gtnet-login-btn:hover {
	background-color: #f9fafb !important;
	border-color: #d1d5db !important;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.gtnet-header-scrolled .gtnet-login-btn svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2.5 !important;
}

.gtnet-header-scrolled .gtnet-login-btn span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* ログアウトボタンのテキスト色を強制的に指定 */
.gtnet-login-btn[href*="logout"],
.gtnet-login-btn[href*="swpm-logout"],
.gtnet-logout-btn {
	background-color: #ffffff !important;
	color: #0f172a !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.gtnet-login-btn[href*="logout"]:hover,
.gtnet-login-btn[href*="swpm-logout"]:hover,
.gtnet-logout-btn:hover {
	background-color: #f8fafc !important;
	border-color: #94a3b8 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.gtnet-login-btn[href*="logout"] svg,
.gtnet-login-btn[href*="swpm-logout"] svg,
.gtnet-logout-btn svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2 !important;
}

.gtnet-login-btn[href*="logout"] span,
.gtnet-login-btn[href*="swpm-logout"] span,
.gtnet-logout-btn span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* 透過時のログアウトボタン（ページトップ） */
.gtnet-header-transparent .gtnet-logout-btn,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"],
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] {
	background-color: rgba(255, 255, 255, 0.98) !important;
	color: #0f172a !important;
	border: 2px solid rgba(255, 255, 255, 0.6) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
}

.gtnet-header-transparent .gtnet-logout-btn:hover,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"]:hover,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"]:hover {
	background-color: rgba(255, 255, 255, 1) !important;
	border-color: rgba(255, 255, 255, 0.8) !important;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
	transform: translateY(-1px) !important;
}

.gtnet-header-transparent .gtnet-logout-btn svg,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"] svg,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2.5 !important;
}

.gtnet-header-transparent .gtnet-logout-btn span,
.gtnet-header-transparent .gtnet-login-btn[href*="logout"] span,
.gtnet-header-transparent .gtnet-login-btn[href*="swpm-logout"] span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* スクロール時のログアウトボタン */
.gtnet-header-scrolled .gtnet-logout-btn,
.gtnet-header-scrolled .gtnet-login-btn[href*="logout"],
.gtnet-header-scrolled .gtnet-login-btn[href*="swpm-logout"] {
	background-color: #ffffff !important;
	color: #0f172a !important;
	border: 1px solid #e5e7eb !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.gtnet-header-scrolled .gtnet-logout-btn:hover,
.gtnet-header-scrolled .gtnet-login-btn[href*="logout"]:hover,
.gtnet-header-scrolled .gtnet-login-btn[href*="swpm-logout"]:hover {
	background-color: #f9fafb !important;
	border-color: #d1d5db !important;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.gtnet-header-scrolled .gtnet-logout-btn svg,
.gtnet-header-scrolled .gtnet-login-btn[href*="logout"] svg,
.gtnet-header-scrolled .gtnet-login-btn[href*="swpm-logout"] svg {
	color: #0f172a !important;
	stroke: #0f172a !important;
	stroke-width: 2.5 !important;
}

.gtnet-header-scrolled .gtnet-logout-btn span,
.gtnet-header-scrolled .gtnet-login-btn[href*="logout"] span,
.gtnet-header-scrolled .gtnet-login-btn[href*="swpm-logout"] span {
	color: #0f172a !important;
	font-weight: 700 !important;
}

/* 会員登録ボタン（緑色） */
.gtnet-registration-btn {
	background-color: #16a34a !important;
	color: #ffffff !important;
	box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.3) !important;
}

.gtnet-registration-btn:hover {
	background-color: #15803d !important;
	opacity: 0.9 !important;
	box-shadow: 0 6px 8px -1px rgba(22, 163, 74, 0.4) !important;
}

.gtnet-registration-btn svg,
.gtnet-registration-btn span {
	color: #ffffff !important;
}

/* お問い合わせボタン（青色） */
.gtnet-inquiry-btn {
	background-color: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3) !important;
}

.gtnet-inquiry-btn:hover {
	background-color: #1d4ed8 !important;
	opacity: 0.9 !important;
	box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4) !important;
}

.gtnet-inquiry-btn span {
	color: #ffffff !important;
}

/* 透過時のボタン */
.gtnet-header-transparent .gtnet-registration-btn {
	background-color: rgba(22, 163, 74, 0.95) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4), 0 0 0 1px rgba(22, 163, 74, 0.3) !important;
}

.gtnet-header-transparent .gtnet-registration-btn:hover {
	background-color: rgba(22, 163, 74, 1) !important;
	box-shadow: 0 6px 16px rgba(22, 163, 74, 0.5), 0 0 0 1px rgba(22, 163, 74, 0.5) !important;
	transform: translateY(-1px) !important;
}

.gtnet-header-transparent .gtnet-inquiry-btn {
	background-color: rgba(37, 99, 235, 0.95) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(37, 99, 235, 0.3) !important;
}

.gtnet-header-transparent .gtnet-inquiry-btn:hover {
	background-color: rgba(37, 99, 235, 1) !important;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(37, 99, 235, 0.5) !important;
	transform: translateY(-1px) !important;
}

/* お問い合わせボタン */
.gtnet-header a[href*="/contact/"],
.gtnet-header a[href*="/inquiry/"] {
	display: inline-block;
	background-color: #2563eb;
	color: #ffffff;
	padding: 0.5rem 1.25rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -2px rgba(37, 99, 235, 0.1);
}

.gtnet-header a[href*="/contact/"]:hover,
.gtnet-header a[href*="/inquiry/"]:hover {
	background-color: #1d4ed8;
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2);
}

/* フッターの連絡先ブロック（メール・電話アイコン） */
.gtnet-contact-block--footer {
	display: flex !important;
	gap: 0.75rem !important;
	align-items: center !important;
}

.gtnet-contact-block--footer > a,
.gtnet-contact-block--footer > button {
	display: flex !important;
	width: 3rem !important;
	height: 3rem !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 1rem !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	flex-shrink: 0 !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
	cursor: pointer !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.gtnet-contact-block--footer > a svg,
.gtnet-contact-block--footer > button svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
	flex-shrink: 0 !important;
	display: block !important;
	color: rgba(255, 255, 255, 0.9) !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
}

.gtnet-contact-block--footer > a:hover,
.gtnet-contact-block--footer > button:hover {
	background-color: #2563eb !important;
	border-color: #2563eb !important;
	box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3) !important;
	transform: translateY(-1px) !important;
}

.gtnet-contact-block--footer > a:hover svg,
.gtnet-contact-block--footer > button:hover svg {
	color: #ffffff !important;
	stroke: #ffffff !important;
}

/* ヘッダーのログインボタンと登録ボタンのスタイル */
.gtnet-header nav .flex.items-center.gap-3 {
	flex-shrink: 0;
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
}

.gtnet-header nav .flex.items-center.gap-3 > a {
	flex-shrink: 0 !important;
	white-space: nowrap !important;
	min-width: fit-content !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding: 0.625rem 1.25rem !important;
	border-radius: 9999px !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
}

/* ログインボタン */
.gtnet-header nav .flex.items-center.gap-3 > a:first-child {
	background-color: #ffffff !important;
	color: #334155 !important;
	border: 1px solid #cbd5e1 !important;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.gtnet-header nav .flex.items-center.gap-3 > a:first-child:hover {
	background-color: #f8fafc !important;
	border-color: #94a3b8 !important;
}

/* 登録ボタン */
.gtnet-header nav .flex.items-center.gap-3 > a:last-child {
	background-color: #2563eb !important;
	color: #ffffff !important;
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -2px rgba(37, 99, 235, 0.1) !important;
}

.gtnet-header nav .flex.items-center.gap-3 > a:last-child:hover {
	background-color: #1d4ed8 !important;
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -2px rgba(37, 99, 235, 0.2) !important;
}

/* ボタン内のアイコンとテキスト */
.gtnet-header nav .flex.items-center.gap-3 > a svg {
	flex-shrink: 0 !important;
	width: 1rem !important;
	height: 1rem !important;
}

.gtnet-header nav .flex.items-center.gap-3 > a span {
	white-space: nowrap !important;
}

/* モバイルメニュー */
.gtnet-mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	background-color: #0f172a;
	color: #ffffff;
	z-index: 60;
	min-height: 100vh;
	min-height: 100dvh;
}

.gtnet-mobile-menu.hidden {
	display: none !important;
}

.gtnet-mobile-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
	/* タップ領域の確保（最小44px） */
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.gtnet-mobile-link:hover {
	color: #60a5fa;
}

/* モバイルメニュー内の閉じるボタン（ハンバーガーと同じ右上に四角で配置） */
.gtnet-mobile-close {
	position: absolute;
	top: max(2.5rem, calc(env(safe-area-inset-top) + 1.5rem));
	right: max(1.5rem, env(safe-area-inset-right));
	width: 2.75rem;
	height: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	border-radius: 0.375rem;
	color: #ffffff !important;
	cursor: pointer;
	z-index: 100;
	flex-shrink: 0;
}
.gtnet-mobile-close .gtnet-mobile-close-icon {
	width: 1.25rem !important;
	height: 1.25rem !important;
	stroke: currentColor;
}

/* メニュー本体（閉じるボタン直下から） */
.gtnet-mobile-menu-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	padding-top: 4.5rem;
	padding-right: max(2rem, env(safe-area-inset-right));
	padding-bottom: max(2rem, env(safe-area-inset-bottom));
	padding-left: max(2rem, env(safe-area-inset-left));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* ヘッダーのコンテナ */
.gtnet-header .container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* 固定ヘッダーのためのパディング */
body.gtnet-has-header {
	padding-top: 0;
}

/* フロントページ: 固定ヘッダー分のオフセット */
.gtnet-home {
	padding-top: 5rem;
}

/* モバイルメニューボタンのアイコン切り替え */
.gtnet-menu-icon.hidden {
	display: none;
}

.gtnet-close-icon.hidden {
	display: none;
}

/* 追加のユーティリティクラス */
.h-\[600px\] {
	height: 450px;
}

@media (min-width: 768px) {
	.md\:h-\[700px\] {
		height: 550px;
	}
}

.transition-opacity {
	transition-property: opacity;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
}

.duration-700 {
	transition-duration: 700ms;
}

.ease-in-out {
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.py-1\.5 {
	padding-top: 0.375rem;
	padding-bottom: 0.375rem;
}

.mb-1\.5 {
	margin-bottom: 0.375rem;
}

.bg-green-50 {
	background-color: #f0fdf4;
}

.text-green-700 {
	color: #15803d;
}

.bg-purple-50 {
	background-color: #faf5ff;
}

.text-purple-700 {
	color: #7c3aed;
}

.text-lg {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.w-4 {
	width: 1rem;
}

.w-5 {
	width: 1.25rem;
}

.w-6 {
	width: 1.5rem;
}

.rounded-lg {
	border-radius: 0.5rem;
}

.p-3 {
	padding: 0.75rem;
}

/* カルーセルスライドのトランジション */
.gtnet-carousel-slide {
	transition: opacity 0.7s ease-in-out;
}

/* カルーセル内のh2スタイル */
.gtnet-carousel h2 {
	color: #ffffff !important;
	font-weight: 700 !important;
	line-height: 1.25 !important; /* モックのleading-tightに合わせる */
	margin-bottom: 1.5rem !important; /* 基本の下マージン */
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important; /* テキストの視認性を向上 */
}

.gtnet-carousel h2 span {
	color: #60a5fa !important;
}

/* カルーセル内のpスタイル */
.gtnet-carousel p {
	color: #ffffff !important; /* より明るい色に変更 */
	font-weight: 500 !important;
	line-height: 1.625 !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important; /* テキストの視認性を向上 */
}

/* サブタイトル（text-blue-400）の視認性向上 */
.gtnet-carousel p.text-blue-400 {
	color: #60a5fa !important;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
	font-weight: 700 !important;
}

/* カルーセルコントロールのスタイル */
.gtnet-carousel-prev:hover,
.gtnet-carousel-next:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

/* はじめての方へバナーのスタイル */
.group:hover .group-hover\:scale-105 {
	transform: scale(1.05);
}

/* お知らせセクションの画像ホバー効果 */
.group:hover img.group-hover\:scale-105 {
	transform: scale(1.05);
}

/* 事業紹介セクションのアイコンホバー効果 */
.group:hover .group-hover\:bg-blue-600 {
	background-color: #2563eb;
}

/* レスポンシブの調整（携帯はフォント小さめで見切れ防止） */
@media (max-width: 767px) {
	.gtnet-carousel h2 {
		font-size: 1.5rem;
		line-height: 1.35;
		margin-bottom: 0.75rem !important;
	}
	.gtnet-carousel .max-w-4xl > p.text-blue-400 {
		font-size: 0.7rem !important;
		margin-bottom: 0.5rem !important;
	}
	.gtnet-carousel .max-w-4xl > p.text-slate-300,
	.gtnet-carousel .max-w-4xl > p.text-white {
		font-size: 0.8rem !important;
		line-height: 1.4 !important;
	}
}

@media (min-width: 768px) {
	.gtnet-carousel h2 {
		font-size: 3.75rem;
		line-height: 1;
	}
}

/* 最新情報セクション：画面サイズに応じてスケール */
.gtnet-home section:has(.gtnet-news-filter),
#latest-info {
	padding-top: clamp(2rem, 5vw, 6rem) !important;
	padding-bottom: clamp(2rem, 5vw, 6rem) !important;
}

/* 最新情報セクションのコンテナ（画面サイズに応じて調整） */
.gtnet-home section:has(.gtnet-news-filter) .container {
	max-width: min(1280px, 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

/* ニュースフィルターボタンのスタイリング */
.gtnet-news-filter {
	cursor: pointer !important;
}

.gt-news-filter-btn {
	cursor: pointer !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	padding: clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.5rem, 1vw, 0.75rem) !important;
	border-radius: 0.5rem !important;
	font-size: clamp(0.65rem, 1.5vw, 0.75rem) !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: rgba(255, 255, 255, 0.2) !important;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
}

.gt-news-filter-btn:hover {
	background-color: rgba(255, 255, 255, 0.3) !important;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
}

.gt-news-filter-btn.bg-blue-600 {
	background-color: #2563eb !important;
	color: #ffffff !important;
	border-color: #2563eb !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.gt-news-filter-btn.bg-blue-600:hover {
	background-color: #1d4ed8 !important;
	border-color: #1d4ed8 !important;
}

/* 記事詳細ラベル：TOP最新記事フィルター（未選択）と同じ padding・色味 */
.gtnet-article-label {
	display: inline-flex !important;
	align-items: center !important;
	padding: clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.5rem, 1vw, 0.75rem) !important;
	border-radius: 0.5rem !important;
	font-size: clamp(0.65rem, 1.5vw, 0.75rem) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	/* ライト背景用：TOP未選択（暗グレー+白枠）の視覚的重みに相当する色味 */
	background-color: #e2e8f0 !important;
	color: #334155 !important;
	border: 1px solid #cbd5e1 !important;
}
.gtnet-article-label:hover {
	background-color: #cbd5e1 !important;
	color: #1e293b !important;
	border-color: #94a3b8 !important;
}

/* ニュースアイテムのスタイリング（横見切れ防止・画面サイズに応じてスケール） */
.gt-news-item,
.gtnet-news-item {
	text-decoration: none !important;
	background-color: #ffffff !important;
	border-radius: 1rem !important;
	border: 1px solid #e2e8f0 !important;
	transition: all 0.2s !important;
	width: 100% !important;
	max-width: 40.875rem !important; /* 654px */
	height: 7rem !important; /* 112px（PC時サムネ16:9） */
	min-height: 7rem !important;
	max-height: 7rem !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	box-sizing: border-box !important;
}

#latest-info .gtnet-view-all-posts-btn,
#latest-info .gtnet-emergency-button {
	box-sizing: border-box;
}

.gt-news-item.gtnet-filter-hidden,
.gtnet-news-item.gtnet-filter-hidden {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
}

/* 該当する記事がない場合のメッセージ */
.gtnet-no-results-message {
	margin-top: 0.5rem !important;
	margin-bottom: 0 !important;
}

/* サムネイルコンテナ（左側） - PC時はカード高さいっぱい・16:9、SPはメディアクエリで上書き */
.gt-news-item > .gtnet-latest-info-thumbnail-container,
.gtnet-news-item > .gtnet-latest-info-thumbnail-container {
	height: 100% !important;
	aspect-ratio: 16 / 9 !important;
	width: auto !important;
	min-width: 8rem !important;
	flex-shrink: 0 !important;
	background-color: #f1f5f9 !important; /* bg-slate-100 */
	overflow: hidden !important;
	display: flex !important;
	align-items: stretch !important;
	line-height: 0 !important;
	position: relative !important;
}

/* コンテンツエリア（右側） */
.gtnet-news-card-content,
.gt-news-item > .flex-1,
.gtnet-news-item > .flex-1 {
	flex: 1 1 0% !important;
	min-width: 0 !important;
	padding: 0.75rem !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	position: relative !important;
	align-self: stretch !important;
	overflow: hidden !important;
	height: 100% !important;
	box-sizing: border-box !important;
}

/* 矢印アイコン（右・縦中央） */
.gt-news-item .gtnet-news-card-arrow,
.gtnet-news-item .gtnet-news-card-arrow,
.gt-news-item .absolute.bottom-2.right-2,
.gtnet-news-item .absolute.bottom-2.right-2 {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	right: 0.5rem !important;
	bottom: auto !important;
}

/* ロックアイコン（右上） */
.gt-news-item .absolute.top-2.right-2,
.gtnet-news-item .absolute.top-2.right-2 {
	position: absolute !important;
	top: 0.5rem !important;
	right: 0.5rem !important;
	z-index: 10 !important;
}

/* サムネイル画像 - コンテナいっぱい（PC/SPとも16:9） */
	.gt-news-item .gtnet-latest-info-thumbnail-container img,
	.gtnet-news-item .gtnet-latest-info-thumbnail-container img {
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
		object-fit: cover !important;
		object-position: top center !important;
	background-color: #e2e8f0 !important; /* bg-slate-200 */
	display: block !important;
	vertical-align: top !important; /* 画像下の余白をなくす */
}

/* PC時：サムネ16:9・カード高さ7rem（余白なし） */
@media (min-width: 640px) {
	.gt-news-item,
	.gtnet-news-item {
		flex-direction: row !important;
		align-items: stretch !important;
		gap: 0 !important;
		padding: 0 !important;
		max-width: 40.875rem !important; /* 654px */
		height: 7rem !important; /* 112px */
		min-height: 7rem !important;
		max-height: 7rem !important;
	}
}

/* タブレット対応：シングルカラム時にカード幅・高さをコンテナに合わせる */
@media (min-width: 640px) and (max-width: 1279px) {
	.gt-news-item,
	.gtnet-news-item {
		max-width: 100% !important;
		height: 8.5rem !important;
		min-height: 8.5rem !important;
		max-height: 8.5rem !important;
	}
	.gt-news-item > .gtnet-latest-info-thumbnail-container,
	.gtnet-news-item > .gtnet-latest-info-thumbnail-container {
		height: 100% !important;
		aspect-ratio: 16 / 9 !important;
		width: auto !important;
		min-width: 10rem !important;
	}
}

/* モバイル対応 */
@media (max-width: 639px) {
	/* SP時：カード全体 - align-items: center でコンテンツを行の縦中央に */
	.gt-news-item,
	.gtnet-news-item {
		max-width: 100% !important;
		width: 100% !important;
		height: 18.75vw !important;   /* サムネ幅33.33vw × 9/16 */
		min-height: 4rem !important;
		max-height: none !important;
		align-items: center !important;  /* ← stretch→center に変更 */
		box-sizing: border-box !important;
	}
	/* SP時：サムネだけstretchで高さいっぱいに */
	.gt-news-item > .gtnet-latest-info-thumbnail-container,
	.gtnet-news-item > .gtnet-latest-info-thumbnail-container {
		width: 33.333% !important;
		max-width: 33.333% !important;
		min-width: 5rem !important;
		height: 100% !important;
		min-height: 0 !important;
		max-height: none !important;
		aspect-ratio: 16 / 9 !important;
		align-self: stretch !important;
	}
	/* SP時：コンテンツはauto高さ（カードのalign-items:centerで縦中央に来る） */
	a.gt-news-item > .gtnet-news-card-content,
	a.gtnet-news-item > .gtnet-news-card-content,
	a.gt-news-item > .flex-1,
	a.gtnet-news-item > .flex-1 {
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
		align-self: stretch !important;
		overflow: visible !important;
		padding: 0.375rem 2rem 0.375rem 0.625rem !important;
		justify-content: flex-start !important;
	}
	/* SP時：日付とタイトルの間の余白を詰める */
	a.gt-news-item .gtnet-news-card-meta,
	a.gtnet-news-item .gtnet-news-card-meta {
		margin-bottom: 0.125rem !important; /* 2px */
	}
	/* SP時：タイトルのフォントサイズを大きく */
	a.gt-news-item .gtnet-news-card-content h4,
	a.gtnet-news-item .gtnet-news-card-content h4,
	a.gt-news-item > .flex-1 h4,
	a.gtnet-news-item > .flex-1 h4 {
		font-size: 1rem !important; /* 16px */
		line-height: 1.4 !important;
		margin: 0 !important;
	}
}

/* 記事カード内コンテンツ：長いタイトル等が横にはみ出さないように */
#latest-info .gt-news-item .flex-grow,
#latest-info .gtnet-news-item .flex-grow,
.gtnet-home section:has(.gtnet-news-filter) .gt-news-item .flex-grow,
.gtnet-home section:has(.gtnet-news-filter) .gtnet-news-item .flex-grow {
	min-width: 0 !important;
}

.gt-news-item:hover,
.gtnet-news-item:hover {
	text-decoration: none !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
	background-color: #ffffff !important;
}

/* 重要・緊急記事の左側バー - border-leftのみ */
.gt-news-item.border-l-4.border-l-red-500,
.gtnet-news-item.border-l-4.border-l-red-500 {
	border-left-width: 6px !important;
	border-left-color: #dc2626 !important;
	border-left-style: solid !important;
}

/* ニュースアイテムの日付部分（旧レイアウト用 - 後方互換性のため残す） */
.gt-news-item .flex-shrink-0.flex.flex-col.w-24,
.gtnet-news-item .flex-shrink-0.flex.flex-col.w-24 {
	min-width: 96px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

@media (min-width: 640px) {
	.gt-news-item .flex-shrink-0.flex.flex-col.w-24,
	.gtnet-news-item .flex-shrink-0.flex.flex-col.w-24 {
		align-items: center !important;
	}
}

/* 新しいレイアウト用：日付＋バッジ（ベースライン揃えでずれ防止） */
.gt-news-item .gtnet-news-card-meta,
.gtnet-news-item .gtnet-news-card-meta {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 0.25rem 0.5rem !important; /* 縦 横 */
	margin-bottom: 0.9375rem !important; /* 15px */
}
/* 日付：補足として10pxに統一（タイトルとのバランス） */
.gt-news-item .gtnet-news-card-date,
.gtnet-news-item .gtnet-news-card-date {
	font-size: 0.625rem !important; /* 10px */
	color: #64748b !important; /* slate-500 */
	font-weight: 700 !important;
	line-height: 1.25 !important;
}
/* 後方互換：旧レイアウトの日付 */
.gt-news-item .flex-1 .flex.items-baseline,
.gtnet-news-item .flex-1 .flex.items-baseline {
	display: flex !important;
	align-items: baseline !important;
	gap: 0.5rem !important;
	margin-bottom: 0.25rem !important;
}

/* ニュースアイテムのバッジ部分 */
.gt-news-item .flex.flex-wrap.items-center.gap-2,
.gtnet-news-item .flex.flex-wrap.items-center.gap-2,
.gt-news-item .flex.gap-1,
.gtnet-news-item .flex.gap-1 {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.25rem !important;
	margin-bottom: 0.5rem !important;
}

/* 通常記事のカテゴリーバッジ：日付と同程度の10pxでバランス */
.gt-news-item .flex.gap-1 > span,
.gtnet-news-item .flex.gap-1 > span,
.gt-news-item .flex.flex-wrap.items-center.gap-2 > span,
.gtnet-news-item .flex.flex-wrap.items-center.gap-2 > span {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.1875rem 0.5rem !important; /* 3px 8px */
	font-size: 0.625rem !important; /* 10px */
	line-height: 1.25 !important;
	font-weight: 700 !important;
	border-radius: 9999px !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
}
/* 通常カテゴリー（グレー） */
.gt-news-item .flex.gap-1 > span.bg-slate-100,
.gtnet-news-item .flex.gap-1 > span.bg-slate-100 {
	background-color: #f1f5f9 !important;
	color: #475569 !important;
	border: 1px solid #e2e8f0 !important;
}
/* 被害発生状況（赤枠） */
.gt-news-item .flex.gap-1 > span.bg-red-100,
.gtnet-news-item .flex.gap-1 > span.bg-red-100 {
	background-color: #fee2e2 !important;
	color: #b91c1c !important;
	border: 1px solid #fecaca !important;
}
/* 重要バッジ */
.gt-news-item .flex.gap-1 > span.bg-red-500,
.gtnet-news-item .flex.gap-1 > span.bg-red-500 {
	background-color: #ef4444 !important;
	color: #ffffff !important;
	border: none !important;
}

/* タイプタグのスタイリング（後方互換） */
.gtnet-news-item span.px-3.py-0\.5,
.gtnet-news-item .px-3.py-0\.5 {
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
	padding-top: 0.125rem !important;
	padding-bottom: 0.125rem !important;
	font-size: 0.625rem !important; /* 10px - 日付・バッジと揃える */
	font-weight: 700 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 9999px !important;
	background-color: #f1f5f9 !important;
	color: #334155 !important;
	line-height: 1.25 !important;
}

/* 重要バッジのスタイリング */
.gtnet-news-item span.bg-red-500,
.gtnet-news-item .bg-red-500 {
	display: inline-flex !important;
	align-items: center !important;
	padding: 0.1875rem 0.5rem !important;
	font-size: 0.625rem !important; /* 10px */
	font-weight: 700 !important;
	line-height: 1.25 !important;
	background-color: #ef4444 !important;
	color: #ffffff !important;
	border-radius: 9999px !important;
	white-space: nowrap !important;
}

.gtnet-news-item span.bg-red-500 svg,
.gtnet-news-item .bg-red-500 svg {
	width: 0.75rem !important;
	height: 0.75rem !important;
}

/* ロックアイコンのスタイリング */
.gtnet-news-item h4 svg.w-4.h-4,
.gtnet-news-item h4 svg {
	width: 1rem !important;
	height: 1rem !important;
	color: #94a3b8 !important;
	flex-shrink: 0 !important;
}

/* ニュースアイテムのタイトル */
.gt-news-item h4,
.gtnet-news-item h4 {
	margin: 0 !important;
	font-size: clamp(0.8125rem, 2vw, 1.125rem) !important; /* 13px-18px */
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 1.4 !important;
	transition: color 0.2s !important;
}

/* 新しいレイアウト用：コンテンツ内のタイトル（日付・バッジより明確に大きく） */
.gt-news-item .flex-1 h4,
.gtnet-news-item .flex-1 h4 {
	font-size: 0.9375rem !important; /* 15px */
	line-height: 1.4 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	display: block !important; /* flexを上書き */
	align-items: normal !important;
	gap: 0 !important;
}

.gt-news-item h4.text-slate-900,
.gtnet-news-item h4.text-slate-900 {
	color: #0f172a !important;
	font-weight: 700 !important;
}

.gt-news-item:hover h4,
.gtnet-news-item:hover h4 {
	color: #2563eb !important;
}

/* ニュースアイテムの矢印アイコン */
.gt-news-item .flex-shrink-0.flex.items-end.justify-end,
.gtnet-news-item .flex-shrink-0.flex.items-end.justify-end {
	display: flex !important;
	align-items: flex-end !important;
	justify-content: flex-end !important;
	gap: 0.5rem !important;
	flex-shrink: 0 !important;
	align-self: flex-end !important;
	margin-left: auto !important;
}

/* ロックアイコンの表示を確実にする（黒で統一） */
.gtnet-lock-icon {
	display: inline-block !important;
	font-size: 1.25rem !important;
	line-height: 1 !important;
	opacity: 1 !important;
	visibility: visible !important;
	color: #0f172a !important;
	flex-shrink: 0 !important;
	width: auto !important;
	height: auto !important;
	min-width: 1.25rem !important;
	min-height: 1.25rem !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	z-index: 10 !important;
	vertical-align: middle !important;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
	filter: grayscale(100%) brightness(0);
}

.gt-news-item:hover .gtnet-lock-icon,
.gtnet-news-item:hover .gtnet-lock-icon {
	color: #0f172a !important;
	filter: grayscale(100%) brightness(0);
}

/* ロックアイコンの親要素のスタイル確認 */
.gt-news-item .flex-shrink-0.flex.items-end.justify-end.gap-2,
.gtnet-news-item .flex-shrink-0.flex.items-end.justify-end.gap-2 {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: flex-end !important;
	gap: 0.5rem !important;
}

/* ロックアイコンの位置調整と表示を確実にする（黒で統一） */
.gt-news-item .gtnet-lock-icon,
.gtnet-news-item .gtnet-lock-icon {
	display: inline-block !important;
	align-self: flex-end !important;
	margin-bottom: 0.25rem !important;
	font-size: 1.25rem !important;
	line-height: 1 !important;
	opacity: 1 !important;
	visibility: visible !important;
	color: #0f172a !important;
	flex-shrink: 0 !important;
	width: auto !important;
	height: auto !important;
	filter: grayscale(100%) brightness(0);
}

.gt-news-item .w-10.h-10.rounded-full,
.gtnet-news-item .w-10.h-10.rounded-full {
	width: 2.5rem !important;
	height: 2.5rem !important;
	border-radius: 9999px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background-color: #f1f5f9 !important;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
	transition: all 0.2s !important;
}

.gt-news-item .w-10.h-10.rounded-full svg,
.gtnet-news-item .w-10.h-10.rounded-full svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
	color: #0f172a !important;
	transition: color 0.2s !important;
}

.gt-news-item:hover .w-10.h-10.rounded-full,
.gtnet-news-item:hover .w-10.h-10.rounded-full {
	background-color: #2563eb !important;
}

.gt-news-item:hover .w-10.h-10.rounded-full svg,
.gtnet-news-item:hover .w-10.h-10.rounded-full svg {
	color: #ffffff !important;
}

/* 最新情報セクション：コンテンツの見切れ防止（タイトル「最新情報」が切れないように） */
#latest-info .container,
.gtnet-home section:has(.gtnet-news-filter) .container {
	overflow: visible !important;
}

/* フィルター領域：タイトル・フィルター・ボタンの見切れ防止 */
.gtnet-home section:has(.gtnet-news-filter) .lg\:w-2\/3 {
	min-width: 0;
	overflow: visible !important;
}
.gtnet-home section:has(.gtnet-news-filter) #gt-news-list,
.gtnet-home section:has(.gtnet-news-filter) .gtnet-news-list-wrap {
	min-width: 0;
	max-width: 100% !important; /* 親幅を超えない */
	overflow: visible !important; /* ボタン見切れ防止 */
}

/* 記事カード：親幅に確実に収める */
.gtnet-home section:has(.gtnet-news-filter) .gt-news-item,
.gtnet-home section:has(.gtnet-news-filter) .gtnet-news-item {
	max-width: 100% !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* 記事タイトル：長文で折り返す */
.gtnet-home section:has(.gtnet-news-filter) .gt-news-item h4,
.gtnet-home section:has(.gtnet-news-filter) .gtnet-news-item h4 {
	word-break: break-word !important;
	overflow-wrap: break-word !important;
}
.gtnet-home section:has(.gtnet-news-filter) .mb-10 {
	overflow: visible !important;
}
.gtnet-home section:has(.gtnet-news-filter) .mb-10 > .flex-shrink-0 {
	flex-shrink: 0 !important;
}

/* 最新情報セクション：メイン+サイドバーレイアウト（Tailwind非依存） */
.gtnet-latest-info-layout {
	display: flex !important;
	flex-direction: column !important;
	gap: 2rem !important;
}

.gtnet-latest-info-main {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

.gtnet-latest-info-sidebar {
	width: 100% !important;
	max-width: 100% !important;
}

/* 1280px以上: 2カラム（メイン2/3 + サイドバー1/3） */
@media (min-width: 1280px) {
	.gtnet-latest-info-layout {
		flex-direction: row !important;
		align-items: flex-start !important;
		gap: 3rem !important;
	}

	.gtnet-latest-info-main {
		width: 66.666667% !important;
		flex: 0 0 66.666667% !important;
		max-width: 66.666667% !important;
	}

	.gtnet-latest-info-sidebar {
		width: 33.333333% !important;
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		align-self: flex-start !important;
	}
}

/* 後方互換: 旧lg:w-*クラスが残っている場合のフォールバック */
.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3 {
	width: 100% !important;
}

@media (min-width: 1280px) {
	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-2\/3 {
		width: 66.666667% !important;
		flex: 0 0 66.666667% !important;
		max-width: 66.666667% !important;
	}

	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3 {
		width: 33.333333% !important;
		flex: 0 0 33.333333% !important;
		max-width: 33.333333% !important;
		align-self: flex-start !important;
		margin-top: 0 !important;
	}
}

/* ニュースリストのスペーシング：画面サイズに応じてスケール */
.gtnet-home section:has(.gtnet-news-filter) #gt-news-list.space-y-2,
.gtnet-home section:has(.gtnet-news-filter) #gt-news-list.space-y-4,
.gtnet-home section:has(.gtnet-news-filter) #gtnet-news-list.space-y-6 {
	display: flex !important;
	flex-direction: column !important;
	gap: clamp(0.5rem, 1.5vw, 0.75rem) !important;
}

@media (min-width: 768px) {
	.gtnet-home section:has(.gtnet-news-filter) #gt-news-list.space-y-2,
	.gtnet-home section:has(.gtnet-news-filter) #gt-news-list.space-y-4,
	.gtnet-home section:has(.gtnet-news-filter) #gtnet-news-list.space-y-6 {
		gap: 0.75rem !important;
	}
}

/* サイドバーカードのスタイリング */
.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3.space-y-6 > * {
	margin-bottom: 1.5rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3.space-y-6 > *:last-child {
	margin-bottom: 0 !important;
}

/* フィルタータブのコンテナ：画面サイズに応じてスケール */
.gtnet-home section:has(.gtnet-news-filter) .mb-10 {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem) !important;
	min-width: 0 !important; /* フィルター行が親幅に収まるよう縮小を許可 */
}

/* .mb-10: タイトル→フィルターは常に縦積み（row指定を上書き） */
.gtnet-home section:has(.gtnet-news-filter) .mb-10.flex {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 1.5rem !important;
}

/* タイトル→フィルターを縦に積み、フィルターは常に全幅で見切れ防止 */
.gtnet-home section:has(.gtnet-news-filter) .mb-10 {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 1rem !important;
}

@media (min-width: 768px) {
	.gtnet-home section:has(.gtnet-news-filter) .mb-10 {
		flex-direction: column !important; /* PCでも縦積み＝フィルターが常に全幅で収まる */
		align-items: stretch !important;
		gap: 1.5rem !important;
	}
}

/* フィルターは常に横並び（携帯でもサブタイトルの下で横スクロール） */
.gtnet-home section:has(.gtnet-news-filter) .mb-10 .gtnet-news-filter,
.gtnet-home section:has(.gtnet-news-filter) .mb-10 #gt-news-filter-tabs {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-self: stretch !important;
}

/* タイトルとフィルターのコンテナ */
.gtnet-home section:has(.gtnet-news-filter) .mb-10 > .flex > .flex {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
}

@media (min-width: 768px) {
	.gtnet-home section:has(.gtnet-news-filter) .mb-10 > .flex > .flex {
		flex-direction: row !important;
		align-items: center !important;
		gap: 1.5rem !important;
	}
}

/* フィルター：携帯で見切れる場合は横スクロール（確実に効くように） */
.gtnet-filter-scroll-wrap {
	overflow-x: auto !important;
	overflow-y: visible !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	max-width: 100% !important;
	width: 100% !important;
	min-width: 0 !important; /* 親幅に収まるよう縮小を許可 */
	padding-bottom: 0.5rem !important; /* スクロールバー用の余白 */
}

/* 携帯：見切れ防止（コンテナ幅を制限、フィルターは横スクロールで対応） */
@media (max-width: 767px) {
	#latest-info,
	.gtnet-home section:has(.gtnet-news-filter) {
		max-width: 100vw !important;
	}
	#latest-info .container,
	.gtnet-home section:has(.gtnet-news-filter) .container {
		max-width: 100% !important;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
		box-sizing: border-box !important;
	}
	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-2\/3 {
		max-width: 100% !important;
		min-width: 0 !important;
	}
}
.gtnet-filter-scroll-wrap::-webkit-scrollbar {
	height: 6px;
}
.gtnet-filter-scroll-wrap::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 3px;
}
.gtnet-filter-scroll-wrap::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 3px;
}

.gtnet-home section:has(.gtnet-news-filter) .flex.gap-1.overflow-x-auto,
.gtnet-home section:has(.gtnet-news-filter) .gtnet-news-filter {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 0.25rem !important;
	padding-bottom: 0.5rem !important;
	margin-bottom: -0.5rem !important;
	min-width: min-content !important; /* コンテンツ幅を維持し、親でスクロール */
	flex-shrink: 0 !important;
}

/* 過去の情報をすべて見るボタン */
.gtnet-home section:has(.gtnet-news-filter) a[href*="/archives/"] {
	width: 100% !important;
	padding: 1.25rem !important;
	color: #ffffff !important;
	font-weight: 900 !important;
	font-size: 0.875rem !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
	border-radius: 1rem !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(4px) !important;
	transition: all 0.2s !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	margin-top: 1rem !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
	text-decoration: none !important;
}

.gtnet-home section:has(.gtnet-news-filter) a[href*="/archives/"]:hover {
	background-color: #2563eb !important;
	border-color: #2563eb !important;
	text-decoration: none !important;
}

/* サイドバーカードのスタイリング */
/* 動画ライブラリカード */
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600.rounded-3xl,
.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3 .bg-blue-600,
.gtnet-home section:has(.gtnet-news-filter) .space-y-6 > .bg-blue-600,
.gtnet-home section:has(.gtnet-news-filter) div.bg-blue-600 {
	border-radius: 1.5rem !important;
	padding: 2rem !important;
	color: #ffffff !important;
	position: relative !important;
	overflow: hidden !important;
	background-color: #2563eb !important;
	display: block !important;
	box-sizing: border-box !important;
}

/* 動画ライブラリカードの装飾アイコン */
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 svg.absolute {
	position: absolute !important;
	right: -1rem !important;
	bottom: -1rem !important;
	width: 10rem !important;
	height: 10rem !important;
	color: rgba(255, 255, 255, 0.05) !important;
	transition: transform 0.7s !important;
	z-index: 1 !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600.group:hover svg.absolute {
	transform: scale(1.1) !important;
}

/* 動画ライブラリのフィルターボタン（GTムービー、犯行動画、検証動画） */
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap.gap-2,
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.5rem !important;
	margin-bottom: 1.5rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap > a,
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap > span {
	background-color: rgba(255, 255, 255, 0.2) !important;
	padding: 0.375rem 0.75rem !important;
	border-radius: 0.5rem !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	white-space: nowrap !important;
	transition: all 0.2s !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap > a:hover,
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 .flex.flex-wrap > span:hover {
	background-color: rgba(255, 255, 255, 0.3) !important;
}

/* 動画ライブラリへボタン */
.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 a.bg-slate-900 {
	width: 100% !important;
	background-color: #0f172a !important;
	color: #ffffff !important;
	padding: 1rem 1.5rem !important;
	border-radius: 0.75rem !important;
	font-weight: 700 !important;
	font-size: 0.875rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.2s !important;
	text-decoration: none !important;
	border: none !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 a.bg-slate-900:hover {
	background-color: #000000 !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.15) !important;
	transform: translateY(-1px) !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-blue-600 a.bg-slate-900 svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
	flex-shrink: 0 !important;
}

/* 書式テンプレートカードとデータベースカード */
.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(4px) !important;
	border-radius: 1.5rem !important;
	padding: 2rem !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 h5 {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	margin-bottom: 1.5rem !important;
	color: #0f172a !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 h5 svg {
	width: 1.5rem !important;
	height: 1.5rem !important;
	color: #2563eb !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.5rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 1rem !important;
	border-radius: 0.75rem !important;
	border: 1px solid transparent !important;
	transition: all 0.2s !important;
	text-decoration: none !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a:hover {
	background-color: #f8fafc !important;
	border-color: #e2e8f0 !important;
	text-decoration: none !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a > div {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a svg.w-5.h-5 {
	width: 1.25rem !important;
	height: 1.25rem !important;
	color: #94a3b8 !important;
	transition: color 0.2s !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a:hover svg.w-5.h-5 {
	color: #2563eb !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a span {
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: #334155 !important;
	transition: color 0.2s !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a:hover span {
	color: #2563eb !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a > svg.w-4.h-4 {
	width: 1rem !important;
	height: 1rem !important;
	color: #cbd5e1 !important;
	transition: color 0.2s !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a:hover > svg.w-4.h-4 {
	color: #2563eb !important;
}

/* 携帯：データベース・書式テンプレートのリンクを確実にクリック可能に */
@media (max-width: 767px) {
	.gtnet-home section:has(.gtnet-news-filter) .bg-white\/95 .space-y-2 > a,
	#latest-info .bg-white\/95 .space-y-2 > a {
		position: relative !important;
		z-index: 10 !important;
		pointer-events: auto !important;
		min-height: 44px !important; /* タップターゲット推奨サイズ */
		width: 100% !important;
		box-sizing: border-box !important;
	}
	/* サイドバーカード：携帯でリンクが正しく動作するようオーバーフロー防止 */
	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3 .bg-white\/95,
	#latest-info .lg\:w-1\/3 .bg-white\/95 {
		overflow: visible !important;
	}
}

/* 緊急のご相談カード（:has()のフォールバックも追加） */
/* IDセレクタで確実に適用 */
.gtnet-emergency-section,
#latest-info .bg-slate-900\/95,
#latest-info .gtnet-emergency-section,
section#latest-info .bg-slate-900\/95,
section#latest-info .gtnet-emergency-section,
.lg\:w-1\/3 .bg-slate-900\/95,
.lg\:w-1\/3 .gtnet-emergency-section,
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 {
	background-color: rgba(15, 23, 42, 0.95) !important;
	backdrop-filter: blur(4px) !important;
	border-radius: 1.5rem !important;
	padding: 2rem !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

#latest-info .bg-slate-900\/95 h5,
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 h5,
section#latest-info .bg-slate-900\/95 h5 {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	margin-bottom: 1rem !important;
	color: #ffffff !important;
	display: block !important;
}

#latest-info .bg-slate-900\/95 .space-y-4,
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 .space-y-4,
section#latest-info .bg-slate-900\/95 .space-y-4 {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
}

#latest-info .gtnet-emergency-phone-btn,
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 .bg-white\/5,
section#latest-info .bg-slate-900\/95 .bg-white\/5,
#latest-info .bg-slate-900\/95 .bg-white\/5 {
	background-color: rgba(255, 255, 255, 0.05) !important;
	border-radius: 1rem !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	padding: 1rem !important;
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
	width: 100% !important;
	cursor: pointer !important;
}

#latest-info .gtnet-emergency-phone-btn svg,
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 .bg-white\/5 svg,
section#latest-info .bg-slate-900\/95 .bg-white\/5 svg,
#latest-info .bg-slate-900\/95 .bg-white\/5 svg {
	width: 1.5rem !important;
	height: 1.5rem !important;
	color: #60a5fa !important;
	flex-shrink: 0 !important;
}

#latest-info .gtnet-emergency-phone-btn p.text-\[10px\],
.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 .bg-white\/5 p.text-\[10px\] {
	font-size: 0.625rem !important;
	color: #94a3b8 !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 .bg-white\/5 p.text-xl {
	font-size: 1.25rem !important;
	font-weight: 900 !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 a.bg-blue-600 {
	width: 100% !important;
	background-color: #2563eb !important;
	padding: 1rem !important;
	border-radius: 1rem !important;
	font-weight: 900 !important;
	font-size: 0.875rem !important;
	color: #ffffff !important;
	transition: all 0.2s !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(37, 99, 235, 0.4) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	text-decoration: none !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 a.bg-blue-600:hover {
	background-color: #1d4ed8 !important;
}

.gtnet-home section:has(.gtnet-news-filter) .bg-slate-900\/95 a.bg-blue-600 svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
}

/* サイドバー全体を確実に表示 */
#latest-info .gtnet-latest-info-sidebar,
#latest-info .lg\:w-1\/3,
section#latest-info .lg\:w-1\/3 {
	display: block !important;
	visibility: visible !important;
	width: 100% !important;
}

@media (min-width: 1280px) {
	#latest-info .gtnet-latest-info-sidebar,
	#latest-info .lg\:w-1\/3,
	section#latest-info .lg\:w-1\/3 {
		width: 33.333333% !important;
	}
}

/* サイドバーのスペーシング */
.gtnet-home section:has(.gtnet-news-filter) .space-y-6 {
	display: flex !important;
	flex-direction: column !important;
	gap: 1.5rem !important;
}

/* タブレット対応：サイドバーを2列グリッドで効率的に配置 */
@media (min-width: 640px) and (max-width: 1279px) {
	#latest-info .gtnet-latest-info-sidebar.space-y-6,
	#latest-info .lg\:w-1\/3 > .space-y-6,
	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3 > .space-y-6,
	#latest-info .lg\:w-1\/3.space-y-6,
	.gtnet-home section:has(.gtnet-news-filter) .lg\:w-1\/3.space-y-6 {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.5rem !important;
	}
}

/* ============================================
   GT-NET フッタースタイル
   ============================================ */
.gtnet-footer {
	background-color: #020617 !important;
	padding-top: 6rem !important;
	padding-bottom: 3rem !important;
	color: #94a3b8 !important; /* slate-400: 濃い背景に対して見やすい明るいグレー */
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.gtnet-footer .container {
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

@media (min-width: 768px) {
	.gtnet-footer .container {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}

.gtnet-footer .grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 5rem !important;
	margin-bottom: 5rem !important;
}

@media (min-width: 1024px) {
	.gtnet-footer .grid {
		grid-template-columns: 1fr 1fr !important;
	}
}

.gtnet-footer img {
	height: 3rem !important;
	width: auto !important;
	filter: brightness(0) invert(1) !important;
	margin-bottom: 2rem !important;
}

.gtnet-footer p.max-w-md {
	max-width: 28rem !important;
	font-size: 0.875rem !important;
	line-height: 1.75 !important;
	margin-bottom: 2rem !important;
	color: #94a3b8 !important; /* slate-400: 見やすい明るいグレー */
}

.gtnet-footer .flex.gap-4 {
	display: flex !important;
	gap: 1rem !important;
}

.gtnet-footer .flex.gap-4 a {
	width: 3rem !important;
	height: 3rem !important;
	border-radius: 1rem !important;
	background-color: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s !important;
	text-decoration: none !important;
	color: #cbd5e1 !important; /* slate-300: アイコンが見やすい明るい色 */
}

.gtnet-footer .flex.gap-4 a:hover {
	background-color: #2563eb !important;
	color: #ffffff !important;
}

.gtnet-footer .flex.gap-4 a svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
}

.gtnet-footer .grid.grid-cols-2 {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 2rem !important;
}

@media (min-width: 768px) {
	.gtnet-footer .grid.grid-cols-2 {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

.gtnet-footer .grid.grid-cols-2 > div {
	display: flex !important;
	flex-direction: column !important;
}

.gtnet-footer .grid.grid-cols-2 .col-span-2 {
	grid-column: span 2 / span 2 !important;
}

@media (min-width: 768px) {
	.gtnet-footer .grid.grid-cols-2 .col-span-2 {
		grid-column: span 1 / span 1 !important;
	}
}

.gtnet-footer h6 {
	color: #ffffff !important;
	font-weight: 900 !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.2em !important;
	margin-bottom: 1.5rem !important;
	text-transform: uppercase !important;
}

.gtnet-footer ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
}

.gtnet-footer ul li {
	margin: 0 !important;
}

.gtnet-footer ul li a {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	color: #94a3b8 !important; /* slate-400: 濃い背景に対して見やすい明るいグレー */
	text-decoration: none !important;
	transition: color 0.2s !important;
}

.gtnet-footer ul li a:hover {
	color: #ffffff !important;
}

.gtnet-footer .pt-12 {
	padding-top: 3rem !important;
	border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 1.5rem !important;
}

@media (min-width: 768px) {
	.gtnet-footer .pt-12 {
		flex-direction: row !important;
	}
}

.gtnet-footer .pt-12 p {
	font-size: 0.625rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.1em !important;
	margin: 0 !important;
	color: #94a3b8 !important; /* slate-400: 濃い背景に対して見やすい明るいグレー */
}
/* Deployment trigger V2 - 20260115-125005 */
/* Deployment test - 2026-01-15-12:52:13 */
/* Auto deployment - 20260115-125542 */
/* Deployment trigger - 2026-01-15-13:00:31 */
/* Deployment trigger - 2026-01-15-13:16:12 */
/* Deploy completed theme - 2026-01-15-17:13:33 */
/* Deploy trigger - 20260115-171628 */

/* ============================================
   投稿記事のアイキャッチ画像スタイル
   ============================================ */
.entry-thumbnail {
	width: 100% !important;
	margin-bottom: 2rem !important;
	border-radius: 0.75rem !important;
	overflow: hidden !important;
	background-color: #e2e8f0 !important; /* slate-200 */
}

.entry-thumbnail img {
	width: 100% !important;
	height: 12rem !important; /* モバイル: 192px - 横長に */
	object-fit: cover !important; /* サイズ感を維持してトリミング */
	object-position: top center !important;
	display: block !important;
}

/* SWELLテーマのアイキャッチ画像 - 全角丸に修正 */
.p-articleThumb,
.p-articleThumb__img,
.p-articleThumb figure,
.post_thumbnail,
.post_thumbnail img,
.single .l-mainContent .post_content > .wp-block-image:first-child,
.single .l-mainContent .post_content > .wp-block-image:first-child img,
.single .l-mainContent figure.wp-block-image,
.single .l-mainContent figure.wp-block-image img {
	border-radius: 0.75rem !important;
	overflow: hidden !important;
}

/* 投稿詳細ページのアイキャッチ画像（SWELL） */
.p-articleThumb {
	border-radius: 0.75rem !important;
	overflow: hidden !important;
}

.p-articleThumb img,
.p-articleThumb__img {
	border-radius: 0.75rem !important;
}

@media (min-width: 768px) {
	.entry-thumbnail img {
		height: 16rem !important; /* デスクトップ: 256px - 横長に */
	}
}

/* ============================================
   投稿記事セクション（News & Campaigns）のアイキャッチ画像サイズ固定
   ============================================ */
/* 左側の大きな記事のアイキャッチ画像 */
section article.lg\:col-span-2 > a.block.w-full.h-40,
section article.lg\:col-span-2 > a.block.w-full.h-40 img {
	height: 10rem !important; /* モバイル: 160px - 固定 */
	max-height: 10rem !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media (min-width: 768px) {
	section article.lg\:col-span-2 > a.block.w-full.h-40,
	section article.lg\:col-span-2 > a.block.w-full.h-40.md\:h-52,
	section article.lg\:col-span-2 > a.block.w-full.h-40.md\:h-52 img {
		height: 12.5rem !important; /* デスクトップ: 200px - 固定 */
		max-height: 12.5rem !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}

/* 右側の小さな記事のアイキャッチ画像 */
section article.group > a,
section article.group > a.block.h-32,
section article.group > a.block.h-32 img,
section article.group > a.block.h-32.md\:h-40 img,
section article.group > a img {
	width: 11.6875rem !important; /* 187px */
	height: 7.3125rem !important; /* 117px */
	max-width: 11.6875rem !important;
	max-height: 7.3125rem !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	display: block !important;
}

@media (min-width: 768px) {
	section article.group > a,
	section article.group > a.block.h-32.md\:h-40,
	section article.group > a.block.h-32.md\:h-40 img,
	section article.group > a img {
		width: 11.6875rem !important; /* 187px */
		height: 7.3125rem !important; /* 117px */
		max-width: 11.6875rem !important;
		max-height: 7.3125rem !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		display: block !important;
	}
}

/* 画像のobject-fitを確実に適用 */
section article.lg\:col-span-2 > a img {
	object-fit: cover !important;
	object-position: top center !important;
	width: 100% !important;
	display: block !important;
	vertical-align: top !important;
}

section article.group > a img {
	object-fit: cover !important;
	object-position: top center !important;
	width: 100% !important;
	height: 100% !important;
	display: block !important;
	vertical-align: top !important;
	background-color: #e2e8f0 !important; /* bg-slate-200 - 画像読み込み前の背景色 */
}

/* アイキャッチ画像の親要素（<a>タグ）の余白を削除 */
section article.lg\:col-span-2 > a.block,
section article.group > a.block {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 0 !important; /* 画像の下の余白を削除 */
}

/* article要素の最初の子要素の余白も削除 */
section article.lg\:col-span-2 > *:first-child,
section article.group > *:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ============================================
   最新情報セクションのアイキャッチ画像スタイル
   ============================================ */
/* 記事アイテム内のアイキャッチ画像コンテナの余白を完全に削除 */
/* p-4 (1rem = 16px) と gap-3 (0.75rem = 12px) を相殺 */
.gt-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail,
.gtnet-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail,
.gt-news-item.flex > .gtnet-latest-info-thumbnail,
.gtnet-news-item.flex > .gtnet-latest-info-thumbnail,
.gt-news-item.flex-col > .gtnet-latest-info-thumbnail,
.gtnet-news-item.flex-col > .gtnet-latest-info-thumbnail,
.gt-news-item.flex-row > .gtnet-latest-info-thumbnail,
.gtnet-news-item.flex-row > .gtnet-latest-info-thumbnail,
.gt-news-item .gtnet-latest-info-thumbnail,
.gtnet-news-item .gtnet-latest-info-thumbnail,
a.gt-news-item > .gtnet-latest-info-thumbnail,
a.gtnet-news-item > .gtnet-latest-info-thumbnail,
.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
	flex-shrink: 0 !important;
	width: 8rem !important;   /* 128px */
	height: 4.5rem !important;  /* 72px = 16:9 */
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 0 !important; /* 上の余白を削除 */
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	line-height: 0 !important; /* 画像の下の余白を削除 */
	align-self: center !important; /* 中央揃え */
	position: relative !important;
	overflow: hidden !important; /* 画像がはみ出さないように */
}

/* 親要素のp-4による上のパディングを相殺（モバイル: 0.75rem） */
@media (max-width: 639px) {
	.gt-news-item.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		margin-top: -0.75rem !important; /* 親のpadding-topを相殺 */
	}
}

/* 親要素のp-4による上のパディングを相殺（デスクトップ: 1rem） */
@media (min-width: 640px) {
	.gt-news-item.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		margin-top: -1rem !important; /* 親のpadding-topを相殺 */
	}
}

/* アイキャッチ画像の前の要素（日付）の余白を調整 */
.gt-news-item > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
	margin-left: 0 !important; /* gapを維持 */
}

@media (min-width: 640px) {
	.gt-news-item.sm\:gap-6 > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.sm\:gap-6 > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gt-news-item > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item > .flex-shrink-0.flex.flex-col.w-24 + .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		margin-left: 0 !important; /* gapを維持 */
	}
}

/* アイキャッチ画像の後の要素（コンテンツ）の余白を調整 */
.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow,
.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow {
	margin-left: 0 !important; /* gapを維持 */
	padding-left: 0.5rem !important; /* 適切な余白を追加 */
}

@media (min-width: 640px) {
	.gt-news-item.sm\:gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow,
	.gtnet-news-item.sm\:gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow,
	.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow,
	.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing + .flex-grow {
		margin-left: 0 !important; /* gapを維持 */
		padding-left: 0.75rem !important; /* 適切な余白を追加 */
	}
}

/* gtnet-thumbnail-no-spacingクラスの追加スタイル */
/* 上下のpaddingを完全に削除 - より強力なセレクタで確実に適用 */
.gtnet-thumbnail-no-spacing,
.gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gt-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gt-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gt-news-item.flex > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
.gtnet-news-item.flex > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
a.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
a.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 0 !important; /* 上の余白を削除 */
	padding-bottom: 0 !important; /* 下の余白も削除 */
	padding-left: 0 !important;
	padding-right: 0 !important;
	/* gapによる上下の余白も削除 */
	position: relative !important;
	z-index: 1 !important;
}

/* すべてのgtnet-latest-info-thumbnailのpadding-bottomを削除（クラスがなくても） */
.gt-news-item > .gtnet-latest-info-thumbnail,
.gtnet-news-item > .gtnet-latest-info-thumbnail,
.gt-news-item .gtnet-latest-info-thumbnail,
.gtnet-news-item .gtnet-latest-info-thumbnail {
	padding-bottom: 0 !important;
}

/* アイキャッチ画像がない場合の透明プレースホルダー（高さのみ維持） */
.gt-news-item .gtnet-latest-info-thumbnail > .gtnet-thumbnail-placeholder-transparent,
.gtnet-news-item .gtnet-latest-info-thumbnail > .gtnet-thumbnail-placeholder-transparent {
	width: 100% !important;
	height: 100% !important;
	min-width: 8rem !important;
	min-height: 4.5rem !important;
	max-width: 8rem !important;
	max-height: 4.5rem !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: transparent !important; /* 透明 */
	visibility: visible !important; /* 高さを維持するために表示 */
	opacity: 0 !important; /* 完全に透明 */
}

/* 右側に配置されるプレースホルダー（アイキャッチ画像がない場合） */
.gt-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-placeholder-right,
.gtnet-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-placeholder-right {
	margin-left: auto !important; /* 右側に配置 */
}

@media (max-width: 639px) {
	.gt-news-item .gtnet-latest-info-thumbnail > .gtnet-thumbnail-placeholder-transparent,
	.gtnet-news-item .gtnet-latest-info-thumbnail > .gtnet-thumbnail-placeholder-transparent {
		min-width: 8rem !important;
		min-height: 4.5rem !important;
		max-width: 8rem !important;
		max-height: 4.5rem !important;
	}
}

.gt-news-item .gtnet-latest-info-thumbnail img,
.gtnet-news-item .gtnet-latest-info-thumbnail img,
.gt-news-item.flex > .gtnet-latest-info-thumbnail img,
.gtnet-news-item.flex > .gtnet-latest-info-thumbnail img,
a.gt-news-item > .gtnet-latest-info-thumbnail img,
a.gtnet-news-item > .gtnet-latest-info-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	min-width: 8rem !important;
	min-height: 4.5rem !important;
	max-width: 8rem !important;
	max-height: 4.5rem !important;
	object-fit: cover !important; /* サイズ感を維持してトリミング */
	object-position: top center !important;
	border-radius: 0.5rem !important; /* rounded-lg */
	background-color: #e2e8f0 !important; /* slate-200 */
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	vertical-align: top !important;
	border: none !important;
	outline: none !important;
	box-sizing: border-box !important;
}

/* モバイルでの表示も確保 */
@media (max-width: 639px) {
	/* すべてのアイキャッチ画像のpadding-bottomを削除 */
	.gt-news-item .gtnet-latest-info-thumbnail,
	.gtnet-news-item .gtnet-latest-info-thumbnail,
	.gt-news-item.flex-col > .gtnet-latest-info-thumbnail,
	.gtnet-news-item.flex-col > .gtnet-latest-info-thumbnail,
	a.gt-news-item > .gtnet-latest-info-thumbnail,
	a.gtnet-news-item > .gtnet-latest-info-thumbnail,
	.gt-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gt-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gt-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.bg-white.p-4 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		display: block !important;
		width: 8rem !important;  /* モバイル: 128px */
		height: 4.5rem !important; /* モバイル: 72px = 16:9 */
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-top: 0 !important; /* 上の余白を削除 */
		padding-bottom: 0 !important; /* 下の余白も削除 */
		padding-left: 0 !important;
		padding-right: 0 !important;
		line-height: 0 !important;
		align-self: flex-start !important; /* モバイルでは左揃え */
		overflow: hidden !important; /* 画像がはみ出さないように */
	}
	
	.gt-news-item .gtnet-latest-info-thumbnail img,
	.gtnet-news-item .gtnet-latest-info-thumbnail img {
		width: 100% !important;
		height: 100% !important;
		min-width: 8rem !important;
		min-height: 4.5rem !important;
		max-width: 8rem !important;
		max-height: 4.5rem !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

@media (min-width: 640px) {
	/* すべてのアイキャッチ画像のpadding-bottomを削除 */
	.gt-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail,
	.gtnet-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail,
	a.gt-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail,
	a.gtnet-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail,
	.gt-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.sm\:flex-row > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gt-news-item.bg-white.p-4.sm\:flex-row > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.bg-white.p-4.sm\:flex-row > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		align-self: center !important; /* デスクトップでは中央揃え */
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important; /* 上の余白を削除 */
		padding-bottom: 0 !important; /* 下の余白も削除 */
	}
	
	/* デスクトップ: gap-6 (1.5rem = 24px) を相殺 */
	.gt-news-item.gap-6 > .gtnet-latest-info-thumbnail,
	.gtnet-news-item.gap-6 > .gtnet-latest-info-thumbnail,
	a.gt-news-item.gap-6 > .gtnet-latest-info-thumbnail,
	a.gtnet-news-item.gap-6 > .gtnet-latest-info-thumbnail,
	.gt-news-item.gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gt-news-item.bg-white.p-4.gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing,
	.gtnet-news-item.bg-white.p-4.gap-6 > .gtnet-latest-info-thumbnail.gtnet-thumbnail-no-spacing {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important; /* 上の余白を削除 */
		padding-bottom: 0 !important; /* 下の余白も削除 */
	}
}

/* 親要素のgapを無効化（アイキャッチ画像のみ） */
.gt-news-item.gap-3 > .gtnet-latest-info-thumbnail,
.gtnet-news-item.gap-3 > .gtnet-latest-info-thumbnail,
a.gt-news-item.gap-3 > .gtnet-latest-info-thumbnail,
a.gtnet-news-item.gap-3 > .gtnet-latest-info-thumbnail {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Simple Membership 保護コンテンツのスタイル */
.swpm-protection-text,
.swpm-protected-content-message,
.swpm_protected_message,
div[class*="swpm"] > p:first-child {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 2.5rem 2rem;
	margin: 2rem auto;
	max-width: 500px;
	text-align: center;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.swpm-protection-text p,
.swpm-protected-content-message p,
.swpm_protected_message p {
	margin: 0 0 1.5rem 0;
	font-size: 1rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.6;
}

/* 鍵アイコンを追加 */
.swpm-protection-text::before,
.swpm-protected-content-message::before,
.swpm_protected_message::before {
	content: '';
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	border-radius: 1rem;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z'/%3E%3C/svg%3E");
	-webkit-mask-size: 32px 32px;
	mask-size: 32px 32px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

/* ログインリンク */
.swpm-protection-text a,
.swpm-protected-content-message a,
.swpm_protected_message a {
	display: inline-block;
	padding: 0.875rem 2rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: #ffffff !important;
	text-decoration: none !important;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
	margin: 0.5rem 0.25rem;
}

.swpm-protection-text a:hover,
.swpm-protected-content-message a:hover,
.swpm_protected_message a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
	color: #ffffff !important;
	text-decoration: none !important;
}

.swpm-protection-text a:active,
.swpm-protected-content-message a:active,
.swpm_protected_message a:active {
	transform: translateY(0);
}

/* 会員についてリンク - セカンダリスタイル */
.swpm-protection-text a:last-of-type,
.swpm-protected-content-message a:last-of-type,
.swpm_protected_message a:last-of-type {
	background: transparent;
	color: #3b82f6 !important;
	border: 2px solid #3b82f6;
	box-shadow: none;
}

.swpm-protection-text a:last-of-type:hover,
.swpm-protected-content-message a:last-of-type:hover,
.swpm_protected_message a:last-of-type:hover {
	background: #3b82f6;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.swpm-protected-login-btn {
	display: inline-block;
	padding: 0.875rem 2rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	border: none;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.swpm-protected-login-btn:hover,
.swpm-protected-login-btn:focus {
	background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
	color: #ffffff !important;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
	transform: translateY(-2px);
}

.swpm-protected-login-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* レスポンシブ対応 */
@media screen and (max-width: 640px) {
	.swpm-protection-text,
	.swpm-protected-content-message,
	.swpm_protected_message {
		padding: 2rem 1.5rem;
		margin: 1.5rem 1rem;
	}

	.swpm-protection-text a,
	.swpm-protected-content-message a,
	.swpm_protected_message a,
	.swpm-protected-login-btn {
		padding: 0.75rem 1.5rem;
		font-size: 0.875rem;
		display: block;
		width: 100%;
		max-width: 280px;
		margin: 0.5rem auto;
	}
}

/* GT-NET カスタム保護コンテンツボックス */
.gtnet-protected-content-box {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 1.5rem;
	padding: 3rem 2rem;
	margin: 2rem auto;
	max-width: 480px;
	text-align: center;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.gtnet-protected-content-box .gtnet-protected-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.gtnet-protected-content-box .gtnet-protected-icon svg {
	width: 40px;
	height: 40px;
	color: white;
}

.gtnet-protected-content-box .gtnet-protected-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 1rem;
}

.gtnet-protected-content-box .gtnet-protected-text {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.7;
	margin: 0 0 2rem;
}

.gtnet-protected-content-box .gtnet-protected-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
}

.gtnet-protected-content-box .gtnet-protected-btn-primary {
	display: inline-block;
	width: 100%;
	max-width: 280px;
	padding: 1rem 2rem;
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: #ffffff !important;
	text-decoration: none !important;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.gtnet-protected-content-box .gtnet-protected-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
	color: #ffffff !important;
}

.gtnet-protected-content-box .gtnet-protected-btn-secondary {
	display: inline-block;
	width: 100%;
	max-width: 280px;
	padding: 0.875rem 2rem;
	background: transparent;
	color: #3b82f6 !important;
	text-decoration: none !important;
	border: 2px solid #3b82f6;
	border-radius: 0.75rem;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.gtnet-protected-content-box .gtnet-protected-btn-secondary:hover {
	background: #3b82f6;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

@media screen and (max-width: 640px) {
	.gtnet-protected-content-box {
		padding: 2rem 1.5rem;
		margin: 1.5rem 1rem;
		border-radius: 1rem;
	}

	.gtnet-protected-content-box .gtnet-protected-icon {
		width: 64px;
		height: 64px;
	}

	.gtnet-protected-content-box .gtnet-protected-icon svg {
		width: 32px;
		height: 32px;
	}

	.gtnet-protected-content-box .gtnet-protected-title {
		font-size: 1.25rem;
	}

	.gtnet-protected-content-box .gtnet-protected-text {
		font-size: 0.875rem;
	}
}

/* 保護された記事のタイトルスタイル（一覧ページ用） */
.gtnet-protected-title {
	display: inline-block;
}

/* タイトルをぼかす（blurオプション使用時） */
.gtnet-title-blurred {
	filter: blur(4px);
	opacity: 0.6;
	transition: filter 0.3s, opacity 0.3s;
}

.gtnet-title-blurred:hover {
	filter: blur(2px);
	opacity: 0.8;
}

/* タイトルを薄く表示（デフォルト）- 無効化：通常の色で表示 */
.gtnet-title-dimmed {
	color: inherit !important;
	opacity: 1;
}

/* 会員限定バッジのスタイル */
.gtnet-protected-title .bg-orange-500 {
	background-color: #f97316 !important;
	color: #ffffff !important;
	font-weight: bold;
	vertical-align: middle;
}

/* ページトップボタンの視認性向上（背景が白の時も見えるように） */
#pagetop {
	background-color: rgba(255, 255, 255, 0.95) !important;
	border: 2px solid #3b82f6 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.3s ease !important;
}

#pagetop:hover {
	background-color: #3b82f6 !important;
	border-color: #2563eb !important;
	box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15) !important;
	transform: translateY(-2px) !important;
}

#pagetop .c-fixBtn__icon.icon-chevron-up {
	color: #3b82f6 !important;
	font-weight: bold !important;
	text-shadow: none !important;
	transition: color 0.3s ease !important;
}

#pagetop:hover .c-fixBtn__icon.icon-chevron-up {
	color: #ffffff !important;
}

#pagetop .c-fixBtn__label {
	color: #3b82f6 !important;
	font-weight: 600 !important;
	transition: color 0.3s ease !important;
}

#pagetop:hover .c-fixBtn__label {
	color: #ffffff !important;
}

/* パンくずリストの幅をコンテンツのテキスト位置に揃える */
/* 固定ページ: max-width=article_size, padding=1.5rem（内部container の md:px-6 と一致） */
.p-breadcrumb__list.l-container {
	max-width: var(--article_size, 900px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

@media (min-width: 768px) {
	.p-breadcrumb__list.l-container {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}

/* 投稿記事ページ: 記事カード枠の左端に揃える（視覚的な枠がある場合は枠に合わせる） */
body:has(.gtnet-single-layout) .p-breadcrumb__list.l-container {
	max-width: var(--container_size, 1200px) !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

@media (min-width: 768px) {
	body:has(.gtnet-single-layout) .p-breadcrumb__list.l-container {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}

/* デスクトップ: パンくずを記事カード枠の左端に揃える */
@media (min-width: 1280px) {
	body:has(.gtnet-single-layout) .p-breadcrumb__list.l-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* パンくずリストのリンク位置修正 */
.p-breadcrumb__list {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.5rem !important;
}

.p-breadcrumb__item {
	display: flex !important;
	align-items: center !important;
	vertical-align: middle !important;
}

.p-breadcrumb__text {
	display: inline-flex !important;
	align-items: center !important;
	vertical-align: middle !important;
	line-height: 1.5 !important;
}

.p-breadcrumb__text span {
	display: inline-block !important;
	vertical-align: middle !important;
	line-height: 1.5 !important;
}

.p-breadcrumb__item::after {
	content: '>';
	margin: 0 0.5rem;
	color: #64748b;
	vertical-align: middle;
}

.p-breadcrumb__item:last-child::after {
	display: none;
}

/* Updated: 2026年 1月29日 木曜日 17時20分57秒 JST */
/* --- ヘッダーアイコン：適切なサイズに固定（1emは親のフォントサイズで巨大化するためremで指定） --- */
header a svg,
header button svg,
header .search svg,
header [class*="search"] svg,
header a i,
header button i,
header .search i,
header [class*="search"] i {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
  line-height: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  flex-shrink: 0 !important;
}

/* モバイルメニューボタン（ハンバーガー）は少し大きめ */
.gtnet-mobile-menu-btn svg,
.gtnet-mobile-menu-btn .gtnet-menu-icon,
.gtnet-mobile-menu-btn .gtnet-close-icon {
  width: 1.5rem !important;
  height: 1.5rem !important;
  max-width: 1.5rem !important;
  max-height: 1.5rem !important;
}

/* ヘッダーボタン：レイアウト崩れ防止 */
header a.flex,
header button.flex,
.gtnet-header nav a,
.gtnet-header nav button {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* ボタン内のアイコンはテキストより小さく（レイアウト崩れ防止） */
.gtnet-header .gtnet-user-btn span > svg,
.gtnet-header .gtnet-user-btn svg,
.gtnet-header nav a svg {
  width: 0.875rem !important;
  height: 0.875rem !important;
  max-width: 1rem !important;
  max-height: 1rem !important;
}

/* ボタン側もサイズ/表示を安定させる */
header a,
header button,
header [class*="search"] {
  -webkit-font-smoothing: antialiased;
}
/* --- 最新情報一覧の検索アイコンサイズ固定 --- */
.gtnet-search-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  overflow: hidden;
}

/* PDFブロック（GT-NET）通常投稿用 */
.wp-block-gtnet-pdf.gtnet-pdf-block,
.gtnet-article-content .gtnet-pdf-block {
  margin: 1rem 0;
}
.gtnet-pdf-block .gtnet-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f1f5f9;
  color: #0f172a;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, border-color 0.2s;
}
.gtnet-pdf-block .gtnet-pdf-link:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.gtnet-pdf-block .gtnet-pdf-link::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 通常投稿：タイトル横のPDFダウンロードボタン（アイコンのみ） */
.gtnet-pdf-download-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.gtnet-pdf-download-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
}
.gtnet-pdf-download-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* 投稿本文内のファイルブロック: ダウンロードボタンの背景を白に */
.post_content .wp-block-file__button {
  background-color: #ffffff !important;
  color: #1e40af !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.post_content .wp-block-file__button:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

/* ファイルブロックと次の要素（動画など）の間にパディング追加 */
.post_content .wp-block-file {
  margin-bottom: 2rem !important;
}

/* ========================================
   GT-10: 「TOPページへ」ボタン hover修正 & 検索欄幅修正
   ======================================== */

/* TOPページへボタンのホバー時に文字が消える問題を修正 */
.is-style-more_btn a:hover {
	background-color: #066aab !important;
	color: #ffffff !important;
}

/* 検索欄の幅をTOPページへボタンに合わせて制限 */
.post_content .c-searchForm {
	max-width: 80%;
	margin-left: auto;
	margin-right: auto;
}

/* TOPページへの右矢印がパディングからはみ出す問題を修正 */
.is-style-more_btn a {
	padding-right: 3.5em !important;
}

/* 固定ヘッダー分のスクロールオフセット — 全ページ内リンク先セクションに適用 */
#news,
#latest-info,
#services {
	scroll-margin-top: 100px;
}

/* お知らせセクション: SWELLが section の padding を !important で上書きするため対抗 */
section#news {
	padding-top: 7rem !important;
	padding-bottom: 4rem !important;
}

/* SWELLテーマの .post_content select グローバルスタイルを上書き
   プラグインのカスタムselectにネイティブ矢印を表示させないための詳細度ブースト */
.post_content .gtnet-damage-select,
.post_content .gtnet-templates-select,
.post_content .gtnet-videos-select,
.post_content .gtnet-prowler-select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.75rem center !important;
	padding-right: 2.5rem !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 0.5rem !important;
	height: 38px !important;
	line-height: 38px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
