@charset "UTF-8";
.index {
  margin: 0;
}
.index .service_info, .index .process_info, .index .news_info, .index .img_2, .index .img_3, .index .img_4 {
  display: none;
}
.index .nav_bar {
  display: flex;
  height: 40vh;
  width: 100%;
}
.index .nav_info {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: flex-end;
  padding: 1rem;
  transition: flex-grow 0.8s ease;
}
.index .nav_info:hover {
  cursor: pointer;
}
.index .nav_info:hover .next_btn {
  animation: fadein_btn 0.8s ease forwards;
}
.index .nav_info .en_1 {
  padding-left: 0rem;
}
.index .nav_info .en_2, .index .nav_info .en_3, .index .nav_info .en_4 {
  padding-left: 0;
}
.index .nav_info p {
  display: flex;
  color: white;
  font-size: 18px;
  margin: 0;
}
.index .slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.index .slide .zh {
  writing-mode: vertical-lr;
}
.index .next_btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(170, 146, 101, 0.5);
  display: grid;
  text-align: center;
  place-content: center;
  line-height: 30px;
}
.index .next_btn:hover {
  background-color: rgb(214, 187, 136);
}
.index .next_btn img {
  width: 20px;
}
.index #btn_2, .index #btn_3, .index #btn_4 {
  display: none;
}
@keyframes fadein_btn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.index .about_jude {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/about_jude.png");
  flex: 5;
}
.index .our_service {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/our_service.jpg");
  flex: 1;
}
.index .funeral_process {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/funeral_process.jpg");
  flex: 0.5;
}
.index .latest_news {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/latest_news.png");
  flex: 0.5;
}
.index .img_1, .index .img_2, .index .img_3, .index .img_4 {
  width: 600px;
  position: absolute;
  right: 0;
  top: 35%;
  z-index: 0;
}
.index .about_info {
  margin: 3rem 0 3rem 4rem;
  animation: fadein_btn 1s ease forwards;
}
.index .about_info .slogan {
  margin-bottom: 4rem;
}
.index .service_info, .index .process_info {
  margin: 3rem 0;
}
.index .zone {
  display: flex;
  margin-bottom: 1rem;
}
.index .zone img {
  width: 25px;
}
.index .zone p {
  font-weight: bolder;
  margin: 0 1rem;
}
.index .section {
  display: flex;
  align-items: center; /* 讓 line 垂直居中 */
  height: 100px; /* 容器高度 */
}
.index .line {
  width: 100px; /* 設定線條的寬度 */
  height: 1px; /* 設定線條的高度 */
  background-color: rgb(0, 0, 0); /* 設定線條顏色 */
  margin: 0 1rem;
}
.index .news_info {
  margin: 3rem 0 3rem 4rem;
}
.index .news_info p {
  margin-bottom: 8px;
  font-weight: bolder;
}
@media (max-width: 1200px) and (min-width: 768px) {
  .index .img_1, .index .img_2, .index .img_3, .index .img_4 {
    width: 500px;
  }
}
@media (max-width: 767px) {
  .index .nav_bar {
    flex-direction: column;
  }
  .index .nav_info .en {
    padding-left: 1rem;
  }
  .index .slide .zh_2, .index .slide .zh_3, .index .slide .zh_4 {
    writing-mode: horizontal-tb;
  }
  .index .img_1, .index .img_2, .index .img_3, .index .img_4 {
    display: none;
  }
  .index .about_info, .index .service_info, .index .process_info, .index .news_info {
    margin: 1rem 0 3rem 1rem;
  }
  .index .about_info .slogan, .index .service_info .slogan, .index .process_info .slogan, .index .news_info .slogan {
    margin-bottom: 1rem;
  }
  .index .zone {
    margin-bottom: 0;
  }
  .index .zone img {
    width: 25px;
  }
  .index .zone p {
    font-weight: bolder;
    margin: 0 8px 0 8px;
    font-size: 12px;
  }
  .index .section {
    height: 100px;
    flex-wrap: wrap;
  }
  .index .line {
    width: 30px;
    margin: 0 1rem 0 0;
  }
  .index .line_disappear {
    visibility: hidden;
  }
  .index .news_info {
    margin-left: 1rem;
  }
  .index .news_info p {
    margin-bottom: 8px;
    font-weight: bolder;
    font-size: 12px;
  }
}

