.modalDialog {
	font-family: Arial, Helvetica, sans-serif;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity: 0;
	transition: opacity .4s ease-in;
	pointer-events: none;
	height: 100%;
/* 세로 길이를 화면 전체로 설정 */
	width: 100%;
/* 가로 길이를 100%로 설정 */
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modalDialog:target {
	font-family: Arial, Helvetica, sans-serif;
	opacity: 1;
	pointer-events: auto;
}

.modalDialog > div {
	font-family: Arial, Helvetica, sans-serif;
	width: 50%;
/* 이 부분을 수정하여 모달의 가로 크기를 조절할 수 있습니다. */
	position: relative;
	margin: 20% auto;
/* 이 부분을 수정하여 모달의 상하 여백을 조절할 수 있습니다. */
	padding: 15px 30px 45px;
	border-radius: 10px;
	background: #fff;
}

.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 0;
	position: absolute;
	right: -5px;
	text-align: center;
	top: -5px;
	width: 60px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 12px;
	box-shadow: 2px 2px 12px #000;
}

.close:hover {
	background: #00d8ff;
}

.hover-red .wp-block-button__link:hover {
	box-shadow: 0 3px 10px rgb(0,0,0,.35);
	transform: translateY(-1px);
}	
}

html {
	scroll-behavior: smooth;
}

.has-text-align-center {
	display: none;
}

.footer.site-info {
	display: none;
}

/* actionbar를 없애는 CSS 코드 */
div#actionbar {
	display: none !important;
}

#heade /* 요소 이름은 해당 테마에 맞게 수정 */ {
	z-index: 10;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
}

#heade {
	box-shadow: 3px 4px 14px -1px rgba(0,0,0,0.3);
	-webkit-box-shadow: 3px 4px 14px -1px rgba(0,0,0,0.3);
	-moz-box-shadow: 3px 4px 14px -1px rgba(0,0,0,0.3);
}

/* ===== FIXED HEADER ===== */
#headd {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
/* 원래 투명 */
	box-shadow: 3px 4px 14px -1px rgba(0,0,0,0.3);
}

/* ===== WHITE BAR BEHIND HEADER (CSS-ONLY SWITCH) ===== */
.header-switch {
	position: sticky;
	top: 0;
	z-index: 9;
/* 헤더(1000)보다 1 낮게 */
	height: var(--header-h, 68px);
	background: #ebeffa;
	pointer-events: none;
}

:root {
/* PC 헤더 높이 */
}

body {
	padding-top: var(--header-h);
}

@media (max-width: 768px) {
	:root {
	}/* 모바일 헤더 높이 */
	
}

.main {
	display: flex;
	justify-content: center;
}

.main_img {
	margin: 0;
	position: relative;
	width: 100%;
	height: 100%;
}

.main_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter .5s ease-in-out;
}

.main_img p {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.8);
	transition: opacity .5s ease-in-out;
}

.main_img p {
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease;
}

.main_img:hover p {
	border-radius: 25px;
/* 이미지와 동일 */
	visibility: visible;
	opacity: 1;
}

.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	animation: fade 1s ease-in-out forwards;
}

@keyframes fade {
	0% {
		opacity: 1;
	}
	
	100% {
		opacity: 0;
		display: none;
	}
}

.modalfruadDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.3);
	z-index: 999999;
	opacity: 1;
	transition: opacity 200ms ease-in;
	pointer-events: auto;
}

.modalfruadDialog > div {
	width: 66%;
/* 이 부분을 수정하여 모달의 가로 크기를 조절할 수 있습니다. */
	position: relative;
	text-align: center;
	position: relative;
	margin: 180px auto;
	padding: 2px 20px 10px;
	border-radius: 16px;
	background: #fff;
}

@media (max-width: 768px) {
	.modalfruadDialog {
		position: fixed;
		display: flex;
		justify-content: center;
		align-items: center;
	/* flex-end → center */
		padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
	}
	
	.modalfruadDialog > div {
		width: 100%;
		margin: 0;
		max-height: 80vh;
		overflow-y: auto;
	}
}

.fraudclose {
	color: #FFFFFF;
	line-height: 50px;
	position: absolute;
	right: 20px;
	text-align: center;
	top: 20px;
	width: 50px;
	text-decoration: none;
	font-weight: bold;
}

.fraudclose:hover {
	background: #CCCCCC;
}

.mainContent {
	display: none;
}

#mainContent:target .mainContent {
	display: block;
}

#mainContent:target .modalfruadDialog {
	display: none;
}

.container {
	overflow: hidden;
}

.animated-image {
	width: 100%;
	opacity: 0;
/* 이미지를 처음에 투명하게 설정 */
	animation: moveImage 1.85s linear forwards 1s;
	transform: translateX(100%);
}

@keyframes moveImage {
	0% {
		transform: translateX(30%);
		opacity: 0;
	/* 애니메이션 시작 시 이미지는 투명 */
	}
	
	100% {
		transform: translateX(0);
		opacity: 1;
	/* 애니메이션 종료 시 이미지는 불투명 */
	}
}

.hihi {
	padding: 0;
	box-shadow: 1px 1px 5px grey;
}