@font-face { font-family: 'AudiType'; src: url('/fonts/AudiTypeVF.woff2') format('woff2-variations'); font-display: swap; font-style: normal; font-stretch: 130%; } // Utility classes for padding and margin (1-100) @for $i from 0 through 200 { // Padding .pt--#{$i} { padding-top: #{$i}px !important; } .pr--#{$i} { padding-right: #{$i}px !important; } .pb--#{$i} { padding-bottom: #{$i}px !important; } .pl--#{$i} { padding-left: #{$i}px !important; } .p--#{$i} { padding: #{$i}px !important; } // Margin .mt--#{$i} { margin-top: #{$i}px !important; } .mr--#{$i} { margin-right: #{$i}px !important; } .mb--#{$i} { margin-bottom: #{$i}px !important; } .ml--#{$i} { margin-left: #{$i}px !important; } .m--#{$i} { margin: #{$i}px !important; } } body{ background-color: hsla(216, 23%, 8%, 1); color: rgb(252, 252, 253); font-family: 'AudiType'; font-weight: 400; &:has(.mobile--menu.active){ overflow: hidden; } } .ellipsis1 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } .ellipsis2 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .ellipsis3 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } *{ background-repeat: no-repeat; } .ico, ::after, ::before{ display: inline-block; background-repeat: no-repeat; background-position: center; } button{ cursor: pointer; } // Header Styles header{ position: relative; z-index: 1000; .header--wrap{ display: flex; align-items: center; justify-content: space-between; padding: 20px 40px; position: relative; z-index: 1002; .header--logo--wrap{ transition: opacity 0.3s; } } // 햄버거 버튼 (기본 숨김) .header--hamburger{ display: none; flex-direction: column; justify-content: center; align-items: center; background: none; border: none; width: 18px; height: 18px; cursor: pointer; z-index: 1000; position: relative; span{ position: absolute; width: 18px; height: 2px; background-color: rgb(252, 252, 253); transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); &:nth-child(1){ top: 12px; } &:nth-child(2){ top: 50%; transform: translateY(-50%); } &:nth-child(3){ bottom: 12px; } } &::after{ content: 'Menu'; position: absolute; color: #fcfcfd; font-size: 14px; left: calc(100% + 12px); } // 메뉴 열렸을 때 X 모양으로 변환 &.active{ span{ &:nth-child(1){ top: 50%; transform: translateY(-50%) rotate(45deg); } &:nth-child(2){ opacity: 0; transform: translateY(-50%) scale(0); } &:nth-child(3){ bottom: 50%; transform: translateY(50%) rotate(-45deg); } } } } .header--menu--wrap{ display: flex; gap: 32px; >a{ cursor: pointer; font-size: 16px; color: rgb(252, 252, 253); transition: opacity 0.3s ease; &:hover{ opacity: 0.7; } } } // Dim Layer .header--dim{ position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: hsla(216, 26%, 1%, 1); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 999; &.active{ opacity: 0.65; visibility: visible; } } // Submenu Navigation .header--submenu{ position: absolute; top: 0; left: 0; width: 100%; max-height: 1000px; background-color: #020203; transform: translateY(-100%); transition: transform 0.3s ease; z-index: 1001; padding-top: 80px; &.active{ transform: translateY(0); } .submenu--content{ max-width: 1920px; margin: 0 auto; padding: 40px 96px 40px 205px; } .submenu--list{ display: flex; flex-wrap: wrap; row-gap: 24px; >a{ font-size: 14px; color: #fcfcfdb2; transition: opacity 0.3s ease; width: 34%; &:hover{ opacity: 0.7; } } } } // 모바일 메뉴 .mobile--menu{ position: fixed; top: 0px; left: 0; width: 100%; height: calc(100vh - 72px); background-color: #020203; transform: translateY(-100%); transition: transform 0.4s ease; z-index: 999; overflow: hidden; display: none; &.active{ transform: translateY(0); top: 72px; } .mobile--menu--header{ display: flex; align-items: center; cursor: pointer; margin: 0 20px; padding: 28px 0 16px; border-bottom: 1px solid rgb(204, 204, 204); .back--btn{ cursor: pointer; width: 24px; height: 24px; background-image: url(/img/ico--arrow.svg); transform: rotate(180deg); &~span{ margin-left: 12px; font-size: 14px; color: #fcfcfdb2; } } } .mobile--menu--main{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #020203; transition: transform 0.4s ease; &.hidden{ transform: translateX(-100%); } .mobile--menu--list{ display: flex; flex-direction: column; padding: 28px 20px; gap: 24px; >a{ font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; color: #fcfcfdb2; transition: all 0.3s ease; &:hover{ color: rgb(252, 252, 253); } .ico{ width: 24px; height: 24px; background-image: url(/img/ico--arrow.svg); } } } } .mobile--menu--sub{ position: absolute; top: 0; right: 0; width: 100%; height: 100%; background-color: #020203; transform: translateX(100%); transition: transform 0.4s ease; &.active{ transform: translateX(0); } .mobile--submenu--list{ display: flex; flex-direction: column; padding: 28px 20px; gap: 24px; >a{ font-size: 14px; color: #fcfcfdb2; transition: all 0.3s ease; &:hover{ color: #fcfcfd; } } } } } } main{ .main--container{ max-width: 1920px; margin: 0 auto; .main--visual{ width: 100%; height: calc(-72px + 100vh); position: relative; &::after{ background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 51.5%); position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; content: ''; display: inline-block; } >div{ width: 100%; height: 100%; >img{ width: 100%; height: 100%; object-fit: cover; } >video{ width: 100%; height: 100%; object-fit: cover; } &.text--wrap{ position: absolute; z-index: 1; top: 0; height: fit-content; left: 0; padding: 40px 0 0 96px; h2{ font-size: 44px; line-height: 64px; } p{ margin-top: 8px; font-size: 20px; line-height: 32px; } .button--wrap{ margin-top: 24px; display: flex; gap: 8px; } } } } .img--desc--section{ display: flex; padding: 64px 96px; &.reverse{ flex-direction: row-reverse; .desc--wrap{ padding-right: 72px; } } .img--wrap{ width: 50%; border-radius: 20px; overflow: hidden; img{ width: 100%; height: 100%; object-fit: cover; } } .desc--wrap{ width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 0 72px; h3{ font-size: 36px; margin-bottom: 8px; } h4{ font-size: 24px; } p{ font-size: 16px; color: rgba(252, 252, 253, 0.7); &.desc{ font-size: 12px; } } } .btn--wrap{ display: flex; gap: 8px; } } } .visual--section{ position: relative; margin: 0 auto; max-width: 1920px; width: 100%; &::after{ content: ''; width: 100%; position: absolute; height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%); top: 0; left: 0; } &.h--800{ .img--wrap{ height: 800px; } } &.h--430{ .img--wrap{ height: 430px; img{ object-position: 70% top; } } } .img--wrap{ overflow: hidden; height: 100vh; img{ width: 100%; max-width: 100%; height: 100%; object-fit: cover; } } .title--wrap{ position: absolute; z-index: 3; top: 0; left: 0; color: rgb(2, 2, 3); padding: 40px 96px; >h2{ font-size: 44px; margin-bottom: 8px; } >p{ font-size: 20px; } .greeting--txt{ margin-top: 30px; line-height: 1.7; font-size: 14px; height: 190px; } &.color--white{ color: #fcfcfd; } } .desc--wrap{ .desc{ font-size: 12px; color: rgba(252, 252, 253, 0.7); padding: 24px 96px; } } } // audi stories .detail--container{ max-width: 1920px; width: 100%; margin: 0 auto; .title--wrap{ padding: 40px; text-align: center; h2{ font-size: 72px; margin-bottom: 24px; } p{ color: rgba(252, 252, 253, 0.7); font-size: 16px; } } .content--wrap{ padding: 40px 88px; .tech--card--wrap{ display: flex; row-gap: 72px; column-gap: 16px; flex-wrap: wrap; .tech--card{ width: calc((100% - 48px) / 4); display: flex; flex-direction: column; .img--wrap{ margin-bottom: 24px; border-radius: 20px; overflow: hidden; >img{ width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } } >h3{ font-size: 24px; margin-bottom: 8px; } >p{ margin-bottom: 24px; color: rgba(252, 252, 253, 0.7); font-size: 16px; font-stretch: 105%; &.type2{ margin-top: 40px; color: rgba(252, 252, 253, 0.7); font-size: 14px; } } >a{ display: flex; font-size: 16px; text-underline-offset: 7px; text-decoration: underline 1px rgb(252, 252, 253); align-items: center; .ico{ width: 24px; height: 24px; background-image: url(/img/ico--arrow.svg); } } } } // 이벤트 게시판 .event--wrap{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 16px; margin-bottom: 80px; .event--card{ display: flex; flex-direction: column; .img--wrap{ margin-bottom: 24px; border-radius: 20px; overflow: hidden; img{ width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } } h3{ font-size: 24px; margin-bottom: 24px; } a{ display: flex; font-size: 16px; text-underline-offset: 7px; text-decoration: underline 1px rgb(252, 252, 253); align-items: center; color: rgb(252, 252, 253); .ico{ width: 24px; height: 24px; background-image: url(/img/ico--arrow.svg); } } } } // 뉴스 게시판 .news--wrap{ margin-bottom: 80px; .news--table{ width: 100%; table-layout: fixed; thead{ tr{ border-top: 2px solid #fff; border-bottom: 1px solid rgba(252, 252, 253, 0.7); th{ padding: 20px 0; text-align: center; } } } tbody{ tr{ td{ text-align: center; padding: 20px 0; font-size: 16px; white-space: nowrap; } cursor: pointer; transition: all 0.3s; &:hover{ background-color: rgba(252, 252, 253, 0.3); } &:last-child{ border-bottom: 1px solid rgba(252, 252, 253, 0.7); } } } } } .view--wrap{ .title--wrap{ >h2{ font-size: 48px; } border-top: 1px solid rgba(252,252,253,0.7); border-bottom: 1px solid rgba(252,252,253,0.7); } .cont--wrap{ padding: 70px 0; margin-bottom: 200px; border-bottom: 1px solid rgba(252,252,253,0.7); } } .ls--card--wrap{ .ls--card{ display: flex; gap: 72px; align-items: center; .ls--img--wrap{ width: 50%; overflow: hidden; border-radius: 20px; } .ls--txt--wrap{ width: 50%; >h2{ font-size: 36px; margin-bottom: 8px; } >h3{ font-size: 24px; margin-bottom: 8px; } >p{ font-size: 16px; color: rgba(252, 252, 253, 0.7); margin-bottom: 24px; &.desc{ margin-top: 40px; font-size: 14px; margin-bottom: 0; } } } } } .sales--advisor--wrap{ padding: 60px 0; .sales--team--wrap{ h3{ font-size: 20px; font-weight: 600; margin-bottom: 30px; margin-top: 60px; } &:first-child{ h3{ margin-top: 0; } } .advisor--list{ >ul{ display: flex; flex-wrap: wrap; >li{ width: 25%; display: flex; flex-direction: column; align-items: center; position: relative; padding: 25px; border: 1px solid #555; background-color: rgba(219, 223, 230, 0.05); margin-left: -1px; margin-top: -1px; &.flag{ &::after{ content: ''; top: -10px; left: 0; display: inline-block; position: absolute; width: 53px; background-image: url(/img/company/img--flag.jpg); height: 54px; } } .advisor--img{ width: 172px; height: 210px; img{ width: 100%; height: 100%; object-fit: cover; } } .advisor--info{ text-align: center; margin-top: 30px; font-size: 16px; font-weight: 400; margin-bottom: 10px; } .btn--wrap{ display: flex; gap: 6px; >a{ --gradient-start: hsla(216, 20%, 17%, 1); --gradient-end: hsla(216, 21%, 12%, 1); transition-timing-function: cubic-bezier(0.75, 0.02, 0.5, 1); transition-duration: 250ms; transition-property: --gradient-start, --gradient-end, box-shadow; padding: 12px 16px; font-size: 15px; overflow: hidden; border-radius: 20px; border: none; cursor: pointer; box-shadow: rgb(44, 52, 63) 0px 0px 0px 1px inset; backdrop-filter: blur(40px); background: linear-gradient(180deg, var(--gradient-start) 0%, var(--gradient-end) 100%); display: flex; text-decoration: none; &:hover{ --gradient-start: hsla(216, 18%, 21%, 1); --gradient-end: hsla(216, 18%, 21%, 1); box-shadow: rgb(42,57,64) 0px 0px 0px 1px inset; } } } } } } } } } .img--section{ .img--wrap{ overflow: hidden; border-radius: 20px; img{ width: 100%; display: block; } video{ width: 100%; height: 100%; display: block; object-fit: cover; } } &.none--bdrs{ .img--wrap{ border-radius: 0; } } &.type2{ display: flex; gap: 16px; .img--box{ width: 50%; } } &.type3{ display: flex; gap: 16px; .img--box{ &:first-child{ width: 35%; } &:last-child{ width: 70%; } } } .desc--wrap{ margin-top: 24px; font-size: 16px; color: #fcfcfdb2; .desc{ font-size: 12px; } } } .title--section{ text-align: center; padding: 64px 96px; &.mid--type{ max-width: 1440px; margin: 0 auto; } >h2{ margin-bottom: 24px; font-size: 44px; &.big--title{ font-size: 72px; } } >h3{ font-size: 24px; margin-bottom: 24px; &.big--title{ font-size: 36px; } } >p{ color: rgba(252, 252, 253, 0.7); font-size: 16px; &.desc{ color: rgba(252, 252, 253, 0.7); font-size: 14px; } } } .desc--section{ padding: 64px 96px; margin: 0 auto; max-width: 950px; >h2{ font-size: 72px; } >h3{ &.big--title{ font-size: 44px; } font-size: 36px; margin-bottom: 40px; } >h4{ font-size: 24px; } >p{ margin: 0 auto; color: rgba(252, 252, 253, 0.7); font-size: 16px; } &.mid--type{ max-width: 1440px; } &.full--type{ width: 100%; max-width: 100%; >h3{ margin-bottom: 16px; } >ul{ display: flex; flex-direction: column; gap: 24px; >li{ font-size: 24px; } } } .ceo--box{ display: flex; margin-top: 24px; gap: 40px; p{ color: rgba(252, 252, 253, 0.7); font-size: 16px; width: 60%; } .ceo--img--wrap{ width: 40%; display: flex; justify-content: flex-end; align-items: flex-end; .ceo--name{ text-align: right; margin-right: 20px; padding-bottom: 55px; strong{ font-size: 30px; } } .img--wrap{ min-width: 243px; } } } } .img--desc--section{ display: flex; padding: 64px 0; &.mid--type{ margin: 0 auto; max-width: 1248px; .desc--wrap{ padding-right: 0; } } &.reverse{ flex-direction: row-reverse; .desc--wrap{ padding-right: 72px; } } .img--wrap{ width: 50%; border-radius: 20px; overflow: hidden; img{ width: 100%; height: 100%; object-fit: cover; } &.type2{ } } .desc--wrap{ width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 0 72px; h3{ font-size: 36px; margin-bottom: 8px; } h4{ font-size: 24px; } p{ font-size: 16px; color: rgba(252, 252, 253, 0.7); &.desc{ font-size: 12px; } } } &.type2{ .inner--box{ width: 50%; .img--wrap{ width: 100%; } .desc{ margin-top: 12px; color: rgba(252, 252, 253, 0.7); font-size: 14px; } } } } .more--section{ margin-top: 100px; >h2{ font-size: 44px; margin-bottom: 40px; } .tech--card--wrap{ display: flex; column-gap: 16px; .tech--card{ width: calc((100% - 48px) / 4); display: flex; flex-direction: column; .img--wrap{ margin-bottom: 24px; border-radius: 20px; overflow: hidden; >img{ width: 100%; aspect-ratio: 16 / 9; object-fit: cover; } } >h3{ font-size: 24px; margin-bottom: 8px; } >p{ margin-bottom: 24px; color: rgba(252, 252, 253, 0.7); font-size: 16px; font-stretch: 105%; &.type2{ margin-top: 40px; color: rgba(252, 252, 253, 0.7); font-size: 14px; } } >a{ display: flex; font-size: 16px; text-underline-offset: 7px; text-decoration: underline 1px rgb(252, 252, 253); align-items: center; .ico{ width: 24px; height: 24px; background-image: url(/img/ico--arrow.svg); } } } } &.type2{ .tech--card--wrap{ flex-wrap: wrap; row-gap: 40px; .tech--card{ width: calc(50% - 8px); } } } &.type3{ .tech--card--wrap{ flex-wrap: wrap; row-gap: 40px; .tech--card{ width: calc((100% - 32px) / 3); } } } } .caution--section{ padding: 40px 0; ul{ display: flex; flex-direction: column; gap: 12px; counter-reset: item; li{ padding-left: 34px; color: rgba(252, 252, 253, 0.7); font-size: 16px; position: relative; &::before{ content: counter(item) ". "; counter-increment: item; position: absolute; left: 16px; } } } } } } footer{ position: relative; .footer--wrap{ position: relative; .scroll--to--top{ position: absolute; top: 24px; right: 96px; display: flex; font-size: 14px; color: #fcfcfd; gap: 12px; .ico{ width: 24px; height: 24px; transform: rotate(270deg); background-image: url(/img/ico--arrow.svg); } } .footer--site--map{ >ul{ >li{ >ul{ >li{ >a{ font-size: 14px; } } } } } } } .footer--info--wrap{ .sns--wrap{ display: flex; justify-content: flex-end; margin-bottom: 12px; gap: 8px; >a{ width: 48px; height: 48px; display: inline-block; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition-timing-function: cubic-bezier(0.75, 0.02, 0.5, 1); transition-duration: 250ms; transition-property: color, box-shadow, border-color, background; cursor: pointer; box-sizing: border-box; width: 48px; height: 48px; background: rgb(24, 29, 37); color: rgb(252, 252, 253); border: 1px solid rgb(44, 52, 63); background-repeat: no-repeat; background-position: center; &.fb{ background-image: url(/img/ico--fb.svg); } &.ins{ background-image: url(/img/ico--ins.svg); } } } .copy--wrap{ border-top: 2px solid rgba(252,252,253,0.2); font-size: 14px; color: #fcfcfdb2; padding-bottom: 80px; .link--list{ display: flex; flex-wrap: wrap; margin-top: 16px; gap: 24px; >li{ >a{ font-size: 14px; display: inline-block; color: rgb(252, 252, 253); transition: all 0.3s; &:hover{ opacity: 0.7; } } } } >p{ margin-top: 24px; } } } @media (max-width: 768px) { .footer--wrap{ .footer--site--map{ >ul{ >li{ >h2{ cursor: pointer; user-select: none; position: relative; padding-right: 20px; &::after{ content: ''; position: absolute; right: 20px; font-size: 12px; background-image: url(/img/ico--arrow.svg); width: 24px; height: 24px; transform: rotate(90deg); transition: transform 0.3s ease; } } >ul{ max-height: 0; overflow: hidden; transition: max-height 0.3s ease; &.active{ max-height: 1000px; } } } } } } } } .more--btn{ display: flex; font-size: 16px; text-underline-offset: 7px; text-decoration: underline 1px rgb(252, 252, 253); align-items: center; .ico{ width: 24px; height: 24px; margin-left: 8px; background-image: url(/img/ico--link.svg); } } .btn--black{ transition: all 0.3s; width: fit-content; font-size: 14px; display: inline-block; font-weight: 400; padding: 12px 24px; border-radius: 100px; background-color: rgb(24, 29, 37); color: rgb(252, 252, 253); box-shadow: rgb(44, 52, 63) 0px 0px 0px 1px inset; &:hover{ background-color: rgb(44, 52, 63); color: rgb(252, 252, 253); box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset; } } .btn--gray{ transition: all 0.3s; width: fit-content; font-size: 14px; display: inline-block; font-weight: 400; padding: 12px 24px; color: rgb(252, 252, 253); border-radius: 100px; background-color: #657081; &:hover{ background-color: rgb(44, 52, 63); box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset; } &.big--btn{ font-size: 16px; padding: 16px 32px; width: 248px; } } .btn--border--gray{ transition: all 0.3s; width: fit-content; font-size: 14px; display: inline-block; font-weight: 400; padding: 12px 24px; color: rgb(252, 252, 253); border-radius: 100px; background-color: #181d25; box-shadow: rgb(44, 52, 63) 0px 0px 0px 1px inset; &:hover{ background-color: rgb(44, 52, 63); box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset; } &.big--btn{ padding: 16px 32px; font-size: 16px; } } // 페이지네이션 .pagination--wrap{ display: flex; justify-content: center; align-items: center; gap: 16px; padding: 40px 0; .pagination--btn{ width: 48px; height: 48px; border-radius: 50%; background-color: transparent; border: 1px solid rgba(252, 252, 253, 0.3); display: flex; align-items: center; justify-content: center; transition: all 0.3s; svg{ fill: rgba(252, 252, 253, 0.7); } &:hover:not(:disabled){ background-color: rgba(252, 252, 253, 0.1); border-color: rgba(252, 252, 253, 0.5); } &:disabled{ opacity: 0.3; cursor: not-allowed; } } .pagination--numbers{ display: flex; gap: 8px; .pagination--number{ min-width: 48px; height: 48px; border-radius: 50%; background-color: transparent; border: none; color: rgba(252, 252, 253, 0.7); font-size: 16px; transition: all 0.3s; &:hover{ background-color: rgba(252, 252, 253, 0.1); color: rgba(252, 252, 253, 1); } &.active{ background-color: rgba(252, 252, 253, 1); color: rgb(2, 2, 3); } } } } .dealer--popup--overlay{ &.type2{ .dealer--popup--content{ padding: 0; .dealer--thumb--wrap{ .swiper{ height: 100%; } img{ width: 100%; max-width: 100%; max-height: 100%; height: 100%; object-fit: cover; } .swiper-button-next{ width: 40px; height: 40px; background-image: url(/img/ico--arrow.svg); background-size: 100%; background-color: rgba(0, 0, 0, 0.6); right: 0; svg{ display: none; } } .swiper-button-prev{ background-image: url(/img/ico--arrow.svg); background-size: 100%; background-color: rgba(0, 0, 0, 0.6); left: 0; width: 40px; height: 40px; transform: rotate(180deg); svg{ display: none; } } } .dealer--infos--wrap{ padding-right: 0; .info--label{ &.desc--type{ max-height: 200px; overflow-y: auto; } } } } } } // 퀵메뉴 .quick__menu__wrap{ position:fixed; top:50%; transform: translateY(-50%); right:0px; z-index: 998; } .quick__menu__wrap > a .thumb{ display: block; width:50px; height:50px; } .quick__menu__wrap > a{ position: relative; } .quick__menu__wrap.actv > a:hover > div{ background-color:#b2b2b2!important; cursor: pointer; } .quick__menu__wrap.actv > a > div:nth-of-type(2){ left:-180px; background-color: #000; color:#fff; } .quick__menu__wrap > a > div:nth-of-type(1){ position: relative; z-index: 2; } .quick__menu__wrap > a > div:nth-of-type(2){ position: absolute; top:0; white-space: nowrap; left:10px; font-size:14px; transition: all .2s ease-in; display: flex; align-items: center; justify-content: flex-start; width:250px; height:50px; z-index: 1; padding-left:15px; cursor: pointer; } .quick__menu__wrap .th_01{ background:url(/img/quick_01.png) no-repeat center; } .quick__menu__wrap .th_02{ background:url(/img/quick_02.png) no-repeat center; } .quick__menu__wrap .th_03{ background:url(/img/quick_03.png) no-repeat center; } .quick__menu__wrap .th_04{ background:url(/img/quick_04.png) no-repeat center; } .quick__menu__wrap .th_05{ background:url(/img/quick_05.png) no-repeat center; } .quick__menu__wrap .th_06{ background:url(/img/quick_06.png) no-repeat center; } .quick__menu__wrap .th_07{ background:url(/img/quick_07.png) no-repeat center; } .quick__menu__wrap .th_08{ background:url(/img/quick_08.png) no-repeat center; } .quick__menu__wrap .th_09{ background:url(/img/quick_09.png) no-repeat center; } .quick__menu__wrap .th_10{ background:url(/img/quick_10.png) no-repeat center; } .quick__menu__wrap .th_11{ background:url(/img/quick_11.png) no-repeat center; } @media(max-width:768px){ .quick__menu__wrap{ left:0px; top:auto; transform: translateY(0); bottom:0px; width:100%; max-width:100%; display: flex; justify-content: center; align-items: center; background: #000; &.actv{ >a{ &:hover{ >div{ background-color: transparent!important; } } } } >a{ width: calc(100% / 9); align-items: center; display: flex; gap: 4px; padding: 8px 0; flex-direction: column; text-decoration: underline; .thumb{ width: 26px; height: 26px; } >div{ &:nth-of-type(2){ position: static; text-align: center; height: auto; padding: 0; font-size: 11px; width: 100%; justify-content: center; white-space: nowrap; overflow: hidden; display: inline-block; text-overflow: ellipsis; } } } } .quick__menu__wrap > div{ } .quick__menu__wrap > div > div:nth-of-type(2){ display: none!important; } .company__wrap .contents--wrap{ padding-left:15px; padding-right:15px; box-sizing: border-box; } } @media (max-width: 500px){ .quick__menu__wrap{ overflow-x: auto; box-sizing: border-box; padding:0 10px!important; justify-content: flex-start!important; >a{ min-width: 60px; } } }