.about_jude .header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/about_jude.png");
  background-position: center 60%;
}
.about_jude .origin {
  margin-top: 5rem;
}
.about_jude .origin .title_bg {
  height: 266px;
  width: 500px;
}
.about_jude .origin img {
  margin-left: 3rem;
  margin-top: 8rem;
}
.about_jude .origin .describe_bg {
  width: 600px;
  height: 250px;
  margin-left: 18rem;
  margin-top: 12rem;
}
.about_jude .journey .title_bg {
  margin-left: 30rem;
  width: 314px;
  height: 339px;
}
.about_jude .journey img {
  margin-left: 35rem;
  margin-top: 10rem;
}
.about_jude .journey .describe_bg {
  width: 463px;
  height: 292px;
  margin-top: 8rem;
  margin-left: 10rem;
}
.about_jude .peaceful .title_bg {
  width: 432px;
  height: 266px;
}
.about_jude .peaceful img {
  margin-top: 7rem;
  margin-left: 3rem;
}
.about_jude .peaceful .describe_bg {
  width: 503px;
  height: 251px;
  margin-top: 11rem;
  margin-left: 18rem;
}
.about_jude .experience {
  margin-top: 5rem;
}
.about_jude .experience .title_bg {
  width: 424px;
  height: 150px;
  z-index: 1;
}
.about_jude .experience .ex_describe {
  background-color: rgba(233, 233, 233, 0.7);
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
  align-items: center;
  padding: 3rem 3rem 5rem 3rem;
  z-index: 2;
  margin-top: 7rem;
  margin-left: 4rem;
  height: 650px;
}
.about_jude .experience .ex_describe h5 {
  font-size: 18px;
  margin: auto;
  padding: 3px;
  font-weight: bold;
}
.about_jude .experience .ex_group {
  display: flex;
  justify-content: space-around;
}
.about_jude .experience .ex_group .num {
  background: radial-gradient(circle, rgb(210, 188, 146), rgb(170, 146, 101));
  border-radius: 50%;
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 600;
  width: 50px;
  height: 50px;
  display: grid;
  align-items: center;
  text-align: center;
}
.about_jude .experience .ex_group .content {
  writing-mode: vertical-lr;
}
.about_jude .experience .ex_group h6 {
  margin: 0;
  color: rgb(198, 168, 111);
  font-weight: bolder;
  font-size: 16px;
}
.about_jude .experience .sakura {
  position: absolute;
  bottom: 5rem;
}
.about_jude .experience .line {
  background-color: rgb(0, 0, 0);
  height: 2px;
  margin-top: 1.5rem;
  width: 90%;
}
.about_jude .founder_mes {
  position: relative;
  display: flex;
}
.about_jude .founder_mes .title_bg {
  background: radial-gradient(circle, rgb(233, 210, 169), rgb(204, 180, 136));
  border-radius: 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  width: 456px;
  height: 250px;
  position: absolute;
  margin-left: 25rem;
}
.about_jude .founder_mes .title_bg .title {
  display: flex;
  align-items: center;
  padding: 3rem;
}
.about_jude .founder_mes .title_bg .title h3 {
  font-size: 35px;
  margin: 0;
  font-weight: bolder;
}
.about_jude .founder_mes .title_bg .title span {
  font-size: 35px;
  padding: 0 1rem;
}
.about_jude .founder_mes .title_bg .title p {
  margin: 0;
}
.about_jude .founder_mes .describe_bg {
  padding: 3rem 4rem;
  width: 670px;
  margin-top: 32rem;
  margin-bottom: 3rem;
  background-color: rgba(233, 233, 233, 0.7);
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(233, 233, 233, 0.7);
  display: grid;
  align-items: center;
  padding: 3rem;
  line-height: 2;
}
.about_jude .founder_mes .describe_bg .signature {
  float: inline-end;
  padding-right: 2rem;
}
.about_jude .founder_mes .describe_bg h5 {
  font-weight: bold;
  line-height: 1.5;
  font-size: 18px;
  margin: 0;
  padding: 3px;
}
@supports (-webkit-writing-mode: vertical-lr) {
  .about_jude .content {
    writing-mode: vertical-lr;
  }
}
@media (max-width: 1300px) and (min-width: 1024px) {
  .about_jude .origin .describe_bg {
    width: 550px;
  }
  .about_jude .journey .title_bg {
    margin-left: 25rem;
  }
  .about_jude .journey img {
    margin-left: 30rem;
  }
  .about_jude .certificate {
    margin: auto;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .about_jude .origin {
    margin-left: 1rem;
  }
  .about_jude .origin .title_bg {
    width: 450px;
    height: 180px;
  }
  .about_jude .origin .describe_bg {
    width: 400px;
  }
  .about_jude .journey {
    margin-top: 5rem;
  }
  .about_jude .journey .title_bg {
    margin-left: 18rem;
  }
  .about_jude .journey img {
    margin-left: 25rem;
    margin-top: 8rem;
  }
  .about_jude .journey .describe_bg {
    width: 500px;
    margin-left: 1rem;
    margin-top: 7rem;
  }
  .about_jude .peaceful {
    margin-left: 1rem;
    margin-top: 8rem;
  }
  .about_jude .peaceful img {
    margin-top: 8rem;
    margin-left: 3rem;
  }
  .about_jude .peaceful .describe_bg {
    margin-top: 15rem;
    margin-left: 10rem;
  }
  .about_jude .experience {
    margin-top: 5rem;
  }
  .about_jude .experience .title_bg {
    margin-left: 1rem;
  }
  .about_jude .experience .ex_describe {
    margin-right: 4rem;
    margin-left: 2rem;
  }
  .about_jude .experience .sakura {
    bottom: 1rem;
  }
  .about_jude .founder_mes .title_bg {
    height: 250px;
    position: absolute;
    margin-left: 15rem;
  }
  .about_jude .founder_mes .title_bg .title {
    display: flex;
    align-items: center;
    padding: 3rem;
  }
  .about_jude .founder_mes .title_bg .title h3 {
    font-size: 35px;
    margin: 0;
    font-weight: bolder;
  }
  .about_jude .founder_mes .title_bg .title span {
    font-size: 35px;
    padding: 0 1rem;
  }
  .about_jude .founder_mes .title_bg .title p {
    margin: 0;
  }
  .about_jude .founder_mes .describe_bg {
    padding: 3rem 4rem;
    width: 400px;
    margin-top: 45rem;
    margin-bottom: 3rem;
    margin-right: 5rem;
  }
  .about_jude .certificate {
    margin: auto;
  }
}
@media (max-width: 767px) {
  .about_jude .origin {
    margin-left: 0rem;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_jude .origin .title_bg {
    width: 265px;
    height: 133px;
  }
  .about_jude .origin img {
    margin-left: 0;
    margin-top: 5rem;
    width: 180px;
  }
  .about_jude .origin .describe_bg {
    width: 300px;
    height: 220px;
    margin-left: 0;
    margin-top: 12rem;
  }
  .about_jude .journey {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_jude .journey .title_bg {
    margin-left: 0rem;
    width: 224px;
    height: 130px;
  }
  .about_jude .journey img {
    width: 180px;
    margin-left: 0rem;
    margin-top: 5rem;
  }
  .about_jude .journey .describe_bg {
    width: 207px;
    height: 274px;
    margin-left: 0rem;
    margin-top: 10rem;
  }
  .about_jude .peaceful {
    margin-left: 0rem;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_jude .peaceful .title_bg {
    width: 270px;
    height: 133px;
  }
  .about_jude .peaceful img {
    width: 180px;
    margin-top: 5rem;
    margin-left: 0;
  }
  .about_jude .peaceful .describe_bg {
    width: 250px;
    height: 150px;
    margin-top: 13rem;
    margin-left: 0rem;
  }
  .about_jude .experience {
    margin-left: 0rem;
    margin-top: 8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about_jude .experience .title_bg {
    width: 230px;
    height: 150px;
    margin-left: 2rem;
  }
  .about_jude .experience .ex_describe {
    width: 250px;
    height: 650px;
    padding: 1rem 1rem 5rem 1rem;
    margin-top: 5rem;
    margin-left: 0rem;
  }
  .about_jude .experience .ex_describe h5 {
    font-size: 14px;
  }
  .about_jude .experience .ex_group {
    width: 150px;
    flex-wrap: wrap;
    justify-content: start;
    margin: auto;
  }
  .about_jude .experience .ex_group .num {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    width: 30px;
    height: 30px;
  }
  .about_jude .experience .ex_group h6 {
    font-size: 12px;
  }
  .about_jude .experience .sakura {
    position: absolute;
    top: 32rem;
    right: 0rem;
    left: 8rem;
  }
  .about_jude .experience .line {
    height: 1px;
    width: 25px;
    margin-top: 1rem;
  }
  .about_jude .experience .line_1, .about_jude .experience .line_4, .about_jude .experience .line_6 {
    display: none;
  }
  .about_jude .founder_mes {
    display: grid;
    margin: 0 0.5rem;
  }
  .about_jude .founder_mes .title_bg {
    width: 280px;
    height: 170px;
    margin-left: 0rem;
  }
  .about_jude .founder_mes .title_bg .title {
    padding: 2rem 1rem;
  }
  .about_jude .founder_mes .title_bg .title h3 {
    font-size: 14px;
  }
  .about_jude .founder_mes .title_bg .title span {
    font-size: 20px;
    padding: 0 1rem;
  }
  .about_jude .founder_mes .title_bg .title p {
    margin: 0;
  }
  .about_jude .founder_mes .mes_img {
    width: 160px;
    rotate: 4deg;
    z-index: 5;
    margin-top: 16rem;
  }
  .about_jude .founder_mes .describe_bg {
    position: absolute;
    padding: 1rem;
    width: 220px;
    margin-top: 15rem;
    margin-bottom: 0rem;
    margin-left: 4rem;
    z-index: 10;
  }
  .about_jude .founder_mes .describe_bg > div {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .about_jude .founder_mes .describe_bg .signature {
    padding: 0;
  }
  .about_jude .founder_mes .describe_bg h5 {
    font-size: 14px;
  }
  .about_jude .certificate {
    margin: 25rem auto auto 0.5rem;
  }
  .about_jude .certificate img {
    width: 100%;
  }
}

.our_service .header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/our_service.jpg");
  background-position: center 40%;
}
.our_service .left {
  margin-top: 5rem;
}
.our_service .left .title_bg {
  height: 266px;
  width: 420px;
}
.our_service .left img {
  margin-left: 3rem;
  margin-top: 8rem;
}
.our_service .left .describe_bg {
  width: 600px;
  margin-left: 15rem;
  margin-top: 10rem;
}
.our_service .right {
  margin-top: 5rem;
}
.our_service .right .title_bg {
  margin-left: 30rem;
  height: 266px;
  width: 420px;
}
.our_service .right img {
  margin-left: 35rem;
  margin-top: 8.5rem;
}
.our_service .right .describe_bg {
  width: 470px;
  margin-top: 10rem;
  margin-left: 10rem;
}
@media (max-width: 1023px) and (min-width: 768px) {
  .our_service .left .describe_bg {
    width: 580px;
    margin-left: 5rem;
  }
  .our_service .right .title_bg {
    margin-left: 15rem;
  }
  .our_service .right img {
    margin-left: 25rem;
  }
  .our_service .right .describe_bg {
    width: 450px;
    margin-left: 0rem;
  }
}
@media (max-width: 767px) {
  .our_service .left {
    margin-top: 1rem;
  }
  .our_service .left .title_bg {
    width: 250px;
    height: 133px;
  }
  .our_service .left img {
    width: 190px;
    margin-left: 2rem;
    margin-top: 5rem;
  }
  .our_service .left .describe_bg {
    width: 250px;
    margin-left: 0rem;
    margin-top: 15rem;
    padding: 1rem;
  }
  .our_service .right {
    margin-top: 10rem;
  }
  .our_service .right .title_bg {
    margin-left: 0rem;
    height: 118px;
    width: 250px;
  }
  .our_service .right img {
    width: 190px;
    margin-left: 2rem;
    margin-top: 5rem;
  }
  .our_service .right .describe_bg {
    width: 207px;
    margin-top: 13rem;
    margin-left: 0rem;
    padding: 1rem;
  }
  .our_service .pagoda {
    margin-top: 15rem;
  }
  .our_service .pagoda .describe_bg {
    width: 250px;
    height: 165px;
    margin-left: 0rem;
    margin-top: 15rem;
  }
  .our_service .abroad {
    margin-top: 15rem;
  }
  .our_service .life {
    margin-top: 15rem;
  }
  .our_service .life .describe_bg {
    width: 300px;
    height: 127px;
    margin-left: 0rem;
    margin-top: 15rem;
  }
}

.funeral_process .header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/funeral_process.jpg");
  background-position: center 58%;
}
.funeral_process .process_img {
  width: 330px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}
.funeral_process .process_group {
  margin: 0;
}
.funeral_process .process_group .process_text {
  background-color: rgba(233, 233, 233, 0.7);
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3), -5px -5px 5px rgba(255, 255, 255, 0.5);
  padding: 3rem;
  width: 487px;
  opacity: 0;
  margin: 0 3rem;
}
.funeral_process .process_group h3 {
  font-weight: bolder;
  margin: 0;
}
.funeral_process .process_group li {
  font-weight: bolder;
  padding-top: 8px;
}
.funeral_process .separate {
  margin-left: 9rem;
  border-left: 3px solid black;
}
@media (max-width: 1200px) and (min-width: 1024px) {
  .funeral_process .process_group {
    margin-top: 1rem;
  }
  .funeral_process .process_group .process_text {
    margin: 1rem 1rem;
    width: 80%;
    padding: 1rem;
  }
}
@media (max-width: 767px) {
  .funeral_process .process_group {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }
  .funeral_process .process_group .process_text {
    margin: 1rem 0;
    width: 80%;
    padding: 1rem;
  }
  .funeral_process .separate {
    display: none;
  }
  .funeral_process .process_img {
    max-width: 100%;
    max-height: 100%;
  }
}

.contact_us #side {
  margin-top: 6rem;
  margin-right: 8rem;
}
.contact_us .map_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.contact_us .map {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain; /* 保持比例，並讓圖片完全顯示在容器內 */
}
.contact_us .sakura {
  position: absolute;
  left: 0;
  top: 18rem;
  width: 25%;
  height: auto;
}
.contact_us .contact_header {
  color: rgb(126, 126, 126);
  margin: 3rem;
  display: flex;
}
.contact_us .contact_header a {
  color: rgb(126, 126, 126);
  margin: 1rem;
  text-decoration: none;
}
.contact_us .contact_header a:hover {
  text-decoration: underline;
}
.contact_us .contact_header p {
  margin: 1rem;
}
.contact_us .contact .contact_info {
  margin: 1rem 0;
}
.contact_us .contact .contact_info img {
  width: 20px;
}
.contact_us .contact .contact_info a {
  margin: 8px;
  text-decoration: none;
  color: black;
}
.contact_us form {
  margin: 0 3rem;
  flex-grow: 1;
}
.contact_us .client_info {
  width: 100%;
  border: none;
  background-color: rgba(233, 233, 233, 0.5);
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  padding: 8px;
  margin: 8px 0;
}
.contact_us .memo {
  resize: none; /* 禁用拉伸輸入框大小 */
  line-height: 1.5;
  word-wrap: break-word; /* 自動換行 */
  overflow-y: auto; /* 如果文字超過高度，出現滾動條 */
}
.contact_us .submit {
  width: 100%;
  border: none;
  color: white;
  background-color: rgb(244, 177, 177);
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3), -5px -5px 5px rgba(255, 255, 255, 0.7);
  padding: 8px;
  margin: 1rem 0;
}
.contact_us .submit:hover {
  background-color: rgb(244, 193, 193);
}
@media (max-width: 767px) {
  .contact_us .contact_header {
    visibility: hidden;
    margin: 3rem 0;
  }
  .contact_us .map {
    width: 100%;
    -o-object-fit: contain;
       object-fit: contain; /* 保持比例，並讓圖片完全顯示在容器內 */
  }
  .contact_us .sakura {
    position: absolute;
    left: 2rem;
    top: 10rem;
    height: auto;
  }
  .contact_us .contact_content {
    flex-direction: column-reverse;
    align-items: center;
  }
  .contact_us .client {
    margin: 1rem;
    width: 90%;
  }
  .contact_us .footer {
    display: none;
  }
  .contact_us .contact .contact_info {
    margin: 1rem 0;
  }
  .contact_us .contact .contact_info img {
    width: 15px;
  }
  .contact_us .contact .contact_info a {
    margin: 8px;
    font-size: 12px;
  }
}

.news .header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/latest_news.png");
}
.news .news_card {
  max-width: 100%;
  box-sizing: border-box;
  margin: 3rem 1.5rem 0 1.5rem;
}
.news .news_card:hover {
  cursor: pointer;
}
.news .news_card .news_img {
  padding: 9rem;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.news .news_card:hover .move {
  transform-origin: bottom right;
  animation: moving_card 1s ease forwards;
}
.news .cards {
  flex-wrap: wrap;
}
.news .pagination {
  justify-content: center;
  align-items: center;
}
.news .page-link {
  color: rgb(170, 146, 101);
  background-color: transparent;
  border: 1px solid rgb(170, 146, 101);
}
.news .page-link:hover {
  color: rgb(170, 146, 101);
  background-color: rgba(192, 190, 190, 0.2274509804);
  border-color: rgb(170, 146, 101);
}
.news .page-link:active {
  color: rgb(170, 146, 101);
  background-color: rgba(192, 190, 190, 0.2274509804);
  border-color: rgb(170, 146, 101);
}
.news .page-item.active .page-link {
  background-color: rgb(170, 146, 101);
  border-color: rgb(170, 146, 101);
}
@keyframes moving_card {
  0% {
    rotate: 0;
  }
  100% {
    rotate: 2deg;
  }
}
.news .news_bg {
  background-color: rgba(233, 233, 233, 0.8);
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  bottom: 20%;
  width: 300px;
}
.news .news_bg h4 {
  font-weight: bolder;
  font-size: 20px;
}
.news .news_bg .news_content {
  font-size: 14px;
  color: rgb(155, 155, 155);
  display: -webkit-box; /* 需要設置為 -webkit-box 才能使用 line-clamp */
  -webkit-line-clamp: 2; /* 限制顯示 2 行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
}
.news .news_bg .date {
  font-weight: bolder;
  font-size: 12px;
}
.news .enter_btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-image: linear-gradient(rgb(214, 187, 136), rgb(170, 146, 101));
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  display: grid;
  text-align: center;
  place-content: center;
  line-height: 30px;
  position: relative;
  left: 60%;
  bottom: 35%;
}
.news .enter_btn img {
  width: 20px;
}
@media (max-width: 1023px) and (min-width: 768px) {
  .news .news_card {
    margin: auto;
  }
  .news .cards {
    margin: 1rem 3rem;
  }
}
@media (max-width: 767px) {
  .news .cards {
    margin: 1rem 0;
  }
  .news .news_card {
    margin: auto;
  }
  .news .news_img {
    max-width: 100%; /* 在極小的螢幕上，每行顯示一個卡片 */
  }
}

