*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
	display: none;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.04em;
}

body.modal-open {
    overflow-y: hidden;
}

.top_div_wr {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	position: absolute;
    z-index: 999;
    max-width: 650px;
    text-align: center;
    margin: auto;
	left: 50%;
    transform: translate(-50%, 200px);
	pointer-events: none;
}

.top_div_wr embed:first-child {
	margin: 0 auto;
	opacity: 0;
    animation: slideTtB 1s forwards;
	animation-delay: .4s;
}

.top_logo {
	opacity: 0;
    animation: drop 1s forwards;
    animation-delay: .6s;
}

@keyframes slideTtB {
    from { transform: translateY(-10px); }
    to { 
        opacity:1;
        transform: translateY(0px);
    }
}

@keyframes drop {
    30% {
        transform: translate(0, -40px) scale(1);
        opacity: 0;
    }

    60% {
        transform: translate(0, 20px) scale(.9) rotate(0deg);
    }
    
    100% {
        transform: translate(0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

.fixedlabel {
	position: fixed;
	z-index: 1000;
}


/* ── Hero Section ── */
.hero {
  position: relative;
  width: 100vw;
  height: 120vh;
  overflow: hidden;
  user-select: none;
}


/* Fixed background fills the entire section */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 120vh;
  object-fit: fill;
  display: block;
}

/* ── Parallax Layers ── */
.parallax-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: transform 0.1s ease,
              opacity 0.6s ease;
}

.parallax-layer.is-visible {
  opacity: 1;
}

/* Individual object positioning to match the reference layout */
#obj1 {
  /* Top-left area: space/robot character */
  top: 0;
  left: 0;
}

#obj1 img {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 28%;
  max-width: 374px;
  animation: floating 3s ease-in-out infinite;
}

#obj2 {
  top: 0;
  left: 0;
}

#obj2 img {
  position: absolute;
  bottom: 15%;
  left: 35%;
  width: 22%;
  max-width: 354px;
  animation: floating 3s ease-in-out infinite;
}

#obj3 {
  /* Right-middle: music character */
  top: 0;
  left: 0;
}

#obj3 img {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 22%;
  max-width: 406px;
  animation: floating 3s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.5s !important; }
.delay-2 { animation-delay: 0.25s !important; }

@keyframes floating {
    0% {
        transform: translateY(0px); /* 시작 위치 */
    }
    50% {
        transform: translateY(-20px); /* 위로 20px 떠오름 */
    }
    100% {
        transform: translateY(0px); /* 다시 원래 위치로 복귀 */
    }
}

/* ── Sparkle Canvas ── */
#sparkleCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}


 @media only screen and (max-width: 1024px) { 

	.hero, .hero__bg img {
		height: 90vh;
	}

	.top_div_wr {
		max-width: 50vw;
        min-width: 15rem;
		gap: 1em;
		top: 50%;
	    transform: translate(-50%, -50%);
	}

	.fixedlabel {
		width: 20%;
		min-width: 120px;
	}
}

@media (max-width: 768px) {
	.top_div_wr {
		gap: 0.75em;
	}

	#obj1 img {
        top: 20%;
        left: 10%;
	}

	#obj2 img {
		bottom: 16%;
		width: 28%;
	}

	#obj3 img {
		top: 24%;
		right: 6%;
		width: 28%;
	}
}


/*
 * section 1
 */

.sec1_container {
	position: relative;
	height: 75vh;
}

.sec1_bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    bottom: 0;
}

.sec1_bg img {
	width: 100%;
	object-fit: cover;
}

.sec1_banner_wr {
	display: flex;
	flex-direction: column;
	width: fit-content;
	max-width: 100%;
	gap: clamp(1rem, 4vw, 2rem);
	margin: auto;
}

.sec1_banner_wr a img {
	transition: transform .6s;
}
    
.sec1_banner_wr a img:hover {
	transform: scale(1.02) !important;
}

@media only screen and (max-width: 1700px) {
	.sec1_obj_wr img {
		max-width: 20vw;
		height: auto;
	}
}

