@charset "utf-8";
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-overflow-scrolling : touch;
}
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 25px;
    color: #4f4f4f;
    font-family: "微軟正黑體", "Helvetica", "Arial", "LiHei Pro", "黑體-繁", sans-serif;
    background-color: white;
}
a {
    color: #4f4f4f;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}
object{
    pointer-events: none;
}

img {
    display: block;
}
ul {
    list-style: none;
}
.info li {
    list-style: inside;
}
p {
    line-height: 30px;
}
input, textarea, button {
    outline: none;
}
.container {
    margin: 0 auto;
    width: 1200px;
    max-width: 100%;
    padding: 0;
}
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}
.block {
    display: inline-block;
}
ol, ul, dl {
    margin: 0 !important;
    padding-left: 0;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.flex {
    display: flex;
}
.pc {
    display: block;
}
.mobile {
    display: none;
}
.rel {
    position: relative;
}
.hight-01 {
    min-height: 45vh;
}
/* header */
header {
    background: white;
}
#logo {
    width: 265px;
    margin: 30px auto;
}

footer {
    background-color: #105998;
    color: white;
    padding: 25px 0;
    margin-top: -6px;
}
footer a {
    color: white;
}
.gotop{ 
	position: fixed;
	bottom: 55px;
	right: 45px;
	cursor: pointer;
    z-index: 10;
}
.menu {
    display: flex;
    justify-content:center;
    margin-bottom: 20px;
    align-items: center;
}
.menu .item {
    margin: 0 40px;
    text-align: center;
}
.menu .item:last-child {
    margin: 0;
}
.fans-icon {
    display: flex;
}
.fans-icon .box {
    margin: 0 10px;
}
.fans-icon .box object {

}

/* mobile menu */
.m-top-logo {
	background-color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
}
.m-top-logo a {
	display: block;
	width: 30%;
	margin: 0 auto;
	padding: 20px;
}
.mobile .menu {
    display: flex;
	box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.15);
}

.mobile .menu a:hover, .mobile .menu .current-active a {
    text-decoration: none;
    color: #c0a55c;
}

.toggle-nav, .leftmenu {
    display: none;
}
.menucontainer {
	display: flex;
}
.mobile .menu {
	position: absolute;
	z-index: 2;
    display: inline-block;
    top: 8px;
}
.toggle-nav {
	display: block;
    position: fixed;
    left: 25px;
	top: 10px;
    color: #105998;
    text-decoration: none;
    line-height: 40px;
    font-size: 30px;
}

.closebtn {
	position: relative;
	margin: 15px 0;
	text-align: left;
	font-size: 1.5em;
}
.closebtn:hover {
	cursor: pointer;
	color: #c0a55c;
}
.leftmenu {
	display: block;
	background-color: white;
	color: #000000;
	height: 100vh;
	width: 250px;
	z-index: 1;
	position: fixed;
	left: -100%;
	top: 0;
	transition: all 1s;
	padding: 0 25px 5%;
}
.leftmenu.active {
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0%;
	transition: all 1s;
}
.leftul li {
	font-weight: bold;
	margin: 16px auto;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}
.leftul li.current-active, .leftul li:hover {
	color: #c0a55c;
}
.leftul li:hover {
	cursor: pointer;
}
.leftul li a {
	display: block;
}
.m-logo {
	width: 80%;
	margin: 0 auto 50px;
}

.banner {
    background-color: #105998;
}
.banner .item {
    background-color: white;
    margin: 0 10px;
    width: 1200px;
}
.banner img {
    opacity: 0.8;
}
.banner .slick-center img {
    opacity: 1;
}
.banner .slick-dots {
    position: relative;
    bottom: 0;
    padding: 25px 0 40px;
}
.banner.slick-dotted.slick-slider {
    margin-bottom: 0;
}


