@import 'global.scss'; .banner{ img{ width: 100%; } } .intro{ padding: 40px 0 60px; @media(min-width:768px){ padding: 50px 0 80px; } @media(min-width:1200px){ padding: 80px 0 120px; } h2{ text-align: center; color: #111; margin-bottom: 20px; font-size: 24px; @media(min-width:768px){ margin-bottom: 30px; font-size: 32px; } @media(min-width:1200px){ margin-bottom: 50px; font-size: 44px; } } p{ color: #111; line-height: 2; font-size: 16px; } } .vision{ height: 300px; @media(min-width:768px){ height: 400px; } @media(min-width:1200px){ height: 580px; } background:url("/assets/image/banner-about-2.jpg") no-repeat center; background-size: cover; color: #fff; position: relative; span{ font-size: 16px; color: $color; } h2{ margin: 20px 0; font-size: 30px; @media(min-width:768px){ margin: 35px 0; font-size: 40px; } @media(min-width:1200px){ margin: 50px 0; font-size: 56px; } } p{ line-height: 2; font-size: 14px; @media(min-width:768px){ font-size: 18px; } } .txt{ width: 100%; display: inline-block; vertical-align: middle; position: relative; z-index: 2; @media(min-width:768px){ width: 80%; } @media(min-width:1200px){ width: 50% } } &:after{ content:""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right,rgba(0,0,0,.8), rgba(0,0,0,.1)) } .container{ height: 100%; font-size: 0; } & .container:after{ content: ""; display: inline-block; vertical-align: middle; height: 100%; } } .entrance{ padding: 40px 0; @media(min-width:768px){ padding: 80px 0; } @media(min-width:1200px){ padding: 120px 0; } .row>div{ margin-bottom: 20px; @media(min-width:768px){ margin-bottom: 0; } } a{ display: block; position: relative; overflow: hidden; transition: all .5s ease; &.no-link{ pointer-events: none; .txt{ span{ background: #999; } } } &:hover{ transform: translateY(-10px); box-shadow: 0px 8px 40px 0px rgba(0, 0, 0, 0.2); .txt{ i{ margin-left: 10px; } } } } .img{ img{ height: px2vw(200); @media(min-width:768px){ height: auto; } width: 100%; transition: all .5s ease; } } .txt{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; background:rgba(0,0,0,.45); padding: 20px; color: #fff; @media(min-width:768px){ padding: 30px; } span{ display: inline-block; padding:4px 10px; text-align: center; background:$color; margin: 0px 0 20px 0; @media(min-width:768px){ padding:6px 12px; margin: 5px 0 35px 0; } } h2{ font-size: 20px; transition: all .5s ease; @media(min-width:768px){ font-size: 28px; } @media(min-width:1200px){ font-size: 36px; } } i{ display: inline-block; width: 14px; height: 20px; background: url("/assets/image/arrow-right-on.png") no-repeat center; background-size: 100%; position: absolute; bottom: 30px; left: 30px; transition: all .5s ease; } } } .org{ padding: 70px 0; background: #ed4747; text-align: center; } .shareholder{ margin-bottom: 60px; @media(min-width:768px){ margin-bottom: 100px; } @media(min-width:1200px){ margin-bottom: 150px; } &>h2{ text-align: center; color: #111; font-size: 24px; margin-bottom: 30px; @media(min-width:768px){ font-size: 32px; margin-bottom: 40px; } @media(min-width:1200px){ font-size: 44px; margin-bottom: 70px; } } } #shareholder,#shareholder1{ height: 120px; padding-bottom: 40px; @media(min-width:768px){ height: 90px; padding-bottom: 30px; } @media(min-width:1200px){ height: 140px; padding-bottom: 80px; } .swiper-wrapper{ a{ display: block; text-align: center; } } .swiper-pagination{ display:block; position: absolute; bottom: 0; left: 0; right: 0; text-align: center; span{ display: inline-block; width:8px; height: 8px; background: rgba(0, 0, 0, .3); border-radius: 50%; margin: 0 6px; &.swiper-visible-switch{ background: rgba($color,.5); } &.swiper-active-switch{ background: rgba($color,1); } } } }