@charset "utf-8";
/* CSS Document */



/*----- 首頁 -----*/
.indexBanner {
	width: 100%;
	height: auto;
	margin-top: 73px;
	overflow: hidden;
	position: relative;
	clear: both;
	background: none;
}

.indexBanner > figure {
	display: block;
	width: 100%;
	height: auto;
	-webkit-transition: left 1s ease;
	-moz-transition: left 1s ease;
	-o-transition: left 1s ease;
	transition: left 1s ease;
} 

.indexBanner > p {
	position: absolute;
	bottom: 20px; 
	left: 50%;
	z-index: 3;
	-ms-transform: translateX(-50%);  
    -moz-transform: translateX(-50%);  
	-webkit-transform: translateX(-50%);  
	-o-transform: translateX(-50%);
	transform: translateX(-50%);
	width: auto;
	padding: 0;
	margin: 0; 
}
  
.indexBanner > p > a { 
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.3);
	text-indent: 20em; 
	overflow: hidden;
	margin: 0 7px;
}

.indexBanner > p > a.active,
.indexBanner > p > a:hover {
	background-color: #fff;
}


/*----- 子選單區 -----*/
.submenuArea {
	background-color: #279d99;
}

ul.indexSubmenu {
	margin: 0 auto;
	display: table;
	text-align: center;
}

ul.indexSubmenu li {
	float: left;
	position: relative;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
}

ul.indexSubmenu li:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.35);
}

ul.indexSubmenu li a {
	width: 320px;
	padding: 34px 0;
	display: block;
}

ul.indexSubmenu li h3 {
	font-size: 20px;
	color: #fff;
	font-weight: bold;
	margin-top: 8px;
}


/* Sweep To Bottom */
.hvr-sweep-to-bottom {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
  	-webkit-transition-property: color;
  	transition-property: color;
  	-webkit-transition-duration: 0.3s;
  	transition-duration: 0.3s;
}
.hvr-sweep-to-bottom:before {
  	content: "";
  	position: absolute;
  	z-index: -1;
  	top: 0;
  	left: 0;
  	right: 0;
  	bottom: 0;
  	background: #5ac9c5;
  	-webkit-transform: scaleY(0);
  	transform: scaleY(0);
  	-webkit-transform-origin: 50% 0;
  	transform-origin: 50% 0;
  	-webkit-transition-property: transform;
  	transition-property: transform;
  	-webkit-transition-duration: 0.3s;
  	transition-duration: 0.3s;
  	-webkit-transition-timing-function: ease-out;
  	transition-timing-function: ease-out;
}
.hvr-sweep-to-bottom:hover, .hvr-sweep-to-bottom:focus, .hvr-sweep-to-bottom:active {
  	color: white;
}
.hvr-sweep-to-bottom:hover:before, .hvr-sweep-to-bottom:focus:before, .hvr-sweep-to-bottom:active:before {
	-webkit-transform: scaleY(1);
  	transform: scaleY(1);
}



/* 診所介紹 */
.companyArea {
	padding: 95px 0;
	background-image: url(../images/shape_left.png),
	                  url(../images/shape_right.png);
	background-repeat: no-repeat,
                       no-repeat;
	background-position: top left,
                         bottom 55px right;
}

.companyCon {
	width: 46%;
	float: left;
}

.companyImg {
	width: 46%;
	float: right;
}

.companyCon h3 {
	font-size: 42px;
	color: #279d99;
	font-weight: bold;
	margin: -5px 0 12px -2px;
	line-height: 1.3;
}

.companyCon h5 {
	font-size: 26px;
	color: #000;
	font-weight: bold;
	margin-bottom: 30px;
}

.companyTxt {
	font-size: 18px;
	line-height: 1.9;
}

