zxf/css/responsive.css

546 lines
11 KiB
CSS

@media screen and (max-width: 768px) {
.pc {
display: none;
}
.mobile {
display: initial;
}
.main-wrap {
width: 92%;
max-width: 500px;
}
.header .logo {
font-size: 0;
}
.header .logo img {
max-height: 26px;
}
.header .main {
height: 45px;
}
.header .menu .menu-group {
z-index: 20;
display: none;
position: fixed;
left: 0;
top: 45px;
right: 0;
animation-duration: 0.2s;
}
.header .menu .menu-mask {
z-index: 10;
display: none;
position: fixed;
top: 45px;
left: 0;
right: 0;
bottom: 0;
animation-duration: 0.35s;
}
.header .menu .menu-btn {
font-size: 0;
}
.header .menu .menu-btn .btn-img {
max-width: 26px;
}
.header .menu .item {
margin-left: 0;
background-color: #C7001C;
padding: 0 18px;
}
.header .menu .item .link {
display: block;
box-sizing: border-box;
border-bottom: 2px solid #D02121;
padding: 15px 0;
}
.header .menu .item .link.active,
.header .menu .item .link:hover {
font-weight: normal;
}
.header .menu .item:first-child {
padding-top: 25px;
}
.header .menu .item:last-child {
padding-bottom: 40px;
}
.footer .logo-bottom {
max-height: 26px;
}
.footer .main .row {
font-size: 16px;
margin-top: 15px;
}
.footer .main .tel {
width: 208px;
font-size: 16px;
padding: 10px;
}
.section.main-banner .item {
height: 255px;
}
.banner-text {
padding-top: 25px;
}
.banner-text p:nth-child(1) {
font-size: 18px;
line-height: 18px;
margin-bottom: 15px;
}
.banner-text p:nth-child(2) {
font-size: 14px;
line-height: 16px;
}
.section .section-title.style-1 .title {
font-size: 18px;
line-height: 18px;
}
.section .section-title.style-1 .title::before,
.section .section-title.style-1 .title::after {
width: 29px;
height: 2px;
}
.section.idx-about {
margin-top: 20px;
}
.section.idx-about .ia-container {
margin-top: 20px;
font-size: 16px;
line-height: 20px;
}
.section.idx-about .ia-image {
margin-top: 20px;
}
.section.idx-culture {
margin-top: 35px;
margin-bottom: 35px;
}
.section.idx-culture .culture-item:first-child {
margin-top: 20px;
}
.section.idx-culture .culture-item {
height: auto;
margin-top: 10px;
padding: 20px;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.section.idx-culture .title {
margin-bottom: 14px;
}
.section.idx-culture .title .text {
font-size: 16px;
}
.section.idx-culture .title .cover {
width: 15px;
height: 15px;
margin-right: 8px;
}
.section.idx-culture .desc {
font-size: 14px;
line-height: 18px;
}
.section.sec-banner {
height: 174px;
}
.section.sec-banner .banner-text {
padding-top: 45px;
}
.full-wrap.about {
background-color: unset;
}
.section.about-textarea {
padding-top: 20px;
padding-bottom: 35px;
}
.section.about-textarea .at-img {
max-height: 30px;
}
.section.about-textarea .content {
margin-top: 20px;
font-size: 16px;
line-height: 20px;
}
.section.about-textarea .img-group {
margin-top: 30px;
}
.section.about-textarea .img-group .item {
width: 32%;
height: auto;
}
.section.mapcont {
margin-top: 0;
}
.section.mapcont .mcont {
margin-top: 25px;
}
.section.addrcont {
margin-top: 20px;
margin-bottom: 50px;
}
.section.addrcont .aacont {
margin-top: 25px;
}
.section.addrcont .aacont li::before {
width: 19px;
height: 19px;
margin-top: 2px;
}
.section.addrcont .aacont li:nth-child(2) {
margin-top: 15px;
}
.section.addrcont .aacont li {
width: 100%;
float: unset;
margin-top: 15px;
align-items: flex-start;
}
.section.addrcont .aacont a {
font-size: 16px;
line-height: unset;
margin-left: 7px;
}
.section.contact-map {
margin-top: 30px;
height: 250px;
}
.section.contact-map .cm-desc {
width: 339px;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.section.contact-map .cm-desc .logo {
width: 127px;
height: 127px;
}
.section.contact-map .cm-desc .desc {
width: auto;
padding: 14px;
}
.section.contact-map .cm-map {
top: 30px;
height: 220px;
}
.section.contact-map .title h1 {
font-size: 18px;
margin-bottom: 0;
line-height: 18px;
}
.section.contact-map .title p {
font-size: 14px;
}
.section.contact-map .items li {
margin-top: 5px;
}
.section.contact-map .items img {
width: 13px;
height: 13px;
}
.section.contact-map .items p {
font-size: 14px;
line-height: 14px;
}
.section.paragraph-content {
margin-top: 35px;
margin-bottom: 37px;
}
.section.paragraph-content .paragraph .title {
font-size: 18px;
line-height: 18px;
text-align: center;
margin-bottom: 18px;
}
.section.paragraph-content .paragraph .content {
font-size: 16px;
line-height: 20px;
}
.section.cooperate .content {
font-size: 16px;
line-height: 20px;
margin-top: 28px;
margin-bottom: 35px;
}
.section.article-detail {
margin-top: 0;
margin-bottom: 40px;
}
.section.article-detail .title {
padding: 20px 0;
text-align: left;
border-bottom: 2px dashed #E5E5E5;
}
.section.article-detail .title h1 {
font-size: 18px;
line-height: 20px;
}
.section.article-detail .content {
padding: 12px 0;
font-size: 16px;
line-height: 20px;
}
.section.story-cont {
margin-top: 24px;
}
.section.story-cont .title {
font-size: 18px;
text-align: center;
margin-bottom: 12px;
}
.section.story-cont .image-con {
border-radius: 0;
}
.section.story-cont .image-con .text-con {
padding: 9px 10px;
}
.section.story-cont .image-con .text-con p {
height: 16px;
font-size: 16px;
line-height: 16px;
}
.section.story-cont .story-item:nth-child(2n) .desc {
border-radius: 0;
}
.section.story-cont .story-item .img {
width: 100%;
height: 188px;
border-radius: 0;
float: unset;
}
.section.story-cont .story-item .desc {
width: 100%;
height: auto;
border-radius: 0;
float: unset;
margin-top: 0;
padding: 30px 20px;
}
.section.story-cont .story-item .text {
display: inline-block;
font-size: 16px;
line-height: 20px;
margin-bottom: 20px;
}
.section.story-cont .story-item .text:nth-child(2) {
color: #666666;
margin-left: 10px;
}
.section.story-cont .story-item .content {
font-size: 14px;
line-height: 20px;
}
.section.story-cont.last {
margin-bottom: 24px;
}
.s-section .s-title {
font-size: 18px;
line-height: 16px;
text-align: center;
}
.s-section.s1-first {
margin-top: 30px;
margin-bottom: 30px;
}
.section.business-nav {
width: 100%;
margin-top: 10px;
}
.section.business-nav .nav li {
width: auto;
padding: 0;
}
.section.business-nav .nav a {
display: block;
width: 100%;
color: #666666;
font-size: 14px;
line-height: 30px;
background-color: #F3F3F3;
padding: 2px 5px;
}
.section.business-cont .title {
font-size: 0px;
}
.section.business-cont .title h2 {
font-size: 18px;
line-height: 18px;
}
.section.business-cont .title::after {
width: 29px;
height: 2px;
margin-top: 10px;
}
.business-cont.s1 {
margin-top: 25px;
}
.business-cont.s2 {
margin-top: 30px;
}
.business-cont.s2 .mid-box {
margin: 15px 0 5px 0;
}
.business-cont.s2 .mid-box .ad-text {
font-size: 14px;
font-weight: normal;
text-align: center;
}
.business-cont.s3 {
margin-top: 50px;
padding-bottom: 0;
padding-top: 0;
background-color: unset;
}
.business-cont.s3 .mid-box {
margin-top: 20px;
margin-bottom: 20px;
}
.business-cont.s3 .mid-box .num {
font-size: 14px;
line-height: 18px;
}
.business-cont.s3 .mid-box .desc {
font-size: 14px;
line-height: 18px;
margin-top: 10px;
}
.business-cont.s3 .mid-box .cont {
width: 100%;
}
.business-cont.s3 .mid-box li {
width: 33.33333%;
}
.business-cont.s3 .mid-box li::after {
height: 26px;
}
.business-cont.s4 {
padding: 30px 0;
}
.s-content.g1 {
text-align: center;
}
.s-content.g1 li {
width: 46%;
margin-left: 2%;
margin-right: 2%;
}
.s-content.g1 li:nth-child(4n) {
margin-right: 2%;
}
.s-content.g1 .icon {
width: 57px;
height: 41px;
}
.s-content.g1 h4 {
font-size: 16px;
margin: 15px 0;
}
.s-content.g1 p {
font-size: 14px;
}
.s-content.g1 .item {
width: 100%;
height: auto;
padding: 20px 0;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
border-radius: 10px;
}
.s-content.g2 li {
float: initial;
margin-right: 0;
}
.s-content.g2 .item {
width: 100%;
height: auto;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.s-content.g2 .icon-cont {
height: auto;
}
.s-content.g2 .desc {
padding: 15px;
height: auto;
}
.s-content.g2 .desc h4 {
font-size: 16px;
margin-bottom: 10px;
}
.s-content.g2 .desc p {
font-size: 14px;
}
.s-content.g3 ul,
.s-content.g4 ul {
text-align: center;
}
.s-content.g3 li,
.s-content.g4 li {
width: 46%;
margin-left: 2%;
margin-right: 2%;
margin-top: 12px;
}
.s-content.g3 li:nth-child(3n),
.s-content.g4 li:nth-child(3n) {
margin-right: 2%;
}
.s-content.g3 .item,
.s-content.g4 .item {
width: 100%;
height: auto;
border: 1px solid #DDDDDD;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.35);
}
.s-content.g3 .desc,
.s-content.g4 .desc {
text-align: left;
}
.s-content.g3 .desc .i-title,
.s-content.g4 .desc .i-title {
height: 20px;
font-size: 16px;
margin-bottom: 5px;
line-height: 20px;
}
.s-content.g3 .desc .i-desc,
.s-content.g4 .desc .i-desc {
height: 32px;
font-size: 14px;
line-height: 16px;
color: #666666;
}
.s-content.g3 .icon-cont,
.s-content.g4 .icon-cont {
height: auto;
}
.s-content.g3 .desc,
.s-content.g4 .desc {
height: auto;
padding: 10px;
}
.s-content.g3 .btn,
.s-content.g4 .btn {
height: auto;
padding: 10px;
}
.s-content.g3 .btn .b-text,
.s-content.g4 .btn .b-text {
width: 130px;
height: 26px;
line-height: 26px;
font-size: 14px;
}
.s-content.g5 {
margin-top: 15px;
}
.s-content.g5 .item {
width: 100px;
}
.s-content.g5 .item img {
width: 26px;
height: 26px;
}
.s-content.g5 .item p {
font-size: 16px;
line-height: 20px;
margin-top: 15px;
}
}