@charset "utf-8";

/* カスタムスタイル */
body {
	font-family: "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background-color: #f8fafc;
	color: #334155;
	line-height: 1.6;
	padding-bottom: 100px;
	/* 追従CTA（カウントダウン付き）の分だけ余白を確保 */
}

/* レイアウトシフト防止：画像のアスペクト比を維持 */
img {
	max-width: 100%;
	height: auto;
}

/* 監修者情報セクションのレイアウトシフト防止 */
section.bg-slate-50 {
	min-height: 120px;
}

/* 画像コンテナのアスペクト比維持（aspect-ratioが設定されている場合） */
[style*="aspect-ratio"]:not([class*="flex"]) {
	position: relative;
}

[style*="aspect-ratio"]:not([class*="flex"]) img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 游ゴシック用：text-slate-600をより濃い色に調整 */
.text-slate-600,
.text-slate-500 {
	color: #000 !important;
	/* slate-700相当の色に変更 */
}

/* テーブルの横スクロール対応 */
.table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding-top: 24px;
	/* バッジがはみ出す分の余白を確保 */
}

/* --- スキルタグのスタイル --- */
.skill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	justify-content: center;
	/* 中央寄せ */
	padding: 0;
	list-style: none;
	margin: 0;
}

.skill-list li {
	font-size: 10px;
	border: 1px solid #000000;
	/* 黒線 */
	border-radius: 4px;
	padding: 2px 6px;
	background-color: #ffffff;
	/* 白背景 */
	color: #000000;
	/* 黒文字 */
	white-space: nowrap;
	line-height: 1.4;
}

/* DMM用のスキルリスト（必要に応じて追加スタイル） */
.skill-list--dmm {
	/* DMM固有のスタイルがあればここに追加 */
}

/* 1位強調 */
.rank-winner-bg {
	background: linear-gradient(to bottom, #fffbeb, #ffffff);
	border: 2px solid #fbbf24;
}

/* 蛍光ペン風マーカー */
.marker-yellow {
	background: linear-gradient(transparent 60%, #fef08a 60%);
	font-weight: bold;
}

/* タブのアクティブスタイル */
.tab-btn.active {
	background-color: #1e3a8a !important;
	/* primary color */
	color: white !important;
	border-bottom-color: #1e3a8a !important;
}

.tab-btn.active:hover {
	color: white !important;
}

.tab-btn {
	transition: all 0.3s ease;
}

/* タブコンテンツの表示制御 */
.tab-content {
	display: none;
	animation: fadeIn 0.5s ease;
}

.tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --- CTAボタンのスタイル --- */
.cta-container {
	text-align: center;
	margin-top: 8px;
	margin-bottom: 8px;
}

.cta-micro-copy {
	font-size: 0.65rem;
	font-weight: bold;
	color: #ef4444;
	margin-bottom: 4px;
	display: block;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.cta-micro-copy {
		font-size: 0.6rem;
	}
}

.cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 100%;
	padding: 12px 10px;
	border-radius: 8px;
	font-weight: bold;
	text-align: center;
	color: white;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
	position: relative;
	overflow: hidden;
	line-height: 1.3;
	text-decoration: none;
	font-size: 0.85rem;
}

.cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	opacity: 0.95;
}

/* アニメーション付きCTAボタン（shinyクラスがある場合に自動適用） */
.cta-btn.shiny {
	animation: animationbtn 2s infinite;
}

