@charset "utf-8";

body {
  margin: 0px;
  font-size: 1.01em;
  line-height: 1.5em;
  letter-spacing: 2px;
  color: #333;
  font-family: "Roboto", "微軟正黑體", sans-serif;
}

img {
  border: none;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  *border-collapse: expression('separate', cellSpacing='0');
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
}

table tr td {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

/*表單設定*/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*font-family: "Lato", "微軟正黑體", sans-serif;*/
}

select {
  border: 1px solid #ccc;
  padding: 8px 12px;
  color: #666;
}

input {
  border: 1px solid #ccc;
  padding: 8px 15px;
  color: #666;
}

textarea {
  border: 1px solid #ccc;
  padding: 3px 12px;
  color: #666;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button {
  -webkit-appearance: none;
}

@media (min-width: 959px) {

  /*選單*/
  #navmenu {
    display: none;
  }

  #menu-btn {
    display: none;
  }

  #toolbarnav {
    display: none;
  }

  /*主內容*/
  #content {
    /*padding-top: 100px;*/
  }

  #pagebody {
    margin: 0;
  }

  #w {
    margin: 0;
  }
}

/*統一設定*/
.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background: url(../images/loader.gif) center no-repeat #fbfbfb;
}

.container {
  margin: 0 auto;
  padding: 10px;
  max-width: 1200px;
  width: auto !important;
  width: 980px;
}

.container02 {
  margin: 0 10%;
  width: 80%;
}

.container03 {
  width: 900px;
  margin: 0 auto;
}

.rel {
  position: relative;
}

.web {
  display: block;
}

.mobile {
  display: none;
}

/*首頁彈出區塊*/
.popup {
  display: none;
  /* 預設不顯示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 99999999;
}

.popup-content {
  position: relative;
}

button.closeBtn {
  all: unset;
  /* 移除預設按鈕樣式 */
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 50px;
  cursor: pointer;
  /* 建議加上游標提示 */
  background: #fff;
  border: 1px solid #ccc;
  width: 35px;
  height: 35px;
  text-align: center;
  font-size: 1.2em;
  padding: 0 0 0 4px;
  line-height: 35px;
}


/*--------------------------上資料專區--------------------------*/
/*圖文左右用*/
.left {
  float: left;
}

.right {
  float: right;
}

.w35 {
  width: 35%;
}

.w45 {
  width: 45%;
}

.w50 {
  width: 49%;
}

.w55 {
  width: 55%;
}

.w65 {
  width: 65%;
}

/*圖文排版用*/
.p25 {
  padding: 25px;
}

.p25top {
  padding-top: 25px;
}

.nopadding {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.milktea {
  color: #d39f75;
}

hr {
  margin-top: 35px;
}

blockquote {
  border-left: 2px solid #ccc;
  padding: 5px 5px 5px 20px;
}

/*表格*/
table.surgery-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Noto Sans TC", sans-serif;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

table.surgery-table th,
table.surgery-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
}

table.surgery-table th {
  background-color: #f7bfbf;
  color: #333;
  font-size: 1.1rem;
}

table.surgery-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table.surgery-table caption {
  caption-side: top;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

table.surgery-table b {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2em;
}

/*醫美項目+美麗專欄ckediter共用*/
#treatments {
  margin-top: 50px;
  padding-bottom: 50px;
}

#treatments h2 {
  font-family: "Noto Serif TC", serif;
  color: #666666;
  font-size: 1.5em;
  padding-top: 25px;
  line-height: 35px;
}

#treatments h3 {
  padding-top: 25px;
}

#treatments ul {
  margin-top: 15px;
  margin-left: 15px;
}

#treatments li {
  list-style-type: none;
  position: relative;
}

#treatments li::before {
  content: ' · ';
  position: absolute;
  top: 0;
  left: -15px;
}

#treatments a {
  color: #d39f75;
  font-weight: 600;
}

#treatments img {
  border-radius: 10px;
}

#treatments ul,
dl {
  margin-left: 20px;
}

#treatments dt {
  font-weight: bold;
  margin-top: 1em;
}

/*合規資訊區塊*/
.medical-info {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  background-color: #f9f9f9;
  padding: 16px;
  border-left: 4px solid #ccc;
  margin: 25px 0 0 0;
  border-radius: 6px;
}

.medical-info li {
  margin: 4px 0;
  list-style-type: none;
}

.medical-info a {
  color: #a8734d;
  ;
  text-decoration: underline;
}

.medical-info a:hover {
  text-decoration: none;
}

/*醫美項目-療程注意事項*/
#precautions a {
  color: #a8734d;
  font-weight: 800;
}

/*影音專區ckediter用*/
#video-article {
  padding-bottom: 50px;
}

#video-article h2 {
  font-family: "Noto Serif TC", serif;
  color: #666666;
  font-size: 1.5em;
  padding-top: 25px;
  line-height: 35px;
}

#video-article h3 {
  padding-top: 25px;
}

#video-article ul,
#video-article ol {
  margin-top: 15px;
  margin-left: 15px;
  list-style-type: none;
}

#video-article a {
  color: #d39f75;
  font-weight: 600;
}

#video-article img {
  border-radius: 0;
}

/*蝴蝶電波-尿失禁*/
.ui-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 900px;
  width: 100%;
  margin: 25px 0;
}

.level-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px 10px;
  text-align: center;
  width: calc(25% - 15px);
  /* Approximately 4 cards per row with gap */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* For the top rounded corners effect */
}

.level-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #f7bfbf;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  z-index: 0;
}

.level-title {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 5px;
  font-weight: bold;
  z-index: 1;
  /* Ensure text is above the ::before pseudo-element */
  position: relative;
  /* Required for z-index to work */
  padding-top: 0 !important;
}

.level-severity {
  font-size: 1em;
  color: #666;
  margin-bottom: 15px;
  z-index: 1;
  /* Ensure text is above the ::before pseudo-element */
  position: relative;
  /* Required for z-index to work */
}

.level-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.level-content img {
  max-width: 100px;
  /* Adjust image size as needed */
  height: auto;
  margin-bottom: 15px;
}

.level-description {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
  text-align: left;
  padding: 0 10px;
  /* Add some padding to the description */
}

@media (max-width: 1024px) {
  .level-card {
    width: calc(50% - 15px);
    /* 2 cards per row on tablets */
  }
}

@media (max-width: 768px) {
  .level-card {
    width: calc(100% - 15px);
    /* 1 card per row on mobile */
  }
}


