first commit 2

This commit is contained in:
hmw1001
2026-06-11 18:47:38 +09:00
parent c768729ce6
commit 6f534e33a6
11095 changed files with 1595758 additions and 0 deletions
@@ -0,0 +1,212 @@
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
/* 공통 */
.main-container { width: 100%; overflow: hidden; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 40px; height: 2px; background: #0054a6; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #666; }
/* 1. 메인 비주얼 */
.main-visual {
width: 100%;
height: auto; /* 슬라이드 높이 증가 */
position: relative;
padding-top: 190px; /* 헤더 높이만큼 상단 여백 추가 */
box-sizing: border-box; /* 패딩을 높이에 포함 */
}
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
/* 텍스트 레이어 */
.visual-layer-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center; /* 수직 중앙 정렬 */
z-index: 2;
box-sizing: border-box;
text-align: center;
color: #fff;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.visual-title {
font-size: 48px;
font-weight: 700;
color: #ffd200;
margin: 0;
}
.visual-divider {
display: block;
width: 50px;
height: 2px;
background-color: rgba(255, 255, 255, 0.5);
margin: 30px auto;
}
.visual-subtitle {
font-size: 24px;
font-weight: 500;
line-height: 1.6;
margin: 0;
}
/* Swiper 네비게이션 버튼 스타일 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
width: 70px;
height: 70px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%;
color: #fff;
transition: background-color 0.3s;
position: absolute; /* Swiper 기본 스타일 오버라이드 */
top: calc(50% + 45px); /* 90px(padding-top)의 절반만큼 아래로 이동 */
transform: translateY(-50%);
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.main-visual .swiper-button-prev {
left: 20px;
}
.main-visual .swiper-button-next {
right: 20px;
}
.main-visual .swiper-button-next:hover,
.main-visual .swiper-button-prev:hover {
background-color: rgba(0, 0, 0, 0.5);
}
.main-visual .swiper-button-next:after,
.main-visual .swiper-button-prev:after {
font-size: 20px;
}
/* 썸네일 미리보기 스타일 */
.main-visual .swiper-button-prev .thumb-wrapper,
.main-visual .swiper-button-next .thumb-wrapper {
position: absolute;
top: 0;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
pointer-events: none; /* 썸네일 위로 마우스가 올라가도 버튼 hover 상태 유지 */
}
.main-visual .swiper-button-prev:hover .thumb-wrapper,
.main-visual .swiper-button-next:hover .thumb-wrapper {
opacity: 1;
transform: scale(1);
}
.main-visual .swiper-button-prev .thumb-wrapper {
left: -110px; /* 버튼 왼쪽에 썸네일 표시 */
}
.main-visual .swiper-button-next .thumb-wrapper {
right: -110px; /* 버튼 오른쪽에 썸네일 표시 */
}
.main-visual .swiper-button-prev .thumb,
.main-visual .swiper-button-next .thumb {
width: 100px; /* 썸네일 크기 */
height: 100px;
background-size: cover;
background-position: center;
border-radius: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
border: 2px solid rgba(255, 255, 255, 0.8);
}
.main-visual .swiper-button-prev .thumb {
left: 0;
}
.main-visual .swiper-button-next .thumb {
right: 0;
}
/* 기본 초기화 및 폰트 */
/* 폰트 및 초기화 */
#eklim_main_wrap { font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif; letter-spacing: -0.05em; line-height: 1.2; }
/* 상단 유틸 (기획안 우측 상단 소형 글자) */
.top_util_bar { background: #fff; border-bottom: 1px solid #f0f0f0; }
.top_util_bar .inner { max-width: 1600px; margin: 0 auto; text-align: right; padding: 10px 20px; }
.top_util_bar a { font-size: 12px; color: #888; text-decoration: none; margin-left: 15px; }
/* [추가] 공정(Process) 섹션 및 레이아웃 그리드 스타일 */
.process-section {
padding: 60px 0;
background: #f8f9fa;
}
.layout-main-content1 {
width: 100%;
}
.layout-row {
display: flex;
flex-wrap: nowrap;
gap: 20px;
margin-bottom: 20px;
}
.layout-row:last-child {
margin-bottom: 0;
}
.layout-col {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 20px;
}
.layout-inner-row {
flex: 1;
min-height: 100px;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
padding: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layout-inner-row:hover {
transform: translateY(-5px);
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
/* 애니메이션 */
.animate-in {
animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@@ -0,0 +1,742 @@
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
/* 공통 */
.main-container { width: 100%; overflow: hidden; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 40px; height: 2px; background: #0054a6; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #666; }
/* 1. 메인 비주얼 */
.main-visual {
width: 100%;
height: auto; /* 슬라이드 높이 증가 */
position: relative;
padding-top: 190px; /* 헤더 높이만큼 상단 여백 추가 */
box-sizing: border-box; /* 패딩을 높이에 포함 */
}
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
/* 텍스트 레이어 */
.visual-layer-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center; /* 수직 중앙 정렬 */
z-index: 2;
box-sizing: border-box;
text-align: center;
color: #fff;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.visual-title {
font-size: 48px;
font-weight: 700;
color: #ffd200;
margin: 0;
}
.visual-divider {
display: block;
width: 50px;
height: 2px;
background-color: rgba(255, 255, 255, 0.5);
margin: 30px auto;
}
.visual-subtitle {
font-size: 24px;
font-weight: 500;
line-height: 1.6;
margin: 0;
}
/* Swiper 네비게이션 버튼 스타일 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
width: 70px;
height: 70px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%;
color: #fff;
transition: background-color 0.3s;
position: absolute; /* Swiper 기본 스타일 오버라이드 */
top: calc(50% + 45px); /* 90px(padding-top)의 절반만큼 아래로 이동 */
transform: translateY(-50%);
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.main-visual .swiper-button-prev {
left: 20px;
}
.main-visual .swiper-button-next {
right: 20px;
}
.main-visual .swiper-button-next:hover,
.main-visual .swiper-button-prev:hover {
background-color: rgba(0, 0, 0, 0.5);
}
.main-visual .swiper-button-next:after,
.main-visual .swiper-button-prev:after {
font-size: 20px;
}
/* 썸네일 미리보기 스타일 */
.main-visual .swiper-button-prev .thumb-wrapper,
.main-visual .swiper-button-next .thumb-wrapper {
position: absolute;
top: 0;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
pointer-events: none; /* 썸네일 위로 마우스가 올라가도 버튼 hover 상태 유지 */
}
.main-visual .swiper-button-prev:hover .thumb-wrapper,
.main-visual .swiper-button-next:hover .thumb-wrapper {
opacity: 1;
transform: scale(1);
}
.main-visual .swiper-button-prev .thumb-wrapper {
left: -110px; /* 버튼 왼쪽에 썸네일 표시 */
}
.main-visual .swiper-button-next .thumb-wrapper {
right: -110px; /* 버튼 오른쪽에 썸네일 표시 */
}
.main-visual .swiper-button-prev .thumb,
.main-visual .swiper-button-next .thumb {
width: 100px; /* 썸네일 크기 */
height: 100px;
background-size: cover;
background-position: center;
border-radius: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
border: 2px solid rgba(255, 255, 255, 0.8);
}
.main-visual .swiper-button-prev .thumb {
left: 0;
}
.main-visual .swiper-button-next .thumb {
right: 0;
}
/* 기본 초기화 및 폰트 */
/* 폰트 및 초기화 */
#eklim_main_wrap { font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif; letter-spacing: -0.05em; line-height: 1.2; }
/* 상단 유틸 (기획안 우측 상단 소형 글자) */
.top_util_bar { background: #fff; border-bottom: 1px solid #f0f0f0; }
.top_util_bar .inner { max-width: 1600px; margin: 0 auto; text-align: right; padding: 10px 20px; }
.top_util_bar a { font-size: 12px; color: #888; text-decoration: none; margin-left: 15px; }
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
/* 텍스트 레이어 */
.visual-layer-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center; /* 수직 중앙 정렬 */
z-index: 2;
box-sizing: border-box;
text-align: center;
color: #fff;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.visual-title {
font-size: 48px;
font-weight: 700;
color: #ffd200;
margin: 0;
}
.visual-divider {
display: block;
width: 50px;
height: 2px;
background-color: rgba(255, 255, 255, 0.5);
margin: 30px auto;
}
.visual-subtitle {
font-size: 24px;
font-weight: 500;
line-height: 1.6;
margin: 0;
}
/* Swiper 네비게이션 버튼 스타일 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
width: 70px;
height: 70px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%;
color: #fff;
transition: background-color 0.3s;
position: absolute; /* Swiper 기본 스타일 오버라이드 */
top: calc(50% + 45px); /* 90px(padding-top)의 절반만큼 아래로 이동 */
transform: translateY(-50%);
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.main-visual .swiper-button-prev {
left: 20px;
}
.main-visual .swiper-button-next {
right: 20px;
}
.main-visual .swiper-button-next:hover,
.main-visual .swiper-button-prev:hover {
background-color: rgba(0, 0, 0, 0.5);
}
.main-visual .swiper-button-next:after,
.main-visual .swiper-button-prev:after {
font-size: 20px;
}
/* 썸네일 미리보기 스타일 */
.main-visual .swiper-button-prev .thumb-wrapper,
.main-visual .swiper-button-next .thumb-wrapper {
position: absolute;
top: 0;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
pointer-events: none; /* 썸네일 위로 마우스가 올라가도 버튼 hover 상태 유지 */
}
.main-visual .swiper-button-prev:hover .thumb-wrapper,
.main-visual .swiper-button-next:hover .thumb-wrapper {
opacity: 1;
transform: scale(1);
}
.main-visual .swiper-button-prev .thumb-wrapper {
left: -110px; /* 버튼 왼쪽에 썸네일 표시 */
}
.main-visual .swiper-button-next .thumb-wrapper {
right: -110px; /* 버튼 오른쪽에 썸네일 표시 */
}
.main-visual .swiper-button-prev .thumb,
.main-visual .swiper-button-next .thumb {
width: 100px; /* 썸네일 크기 */
height: 100px;
background-size: cover;
background-position: center;
border-radius: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
border: 2px solid rgba(255, 255, 255, 0.8);
}
.main-visual .swiper-button-prev .thumb {
left: 0;
}
.main-visual .swiper-button-next .thumb {
right: 0;
}
/* 제품 인덱스 맵 전용 메인 비주얼 스타일 (이름 변경됨) */
.map-main-visual {
width: 100%;
height: 840px;
position: relative;
padding-top: 90px;
box-sizing: border-box;
overflow: hidden;
}
.map-main-visual .swiper-wrapper,
.map-main-visual .swiper-slide { height: 100%; }
.map-visual-link { display: block; width: 100%; height: 100%; position: relative; }
.map-visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
/* 텍스트 레이어 */
.map-visual-layer-wrap {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
display: flex; justify-content: center; align-items: center;
z-index: 2; text-align: center; color: #fff;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.map-visual-title { font-size: 48px; font-weight: 700; color: #ffd200; margin: 0; }
.map-visual-divider { display: block; width: 50px; height: 2px; background-color: rgba(255, 255, 255, 0.5); margin: 30px auto; }
.map-visual-subtitle { font-size: 24px; font-weight: 500; line-height: 1.6; margin: 0; }
/* 네비게이션 버튼 & 썸네일 */
.map-main-visual .swiper-button-next,
.map-main-visual .swiper-button-prev {
width: 70px; height: 70px; background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%; color: #fff; transition: background-color 0.3s;
position: absolute; top: calc(50% + 45px); transform: translateY(-50%);
z-index: 10; display: flex; justify-content: center; align-items: center; cursor: pointer;
}
.map-main-visual .swiper-button-prev { left: 20px; }
.map-main-visual .swiper-button-next { right: 20px; }
.map-main-visual .swiper-button-next:hover,
.map-main-visual .swiper-button-prev:hover { background-color: rgba(0, 0, 0, 0.5); }
.map-main-visual .swiper-button-next:after,
.map-main-visual .swiper-button-prev:after { font-size: 20px; }
.map-thumb-wrapper {
position: absolute; top: 0; width: 100%; height: 100%;
border-radius: 50%; overflow: hidden; opacity: 0;
transform: scale(0); transition: all 0.3s ease; pointer-events: none;
}
.map-main-visual .swiper-button-prev:hover .map-thumb-wrapper,
.map-main-visual .swiper-button-next:hover .map-thumb-wrapper { opacity: 1; transform: scale(1); }
.map-main-visual .swiper-button-prev .map-thumb-wrapper { left: -110px; }
.map-main-visual .swiper-button-next .map-thumb-wrapper { right: -110px; }
.map-thumb {
width: 100px; height: 100px; background-size: cover; background-position: center;
border-radius: 50%; position: absolute; top: 50%; transform: translateY(-50%);
border: 2px solid rgba(255, 255, 255, 0.8);
}
/* 💡 [수정] 히어로 섹션 스타일 */
.hero_container {
padding: 120px 0 80px 0;
background: #fff;
}
.hero_container .content_inner {
max-width: 1600px;
margin: 0 auto;
position: relative;
line-height: 0;
}
.hero_container .main_bg_img {
width: 100%;
height: auto;
display: block;
}
.hero_container .hero_content_wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.hero_container .text_area {
position: relative;
width: 100%;
max-width: 1600px;
padding: 0 20px;
text-align: left;
color: #111;
line-height: 1.6;
z-index: 2;
}
.hero_container .floating_as_badge {
position: absolute;
top: 20px;
right: 20px;
background: #FF6B00;
color: #fff;
padding: 30px 40px;
border-radius: 25px;
text-align: center;
box-shadow: 0 15px 35px rgba(255, 107, 0, 0.3);
z-index: 3;
line-height: 1.4;
}
/* 💡 [끝] 히어로 섹션 스타일 */
/* 텍스트 크기 및 색상 */
.label_orange { color: #FF6B00; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.label_blue { color: #007bff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.main_title { font-size: 52px; font-weight: 800; color: #111; margin-bottom: 30px; line-height: 1.2; }
.main_title .highlight_orange { color: #FF6B00; }
.main_title .highlight_blue { color: #007bff; }
.sub_description { font-size: 20px; color: #666; line-height: 1.6; margin-bottom: 60px; }
/* 버튼 스타일 (기획안과 동일한 색상 대비) */
.main_action_row { display: flex; gap: 20px; }
.btn_box { display: flex; align-items: center; width: 380px; padding: 35px 30px; border-radius: 20px; cursor: pointer; transition: all 0.3s; }
/* 버튼 1: 블랙 (온라인 주문) */
.btn_box.dark { background: #222; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn_box.dark strong { font-size: 24px; color: #fff; }
.btn_box.dark p { font-size: 15px; color: #aaa; margin-top: 5px; }
/* 버튼 2: 화이트 (전문가 부르기) */
/* 버튼 2: 기본 흰색 상태 */
.btn_box.white {
background: #fff;
border: 1px solid #e0e0e0;
color: #222;
transition: all 0.3s ease; /* 부드러운 전환 효과 */
}
.btn_box.white strong { font-size: 24px; color: #222; transition: all 0.3s; }
.btn_box.white p { font-size: 15px; color: #888; margin-top: 5px; transition: all 0.3s; }
/* 마우스 올렸을 때 (Hover) 파란색으로 변경 */
.btn_box.white:hover {
background: #007bff; /* 신뢰감을 주는 파란색 */
border-color: #007bff;
transform: translateY(-8px); /* 위로 살짝 올라가는 효과 */
box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3); /* 파란색 그림자 */
}
/* 마우스 올렸을 때 내부 글자색을 흰색으로 변경 */
.btn_box.white:hover strong,
.btn_box.white:hover p {
color: #fff;
}
/* 마우스 올렸을 때 아이콘도 살짝 반응하도록 (선택사항) */
.btn_box.white:hover .btn_icon {
filter: brightness(1.5);
}
/* 오렌지 플로팅 배지 (Slide 01 우측 상단 디자인) */
.floating_as_badge p { font-size: 18px; margin-bottom: 5px; font-weight: 400; opacity: 0.9; }
.floating_as_badge strong { font-size: 28px; font-weight: 900; display: block; }
/* 하단 네비게이션 */
.bottom_nav { border-top: 1px solid #eee; margin-top: 50px; }
.bottom_nav ul { list-style: none; display: flex; gap: 40px; justify-content: center; padding: 25px 0; }
.bottom_nav li { font-size: 17px; font-weight: 600; color: #444; cursor: pointer; }
/* --- [유지] 기본 및 공통 설정 --- */
.products-main-page { background-color: #0b0f1a; font-family: 'Pretendard', sans-serif; margin: 0; padding: 0; }
.main-container { width: 100%; overflow: hidden; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 40px; height: 2px; background: #0054a6; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #666; }
/* --- [유지] 메인 비주얼 슬라이더 관련 (기존 소스) --- */
.main-visual { width: 100%; height: auto; position: relative; padding-top: 190px; box-sizing: border-box; }
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
.visual-layer-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 2; text-align: center; color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.visual-title { font-size: 48px; font-weight: 700; color: #ffd200; margin: 0; }
.visual-divider { display: block; width: 50px; height: 2px; background-color: rgba(255, 255, 255, 0.5); margin: 30px auto; }
.visual-subtitle { font-size: 24px; font-weight: 500; line-height: 1.6; margin: 0; }
.main-visual .swiper-button-next, .main-visual .swiper-button-prev { width: 70px; height: 70px; background-color: rgba(0, 0, 0, 0.1); border-radius: 50%; color: #fff; position: absolute; top: calc(50% + 45px); transform: translateY(-50%); z-index: 10; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.main-visual .swiper-button-prev { left: 20px; }
.main-visual .swiper-button-next { right: 20px; }
/* --- [유지] 히어로 섹션 관련 (기존 소스) --- */
.hero_container { padding: 120px 0 80px 0; background: #fff; }
.hero_container .text_area { position: relative; width: 100%; max-width: 1600px; padding: 0 20px; text-align: left; color: #111; line-height: 1.6; z-index: 2; }
/* ... (기존의 btn_box, main_title 등 생략하지만 파일에는 유지하셔야 합니다) ... */
/* --- [중요/수정] 팝업창 및 맵 전용 설정 --- */
/* 1. 최상위 섹션 기준점 (팝업 중앙 배치를 위해 필수) */
/*.product-map-section {
position: relative !important;
}*/
.product-map-section {
position: relative !important; /* 💡 absolute인 팝업이 이 섹션을 기준으로 정렬됨 */
background-color: #0b0f1a;
width: 100%;
overflow: hidden; /* 팝업이 섹션을 넘칠 경우 대비 */
}
/* 2. 맵 및 핫스팟 보정 */
/*.map-wrapper {
position: relative; display: inline-block;
width: 1600px; overflow: hidden; border-radius: 24px;
margin: 0 auto; background: #161b26;
}*/
.map-wrapper {
position: relative; display: inline-block;
width: 1600px; overflow: hidden; border-radius: 24px;
margin: 0 auto; background: #161b26;
}
/*.map-container {
position: relative; width: 100%; height: 980px !important;
background-size: 100% 100% !important; cursor: crosshair;
}*/
.map-container {
position: relative; width: 100%; height: 980px !important;
background-size: 100% 100% !important; cursor: crosshair;
}
/*.hotspot {
position: absolute; width: 22px !important; height: 22px !important;
background: rgba(59, 130, 246, 0.6); border: 2px solid #fff; border-radius: 50%;
transform: translate(-50%, -50%) !important; !* 💡 Y축 오차 해결 *!
z-index: 10; cursor: pointer;
}*/
/*
.hotspot {
position: absolute; width: 22px !important; height: 22px !important;
background: rgba(59, 130, 246, 0.6); border: 2px solid #fff; border-radius: 50%;
transform: translate(-50%, -50%) !important; z-index: 10; cursor: pointer;
}
.hotspot::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background-color: rgba(0, 123, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: hotspot-pulse 2s infinite; }
@keyframes hotspot-pulse { 0% { width: 20px; height: 20px; opacity: 0.8; } 100% { width: 60px; height: 60px; opacity: 0; } }
*/
/* 1. 핫스팟 기본 스타일 (파란색) */
.hotspot {
position: absolute;
width: 22px !important;
height: 22px !important;
background: rgba(59, 130, 246, 0.8) !important; /* 파란색 */
border: 2px solid #fff;
border-radius: 50%;
transform: translate(-50%, -50%) !important;
z-index: 10;
cursor: pointer;
transition: all 0.3s ease; /* 부드러운 색상 전환 */
}
/* 💡 [추가] 마우스 올렸을 때 스타일 (노란색) */
.hotspot:hover {
background: rgba(255, 210, 0, 1) !important; /* 노란색으로 변경 */
box-shadow: 0 0 20px rgba(255, 210, 0, 0.8);
transform: translate(-50%, -50%) scale(1.2) !important; /* 살짝 커지는 효과 */
}
/* 2. 반짝이는 파동 효과 */
.hotspot::after {
content: '';
position: absolute;
top: 50%; left: 50%;
width: 100%; height: 100%;
background-color: rgba(59, 130, 246, 0.4); /* 기본 파란색 파동 */
border-radius: 50%;
transform: translate(-50%, -50%);
animation: hotspot-pulse 2s infinite;
transition: background-color 0.3s ease;
}
/* 💡 [추가] 마우스 올렸을 때 파동 색상도 노란색으로 변경 */
.hotspot:hover::after {
background-color: rgba(255, 210, 0, 0.4) !important;
}
/* 파동 애니메이션 정의 */
@keyframes hotspot-pulse {
0% { width: 20px; height: 20px; opacity: 0.8; }
100% { width: 60px; height: 60px; opacity: 0; }
}
/* 3. [최종] 팝업 통합 스타일 (중복 완전 제거) */
/*#hover-preview {
position: absolute !important; !* 💡 섹션 내 중앙 배치 *!
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
display: none;
z-index: 1000;
background: rgba(15, 23, 42, 0.98) !important;
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 24px;
padding: 30px !important;
box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.9);
!* 💡 사방 20px 마진 강제 *!
max-width: calc(100% - 40px) !important;
max-height: calc(100% - 40px) !important;
width: 500px; !* 호버 시 기본 너비 *!
transition: width 0.3s ease;
pointer-events: none;
}*/
#hover-preview {
position: absolute !important; /* 💡 fixed 사용 금지: 섹션 내부에서만 움직임 */
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important; /* 💡 정확히 섹션의 중앙 배치 */
display: none;
z-index: 1000;
background: rgba(15, 23, 42, 0.98) !important;
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 24px;
padding: 30px !important;
box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.9);
/* 💡 부모 섹션 기준 사방 20px 마진 유지 */
max-width: calc(100% - 40px) !important;
max-height: calc(100% - 40px) !important;
width: calc(50% - 40px) !important;
height: calc(100% - 40px) !important;
transition: width 0.3s ease;
pointer-events: none;
}
/* 클릭 고정 시 */
/*#hover-preview.fixed-mode {
display: flex !important;
flex-direction: column !important; !* 💡 세로 배치를 강제하여 옆으로 벌어짐 해결 *!
width: calc(100% - 40px) !important;
height: calc(100% - 40px) !important;
pointer-events: auto !important;
}*/
#hover-preview.fixed-mode {
display: flex !important;
flex-direction: column !important; /* 💡 세로 배치를 강제하여 옆으로 벌어짐 해결 */
width: calc(50% - 40px) !important;
height: calc(100% - 40px) !important;
pointer-events: auto !important;
}
/* 4. 제품 그리드 및 아이템 레이아웃 */
/*.products-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 20px;
flex: 1;
overflow-y: auto;
width: 100%;
}*/
.products-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 20px; flex: 1; overflow-y: auto; width: 100%;
height: 100%;
}
/*.products-grid.single-item, .products-grid.full-html-mode {
grid-template-columns: 1fr !important;
}*/
.products-grid.single-item, .products-grid.full-html-mode {
grid-template-columns: 1fr !important;
}
/* 모든 아이템은 세로 정렬 */
/*.product-item.item-vertical {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
background: rgba(255, 255, 255, 0.05) !important;
padding: 20px;
border-radius: 16px;
color: #fff;
text-align: left !important;
}*/
.product-item.item-vertical {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
background: rgba(255, 255, 255, 0.05) !important;
padding: 20px; border-radius: 16px; color: #fff; text-align: left !important;
}
.product-img-box { width: 100% !important; height: 100% !important; background: #000; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.product-img-box img { max-width: 100% !important;
width: auto !important;
height: 100% !important;
display: block; margin: 15px auto; border-radius: 10px; }
/* 5. 에디터 뷰 최적화 */
.editor-content-view { width: 100% !important; height: 100% !important; color: #eee !important; line-height: 1.7; margin-bottom: 20px; }
/*.editor-content-view img { max-width: 100% !important; width: auto !important; height: auto !important; display: block; margin: 15px auto; border-radius: 10px; }*/
.editor-content-view img,
.editor-content-view p img {
max-width: 100% !important;
width: auto !important;
height: 100% !important;
display: block; margin: 15px auto; border-radius: 10px;
}
/* 스크롤바 디자인 */
#preview-grid::-webkit-scrollbar { width: 6px; }
#preview-grid::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.5); border-radius: 10px; }
.content-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 30px 0; }
/* 💡 [수정] 에디터 콘텐츠 뷰 내 이미지 스타일 통합 설정 */
/*
.editor-content-view img,
.editor-content-view p img {
!* 💡 가로 너비 설정 *!
max-width: 100% !important; !* 부모(팝업) 너비를 절대 넘지 않음 *!
width: auto !important; !* 원본 너비를 유지하되 부모보다 크면 축소 *!
!* 💡 세로 높이 설정 - 요청하신 100% 강제 적용 *!
height: 100% !important; !* 💡 부모 높이를 꽉 채우도록 강제 *!
!* 💡 비율 보정 (필수) *!
object-fit: contain !important; !* 100% 시 이미지가 찌그러지는 것을 방지하고 비율 유지하며 채움 *!
!* 💡 정렬 및 디자인 *!
display: block !important;
margin: 15px auto !important; !* 중앙 정렬 *!
border-radius: 10px !important;
}
!* 💡 [추가] 에디터 콘텐츠 뷰와 그 안의 p 태그에 높이 설정 *!
.editor-content-view {
!* 팝업의 고정된 높이(550px)에서 헤더(약 60px)와 패딩(30px)을 제외한 공간 *!
height: 380px !important; !* 💡 이미지의 부모 요소에 명확한 높이 부여 *!
overflow-y: auto !important; !* 내용이 길면 스크롤 *!
overflow-x: hidden !important;
padding-right: 10px !important; !* 스크롤바와 내용 사이 간격 *!
color: #eee !important;
font-size: 15px !important;
line-height: 1.7 !important;
width: 100% !important;
}
*/
.editor-content-view p {
height: 100% !important; /* 💡 img 태그의 부모인 p 태그도 높이를 100%로 설정 */
margin: 0 !important;
padding: 0 !important;
display: flex !important; /* p 태그 내부의 img를 정렬하기 위해 flex 사용 */
justify-content: center !important; /* 이미지를 p 태그 내에서 중앙 정렬 */
align-items: center !important; /* 이미지를 p 태그 내에서 중앙 정렬 */
}
@@ -0,0 +1,91 @@
/* ============================================================
[최종 통합본] 메인 맵 전용 스타일 (products2.css)
============================================================ */
/* 1. 기본 레이아웃 및 컨테이너 */
.product-section { display: flex; justify-content: center; align-items: flex-start; gap: 40px; padding: 40px 20px; position: relative !important; }
.product-section .product-side { display: flex; flex-direction: column; }
.product-section .product-item { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; position: relative; z-index: 10; }
/* 2. 제품 이미지 기본 스타일 (200x200) */
.product-img { width: 200px; height: 200px; overflow: visible; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
/* 💡 [모드 1] 메인 영역 내부 중앙 팝업 */
#active-popup-img {
position: absolute !important;
top: 50% !important; left: 50% !important;
transform: translate(-50%, -50%) scale(0.1) !important;
width: calc(100% - 40px) !important;
height: auto !important;
max-height: 90% !important;
z-index: 9999 !important;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
border: 3px solid rgba(255,255,255,0.5);
object-fit: contain !important;
opacity: 0;
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
pointer-events: none !important;
}
#active-popup-img.active { transform: translate(-50%, -50%) scale(1) !important; opacity: 1; }
/* 💡 [모드 2] 점선 연결선 + 화살표 */
.show-connector::after {
content: ''; position: absolute; top: 50%;
border-top: 3px dashed #ffd200; z-index: 500; pointer-events: none;
width: 0 !important;
transform: rotate(var(--line-angle, 0deg)) !important;
transition: width 0.5s ease;
display: block !important;
}
.show-connector::before {
content: ''; position: absolute; top: 50%; width: 0; height: 0;
border-left: 12px solid #ffd200; border-top: 7px solid transparent; border-bottom: 7px solid transparent;
z-index: 501; pointer-events: none; opacity: 0;
transform: rotate(var(--line-angle, 0deg)) translateX(var(--line-width, 0px)) translateY(-50%);
transition: opacity 0.3s ease 0.4s;
display: block !important;
}
.show-connector.active::after { width: var(--line-width, 0px) !important; animation: dash-move 1.5s linear infinite; }
.show-connector.active::before { opacity: 1; }
/* 방향별 회전축 보정 */
.product-side.left .show-connector::after, .product-side.left .show-connector::before { left: 100% !important; margin-left: 10px; transform-origin: left center !important; }
.product-side.right .show-connector::after, .product-side.right .show-connector::before { right: 100% !important; left: auto !important; margin-right: 10px; transform-origin: right center !important; }
/* 💡 [모드 3] 제자리 600x600 확대 스타일 */
.mode-self-zoom {
position: absolute !important;
z-index: 1000 !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) scale(3) !important; /* 200px -> 600px */
box-shadow: 0 40px 80px rgba(0,0,0,0.6) !important;
border: 3px solid rgba(255,255,255,0.5) !important;
border-radius: 12px !important;
pointer-events: none !important;
}
@keyframes dash-move { to { stroke-dashoffset: -20; } }
/* 3. 메인 이미지 및 블루 스폿 설정 */
.product-main { position: relative; width: 1000px; height: 800px; flex-shrink: 0; overflow: hidden; }
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-hotspot {
position: absolute !important; width: 25px !important; height: 25px !important;
background: rgba(0, 123, 255, 0.8) !important; border: 3px solid #fff !important;
border-radius: 50% !important; transform: translate(-50%, -50%) !important;
z-index: 500; display: none; animation: hotspot-pulse-blue 1.5s infinite ease-in-out;
}
@keyframes hotspot-pulse-blue {
0%, 100% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.8;
box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
}
50% {
transform: translate(-50%, -50%) scale(1.3);
opacity: 1;
box-shadow: 0 0 20px 10px rgba(0, 116, 255, 0.4), 0 0 30px 5px rgba(255, 255, 255, 0.5);
}
}
@@ -0,0 +1,326 @@
/* ============================================================
[최종 통합본] 메인 맵 전용 스타일 - 화살표 및 방향 보정 포함
============================================================ */
/* 1. 기본 레이아웃 */
.product-section {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 40px;
padding: 40px 20px;
position: relative !important;
}
.product-section .product-side { display: flex; flex-direction: column; }
.product-section .product-item {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 40px;
position: relative;
z-index: 10;
}
/* 2. 제품 이미지 기본 스타일 */
.product-img { width: 200px; height: 200px; overflow: visible; position: relative; }
.product-img img {
width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
transition: all 0.4s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
/* 💡 [모드 1] 메인 영역 내부 중앙 팝업 */
#active-popup-img {
position: absolute !important;
top: 50% !important; left: 50% !important;
transform: translate(-50%, -50%) scale(0.1) !important;
width: calc(100% - 40px) !important;
height: calc(100% - 40px) !important;
max-width: 1560px;
z-index: 9999 !important;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
border: 3px solid rgba(255,255,255,0.5);
object-fit: contain !important;
opacity: 0;
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
pointer-events: none !important;
}
#active-popup-img.active { transform: translate(-50%, -50%) scale(1) !important; opacity: 1; }
/* 💡 점선 연결선 설정 (After: 선, Before: 화살표) */
.show-connector::after {
content: ''; position: absolute; top: 50%;
border-top: 3px dashed #ffd200; z-index: 500; pointer-events: none;
width: 0 !important;
transform: rotate(var(--line-angle, 0deg)) !important;
transition: width 0.5s ease;
display: block !important;
}
/* 💡 [추가] 점선 끝 화살표 머리 */
.show-connector::before {
content: ''; position: absolute; top: 50%;
width: 0; height: 0;
border-left: 12px solid #ffd200; /* 화살표 색상 */
border-top: 7px solid transparent;
border-bottom: 7px solid transparent;
z-index: 501; pointer-events: none;
opacity: 0;
/* 선의 끝 지점으로 화살표 이동 */
transform: rotate(var(--line-angle, 0deg)) translateX(var(--line-width, 0px)) translateY(-50%);
transition: opacity 0.3s ease 0.4s;
display: block !important;
}
.show-connector.active::after { width: var(--line-width, 0px) !important; animation: dash-move 1.5s linear infinite; }
.show-connector.active::before { opacity: 1; }
/* 💡 방향별 회전축 보정 */
/* 왼쪽 메뉴 -> 메인으로 (오른쪽 방향) */
.product-side.left .show-connector::after,
.product-side.left .show-connector::before {
left: 100% !important;
margin-left: 10px;
transform-origin: left center !important;
}
/* 오른쪽 메뉴 -> 메인으로 (왼쪽 방향) */
.product-side.right .show-connector::after,
.product-side.right .show-connector::before {
right: 100% !important; /* 👈 오른쪽 끝 기준 왼쪽으로 뻗음 */
left: auto !important;
margin-right: 10px;
transform-origin: right center !important; /* 👈 회전축을 우측 끝으로 고정 */
}
@keyframes dash-move { to { stroke-dashoffset: -20; } }
/* 3. 메인 이미지 및 블루 스폿 설정 */
.product-main { position: relative; width: 1600px; height: 1200px; flex-shrink: 0; overflow: hidden; }
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-hotspot {
position: absolute !important; width: 45px !important; height: 45px !important;
background: rgba(0, 123, 255, 0.8) !important; border: 3px solid #fff !important;
border-radius: 50% !important; transform: translate(-50%, -50%) !important;
z-index: 500; display: none; animation: hotspot-pulse-blue 1.5s infinite;
}
@keyframes hotspot-pulse-blue {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}
/*잘되은거 아래*/
/*!* ============================================================
[최종 통합본] 메인 맵 전용 스타일 (products2.css)
============================================================ *!
!* 1. 기본 레이아웃 *!
.product-section {
display: flex;
justify-content: center;
align-items: flex-start;
gap: 40px;
padding: 40px 20px;
position: relative !important;
}
.product-section .product-side { display: flex; flex-direction: column; }
.product-section .product-item {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 40px;
position: relative;
z-index: 10;
}
!* 2. 제품 이미지 기본 스타일 *!
.product-img {
width: 200px;
height: 200px;
overflow: visible;
position: relative;
}
.product-img img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
transition: all 0.4s ease;
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
!* 💡 [모드 1] 메인 영역 내부 중앙 팝업 *!
#active-popup-img {
position: absolute !important;
top: 50% !important;
left: 50% !important;
!* 시작 상태: 작고 투명하게 *!
transform: translate(-50%, -50%) scale(0.1) !important;
width: calc(100% - 40px) !important; !* 사방 20px 마진 *!
height: calc(100% - 40px) !important;
max-width: 1560px;
z-index: 9999 !important;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
border: 3px solid rgba(255,255,255,0.5);
object-fit: contain !important;
opacity: 0;
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
!* 💡 [핵심] 마우스 이벤트를 무시하여 아이템 mouseleave 방해 금지 *!
pointer-events: none !important;
}
!* 활성화 상태: 정중앙 100% 크기 *!
#active-popup-img.active {
transform: translate(-50%, -50%) scale(1) !important;
opacity: 1;
}
!* 💡 [모드 2] 점선 연결선 *!
.show-connector::after {
content: '';
position: absolute;
top: 50%;
border-top: 3px dashed #ffd200;
z-index: 500;
pointer-events: none;
width: 0 !important; !* 시작은 길이 0 *!
transform: rotate(var(--line-angle, 0deg)) !important;
transform-origin: left center !important;
transition: width 0.5s ease;
display: block !important;
}
!* 활성화 상태: 계산된 길이만큼 뻗어나감 *!
.show-connector.active::after {
width: var(--line-width, 0px) !important;
animation: dash-move 1.5s linear infinite;
}
!* 방향별 연결선 시작 위치 *!
.product-side.left .show-connector::after { left: 100% !important; margin-left: 10px; }
.product-side.right .show-connector::after {
left: 0 !important;
margin-right: 10px;
transform-origin: right center !important;
}
@keyframes dash-move { to { stroke-dashoffset: -20; } }
!* 3. 메인 이미지 및 블루 스폿 설정 *!
.product-main {
position: relative;
width: 1600px;
height: 1200px;
flex-shrink: 0;
overflow: hidden;
}
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-hotspot {
position: absolute !important;
width: 45px !important;
height: 45px !important;
background: rgba(0, 123, 255, 0.8) !important;
border: 3px solid #fff !important;
border-radius: 50% !important;
transform: translate(-50%, -50%) !important;
z-index: 500;
display: none;
animation: hotspot-pulse-blue 1.5s infinite;
}
@keyframes hotspot-pulse-blue {
0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}
.product-hotspot::after {
content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
background-color: rgba(0, 123, 255, 0.3); border-radius: 50%;
transform: translate(-50%, -50%); animation: hotspot-ring 1.5s infinite;
}
@keyframes hotspot-ring {
0% { width: 45px; height: 45px; opacity: 0.5; }
100% { width: 120px; height: 120px; opacity: 0; }
}*/
/*
!* ============================================================
[최종 통합본] 메인 맵 전용 스타일 (products2.css)
============================================================ *!
!* 1. 컨테이너 및 레이아웃 *!
.product-section { display: flex; justify-content: center; align-items: flex-start; gap: 40px; padding: 40px 20px; }
.product-section .product-side { flex-direction: column; }
.product-section .product-item { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; position: relative; z-index: 10; }
!* 2. 제품 이미지 기본 스타일 *!
.product-img { width: 200px; height: 200px; overflow: visible; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; transition: all 0.4s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
!* 💡 [모드 1] 메인 영역(.product-main) 내부 중앙 팝업 *!
#active-popup-img {
position: absolute !important;
top: 50% !important; left: 50% !important;
transform: translate(-50%, -50%) !important;
width: calc(100% - 40px) !important; !* 💡 부모 내부 20px 마진 *!
height: calc(100% - 40px) !important;
max-width: 1560px;
z-index: 9999 !important;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
border: 3px solid rgba(255,255,255,0.5);
object-fit: contain !important;
pointer-events: none;
}
!* 💡 [모드 2] 점선 연결선 *!
.show-connector::after {
content: ''; position: absolute; top: 50%;
border-top: 3px dashed #ffd200; z-index: 500; pointer-events: none;
width: var(--line-width, 0px) !important;
transform: rotate(var(--line-angle, 0deg)) !important;
transform-origin: left center !important;
display: block !important;
}
.product-side.left .show-connector::after { left: 100% !important; margin-left: 10px; }
.product-side.right .show-connector::after { left: 0 !important; margin-right: 10px; transform-origin: right center !important; }
@keyframes dash-move { to { stroke-dashoffset: -20; } }
!* 3. 메인 이미지 및 블루 스폿 설정 *!
.product-main { position: relative; width: 1600px; height: 1200px; flex-shrink: 0; overflow: hidden; }
.product-main img { width: 100%; height: 100%; object-fit: cover; }
.product-hotspot {
position: absolute !important; width: 45px !important; height: 45px !important;
background: rgba(0, 123, 255, 0.8) !important; border: 3px solid #fff !important;
border-radius: 50% !important; transform: translate(-50%, -50%) !important;
z-index: 500; display: none; animation: hotspot-pulse-blue 1.5s infinite;
}
@keyframes hotspot-pulse-blue { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; } }
.product-hotspot::after {
content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
background-color: rgba(0, 123, 255, 0.3); border-radius: 50%;
transform: translate(-50%, -50%); animation: hotspot-ring 1.5s infinite;
}
@keyframes hotspot-ring { 0% { width: 45px; height: 45px; opacity: 0.5; } 100% { width: 120px; height: 120px; opacity: 0; } }
!* 💡 [모드 1] 메인 영역(.product-main) 내부 중앙 팝업 *!
#active-popup-img {
position: absolute !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) scale(0.1) !important; !* 💡 초기 크기를 작게 시작 *!
width: calc(100% - 40px) !important; !* 메인 영역 너비의 90% *!
height: auto !important;
max-height: 90% !important;
z-index: 9999 !important;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
border: 3px solid rgba(255,255,255,0.5);
object-fit: contain !important;
pointer-events: none;
opacity: 0; !* 💡 초기 투명도 *!
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; !* 💡 애니메이션 추가 *!
}
!* 💡 [추가] 팝업이 활성화될 때 최종 크기로 *!
.product-section .product-main #active-popup-img.active {
transform: translate(-50%, -50%) scale(1) !important; !* 💡 최종 크기 *!
opacity: 1; !* 💡 최종 투명도 *!
}*/
@@ -0,0 +1,124 @@
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
/* --- [유지] 기본 및 공통 설정 --- */
.products-main-page { background-color: #0b0f1a; font-family: 'Pretendard', sans-serif; margin: 0; padding: 0; }
.main-container { width: 100%; overflow: hidden; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 40px; height: 2px; background: #0054a6; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #666; }
/* --- [유지] 메인 비주얼 슬라이더 관련 (기존 소스) --- */
.main-visual { width: 100%; height: auto; position: relative; padding-top: 190px; box-sizing: border-box; }
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
.visual-layer-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 2; text-align: center; color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.visual-title { font-size: 48px; font-weight: 700; color: #ffd200; margin: 0; }
.visual-divider { display: block; width: 50px; height: 2px; background-color: rgba(255, 255, 255, 0.5); margin: 30px auto; }
.visual-subtitle { font-size: 24px; font-weight: 500; line-height: 1.6; margin: 0; }
.main-visual .swiper-button-next, .main-visual .swiper-button-prev { width: 70px; height: 70px; background-color: rgba(0, 0, 0, 0.1); border-radius: 50%; color: #fff; position: absolute; top: calc(50% + 45px); transform: translateY(-50%); z-index: 10; display: flex; justify-content: center; align-items: center; cursor: pointer; }
.main-visual .swiper-button-prev { left: 20px; }
.main-visual .swiper-button-next { right: 20px; }
/* --- [유지] 히어로 섹션 관련 (기존 소스) --- */
.hero_container { padding: 120px 0 80px 0; background: #fff; }
.hero_container .text_area { position: relative; width: 100%; max-width: 1600px; padding: 0 20px; text-align: left; color: #111; line-height: 1.6; z-index: 2; }
/* ... (기존의 btn_box, main_title 등 생략하지만 파일에는 유지하셔야 합니다) ... */
/* --- [중요/수정] 팝업창 및 맵 전용 설정 --- */
/* 1. 최상위 섹션 기준점 (팝업 중앙 배치를 위해 필수) */
.product-map-section {
position: relative !important;
}
/* 2. 맵 및 핫스팟 보정 */
.map-wrapper {
position: relative; display: inline-block;
width: 1600px; overflow: hidden; border-radius: 24px;
margin: 0 auto; background: #161b26;
}
.map-container {
position: relative; width: 100%; height: 980px !important;
background-size: 100% 100% !important; cursor: crosshair;
}
.hotspot {
position: absolute; width: 22px !important; height: 22px !important;
background: rgba(59, 130, 246, 0.6); border: 2px solid #fff; border-radius: 50%;
transform: translate(-50%, -50%) !important; /* 💡 Y축 오차 해결 */
z-index: 10; cursor: pointer;
}
.hotspot::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; background-color: rgba(0, 123, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: hotspot-pulse 2s infinite; }
@keyframes hotspot-pulse { 0% { width: 20px; height: 20px; opacity: 0.8; } 100% { width: 60px; height: 60px; opacity: 0; } }
/* 3. [최종] 팝업 통합 스타일 (중복 완전 제거) */
#hover-preview {
position: absolute !important; /* 💡 섹션 내 중앙 배치 */
left: 50% !important;
top: 50% !important;
transform: translate(-50%, -50%) !important;
display: none;
z-index: 1000;
background: rgba(15, 23, 42, 0.98) !important;
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 24px;
padding: 30px !important;
box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.9);
/* 💡 사방 20px 마진 강제 */
max-width: calc(100% - 40px) !important;
max-height: calc(100% - 40px) !important;
width: 500px; /* 호버 시 기본 너비 */
transition: width 0.3s ease;
pointer-events: none;
}
/* 클릭 고정 시 */
#hover-preview.fixed-mode {
display: flex !important;
flex-direction: column !important; /* 💡 세로 배치를 강제하여 옆으로 벌어짐 해결 */
width: calc(100% - 40px) !important;
height: calc(100% - 40px) !important;
pointer-events: auto !important;
}
/* 4. 제품 그리드 및 아이템 레이아웃 */
.products-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 20px;
flex: 1;
overflow-y: auto;
width: 100%;
}
.products-grid.single-item, .products-grid.full-html-mode {
grid-template-columns: 1fr !important;
}
/* 모든 아이템은 세로 정렬 */
.product-item.item-vertical {
display: flex !important;
flex-direction: column !important;
align-items: flex-start !important;
background: rgba(255, 255, 255, 0.05) !important;
padding: 20px;
border-radius: 16px;
color: #fff;
text-align: left !important;
}
.product-img-box { width: 100% !important; height: auto !important; max-height: 400px; background: #000; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.product-img-box img { width: 100%; height: 100%; object-fit: contain; }
/* 5. 에디터 뷰 최적화 */
.editor-content-view { width: 100% !important; color: #eee !important; line-height: 1.7; margin-bottom: 20px; }
.editor-content-view img { max-width: 100% !important; width: auto !important; height: auto !important; display: block; margin: 15px auto; border-radius: 10px; }
/* 스크롤바 디자인 */
#preview-grid::-webkit-scrollbar { width: 6px; }
#preview-grid::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.5); border-radius: 10px; }
.content-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.1); margin: 30px 0; }
@@ -0,0 +1,375 @@
/* 메인 레이아웃 스타일 */
/* 공통 */
.main-container { width: 100%; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h3 { font-size: 32px; font-weight: 700; color: #333; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h3::after { content: ''; display: block; width: 40px; height: 2px; background: #0054a6; margin: 15px auto 0; }
.section-title p { font-size: 16px; color: #666; }
/* 1. 메인 비주얼 */
.main-visual {
width: 100%;
height: auto; /* 슬라이드 높이 증가 */
position: relative;
padding-top: 90px; /* 헤더 높이만큼 상단 여백 추가 */
box-sizing: border-box; /* 패딩을 높이에 포함 */
}
.visual-slider, .swiper-wrapper, .swiper-slide { height: 100%; }
.visual-link { display: block; width: 100%; height: 100%; position: relative; }
.visual-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
/* 텍스트 레이어 */
.visual-layer-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center; /* 수직 중앙 정렬 */
z-index: 2;
box-sizing: border-box;
text-align: center;
color: #fff;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.visual-title {
font-size: 48px;
font-weight: 700;
color: #ffd200;
margin: 0;
}
.visual-divider {
display: block;
width: 50px;
height: 2px;
background-color: rgba(255, 255, 255, 0.5);
margin: 30px auto;
}
.visual-subtitle {
font-size: 24px;
font-weight: 500;
line-height: 1.6;
margin: 0;
}
/* Swiper 네비게이션 버튼 스타일 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
width: 70px;
height: 70px;
background-color: rgba(0, 0, 0, 0.1);
border-radius: 50%;
color: #fff;
transition: background-color 0.3s;
position: absolute; /* Swiper 기본 스타일 오버라이드 */
top: calc(50% + 45px); /* 90px(padding-top)의 절반만큼 아래로 이동 */
transform: translateY(-50%);
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.main-visual .swiper-button-prev {
left: 20px;
}
.main-visual .swiper-button-next {
right: 20px;
}
.main-visual .swiper-button-next:hover,
.main-visual .swiper-button-prev:hover {
background-color: rgba(0, 0, 0, 0.5);
}
.main-visual .swiper-button-next:after,
.main-visual .swiper-button-prev:after {
font-size: 20px;
}
/* 썸네일 미리보기 스타일 */
.main-visual .swiper-button-prev .thumb-wrapper,
.main-visual .swiper-button-next .thumb-wrapper {
position: absolute;
top: 0;
width: 100%;
height: 100%;
border-radius: 50%;
overflow: hidden;
opacity: 0;
transform: scale(0);
transition: all 0.3s ease;
pointer-events: none; /* 썸네일 위로 마우스가 올라가도 버튼 hover 상태 유지 */
}
.main-visual .swiper-button-prev:hover .thumb-wrapper,
.main-visual .swiper-button-next:hover .thumb-wrapper {
opacity: 1;
transform: scale(1);
}
.main-visual .swiper-button-prev .thumb-wrapper {
left: -110px; /* 버튼 왼쪽에 썸네일 표시 */
}
.main-visual .swiper-button-next .thumb-wrapper {
right: -110px; /* 버튼 오른쪽에 썸네일 표시 */
}
.main-visual .swiper-button-prev .thumb,
.main-visual .swiper-button-next .thumb {
width: 100px; /* 썸네일 크기 */
height: 100px;
background-size: cover;
background-position: center;
border-radius: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
border: 2px solid rgba(255, 255, 255, 0.8);
}
.main-visual .swiper-button-prev .thumb {
left: 0;
}
.main-visual .swiper-button-next .thumb {
right: 0;
}
/* 기본 초기화 및 폰트 */
/* 폰트 및 초기화 */
#eklim_main_wrap { font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif; letter-spacing: -0.05em; line-height: 1.2; }
/* 상단 유틸 (기획안 우측 상단 소형 글자) */
.top_util_bar { background: #fff; border-bottom: 1px solid #f0f0f0; }
.top_util_bar .inner { max-width: 1200px; margin: 0 auto; text-align: right; padding: 10px 20px; }
.top_util_bar a { font-size: 12px; color: #888; text-decoration: none; margin-left: 15px; }
/* 💡 [수정] 히어로 섹션 스타일 */
.hero_container {
padding: 120px 0 80px 0;
background: #fff;
}
.hero_container .content_inner {
max-width: 1600px;
margin: 0 auto;
position: relative;
line-height: 0;
}
.hero_container .main_bg_img {
width: 100%;
height: auto;
display: block;
}
.hero_container .hero_content_wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.hero_container .text_area {
position: relative;
width: 100%;
max-width: 1200px;
padding: 0 20px;
text-align: left;
color: #111;
line-height: 1.6;
z-index: 2;
}
.hero_container .floating_as_badge {
position: absolute;
top: 20px;
right: 20px;
background: #FF6B00;
color: #fff;
padding: 30px 40px;
border-radius: 25px;
text-align: center;
box-shadow: 0 15px 35px rgba(255, 107, 0, 0.3);
z-index: 3;
line-height: 1.4;
}
/* 💡 [끝] 히어로 섹션 스타일 */
/* 텍스트 크기 및 색상 */
.label_orange { color: #FF6B00; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.label_blue { color: #007bff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.main_title { font-size: 52px; font-weight: 800; color: #111; margin-bottom: 30px; line-height: 1.2; }
.main_title .highlight_orange { color: #FF6B00; }
.main_title .highlight_blue { color: #007bff; }
.sub_description { font-size: 20px; color: #666; line-height: 1.6; margin-bottom: 60px; }
/* 버튼 스타일 (기획안과 동일한 색상 대비) */
.main_action_row { display: flex; gap: 20px; }
.btn_box { display: flex; align-items: center; width: 380px; padding: 35px 30px; border-radius: 20px; cursor: pointer; transition: all 0.3s; }
/* 버튼 1: 블랙 (온라인 주문) */
.btn_box.dark { background: #222; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn_box.dark strong { font-size: 24px; color: #fff; }
.btn_box.dark p { font-size: 15px; color: #aaa; margin-top: 5px; }
/* 버튼 2: 화이트 (전문가 부르기) */
/* 버튼 2: 기본 흰색 상태 */
.btn_box.white {
background: #fff;
border: 1px solid #e0e0e0;
color: #222;
transition: all 0.3s ease; /* 부드러운 전환 효과 */
}
.btn_box.white strong { font-size: 24px; color: #222; transition: all 0.3s; }
.btn_box.white p { font-size: 15px; color: #888; margin-top: 5px; transition: all 0.3s; }
/* 마우스 올렸을 때 (Hover) 파란색으로 변경 */
.btn_box.white:hover {
background: #007bff; /* 신뢰감을 주는 파란색 */
border-color: #007bff;
transform: translateY(-8px); /* 위로 살짝 올라가는 효과 */
box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3); /* 파란색 그림자 */
}
/* 마우스 올렸을 때 내부 글자색을 흰색으로 변경 */
.btn_box.white:hover strong,
.btn_box.white:hover p {
color: #fff;
}
/* 마우스 올렸을 때 아이콘도 살짝 반응하도록 (선택사항) */
.btn_box.white:hover .btn_icon {
filter: brightness(1.5);
}
/* 오렌지 플로팅 배지 (Slide 01 우측 상단 디자인) */
.floating_as_badge p { font-size: 18px; margin-bottom: 5px; font-weight: 400; opacity: 0.9; }
.floating_as_badge strong { font-size: 28px; font-weight: 900; display: block; }
/* 하단 네비게이션 */
.bottom_nav { border-top: 1px solid #eee; margin-top: 50px; }
.bottom_nav ul { list-style: none; display: flex; gap: 40px; justify-content: center; padding: 25px 0; }
.bottom_nav li { font-size: 17px; font-weight: 600; color: #444; cursor: pointer; }
/* 2. 제품 소개 */
.product-intro { padding: 80px 15px; }
.product-list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.product-item { width: 23%; text-align: center; padding: 30px 20px; background: #f9f9f9; border-radius: 10px; transition: all 0.3s; text-decoration: none; color: #333; }
.product-item:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transform: translateY(-5px); }
.product-item .icon-box { width: 80px; height: 80px; margin: 0 auto 20px; }
.product-item .icon-box img { width: 100%; height: 100%; object-fit: contain; }
.product-item h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.product-item p { font-size: 14px; color: #888; }
/* 3. 회사 소개 */
.about-section { background: #f4f4f4; padding: 80px 0; }
.about-content { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.about-text { flex: 1; }
.about-text h3 { font-size: 18px; color: #0054a6; font-weight: 700; margin-bottom: 10px; }
.about-text h2 { font-size: 36px; font-weight: 700; margin-bottom: 30px; color: #333; }
.about-text p { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 40px; }
.about-text .btn-more { display: inline-block; padding: 12px 30px; background: #333; color: #fff; text-decoration: none; font-weight: 500; transition: 0.3s; }
.about-text .btn-more:hover { background: #0054a6; }
.about-img { flex: 1; height: 400px; border-radius: 10px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
/* 4. 갤러리 */
.gallery-section { padding: 80px 15px; }
.gallery-list { display: flex; flex-wrap: wrap; gap: 20px; }
/* 5. 고객센터 & 지도 */
.contact-map-section { padding: 80px 0; background: #fff; border-top: 1px solid #eee; }
.contact-map-section .container { display: flex; gap: 30px; }
.contact-info-box { flex: 0 0 350px; background: #0054a6; color: #fff; padding: 40px; border-radius: 10px; display: flex; flex-direction: column; justify-content: center; }
.contact-info-box h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 20px; }
.contact-info-box .tel { font-size: 36px; font-weight: 700; margin-bottom: 20px; }
.contact-info-box .desc { font-size: 15px; line-height: 1.6; margin-bottom: 30px; opacity: 0.9; }
.contact-info-box .btns { display: flex; gap: 10px; }
.contact-info-box .btns a { flex: 1; text-align: center; padding: 12px 0; background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,0.3); transition: 0.3s; }
.contact-info-box .btns a:hover { background: #fff; color: #0054a6; }
.map-box { flex: 1; height: 400px; background: #ddd; border-radius: 10px; overflow: hidden; }
/* Process Section */
.process-section {
padding: var(--spacing-sm) 0;
background: var(--bg-secondary);
}
.process-timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
}
.process-timeline::before {
content: '';
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 2px;
height: 100%;
background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}
.process-step {
display: flex;
align-items: center;
margin-bottom: var(--spacing-2xl);
position: relative;
opacity: 0;
transform: translateY(30px);
}
.process-step.animate-in {
opacity: 1;
transform: translateY(0);
}
.process-step:nth-child(even) {
flex-direction: row-reverse;
}
/* 반응형 */
@media (max-width: 991px) {
.main-visual { height: 500px; padding-top: 60px; } /* 모바일 헤더 높이에 맞게 조정 */
.main-visual .swiper-button-next,
.main-visual .swiper-button-prev {
top: calc(50% + 30px);
}
.visual-title { font-size: 36px; }
.visual-subtitle { font-size: 20px; }
.product-item { width: 48%; }
.about-content { flex-direction: column; }
.about-img { width: 100%; height: 300px; }
.contact-map-section .container { flex-direction: column; }
.contact-info-box { width: 100%; flex: auto; }
.map-box { height: 300px; }
.main-visual .swiper-button-prev .thumb-wrapper,
.main-visual .swiper-button-next .thumb-wrapper {
display: none; /* 모바일에서는 썸네일 미리보기 숨김 */
}
}
@media (max-width: 480px) {
.main-visual { height: 400px; }
.visual-title { font-size: 28px; }
.visual-subtitle { font-size: 16px; }
.visual-divider { margin: 20px auto; }
.product-item { width: 100%; }
}