zxf/css/style.less

1006 lines
18 KiB
Plaintext

// main max width
@mw: 1366px;
.mobile {
display: none;
}
.pc {
display: initial;
}
.limit-line {
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.clamp-1 {
-webkit-line-clamp: 1;
}
.clamp-2 {
-webkit-line-clamp: 2;
}
.clamp-3 {
-webkit-line-clamp: 3;
}
.clearfix {
zoom: 1;
}
.clearfix::after {
display: block;
content: '';
clear: both;
}
.full-wrap {
width: 100%;
}
.main-wrap {
width: @mw;
margin: 0 auto;
}
.mg-center {
margin-top: 0;
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
}
.header {
z-index: 20;
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100%;
background-image: url('../images/transparent-bg.png');
.main {
height: 90px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
img {
max-height: 50px;
}
}
.menu {
.menu-group {
display: flex;
}
.item {
margin-left: 50px;
}
.link {
font-size: 18px;
color: #FFFFFF;
}
.link.active,
.link:hover {
font-weight: bold;
}
}
}
.footer {
width: 100%;
background-color: #343434;
.main {
padding: 30px 0;
.row:first-child {
margin-top: 0;
}
.row {
font-size: 18px;
color: #FFFFFF;
text-align: center;
line-height: 20px;
margin-top: 20px;
}
.tel {
display: inline-block;
width: 355px;
border: 2px solid #DDDDDD;
border-radius: 30px;
padding: 20px;
font-size: 24px;
}
.icp {
color: #999999;
}
}
}
.banner-text {
color: #FFFFFF;
text-align: center;
p:nth-child(1) {
font-size: 38px;
margin-bottom: 25px;
line-height: 38px;
}
p:nth-child(2) {
font-size: 30px;
line-height: 30px;
}
.cname {
color: #E30020;
}
}
.section {
.section-title {
text-align: center;
}
.section-title.style-1 {
.title {
font-size: 36px;
line-height: 36px;
font-weight: bold;
color: #141414;
display: flex;
align-items: center;
justify-content: center;
.rtext {
color: #E50020;
}
}
.title::before,
.title::after {
content: '';
display: inline-block;
width: 58px;
height: 3px;
background: #D4D4D4;
margin: 0 15px;
}
}
}
.section.main-banner {
width: 100%;
.swiper-slide {
display: flex;
}
.swiper-pagination-bullet {
width: 40px;
height: 2px;
background: #F8F8F8;
border-radius: 0;
opacity: 1;
}
.swiper-pagination-bullet-active {
background: #E50020;
}
.swiper-pagination {
bottom: 40px;
}
.item {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 720px;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
.banner-text {
p:nth-child(1),
p:nth-child(2) {
transform: translate3d(0, 20px, 0);
opacity: 0;
}
p:nth-child(1) {
transition: .8s ease .4s;
}
p:nth-child(2) {
transition: .8s ease .6s;
}
}
.swiper-slide-active .banner-text {
p:nth-child(1),
p:nth-child(2) {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
}
.section.idx-about {
margin-top: 60px;
.ia-container {
margin-top: 70px;
font-size: 20px;
color: #666666;
line-height: 36px;
}
.ia-image {
max-width: 100%;
margin-top: 80px;
font-size: 0;
img {
width: 100%;
}
}
}
.section.idx-calture {
margin-top: 90px;
margin-bottom: 60px;
.ic-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.caltrue-item {
display: flex;
justify-content: space-between;
flex-direction: column;
width: 650px;
height: 156px;
background: rgba(248, 248, 248, 0);
border: 1px solid #DDDDDD;
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
border-radius: 20px;
box-sizing: border-box;
padding: 30px;
margin-top: 48px;
}
.title {
display: flex;
align-items: center;
.cover {
width: 30px;
height: 30px;
object-fit: scale-down;
margin-right: 15px;
}
.text {
font-size: 30px;
font-weight: bold;
color: #000001;
}
}
.desc {
font-size: 24px;
color: #666666;
}
}
.section.sec-banner {
width: 100%;
height: 450px;
display: flex;
align-items: center;
justify-content: center;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
.banner-text {
padding-top: 60px;
}
}
.section.article-detail {
margin-top: 50px;
margin-bottom: 50px;
.title {
padding: 30px 0;
text-align: center;
border-bottom: 4px dashed #E5E5E5;
h1 {
font-size: 28px;
font-weight: normal;
color: #333333;
}
}
.content {
padding: 30px 0;
}
}
.full-wrap.about {
background-color: #F7F7F7;
}
.section.about-textarea {
padding: 90px 0 65px 0;
.content {
font-size: 20px;
color: #666666;
line-height: 36px;
margin-top: 60px;
}
.img-group {
margin-top: 50px;
display: flex;
justify-content: space-between;
.item {
width: 442px;
height: 312px;
// float: left;
// margin-right: 20px;
}
// .item:nth-child(3n) {
// margin-right: 0;
// }
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.section.mapcont {
margin-top: 70px;
.mcont {
margin-top: 70px;
text-align: center;
font-size: 0;
img {
max-width: 100%;
}
}
}
.section.addrcont {
margin-top: 70px;
margin-bottom: 90px;
.aacont {
margin-top: 70px;
li {
width: 50%;
float: left;
display: flex;
align-items: center;
margin-top: 35px;
}
li:nth-child(1),
li:nth-child(2) {
margin-top: 0;
}
li::before {
content: '';
display: inline-block;
width: 27px;
height: 27px;
background-image: url('../images/daohang.png');
background-size: 100%;
flex-shrink: 0;
}
a {
font-size: 20px;
color: #040000;
margin-left: 10px;
}
}
}
.section.contact-map {
position: relative;
margin-top: 100px;
height: 690px;
.cm-desc {
z-index: 5;
position: relative;
width: 1045px;
display: flex;
border: 2px solid #DDDDDD;
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
box-sizing: border-box;
margin: 0 auto;
.logo {
width: 392px;
height: 392px;
}
.desc {
width: 653px;
padding: 35px;
box-sizing: border-box;
display: flex;
justify-content: space-between;
flex-direction: column;
background-color: #ffffff;
}
}
.cm-map {
position: absolute;
top: 170px;
height: 520px;
background-repeat: no-repeat;
background-position: center;
}
.title {
h1 {
font-size: 36px;
font-weight: bold;
color: #000000;
line-height: 36px;
margin-bottom: 30px;
letter-spacing: 3px;
}
span {
color: #E50020;
}
p {
font-size: 24px;
color: #333333;
line-height: 24px;
}
}
.items {
li {
display: flex;
align-items: center;
margin-top: 12px;
}
img {
width: 37px;
height: 37px;
margin-right: 15px;
}
p {
font-size: 18px;
font-weight: bold;
color: #333333;
}
}
}
.section.paragraph-content {
margin-top: 100px;
margin-bottom: 100px;
.paragraph:first-child {
margin-top: 0;
}
.paragraph {
margin-top: 30px;
.title {
font-size: 24px;
font-weight: bold;
color: #E50020;
line-height: 24px;
margin-bottom: 30px;
}
// .content {
// font-size: 24px;
// color: #666666;
// line-height: 36px;
// }
}
}
.section.cooperate {
.content {
margin-top: 60px;
margin-bottom: 60px;
}
}
.section.story-cont.last {
margin-bottom: 100px;
}
.section.story-cont {
margin-top: 40px;
.title {
font-size: 24px;
font-weight: bold;
color: #E50020;
margin-bottom: 25px;
line-height: 24px;
}
.image-con {
position: relative;
width: 100%;
font-size: 0;
.swiper-slide {
border-radius: 20px;
overflow: hidden;
}
img {
max-width: 100%;
}
p {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background-image: url('../images/transparent-bg.png');
font-size: 24px;
font-weight: bold;
color: #FFFFFF;
box-sizing: border-box;
padding: 30px 60px;
}
}
.story-item:first-child {
margin-top: 0;
}
.story-item {
margin-top: 20px;
.desc {
width: 700px;
height: 360px;
background: #F5F5F5;
border-radius: 20px 0 0 20px;
overflow: hidden;
float: left;
margin-top: 40px;
box-sizing: border-box;
padding: 28px;
}
.img {
width: 666px;
height: 440px;
background: #E5E5E5;
border-radius: 20px;
overflow: hidden;
flex-shrink: 0;
float: right;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.text {
font-size: 24px;
font-weight: bold;
color: #000000;
line-height: 24px;
margin-bottom: 30px;
}
.content {
font-size: 20px;
color: #000000;
line-height: 30px;
text-indent: 2em;
}
}
.story-item:nth-child(2n) {
.desc {
float: right;
border-radius: 0 20px 20px 0;
}
.img {
float: left;
}
}
}
.section.business-nav {
.nav {
display: flex;
justify-content: space-around;
align-items: center;
li {
display: inline-block;
width: 340px;
text-align: center;
padding: 40px 0;
}
a {
font-size: 24px;
font-weight: bold;
color: #999999;
}
a:hover,
a.active {
color: #E50524;
}
}
}
.section.business-cont {
.title {
width: 100%;
text-align: center;
h2 {
font-size: 30px;
font-weight: bold;
color: #E72A3A;
}
}
.title::after {
content: '';
display: inline-block;
width: 58px;
height: 3px;
background: #E72A3A;
}
}
.s-section {
.s-title {
font-size: 24px;
font-weight: bold;
color: #333333;
line-height: 24px;
}
}
.s-section.s1-first {
margin-bottom: 80px;
margin-top: 12px;
}
.business-cont.s1 {
margin-top: 100px;
}
.business-cont.s2 {
margin-top: 100px;
.mid-box {
margin-top: 40px;
.ad-text {
font-size: 20px;
font-weight: bold;
color: #666666;
line-height: 20px;
}
}
}
.business-cont.s3 {
background-color: #F7F7F7;
margin-top: 70px;
padding-top: 50px;
padding-bottom: 80px;
.mid-box {
margin-top: 50px;
li {
display: flex;
align-items: center;
float: left;
}
li::after {
content: '';
display: block;
width: 2px;
height: 80px;
background: #D7D7D7;
}
li:nth-child(3n)::after {
display: none;
}
.cont {
width: 452px;
text-align: center;
}
.num {
font-size: 30px;
font-weight: bold;
color: #666666;
line-height: 30px;
}
.desc {
font-size: 24px;
color: #000000;
line-height: 24px;
margin-top: 35px;
}
}
}
.business-cont.s4 {
padding: 75px 0;
}
.s-content.g1 {
li {
float: left;
margin-right: 42px;
margin-top: 25px;
}
li:nth-child(4n) {
margin-right: 0;
}
.item {
width: 310px;
height: 303px;
background: rgba(229, 0, 32, 0);
border: 2px solid #DDDDDD;
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
border-radius: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
h4 {
margin: 30px 0;
font-size: 24px;
font-weight: bold;
color: #333333;
line-height: 24px;
}
p {
font-size: 20px;
color: #666666;
line-height: 20px;
}
.icon {
width: 115px;
height: 80px;
object-fit: cover;
}
}
.s-content.g2 {
li {
float: left;
margin-right: 46px;
margin-top: 30px;
}
li:nth-child(2n) {
margin-right: 0;
}
.item {
display: block;
width: 660px;
height: 349px;
background: #FFFFFF;
border: 2px solid #DDDDDD;
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
box-sizing: border-box;
}
.icon-cont {
width: 100%;
height: 225px;
.icon {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.desc {
width: 100%;
height: 120px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 30px;
box-sizing: border-box;
h4 {
font-size: 20px;
font-weight: bold;
color: #333333;
line-height: 20px;
margin-bottom: 18px;
}
p {
font-size: 16px;
color: #333333;
line-height: 20px;
}
}
}
.s-content.g4 {
.btn {
width: 100%;
height: 124px;
padding: 0 20px;
box-sizing: border-box;
}
.btn {
display: flex;
justify-content: center;
align-items: center;
.b-text {
display: block;
width: 181px;
height: 40px;
background: #E50020;
border-radius: 20px;
text-align: center;
font-size: 16px;
color: #FFFFFF;
line-height: 40px;
}
}
}
.s-content.g3,
.s-content.g4 {
li {
float: left;
margin-right: 53px;
margin-top: 50px;
}
li:nth-child(3n) {
margin-right: 0;
}
.item {
display: block;
width: 420px;
background: #FFFFFF;
border: 2px solid #DDDDDD;
box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.35);
box-sizing: border-box;
}
.icon-cont {
width: 100%;
height: 220px;
.icon {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.desc {
width: 100%;
height: 124px;
padding: 0 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
.i-title {
font-size: 20px;
font-weight: bold;
color: #333333;
line-height: 20px;
margin-bottom: 18px;
}
.i-desc {
font-size: 16px;
color: #333333;
line-height: 24px;
}
}
}
.s-content.g5 {
display: flex;
align-items: flex-start;
justify-content: space-between;
text-align: center;
margin-top: 60px;
.item {
width: 310px;
img {
width: 65px;
height: 65px;
}
p {
font-size: 24px;
color: #666666;
line-height: 36px;
margin-top: 50px;
}
}
}