.container { @include clearfix; margin: 0 auto; width: 1170px; @media screen and (max-width: 1170px) { width: 100%; } } // icon @for $i from 1 through 3{ .icon-about-#{$i}{ width: 80px; height: 80px; background-image: url("../images/icon-about-#{$i}.png"); } } @for $i from 1 through 4{ .icon-pt-#{$i}{ width: 60px; height: 60px; background-image: url("../images/icon-pt-#{$i}.png"); } .icon-step-#{$i}{ width: 100px; height: 100px; background-image: url("../images/icon-step-#{$i}.png"); } a:hover{ .icon-step-#{$i}{ background-image: url("../images/icon-step-#{$i}_hover.png"); } } } @for $i from 1 through 4{ .icon-in-#{$i}{ width: 22px; height: 22px; background-image: url("../images/icon-in-#{$i}.png"); } } .icon-er{ width: 27px; height: 27px; background-image: url("../images/icon-er.png"); } .btn { display: inline-block; border-radius: 20px; width: 170px; line-height: 40px; font-size: 16px; text-align: center; color: #fff; background-color: $theme-color; &:hover{ background-color: darken($theme-color, 10%); } } .btn-small{ @extend .btn; border-radius: 3px; width: 130px; } .btn-magnify{ @extend .btn; border-radius: 3px; width: 100px; } .header { position: absolute; left: 0; right: 0; top: 0; z-index: 2000; padding: 15px 0; .logo { display: block; width: 147px; height: 48px; background: url("../images/logo_pc.png") no-repeat; background-size: 100%; } &.fixed{ position: fixed; background-color: rgba(#fff, .8); .logo{ background-image: url("../images/logo_m.png"); } .nav li a{ color: #202020; } .timber{ background-color: #00acf1; } } &.borb{ border-bottom: #eaeaea solid 1px; box-shadow: 0 0 5px rgba(0, 0, 0, .1); } @media screen and (max-width: 800px){ position: relative; padding: 10px; .logo{ width: 120px; height: 40px; background-image: url("../images/logo_m.png"); } } } .collapse { position: relative; .touch { display: none; } .timber{ position: absolute; left: 58px; top: -15px; width: 64px; height: 4px; transition: left .5s ease-out; background-color: #fff; } @media screen and (max-width: 800px){ margin-top: 15px; .touch{ position: relative; display: block; border: #555 solid; border-width: 2px 0; width: 22px; height: 10px; &:after{ position: absolute; top: 4px; width: 100%; height: 2px; content: ''; background-color: #555; } } .timber{ display: none; } } } .nav { @include clearfix; margin-top: 14px; li { float: left; margin-left: 60px; a { position: relative; font-size: 16px; color: #fff; } } @media screen and (max-width: 800px){ display: none; position: absolute; top: 35px; right: -10px; z-index: 100; margin-top: 0; border-top: #eee solid 1px; background-color: rgba(255, 255, 255, .8); li{ width: 100%; margin-left: 0; padding: 10px 0; a{ display: block; text-align: center; color: #202020; } &.active { a { color: $theme-color; &:after { position: absolute; content: ''; bottom: -7px; left: 50%; margin-left: -3px; border-radius: 50%; width: 6px; height: 6px; background-color: $theme-color; } } } } } } .banner { position: relative; width: 100%; height: 920px; background: url("../images/banner.jpg") no-repeat center; .intro{ position: absolute; left: 50%; top: 50%; z-index: 1000; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 630px; text-align: center; font-size: 16px; color: #fff; h1{ border-bottom: rgba(#fff, .3) solid 1px; padding-bottom: 30px; line-height: 45px; letter-spacing: 7px; font-size: 38px; } .bottom{ @include clearfix; padding: 25px 200px 0 0; } .r{ margin-right: -200px; padding: 5px; border-radius: 3px; width: 160px; background-color: #fff; p{ padding-bottom: 5px; color: #202020; } } .l{ text-align: left; line-height: 27px; } img{ width: 100%; } } @media screen and (max-width: 800px) { height: auto; background-size: cover; .intro{ box-sizing: border-box; position: static; -webkit-transform: translate(0, 0); -moz-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); padding: 30px; width: 100%; h1{ font-size: 24px; } p{ margin: 10px 0 20px; } } } @media screen and (max-width: 600px) { .intro{ .bottom{ padding-right: 0; } .l{ float: none; text-align: center; } .r{ float: none; margin: 0 auto; } } } } .whole { .hd { text-align: center; h1 { position: relative; padding: 25px 0; font-size: 36px; line-height: 1.5em; &:after{ position: absolute; left: 50%; bottom: 5px; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); width: 110px; height: 1px; content: ''; background-color: #ebebeb; } &.white{ color: #fff; &:after{ background-color: #fff; } } } p { padding: 25px 285px; color: #959595; } } &.bt{ border-top: #e7e7e7 solid 1px; @media screen and (max-width: 800px) { margin: 0 15px; } } &.half{ position: absolute; left: 0; top: 50%; -webkit-transform: translate(0, -50%); -moz-transform: translate(0, -50%); -ms-transform: translate(0, -50%); -o-transform: translate(0, -50%); transform: translate(0, -50%); width: 50%; .hd{ h1{ padding-top: 0; } } @media screen and (max-width: 800px) { position: static; float: left; width: 100%; -webkit-transform: translate(0); -moz-transform: translate(0); -ms-transform: translate(0); -o-transform: translate(0); transform: translate(0); .hd{ h1{ padding-top: 25px; } } } } @media screen and (max-width: 800px){ .hd{ p{ padding: 25px 30px; } } .bd{ margin-top: 0; } } } .cf{ @include clearfix; } .floor-1{ padding-top: 20px; @media screen and (max-width: 800px){ margin: 0; padding: 0; } } .about-r{ float: right; li{ margin-top: 40px; margin-bottom: 80px; padding-left: 110px; width: 475px; } i{ float: left; margin-left: -110px; } h2{ font-size: 28px; color: #00acf1; } p{ margin-top: 20px; line-height: 25px; color: #959595; } @media screen and (max-width: 800px){ padding: 0 30px; li{ box-sizing: border-box; margin-bottom: 40px; width: 100%; } } } .about-l{ float: left; width: 430px; @media screen and (max-width: 800px){ display: none; } } .floor-2{ padding-top: 70px; height: 638px; background: url("../images/floor-2_bg.jpg") no-repeat center; @media screen and (max-width: 800px){ padding: 0; height: auto; background-size: cover; } } .zs{ display: table; table-layout: fixed; margin-top: 70px; width: 100%; .item{ display: table-cell; text-align: center; } .qrcode{ display: inline-block; opacity: 0; padding: 20px; width: 225px; font-size: 18px; color: #fff; background-color: rgba(#000, .2); } img{ width: 100%; } h3{ margin: 20px 0; font-size: 24px; } i{ margin-right: 10px; vertical-align: middle; } @media screen and (max-width: 800px){ margin: 30px 0; .qrcode{ width: 165px; } } @media screen and (max-width: 600px){ display: block; .item{ display: block; margin: 30px 0; } } } .floor-3{ padding: 40px 0 300px; background-color: #f4fbff; @media screen and (max-width: 800px){ padding: 0; } } .relative{ position: relative; } .pt{ @include clearfix; padding-top: 30px; li{ box-sizing: border-box; float: left; padding: 30px 30px 30px 110px; width: 50%; } h2{ margin-bottom: 10px; font-size: 28px; } p{ color: #959595; } i{ float: left; margin-left: -90px; } @media screen and (max-width: 630px){ li{ width: 100%; } } } .pt-img{ position: absolute; bottom: -470px; left: 50%; margin-left: -500px; width: 1000px; img{ width: 100%; } @media screen and (max-width: 800px){ display: none; } } .co{ @include clearfix; margin: 30px 0 50px; li{ box-sizing: border-box; float: left; padding: 10px; width: 20%; } img{ width: 100%; } @media screen and (max-width: 800px){ li{ width: 25%; } } @media screen and (max-width: 600px){ li{ width: 33.3%; } } @media screen and (max-width: 400px){ li{ width: 50%; } } } .footer{ font-size: 16px; color: #95a9b1; .t{ padding: 60px 0 40px; background-color: #212331; .l{ margin-right: 120px; } p{ margin-top: 20px; } i{ margin-right: 7px; vertical-align: top; } } .b{ padding: 20px 0; background-color: #181828; img{ width: 147px; } } h3{ position: relative; margin-bottom: 41px; font-size: 18px; color: #fff; &:after{ position: absolute; left: 80px; bottom: 0; border: 6px solid; border-color: transparent transparent #00acf1 #00acf1; width: 0; height: 0; content: ''; } } .qrcode{ padding: 10px; width: 155px; background-color: rgba(#000, .2); text-align: center; color: #fff; img{ width: 100%; } p{ margin: 10px 0; } } a{ color: #95a9b1; } .blue{ color: #00acf1; } .mt13{ margin-top: 13px; } @media screen and (max-width: 800px){ .t{ padding: 30px 150px; text-align: center; .l{ float: none; display: inline-block; margin-right: 0; } } .qrcode{ float: none; margin: 20px auto 0; } h3{ margin-bottom: 20px; &:after{ left: 50%; -webkit-transform: translate(45px, 0); -moz-transform: translate(45px, 0); -ms-transform: translate(45px, 0); -o-transform: translate(45px, 0); transform: translate(45px, 0); } } .b{ padding: 20px 30px; } } @media screen and (max-width: 600px){ .t{ padding: 30px; } } @media screen and (max-width: 400px){ .b{ text-align: center; .l{ float: none; } .r{ float: none; margin-top: 20px; } } } } .floor-4{ padding-top: 220px; @media screen and (max-width: 800px){ padding-top: 0; } } .jm{ @include clearfix; padding: 30px 220px; background: url("../images/jm_bg.png") no-repeat center; background-size: 200px; a{ position: relative; display: inline-block; padding-top: 70px; width: 200px; text-align: center; color: #202020; &:hover{ i{ top: -30px; } } } i{ position: absolute; left: 50%; top: 0; -webkit-transform: translate(-50%, 0); -moz-transform: translate(-50%, 0); -ms-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0); transition: top .3s linear; } .txt{ position: relative; z-index: 10; border-top: #e1e1e1 solid 1px; background-color: #fff; } h2{ padding-top: 10px; line-height: 1.4; font-size: 28px; } p{ color: #959595; } @media screen and (max-width: 800px){ padding: 30px 50px; background: none; } @media screen and (max-width: 600px){ padding: 0 100px; text-align: center; a{ float: none; margin: 30px 0; } } }