
@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");


/*========================================================
                      	 標題設定
=========================================================*/

.s-header {
    font-family: "Noto Serif SC", serif;    
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}
.h2-title {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    color: #000;
    z-index: 2;
}
.h2-title:after {
    content: "";
    display: block;
    width: 140px;
    height: 2px;
    background-color: #c9a063;
    margin: 4px auto 4px;
}
.h2-title+p {
    font-size: 0.8rem;
    font-weight: 900;
    color: #494949;
    letter-spacing: 2px;
}

@media (min-width: 992px) {
    .h2-title {
        font-size: 2rem;
    }
    .h2-title+p {
        font-size: 1rem;
    }
}





.h3-title {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 20px;
}
.h3-title i {
    color: #06457e;
    display: inline-block;
    margin-right: 6px;
}
.h4-title {
    color: #000;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.h5-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #e27a14;
}
.h5-title i {
    color: #e96424;
    display: inline-block;
    margin-right: 6px;
    font-size: 0.9rem;
}


/*========================================================
                      	 內頁框架
=========================================================*/

.content-wrap {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    min-height: 400px;
    overflow: hidden;
}

.img-100 {
    width: 100%;
    vertical-align: bottom;
}

/* 麵包屑 */
.breadcrumbs {
	text-align: center;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000;
	background-color: #f7f2ec;
}
.breadcrumbs a {
	display: inline-block;
	color: #000;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    color: #000;
}
.breadcrumbs span {
    display: inline-block;
	margin: 0 7px;
	color: #000;
}


/*========================================================
                         共同設定
=========================================================*/

/* 回目錄頁 */
.btn-back {
	text-align: right;
    margin-top: 30px;
	margin-bottom: 30px;
}
.btn-back a {
    background-color: #111;
	padding: 10px 20px;
	color: #fff;
    border-radius: 5px;
}
.btn-back a:hover {
    background-color: #adadad;
    color: #000;
	text-decoration: none;
}

@media (max-width: 1199px) {
    .btn-back {
        text-align: center;
        margin-bottom: 0;
    }
    .btn-back a {
        display: block;
    }
    .btn-back a i {
        display: none;
    }
}

/* 內頁次選單 */
.navsub-pc {
	font-size: 1.2rem;
	text-align: center;
	margin: 20px 0 30px;
	color: #fff;
}
.navsub-pc ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-pc ul li {
	display: inline-block;
}
.navsub-pc ul li a {
    display: inline-block;
    font-weight: bold;
	padding: 5px 20px;
    margin: 0 7px 20px;
    background-color: #ededed;
	color: #000;
}
.navsub-pc ul li a:hover, .navsub-pc ul li a.active {
    background-color: #111;
    color: #fff;
}




/*========================================================
                   	   	關於逸硯
=========================================================*/


.about-2-item {
    display: flex;
    align-items: center !important;
    margin-bottom: 30px;
}
.about-2-item > div:first-of-type {
    margin-right: 20px;
}
.about-2-item h4 {
    font-size: 1.4rem;
	margin: 0;
	font-weight: bold;
}
.about-2-item p {
    margin: 0;
}

.about-2-info {
    border: 1px solid #ccc;
    padding: 30px;
    background-color: #ededed;
}
.about-2-info p {
    margin: 0;
}





/* 特約客戶 */
.special-customer {

}
.special-customer h2 {
	color: #000;
	text-align: center;
}
.special-customer .case h3 {
	font-size: 1.2rem;
	text-align: left;
	background-color: #020202;
	padding: 10px 20px;
	color: #fff;
    margin-bottom: 10px;
}
.special-customer .case ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.special-customer .case ul li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 100%;
	margin: 0 0 10px 0;
	font-size: 16px;
}


/* 獲獎紀錄 */
.winning-record {

}