/*案例圖片-眼袋*/
.case-gallery {
  display: grid;
  gap: 15px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 25px auto;
  grid-template-columns: repeat(3, 1fr);
  /* 預設桌機 3 欄 */
}

.case-gallery .gallery img {
  /*width: 100%;
 /* height: 350px; /* 固定高度，可自行調整 */
  /*object-fit: cover; /* 保持比例裁切 */
  border-radius: 15px;
}

/* 平板寬：2 欄 */
@media (max-width: 768px) {
  .case-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手機寬：1 欄 */
@media (max-width: 480px) {
  .case-gallery {
    grid-template-columns: 1fr;
  }
}


/*--------------------------上資料專區END--------------------------*/

/*上方*/
header {
  width: 100%;
  height: 85px;
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  z-index: 250;
}

header.fix {
  width: 100%;
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  height: 50px;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-bottom: none;
  background: #272727;
}

#logo {
  position: absolute;
  top: 5px;
  left: 15px;
  background-image: url(../images/logo.png);
  width: 220px;
  height: 70px;
}

#logo a {
  display: block;
  width: 220px;
  height: 70px;
}

header.fix #logo {
  position: absolute;
  top: 0px;
  left: 0px;
  -moz-background-size: 156px 48px;
  -webkit-background-size: 156px 48px;
  -o-background-size: 156px 48px;
  background-size: 156px 48px;
  background-repeat: no-repeat;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

header.fix #logo a {
  width: 156px;
  height: 48px;
}

header.fix .contact-us-btn a {
  color: #fff;
}

#navbg {
  background-image: linear-gradient(rgba(110, 98, 83, 0.8) 0%,
      /* 深棕色＋透明度 */
      rgba(110, 98, 83, 0.4) 40%,
      /* 中間過渡 */
      rgba(110, 98, 83, 0) 70%
      /* 完全透明 */
    );
  height: 250px;
  width: 100%;
  position: absolute;
  z-index: 100;
}

/*連結*/
nav {
  z-index: 250;
  line-height: 50px;
  margin-top: 20px;
}

nav li {
  list-style-type: none;
}

header.fix nav {
  margin-top: 0;
  height: 50px;
}

header.fix nav li,
header.fix nav li a {
  color: #fff;
  line-height: 50px;
}

header.fix nav .submenu {
  top: calc(50px + 1px);
}

header.fix .headerbg,
header.fix .headerbg02 {
  display: none;
}

header.fix .search-icon {
  right: 120px;
  width: 20px;
}

/*第一層*/
nav>ul {
  text-align: right;
}

.menu>li {
  display: inline-block;
}

.menu>li>a {
  position: relative;
  display: block;
  padding: 0px 35px;
  opacity: 0.9;
  color: #fff;
}

.menu>li>a:hover,
.menu>li>a.current {
  opacity: 1;
}

.menu>li>a:hover:before,
.menu>li>a.current:before {
  width: 100%;
  opacity: 1;
}

.menu>li>a:before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -1px;
  background-repeat: no-repeat;
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(212, 175, 55, 0)), color-stop(50%, #d4af37), to(rgba(212, 175, 55, 0)));
  background-image: -webkit-linear-gradient(left, rgba(212, 175, 55, 0) 0%, #d4af37 50%, rgba(212, 175, 55, 0) 100%);
  background-image: -o-linear-gradient(left, rgba(212, 175, 55, 0) 0%, #d4af37 50%, rgba(212, 175, 55, 0) 100%);
  background-image: linear-gradient(90deg, rgba(212, 175, 55, 0) 0%, #d4af37 50%, rgba(212, 175, 55, 0) 100%);
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  opacity: 0;
}

.menu li:hover .submenu {
  display: block;
}

/*第二層*/
.menu .submenu {
  display: none;
  position: absolute;
  left: 0px;
  top: 70px;
  z-index: 99;
  text-align: right;
  width: 100%;
  background-color: rgba(5, 10, 16, 0.75);
}

.menu .submenu .flexBox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 30px;
  width: 960px;
  margin: 0 auto;
  justify-content: center;
}

.menu .submenu .flexBox-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
}

.menu .submenu .flexBoxlist {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 30px;
  flex: 1;
  margin: 0 auto;
  text-align: left;
  float: left;
}

.menu .submenu .flexBoxlist {
  display: block;
}

.menu .submenu a {
  position: relative;
  display: inline-block;
  padding: 0 35px;
  height: 40px;
  line-height: 40px;
  font-size: 15px;
  color: #EBEBEB;
  opacity: 0.5;
  white-space: nowrap;
}

.menu .submenu a:hover {
  opacity: 1;
}

.menu .submenu a:not(:first-child):before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background-color: rgba(255, 255, 255, 0.2);
}

.menu .submenu b,
.menu .submenu b>a {
  position: relative;
  display: inline-block;
  padding: 0 35px;
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-size: 15px;
  color: #666;
  color: #fff;
  white-space: nowrap;
}

/*選單上關於京萃位置*/
.menu-item.about {
  position: relative;
  padding-bottom: 20px;
  /* 增加 hover 緩衝區，避免閃退 */
  cursor: pointer;
}

.about-submenu {
  display: block;
  opacity: 0;
  transform: translateY(4px);
  /* 改小一點，讓下滑幅度少一點 */
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item.about:hover .about-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.about-submenu li {
  margin: 5px 0;
}

.about-submenu a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
}

/* 全網側邊 - 上下排列彩色膠囊版 */
#sider-social {
  position: fixed;
  top: 30%;
  right: 15px;
  z-index: 150;
}

#sider-social ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#sider-social li {
  margin-bottom: 15px;
}

#sider-social li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding: 10px 0;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all .3s ease-in-out;
}

#sider-social li a i {
  font-size: 1.6em;
  margin-bottom: 4px;
  line-height: 1;
}

#sider-social li a span {
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

/* 獨立顏色設定 */
#sider-social li a.btn-line {
  background-color: #52d05a;
}

#sider-social li a.btn-line:hover {
  background-color: #45b54d;
}

#sider-social li a.btn-ig {
  background-color: #e64b73;
}

#sider-social li a.btn-ig:hover {
  background-color: #d13d64;
}

#sider-social li a.btn-fb {
  background-color: #4267b2;
}

#sider-social li a.btn-fb:hover {
  background-color: #365899;
}

#sider-social li a.btn-contact {
  background-color: #d39f75;
}