@media (max-width: 768px) {
	.sec1_container {
		height: 50vh;
	}

	.sec1_wr {
		position: absolute;
		top: 50%;
		transform: translate(0%, -50%);
	}

	.sec1_bg, .sec1_bg img {
		width: 100%;
		height: 100%;
	}

	.sec1_wr {
		padding: 0 0.75rem;
	}
}


/*
 * section 2
 */

.sec2_container {
	min-height: 136vh;
	padding: 5% 0;
	background: #d3edff bottom / cover url('../img/sec2_bg.jpg') no-repeat;
}

.section_subtitle {
	max-width: fit-content;
    text-align: center;
    margin: auto;
    font-size: 15px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    color: #0f59bb;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
	text-decoration: underline;
    text-underline-offset: 4px;
}

.section_title {
    margin-bottom: 1.5em;
    font-size: min(max(4vw, 1.75rem), 2.5rem);
    font-weight: 400;
    text-align: center;
	color: #000;
}


.book_top {
    display: grid;
    grid: 1fr / repeat(3, 1fr);
	max-width: 1080px;
    justify-content: start;
	margin: auto;
}

.book_div {
	cursor:pointer;
    width: 100%;
}

.book_thum {
	position: relative;
	max-width: 100%;
    height: 100%;
    outline: 1px solid #f5ece3;
    overflow: hidden;
    transition: all .3s;
    background: #fff;
    margin: 1px;
}

.book_thum:hover {
    outline: 1px solid #0f59bb;
	z-index: 2;
}

.book_thum a {
	position: relative;
	display: grid;
	gap: 1em;
    width: 100%;
    height: 100%;
    justify-content: center;
    place-items: center;
	padding: 1.5rem 1rem;
}

.book_title_s {
    font-size: 24px;
	font-weight: 500;
    text-align: center;
}

.book_div > a {
    display: block;
    width: 100%;
    height: 100%;
}

.book_div img {
	width: auto;
    image-rendering: -webkit-optimize-contrast;
	transition: transform .6s;
}

.book_div a:hover img {
    transform: scale(1.05);
}



@media only screen and (max-width: 600px) { 
	.sec1_panorama_wr {
		flex-direction: column;
		margin: auto;
		width: fit-content;
		padding: 2rem 0;
	}
}

@media (max-width: 1440px) {
	.sec1_obj_wr {
		display: none !important;
	}

	.sec2_container {
		background: center bottom / contain  url('../img/sec2_bg_m.png') no-repeat, #d3edff;
		background-position-x: right;
	}
}

@media only screen and (max-width: 1024px) { 
	.pan_title {
		margin: 0;
		font-size: 1.5rem;
	}

	.book_title_s { font-size: 20px; }

	.book_top {
	    grid: 1fr / repeat(2, 1fr);
		padding: clamp(0.875rem, 3vw, 1.5rem);
	}
}

@media only screen and (max-width: 600px) { 

	.sec2_container {
		height: 160vh;
	}

	.panorama_div {
		min-width: 280px;
	    width: 70%;
		margin: auto;
		background-size: contain;
	}

	.pan_title {
		font-size: 1.25rem;
	}

	.book_thum a {
		padding: clamp(0.875rem, 3vw, 1.5rem);
	}

	.book_title_s {
		font-size: 1rem;
		white-space: pre;
	}

	.book_div:nth-child(even) .book_thum {
		background: #fff;
	}
}

.sec2_obj {
    position: relative;
}

.sec2_obj img {
	position: absolute;
    right: 0;
    bottom: -80px;
    z-index: 1;
	max-width: 30vw;
}

/*
 * section 3
 */

.sec3_container {
    position: relative;
    display: flex;
    flex-direction: column;
    background: bottom / contain url('../img/sec3_bg.jpg') no-repeat, #de7395;
}

.sec3_div {
	min-height: 100vh;
    padding-top: 24vh;
	z-index: 2;
}

.sec3_obj {
	position: absolute;
	left: 5%;
    right: auto;
	top: 5%;
    bottom: auto;
	width: 21.75vw;
}

.sec3_obj2 {
	left: auto;
    right: 5%;
	top: auto;
    bottom: 3.14vh;
    width: 24.05vw;
}

.sec3_media {
    width: 100%;
    max-width: 1070px;
    margin: 0 auto;
}

.media_wr {
    width: 100%;
	display: flex;
    justify-content: space-around;
	gap: 1.25rem;
}