.news_content .header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../image/latest_news.png");
}
.news_content .article_bg {
  background-color: rgba(233, 233, 233, 0.7);
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3), -5px -5px 5px rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  margin: 3rem 5rem 0 5rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
}
.news_content .article_img {
  position: relative;
  cursor: pointer;
}
.news_content .news_img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news_content #img_btn {
  margin: 1rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.8s;
  position: absolute;
  bottom: 0;
  right: 0;
}
.news_content #img_btn img {
  width: 80px;
  height: 80px;
}
.news_content #img_btn:hover {
  background-color: rgba(135, 135, 135, 0.317);
}
.news_content .article_content h4 {
  font-size: 20px;
  font-weight: bolder;
}
.news_content #overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 50;
}
.news_content .img_browser {
  display: none;
  position: fixed;
  top: 5%;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 70;
  background-color: rgba(233, 233, 233, 0.5);
  border-radius: 10px;
  padding: 3rem 4rem;
  animation: zoomin 1.3s ease;
}
.news_content .img_browser i {
  color: white;
  font-size: 32px;
  position: absolute;
  cursor: pointer;
  margin: 1rem;
}
.news_content .img_browser #esc {
  top: 0;
  right: 0;
}
.news_content .img_browser #next_img {
  right: 0;
  top: 30%;
}
.news_content .img_browser #last_img {
  left: 0;
  top: 30%;
}
.news_content .img_browser .img_large {
  width: 100%;
  height: 60vh;
  -o-object-fit: cover;
     object-fit: cover;
}
.news_content .img_browser .img_tiny {
  width: 100%;
  max-width: 18%;
  cursor: pointer;
  -o-object-fit: cover;
     object-fit: cover;
}
.news_content .img_browser #tiny_1, .news_content .img_browser #tiny_2, .news_content .img_browser #tiny_3, .news_content .img_browser #tiny_4, .news_content .img_browser #tiny_5::before {
  background-color: rgba(0, 0, 0, 0.7);
}
@keyframes zoomin {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.news_content .scrollbar {
  gap: 1rem;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}
.news_content .scrollbar::-webkit-scrollbar {
  width: 100%;
  height: 8px;
}
.news_content .scrollbar::-webkit-scrollbar-track {
  margin: 5rem;
  background: rgba(57, 57, 57, 0.5);
  border-radius: 10px;
}
.news_content .scrollbar::-webkit-scrollbar-thumb {
  background: white;
  border-radius: 10px;
  border: 3px solid white;
}
@media (max-width: 1200px) and (min-width: 1024px) {
  .news_content .article_bg {
    margin: 1rem 5rem 0 5rem;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .news_content .article_bg {
    margin: 1rem 5rem 0 5rem;
  }
}
@media (max-width: 767px) {
  .news_content .article_bg {
    margin: 1rem 1rem 0 2rem;
    padding: 2rem;
  }
  .news_content .img_browser {
    padding: 2rem 3rem;
  }
  .news_content .img_browser i {
    font-size: 32px;
  }
}

body, html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background-image: url("../image/background.png");
  background-size: cover;
}

.custom_container {
  max-width: 1360px;
  margin: 0 auto;
}

#logo {
  visibility: hidden;
  padding-top: 60px;
  margin: 0 3rem;
}