#sider-social li a.btn-contact:hover {
  background-color: #c29148;
}

#sider-social li a:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}



/*首頁banner輪播*/
#banner {
  display: block;
}

#banner-m {
  display: none;
}

#banner .owl-nav {
  display: none;
}

/*首頁-熱門醫美療程-上方*/
#index-treatments-top {
  background-image: url("../images/spiral-bg.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  text-align: center;
  margin-top: -25px;
}

#index-treatments-top h3 {
  font-size: 3.8em;
  font-family: "EB Garamond", serif;
  color: #666666;
  padding-top: 150px;
  padding-bottom: 25px;
  font-weight: 500;
}

#index-treatments-top h2 {
  font-size: 1.1em;
  color: #a38a69;
  padding-bottom: 100px;
  letter-spacing: 0.05em;
}

/*首頁-熱門醫美療程*/
#index-treatments {
  margin-top: 25px;
  margin-bottom: 100px;
}

#index-treatments .item {
  text-align: center;
}

#index-treatments .item .img {
  margin-bottom: 10px;
  /*box-shadow: 0 0 20px 5px rgba(0,0,0,.15);*/
  border: 1px solid #eee;
}

#index-treatments h2 {
  font-size: 1.5em;
  color: #848484;
  font-family: "Noto Serif TC", serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

#index-treatments h3 {
  font-size: 0.85em;
  color: #848484;
  line-height: 1.7em;
  font-weight: 500;
  padding: 5px;
}

#index-treatments h2 a {
  color: #848484;
}

#index-treatments h3 a {
  color: #848484;
}

/*中間那則設計*/
#index-treatments .owl-item.center h2 a {
  color: #2a2a2a;
}

#index-treatments .owl-item.center h3 a {
  color: #2a2a2a;
}


/*首頁關於*/
#index-about {
  background-image: url("../images/index-about-bg.jpg");
  background-size: cover;
  padding: 0 0 100px 0;
  position: relative;
}

#index-about .left {
  float: left;
  width: 50%;
  color: #666666;
}

#index-about .left .text {
  position: absolute;
  top: 50%;
  margin-top: -200px;
  text-align: center;
  font-family: "Noto Serif TC", serif;
}

#index-about .left .text h3 {
  font-weight: 300;
  margin-bottom: 20px;
}

#index-about .left .text h2 {
  font-weight: 500;
  padding-bottom: 10px;
  line-height: 30px;
}

#index-about .left .text b {
  font-weight: 300;
}

#index-about .left .text h4 {
  font-size: 4em;
  font-weight: 500;
  padding: 120px 0 25px 0;
  font-family: "EB Garamond", serif;
  position: relative;
}

#index-about .left .text h4::before {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  background: #b8b8b8;
  top: 20px;
  left: 270px;
}

#index-about .left .text h4::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 80px;
  background: #b8b8b8;
  top: 200px;
  left: 270px;
}

#index-about a {
  display: block;
  margin: 100px auto 0 auto;
  padding: 20px 0;
  width: 230px;
  text-align: center;
  border: 1px solid #6a6260;
  border-radius: 3rem;
  color: #6a6260;
  font-size: 1.3em;
}

#index-about a:hover {
  background: #000;
  color: #fff;
  transition: all 0.5s ease-in-out;
}

/*首頁關於圖片們*/
#index-about .right {
  float: right;
  width: 50%;
}

#index-about .right .environment {
  width: 80%;
  max-width: 560px;
  border-radius: 3rem;
  overflow: hidden;
}

#index-about .right .environment img {
  width: 100%;
}

#index-about .right .p1 {
  margin-top: 50px;
  z-index: -1;
}

#index-about .right .p2 {
  transform: scale(0.8);
  z-index: 1;
  margin-top: -100px;
  margin-bottom: -100px;
  margin-left: -150px;
  border: 1px solid #fff;
}

#index-about .right .p1 {
  z-index: -1;
}

@media (min-width: 959px) and (max-width: 1650px) {
  #index-about .right .p2 {
    margin-left: -100px;
  }
}

@media (min-width: 959px) and (max-width: 1550px) {
  #index-about .right .p2 {
    margin-left: -50px;
  }
}

/*首頁影專區*/
#index-case {
  background-image: url("../images/index-case.jpg");
  height: 600px;
  background-position: left;
  background-repeat: no-repeat;
  padding: 250px 15px 15px 15px;
  text-align: right;
  position: relative;
}

#index-case .text {
  position: absolute;
  top: 30%;
  right: 30%;
}

#index-case .text h2 {
  font-size: 4em;
  line-height: 1em;
  font-weight: 500;
  font-family: "EB Garamond", serif;
  color: #fff;
  padding-bottom: 35px;
  text-shadow:
    0 0 5px #ba9f71, 0 0 10px #ba9f71, 0 0 15px #ba9f71, 0 0 20px #ba9f71;
}

#index-case .text h3 {
  font-size: 1.3em;
  color: #a38158;
  padding-bottom: 15px;
  position: relative;
}

#index-case .text h3::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 320px;
  width: 1px;
  height: 20px;
  background: #a38158;
}

#index-case .text h3 span {
  padding-right: 25px;
}

#index-case .text a {
  display: block;
  width: 230px;
  margin: 50px auto 0 auto;
  padding: 20px;
  text-align: center;
  border: 1px solid #6a6260;
  border-radius: 3rem;
  color: #6a6260;
  font-size: 1.3em;
  font-family: "Noto Serif TC", serif;
}

#index-case .text a:hover {
  background: #000;
  color: #fff;
  transition: all 0.5s ease-in-out;
}

/*首頁醫師*/
#index-doctor {
  background-image: url("../images/index-doctor-bg.jpg");
  background-repeat: no-repeat;
  background-position: left bottom;
  padding: 150px 0;
}

#index-doctor .left {
  float: left;
  min-width: 400px;
  padding-top: 100px;
}

#index-doctor .left h3 {
  font-size: 4em;
  font-weight: 500;
  color: #666666;
  font-family: "EB Garamond", serif;
  margin-bottom: 10px;
}

#index-doctor .left h2 {
  font-size: 1em;
  color: #666666;
  padding-top: 15px;
  padding-left: 15px;
}

/*醫師輪播*/
#index-doctor .right {
  float: right;
  width: calc(100% - 400px);
}

#index-doctor .right .item {
  margin: 1%;
}