.box-01 {
    background-color: #f1f7f8;
    padding: 80px 0 100px;
}
.title-01 {
    text-align: center;
    font-size: 2.5em;
    font-weight: normal;
    color: #105998;
    position: relative;
}
.title-01 span {
    background-color: #f1f7f8;
    position: relative;
    z-index: 1;
    padding: 0 50px;
}
.title-01::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 8px;
    background-color: #c0a55c;
}
.title-01::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    bottom: 8px;
    background-color: #105998;
}
.table-01 {
    background-color: white;
    padding: 50px 100px;
}
.table-01 .form {
    outline: solid 1px#bfbfbf;
    margin-bottom: 25px;
}
.table-01 .form .list:first-child {
    background-color: #174a73;
    color: white;
    border-bottom: none;
}
.table-01 .form .list:first-child .item.box-2 {
    border-left:none;
}
.table-01 .form .list:last-child {
    border-bottom: none;
}
.table-01 .form .list {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px dashed #bfbfbf;
    color: #9e9e9e;
}

.table-01 .form .list .item.box-1 {
    width: 200px;
    padding: 27px 0;
}
.table-01 .form .list .item.box-2 {
    width: calc(100% - 200px);
    padding: 27px 0;
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    border-left: 1px dashed #bfbfbf;
}
.table-01 .form .list .item.box-2 .day {
    width: 14%;
}
.table-01 .form .list .item {
    align-content: stretch;
}
.table-01 .box-2 span {
    display: block;
}
.box-01-b {
    margin-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px dashed #dcdcdc;
}
.box-01-b .block {
    float: left;
    width: 50%;
}
.title-02 {
    font-size: 22px;
    font-weight: 500;
}
.title-02 object {
    margin-right: 10px;
}
.title-03 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}
.title-03::before {
    content: '';
    display: block;
    float: left;
    width: 8px;
    height: 8px;
    margin: 8px;
    background-color: #4f4f4f;
    border-radius: 50%;
}
.box-01-c {
    margin-top: 30px;
    display: flex;
}
.box-01-c .item {
    float: left;
    width: 40%;
}
.box-01-c .item:last-child {
    width: 60%;
}
.box-01-c .item object {
    float: left;
    margin-right: 25px;
}
.box-01-c .item p {
    font-size: 1.4em;
    margin: 0;
    line-height: 1.7em;
    color: #105998;
}
.box-01-c .item p a { color: #105998; }
.box-01-c .item p a:hover { text-decoration: underline; }

.box-02 {
    margin: 80px auto;
}
.title-04 {
    display: flex;
    align-items: center;
    font-size: 2em;
    font-weight: 400;
    box-shadow: 0 0 10px #e4e4e4;
    color: #105998;
    background-color: white;
}
.title-04 object {
    background-color: #105998;
    margin-right: 30px;
}
.title-04 .eng {
    margin-top: 9px;
    margin-left: 15px;
    font-size: 0.6em;
}

.witness {
    margin-top: 80px;
    display: inline-block;  /*flex*/
    justify-content: space-between;
}
.witness > a {
    width: calc(33% - 10px);
    margin-right: 10px;
}
.witness .item {
    position: relative;
    border: 10px solid #f1f7f8;
    margin-bottom: 0 !important;
}
.witness .item .txt:not(:hover):not(:active) {
    opacity: 0;
}
.witness .item .txt {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100% !important;
    box-sizing: border-box;
    padding-top: 100%;
    text-align: center;
    /*
    background: rgb(93,88,80,0.5);
    background: -moz-linear-gradient(45deg,  rgba(93,88,80,0.5) 0%, rgba(255,255,255,0.5) 100%);
    background: -webkit-linear-gradient(45deg,  rgba(93,88,80,0.5) 0%,rgba(255,255,255,0.5) 100%);
    opacity: 1;
    transition: ease-in-out 0.5s;
    */
}
.witness .item .img {
    width: 100% !important;
    margin-right: 0 !important;
}
.witness a {
    color: white;
    margin-bottom: 50px;
}

.btn-01 {
    text-align: center;
}
.btn-01 a {
    display: block;
    border: 1px solid #255775;
    color: #255775;
    width: 185px;
    padding: 15px 0;
    border-radius: 50px;
    margin: 0 auto;
    position: relative;
}
.btn-01 a:after {
    content: '▸';
    display: block;
    position: absolute;
    right: 15px;
    top: 14px;
    font-size: 1.5em;
}
.news {
    margin: 80px 0 50px;
}
.news .item-01 {
    float: left;
    width: 50%;
    margin-right: 5%;
}
.news .item-01 p {
    font-size: 1.2em;
}
.news .item-01 .sort {
    background-color: #c0a55c;
    padding: 5px 20px;
    position: absolute;
    color: white;
    top: 40px;
}
.news .item-02 {
    float: left;
    width: calc(40% - 1px);
    border-left: 1px solid #bfbfbf;
    padding-left: 5%;
}
.news .item-02 .item {
    padding-left: 25px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #bfbfbf;
}
.news .item-02 .item:last-child {
    margin-bottom: 0;
}
.news .item-02 .day {
    margin-bottom: 15px;
    color: #105998;
}
.news .item-02 h5 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 400;
}
.fb-page {
    float: left;
    width: 320px;
}
.f-sitemap {
    float: left;
    width: calc(100% - 320px);
    margin-top: 23px;
}
.f-sitemap ul {
    display: flex;
    justify-content: space-evenly;
}
.f-sitemap ul li {
    list-style-type: disc;
    list-style-position: inside;
}

