@charset "UTF-8";
/* Good Design Award Popup Styles */

.gooddesign-popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(51, 51, 51, 0.5);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	animation: fadeIn 0.3s ease-in-out;
}

.gooddesign-popup-overlay.active {
	display: flex;
}

.gooddesign-popup-content {
	position: relative;
	max-width: 900px;
	width: 90%;
	animation: slideUp 0.4s ease-out;
}

.gooddesign-popup-inner {
	background: #fff;
	border: 5px solid #9D7B00;
	padding: 65px 40px 88px;
	text-align: center;
	/* aspect-ratio: 11 / 8; */
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.gooddesign-popup-close {
	position: absolute;
	top: 30px;
	right: 30px;
	background-image: url(/images/index/gooddesign_close.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border: none;
	cursor: pointer;
	width: 25px;
	height: 25px;
	padding: 0;
}
.gooddesign-popup-close:hover {
	opacity: 0.7;
}
.gooddesign-logo {
	margin-bottom: 26px;
}

.gooddesign-logo img {
	max-width: 100%;
	width: 386px;
	height: auto;
}

.gooddesign-message {
	font-size: 3rem;
	font-weight: 700;
	color: #333;
	margin-bottom: 23px;
	line-height: 1.6;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.gooddesign-message span {
	/* text-wrap: nowrap; */
	/* display: inline-flex;
	align-items: center; */
}

.gooddesign-message img {
	width: auto;
	height: 1em;
	vertical-align: middle;
	padding: 0 0 2px;
	margin: 0 5px 8px;
}

.gooddesign-link {
	color: #333;
	text-decoration: underline;
	font-size: 1.6rem;
	transition: color 0.3s;
}

.gooddesign-link:hover {
	color: #D41876;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media only screen and (max-width: 768px) {
	.gooddesign-popup-content {
		width: 90vw;
	}

	.gooddesign-popup-inner {
		padding: 50px 20px 43px;
	}

	.gooddesign-popup-close {
		top: 20px;
    right: 20px;
		width: 12px;
		height: 12px;
	}

	.gooddesign-logo {
		margin-bottom: 16px;
	}

	.gooddesign-logo img {
		max-width: 51vw;
		width: 386px;
	}

	.gooddesign-message {
		row-gap: 8px;
		flex-direction: column;
		font-size: 1.6rem;
		margin-bottom: 20px;
		line-height: 100%; /* 16px */
		letter-spacing: 0.8px;
	}
	.gooddesign-message img {
		vertical-align: baseline;
		height: 1.7em;
		margin: 0px 5px 0;
	}
	.gooddesign-link {
		font-size: 1.2rem;
	}
}