#index-doctor .right .img {
  height: 500px;
  overflow: hidden;
  border-radius: 3rem;
  transition: transform 0.3s ease;
}

#index-doctor .right .item:hover img {
  transform: scale(1.05);
}

#index-doctor .right .item h2 {
  padding-left: 78px;
  padding-bottom: 10px;
  position: relative;
  font-family: "Noto Serif TC", serif;
}

#index-doctor .right .item h2 a {
  color: #666666;
}

#index-doctor .right .item h2::after {
  position: absolute;
  top: 0;
  left: 50px;
  content: '';
  width: 1px;
  height: 140px;
  background: #b8b8b8;
}

#index-doctor .right .item h2 span {
  font-size: 50%;
  padding-left: 5px;
}

#index-doctor .right .item b {
  display: block;
  padding-left: 78px;
  margin-bottom: 20px;
  color: #d39f75;
}

/*內頁共用*/
#sitemap {
  padding-top: 25px;
  padding-right: 25px;
  font-family: "Noto Serif TC", serif;
}

#sitemap ul {
  text-align: right;
}

#sitemap li {
  display: inline-block;
  font-size: 0.8em;
  padding: 0 5px;
  color: #dcb295;
}

#sitemap li:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  vertical-align: bottom;
}

#sitemap li a {
  color: #999897;
}

#sitemap li a:hover {
  color: #dcb295;
}

#sitemap li::after {
  content: " / ";
}

#sitemap li:last-child::after {
  content: "";
}

/*分頁數字*/
#page {
  margin: 25px 0 50px 0;
}

#page ul {
  text-align: center;
}

#page ul::before {
  content: ' < ';
  color: #ccc;
}

#page ul::after {
  content: ' > ';
  color: #ccc;
}

#page li {
  display: inline-block;
  margin: 0 15px;
  font-size: 0.9em;
  color: #000;
  cursor: pointer;
}

#page li a {
  color: #999;
}

#page li a:hover {
  color: #000;
}

/*回上頁*/
.back {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 50px 10px;
  cursor: pointer;
}

/* 排除掉 .ckediter 裡的內容，讓編輯器恢復預設 */
.ckediter h1,
.ckediter h2,
.ckediter h3,
.ckediter h4,
.ckediter h5,
.ckediter h6,
.ckediter ul,
.ckediter ol,
.ckediter li {
  margin: revert;
  padding: revert;
}




/*內頁上方banner*/
#banner-in {
  text-align: center;
  opacity: 0;
  /* 起始透明 */
  animation: fadeInBg 1.5s ease-out forwards;
  /* 動畫設定 */
}

/* 動畫關鍵影格 */
@keyframes fadeInBg {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.bg-about {
  background-image: url("../images/bg-about.jpg");
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
}

.bg-spiral {
  background-image: url("../images/spiral-bg.png");
  background-repeat: no-repeat;
  background-position: left -100px;
  height: 250px;
  padding-top: 170px;
}

.bg-spiral h1,
.bg-spiral h2 {
  color: #666666;
  font-size: 1.5em;
  font-family: "Noto Serif TC", serif;
  padding-bottom: 15px;
}

.bg-spiral h3 {
  color: #dcb295;
  font-size: 2em;
  font-family: "EB Garamond", serif;
  padding-bottom: 15px;
}

/*醫師上方*/
.bg-doctor {
  position: relative;
}

.bg-doctor img {
  width: 100%;
}

.bg-doctor .hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Noto Serif TC", serif;
}

.bg-doctor h1 {
  color: #fff;
  font-size: 1.5em;
  padding-bottom: 15px;
}

.bg-doctor h3 {
  color: #fff;
  font-size: 2em;
  padding-bottom: 15px;
  opacity: 0.8;
}

/*醫美療程上方*/
.bg-treatments {
  position: relative;
}

.bg-treatments img {
  width: 100%;
}

.bg-treatments .hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Noto Serif TC", serif;
}

.bg-treatments h1 {
  color: #d39f75;
  font-size: 2.5em;
  padding-bottom: 10px;
}

.bg-treatments h1.white {
  color: #fff;
  font-size: 2.5em;
  padding-bottom: 10px;
  /*text-shadow: 0 0 5px #9d958e, 0 0 10px #9d958e, 0 0 15px #9d958e, 0 0 20px #9d958e;*/
}

.bg-treatments h3 {
  color: #666;
  font-size: 1.2em;
  padding-bottom: 20px;
}

.bg-treatments h3.white {
  color: #fff;
  font-size: 1.2em;
  padding-bottom: 20px;
  /*text-shadow: 0 0 5px #9d958e, 0 0 10px #9d958e, 0 0 15px #9d958e, 0 0 20px #9d958e;*/
}

.bg-treatments p {
  background: #fff;
  opacity: 0.8;
  border-radius: 30px;
  margin-top: 25px;
  padding: 2px 20px;
  font-size: 0.5em;
}

/*品牌介紹*/
#about {
  background-image: url("../images/bg-about-content.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 0 0 100px 0;
  transition: background-position 0.1s ease-out;
}

#about .about {
  padding-top: 50px;
  color: #6a6260;
}

#about .about h1 {
  font-family: "Noto Serif TC", serif;
  padding-bottom: 30px;
  padding-left: 14px;
  color: #666666;
}

#about .about h1::after {
  content: ' About Us ';
  color: #dcb295;
  font-size: 120%;
}

#about .about h3 {
  font-family: "Noto Serif TC", serif;
  padding-bottom: 5px;
  font-weight: 400;
}

#about .about h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.2em;
  font-weight: 400;
  padding-bottom: 10px;
}

#about .about p {
  padding-left: 50px;
  font-size: 0.9em;
  line-height: 25px;
}

#about img {
  border-radius: 3rem;
  width: 100%;
}

/*品牌介紹第一區*/
#about .top .left {
  width: 55%;
  padding: 25px;
}

#about .top .right {
  width: 43%;
}

/*品牌介紹第二區*/
#about .center .left {
  width: 43%;
}

#about .center .right {
  width: 50%;
  padding: 25px 0 0 0;
}

#about .center .right h2 {
  padding-top: 25px;
}

#about .center .right h3 {
  padding-bottom: 10px;
  color: #dcb295;
}

#about .center .right p {
  padding-left: 10px;
}

/*品牌介紹第三區*/
#about .bottom {
  margin-top: 50px;
}

#about .bottom .left {
  width: 55%;
  padding: 25px;
}

#about .bottom .left h3 {
  padding-bottom: 10px;
  color: #dcb295;
  position: relative;
}