.media_div {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5em;
    color: #000;
    background: #fff;
    border-radius: 1em;
    overflow: hidden;
    gap: 0.75rem;
}

.media_cont {
    width: 100%;
	height: 220px;
}

.media_cont img {
	width: 100%;
	height: 100%;
    object-fit: cover;
	border: 1px solid #f3f3f3;
    border-radius: 1em;
}

.media_cont div {
	display: flex;
	height: 100%;
    place-content: center;
    flex-direction: column;
}
.media_div p {
	color:#e3587b;
    font-size: 16px;
	font-weight: 500;
}

.media_div .title {
	font-size: clamp(0.875rem, 4vw, 1.375rem);
	font-weight: 600;
	line-height: 120%;
}

.media_div button {
    display: grid;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}


.media_div button > img {
    margin: auto;
}

@media only screen and (max-width: 1200px) {
	.sec3_wr {
		height: fit-content;
		padding: 10% 0;
	}

}

@media only screen and (max-width: 768px) {
	.sec3_container {
	    background-size: 180%;
	}

	.media_wr {
		display: grid;
        grid: 1fr / repeat(1, 1fr);
        gap: 0.75rem;
		flex-direction: column;
		max-width: 92%;
		padding: 0 1rem;
		margin: auto;
		padding: 0 0.875rem;
	}

	.sec3_div > div:first-child {margin-bottom: 2rem;}

    .sec3_div {
		padding: 6rem 0;
		grid-gap: 0;
	}

	.media_div {
		aspect-ratio: unset;
        padding: 0.75em;
		border-radius: 0.5em;
	}

	.media_cont {
		height: auto;
	}

	.sec3_wr {
		padding: 10% 1.25rem;
	}

	.sec3_obj {
		top: 3%;
		width: 33vw
	}

	.sec3_obj2 {
		display:none;
	}

}


/*
 * bottom
 */


.infos_wr {
    display: flex;
    align-items: center;
}

.info_title_wr {
	display: flex;
    justify-content: center;
    align-items: center;
	background: top url('../img/bottom_info_bg.png') repeat-x;
}

.info_details {
	border: 5px solid #ffd35d;
	border-radius: 20px;
}

@media only screen and (max-width: 768px) {
	.info_title_wr img {
		width: 120%;
		max-width: fit-content;
	}

	.info_details {
		max-width: 88% !important;
	}
}


.bottom_wr {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;	
	background: bottom / contain url('../img/conf_bg.png') no-repeat, #fff2b1;
	overflow: hidden;
}

.bottom_div {
    display: flex;
	flex-direction: column;
    width: 100%;
    height: 100%;
	min-height: 1310px;
    padding-top: 1rem;
    overflow: hidden;
}

.bottom_div > .relative {
	padding-top: 9.375rem;
}

.bottom_flex {
    position: relative;
    display: flex;
    width: 92%;
    height: fit-content;
    max-width: 950px;
    margin: auto;
    margin-top: 0;
    box-shadow: 7px 7px 9px #00000057;
    border-radius: 1.5rem;
    overflow: hidden;
}

.bot_title_wr {
    width: 100%;
    max-width: 400px;
    background: #e64c24;
    padding: 4rem 3rem;
}

.confe_wr {
    width: 100%;
    background: #fff;
}

.confe_btn {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 88%;
    height: 65px;
    line-height: 77px;
    max-width: 210px;
    margin-top: 5rem;
    text-align: center;
    border-radius: 40px;
    background: #2c2c2c;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: .3s;
    /* box-shadow: 4px 6px 0px rgb(0 0 0 / 30%); */
}

.confe_btn i {
    margin-left: 10px;
    font-size: 18px;
}

.confe_btn:hover {
	background: #414141;
}

.conf_content {
	width: 100%;
	background: #f9f9f9;
    padding: 4rem;
}

.conf_content h4 {
	color:#006d71;
	font-weight:400;
}

.plan_div { 
	display: flex;
	margin-top: 45px;
}

.conf_content .plan_title {
	width: 30%;
	max-width: 100px;
	display: inline-block;
	border-top: 2px solid #006d71;
	padding-top: 5px;
	margin-right: 20px;
	font-size: clmap(1rem, 3vw, 1.375rem);
	font-weight: 800;
	vertical-align: top;
	letter-spacing: .3em;
}