.winning-record  ul {
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.winning-record ul li {
	/*display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;*/
	width: 100%;
	margin: 0;
    padding: 5px 30px;
    position: relative;
    border-bottom: 1px solid #ddd;
    color: #333;

}
.winning-record ul li:before {
    content: '\f054';
    font-family: "FontAwesome";
    color: #333;
    position: absolute;
    left: 10px;
    top: 5px;
    z-index: 2;
	font-size: 0.8rem;    
}




/* 尺寸設定 */
@media (max-width: 479px) {
	.special-customer .case ul li {
		margin: 0;
		padding: 5px 0;
		text-align: center;
	}
	.special-customer .case ul li:nth-of-type(2n) {
		background-color: rgba(133,133,133,0.2);
	}
}
@media (min-width: 480px) {
	.special-customer .case ul li {
		width: 47.5%;
		margin: 0 1% 10px 0;
	}
	.special-customer .case ul li:before {
		content: '\f105';
		font-family: "FontAwesome";
		margin-right: 5px;
		margin-left: 5px;
		background-color: #333;
		color: #fff;
		padding: 1px 4px 1px 4px;
	}
}
@media (min-width: 992px) {	
	.special-customer .case ul li {
		width: 31.5%;
		margin: 0 1% 10px 0;
	}
}
@media (min-width: 1200px) {
	.special-customer .case ul li {
		width: 23.5%;
		margin: 0 1% 10px 0;
	}
    .winning-record ul li {
        width: 49%;
    }
}
@media (min-width: 1600px) {
	.special-customer .case ul li {
		width: 18.5%;
		margin: 0 1% 10px 0;
	}
}



/*========================================================
                   	   	设计团队
=========================================================*/

.design-wrap > div {
    max-width: 1170px;
}

.design-item {
    margin-bottom: 80px;
}
.design-item-info h3 {
    background-color: #000;
    color: #fff;
    padding: 10px;
    font-size: 1.4rem;
    font-weight: bold;
}
.design-item-info h4 {
    font-size: 1.2rem;
    font-weight: bold;
}
.design-item-info a {
    color: #000;
    text-decoration: underline;
}





/*========================================================
                   	   	精選作品
=========================================================*/



.case-list [class*="col-"] {
/*	padding: 10px;
	background-color: #fff;
	border: 1px solid #c5c5c5;*/
/*
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	border: 1px solid #c5c5c5;
	width: 100%;
	margin: 0 0 30px 0;
	padding: 10px;
	background-color: #fff;
*/
	
}
.case-item {
	padding: 10px;
	background-color: #fff;
	border: 1px solid #c5c5c5;
    margin: 0 5px 30px 5px;
}
.case-item a .pic {
	position: relative;
}
.case-item a .pic img {
	width: 100%;
	vertical-align: bottom;
}
.case-item a .pic:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.case-item a .pic:before {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    content: '';
    display: inline-block;
	background-color: rgba(0,0,0,0.5);
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: .5s;
}
.case-item .info {
	margin: 10px 5px 0 5px;
}
.case-item .info h3 {
	font-size: 1.1rem;
	color: #000;
	font-weight: bold;
	margin: 15px 0 0 0;
}
.case-item .info p {
	margin: 0;
    font-size: 0.9rem;   
	text-align: right;    
}
.case-item .info p span {

}



/*========================================================
                   	 精選作品內頁設定
=========================================================*/

.case-detail { 
    margin-top: 3rem;
}
.case-detail-text {
    background-color: #ededed;
    padding: 40px;
    margin-bottom: 40px;
}
.case-detail-text h4 {
   font-weight: bold; 
}
.case-detail-text p {
   margin: 0 0 10px 0; 
}
.case-detail-pic {
   margin-bottom: 30px; 
}
.case-detail-pic a {
    display: flex;
	border: 10px solid #fff;
    box-shadow: 0 4px 21px -12px rgb(0 0 0 / 66%);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
    -ms-flex-pack: center !important;
    justify-content: center !important;    
}
.case-detail-pic img {
    width: 100%;
	margin: 0 auto;
}
.case-detail-pic a:hover {
	transform: translateY(-6px);
}
.case-pic-row [class*="col-"] p {
    text-align: center;
    margin: 5px 0 20px;
}

@media (min-width: 576px) {
    .case-detail-pic img {
        width: auto;
        height: 146px;
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .case-detail-pic img {
        height: 126px;
    }
}
@media (min-width: 992px) {
	.case-detail-pic img {
		height: 179px;
	}
}
@media (min-width: 1200px) {
	.case-detail-pic img {
		height: 156px;
	}
}
@media (min-width: 1600px) {
	.case-detail-pic img {
		height: 212px;
	}
}





/*========================================================
                   	   	聯絡資訊
=========================================================*/

.contact-wrap > div {
    max-width: 1170px;
}
.contact-item {
    background-color: #ededed;
	margin-bottom: 40px;
}
.contact-info {
	padding: 50px;
}
.contact-info h3 {
    background-color: #000;
    color: #fff;
    padding: 10px;
    font-size: 1.4rem;
    font-weight: bold;
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li:last-of-type {
	margin-top: 10px;
}
.contact-img img {
	width: 100%;
	vertical-align: bottom;
}


/* 尺寸設定 */

@media (max-width: 991px) {
	.contact-list {
		margin-left: 20px;
		margin-right: 20px;
	}
}
@media (min-width: 992px) {
	.contact-info {
		padding: 0 50px 0 20px ;
	}
}


/*========================================================
                         各類表單
=========================================================*/



/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.form-horizontal label span {
	color: #E90003;
}
.form-horizontal [class*="col-md-"] label:before,
.form-horizontal .mb-3 label:before {
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 900;
    display: inline-block;
    margin-right: 5px;
    color: #111;
}
.form-horizontal .form-control {
	border: 1px solid #ddd;
	background-color: #f9f9f9;
}

.form-control::-moz-placeholder {
	color: #777;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #777;
}
.form-control::-webkit-input-placeholder {
	  color: #777;
}

/* 意見表單 */
.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}


.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}



/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
    border: 1px solid #ccc;
}
.table1 th {
    padding: 10px 10px;
    text-align: center;
    border-right: 1px solid #ddd;
    background-color: #f1f1f1;
}
.table1 td {
    padding: 10px 15px;
    text-align: left;
}
.table1 td i {
    display: inline-block;
    margin-right: 5px;
    color: #e7a21a;
	font-size: 0.6rem;
}