#about .bottom .left h3::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  width: 1px;
  height: 170px;
  background: #b8b8b8;
}

#about .bottom .left p {
  padding-left: 25px;
}

#about .bottom .right {
  width: 43%;
  position: relative;
}

#about .bottom .p1 {
  transform: scale(0.6);
  position: absolute;
  top: -100px;
  left: -200px;
  z-index: 1;
}

#about .bottom .p2 {
  transform: scale(0.8);
  position: absolute;
  top: 80px;
  right: 0;
  z-index: 0;
}

/*診所資訊*/
#clinic-info {
  padding-top: 25px;
  padding-bottom: 50px;
}

#clinic-info .right {
  width: 50%;
}

#clinic-info .right img {
  border-radius: 3rem;
  width: 100%;
}

#clinic-info .left {
  width: 50%;
  padding: 2%;
}

#clinic-info .left h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  font-weight: 400;
  color: #666666;
  padding-bottom: 10px;
}

#clinic-info .left p {
  color: #6a6260;
  font-size: 0.9em;
  padding-left: 10px;
  margin-bottom: 25px;
}

#clinic-info .left ul.clinic-info li {
  list-style-type: none;
  padding-bottom: 8px;
  color: #666666;
}

#clinic-info .left ul.clinic-info li a {
  color: #6a6260;
  font-weight: 800;
}

#clinic-info .left ul.clinic-info li i {
  color: #c0ad94;
}

#clinic-info .left ul.clinic-info li:last-child {
  padding-left: 25px;
}

/*診所資訊-社群*/
#clinic-info ul.socialicon {
  list-style-type: none;
  display: flex;
  padding: 15px;
}

#clinic-info ul.socialicon li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 15px;
  border-radius: 50px;
  background: #e3bf8c;
  color: #fff;
  font-size: 1em;
}

#clinic-info ul.socialicon li a:hover {
  background: #c29148;
  color: #eee;
  transition: all .5s ease-in-out;
}

#clinic-info ul.socialicon li a i {
  padding-left: 3px;
}

/*診所資訊-環境介紹top*/
#clinic-info-more {
  background-image: url("../images/clinic-info-bg.jpg");
  background-repeat: no-repeat;
  height: 460px;
  padding: 50px 0 50px;
  color: #fff;
}

#clinic-info-more .txt {
  position: absolute;
  top: 100px;
  right: 10px;
}

#clinic-info-more .txt h2 {
  font-family: "Noto Serif TC", serif;
  padding-left: 25px;
  padding-bottom: 25px;
  font-size: 1.7em;
  text-shadow:
    0 0 5px #ba9f71, 0 0 10px #ba9f71, 0 0 15px #ba9f71, 0 0 20px #ba9f71;
}

#clinic-info-more .txt p {
  font-size: 0.9em;
  text-shadow:
    0 0 5px #ba9f71, 0 0 10px #ba9f71, 0 0 15px #ba9f71, 0 0 20px #ba9f71;
}

/*診所資訊-環境介紹*/
#clinic-environment .clinic-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

#clinic-environment .clinic-room {
  flex: 1 1 calc(50% - 20px);
  /* 兩欄排版 */
  max-width: calc(50% - 20px);
  padding: 25px;
  text-align: left;
}

#clinic-environment .clinic-room img {
  width: 100%;
  border-radius: 3rem;
}

#clinic-environment .clinic-room h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  color: #666666;
  padding: 10px 0 0 45px;
}

#clinic-environment .clinic-room p {
  color: #6a6260;
  margin: 10px 0 0 45px;
}

/*美麗專欄*/
#beauty-blog-sort {
  padding: 15px 0;
}

#beauty-blog-sort ul {
  list-style-type: none;
  font-family: "Noto Serif TC", serif;
  text-align: center;
}

#beauty-blog-sort ul li {
  display: inline-block;
  padding: 0 20px 0 0;
  font-size: 1.1em;
  font-weight: 300;
}

#beauty-blog-sort ul li a {
  color: #999897;
}

#beauty-blog-sort ul li::after {
  content: ' / ';
  color: #ceb8a6;
  padding-left: 20px;
}

#beauty-blog-sort ul li:last-child::after {
  content: '';
}

#beauty-blog-sort ul li .active {
  font-size: 1.3em;
  color: #d39f75;
}

/*美麗專欄列表*/
#beauty-blog .beauty-blog {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /*margin-bottom: 50px;*/
}

#beauty-blog .beauty-blog:hover {
  background-color: rgba(240, 200, 150, 0.1);
}

#beauty-blog .beauty-blog .image-box {
  flex: 1 1 400px;
  max-width: 500px;
}

#beauty-blog .beauty-blog .image-box img {
  width: 100%;
  border-radius: 1rem;
}

#beauty-blog .beauty-blog .text-box {
  flex: 1 1 500px;
  max-width: 600px;
  color: #333;
}

#beauty-blog .beauty-blog .text-box h4 {
  color: #777777;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#beauty-blog .beauty-blog .text-box h3 {
  font-size: 1.4rem;
  color: #d39f75;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: "Noto Serif TC", serif;
}

#beauty-blog .beauty-blog .text-box p {
  font-size: 1rem;
  line-height: 1.8;
  color: #6a6260;
}

/*美麗專欄內頁*/
main {
  width: 900px;
  margin: 0 auto;
  position: relative;
}

main img {
  max-width: 100% !important;
}

#beauty-blog-derail .textTitle {
  display: table;
  width: 100%;
  position: relative;
  height: 92px;
  padding: 15px 0 16px 77px;
}

#beauty-blog-derail .textTitle .textDate {
  position: absolute;
  width: 60px;
  height: 60px;
  line-height: 1.1rem;
  font-size: 0.7rem;
  color: #fff;
  background: #d39f75;
  border-radius: 60px;
  padding: 11px 0 0 0;
  text-align: center;
  top: 15px;
  left: 2px;
}

#beauty-blog-derail .textTitle h1 {
  display: table-cell;
  position: relative;
  margin: 0;
  padding: 0;
  height: 60px;
  font-size: 1.4rem;
  color: #d39f75;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-family: "Noto Serif TC", serif;
}

#beauty-blog-derail .img img {
  border-radius: 10px;
}

#beauty-blog-derail h3.author {
  color: #777777;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: right;
}