#side {
  visibility: hidden;
}
#side ul {
  display: flex;
  writing-mode: vertical-lr;
  list-style-type: none;
  padding: 40px 0;
}
#side ul li {
  color: rgb(126, 126, 126);
  padding: 2rem;
}

.message {
  background: linear-gradient(to bottom, rgb(231, 211, 175), rgb(206, 186, 150));
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border: 0;
  width: 70px;
  height: 70px;
  display: grid;
  place-content: center;
  position: fixed;
  z-index: 100;
  bottom: 3rem;
  right: 3rem;
}
.message:hover {
  cursor: pointer;
  background: linear-gradient(to bottom, rgb(210, 188, 146), rgb(170, 146, 101));
}

.header {
  background-size: cover;
  background-position: center;
  height: 25vh;
}
.header .pc_header {
  display: flex;
}
.header .mobile_header {
  display: none;
}
.header ul {
  padding-top: 15vh;
  padding-left: 0;
}
.header li {
  list-style-type: none;
  color: white;
  margin-left: 3rem;
}
.header a {
  color: white;
  text-decoration: none;
}
.header a:hover {
  text-decoration: underline;
  color: rgb(210, 188, 146);
}

.menu {
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 45px;
  position: absolute;
  top: 0;
  right: 0;
  height: 15vh;
  width: 15vh;
  display: grid; /* 啟用 Grid */
  place-items: center; /* 垂直和水平置中 */
  visibility: hidden;
}