a.moreBtn {
	width: 195px;
	font-size: 18px; 
	color: #279d99;
	font-weight: bold;
	display: block;
	padding: 11px 15px 10px 0;
	margin-top: 50px;
	border-radius: 99em;
	border: 1px solid #279d99;
	cursor: pointer;
	position: relative;
	text-align: center;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

a:hover.moreBtn, 
a:focus.moreBtn {
	color: #fff;
	background-color: #279d99;
}

a.moreBtn i {
	font-size: 16px; 
	position: absolute;
	top: 18px;
	right: 46px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

a:hover.moreBtn i {
	right: 12px;
}



/* 診療項目 */
.medicalArea {
	padding: 60px 0 80px;
	position: relative;
	background: #e3f5f5;
}

.indexTitle {
	font-size: 48px;
	color: #000;
	margin-bottom: 8px;
	text-align: center;
	position: relative;
}

.indexSubtitle {
	font-size: 18px;
	color: #019b96;
	margin-bottom: 45px;
	text-align: center;
	position: relative;
}

.indexSubtitle:before,
.indexSubtitle:after {
	content: " ";
	display: inline-block;
	width: 55px;
	height: 1px;
	background: #1aaca7;
	margin-bottom: 8px;
}

.indexSubtitle:before {
	margin-right: 20px;
} 

.indexSubtitle:after {
	margin-left: 20px;
} 


ul.medicalList {
	width: 90%;
	margin: 0 auto;
	margin-bottom: -60px;
}

ul.medicalList .row {
	margin-left: -25px;
    margin-right: -25px;
	justify-content: center;
}

ul.medicalList li.col-custom {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-left: 25px;
	padding-right: 25px;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 12.5%;
	flex: 0 0 12.5%;
	max-width: 12.5%;
}

ul.medicalList li {
	margin-bottom: 60px;
	border-right: 1px solid #cbcbcb;
}

ul.medicalList li:nth-child(8n),
ul.medicalList li:last-child {
	border-right: none;
}

ul.medicalList li .medicalBox {
	padding: 15px 0 12px; 
	overflow: hidden;
	cursor: pointer;
	border-radius: 10px;
	text-align: center;
	vertical-align: top;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

ul.medicalList li:hover .medicalBox {
	background-color: #279d99;
}

ul.medicalList li .medicalBox h3 {
	font-size: 21px;
	color: #5a5a5a;
	font-weight: bold;
	margin: 15px 10px 0;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

ul.medicalList li:hover .medicalBox h3 {
	font-size: 28px;
	color: #fff;
}

ul.medicalList li .medicalBox figure {
	width: 80px;
    height: 80px;
	margin: 0 auto;
	position: relative;
}

ul.medicalList li .medicalBox figure img {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

ul.medicalList li:hover .medicalBox figure img:last-child {
	opacity: 0;
}



/* 最新消息 */
.hotNewsArea {
	padding: 60px 0 80px;
	position: relative;
	background: #fafafa;
}

a.btn-solid {
	color: #fff;
	margin: 0 auto;
	margin-top: 60px;
	border: 1px solid #279d99;
	background-color: #279d99;
}

a:hover.btn-solid, 
a:focus.btn-solid {
	color: #279d99;
	background-color: transparent;
}



@media (max-width: 1299px){

/*----- 首頁 -----*/
ul.indexSubmenu li a {
	width: 240px;
}

ul.medicalList {
	width: 93%;
}

ul.medicalList .row {
	margin-left: -13px;
    margin-right: -13px;
}

ul.medicalList li.col-custom {
	padding-left: 20px;
	padding-right: 20px;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 16.666667%;
	flex: 0 0 16.666667%;
	max-width: 16.666667%;
}

ul.medicalList li:nth-child(8n) {
	border-right: 1px solid #cbcbcb;
}

ul.medicalList li:nth-child(6n) {
	border-right: none;
}

}



@media (max-width: 1199px){

/*----- 首頁 -----*/


}



@media (max-width: 991px){

/*----- 首頁 -----*/
.indexBanner {
	margin-top: 60px;
}

ul.indexSubmenu li a {
	width: 180px;
	padding: 20px 0 18px;
}

ul.medicalList li.col-custom {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	max-width: 25%;
}

ul.medicalList li:nth-child(6n) {
	border-right: 1px solid #cbcbcb;
}

ul.medicalList li:nth-child(4n) {
	border-right: none;
}


}


@media (max-width: 767px){

/*----- 首頁 -----*/
.indexBanner > figure {
	width: 130%;
	margin-left: -40px;
} 

ul.indexSubmenu li a {
	width: 140px;
}

.companyArea {
	padding: 60px 0 70px;
}

.companyCon {
	width: 100%;
	float: none;
}

.companyImg {
	display: none;
}


}


@media (max-width: 575px){

/*----- 首頁 -----*/
ul.indexSubmenu li {
	float: none;
	width: 49%;
	border-right: none;
}

ul.indexSubmenu li:first-child {
	border-left: none;
}

ul.indexSubmenu li a {
	width: 100%;
}

ul.indexSubmenu li h3 {
	font-size: 18px;
}

.companyCon h3 {
	font-size: 36px;
}

.companyCon h5 {
	font-size: 24px;
}

a.moreBtn {
	margin-top: 45px;
}

.medicalArea {
	padding-bottom: 65px;
}

.indexTitle {
	font-size: 38px;
}

.indexSubtitle {
	margin-bottom: 35px;
}

.indexSubtitle:before,
.indexSubtitle:after {
	display: none;
}

ul.medicalList {
	margin-bottom: -45px;
}

ul.medicalList .row {
	margin-left: -5px;
    margin-right: -5px;
}

ul.medicalList li.col-custom {
	padding-left: 8px;
	padding-right: 8px;
	-webkit-box-flex: 0;
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

ul.medicalList li {
	margin-bottom: 45px;
}

ul.medicalList li:nth-child(4n) {
	border-right: 1px solid #cbcbcb;
}

ul.medicalList li:nth-child(3n) {
	border-right: none;
}

ul.medicalList li .medicalBox h3 {
	font-size: 18px;
}

ul.medicalList li:hover .medicalBox h3 {
	font-size: 24px;
}

ul.medicalList li .medicalBox figure {
	width: 66px;
    height: 66px;
}

}


@media (max-width: 479px){

/*----- 首頁 -----*/
.indexBanner > p {
	bottom: 7px; 
}


}