@font-face {
	font-family: "kotra-hope";
	src: url("/font/kotra-hope.woff2") format("woff2");
}

:root {
	--color-white: #ffffff;
	--primary-color: #667eea;
	--secondary-color: #764ba2;
	--accent-color: #4299e1;
}

* {
	margin: 0;
	/*padding: 0;*/
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
}

body::-webkit-scrollbar {
	/*display: none;*/
}

/*main {*/
/*	flex: 1;*/
/*	display: flex;*/
/*	flex-direction: column;*/
/*	position: relative;*/
/*	min-height: 0;*/
/*	transition: height 0.8s ease;*/
/*}*/

.main-page {
	min-height: 100vh;
}

.main-center-hr {
	margin: 0 22px;
	border: none;
	width: 2px;
	background-color: #c4c4c4;
}

/*.main-center-layout {*/
/*	flex: 1;*/
/*	display: flex;*/
/*	margin: auto;*/
/*	gap: 60px;*/
/*}*/

.member-wrapper {
	border: 1px solid #c4c4c4;
	border-radius: 8px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.main-ahd-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.8s ease;
}

.main-ahd-grid {
	height: 80%;
	flex: 1;
	display: flex;
}

.main-side-column {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.main-news-panel {
	border-top: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	overflow: hidden;
	background: #fff;
}

.main-notice-panel {
	overflow: hidden;
}

.main-news-list {
	height: calc(100% - 49px);
	overflow-y: auto;
}

.membership-news-slider {
	display: block;
	width: 100%;
	border-bottom: 1px dashed #c4c4c4;
	border-top: 0;
	border-right: 0;
	border-left: 0;
	background: #fff;
	padding: 12px 4px;
	font: inherit;
	text-align: left;
	cursor: pointer;
	appearance: none;
}

.membership-news-slide {
	display: none;
	width: 100%;
	min-width: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #111;
}

.membership-news-slide.is-active {
	display: block;
}

.main-ad-link {
	position: relative;
	display: block;
	background: #fff;
}

.main-ad-image-background {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(18px);
	transform: scale(1.08);
}

.main-ad-image-foreground {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	object-fit: contain;
}

@media (min-width: 768px) {
	.main-side-column {
		width: 300px;
		height: 557px;
		flex: 0 0 300px;
	}

	.main-news-panel {
		height: 255px;
		min-height: 0;
		flex: 0 0 255px;
	}

	.main-notice-panel {
		height: 255px;
		flex: 0 0 255px;
	}

	.membership-news-slider {
		padding: 2px 4px;
	}

	a.main-news-item {
		padding-top: 2px;
		padding-bottom: 2px;
	}

	.main-news-item > span:last-child {
		margin-top: 1px;
	}

	.membership-news-slide > span:last-child {
		margin-top: 1px;
	}

	.main-ad-compact,
	.main-ad-compact .blaze-container,
	.main-ad-compact .blaze-track-container,
	.main-ad-compact .blaze-track,
	.main-ad-compact .blaze-track > div,
	.main-ad-compact .main-ad-link {
		height: 300px;
	}

	.main-ad-image-foreground {
		height: 100%;
	}
}

@media (max-width: 767px) {
	.main-ahd-grid .main-side-column,
	.main-ahd-grid .main-primary-column {
		display: contents;
	}

	.main-news-panel {
		order: 1;
	}

	.main-notice-panel {
		order: 2;
	}

	.main-support-banner {
		order: 3;
	}

	.main-youtube-banner {
		order: 4;
	}

	.main-ad-compact {
		order: 5;
	}

	.main-ad-compact,
	.main-ad-compact .blaze-container,
	.main-ad-compact .blaze-track-container,
	.main-ad-compact .blaze-track,
	.main-ad-compact .blaze-track > div,
	.main-ad-compact a {
		height: auto;
	}

}

.main-ahd-container::-webkit-scrollbar {
	display: none;
}

.main-ahd-wrapper {
	display: flex;
	gap: 15px;
}

.ahd-m-swiper {
	/*flex: 1;*/
	overflow: hidden;
}

.main-ahd-box-3 {
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
}

.sub-ahd-box {
	flex: 1;
	overflow: hidden;
	display: flex;
	/*align-items: center;*/
}

.sub-ahd-box-flex {
	display: flex !important;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	/*margin: 22px 0;*/
}

.main-ahd-image-box.m {
	display: block;
}

.ad-recruit-box {
	text-align: center;
}

.ad-recruit-box img {
	width: 80%;
}

.main-ahd-image-box-2 {
	width: 100%;
	height: 100%;
}

.main-ahd-image-box-2 > img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	border: 1px solid #c4c4c4;
}

.main-ahd-image-box img {
	width: 100%;
	height: 100%;
	transition: transform 0.4s ease;
	object-position: center;
}

.main-ahd-box:hover img {
	transform: scale(1);
}

.main-ahd-alert-box {
	margin: 8px 0 0 0;
}

.main-ahd-alert {
	text-align: left;
	margin: 2px 0;
}

#searchAdRegion {
	padding: 8px;
	border-radius: 8px 0px 0px 8px;
	width: 100px;
	border-left: 1px solid #006eb5;
	border-top: 1px solid #006eb5;
	border-bottom: 1px solid #006eb5;
	flex: 1;
	font-size: var(--font-size-2);
}

