@charset "UTF-8";



/****************************************************
 * 通知エリアデザイン
 ****************************************************/

/* ベース設定 */
.notice-area {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
}

.notice-area-message {
	display: inline-block;
	padding-left: 100%;
	animation: scrollText-pc 20s linear infinite;
	white-space: nowrap;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* ふんわり影 */
	transition: transform 0.3s ease;
	position: relative;
	font-size: 120%;
}

.notice-area-message::after {
	content: " Check";
	margin-left: 12px;
	color: #FFF;
	letter-spacing: 0.05em;
	position: relative;
	padding: 3px 10px;
	border-radius: 25px;
	background: linear-gradient(135deg, #4a90e2, #357abd);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
	animation: ctaBlink 1.8s ease-in-out infinite;
	transition: background 0.3s, border-color 0.3s, color 0.3s;
}

@keyframes ctaBlink {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(1.03);
	}
}
@keyframes scrollText-pc {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}
@keyframes scrollText-sp {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

/* PCとスマホで速度変更 */
@media (max-width: 767px) {
	.notice-area-message {
		animation: scrollText-sp 10s linear infinite; /* スマホはゆっくり */
	}
}
/* ホバーで停止 */
.notice-area:hover .notice-area-message {
	animation-play-state: paused;
}
/* クリックで停止 */
.notice-area:active .notice-area-message {
	animation-play-state: paused;
}


