Files
dnssash/theme/rd.dnssash/rb.layout/dnssash_main/css/style.css
T
2026-06-11 18:47:38 +09:00

376 lines
12 KiB
CSS

/* 메인 레이아웃 스타일 */
/* 공통 */
.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%; }
}