.title-05 {
    background-color: #105998;
    padding: 20px 0 50px;
    color: white;
}
.title-05 a {
    color: white;
}
.sitemap ul {
    display: flex;
}

.sitemap ul li {
    font-size: 0.9em;
    line-height: 22px;
    margin-right: 4px;
}
.title-05 h1 {
    display: flex;
    align-items: flex-end;
    font-size: 30px;
    font-weight: 400;
    margin: 0;
}
.title-05 h1 .eng {
    margin-left: 10px;
    font-size: 24px;
}
.box-03 {
    margin: 80px 0;
}
.box-03 .item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
}
.box-03 .item .img {
    width: 50%;
    margin-right: 5%;
}
.box-03 .item .txt {
    width: 45%;
}
.box-03 .item .txt h4 {
    font-size: 1.5em;
    color: #105998;
    font-weight: 400;
}
.box-03 .item:nth-child(2n) .img {
    width: 45%;
    margin-right: 0;
}
.box-03 .item:nth-child(2n) .txt {
    width: 50%;
    margin-right: 5%;
}
.title-06 {
    padding-bottom: 15px;
    border-bottom: 5px solid #105998;
    font-size: 1.8em;
    font-weight: 400;
}
.title-06 object {
    margin-right: 15px;
}
.title-06 .eng, .title-07 .eng {
    font-size: 0.8em;
    margin-left: 10px;
}
.title-07 {
    padding-bottom: 15px;
    border-bottom: 5px solid #776023;
    font-size: 1.8em;
    font-weight: 400;
    color: #776023;
    display: flex;
    justify-content: space-between;
}
.title-07 .day {
    font-size: 16px;
}
.title-08 {
    padding-bottom: 15px;
    border-bottom: 5px solid #105998;
    font-size: 1.8em;
    font-weight: 400;
    color: #105998;
    display: flex;
    justify-content: space-between;
}
.title-08 .day {
    font-size: 16px;
}
.fancybox-img {
    margin: 80px auto 0;
}
.fancybox-img .item {
    width: 22%;
    margin-right: 4%;
    text-align: center;
    margin-bottom: 80px;
    float: left;
}
.fancybox-img .item:nth-child(4n) {
    margin-right: 0;
}
.fancybox-img .item a {
    display: block;
    outline: 5px solid #c0a55c;
}
.fancybox-img .item a img {
    opacity: 0.5;
}
.fancybox-img .item a:not(:hover):not(:active) {
    outline: 0px;
}
.fancybox-img .item a:not(:hover):not(:active) img {
    opacity: 1;
}
.fancybox-img .item h5 {
    font-size: 1em;
    margin: 10px 0;
    color: #105998;
}
.fancybox-img .item p {
    margin: 0 auto 10px;
}
.news-list {}
.news-list ul li {
    padding: 25px 40px 40px;
    padding-bottom: 40px;
    display: flex;
    border-bottom: 1px solid #bfbfbf;
}
.news-list ul li .day {
    width: 150px;
    color: #105998;
}
/*--分頁按鈕設定--*/
.page-btn {
    margin: 50px auto;
    text-align: center;
}
ul.pagination {
	display: inline-block;
	padding: 0;
	margin: 0;
}
ul.pagination li {
	display: inline;
}
ul.pagination li a,
ul.pagination li span {
	color: #979797;
	float: left;
	padding: 8px 5px;
	text-decoration: none;
	transition: background-color .3s;
	margin: 8px 5px 0;
}
ul.pagination li:first-child a,
ul.pagination li:last-child a {
	color: #105998;
}
ul.pagination li span.active {
	color: #105998;
    font-weight: bold;
}
ul.pagination li a:hover:not(.active) {
	color: #979797;
}
.news-list2 {
    display: flex;
    flex-wrap: wrap;
}
.news-list2 .item {
    margin: 50px 25px 0;
    background-color: white;
    width: calc(33% - 50px);
}
.news-list2 .item .txt {
    padding: 25px;
}
.news-list2 .item .txt h5 {
    margin: 0;
    font-size: 1em;
    color: #4f4f4f;
}
.edit {
    margin: 50px 0 0;
}
.team-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.team-list .dr {
    width: 30%;
    margin-top: 50px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px #d4d4d4;
}
.team-list .dr .txt {
    margin: 25px 25px 35px;
}
.team-list .dr .txt .branch {
    font-size: 1em;
    color: #105998;
}
.team-list .dr .txt .branch a {
    font-size: 1em;
    color: #105998;
}
.team-list .dr .txt .branch a:hover {
    font-size: 1em;
    color: #105998;
    text-decoration: underline;
}
.team-list .dr .txt h3 {
    font-size: 1.5em;
    font-weight: 400;
    color: #105998;
    margin: 10px 0 15px;
}
.dr-list {
    margin-top: 15px;
    min-height: 150px;
}
.dr-list ul li {
    margin: 5px;
    color: #646464;
}

