Files
fod/kr/assets/css/kia/kiamain.scss
2025-11-23 23:23:25 +09:00

1347 lines
30 KiB
SCSS

@charset "UTF-8";
@import "../utils.scss";
/*변수파일 import*/
@keyframes fadein {
from {
opacity: 0.9;
}
to {
opacity: 1;
}
}
.contentWarp.main {
margin-bottom: 0;
.mainWarpInner {
width: 120rem;
margin: 0 auto;
}
}
.mainContentsWrap {
width: 100%;
margin: 0 auto;
margin-top: 68rem;
z-index: 1;
@include tablet {
margin-top: 65rem;
}
@include desktopMin {
margin-top: 72rem;
}
@include desktopMax {
margin-top: 84.8rem;
}
}
.mainTopCopy {
width: 100%;
max-width: 120rem;
margin: 0 auto;
@media (max-width: 1240px) {
padding: 0 2rem;
}
@media (max-width: 1024px) {
display: none;
}
.title {
font-size: 5rem;
font-weight: 600;
color: #000000;
line-height: 5.8rem;
}
.description {
margin-top: 2.5rem;
font-size: 1.8rem;
font-weight: 400;
color: #676767;
}
}
.mainProductListWrap {
width: 100%;
margin-top: 7rem;
@media (max-width: 1024px) {
margin-top: 0;
}
}
.mainProductListTop {
@media (max-width: 1024px) {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
padding: 0 2rem;
}
}
.mainProductListBottom {
@media (max-width: 1024px) {
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
padding: 0 2rem;
}
}
.mainProductItem {
width: 100%;
margin-bottom: 4rem;
@media (max-width: 1240px) {
padding: 0 2rem;
}
@media (max-width: 1024px) {
width: calc((100% - 2rem) / 2);
padding: 0;
margin-bottom: 2rem;
}
@media (max-width: 768px) {
width: 100%;
}
.item {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
max-width: 120rem;
height: 35rem;
overflow: hidden;
margin: 0 auto;
border: 1px solid #dedede;
border-radius: 0.6rem;
@media (max-width: 1024px) {
height: initial;
aspect-ratio: 32 / 45;
}
.imageArea {
display: block;
width: 35rem;
height: 35rem;
overflow: hidden;
@media (max-width: 1024px) {
display: none;
}
.productSmallVideo {
position: relative;
video {
width: 35rem;
height: 35rem;
}
img {
position: absolute;
top: 0;
left: 0;
width: 35rem;
height: 35rem;
}
}
}
.infoArea {
width: calc(100% - 35rem);
height: 100%;
padding: 4rem;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
background-size: 0;
@media (max-width: 1024px) {
position: relative;
display: flex;
width: 100%;
padding: 3rem 2rem 2rem;
background-size: cover;
background-position: center;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background-image: url("/kr/assets/images/kia/producy.png");
background-repeat: no-repeat;
background-size: contain;
background-position: top left;
}
}
&.defualt {
display: none;
@media (max-width: 1024px) {
display: block;
&::before {
display: none;
}
}
}
.infoTop {
position: relative;
.tag {
margin-bottom: 2rem;
@media (max-width: 1024px) {
margin-bottom: 1.5rem;
}
span {
display: inline-block;
height: 2.5rem;
padding: 0.6rem 0.8rem 0.5rem;
border: 1px solid #9ea1a2;
font-size: 1.3rem;
font-weight: 400;
color: #000;
line-height: 1;
&:not(:first-child) {
margin-left: 0.3rem;
}
@media (max-width: 1024px) {
height: 2.3rem;
padding: 0.6rem 0.6rem 0.5rem;
font-size: 1.1rem;
color: #fff;
border: 1px solid #fff;
}
&.available {
background-color: #5d7d2b;
color: #fff;
border-color: #5d7d2b;
}
&.promotion {
background-color: #f3c300;
color: #000;
border-color: #f3c300;
}
}
}
h2 {
width: 100%;
display: -webkit-box;
white-space: normal;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
font-size: 3.5rem;
font-weight: 600;
color: #000000;
@media (max-width: 1024px) {
color: #ffffff;
font-size: 3rem;
}
}
.descript {
width: 100%;
margin-top: 1rem;
display: -webkit-box;
white-space: normal;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
font-size: 1.6rem;
font-weight: 400;
color: #676767;
line-height: 2.4rem;
@media (max-width: 1024px) {
display: none;
}
}
}
.infoBottom {
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
@media (max-width: 1024px) {
display: block;
margin-top: 2.5rem;
}
.listOtionPrice {
display: flex;
justify-content: flex-start;
align-items: flex-start;
@media (max-width: 1024px) {
display: block;
}
dl {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
min-width: 16rem;
height: 9.2rem;
padding: 1.6rem;
background-color: #f2f2f2;
border-radius: 0.6rem;
@media (max-width: 1024px) {
flex-direction: row;
flex-wrap: wrap;
align-items: center;
width: 100%;
height: 4.8rem;
padding: 0 1.6rem;
&:not(:first-child) {
margin-top: 1rem;
}
}
dt {
font-size: 1.1rem;
font-weight: 400;
color: #676767;
@media (max-width: 1024px) {
position: relative;
font-size: 1.1rem;
color: #000;
font-weight: 400;
margin-left: 0;
padding-left: 0;
// &::before {
// content: "";
// position: absolute;
// top: 0.1rem;
// left: 0;
// width: 0.1rem;
// height: 1.4rem;
// background-color: #DEDEDE;
// }
}
}
dd {
// margin-top: 1.8rem;
font-size: 1.6rem;
font-weight: 600;
color: #000000;
@media (max-width: 1024px) {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: flex-end;
margin-top: 0;
font-size: 1.4rem;
color: #000;
}
.price {
@media (max-width: 1024px) {
display: flex;
align-items: center;
em {
order: 2;
}
.dc {
order: 1;
margin-right: 0.4rem;
}
}
}
.discount {
display: block;
margin: 0.6rem 0 0;
font-size: 1.4rem;
color: #9ea1a2;
text-align: left;
@media (max-width: 1024px) {
width: 100%;
margin: 0 0 0;
font-size: 0.9rem;
color: #9ea1a2;
text-align: right;
}
b {
font-weight: 600;
}
i {
@include desktopMin {
font-size: 1.2rem;
}
font-weight: 400;
text-decoration: line-through;
}
}
.dc {
font-size: 1.1rem;
@include desktopMin {
font-size: 1.4rem;
}
color: #ea0029;
}
}
&:not(:first-child) {
margin-left: 0.8rem;
// padding-left: 0.8rem;
@media (max-width: 1024px) {
margin-left: 0;
}
// &::before {
// content: "";
// position: absolute;
// top: 0.2rem;
// left: 0;
// width: 0.1rem;
// height: 4.4rem;
// background-color: #DEDEDE;
// @media(max-width: 1024px){
// display: none;
// }
// }
}
}
}
.listImgBtn {
@media (max-width: 1024px) {
display: none;
}
}
}
.mobileLinker {
display: none;
@media (max-width: 1024px) {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
}
}
}
&.defualt {
.defaultLogo {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
@media (max-width: 1024px) {
display: none;
}
}
}
}
}
.mainBannerArea {
position: relative;
width: 100%;
max-width: 192rem;
height: 34rem;
margin: 0 auto;
margin-top: 9rem;
@media (max-width: 1024px) {
margin-top: 4rem;
}
@media (max-width: 768px) {
height: auto;
}
.mainBannerImageArea {
height: 34rem;
@media (max-width: 768px) {
height: auto;
}
.mainBannerPC {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
@media (max-width: 768px) {
display: none;
}
}
.mainBannerMO {
display: none;
@media (max-width: 768px) {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.mainBannerInfo {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
.mainBannerInfoInner {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
width: 100%;
height: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 6rem 0;
@media (max-width: 1240px) {
padding: 3rem 2rem;
}
@media (max-width: 768px) {
justify-content: flex-end;
}
.title {
width: 100%;
display: -webkit-box;
white-space: normal;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
font-size: 4rem;
font-weight: 600;
color: #000000;
}
.text {
width: 100%;
display: -webkit-box;
white-space: normal;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
margin-top: 1rem;
font-size: 1.6rem;
font-weight: 400;
line-height: 2.4rem;
color: #000000;
@media (max-width: 768px) {
margin-bottom: 2.5rem;
}
}
}
}
}
.mainBanner {
.mabannerInner {
.listImgBtn {
.oneButton {
a {
&::after,
&::before {
width: 3rem;
@include desktopMax {
width: 4rem;
}
}
}
}
}
}
}
.mainTopKey {
width: 100%;
position: absolute;
top: 10.6rem;
left: 50%;
transform: translate(-50%, 0);
@include desktopMin {
max-width: 192rem;
}
@include tablet {
top: 8rem;
}
.mainSwiper {
max-width: 192rem;
width: 100%;
top: 0;
left: 50%;
transform: translate(-50%, 0);
height: 59rem;
background-size: cover;
z-index: 0;
@include tablet {
height: 59rem;
}
@include desktopMin {
height: 64rem;
}
@include desktopMax {
height: 76.8rem;
}
&::before {
content: "";
display: block;
position: absolute;
width: 100%;
height: 24rem;
top: 0;
background: linear-gradient(180deg, rgba(5, 20, 31, 0.7) 0%, rgba(5, 20, 31, 0) 100%);
z-index: 2;
}
ul {
li {
display: flex;
align-items: center;
height: 59rem;
background-size: cover;
@include tablet {
height: 59rem;
}
@include desktopMin {
height: 64rem;
}
@include desktopMax {
height: 76.8rem;
}
.mainText {
width: 100%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
padding-left: 2rem;
padding-right: 2rem;
z-index: 2;
@include desktopMin {
width: 120rem;
}
@include desktopMax {
padding-left: 0rem;
padding-right: 0rem;
}
p {
width: calc(100% - 64px);
strong {
font-size: 3.5rem;
font-weight: 600;
@include desktopMin {
font-size: 8rem;
}
}
strong,
span {
display: block;
width: 100%;
color: #fff;
line-height: 1.1;
}
}
.oneButton {
width: 16rem;
}
}
video {
&.mainKvMoviePc {
display: block;
@media (max-width: 768px) {
display: none;
}
}
&.mainKvMovieMo {
display: none;
@media (max-width: 768px) {
display: block;
}
}
}
.imageArea {
position: absolute;
left: 0;
top: 0;
display: flex;
justify-content: center;
width: 100%;
height: 100%;
object-fit: cover;
overflow: hidden;
&.mainKvImagePc {
display: flex;
@media (max-width: 768px) {
display: none;
}
}
&.mainKvImageMo {
display: none;
@media (max-width: 768px) {
display: flex;
}
}
img {
width: 100%;
object-fit: cover;
}
}
}
}
.swiper-pagination {
bottom: 3rem;
span {
width: 5.6rem;
height: 0.4rem;
border-radius: 0;
background-color: #fff;
}
}
}
.kvSwiperBtnArea {
position: absolute;
top: 366px;
width: 100%;
height: 36px;
max-width: 137.6rem;
left: 50%;
transform: translate(-50%);
@media (max-width: 1300px) {
display: none;
}
.kvNextBtn {
&::after {
content: "";
display: block;
width: 1.8rem;
height: 3.6rem;
background-image: url(/kr/assets/images/common/kv-next-btn.svg);
background-repeat: no-repeat;
background-position: center;
}
}
.kvPrevBtn {
&::after {
content: "";
display: block;
width: 1.8rem;
height: 3.6rem;
background-image: url(/kr/assets/images/common/kv-prev-btn.svg);
background-repeat: no-repeat;
background-position: center;
}
}
}
.mycarInfo {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: 5rem;
position: absolute;
bottom: 0;
left: 0;
z-index: 1;
background-color: rgba(5, 20, 31, 0.6);
@include desktopMin {
width: 100%;
height: 8.7rem;
padding-left: 2rem;
padding-right: 2rem;
}
@include desktopMax {
max-width: 192rem;
padding-left: 0rem;
padding-right: 0rem;
}
.mycarInfoInner {
width: 100%;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
@include desktopMax {
width: 120rem;
}
.mainComment {
display: none;
@include desktopMin {
display: block;
}
p {
color: #fff;
font-size: 1.6rem;
display: flex;
align-items: center;
&::before {
content: "";
display: block;
width: 4.3rem;
height: 4.3rem;
margin-right: 1.5rem;
background-image: url(/kr/assets/images/common/icon-car.svg);
background-size: contain;
background-repeat: no-repeat;
}
}
}
.mainCarNum {
width: 100%;
@include desktopMin {
width: fit-content;
}
.carlist {
position: relative;
width: 100%;
padding-left: 2rem;
padding-right: 2rem;
@include desktopMin {
width: auto;
display: block;
padding-left: 0rem;
padding-right: 0rem;
}
span {
color: #f3c300;
font-weight: 400;
display: flex;
width: auto;
min-width: 2.2rem;
@include desktopMin {
width: fit-content;
}
}
span + span {
width: 100%;
@include desktopMin {
width: fit-content;
}
&::before {
content: "";
display: block;
width: 1px;
height: 1.4rem;
background-color: #dedede;
margin-left: 1rem;
margin-right: 1rem;
}
}
.carItem {
display: flex;
height: 5rem;
font-size: 1.4rem;
align-items: center;
cursor: pointer;
color: #676767;
&::after {
content: "";
width: 2.5rem;
height: 0.8rem;
display: block;
background: url("/kr/assets/images/common/icon-wtbarrow.svg") center right no-repeat;
background-size: 1.2rem;
}
&:hover,
&:focus {
border: none;
outline: none;
}
@include desktopMin {
height: 8.7rem;
}
}
.carItem.on {
.carlistItem {
display: block;
}
}
.carlistItem {
display: none;
position: absolute;
width: 100%;
min-width: 17rem;
top: 5rem;
left: 50%;
transform: translate(-50%, 0);
background-color: #fff;
z-index: 1;
@include desktopMin {
top: 8.7rem;
width: fit-content;
left: auto;
right: 0;
transform: translate(0);
}
@include desktopMax {
left: 50%;
transform: translate(-50%, 0);
right: inherit;
}
.boxBullet {
display: none;
@include desktopMin {
width: 1.4rem;
height: 1rem;
display: block;
position: absolute;
top: -0.9rem;
left: 73%;
transform: translate(-50%, 0);
z-index: 1;
}
@include desktopMax {
left: 50%;
transform: translate(-50%, 0);
}
}
ul {
position: relative;
display: block;
padding: 2rem;
background-color: #fff;
border: 1px solid #dedede;
li {
a {
display: flex;
font-size: 1.4rem;
align-items: center;
&:hover {
span {
color: #000;
}
}
span {
color: #9ea1a2;
font-weight: 400;
display: flex;
width: fit-content;
}
}
}
li + li {
margin-top: 1rem;
}
}
}
.carlistItem.on {
display: block;
}
.carItem.on + .carlistItem {
display: block;
width: 100%;
@include desktopMin {
width: fit-content;
}
}
}
.carlist.on {
a {
&::after {
transform: rotate(-180deg);
background-position-x: left;
}
}
}
}
}
}
}
.mainTopKey + .contentWarp {
margin-top: 55rem;
z-index: 1;
@include tablet {
margin-top: 64rem;
}
@include desktopMax {
margin-top: 85.5rem;
}
}
.mainProductList {
padding-left: 2rem;
padding-right: 2rem;
@include desktopMax {
padding-left: 0;
padding-right: 0;
}
.mainContensTitle {
display: none;
@include tablet {
display: block;
}
h1,
p {
text-align: center;
}
h1 {
font-size: 4rem;
font-weight: 600;
@include desktopMin {
font-size: 6rem;
}
}
p {
font-size: 1.6rem;
font-weight: 400;
margin-top: 1.5rem;
}
}
.mainProductInner {
margin-top: 6rem;
max-width: 120rem;
@include desktopMin {
margin-top: 5rem;
}
ul {
display: grid;
grid-gap: 1rem;
grid-template-columns: repeat(1, 1fr);
@include mobile {
grid-template-columns: repeat(2, 1fr);
// grid-template-rows:repeat(3,1fr);
}
@include tablet {
grid-template-columns: repeat(2, 1fr);
// grid-template-rows:repeat(3,1fr);
}
li {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 0.6rem;
height: 50.4rem;
@include desktopMin {
height: 59.5rem;
}
&::after {
content: "";
@include tablet {
content: "";
display: block;
padding-bottom: 100%;
}
}
a {
position: relative;
width: 100%;
height: 100%;
min-height: 50.4rem;
@include desktopMin {
height: 59.5rem;
}
@include tablet {
position: absolute;
width: 100%;
height: 100%;
}
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background-image: url(/kr/assets/images/kia/producy.png);
background-repeat: no-repeat;
background-size: contain;
background-position: top left;
z-index: 1;
}
img {
position: absolute;
top: 0;
left: 0;
z-index: 0;
}
.productSmallVideo {
position: absolute;
top: 0;
left: 0;
z-index: 0;
width: 100%;
height: 100%;
}
video {
width: 100%;
height: 100%;
}
.contentInfo {
width: 100%;
height: 100%;
padding: 3rem;
position: relative;
z-index: 2;
@include tablet {
padding: 3rem;
}
@include desktopMin {
padding: 5rem;
}
.tag {
display: flex;
span {
border: 1px solid #fff;
padding: 0.6rem;
font-size: 1.1rem;
font-weight: 400;
color: #fff;
@include desktopMin {
font-size: 1.3rem;
}
}
span + span {
margin-left: 0.8rem;
}
}
.tag + h2 {
margin-top: 2rem;
}
h2 {
font-size: 3rem;
font-weight: 600;
color: #fff;
@include desktopMin {
font-size: 4rem;
}
}
.listOtionPrice {
margin-top: 3rem;
dl {
display: flex;
text-align: left;
dt,
dd {
color: #fff;
font-size: 1.4rem;
@include desktopMin {
font-size: 1.6rem;
}
}
dt {
font-weight: 400;
border-left: 1px solid rgba(255, 255, 255, 0.5);
margin-left: 0.8rem;
padding-left: 0.8rem;
}
dd {
font-weight: 600;
}
}
dl + dl {
margin-top: 1.2rem;
}
}
.descript {
display: none;
color: #fff;
font-weight: 400;
line-height: 2.2rem;
margin-top: 1.5rem;
font-size: 1.4rem;
@include desktopMin {
font-size: 1.6rem;
}
}
.listImgBtn {
display: none;
width: 16rem;
.oneButton {
div {
&::after,
&::before {
width: 4rem;
}
}
}
}
.descript + .listImgBtn {
margin-top: 4rem;
}
}
}
a {
&:hover {
&::before {
content: "";
animation: fadein 1s;
background-image: url(/kr/assets/images/kia/producy-on.png);
z-index: 1;
background-size: cover;
}
.descript,
.listImgBtn {
display: block;
animation: fadein 1s;
}
}
}
}
}
}
}
.mainSevice {
width: 100%;
display: flex;
flex-wrap: wrap;
max-width: 120rem;
margin: 0 auto;
justify-content: space-between;
padding-left: 2rem;
padding-right: 2rem;
margin-top: 5rem;
margin-bottom: 9rem;
@include tablet {
margin-top: 6rem;
margin-bottom: 9rem;
flex-wrap: nowrap;
}
@include desktopMin {
margin-top: 12rem;
margin-bottom: 15rem;
}
@include desktopMax {
padding-left: 0;
padding-right: 0;
}
.left {
display: flex;
align-items: center;
@include tablet {
width: 50%;
}
span {
color: #05141f;
font-size: 1.6rem;
}
h2 {
margin-top: 1rem;
font-size: 3rem;
font-weight: 400;
line-height: 4rem;
@include desktopMin {
font-size: 4rem;
line-height: 5rem;
}
}
}
.right {
display: flex;
flex-wrap: wrap;
margin-top: 2.5rem;
width: 100%;
@include tablet {
flex-wrap: nowrap;
width: 50%;
margin-top: 0;
}
a {
width: 100%;
height: 14rem;
padding: 3rem;
border-radius: 0.6rem;
border: 1px solid #dedede;
color: #000000;
@include tablet {
height: 17rem;
}
@include desktopMin {
width: 29rem;
}
&:hover {
border: 1px solid #05141f;
}
.faq,
.cs {
display: flex;
height: 100%;
flex-direction: column;
justify-content: space-between;
span {
position: relative;
display: block;
&::after {
content: "";
position: absolute;
right: 0;
display: inline-block;
width: 0.8rem;
height: 1.6rem;
background-size: contain;
background-repeat: no-repeat;
background-position: center right;
background-image: url(/kr/assets/images/common/icon-bgo.svg);
}
}
&::before {
content: "";
display: block;
width: 4.5rem;
height: 4.5rem;
background-size: contain;
background-repeat: no-repeat;
}
}
.faq {
&::before {
background-image: url(/kr/assets/images/common/icon-faq.svg);
}
}
.cs {
&::before {
background-image: url(/kr/assets/images/common/icon-bannercs.svg);
}
}
}
a + a {
margin-top: 1rem;
@include tablet {
margin-left: 1rem;
margin-top: 0;
}
}
}
}
.specNoti {
display: block;
padding: 1.2rem;
margin: -2rem 2rem 2rem;
font-size: 1.4rem;
line-height: 2.2rem;
background-color: #f1f1f1;
border-radius: 0.6rem;
@include tablet {
display: flex;
align-items: center;
height: 6.5rem;
max-width: 120rem;
padding: 0 2.4rem;
margin: -2rem 2rem 2rem;
}
@include desktopMin {
margin: 6rem auto -3rem;
}
.tag {
display: flex;
align-items: center;
justify-content: center;
padding: 0.6rem 0.8rem 0.5rem;
margin: 0 0.4rem 0 0.6rem;
border: 1px solid #9ea1a2;
font-size: 1.3rem;
font-weight: 400;
color: #9ea1a2;
line-height: 1;
@include maxtablet {
display: inline-flex;
margin-left: 0;
font-size: 1.1rem;
color: #ffffff;
border: 1px solid #ffffff;
}
&.available {
background-color: #5d7d2b;
color: #fff;
border: 0;
}
&.promotion {
background-color: #f3c300;
color: #000;
border: 0;
}
}
}