// 資料庫 @import './partials/variable'; @import './partials/mixin'; .banner { position: relative; isolation: isolate; z-index: 2; .swiper { margin-bottom: 20px; } .swiper-wrapper { align-items: stretch; .swiper-slide { height: unset; &::before { content: ''; position: absolute; inset: 0; background: #000; opacity: 0.5; @include transition(all, 0.3); } &.swiper-slide-active { &::before { opacity: 0; } } } } &[data-swiper-auto-play='true'] { .swiper-pagination { .swiper-pagination-bullet-active { .circlePagination { svg { display: block; circle { animation: 4s linear forwards circle; } } } } } } .swiper-pagination { width: auto; display: flex; position: relative; bottom: auto; gap: 5px; .swiper-pagination-bullet { width: 26px; height: 26px; position: relative; margin: 0; background: none; &.swiper-pagination-bullet-active { .circlePagination { &::before { background: #000; } } } .circlePagination { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform: rotate(-90deg); &::before { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background-color: #9d9d8f; border-radius: 50%; transform: translate(-50%, -50%); } svg { left: 50%; top: 50%; position: absolute; transform: translate(-50%, -50%); display: none; } circle { fill: transparent; stroke: #9d9d8f; stroke-width: 1.5; @keyframes circle { 0% { stroke-dasharray: 0, 69; } 100% { stroke-dasharray: 69, 69; } } } } } } .controlBox { display: flex; justify-content: flex-end; gap: 30px; padding: 0 20px; max-width: 1920px; margin: 0 auto; } .controlBtn { width: 26px; height: 26px; border: none; background: url('../images/icon/icon_stop.svg') center no-repeat; &.active { background: url('../images/icon/icon_play.svg') center no-repeat; } } } .moreBox { max-width: 1150px; margin: 0 auto; @include screenMax('1330') { max-width: 1062px; } a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 16px; color: #000; &:hover { .icon { background: #5d5d5d; } } .icon { width: 40px; height: 40px; background: #000; border-width: 1px; border-style: solid; border-image: initial; border-radius: 50%; display: flex; align-items: center; justify-content: center; &::before { content: ''; width: 15px; height: 15px; mask: url('../images/icon/icon_arrow.svg') center no-repeat; background: #fff; } } } } section { padding: 50px 0; @include screen('mobile') { padding: 30px 0; } .blockTitle { color: #222222; font-weight: 400; line-height: 1; font-size: var(--clamp38); text-align: center; letter-spacing: 2px; margin-bottom: 60px; @include screen('tablet') { margin-bottom: 30px; } @include screen('mobile') { margin-bottom: 20px; } span { color: #000; font-weight: 400; } } .contentBox { max-width: 1150px; margin: 0 auto; @include screenMax('1330') { max-width: 1062px; } } } .productBox { position: relative; .waveBg { position: absolute; width: 100%; height: 550px; overflow: hidden; bottom: 0; .wave { position: absolute; top: 130px; width: 6400px; height: 560px; animation: waveUse 35s cubic-bezier(.36, .45, .63, .53) infinite, waveUse2 30s ease infinite; background: url('../images/index/wave.svg'); &:nth-of-type(2) { top: 116px; opacity: .5; animation: waveUse 29s cubic-bezier(.36, .45, .63, .53) -1s infinite, waveUse2 29s ease infinite; } &:nth-of-type(3) { top: 0; opacity: .3; animation: waveUse 30s cubic-bezier(.36, .45, .63, .53) -2s infinite; } } @keyframes waveUse { 0% { margin-left: 0; } 100% { margin-left: -1600px; } } @keyframes waveUse2 { 0%, 100% { transform: translate3d(0, -20px, 0); } 50% { transform: translateZ(0); } } } .listBox { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; @include screen('tablet') { flex-direction: column; } .box { @include itemWidth(20, 2); @include screen('tablet') { width: 100%; } } .card { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 24px; position: relative; max-width: 400px; margin: 0 auto; padding: 40px 20px 20px; .tag { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; justify-content: center; padding: 5px 10px; font-size: Rem(14); font-weight: 700; line-height: 1; color: #2680ff; letter-spacing: 1px; border: 1px solid #2680ff; border-radius: 50px; @include screenMax('1200') { font-size: Rem(13); } } .pic { max-width: 315px; position: relative; } .infoBox { width: 100%; display: flex; flex-direction: column; align-items: center; } .title { height: 32px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; img { object-fit: contain; } } p { margin: 16px 0 0; } img { height: 100%; } } .btnBox { width: 100%; margin: 30px auto 0; display: flex; gap: 20px; a { border-radius: 50px; display: flex; align-items: center; justify-content: center; flex-grow: 1; padding: 8px 15px 6px; font-size: 13px; white-space: nowrap; &:nth-of-type(1) { border: 1px solid #000; background: #fff; } &:nth-of-type(2) { background: #000; color: #fff; } } } .cardBox { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; .card { @include itemWidth(10, 2); border-radius: 16px; background: #fff; box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1); @include screenMax('1330') { gap: 10px; } &:nth-of-type(1) { width: 100%; max-width: none; display: flex; gap: 10px; flex-direction: row; .pic { width: 42%; @include screen('xsMobile') { width: 45%; } } .infoBox { width: 58%; padding: 30px 0; align-items: flex-start; @include screen('xsMobile') { width: 55%; } } } &:not(:nth-of-type(1)) { .title { height: 16px; } .pic { max-width: 144px; padding: 0 10px; } } .btnBox { gap: 5px; @include screenMax('1200') { flex-direction: column; margin-top: 15px; a { padding: 4px 15px 2px; } } } } } } } .newsBox { background: linear-gradient(0deg, #fff 33.91%, #ececec); .listBox { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; .item { @include itemWidth(15, 3); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.1); @include screen('xsMobile') { @include itemWidth(15, 1); } } .tag { display: block; width: 60px; height: 30px; background: #b42222; color: white; font-size: 16px; line-height: 30px; text-align: center; position: absolute; top: 0; left: 0; transform: translateY(-50%); } .infoBox { padding: 30px 20px 30px; display: flex; flex-direction: column; gap: 10px; position: relative; } .title { font-size: 20px; line-height: 24px; height: 48px; color: black; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } p { font-size: 16px; line-height: 22px; height: 44px; color: black; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; } } } .informationBox { // background: #f5f5f5; display: flex; flex-direction: column; .list { border-bottom: 1px solid rgba(78, 132, 196, .3); @include transition(all, 0.3); &:first-child { border-top: 1px solid rgba(78, 132, 196, .3); } &:hover { background: rgba(78, 132, 196, 1); .title { color: #fff; } a { color: #fff; } } } .contentBox { padding: 30px 0 20px; display: flex; align-items: center; gap: 40px; @include screenMax('550') { flex-direction: column; gap: 10px; } } .title { min-width: 360px; display: flex; align-items: center; gap: 40px; font-size: var(--clamp38); font-weight: 400; line-height: 1.5; letter-spacing: .15rem; @include screen('tablet') { min-width: 300px; gap: 20px; } @include screen('mobile') { min-width: auto; width: fit-content; } .pic { max-width: 110px; line-height: 0; @include screen('tablet') { max-width: 80px; } @include screen('mobile') { max-width: 50px; } } p { margin: 0; font-size: var(--clamp30); } } .listBox { flex-grow: 1; ul { display: flex; flex-wrap: wrap; gap: 20px; li { display: flex; flex-wrap: wrap; a { font-size: var(--clamp17); &:hover { text-shadow: 2px 2px 5px rgba(#000, 0.6); } } } } } } body > [id^='LB'] { display: none; }