.table-order {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}
.table-order tr {
    border: 1px solid #ddd;
    padding: 5px;
}
.table-order th, .table-order td {
    padding: 10px 1px;
    text-align: center;
}
.table-order th {
    background-color: #d6d6d6;
}
.table-order td span {
    display: block;
}
.table-order td img {
    max-width: 60px;
    max-height: 60px;
}
.table-order tr td:last-of-type a {
    color: #861d11;
}
@media screen and (max-width: 1199px) {
    .table-order {
        border: 0;
    }
    .table-order thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .table-order tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 20px;
    }
    .table-order td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: left;
        position: relative;
        padding-left: 90px;
    }
    .table-order td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        width: 80px;
        margin-right: 10px;
        color: #000;
        font-size: 0.9rem;
        position: absolute;
        left: 0;
        z-index: 2;
        background-color: #d6d6d6;
        text-align: center;
    }
    .table-order td:last-child {
        border-bottom: 0;
    }
    .table-order td img {
        max-width: 100px;
        max-height: 100px;
        margin-left: -90px;
    }
}





/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 10px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #9abdd2;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}

.ul-s2 {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.ul-s2 li {
    border-bottom: 1px solid #ddd;
    padding: 3px 10px;
}
.ul-s2 li span {
    font-weight: bold;
    color: #548235;
}
.ul-s2 li:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: inline-block;
    margin-right: 6px;
}








/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: inline-block;
	position: relative;
}
.picture-effect a:before {
	content: '了解更多';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(206, 26, 26, 0.4);
	pointer-cases: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}




