@charset 'utf-8';

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
code,
img,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
legend,
caption {
	margin: 0;
	padding: 0;
	border: 0;
}

div,
span,
article,
section,
header,
footer,
p,
ul,
li,
fieldset,
legend,
label,
a,
nav,
h1,
h2,
h3 {
	box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

ol,
ul,
li {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	max-width: 100%;
	height: auto;
}

html {
	font-size: 20px;
	font-family: Roboto;
	line-height: 1.6;
}

body {
	color: white;
	background: dodgerblue;
}

a {
	color: gold;
}



/*------------------------- 팝업------------------------ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-overlay::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0) 73.6%, rgba(0, 0, 0, 0.7) 110%);
    pointer-events: none;
}

.popup-content {
    position: relative;
    max-width: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.price-image {
    width: 100%;
    display: block;
}

/* X 버튼 위치 조정 */
.close-btn {
    position: absolute;
    top: 5px;
    right: 2px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 2; /* X 버튼이 항상 이미지 위에 표시되도록 */
}

/* --------------------------------------------------- */



/*  */
.wrap {
	/* 가로스크롤 방지 */
	/* overflow: hidden을 하면 sticky가 제대로 동작 안하는 버그가 있음 */
	/* 따라서 contain: paint를 사용 */
	contain: paint;
}

.header {
	height: 400px;
	padding: 2rem;
}

.main-copy {
	font-size: 3rem;
	cursor: pointer;
	position: relative;
	display: inline-block;
	z-index: 200;
}

.main-copy span {
	font-size: 24px;
}

.main-copy span:nth-of-type(2) {
	margin-left: -10px;
}

.airstrip {
	position: absolute;
	top: 0;
	width: 7px;
	height: 700px;
	margin-top: 400px;
	background: white;
}

.airstrip-a {
	left: calc(42% - 3px);
}

.airstrip-b {
	left: calc(58% - 3px);
}

.page-content {
	position: absolute;
	left: 50vw;
	top: 0;
	z-index: 100;
	width: 90%;
	height: 100%;
	line-height: 1.6;
	transform: translateX(-50%);
	/* background: rgba(255,0,0,0.5); */
}

.text-block {
	position: absolute;
	text-align: center;
	cursor: pointer;
}

.text-block:nth-of-type(1) {
	right: 10%;
	top: 25%;
	width: 15%;
}

.text-block:nth-of-type(2) {
	right: 20%;
	top: 80%;
	width: 20%;
}

.text-block:nth-of-type(3) {
	left: 0;
	top: 90%;
	width: 15%;
}

.text-block:nth-of-type(4) {
	left: 0;
	right: 0;
	top: 98%;
	width: 15%;
	text-align: center;
	margin: 0 auto;
}

.text-block div {
	border: 1px solid #fff;
	padding: 10px;
	text-align: center;
	border-radius: 5px;
}



/* airplane timeline */
.airplane-scroll-timeline {
	position: relative;
	height: calc(4315px + 2000px - 100vh);
	margin: 200px 0;
}

.airplane {
	position: absolute;
	left: 0;
	top: 0;
	width: 100px;
	transform: rotate(180deg);
	will-change: offset-distance;
	offset-distance: 100%;
	offset-rotate: auto 90deg;
	offset-path: path('m523.89,4304.71v-102.65c0-380.2-349.01-699.56-349.01-699.56-444.83-376.4,250.93-486.65,250.93-486.65,444.83-102.65,557.68-250.93,557.68-250.93,283.93-319.37-486.96-646.34-486.96-646.34-258.91-112.16-314.04-296.55-314.04-296.55C-5.24,1295.45,395.39,1206.1,502.03,1255.07c65,29.84,105.64,109.85,90,179.91-35.06,157.03-234.66,151.32-234.66,151.32-287.05,0-340.67-193.9-340.67-193.9-85.15-285.15,215.21-534.18,215.21-534.18,309.81-245.7,291.98-636.53,291.98-636.53V0');
}

.airplane[data-direction='up'] {
	transform: rotate(0deg);
}

.track {
	position: absolute;
	left: 50vw;
	top: 0;
	width: 1048px;
	transform: translateX(-50%);
	will-change: transform;
	/* background: rgba(255,255,0,0.2); */
}

.flight-path {
	fill: none;
	stroke: white;
	stroke-width: 7;
	stroke-dasharray: 14;
}

.hello-jeju {
	fill: white;
	transform-origin: 388px 1431px;
	will-change: transform, opacity;
}



/* gallery-timeline */
.gallery-timeline {
	position: absolute;
	left: 3%;
	top: 2350px;
	width: 94%;
	height: 2000px;
	border: 10px dashed MediumAquaMarine;
}

.yengjongdo {
	position: sticky;
	top: 0;
	width: 360px;
	margin: 0 auto;
	padding-top: 340px;
}

.yengjongdo img {
	transform: scale(1.2);
}

.q2w3e4r {
	transform: translate(-150px, 30px);
}

.gallery {
	display: flex;
	align-items: center;
	position: sticky;
	z-index: 10;
	top: 0;
	width: 350vw;
	height: 100vh;
	margin-top: -650px;
	/* jeju-container랑 겹치도록 */
	will-change: transform, opacity;
	/* border: 10px dashed deeppink; */
}

.gallery-item {
	width: 70vw;
	flex-shrink: 0;
	/* border: 10px solid rgba(255, 255, 255, 0.3); */
}

.gallery-photo {
	overflow: hidden;
	width: 50%;
	margin: auto;
	aspect-ratio: 1;
	border-radius: 5%;
}




/* -------------------faq------------------------ */
.emphasis{
	/* color: dodgerblue; */
	font-weight: bold;
}
.faq__wrap {
	display: flex;
	justify-content: center;
	background: #fff;
	color: #111;
}

.faq {
	width: 100%;
	max-width: 820px;
	user-select: none;
	margin-top: 100px;
}

.faq h1 {
	text-align: center;
}

.faq-answer {
	height: 0;
	overflow: hidden;
	transition: height 0.3s ease-in-out;
	padding: 0 36px;
}



.faq-answer p {
	margin: 40px 0;
	line-height: 1.6;
}

.faq-answer.open {
	height: auto;
}

.faq-question {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px;
	border-bottom: 1px solid #e7e4e4;
	transition: background-color 0.3s ease;
}

.faq-question.active {
	background-color: #f7f7f7;
	/* 클릭했을 때 배경색 */
}

.icon {
	display: inline-block;
	color: #111111c4;
	font-size: 30px;
	font-weight: 100;
	line-height: 1;
	width: 20px;
	text-align: center;
	transition: transform 0.3s ease;
	transform-origin: center;
	vertical-align: middle;
}
/* -------------------faq------------------------ */




/* -------------------푸터------------------------ */
.footer {
	background-color: #212121;
	color: #fff;
	padding: 20px 0;
	font-size: 14px;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 20px;
}

.area-info {
	flex: 1;
}

.list-info {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* 가운데 정렬 */
    text-align: center; 
}

.list-info li {
	display: inline-block; /* 리스트를 가로로 나열 */
    margin: 5px 7px;
}

.list-info li a {
	color: #bbb;
	text-decoration: none;
}

.list-info li a:hover {
	color: #fff;
}

/* 구분 기호 스타일 */
.list-info li::after {
	content: "|";
	margin-left: 10px;
	color: #666;
}

.list-info li:last-child::after {
	content: "";
	/* 마지막 항목에서는 구분 기호 제거 */
}

/* SNS 아이콘 스타일 */
.area-sns {
	display: flex;
	align-content: center;
	gap: 15px;
}

.btn-sns {
	color: #bbb;
	text-decoration: none;
	display: inline-block;
	transition: color 0.3s;
}

.btn-sns:hover {
	color: #fff;
}

/* 개별 아이콘 크기 설정 */
.btn-sns.instagram i {
	font-size: 24px;
}

.btn-sns.youtube i {
	font-size: 25px;
}

.btn-sns.message i {
	font-size: 23px;
	margin-top: 2px;
}
/* -------------------푸터------------------------ */








@media (max-width: 768px) {
	html {
		font-size: 14px;
	}

	.header {
		padding: 1rem;
		text-align: center;
	}

	.main-copy {
		font-size: 2.5rem;
		margin-top: 20px;
		line-height: 1.3;
	}

	.main-copy span {
		display: block;
	}

	.main-copy .separator {
		display: none;
	}

	.yengjongdo img {
		transform: scale(0.8);
	}

	.airstrip {
		height: 600px;
	}

	.airstrip-a {
		left: calc(35% - 3px);
	}

	.airstrip-b {
		left: calc(65% - 3px);
	}

	.airplane-scroll-timeline {
		margin: 140px 0;
	}

	.airplane {
		width: 75px;
	}

	.q2w3e4r {
		transform: translate(-10px, 382px) scale(0.75);
	}

	.gallery {
		width: 610vw;
		gap: 120px;
	}

	.gallery-timeline {
		border: 7px dashed MediumAquaMarine;
	}

	.gallery-item {
		width: 93vw;
	}

	.gallery-photo {
		width: 90%;
	}

	.flight-path {
		stroke-width: 5px;
	}



	.faq {
		padding: 0 1rem
	}

	.icon {
		font-size: 20px;
	}



	.footer-inner {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .area-sns {
        justify-content: center;
    }
	.faq-answer span.emphasis + a {
        display: block;
		width: fit-content;
        margin-top: 4px; /* 위 요소와의 간격 */
		font-size: 12px !important;
    }
}