*{box-sizing:border-box;}

body {
	font-family: 'Noto Sans KR', sans-serif;
	margin-bottom: 0;
	padding: 0 auto;
	margin: 0 auto;
	background: #14162b ;
	max-width: 640px;
	width: auto;
	height: 100%;
	top: 0px;
	bottom: 0px;
	line-height:0.7;
	overflow:auto;
	letter-spacing: 1px;
}


.swiper-container {
	width: 100%;
	margin: 0;
}

.swiper-slide {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.imagemap {
	position: relative;
	width: 100%;
}

img {
	display: block;
	width: 100%;
}

video {	display:block; width:100%; position:absolute; top:0%;left:0%; height:100%; }



.top-text h2,
.top-text h1,
.bottom-text {
	opacity: 0;
}

.top-text h2 { transform: translateX(-40px); }
.top-text h1 { transform: translateX(40px); }

/* intro-run 이 붙으면 순차 애니메이션 시작 */
.intro-run .top-text h2 {
	animation: slideInLeft .6s ease-out .5s forwards;
}

.intro-run .top-text h1 {
	animation: slideInRight .6s ease-out 1s forwards;
}

.intro-run .bottom-text {
	animation: fadeInSlow 4s ease 1.5s forwards;
}

/* 키프레임 */
@keyframes slideInLeft {
	0% { opacity:0; transform: translateX(-40px); }
	100% { opacity:1; transform: translateX(0); }
}
@keyframes slideInRight {
	0% { opacity:0; transform: translateX(40px); }
	100% { opacity:1; transform: translateX(0); }
}
@keyframes fadeInSlow {
	0% { opacity:0; }
	100% { opacity:1; }
}


.top-text {
	position:absolute; top:6%; width:100%; left:50%; transform:translateX(-50%); height:20%; text-align:center;
	}

.top-text h2 {font-size:20px; font-weight:600; color:#FFF; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}
.top-text h1 {font-size:28px; font-weight:600; color:#FFF; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);}

.bottom-text {
	position:absolute; top:75%; width:100%; left:50%; transform:translateX(-50%); height:20%; text-align:center;
	}

.bottom-text h2 {font-size:20px; font-weight:600; color:#FFF; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);line-height:1.4;}

.withdog {
	position: absolute;
    top: 87.5%;
    left: 34%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 15%;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    font-size: 26vw;
    font-weight: 900;
    text-align: center;
    color: #FFF;
}

/* PC 기준 (넓이 720px 이상일 때) */
@media screen and (min-width: 720px) {
	.top-text h2 {
		font-size: 28px;
	}
	.top-text h1 {
		font-size: 36px;
	}
	.bottom-text h2 {
		font-size: 28px;
		line-height: 1.4;
	}
	.withdog {
		font-size: 180px; /* 모바일 130px → PC 180px */
	}
}


button {
	padding:10px 20px 10px 20px;
	text-align:center;
	margin:0 auto;
	background:#000;
	color:#fff;
	border:none;
	border-right:0px; border-top:0px; border-left:0px; border-bottom:0px;
	}

#musicb {
		position:fixed;
		text-align:center;
		padding:2px 2px 2px 2px;
		top:5px;
		right:5px;
		z-index:10000;
		font-size:10px;
		background:skyblue;
		}

/* 05.jpg 슬라이드에서만 캔버스 표시 */
.ripple-on {
	position: relative;	/* 기준이 되는 컨테이너 */
	overflow: hidden;
}

.ripple-on .ripple-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	display: block;
}

/* 이중 렌더링 방지: 캔버스가 이미지를 대체 렌더링하므로 원본 이미지는 숨김 */
.ripple-on img.ripple-target {
	visibility: hidden;
}