.cta-btn.shiny:hover {
	animation: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn.animation {
	animation: animationbtn 2s infinite;
}

.cta-btn.animation:hover {
	animation: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn span.sub-text {
	font-size: 0.7rem;
	font-weight: bold;
	margin-top: 2px;
}

.cta-red {
	background: linear-gradient(to bottom, #ef4444, #dc2626);
	border-bottom: 4px solid #b91c1c;
}

.cta-green {
	background: linear-gradient(to bottom, #22c55e, #16a34a);
	border-bottom: 4px solid #15803d;
}

.cta-blue {
	background: linear-gradient(to bottom, #3b82f6, #2563eb);
	border-bottom: 4px solid #1d4ed8;
}

@keyframes shine {
	0% {
		left: -100%;
		opacity: 0;
	}

	40% {
		opacity: 0.8;
	}

	100% {
		left: 200%;
		opacity: 0;
	}
}

/* ボタンが押されているようなアニメーション */
@keyframes animationbtn {

	0%,
	100% {
		transform: translateY(0) scale(1);
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
	}

	50% {
		transform: translateY(2px) scale(0.98);
		box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	}
}

.shiny::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	transform: skewX(-25deg);
	animation: shine 2.5s infinite;
	z-index: 10;
	pointer-events: none;
}

.shiny.animation::before {
	animation: shine 2s infinite;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

/* --- 追従CTA固有のスタイル --- */
.fixed-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform: translateY(100%);
	opacity: 0;
	display: flex;
	flex-direction: column;
}

.fixed-cta.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.sp-only {
	display: block;
}

.pc-only {
	display: none;
}

@media (min-width: 768px) {
	.sp-only {
		display: none;
	}

	.pc-only {
		display: block;
	}
}

/* アラート点滅アニメーション */
@keyframes blink {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.3;
	}
}

.alert--blink {
	animation: blink 1.5s ease-in-out infinite;
}

/* チャットボット */
/* チャットボット用スタイル */
.chatbot-floating-button {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
	transition: all 0.3s ease;
	z-index: 9999;
}

.chatbot-floating-button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.chatbot-floating-button.active {
	display: none;
}

.chatbot-floating-button svg {
	width: 35px;
	height: 35px;
	fill: white;
}

/* チャットボタンのパルスアニメーション */
.chatbot-floating-button::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	animation: chatbot-pulse 2s infinite;
	z-index: -1;
}

@keyframes chatbot-pulse {

	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(1.2);
		opacity: 0;
	}
}

/* チャットコンテナ（PC） */
.chatbot-wrapper {
	position: fixed;
	bottom: 120px;
	right: 30px;
	width: 420px;
	height: 650px;
	z-index: 9998;
	display: none;
}

.chatbot-wrapper.active {
	display: block;
	animation: chatbot-slideUp 0.3s ease;
}

@keyframes chatbot-slideUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* スマホ用の全画面表示 */
@media (max-width: 768px) {
	.skill-list li {
		font-size: 7px;
	}

	.chatbot-floating-button {
		bottom: 20px;
		right: 20px;
		width: 60px;
		height: 60px;
	}

	.chatbot-floating-button svg {
		width: 30px;
		height: 30px;
	}

	.chatbot-wrapper {
		bottom: 0;
		right: 0;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		max-width: 100%;
	}

	.chatbot-container {
		border-radius: 0 !important;
		height: 100vh !important;
	}
}

.chatbot-container {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.chatbot-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.chatbot-header-content h1 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 3px;
}

.chatbot-header-content p {
	font-size: 13px;
	opacity: 0.9;
}

.chatbot-close-button {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	font-size: 20px;
	line-height: 1;
}

.chatbot-close-button:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	background: #f8f9fa;
}

.chatbot-message {
	margin-bottom: 20px;
	animation: chatbot-fadeIn 0.5s ease;
}

@keyframes chatbot-fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.chatbot-message.bot {
	display: flex;
	justify-content: flex-start;
}

.chatbot-message.user {
	display: flex;
	justify-content: flex-end;
}

.chatbot-message-content {
	max-width: 80%;
	padding: 15px 20px;
	border-radius: 18px;
	word-wrap: break-word;
	font-size: 14px;
	line-height: 1.5;
}

.chatbot-message.bot .chatbot-message-content {
	background: white;
	color: #333;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chatbot-message.user .chatbot-message-content {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.chatbot-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 15px;
}