.footer {
  display: flex;
  align-items: center;
  flex-direction: column; /* 使子元素垂直排列 */
  margin-top: 3rem;
}
.footer .contact {
  display: flex;
}
.footer .contact .contact_info {
  margin: 0rem 3rem 0 3rem;
  display: flex;
}
.footer .contact .contact_info img {
  width: 20px;
}
.footer .contact .contact_info a {
  margin: 1rem;
  text-decoration: none;
  color: black;
}
.footer .footer_solgan p {
  font-weight: bold;
}

.main_content {
  height: auto;
  z-index: 10;
  margin: auto;
}

.card_group {
  display: grid;
  position: relative;
  margin: auto;
}
.card_group .title_bg {
  background: radial-gradient(circle, rgb(233, 210, 169), rgb(204, 180, 136));
  border-radius: 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 1;
}
.card_group .title_bg .title {
  display: flex;
  align-items: center;
  padding: 3rem;
}
.card_group .title_bg .title h3 {
  font-size: 35px;
  font-weight: bolder;
  margin: 0;
}
.card_group .title_bg .title span {
  font-size: 35px;
  padding: 0 1rem;
}
.card_group .title_bg .title p {
  margin: 0;
}
.card_group img {
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
  z-index: 2;
}
.card_group .describe_bg {
  background-color: rgba(233, 233, 233, 0.7);
  border-radius: 10px;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
  position: absolute;
  z-index: 3;
  display: grid;
  align-items: center;
}
.card_group .describe_bg h5 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 3px;
  line-height: 2;
}
.card_group .describe_bg > div {
  padding: 2rem 3rem;
}