.plan_cont {
	display: inline-block;
	width: fit-content;
}

.bottom_obj {
	position: absolute;
    bottom: 0;
    right: 0;
	max-width: 45vw;
}


@media only screen and (max-width: 1200px) {
	.conf_cont_wr > div {padding: 3rem;}
	.conf_title img { max-width: 60%; }
}

@media only screen and (max-width: 1024px) {
	.bottom_flex {
		display:block;
		margin: 2rem auto;
	}

	.bottom_div > .relative {
		padding-top: 5rem
	}

	.conf_cont_wr > div {width: auto;}

	.bot_title_wr {
		max-width: 100%;
		width: auto;
		padding: 3rem;
		display:flex;
		justify-content: space-between
	}

	.conf_content {
		width: auto;
	}

	.plan_cont { width: 100%; font-size: 16px; }
	.plan_cont img {
		max-width: 92%;
	}

	.confe_btn {font-size: 18px;}

	.bottom_obj {
		top: auto;
		bottom: 0;
		max-width: 50vw;
	}
}

@media only screen and (max-width: 800px) { 
	.conf_cont_wr > div	{ padding: 2.5rem 1.5rem; }
	.conf_title { min-width: 0; }
	.conf_content .plan_title { margin-bottom: 0.6em; }
}

@media only screen and (max-width: 600px) {

	.bottom_wr {
		height: 100vh;
        min-height: fit-content;
	}

	.bottom_div {
		height: fit-content;
		min-height: 1000px;
	}

	.bottom_div > .relative {
		padding-top: 5rem;
	}

	.bottom_obj {
		max-width: 50vw;
	}

	.bot_title_wr {
		display:block;
		height: fit-content;
	    padding: 2rem;
	}
	.plan_div { display: block; }
	.conf_cont_wr > div { padding: 1.5rem 1rem; }

	.conf_content { padding: 1.5rem; }
	
	.bot_title { 
		max-width: 50vw;
		text-align: center;
	}

	.bot_title img {
		width: 65%;
		max-width: max-content;
		margin-bottom: 2rem;
	}

    .confe_btn {
        width: 55%;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
		margin: 0 auto !important;
	    margin-left: 0 !important;    
	}
}


/* 스크롤효과 & 애니메이션 */
.show-on-scroll {
	opacity: 0;
}

.show-on-scroll.is-visible.globe {
    animation: slideBtT 1s ease;
    animation-fill-mode: forwards;
    animation-delay: calc(.3s * var(--li-index))
}

@keyframes slideBtT {
    from {
        opacity:0;
        transform: translateY(10px);
    }
    to { 
        opacity:1;
        transform: translateY(0px);
    }
}


/* modal */
.modal_wr {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    padding-top: 3.25rem;
    background-color: rgba(0, 0, 0, .7);
    text-align: center;
    z-index: 9999;
}

.modal_wr .vid_wr {
    position: relative;
	max-width: 720px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -80%);
	margin-top: 6rem;
}

.modal_closebtn {
    position: absolute;
    right: -5px;
    top: 0;
	transform: translateY(-100%);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
	font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}

.modal_wr iframe {
    max-width: 720px;
    width: 100%;
    margin: auto;
	border-radius: 10px;

}


.prev_wr {
	display: none;
	width: fit-content;
	height: 94vh;
	margin: auto;
	padding: 2px 16px;
	overflow: hidden scroll;
}

.prev_wr > .previmg {
	display: none;
	max-width: 1000px;
	margin: auto;
}

.prev_wr > div img { width: 100%; }
.prev_wr .modal_closebtn {
	position: sticky;
    top: 0;
	margin: 0 0 2rem 0;	
	text-align: right;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.modal_closebtn svg {
    width: clamp(44px, 3vw, 50px);
    height: clamp(44px, 3vw, 50px);
}

.globe {
    opacity: 0;
    animation-fill-mode: backwards;
}

@media only screen and (max-width:760px) {
	.modal_wr {
		padding: 1rem;
	}

	.modal_wr iframe {
		border: none;
	}
}