Files
coreality-inc/public/assets/css/index1.css
2024-03-13 10:43:39 +08:00

947 lines
19 KiB
CSS

@import url("../fonts/flaticon/flaticon.css");
@import url("../fonts/thin/thin.css");
@import url("../css/all.min.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");
/*========================================================
標題設定
=========================================================*/
.h2-title {
font-size: 1.8rem;
text-align: center;
margin-bottom: 40px;
position: relative;
color: #000;
font-weight: bold;
}
.h2-title span {
padding: 0 20px;
}
.h2-title:before,
.h2-title:after {
content: '';
display: inline-block;
vertical-align: middle;
height: 6px;
background-color: #0d4180;
position: relative;
top: -3px;
}
.h2-title:before {
width: 70px;
margin-left: -70px;
}
.h2-title:after {
width: 70px;
margin-right: -70px;
}
@media (min-width: 992px) {
.h2-title {
font-size: 2rem;
}
.h2-title span {
padding: 0 30px;
}
.h2-title:before {
width: 100px;
margin-left: -100px;
}
.h2-title:after {
width: 100px;
margin-right: -100px;
}
}
/*========================================================
按鈕設定
=========================================================*/
.btn-more {
margin-bottom: 30px;
}
.btn-more a {
display: inline-block;
background: #da632e url("../img/index/arrow-icon1.png") no-repeat calc(100% - 30px) center;
padding: 5px 70px 5px 30px;
border-radius: 20px;
color: #fff;
}
.btn-more a:hover {
background-color: #1475a8;
padding: 5px 80px 5px 40px;
}
@media (min-width: 992px) {
.btn-more {
margin-bottom: 0px;
}
}
/*========================================================
產品系列
=========================================================*/
.service-wrap {
background: url("../img/index/service-bg.jpg") no-repeat center top;
background-size: cover;
padding-top: 80px;
padding-bottom: 80px;
padding-left: 5%;
padding-right: 5%;
}
.service-wrap img {
width: 100%;
vertical-align: bottom;
}
.service-item {
position: relative;
}
.service-item h3 {
background: #2e88cb; /* Old browsers */
background: -moz-linear-gradient(top, #2e88cb 0%, #14569f 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #2e88cb 0%,#14569f 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #2e88cb 0%,#14569f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e88cb', endColorstr='#14569f',GradientType=0 ); /* IE6-9 */
color: #fff;
font-weight: bold;
text-align: center;
font-size: 1.2rem;
padding: 15px 5px;
margin: 0;
}
.service-item p {
padding: 20px;
}
.service-item-img {
position: relative;
margin: 0;
display: block;
width: 100%;
text-decoration: none;
color: #fff;
overflow: hidden;
border: 10px solid #e9e9e9;
}
.service-item-img:hover {
color: #fff
}
.service-item-img:hover .service-item-mask {
opacity: 1;
visibility: visible
}
.service-item-img:hover .service-item-mask::after {
height: 100%
}
.service-item-img img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover
}
.service-item-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: .625rem 1rem;
text-align: center;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
font-size: 1rem;
font-weight: 700;
transition: all .3s
}
.service-item-mask::after {
content: "";
position: absolute;
left: 0;
top: 50%;
height: 50px;
width: 100%;
background-color: rgba(0, 0, 0, .3);
transform: translateY(-50%);
transition: all .3s
}
.service-item-mask span {
position: relative;
display: block;
z-index: 2;
padding: 6px 30px 4px;
border: 1px solid #fff;
}
@media (min-width: 1600px) {
.service-wrap {
padding-left: 10%;
padding-right: 10%;
}
}
/*========================================================
關於我們
=========================================================*/
.about-wrap {
background: url("../img/index/about-bg.jpg") no-repeat center top;
background-size: cover;
padding-top: 80px;
padding-bottom: 80px;
color: #fff;
}
.about-wrap h2 {
color: #fff;
}
.about-wrap h2:before,
.about-wrap h2:after {
background-color: #FFFFFF;
}
.about-info {
text-align: center;
margin-bottom: 3rem;
}
.about-info p:first-child {
font-size: 1.2rem;
}
.about-wrap ul {
list-style: none;
margin: 0 0 20px 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.about-wrap ul li {
background: url("../img/index/about-icon.png") no-repeat left 2px;
padding-left: 30px;
margin: 0 20px 10px 20px;
}
.about-logo {
background-color: #fff;
max-width: 1200px;
margin: 0 auto 3rem;
}
.about-item {
margin: 20px 30px;
}
.about-item img {
width: 100%;
vertical-align: bottom;
}
.about-btn {
text-align: center;
}
.about-btn a {
color: #fff;
display: inline-block;
font-weight: bold;
padding: 3px 15px;
border-bottom: 1px solid #fff;
}
.about-btn a:hover {
color: #d21916;
border-bottom: 1px solid #d21916;
}
@media (min-width: 1200px) {
.about-wrap {
background: url("../img/index/about-bg.jpg") no-repeat center bottom;
background-size: cover;
padding-top: 60px;
padding-bottom: 60px;
color: #fff;
}
.about-info p:first-child {
font-size: 1.4rem;
}
.about-wrap ul {
font-size: 1.2rem;
justify-content: center;
}
}
/*========================================================
訊息中心
=========================================================*/
.news-wrap {
background: url("../img/index/news-bg.jpg") no-repeat center center;
padding-top: 80px;
padding-bottom: 80px;
padding-left: 5%;
padding-right: 5%;
}
.news-wrap img {
width: 100%;
vertical-align: bottom;
}
.news-item {
position: relative;
padding: 20px;
}
.news-item-img {
position: relative;
margin: 0;
display: block;
width: 100%;
text-decoration: none;
color: #fff;
background-color: #f0f4f8;
overflow: hidden;
border: 6px solid #fff;
transition: all .3s
}
.news-item-img:hover {
color: #fff;
border-color: #d21916;
}
.news-item-img:hover .news-item-mask {
opacity: 1;
visibility: visible
}
.news-item-img:hover .news-item-mask::after {
height: 100%
}
.news-item-img img {
display: block;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover
}
.news-item-mask {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
padding: .625rem 1rem;
text-align: center;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
font-size: 1rem;
font-weight: 700;
transition: all .3s
}
.news-item-mask::after {
content: "";
position: absolute;
left: 0;
top: 50%;
height: 50px;
width: 100%;
background-color: rgba(0, 0, 0, .3);
transform: translateY(-50%);
transition: all .3s
}
.news-item-mask span {
position: relative;
display: block;
z-index: 2;
padding: 5px 30px;
}
.news-item-info {
position: relative;
top: -50px;
z-index: 4;
background-color: #fff;
width: 86%;
text-align: left;
padding: 20px 30px;
}
.news-item-info h3 {
color: #0d375e;
font-weight: bold;
font-size: 1.3rem;
}
.news-item-info p {
color: #4e4e4e;
font-size: 0.8rem;
line-height: 24px;
}
.news-item-btn {
margin-top: 10px;
}
.news-item-btn a {
display: inline-block;
color: #111;
border: 1px solid #111;
padding: 1px 20px 0px 20px;
font-size: 0.9rem;
}
.news-item-btn a:hover {
color: #fff;
background-color: #d21916;
border-color: #d21916;
}
.news-btn {
text-align: center;
}
.news-btn a {
display: inline-block;
color: #fff;
background-color: #247ac1;
padding: 3px 30px;
font-weight: bold;
}
.news-btn a:hover {
background-color: #d21916;
}
@media (min-width: 992px) {
.news {
padding-bottom: 0;
position: relative;
top: -140px;
z-index: 10;
}
.news > div {
padding: 50px 50px 0 50px;
}
}
/*========================================================
圖片效果
=========================================================*/
a.figure {
display: block;
position: relative;
}
a.figure:before,a.figure:after {
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
right: 10px;
z-index: 10;
content: '';
display: inline-block;
opacity: 0;
-webkit-transform: scale(0.5);
transform: scale(0.5);
transition: .3s;
}
a.figure:before {
background: #fff;
}
a.figure:after {
background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
-webkit-transform: scale(1);
transform: scale(1);
}
a.figure:hover:before {
opacity: 0.15;
}
a.figure:hover:after {
opacity: 1;
}
.picture-effect {
position: relative;
overflow: hidden;
z-index: 1;
}
.picture-effect img {
transform: scale(1);
transition: .3s ease-out all;
}
.picture-effect a {
display: block;
position: relative;
}
.picture-effect a:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(12, 56, 98, 0.4);
pointer-events: none;
z-index: 1;
opacity: 0;
transition: .3s ease-out all;
}
.picture-effect a:hover:before {
opacity: 1;
}
.picture-effect a:hover img {
transform: scale(1.1);
}
.facArea {
padding: 0px;
position: relative;
overflow: hidden;
width: 100%;
height: 960px;
background-image: url("../images/home_fac_bg.jpg");
background-attachment: fixed;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media (max-width: 1180px) {
.facArea {
background-attachment: unset;
background-size: cover;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
height: auto;
padding: 0 0 85px;
}
}
@media (max-width: 1023px) {
.facArea {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.facArea .abtBox {
position: absolute;
top: 0;
left: 85px;
max-width: 570px;
height: 490px;
width: 100%;
}
@media (max-width: 1536px) {
.facArea .abtBox {
max-width: unset;
width: 461px;
}
}
@media (max-width: 1180px) {
.facArea .abtBox {
position: unset;
width: 50%;
max-width: unset;
height: auto;
}
}
@media (max-width: 1023px) {
.facArea .abtBox {
width: 100%;
}
}
.facArea .abtBox .Txt {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding: 100px;
z-index: 2;
background-color: #fff;
}
@media (max-width: 767px) {
.facArea .abtBox .Txt {
padding: 40px;
}
}
.facArea .abtBox .Txt .textBox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
.facArea .abtBox .Txt .title {
color: #000;
font-size: 42px;
font-weight: 400;
line-height: 1.2;
letter-spacing: 0.5px;
font-family: "Tenor Sans";
text-align: center;
}
.facArea .abtBox .Txt .title em {
color: #da9c2d;
}
.facArea .abtBox .Txt .subtitle {
color: #000;
display: block;
font-size: 25px;
line-height: 1.2;
letter-spacing: 0.5px;
margin-top: 10px;
font-weight: 400;
text-align: center;
}
.facArea .abtBox .Txt .subtitle em {
font-family: "Tenor Sans";
margin: 0 5px;
}
.facArea .abtBox .Txt .text {
color: #444;
display: block;
line-height: 1.5;
letter-spacing: 0.5px;
margin-top: 20px;
font-size: 15px;
text-align: center;
font-weight: 400;
}
.facArea .abtBox .Txt .moreBtn {
width: 100%;
}
.facArea .abtBox .Txt .moreBtn a {
text-align: center;
color: #000;
text-transform: uppercase;
position: relative;
font-family: "Tenor Sans";
padding: 50px;
display: block;
}
.facArea .abtBox .Txt .moreBtn a::before {
content: "+";
font-family: FontAwesome;
position: absolute;
width: 28px;
height: 28px;
border-radius: 50%;
border: 2px solid #da9c2d;
color: #da9c2d;
bottom: 25px;
left: 49.5%;
-webkit-transform: translate(-50%, 100%);
transform: translate(-50%, 100%);
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;
font-weight: 600;
font-size: 20px;
}
.facArea .abtBox .Txt .moreBtn a:hover {
color: #da9c2d;
-webkit-animation: upDown 1.2s ease-in-out infinite;
animation: upDown 1.2s ease-in-out infinite;
}
.facArea .abtBox .Txt .moreBtn a:hover::before {
background-color: #da9c2d;
color: #fff;
}
.facArea .facList {
width: 100%;
position: relative;
-webkit-transform: translateX(35%);
transform: translateX(35%);
margin: 0 -40px;
}
@media (max-width: 1536px) {
.facArea .facList {
margin: 0;
}
}
@media (max-width: 1440px) {
.facArea .facList {
-webkit-transform: translateX(37.3%);
transform: translateX(37.3%);
}
}
@media (max-width: 1366px) {
.facArea .facList {
-webkit-transform: translateX(39.5%);
transform: translateX(39.5%);
}
}
@media (max-width: 1280px) {
.facArea .facList {
-webkit-transform: translateX(42.1%);
transform: translateX(42.1%);
}
}
@media (max-width: 1180px) {
.facArea .facList {
-webkit-transform: translate(0%, 0);
transform: translate(0%, 0);
width: 50%;
margin: 0;
}
}
@media (max-width: 1023px) {
.facArea .facList {
width: 100%;
}
}
.facArea .facItem {
padding: 0 30px;
}
@media (max-width: 1180px) {
.facArea .facItem {
padding: 0;
}
}
.facArea .item {
position: relative;
overflow: hidden;
}
.facArea .item::before {
content: "";
position: absolute;
width: 1px;
height: 280px;
background-color: rgba(0, 0, 0, 0.2);
bottom: 0;
left: 20px;
z-index: 2;
}
@media (max-width: 1180px) {
.facArea .item::before {
left: 30px;
}
}
.facArea .Img img {
width: 100%;
display: block;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.facArea .Txt {
width: 100%;
padding: 50px 40px 0;
color: #888888;
font-size: 15px;
}
@media (max-width: 1180px) {
.facArea .Txt {
padding: 50px 60px 0;
}
}
.facArea .Txt .title {
padding-bottom: 2px;
}
.facArea .Txt .title a {
color: #000;
font-size: 20px;
}
.facArea .Txt .text {
margin: 0 0 15px 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
@media (max-width: 640px) {
.facArea .Txt .text {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
}
.facArea .Txt .text .tit {
color: #da9c2d;
}
@media (max-width: 640px) {
.facArea .Txt .text .tit {
margin: 0px 0 10px 0;
}
}
.facArea .Txt .btnBox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.facArea .Txt .btnBox svg {
width: 21px;
height: 15px;
color: #888888;
margin: 0 0px 0 10px;
}
.facArea .Txt .btnBox .btn {
margin: 0px 20px 0 0;
}
.facArea .Txt .btnBox .btn a {
color: #888888;
padding: 2px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0);
font-family: "Tenor Sans";
font-size: 15px;
display: inline-block;
letter-spacing: 0.5px;
}
.facArea .Txt .btnBox .btn:hover a {
color: #da9c2d;
border-bottom: 1px solid #da9c2d;
letter-spacing: 2px;
}
.facArea .Txt .btnBox .btn:hover svg {
color: #da9c2d;
}
.facArea .slick-arrow {
position: absolute;
-webkit-transform: translate(100%, 100%);
transform: translate(100%, 100%);
top: 394px;
width: 100px;
height: 100px;
cursor: pointer;
background-color: #2f2f2f;
z-index: 2;
}
@media (max-width: 1536px) {
.facArea .slick-arrow {
top: 465px;
}
}
@media (max-width: 1180px) {
.facArea .slick-arrow {
top: 65%;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow {
top: 52%;
width: 60px;
height: 60px;
}
}
@media (max-width: 650px) {
.facArea .slick-arrow {
top: 45%;
}
}
@media (max-width: 540px) {
.facArea .slick-arrow {
top: 40%;
}
}
@media (max-width: 480px) {
.facArea .slick-arrow {
top: 35%;
}
}
@media (max-width: 375px) {
.facArea .slick-arrow {
top: 130px;
}
}
.facArea .slick-arrow:hover {
background-color: #da9c2d;
}
.facArea .slick-arrow::before {
content: "";
position: absolute;
top: 50%;
width: 15px;
height: 15px;
border-left: 1px solid #fff;
border-bottom: 1px solid #fff;
}
.facArea .slick-arrow:focus {
background-color: #da9c2d;
}
.facArea .slick-arrow.slick-prev {
left: -269px;
}
@media (max-width: 1180px) {
.facArea .slick-arrow.slick-prev {
left: -300px;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow.slick-prev {
left: -60px;
}
}
@media (max-width: 768px) {
.facArea .slick-arrow.slick-prev {
left: -60px;
}
}
.facArea .slick-arrow.slick-prev::before {
left: 45%;
-webkit-transform: translateY(-50%) rotate(45deg);
transform: translateY(-50%) rotate(45deg);
}
.facArea .slick-arrow.slick-next {
left: -170px;
}
@media (max-width: 1180px) {
.facArea .slick-arrow.slick-next {
left: -200px;
}
}
@media (max-width: 1023px) {
.facArea .slick-arrow.slick-next {
left: 0px;
}
}
@media (max-width: 640px) {
.facArea .slick-arrow.slick-next {
left: 0px;
}
}
.facArea .slick-arrow.slick-next::before {
right: 45%;
-webkit-transform: translateY(-50%) rotate(-135deg);
transform: translateY(-50%) rotate(-135deg);
}