.dr-list .slick-prev:before, .dr-list .slick-next:before {
    color: #c0a55c;
}
.dr-list .slick-next:before {
    content: '▶';
}
.dr-list .slick-prev:before {
    content: '◀';
}
.dr-list .slick-prev {
    right: 25px;
    left: auto;
    bottom: -35px;
    top: auto;
}
.dr-list .slick-next {
    right: 0;
    top: auto;
    bottom: -35px;
}
.dr-list .list {
    width: 22vw;
    padding: 5px;
}
.case-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.case-list .item {
    width: 45%;
    text-align: center;
    display: block;
    margin: 50px 0 30px;
}
.case-list .item .img, .case-list .item .txt, .case-list .item:nth-child(2n) .img, .case-list .item:nth-child(2n) .txt {
    width: 100%;
}
.case-list .item .txt h5 {
    font-size: 1em;
    margin-top: 10px;
}
.title-09 {
    padding-bottom: 20px;
    border-bottom: 3px solid #105998;
    font-size: 1.8em;
    font-weight: 400;
    color: #105998;
    display: flex;
    justify-content: space-between;
}
.title-09::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    bottom: 5px;
    border-bottom: 1px solid #c0a55c;
}
.title-09 .day {
    font-size: 16px;
}
.case-edit {}
.case-edit .txt {
    float: left;
    width: 45%;
    margin-right: 5%;
}
.case-edit .img {
    float: left;
    width: 50%;
}
.contact .title-02 {
    margin: 30px 0 15px;
}
.service {
}
.service .item {
    background-color: white;
    margin: 25px auto 65px;
}
.service .item .img, .service .item .txt {
    width: 50%;
    float: left;
    box-sizing: border-box;
}
.service .item .txt {
    padding: 50px 50px 25px;
}
.service .item h3 {
    margin: 0;
    color: #105998;
    font-weight: 400;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}
