body{ padding-top: 4rem; } .Media-box{ padding: 3rem 4rem; h1{ font-family: Gilroy-Bold; font-size: 3.846rem; font-weight: normal; letter-spacing: 0rem; color: #313131; &::first-letter{ color: #f08200; } } h6{ font-family: Gilroy-Regular; font-size: 0.846rem; font-weight: normal; font-stretch: normal; line-height: 1.154rem; letter-spacing: 0rem; color: #313131; } } .product-swiper{ .swiper-slide{ background-color: #f4f4f6; border-radius: 1.269rem; overflow: hidden; position: relative; .img{ height: 16rem; display: flex; align-items: center; justify-content: center; img{ height: 8rem; max-width: 100%; object-fit: cover; object-position: center; } } .time{ background-color: #f08200; color: #ffffff; width: 2.269rem; height: 2.269rem; text-align: center; line-height: 2.269rem; background-color: #f08200; border-radius: 50%; position: absolute; top: 1rem; left: 1rem; font-family: Gilroy-Bold; font-size: 0.615rem; } .info{ padding: 1rem; padding-top: 0; h3{ padding: 1rem 0; font-family: Gilroy-Bold; font-size: 1.154rem; font-weight: normal; font-stretch: normal; line-height: 1.385rem; letter-spacing: 0rem; color: #313131; } p{ font-family: Gilroy-Regular; font-size: 0.692rem; font-weight: normal; font-stretch: normal; line-height: 0.923rem; letter-spacing: 0rem; color: #7d7d7d; padding-bottom: 6px; white-space: pre-line; } .iconfont{ display: inline-block; font-size: 1rem; color: #313131; transform: rotate(135deg); } } &:hover{ .info .iconfont{ color: #f08200; } } } } .swper-outer{ h1{ font-family: Gilroy-Bold; font-size: 2.308rem; padding: 1rem 4.5rem; } } .swper-box{ display: flex; align-items: center; .iconfont{ flex: unset; width: 2.231rem; height: 2.231rem; background-color: #f7f7f7; border: solid 0.077rem #b7b7b7; display: flex; align-items: center; justify-content: center; margin: 0 1rem; border-radius: 50%; &:hover{ color: #f08200; border-color: #f08200; } } .product-swiper{ flex: 1; } } .Product-detail{ padding: 0 2.5rem; padding-top: 3rem; display: flex; gap: 3rem; .info{ flex: 1; h1{ font-family: Gilroy-Bold; font-size: 1.846rem; font-weight: normal; font-stretch: normal; line-height: 1.615rem; letter-spacing: 0rem; color: #313131; } p{ font-family: Gilroy-Regular; font-size: 1.077rem; font-weight: normal; font-stretch: normal; line-height: 20px; letter-spacing: 0rem; white-space: pre-line; color: #313131; padding: 15px 0; } table{ border-top: 6px solid #f08200; width: 100%; th{ white-space: pre-line; padding: 1rem 0; font-family: Gilroy-Bold; font-size: 0.846rem; font-weight: normal; font-stretch: normal; line-height: 1.154rem; letter-spacing: 0rem; color: #f08200; text-align: center; } td{ padding: 1rem 1rem; font-family: Gilroy-Medium; font-size: 0.769rem; font-weight: normal; font-stretch: normal; line-height: 1rem; letter-spacing: 0rem; color: #313131; text-align: center; &:first-child{ font-family: Gilroy-Bold; } } } tbody tr{ border-bottom: 1px solid #b7b7b75c; } tbody tr:nth-child(odd){ background-color: #7d7d7d13; } tbody tr:first-child{ border-top: 1px solid #b7b7b75c; } } .img{ width: 40%; background-color: #f4f4f6; border-radius: 1.538rem; display: flex; align-items: center; justify-content: center; position: relative; img{ max-width: 100%; } span{ position: absolute; top: 1rem; left: 1rem; display: block; width: 3.077rem; height: 3.077rem; background-color: #f08200; border-radius: 50%; text-align: center; line-height:3.077rem; font-family: Gilroy-Bold; font-size: 0.844rem; font-weight: normal; font-stretch: normal; letter-spacing: 0rem; color: #ffffff; } } } @media (max-width: 1024px) { .Product-detail{ padding: 1rem 0; flex-direction: column-reverse; .img{ width: 100%; img{ width: 80%; margin: 3rem auto; } } } .swper-box{ padding: 0 1rem; } .swper-box .iconfont{ display: none; } .swper-outer h1{ padding: 1rem; } } @media (max-width: 640px) { body{ padding-top: 2rem; } .Media-box{ padding: 1rem; } section{ padding: 1rem 0; } .Medias{ gap: 2rem; grid-template-columns: repeat(1, 1fr); } .Product-detail .info{ width: 100%; } .Product-detail .info table{ overflow-x: auto; } .path h3{ display: none; } .table-box{ overflow-x: auto; } .swper-outer{ padding-top: 0; } }