#searchAdRegionBtn {
	border-radius: 0 8px 8px 0;
	border-right: 1px solid #006eb5;
	border-top: 1px solid #006eb5;
	border-bottom: 1px solid #006eb5;
	padding: 8px 22px;
	font-weight: 600;
	font-size: var(--font-size-2);
	background: linear-gradient(45deg, #a5c702, #006eb5);
}

.main-summary-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.modal-caregiver-select-box,
.modal-accompany-select-box {
	background: #f7fafc;
	border-radius: 16px;
	padding: 22px;
	text-align: center;
}

.modal-caregiver-select-box a,
.modal-accompany-select-box a {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 12px 24px;
	border-radius: 12px;
	text-decoration: none;
	margin-top: 16px;
	transition: all 0.3s ease;
}

.modal-caregiver-select-box a:hover,
.modal-accompany-select-box a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.before-notice-box {
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	margin: 20px 0;
	white-space: pre-line;
	line-height: 1.6;
}

.claim-document-submit-btn-box {
	text-align: center;
	margin: 22px 0;
}

#goClaimDocumentSubmitChannel {
	background: #ffd400;
	color: black;
	padding: 16px 32px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: var(--font-size-2);
	display: inline-block;
	transition: all 0.3s ease;
}

#goClaimDocumentSubmitChannel:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255, 212, 0, 0.4);
}

/* Layer Popup */

.select-box {
	position: relative;
	display: inline-block;
	display: flex;
	flex: 1;
}

.main-ahd-region-wrapper {
	display: flex;
	margin: 0 0 8px 0;
	align-items: center;
	gap: 22px;
}

.main-ahd-top-text {
	display: flex;
	justify-content: space-between;
}

.ad-region {
	position: absolute;
	background-color: #ffffff;
	color: #222222;
	padding: 8px;
	border-radius: 8px 0 8px 0;
	border: 1px solid #006eb5;
	z-index: 1;
	min-width: 30%;
	text-align: center;
}

/*.main-banner-container {*/
/*	width: 100%;*/
/*	height: 200px;*/
/*}*/

/*.main-banner-wrapper {*/
/*	width: 100%;*/
/*	height: 100%;*/
/*}*/

/*./main-banner-box {*/
/*	width: 100%;*/
/*	height: 100%;*/
/*	text-align: center;*/
/*}*/

.main-banner-img {
	min-height: 0;
	/*height: 100%;*/
}

.main-container {
	flex: 1;
	display: grid;
	grid-template-rows: 200px 1fr;
	grid-row-gap: 22px;
}

.main-center-container {
	margin: auto;
}

.main-center-wrapper {
	margin: 0 auto;
	/*width: 1280px;*/
	/*max-height: 0;*/
	display: flex;
	flex-direction: column;
}

.swiper-button-prev {
	left: 88px !important;
	color: #ffffff !important;
}

.swiper-button-next {
	right: 88px !important;
	color: #ffffff !important;
}

.member-account-box {
	margin: 22px 0 0 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-column-gap: 8px;
}

.member-account-btn {
	padding: 8px 22px;
	border-radius: 8px;
	display: inline-block;
	font-weight: 600;
	min-width: 200px;
	text-align: center;
}

.member-account-btn#login {
	background-color: #006eb5;
	color: #ffffff;
}

.member-account-btn#register {
	border: 1px solid #006eb5;
	color: #006eb5;
}

.menu-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 8px;
}

.menu-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 8px;
	justify-content: space-evenly;
	gap: 8px;
	cursor: pointer;
}

.menu-box * {
	color: #ffffff;
}

.menu-img {
	width: 100%;
	height: 100%;
}

.menu-box.request-caregiver {
	/*background-color: #E49629;*/
}

.menu-box.claim-document {
	/*background-color: #79BE34;*/
}

.menu-box.name-card {
	/*background-color: #1EB2BD;*/
}

.menu-box-text {
	width: 100%;
	padding: 0 0 0 8px;
	font-size: var(--font-size-2);
}

.cs-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: 8px;
	border: 1px solid #c4c4c4;
	border-radius: 8px;
	align-items: center;
	justify-items: center;
	padding: 12px;
}

.cs-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.cs-img-box {
	background-color: #eef7ff;
	border-radius: 50%;
	padding: 15px;
	width: 64px;
	height: 64px;
}

.cs-img {
	width: 100%;
}

.visit-info-wrapper {
	display: flex;
	justify-content: space-around;
	border-radius: 10px;
}

.visit-cnt {
	text-align: right;
	font-weight: 600;
}

.visit-info-box {
	flex: 1;
}

.header-sub-info {
	position: relative;
}

.member-box {
	display: flex;
	flex-direction: column;
}

.member-info-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.member-info-box {
	padding: 8px;
	border: 1px solid #c4c4c4;
	flex: 1;
	border-radius: 8px;
	cursor: pointer;
}

.point-shopping-text {
	font-weight: 600;
	font-size: 30px;
}

.swiper-button-prev,
.swiper-button-next {
	color: #ffffff !important;
}

.event-gift-box {
	animation: eventGiftBoxFloat 2.2s ease-in-out infinite;
	border-radius: 12px;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.event-gift-box.is-selected {
	background-color: #e8f4fc;
	box-shadow: 0 0 0 2px #006eb5;
}

#eventOpenBoxBtn:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.event-gift-box:nth-child(2) {
	animation-delay: 0.25s;
}

.event-gift-box:nth-child(3) {
	animation-delay: 0.5s;
}

@keyframes eventGiftBoxFloat {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}