.flower {
  width: 700px;
  position: absolute;
  right: 0;
  top: 20%;
  z-index: 0;
}

@keyframes fadein_card {
  0% {
    translate: -50px;
    opacity: 0%;
  }
  100% {
    translate: 0px;
    opacity: 100%;
  }
}
.mobile_side {
  display: none;
}

@media (max-width: 1300px) and (min-width: 1024px) {
  #side {
    display: none;
  }
  .mobile_side {
    display: flex;
    visibility: hidden;
    gap: 3rem;
  }
  .mobile_side p {
    font-weight: bold;
    margin: 0;
  }
  .footer .contact {
    display: flex;
    flex-wrap: wrap;
  }
  .footer .contact .contact_info {
    margin: auto;
    display: flex;
  }
  .footer .contact .contact_info img {
    width: 14px;
  }
  .footer .contact .contact_info a {
    font-size: 14px;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  #side {
    display: none;
  }
  .mobile_side {
    display: flex;
    visibility: hidden;
    gap: 2rem;
  }
  .mobile_side p {
    font-weight: bold;
    margin: 0;
  }
  .flower {
    width: 450px;
    top: 30%;
  }
  .footer .contact {
    display: flex;
    flex-wrap: wrap;
  }
  .footer .contact .contact_info {
    margin: auto;
    display: flex;
  }
  .footer .contact .contact_info img {
    width: 14px;
  }
  .footer .contact .contact_info a {
    font-size: 14px;
  }
}
.ham_bar {
  animation: fadedown 1s ease;
  display: none;
}
.ham_bar #ham_esc {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 30px;
}
.ham_bar .ham_menu, .ham_bar .ham_menu_center {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ham_bar .ham_menu {
  margin-top: 30%;
}
.ham_bar a {
  font-size: 18px;
  font-weight: bolder;
  color: black;
  text-decoration: none;
}

@keyframes fadedown {
  0% {
    opacity: 0;
    transform: translateY(-500px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fadeup {
  0% {
    opacity: 1;
    transform: translateY(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-500px);
  }
}
@media (max-width: 1200px) and (min-width: 1024px) {
  .main_content {
    margin: 1rem 0 0 5rem;
  }
}
@media (max-width: 767px) {
  .header {
    width: 100%;
    height: 15vh;
    display: flex;
    align-items: center;
  }
  .header .pc_header {
    display: none;
  }
  .header .mobile_header {
    display: flex;
  }
  .header .mobile_header p {
    color: white;
    font-size: 16px;
    margin: 1rem;
  }
  .menu {
    visibility: visible;
  }
  #logo {
    padding-top: 24px;
    margin: 0 1rem;
  }
  .flower {
    width: 250px;
    position: absolute;
    right: 0;
    top: 35%;
  }
  #side {
    display: none;
  }
  .mobile_side {
    display: flex;
    visibility: hidden;
    gap: 1rem;
  }
  .mobile_side p {
    font-weight: bold;
    margin: 0;
  }
  .card_group .title_bg .title {
    padding: 2rem;
  }
  .card_group .title_bg .title h3 {
    font-size: 20px;
  }
  .card_group .title_bg .title span {
    font-size: 20px;
  }
  .card_group .title_bg .title p {
    font-size: 12px;
  }
  .card_group .describe_bg > div {
    padding: 0;
  }
  .card_group .describe_bg h5 {
    font-size: 14px;
  }
  .footer .contact {
    display: flex;
    flex-wrap: wrap;
  }
  .footer .contact .contact_info {
    margin: auto;
    display: flex;
  }
  .footer .contact .contact_info img {
    width: 12px;
  }
  .footer .contact .contact_info a {
    font-size: 12px;
  }
  .footer .footer_solgan img {
    visibility: hidden;
  }
  .hambar {
    display: none;
  }
}/*# sourceMappingURL=all.css.map */