.service .item h3:after {
    content: '';
    display: block;
    margin-top: 15px;
    width: 150px;
    height: 2px;
    background-color: #c0a55c;
}
@media screen and (min-width: 240px) and (max-width: 899px) {
.pc {
    display: none;
}
.mobile {
    display: block;
}
.container {
    width: 90%;
    margin: 0 5%;
    max-width: 90%;
}
.table-01 {
    padding: 50px 5%;
}
.table-01 .form .list .item.box-1 {
    /*width: 35px;*/
    padding: 0;
}
.table-01 .form .list .item.box-2 {
    width: calc(100% - 85px);
}
.box-01-b .block {
    float: none;
    width: 100%;
}
.box-01-c {
    flex-wrap: wrap;
}
.box-01-c .item {
    float: none;
    width: 100%;
    margin-bottom: 25px;
}
.box-01-c .item:last-child {
    width: 100%;
}
.witness {
    flex-wrap: wrap;
}
.witness a {
    width: 46%;
}
.witness .item .txt p {
    margin: 0;
}
.news .item-01 {
    float: none;
    width: 100%;
    margin-right: 0;
}
.news .item-02 {
    float: none;
    width: 100%;
    border-top: 1px solid #bfbfbf;
    border-left: none;
    padding-left: 0;
    padding-top: 5%;
}
.fb-page {
    float: none;
    width: 100%;
}
.f-sitemap {
    float: none;
    width: 100%;
    margin-top: 35px;
}
.f-sitemap ul {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.f-sitemap ul li {
    width: 50%;
    margin-bottom: 15px;
}
.title-05 {
    margin-top: 75px;
}
.box-03 .item, .team-list {
    flex-wrap: wrap;
}
.box-03 .item .img, .box-03 .item .txt, .box-03 .item:nth-child(2n) .txt, .box-03 .item:nth-child(2n) .img {
    width: 100%;
    margin-right: 0;
}
.fancybox-img .item {
    width: 46%;
    float: left;
}
.team-list .dr {
    width: 100%;
}
.service .item .img, .service .item .txt {
    width: 100%;
    float: none;
}
.case-edit .txt {
    float: none;
    width: 100%;
    margin-right: 0;
}
.case-edit .img {
    float: none;
    width: 100%;
}
.news-list2 .item {
    margin: 25px 0;
    width: 100%;
}
.news-list ul li {
    padding: 25px 15px;
    padding-bottom: 25px;
    flex-wrap: wrap;
}
.news-list ul li .day {
    width: 100%;
    color: #105998;
    margin-bottom: 5px;
}
.dr-list .list {
    width: 83vw;
}
.title-07,
.title-08,
.title-09 { line-height: 1.4em; font-size: 1.4em; }
.title-07 .day,
.title-09 .day,
.title-08 .day { width:100px; font-size: 0.6em; }
}
@media screen and (min-width: 240px) and (max-width: 420px) {
    .gotop img {
        width: 50px;
    }
    .witness a {
        width: 100%;
    }
    .case-list .item {
        width: 100%;
    }
    .title-04 {
        font-size: 1.4em;
    }
    .title-07,
    .title-08,
    .title-09 { line-height: 1.2em; font-size: 1.2em; }
    .title-09 .day,
    .title-08 .day { font-size: 0.4em; }
}

/* 智仁牙醫 */
:root {
    --brand-blue: #105998;
    --brand-gold: #c0a55c;
    --brand-mist: #79b4bc;
    --brand-paper: #f1f7f8;
}
#logo img, .m-top-logo img, .m-logo img, .footer-logo img { display: block; max-width: 100%; height: auto; }
#logo a { display: block; }
.m-top-logo a { width: min(55%, 200px); padding: 12px 0; }
.m-logo img { margin-inline: auto; }
.footer-logo { display: inline-block; margin-bottom: 14px; }
.clinic-hero {
    background: linear-gradient(116deg, #0a3c68, var(--brand-blue));
    border-bottom: 5px solid var(--brand-gold);
    color: white;
}
.clinic-hero-inner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr minmax(190px, 340px);
    align-items: center;
    gap: clamp(26px, 6vw, 96px);
    padding-block: clamp(42px, 7vw, 96px);
}
.clinic-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: .08em; line-height: 1.18; }
.clinic-hero p { margin: 12px 0 24px; font-size: clamp(1rem, 2vw, 1.45rem); color: #e6f2f4; }
.clinic-hero a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--brand-mist);
    border-radius: 4px;
    color: white;
}
.clinic-hero a:hover, .clinic-hero a:focus-visible { background: white; color: var(--brand-blue); }
.clinic-hero img { width: 100%; height: auto; border-radius: 12px; }
.clinic-empty { padding: 20px; color: #3b5265; }
.news .news-feature { min-height: 150px; padding: 72px 24px 24px; background: var(--brand-paper); }
@media (max-width: 700px) {
    .clinic-hero-inner { grid-template-columns: 1fr; text-align: center; padding-inline: 20px; }
    .clinic-hero img { width: min(62%, 220px); justify-self: center; }
}

.title-02 object { filter: sepia(.52) saturate(.65); }
@media (max-width: 899px) {
    body > main { padding-top: 90px; }
    .m-top-logo { height: 90px; display: grid; place-items: center; }
    .m-top-logo a { width: min(55vw, 200px); }
}