/*美麗專欄-文章分享*/
#share-page {
  position: absolute;
  top: 25px;
  left: -120px;
  border-right: 1px solid #999;
  padding-right: 35px;
  padding-bottom: 50px;
}

#share-page ul {
  list-style-type: none;
}

#share-page li a {
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 30px;
  border-radius: 50px;
  background: #fff;
  color: #534741;
  border: 1px solid #534741;
  font-size: 1em;
}

#share-page li a:hover {
  background: #c29148;
  color: #eee;
  border: 1px solid #fff;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

#share-page li a i {
  padding-left: 3px;
}

/*醫美專欄下方醫師*/
#bottom-dr {
  padding: 25px 0;
}

#bottom-dr #doctor-img {
  float: left;
  width: 40%;
}

#bottom-dr #doctor-img img {
  border-radius: 3rem;
  width: 100%;
}

#bottom-dr #doctor-txt {
  float: right;
  width: 55%;
  padding-top: 25px;
}

#bottom-dr #doctor-txt h4 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  color: #666666;
}

#bottom-dr #doctor-txt h4 span {
  font-size: 0.7em;
  padding-left: 5px;
}

#bottom-dr #doctor-txt p.doctor-slogan {
  font-size: 1em;
  color: #d39f75;
  padding: 20px 0 0 0;
  position: relative;
}

#bottom-dr #doctor-txt p.doctor-slogan::after {
  content: '';
  position: absolute;
  top: 65px;
  left: 25px;
  background: #b8b8b8;
  height: 1px;
  width: 138px;
}

#bottom-dr #doctor-txt p {
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 0.95rem;
  color: #6a6260;
}

#bottom-dr #doctor-txt p.section-label {
  display: inline;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  font-size: 1.1em;
  padding-right: 10px;
}

#bottom-dr #doctor-txt p.doctor-specialty {
  display: inline;
  color: #6a6260;
  font-weight: 500;
  font-size: 0.9em;
}

/*醫師團隊*/
#doctor .doctor-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

#doctor .doctor {
  flex: 1 1 calc(33% - 20px);
  /* 三欄排版 */
  max-width: calc(33% - 20px);
  padding: 25px;
  text-align: left;
}

#doctor .doctor:hover img {
  transform: scale(1.05);
}

#doctor .doctor img {
  width: 100%;
  border-radius: 3rem;
}

#doctor .doctor h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  color: #666666;
  padding: 10px 0 0 25px;
}

#doctor .doctor h2 span {
  font-size: 0.7em;
}

#doctor .doctor h3 {
  font-size: 1em;
  color: #d39f75;
  padding: 10px 0 0 25px;
}

/*醫師團隊內頁*/
#doctor {
  padding: 25px 0;
}

#doctor #doctor-img {
  float: left;
  width: 40%;
}

#doctor #doctor-img img {
  border-radius: 3rem;
  width: 100%;
}

#doctor #doctor-txt {
  float: right;
  width: 55%;
  padding-top: 45px;
}

#doctor #doctor-txt h1 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  color: #666666;
}

#doctor #doctor-txt h1 span {
  font-size: 0.7em;
  padding-left: 5px;
}

#doctor #doctor-txt h3 {
  font-size: 1em;
  color: #d39f75;
  padding: 20px 0 0 0;
  position: relative;
}

#doctor #doctor-txt h3::after {
  content: '';
  position: absolute;
  top: 65px;
  left: 25px;
  background: #b8b8b8;
  height: 1px;
  width: 138px;
}

#doctor #doctor-txt p {
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 0.95rem;
  color: #6a6260;
}

#doctor #doctor-txt p.section-label {
  display: inline;
  font-family: "Noto Serif TC", serif;
  font-weight: 500;
  font-size: 1.1em;
  padding-right: 10px;
}

#doctor #doctor-txt h2 {
  display: inline;
  color: #6a6260;
  font-weight: 500;
  font-size: 0.9em;
}

#doctor #doctor-txt ul#doctor-link {
  padding-top: 25px;
}

#doctor #doctor-txt ul#doctor-link li {
  display: inline-block;
  padding-right: 10px;
}

#doctor #doctor-txt ul#doctor-link li a {
  font-size: 0.95rem;
  color: #e3bf8c;
}

#doctor #doctor-txt ul#doctor-link li a:hover {
  transition: all 0.5s ease-in-out;
  color: #6a6260;
}

/*醫師內頁-學經歷*/
#doctor-experience {
  border-top: 1px solid #b8b8b8;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 0 50px;
}

/*醫師內頁-證書*/
#doctor-experience-img {
  float: left;
  width: 49%;
  padding: 25px;
}

#doctor-experience-img h2 {
  font-family: "Noto Serif TC", serif;
  color: #7f7f7f;
  margin-top: -75px;
  margin-bottom: 75px;
  position: relative;
}

#doctor-experience-img h2::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 0;
  width: 98px;
  height: 8px;
  background: #d39f75;
  border-radius: 3rem;
}

/*醫師內頁-學經歷列表*/
#doctor-experience-list {
  float: left;
  width: 50%;
  color: #6a6260;
}

#doctor-experience-list h2 {
  font-family: "Noto Serif TC", serif;
  color: #7f7f7f;
  margin-top: -50px;
  margin-bottom: 75px;
  position: relative;
}

#doctor-experience-list h2::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 0;
  width: 98px;
  height: 8px;
  background: #d39f75;
  border-radius: 3rem;
}

#doctor-experience-list p.section-label {
  color: #d39f75;
  padding: 0;
  margin: 15px 0 5px 0;
}

#doctor-experience-list h3 {
  padding: 0;
  margin: 0;
}

#doctor-experience-list li {
  list-style-type: none;
}

/*醫師內頁-影音*/
#doctor-video {
  border-top: 1px solid #b8b8b8;
  margin-top: 120px;
  margin-bottom: 80px;
  padding: 0 50px;
}

#doctor-video h2 {
  font-family: "Noto Serif TC", serif;
  color: #7f7f7f;
  margin-top: -50px;
  margin-bottom: 75px;
  position: relative;
}

#doctor-video h2::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 0;
  width: 98px;
  height: 8px;
  background: #d39f75;
  border-radius: 3rem;
}

#doctor-video h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1em;
  color: #d39f75;
}

#doctor-video p {
  font-family: "Noto Serif TC", serif;
  font-size: 0.6em;
  color: #6c6c6c;
}


/*醫美分類*/
#aestheti-treatments {
  padding: 0 0 50px 0;
}

