@media screen and (min-width: 768px) { .main { margin-top: -80px; } .main .title { font-size: 24px; font-weight: bold; } .main .about { margin-bottom: 180px; } .main .about .cover { width: 614px; height: 412px; background-color: pink; } .main .about .container { position: relative; } .main .about .content { position: absolute; bottom: 0; right: 0; width: 518px; } .main .about .content .title { font-size: 34px; text-transform: uppercase; } .main .about .content .detail { font-size: 14px; line-height: 40px; text-align: justify; } .main .about .content .tags { margin-top: 36px; display: -webkit-box; display: -ms-flexbox; display: flex; } .main .about .content .tags .tag { padding: 8px 14px; font-size: 16px; color: #0688d2; background: #eff9ff; } .main .about .content .line { margin: 32px 0; width: 32px; height: 2px; background: #d8d8d8; } .main .service { margin: 80px 0; } .main .service .cover { width: 640px; height: 480px; -webkit-box-sizing: border-box; box-sizing: border-box; } .main .service.one .content { background-image: url(/img/product-intradermik-service-bg-01.png); } .main .service.two .content { background-image: url(/img/product-intradermik-service-bg-02.png); } .main .service.three .content { background-image: url(/img/product-intradermik-service-bg-03.png); } .main .service.four .content { background-image: url(/img/product-intradermik-service-bg-04.png); } .main .service .content { width: 560px; height: 480px; -webkit-box-sizing: border-box; box-sizing: border-box; background: rgba(0, 0, 0, 0.39); padding: 70px 60px 0; background-repeat: no-repeat; background-position: center; background-size: 560px; } .main .service .content .title { color: #fff; margin-bottom: 20px; } .main .service .content .mb24 { margin-bottom: 40px; } .main .service .content .mb56 { margin-bottom: 56px; } .main .service .content .lh40 { line-height: 40px; } .main .service .content .lh28 { line-height: 28px; } .main .service .content .subtitle { font-size: 16px; color: #fff; } .main .service .content .detail { color: #fff; font-size: 16px; } .main .service .content .detail li { margin-top: 32px; } .main .service .content .detail .label { margin-bottom: 16px; } } @media screen and (max-width: 768px) { .main .container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; } .main .title { font-size: 0.48rem; font-weight: bold; } .main .about { margin-top: 0.8rem; } .main .about .cover { width: 6.14rem; height: 4.12rem; float: unset !important; margin-top: 0.48rem; } .main .about .cover img { display: block; width: 100%; height: 100%; } .main .about .container { position: relative; } .main .about .content { width: 6.14rem; float: unset !important; } .main .about .content .title { font-size: 0.48rem; text-transform: uppercase; text-align: center; } .main .about .content .detail { font-size: 0.24rem; line-height: 0.4rem; text-align: justify; } .main .about .content .tags { margin-top: 0.32rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .main .about .content .tags .tag { padding: 0.08rem 0.41rem; font-size: 0.24rem; color: #3da5b8; background: #e6fcff; } .main .about .content .line { width: 0.4rem; height: 0.03rem; background: #d8d8d8; margin: 0.32rem auto; } .main .service { margin: 1.2rem 0; } .main .service .cover { width: 6.14rem; height: 4.66rem; -webkit-box-sizing: border-box; box-sizing: border-box; float: unset !important; margin-top: 0.48rem; } .main .service .cover img { display: block; width: 100%; height: 100%; } .main .service .content { width: 6.14rem; float: unset !important; -webkit-box-sizing: border-box; box-sizing: border-box; background-repeat: no-repeat; background-position: center; text-align: center; } .main .service .content .title { margin-bottom: 0.4rem; } .main .service .content .mb24 { margin-bottom: 0.4rem; } .main .service .content .mb56 { margin-bottom: 0.56rem; } .main .service .content .lh40 { line-height: 0.4rem; } .main .service .content .lh28 { line-height: 0.4rem; } .main .service .content .subtitle { font-size: 0.26rem; } .main .service .content .detail { font-size: 0.26rem; } .main .service .content .detail li { margin-top: 0.32rem; } .main .service .content .detail .label { margin-bottom: 0.16rem; } }