.chatbot-option-button {
	background: white;
	border: 2px solid #667eea;
	color: #667eea;
	padding: 12px 20px;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

.chatbot-option-button:hover {
	background: #667eea;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chatbot-result-card {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 25px;
	border-radius: 15px;
	margin-top: 15px;
	font-size: 14px;
}

.chatbot-result-card h3 {
	font-size: 20px;
	margin-bottom: 15px;
}

.chatbot-result-card p {
	line-height: 1.6;
	margin-bottom: 10px;
}

.chatbot-result-card .highlight {
	background: rgba(255, 255, 255, 0.2);
	padding: 15px;
	border-radius: 10px;
	margin: 15px 0;
}

.chatbot-result-card .cta-button {
	display: inline-block;
	background: white;
	color: #667eea;
	padding: 12px 25px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: 600;
	margin-top: 15px;
	transition: all 0.3s ease;
	font-size: 14px;
}

.chatbot-result-card .cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chatbot-restart-button {
	background: white;
	color: #667eea;
	border: none;
	padding: 10px 20px;
	border-radius: 25px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	margin-top: 15px;
	transition: all 0.3s ease;
}

.chatbot-restart-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.chatbot-typing-indicator {
	display: flex;
	gap: 5px;
	padding: 15px 20px;
	background: white;
	border-radius: 18px;
	width: fit-content;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.chatbot-typing-indicator span {
	width: 8px;
	height: 8px;
	background: #667eea;
	border-radius: 50%;
	animation: chatbot-typing 1.4s infinite;
}

.chatbot-typing-indicator span:nth-child(2) {
	animation-delay: 0.2s;
}

.chatbot-typing-indicator span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes chatbot-typing {

	0%,
	60%,
	100% {
		transform: translateY(0);
	}

	30% {
		transform: translateY(-10px);
	}
}

/* スクロールバーのカスタマイズ */
.chatbot-messages::-webkit-scrollbar {
	width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.chatbot-messages::-webkit-scrollbar-thumb {
	background: #667eea;
	border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
	background: #764ba2;
}

.main-title {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 1920px 100%;
	background-color: #111111;
	text-align: center;
	font-size: 27px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	padding: 12px 0;
	position: relative;
}

.main-title span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: #fff112;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media only screen and (max-width: 768px) {
	.main-title {
		font-size: 3vw;
		line-height: 1.3;
		padding: 10px 0;
		background-size: 100% 100%;
	}

	.main-title span {
		font-size: 16px;
	}
}

/* PC用FVセクション：背景画像を横幅いっぱいに表示 */
@media (min-width: 768px) {
	.hero-pc-container {
		background-image: url('https://smart-select-lab.com/wp-content/uploads/2025/12/FV_pc_bg-1.png');
		background-repeat: no-repeat;
		background-position: center top;
		background-size: 100% auto;
		width: 100%;
	}

	/* gen-ai-rank-04.php専用の背景画像 */
	.hero-pc-container--rank04 {
		background-image: url('https://smart-select-lab.com/wp-content/uploads/2025/12/FV_pc_bg02.png');
		/* ここに04用の背景画像URLを設定してください */
	}
}

/* スマホ時の比較表：各セルの横幅を120pxに設定 */
@media (max-width: 767px) {

	.ranking-table td,
	.ranking-table td.w-1\/5 {
		width: 120px !important;
		min-width: 120px !important;
		max-width: 120px !important;
	}

	.ranking-table {
		min-width: auto !important;
	}
}

/* キャンペーンセクション */
.campaign {
	background: #fff;
	border: 2px solid #fbbf24;
	border-radius: 12px;
	padding: 24px;
	margin-top: 32px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-weight: bold;

}

.campaign .heading {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background: #dc2626;
	margin-bottom: 16px;
	padding: 12px;
	border-radius: 8px;
}

.campaign .rank1 {
	text-align: center;
	margin-bottom: 20px;
	padding: 8px 16px;
	border-radius: 8px;
	display: inline-block;
	width: 100%;
	font-size: 2rem;
}

@media (max-width: 767px) {
	.campaign .rank1 {
		margin-bottom: 7px;
		font-size: 1.7rem;
	}
}

.campaign .rank1 .txt {
	font-weight: bold;
	color: #dc2626;
	margin-right: 8px;
}

.campaign .rank1 a {
	font-weight: bold;
	color: #1e293b;
	text-decoration: none;
}

.campaign .rank1 a:hover {
	text-decoration: underline;
}

.campaign .wrap {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin-bottom: 24px;
	align-items: flex-start;
}

@media (min-width: 768px) {
	.campaign .wrap {
		flex-direction: row;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.campaign .wrap {
		display: unset;
	}
}

.campaign .wrap .image {
	flex-shrink: 0;
}

.campaign .wrap .image img {
	width: 100%;
	max-width: 210px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
	.campaign .wrap .image img {
		max-width: 120px;
	}
}

.campaign .wrap .txt {
	flex: 1;
}

.campaign .wrap .txt table {
	width: 100%;
	margin-bottom: 16px;
	border-collapse: separate;
	border-spacing: 0;
	border: 2px solid #fbbf24;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.campaign .wrap .txt table th {
	font-size: 16px;
	font-weight: bold;
	color: #1e293b;
	padding: 12px 8px;
	text-align: center;
	background: #fef3c7;
	border-bottom: 2px solid #fbbf24;
}

@media (max-width: 767px) {
	.campaign .wrap .txt table th {
		padding: 2px 6px;
	}
}

.campaign .wrap .txt table th .sp-br {
	display: none;
}

@media (max-width: 767px) {
	.campaign .wrap .txt table th .sp-br {
		display: block;
	}
}

.campaign .wrap .txt table td {
	padding: 16px 8px;
	text-align: center;
	background: #fff;
	font-size: 18px;
	line-height: 1.6;
	border-top: 1px solid #fef3c7;
}

@media (max-width: 767px) {
	.campaign .wrap .txt table td {
		line-height: 1;
	}
}


.campaign .wrap .txt table td .large {
	font-size: 32px;
	font-weight: bold;
}

.campaign .wrap .txt table td .red {
	color: #dc2626;
}

.campaign .wrap .txt table td sup {
	font-size: 12px;
	vertical-align: super;
}

.campaign .point {
	margin-top: 24px;
	padding: 20px;
	background: #f8f0f4;
	border-radius: 8px;
}

.campaign .point .point-heading {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.campaign .point .point-heading {
		font-size: 16px;
	}
}

.campaign .point .point-heading span {
	display: inline-block;
	padding: 8px 16px;
	background: #dc2626;
	color: #fff;
	border-radius: 4px;
}

.campaign .point ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.campaign .point ul li {
	padding: 8px 0;
	padding-left: 24px;
	position: relative;
	color: #374151;
	line-height: 1.6;
}

@media (max-width: 767px) {
	.campaign .point ul li {
		padding: 3px 0;
		padding-left: 24px;
		line-height: 1.3;
	}

}

.campaign .point ul li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #db2627;
	font-weight: bold;
	font-size: 18px;
}

.campaign .point ul li span {
	font-weight: bold;
	color: #dc2626;
}

.campaign .remarks {
	margin-top: 16px;
	padding-top: 12px;
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	border-top: 1px solid #e5e7eb;
}

@media (max-width: 767px) {
	.campaign {
		padding: 16px;
	}

	.campaign .heading {
		font-size: 18px;
	}

	.campaign .wrap .txt table td .large {
		font-size: 24px;
	}

	.campaign .wrap .txt .cta_btn a {
		padding: 10px 24px;
		font-size: 14px;
	}
}

/* =========================================
 * 離脱防止ポップアップ用 CSS
 * =========================================
 */

/* オーバーレイ (背景の黒い幕) */
.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ポップアップが表示される時のクラス */
.popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

/* DMM用ポップアップコンテナ */
.popup-overlay .content.dmm {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 340px;
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	text-align: center;
	overflow: hidden;
	transform: scale(0.9);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-overlay.is-visible .content.dmm {
	transform: scale(1);
}

/* クライアント画像エリア */
.popup-overlay .client_image {
	margin-bottom: 0;
	line-height: 0;
}

.popup-overlay .client_image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ボタンエリア */
.popup-overlay .btn {
	padding: 15px;
	background: #f9f9f9;
}

/* CTAボタン本体 */
.popup-overlay .cta_btn {
	position: relative;
	display: block;
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
	background: #1e3a8a;
	/* DMM Navy */
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 4px 0 #1e40af;
	transition: transform 0.1s;
}

.popup-overlay .cta_btn:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #1e40af;
}

.popup-overlay .cta_btn a {
	display: block;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	padding: 15px 10px;
	line-height: 1.2;
}

/* Shiny Animation (キラッと光るエフェクト) */
.popup-overlay .cta_btn.shiny::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-25deg);
	z-index: 1;
}

.popup-overlay .cta_btn.shiny.animation::before {
	animation: popup-shine 3s infinite;
}

@keyframes popup-shine {
	0% {
		left: -100%;
	}

	20% {
		left: 200%;
	}

	100% {
		left: 200%;
	}
}

/* 閉じるボタン */
.popup-overlay .close {
	position: absolute;
	top: -15px;
	right: -15px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	background: #333;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s;
	z-index: 10;
}

.popup-overlay .close:hover {
	transform: scale(1.1);
}

/* 閉じるボタンのSVG */
.popup-overlay .close svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

/* スマホ対応 */
@media (max-width: 767px) {
	.popup-overlay .content.dmm {
		max-width: 90%;
	}

	.popup-overlay .cta_btn a {
		font-size: 14px;
		padding: 12px 10px;
	}
}