#aestheti-treatments .item {
  float: left;
  margin: 25px;
  width: calc(33% - 50px);
}

#aestheti-treatments .item img:hover {
  transform: scale(1.05);
}

#aestheti-treatments .item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

#aestheti-treatments .item h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1em;
  color: #d39f75;
}


/*醫美項目*/
#indications h2 {
  font-family: "Noto Serif TC", serif;
  color: #666666;
  font-size: 1.5em;
  padding-top: 25px;
}

#indications h3 {
  color: #d39f75;
  font-size: 1em;
  padding: 25px 0;
}

#indications ul {
  padding-left: 15px;
}

#indications li {
  color: #666666;
  list-style-type: none;
  position: relative;
  display: inline-block;
  padding-right: 35px;
  padding-bottom: 5px;
  font-weight: 600;
}

#indications li::before {
  content: ' ✔ ';
  position: absolute;
  color: #d39f75;
  top: 0;
  left: -15px;
}

/*醫美項目-注意事項*/
#precautions-banner {
  background: url("../images/bg-precautions.jpg");
  background-attachment: fixed;
  background-size: cover;
  height: 320px;
  padding-top: 150px;
  text-align: center;
}

#precautions-banner h2 {
  font-family: "Noto Serif TC", serif;
  color: #fff;
  font-size: 2em;
  padding-bottom: 25px;
  letter-spacing: 0.3em;
  text-shadow:
    0 0 5px #9d958e, 0 0 10px #9d958e, 0 0 15px #9d958e, 0 0 20px #9d958e;
}

#precautions-banner b {
  font-family: "Noto Serif TC", serif;
  color: #fff;
  font-size: 1.5em;
}

#precautions {
  padding: 25px 0;
}

#precautions h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #353535;
  padding: 25px 0 10px 0;
}

#precautions ul {
  padding-left: 15px;
}

#precautions li {
  color: #666666;
  list-style-type: none;
  padding-bottom: 5px;
  position: relative;
}

#precautions li::before {
  content: '*';
  position: absolute;
  top: 0;
  left: -15px;
}

/*醫美項目-常見問題*/
#faq-banner {
  background: url("../images/bg-beauty-blog.jpg");
  background-attachment: fixed;
  background-size: cover;
  height: 320px;
  padding-top: 150px;
  text-align: center;
}

#faq-banner h2 {
  font-family: "Noto Serif TC", serif;
  color: #fff;
  font-size: 2em;
  padding-bottom: 25px;
  letter-spacing: 0.3em;
  text-shadow:
    0 0 5px #9d958e, 0 0 10px #9d958e, 0 0 15px #9d958e, 0 0 20px #9d958e;
}

#faq-banner b {
  font-family: "Noto Serif TC", serif;
  color: #fff;
  font-size: 1.5em;
}

#faq {
  padding: 25px 0;
}

#faq .faq-section {}

#faq .faq-item {
  background: #e7d4c1;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
  border: 1px solid #c5a086;
}

#faq .faq-item.open {
  background: #ffffff;
  /* 展開時的背景色，可依喜好調整 */
}

#faq .faq-question {
  font-weight: bold;
  background: #f1e2d7;
  color: #a8734d;
  padding: 16px 80px 18px 20px;
}

#faq .faq-question h3::before {
  content: 'Q.';
  padding-right: 10px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.1em;
}

#faq .faq-answer {
  margin-top: 0.5rem;
  color: #333333;
  line-height: 1.6;
  font-size: 0.9em;
  padding: 10px 20px 25px 20px;
  display: none;
}

#faq .faq-answer p:first-child::before {
  content: 'A.';
  padding-right: 10px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.1em;
}

#faq .faq-item.open .faq-answer {
  display: block;
}

#faq .faq-toggle {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  text-align: center;
  padding-top: 15px;
  color: #c5a086;
}

/*治療前必讀*/
#pre-treatment-info {
  color: #3b3635;
  font-size: 0.8em;
  padding: 10px 0 25px 0;
  margin-top: 50px;
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
}

#pre-treatment-info ul {
  margin-bottom: 15px;
}

#pre-treatment-info li {
  margin-left: 20px;
}

#pre-treatment-info strong {
  font-size: 1.2em;
  color: #d3b88c;
}

/*影音專區上方*/
#video-sort {
  padding: 15px 0;
}

#video-sort ul {
  list-style-type: none;
  font-family: "Noto Serif TC", serif;
  text-align: center;
}

#video-sort ul li {
  display: inline-block;
  padding: 0 20px 0 0;
  font-size: 1.2em;
  font-weight: 300;
}

#video-sort ul li a {
  color: #999897;
}

#video-sort ul li::after {
  content: ' / ';
  color: #ceb8a6;
  padding-left: 20px;
}

#video-sort ul li:last-child::after {
  content: '';
}

#video-sort ul li .active {
  font-size: 1.3em;
  color: #d39f75;
}

/*影音專區*/
#video {
  padding-bottom: 50px;
}

#video .video-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px 0;
}

#video .video {
  flex: 1 1 calc(33% - 30px);
  /* 三欄排版 */
  max-width: calc(33% - 30px);
  padding: 30px;
  text-align: left;
}

#video .video img:hover {
  transform: scale(1.05);
}

#video .video img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
}

#video .video h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.1em;
  color: #d39f75;
}

#video .video p {
  font-family: "Noto Serif TC", serif;
  font-size: 0.6em;
  color: #6c6c6c;
}


/*預約諮詢*/
#contact {
  float: left;
  /*width: 60%;*/
  padding: 0 25px;
  letter-spacing: 0.5px;
  color: #666666;
  margin-bottom: 50px;
}

#contact img {
  border-radius: 25px;
}

#contact .red {
  color: #ff3838;
}

#contact .list {
  float: left;
  width: 100%;
  margin: 10px 0;
}

#contact .btn {
  padding: 10px 25px;
  color: #fff;
  background: #000;
  text-align: center;
  width: 40%;
  margin: 35px 30%;
  border-radius: 5px;
}

#contact input[type="text"],
#contact select,
#contact textarea {
  letter-spacing: 1px;
  border-radius: 5px;
  width: 100%;
  padding: 15px 20px;
}

#contact input[type="submit"] {
  background: #dbbe96;
  border: 1px solid #dbbe96;
  letter-spacing: 0.5em;
  font-size: 1em;
}

#contact input[type="checknum"] {
  letter-spacing: 1px;
  border-radius: 5px;
  width: 50%;
  padding: 15px 20px;
}

/*預約諮詢資料*/
#contact-info {
  float: left;
  width: 38%;
  padding-top: 25px;
}

#contact-info h2 {
  font-family: "Noto Serif TC", serif;
  font-size: 1.5em;
  font-weight: 400;
  color: #666666;
  padding-bottom: 25px;
}

#contact-info ul.clinic-info li {
  list-style-type: none;
  padding-bottom: 10px;
  color: #666666;
}

#contact-info ul.clinic-info li a {
  color: #6a6260;
  font-weight: 800;
}

#contact-info ul.clinic-info li i {
  color: #c0ad94;
}

#contact-info ul.clinic-info li:last-child {
  padding-left: 25px;
}

/*診所資訊-社群*/
#contact-info ul.socialicon {
  list-style-type: none;
  margin-top: 15px;
}

#contact-info ul.socialicon li a {
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 15px 5px 5px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #e3bf8c;
  color: #af9f87;
  font-size: 0.9em;
}

#contact-info ul.socialicon li a:hover {
  color: #eee;
  transition: all .5s ease-in-out;
}

#contact-info ul.socialicon li a i {
  padding-left: 3px;
}

/* 額外針對每個社群設定 hover 色 */
#contact-info ul.socialicon li a.line:hover {
  background: #06C755;
}

#contact-info ul.socialicon li a.instagram:hover {
  background: #E1306C;
}

#contact-info ul.socialicon li a.facebook:hover {
  background: #1877F2;
}

/* 小圓形 icon 容器 */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

/* 各社群的背景色 */
.line-icon {
  background-color: #06C755;
}

.instagram-icon {
  background-color: #E1306C;
}

.facebook-icon {
  background-color: #1877F2;
}

/* 留言表單區塊容器 */
.comment-section {
  max-width: 800px;
  /* 根據截圖調整寬度 */
  margin: 60px auto;
  padding: 0 20px;
}

.comment-section h3 {
  text-align: center;
  color: #8d7665;
  margin-bottom: 40px;
  font-size: 22px;
  letter-spacing: 1px;
}

/* 表單群組 */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #666;
  font-size: 15px;
}

.form-group label small {
  color: #999;
  font-size: 0.85em;
  margin-left: 5px;
}

/* 輸入框通用樣式 */
.form-group input {
  width: 100%;
  height: 46px;
  /* 固定高度讓視覺更整齊 */
  padding: 0 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  box-sizing: border-box;
  background-color: #fff;
  transition: all 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #d39f75;
  box-shadow: 0 0 5px rgba(211, 159, 117, 0.2);
}

/* 必填星號 */
.required::after {
  content: " *";
  color: #e64b73;
}

/* 驗證碼容器 */
.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-image-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 12px;
  height: 46px;
  /* 與 input 同高 */
  box-sizing: border-box;
  white-space: nowrap;
}

#rand-img {
  height: 28px;
  cursor: pointer;
}

#reload-img {
  margin-left: 10px;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s;
}

#reload-img:hover {
  color: #d39f75;
}

/* 送出按鈕 */
.btn-submit {
  display: block;
  margin: 40px auto 0;
  width: 240px;
  /* 按鈕寬度稍微縮小更精緻 */
  height: 50px;
  line-height: 50px;
  background-color: #d39f75;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}

.btn-submit:hover {
  background-color: #c29148;
}



/* 頁面底部大區塊 CTA */
.footer-cta-section {
  background-color: #f9f6f2;
  padding: 60px 20px;
  text-align: center;
}

.footer-cta-section h3 {
  color: #8d7665;
  margin-bottom: 25px;
  font-size: 22px;
}

.btn-large-line {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px;
  background-color: #52d05a;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s;
}

.btn-large-line:hover {
  transform: scale(1.05);
  background-color: #45b54d;
}

.btn-large-line i {
  font-size: 28px;
  margin-right: 12px;
}

/*404錯誤頁*/
#error {
  padding: 25px 0 50px 0;
  text-align: center;
}

#error .error-code {
  font-size: 96px;
  font-weight: 700;
  color: #c5a880;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

#error .error-title {
  font-size: 22px;
  font-weight: 500;
  color: #4a4a4a;
  margin-bottom: 12px;
}

#error .error-message {
  font-size: 15px;
  color: #8c8c8c;
  line-height: 1.6;
  margin-bottom: 30px;
}

#error .countdown {
  color: #c5a880;
  font-weight: bold;
}

#error .btn-home {
  display: inline-block;
  padding: 12px 32px;
  background-color: #333333;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 500;
}

#error .btn-home:hover {
  background-color: #c5a880;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

/*尾部*/
footer {
  background: #fcfcfc;
  color: #313131;
}

/*尾部左邊*/
footer .left {
  float: left;
  width: 300px;
  padding: 50px 10px 15px 25px;
}

footer .left #footer-logo img {
  width: 100%;
}

footer .left #copyright,
footer .left #copyright a {
  font-size: 0.8em;
  color: #313131;
  padding: 25px 0 0 10px;
}

footer #footersocial {
  padding-top: 25px;
}

footer #footersocial .socialBox {
  /*font-size: 120%;*/
}

footer #footersocial .socialBox a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6e6c6c;
  font-size: 1.8em;
  padding-left: 10px;
}

footer #footersocial .socialBox a:hover {
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
  color: #000;
}

footer #footersocial .socialBox a.subpaper {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #eb5d99;
  color: #fff;
  font-size: 0.8em;
  padding: 3px 8px;
}

footer #footersocial .socialBox a.subpaper:hover {
  background: #313131;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

/*尾部右邊*/
footer .right {
  float: right;
  width: calc(100% - 300px);
  padding: 25px 15px 5px 5px;
}

footer .right .box {
  float: left;
  padding: 20px;
  text-align: center;
}

footer .right .box h3 {
  font-size: 1em;
  color: #313131;
  padding: 8px;
}

footer .right .box h3 a {
  color: #313131;
}

footer .right ul {
  list-style-type: none;
}

footer .right li {
  padding: 3px 10px;
  font-size: 0.85em;
}

footer .right li a {
  color: #000;
  opacity: 0.6;
}

footer .right li a:hover {
  opacity: 1;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}

/*尾部注意事項*/
footer #footer-notice {
  background: #ededed;
  color: #3b3635;
  font-size: 0.8em;
  padding: 25px 0;
}

footer #footer-notice li {
  margin-left: 20px;
}