main{
  padding-top: 175px;
}

.main-color{color: #E9CCAD;}
.secondary-color{color: #96908C;}
.third-color{color: #9E8979;}
.deep-color{color: #373737;}
.red-color{color: #952726;}

.back-top{
  display: inline-block;
  width: 60px;
  height: 60px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  background-image: url("../images/process/top-icon.png");
  background-size: cover;
}

.back-top:hover{
  background-image: url("../images/process/top-icon-hover.png");
  background-size: cover;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.text-h1{
  font-weight: 700;
  font-size: 50px;
  line-height: 64px;
  letter-spacing: 0.12em;
}

.text-h2{
  font-weight: 700;
  font-size: 30px;
  line-height: 43px;
  letter-spacing: 0.12em;
}

.text-h3{
  font-weight: 700;
  font-size: 50px;
  line-height: 72px;
  letter-spacing: 0.12em;
}

.text-h4{
  font-weight: 700;
  font-size: 26px;
  line-height: 43px;
}

.text-p{
  font-weight: 500;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0.12em;
}

.text-p-small{
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.12em;
}

.small-label{
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
}

.mb90{
  margin-bottom: 90px;
}

.mb40{
  margin-bottom: 40px;
  margin-left: 20px;
  margin-right: 20px;
}

.ml20{
  margin-left: 20px;
}

/* 公司介紹 About Us */
.aboutUs {
  position: relative;
}

.aboutUs-right{
  padding-left: 80px;
}

.aboutUs-left{
  padding-left: 0;
  padding-right: 0;
}

.text-list{
  font-weight: 500;
  font-size: 26px;
  padding-top: 113px;
  letter-spacing: 0.1em;
}

.text-list p{
  margin-bottom: 18px;
}

.aboutUs .mountain{
  background: url('../images/about/about-photo002.png') ;
  width: 321px;
  height: 154px;
  position: absolute;
  right: 60px;
  top: 200px;
  background-repeat: no-repeat;
  background-size: cover;
}

.aboutUs .line{
  background: url('../images/about/about-photo003.png') ;
  width: 435px;
  height: 68px;
  position: absolute;
  right: 70px;
  top: 240px;
  background-repeat: no-repeat;
  background-size: cover;
}

.mountain-line{
  height: 80px;
}

.mountain-line .line{
  background: url('../images/about/about-photo004.png') ;
  width: 681px;
  height: 207px;
  position: absolute;
  right: 400px;
  background-repeat: no-repeat;
  background-size: cover;
}

.mountain-line img{
  width: 681px;
}

.ourIdea .text-line{
  background: url('../images/about/about-photo005.png') ;
  width: 385px;
  height: 119px;
  position: absolute;
  top: 95px;
  left: -50px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.license{
  position: relative;
  overflow: hidden;
}

.license .license-bg{
  width: 100%;
  background-image: url('../images/about/about-bg.jpg') ;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding-top: 120px;
}

.license .mountain-left{
  background: url("../images/about/about-photo010.png");
  width: 809px;
  height: 158px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size:cover;
}

.license .mountain-right{
  background: url("../images/about/about-photo009.png");
  width: 1023px;
  height: 345px;
  position: absolute;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.license-right{
  display: flex;
  z-index: 9;
}

.license-right .person img{
  width: 400px;
}

.license-right .slogan img{
  width: 49px;
}

.license .license-left .text-line{
  border-left: #9E8979 4px solid;
  padding-left: 20px;
  margin-left: 30px;
  margin-bottom: 20px;
}


/* 初終注意事項 notice */
.notice-text{
  padding-left: 200px;
  margin-bottom: 60px;
  position: relative;
}

.notice-line{
  background: url('../images/notice-line.png') ;
  width: 400px;
  height: 154px;
  position: absolute;
  left: -70px;
  top: 10px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}


/* 禮體SPA spa */
.spa {
  position: relative;
  overflow: hidden;
}

.spa .set-width{
  width: 75%;
}

.spa .titel-line{
  background: url('../images/spa/title-line.png') ;
  width: 456px;
  height: 90px;
  position: absolute;
  left: -50px;
  top: 50px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -2;
}

.spa .top{
  margin-bottom: 140px;
}

.spa .mountain-top{
  background: url('../images/spa/mountain-001.png') ;
  width: 595px;
  height: 285px;
  position: absolute;
  right: 0;
  top: 370px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .middle-line{
  background: url('../images/spa/line-001.png') ;
  width: 867px;
  height: 722px;
  position: absolute;
  right: 100px;
  top: 390px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .bird-top{
  background: url('../images/spa/bird-001.png') ;
  width: 150px;
  height: 70px;
  position: absolute;
  right: 300px;
  top: 900px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .bottom-line{
  background: url('../images/spa/line-002.png') ;
  width: 1453px;
  height: 1007px;
  position: absolute;
  right: 121px;
  top: 1130px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .mountain-middle{
  background: url('../images/spa/mountain-003.png') ;
  width: 355px;
  height: 74px;
  position: absolute;
  left: 140px;
  top: 1400px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .number-title{
  padding-bottom: 70px;
}


.spa .bird-bottom{
  background: url('../images/spa/bird-002.png') ;
  width: 198px;
  height: 83px;
  position: absolute;
  right: 100px;
  bottom: 120px;
  background-repeat: no-repeat;
  background-size:cover;
}

.spa .mountain-bottom{
  background: url('../images/spa/mountain-002.png') ;
  width: 1453px;
  height: 723px;
  position: absolute;
  right: 0;
  bottom: -500px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}


/* 環保葬 protection */
.protection .one .textlayout{
  position: absolute;
  top: 740px;
}

.protection .mountain-top{
  top: 450px;
}

.protection .middle-line{
  top: 450px;
}

.protection .protection-bottom-line{
  background: url('../images/protection/line.png') ;
  width: 1710px;
  height: 5035px;
  position: absolute;
  left: 29px;
  top: 1250px;
  background-repeat: no-repeat;
  background-size:cover;
}

.protection .mountain-bottom{
  background: url('../images/spa/mountain-002.png') ;
  width: 1453px;
  height: 723px;
  position: absolute;
  right: 0;
  top: 1900px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}

.protection .bird-bottom{
  background: url('../images/spa/bird-002.png') ;
  width: 198px;
  height: 83px;
  position: absolute;
  right: 100px;
  top: 1950px;
  background-repeat: no-repeat;
  background-size:cover;
}

.protection .mountain-top-two{
  background: url('../images/spa/mountain-001.png') ;
  width: 595px;
  height: 285px;
  position: absolute;
  left: 240px;
  top: 3050px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}

.protection .mountain-middle-two{
  background: url('../images/spa/mountain-003.png') ;
  width: 355px;
  height: 74px;
  position: absolute;
  right: 140px;
  top: 4250px;
  background-repeat: no-repeat;
  background-size:cover;
}

.protection .bird-bottom-two{
  background: url('../images/protection/bird-001.png') ;
  width: 150px;
  height: 69px;
  position: absolute;
  left: 300px;
  bottom: 720px;
  background-repeat: no-repeat;
  background-size:cover;
}

.protection .mountain-bottom-two{
  background: url('../images/protection/mountain.png') ;
  width: 1453px;
  height: 723px;
  position: absolute;
  left: 0;
  bottom: 100px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}



/* 常見問題 QA */
.qa {
  position: relative;
}

.qa .qa-width{
  width: 75%;
}

.qa .accordion-button:not(.collapsed)::after{
  background-image:url('../images/qa/minus.png')
}


.qa .accordion-button::after{
  background-image:url('../images/qa/plus.png')
}

.qa .accordion-button{
  font-size: 20px;
  color: #373737;
}

.qa .accordion-button:focus{
  border-color: white;
  box-shadow:none;
}

.qa .accordion-button:not(.collapsed){
  font-weight: 700;
  color: #373737;
  background-color:white;
}

.qa .accordion-body{
  background-color: #fdfaf7;
  display: flex;
}

.qa .question{
  padding-right: 10px;
}

.qa .question-text{
  font-size: 16px;
  line-height: 32px;
}

.qa .mountain{
  background: url('../images/qa/mountain.png') ;
  width: 309px;
  height: 148px;
  position: absolute;
  left: -200px;
  top: 30px;
  background-repeat: no-repeat;
  background-size:cover;
}

.qa .bird{
  background: url('../images/qa/bird.png') ;
  width: 150px;
  height: 70px;
  position: absolute;
  right: 10px;
  top: 600px;
  background-repeat: no-repeat;
  background-size:cover;
}


/* 聯絡我們 contactUs */
.contactUs{
  position: relative;
  overflow: hidden;
  padding-bottom: 200px;
}

.contactUs .contactUs-width{
  width: 55%;
}

.contactUs .contactUs-from{
  background-image: url('../images/contactUs/from-bg.png');
  background-size: cover;
  background-repeat:no-repeat;
  width: 500px;
  height: 605px;
  padding: 30px 70px 70px 70px;
  margin: 0 auto;
}

.contactUs form .form-label{
  font-size: 12px;
  color: #9E8979;
}

.contactUs form .form-control{
  background-color: #FFFCF9;
  border-bottom: 1px solid #E9CCAD;
  font-size: 16px;
  color: #96908C;
  border-radius: 0px;
  border-top: 0px solid white;
  border-left: 0px solid white;
  border-right: 0px solid white;
}

.contactUs form .form-control:focus{
  box-shadow: none;
}

.contactUs form .submit-btn{
  margin-top: 30px;
}

.contactUs form .btn-primary{
  background-color: #D9D9D9;
  border-color: #D9D9D9;
  border-radius: 0rem;
}

.contactUs form .btn-primary:hover{
  background-color: #9E8979;
  border-color: #9E8979;
  border-radius: 0rem;
}

.contactUs .bird-left{
  background: url('../images/contactUs/bird-001.png') ;
  width: 250px;
  height: 104px;
  position: absolute;
  left: 100px;
  top: 330px;
  background-repeat: no-repeat;
  background-size:cover;
}

.contactUs .mountain-left{
  background: url('../images/contactUs/mountain-001.png') ;
  width: 444px;
  height: 124px;
  position: absolute;
  left: 130px;
  top: 470px;
  background-repeat: no-repeat;
  background-size:cover;
}

.contactUs .bird-right{
  background: url('../images/contactUs/bird-002.png') ;
  width: 150px;
  height: 70px;
  position: absolute;
  right: 100px;
  top: 430px;
  background-repeat: no-repeat;
  background-size:cover;
}

.contactUs .mountain-right{
  background: url('../images/contactUs/mountain-002.png') ;
  width: 907px;
  height: 435px;
  position: absolute;
  right: -120px;
  top: 220px;
  background-repeat: no-repeat;
  background-size:cover;
  z-index: -1;
}

.contactUs .line-top{
  background: url('../images/contactUs/line-001.png') ;
  width: 600px;
  height: 157px;
  position: absolute;
  left: 120px;
  top: 530px;
  background-repeat: no-repeat;
  background-size:cover;
}

.contactUs .line-bottom{
  background: url('../images/contactUs/line-002.png') ;
  width: 1048px;
  height: 215px;
  position: absolute;
  right: 0px;
  top: 520px;
  background-repeat: no-repeat;
  background-size:cover;
}


/* 禮儀顧問 consultant */
.consultant{
  overflow: hidden;
}

.consultant .set-width{
  width: 75%;
}

.consultant .person-area{
  position: relative;
  min-height: 450px;
  cursor: pointer;
}

.consultant .person-area .infront{
  position: absolute;
  bottom: 0;
  right: 20px;
}

.consultant .person-area .person{
  position: absolute;
  bottom: 0;
  z-index: -1;
  transition: 0.4s ease;
}

.consultant .person-area .name{
  position: absolute;
  font-size: 26px;
  right: 90px;
  bottom: 130px;
  z-index: -2;
}

.consultant .person-area .title{
  position: absolute;
  font-size: 16px;
  right: 60px;
  bottom: 100px;
  z-index: -2;
}

.consultant .person-area p.nameStyle{
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  background-color: #9E8979;
  line-height: 1.5rem;
  padding: 10px 5px 90px 5px;
  letter-spacing: 0.3em;
  transition: background-color 1s ease;
}

.consultant .person-area p.titleStyle{
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  background-color: #9E8979;
  line-height: 1.5rem;
  padding: 10px 5px;
  letter-spacing: 0.3em;
  transition: background-color 1s ease;
}

.consultant .person-bg{
  margin-bottom: 100px;
}

.consultant .mountain-one{
  background: url('../images/consultant/mountain-001.png') ;
  width: 800px;
  height: 343px;
  position: absolute;
  left: 0px;
  top: 510px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -3;
}

.consultant .mountain-two{
  background: url('../images/consultant/mountain-002.png') ;
  width: 942px;
  height: 220px;
  position: absolute;
  right: 0px;
  top: 450px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -4;
}

.consultant .mountain-three{
  background: url('../images/consultant/mountain-003.png') ;
  width: 860px;
  height: 191px;
  position: absolute;
  left: 0px;
  top: 977px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -4;
}

.consultant .mountain-four{
  background: url('../images/consultant/mountain-004.png') ;
  width: 942px;
  height: 220px;
  position: absolute;
  right: 0px;
  top: 900px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -4;
}

.consultant a.link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* z軸的位置 */
}

.consultant .person-area:hover .person{
  bottom: 5px;
}

.consultant .person-area:hover p.nameStyle{
  background-color: black;
}

.consultant .person-area:hover p.titleStyle{
  background-color: black;
}


/* modal */
.modal.modal-fullscreen .modal-dialog,
.modal.modal-fullscreen .modal-content {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.modal.modal-fullscreen .modal-dialog {
  margin: 0;
  max-width: 100%;
  animation-duration:0.6s;
}
.modal.modal-fullscreen .modal-content {
  border: none;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: inherit;
  -moz-box-shadow: inherit;
  -o-box-shadow: inherit;
  box-shadow: inherit;
}
.modal.modal-fullscreen.force-fullscreen .modal-body {
  padding: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header,
.modal.modal-fullscreen.force-fullscreen .modal-footer {
  left: 0;
  position: absolute;
  right: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-header {
  top: 0;
}
.modal.modal-fullscreen.force-fullscreen .modal-footer {
  bottom: 0;
}

.modal-header{
  display: block;
  padding: 2rem 5rem 0rem 5rem;
  border-bottom:0px;
}

.close {
  float: right;
  cursor: pointer;
  background: url('../images/consultant/close.png') ;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-size:cover;
}

.modal-body .person-area{
  position: relative;
  min-height: 550px;
  cursor: pointer;
}


.modal-body .person-area .person{
  position: absolute;
  bottom: 0;
  z-index: 9;
}

.modal-body .person-area .name{
  position: absolute;
  font-size: 40px;
  right: 110px;
  bottom: 170px;
}

.modal-body .person-area .title{
  position: absolute;
  font-size: 24px;
  right: 70px;
  bottom: 50px;
}

.modal-body .person-area p.titleStyle{
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  background-color: #9E8979;
  padding: 15px 5px;
  letter-spacing: 0.3em;
}

.modal-body .person-area p.nameStyle{
  padding: 15px 5px;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  color: white;
  background-color: #9E8979;
  padding: 15px 5px 100px 5px;
  letter-spacing: 0.3em;
}

.modal-body .text-bg{
  background: url('../images/consultant/semicolon.png') ;
  width: 464px;
  height: 106px;
  background-repeat: no-repeat;
  background-size:cover;
  margin: 0 auto;
}

.modal-body .line{
  background: url('../images/consultant/modal-line.png') ;
  width: 1223px;
  height: 250px;
  background-repeat: no-repeat;
  background-size:cover;
  position:absolute;
  bottom: 180px;
  left: 90px;
  z-index: 0;
}

/* 訂製服務 customized */
.customized{
  margin-bottom: 100px;
}

.customized .set-width{
  width: 75%;
}

.customized .tabs{
  margin-top: 60px;
}

.customized .tabs .img-title{
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  margin-bottom: 10px;
}

.customized .tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background-color: transparent;
  border-color: transparent transparent #f3f3f3;
  border-bottom: 4px solid !important;
  font-size: 20px;
  font-weight: bold;
}

.customized .tabs .nav-tabs .nav-link{
  color: #373737;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  flex-shrink: 0;
  cursor: pointer;
}

.customized .tabs .nav-tabs .nav-link.active{
  color: #9E8979;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  font-size: 26px;
  font-weight: 600;
}

.customized .tab-content .photolink{
  cursor: pointer;
}
.customized .tab-content .photolink iframe{
  aspect-ratio: 16/9;
}

.customized .tab-content .photolink .photo{
  overflow: hidden;
}

.customized .tab-content .photolink img{
  max-width: 100%;
  /* height: auto; */
  height: 35vh;
  object-fit: cover;
  transition: transform 1s ease;
}

.customized .tab-content .photolink:hover img{
  transform: scale(1.2);
}

.customized .tab-content .photolink .small-label{
  margin-top: 20px;
}

.customized .tab-content .photolink:hover .small-label{
  color: #9E8979;
}

.primary {
  /* background-position: center; */
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
  background-size: contain;
  margin-top: 20px;
  position: relative;
}

.zoomed{
  position: absolute;
  width: 15%;
  aspect-ratio: 1/1;
  border: 1px solid white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  background-image: inherit;
  transform: scale(1.5);
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.thumbnail:hover .thumbnail-image, .selected .thumbnail-image {
  border: 4px solid black;
}

.thumbnail-image {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: 4px solid transparent;
}


/* customized-farewell 客製化案例 */
.customized-farewell{
  position: relative;
  overflow: hidden;
}
.customized-farewell .set-width{
  width: 75%;
}

.customized-farewell .mountain-top{
  position: absolute;
  background: url('../images/customized-farewell/mountain-001.png') ;
  width: 468px;
  height: 233px;
  background-repeat: no-repeat;
  background-size:cover;
  top: 0;
  left: 0;
  z-index: -1;
}

.customized-farewell .mountain-bottom{
  position: absolute;
  background: url('../images/customized-farewell/mountain-002.png') ;
  width: 950px;
  height: 172px;
  background-repeat: no-repeat;
  background-size:cover;
  bottom: 0;
  right: 0;
}

.customized-farewell .image-block {
  position: relative;
  margin-top: 60px;
  padding-bottom: 30px;
}

.customized-farewell .image-block .text-block{
  width: 70%;
  margin: 0 auto;
}

.customized-farewell .image-block h1{
  font-size:34px ;
  font-weight: 600;
  line-height: 54px;
  text-decoration: underline;
  margin-bottom: 40px;
  letter-spacing: 0.2em;
}

.customized-farewell .image-block p{
  font-size:16px ;
  font-weight: 500;
  line-height: 26px;
}

.customized-farewell .image-block .bg-one{
  position: absolute;
  background: url('../images/customized-farewell/bg-001.png') ;
  width: 90%;
  height: 90%;
  background-repeat: no-repeat;
  background-size:cover;
  top: 40px;
  right: 250px;
  z-index: -1;
}

.customized-farewell .image-block .bg-two{
  position: absolute;
  background: url('../images/customized-farewell/bg-002.png') ;
  width: 90%;
  height: 90%;
  background-repeat: no-repeat;
  background-size:cover;
  top: 40px;
  left: 100px;
  z-index: -1;
}

.customized-farewell .image-block .bg-three{
  position: absolute;
  background: url('../images/customized-farewell/bg-003.png') ;
  width: 90%;
  height: 90%;
  background-repeat: no-repeat;
  background-size:cover;
  top: 40px;
  right: 100px;
  z-index: -1;
}

.customized-farewell .bird-one{
  position: absolute;
  background: url('../images/customized-farewell/bird-001.png') ;
  width: 185px;
  height: 77px;
  background-repeat: no-repeat;
  background-size:cover;
  top: 150px;
  right: 20px;
}

.customized-farewell .bird-two{
  position: absolute;
  background: url('../images/customized-farewell/bird-002.png') ;
  width: 150px;
  height: 70px;
  background-repeat: no-repeat;
  background-size:cover;
  top: 900px;
  left: 50px;
}

.customized-farewell .line-one{
  position: absolute;
  background: url('../images/customized-farewell/line-001.png') ;
  width: 543px;
  height: 83px;
  background-repeat: no-repeat;
  background-size:cover;
  top: 900px;
  left: 0;
}

.customized-farewell .line-two{
  position: absolute;
  background: url('../images/customized-farewell/line-002.png') ;
  width: 760px;
  height: 163px;
  background-repeat: no-repeat;
  background-size:cover;
  bottom: 0;
  right: 0;
  z-index: 2;
}

/* 方案報價 */
.customized .tab-content .quotation{
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

.customized .tab-content .quotation .card-bg{
  min-width: 230px;
  max-height: 100vh;
  box-shadow: 0px 0px 8px rgba(158, 137, 121, 0.2);
  border-radius: 5px;
  cursor: pointer;
  padding-bottom: 30px;
  transition: 0.4s ease;
  margin: 20px 20px 20px 2px;
}

.customized .tab-content .quotation .card-bg:hover{
  transform:translate(0,-5px)
}

.customized .tab-content .quotation .card-bg .titel{
  background-image: url('../images/quotation/titel.png');
  background-size: contain;
  width: 167px;
  height: 70px;
  margin: 0 auto;
  color: white;
  font-size: 18px;
  font-weight: 900;
  padding: 17px;
}

.customized .tab-content .quotation .card-bg .content{
  text-align: center;
  padding: 20px;
}

.customized .tab-content .quotation .card-bg .content h1{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1rem;
}

.customized .tab-content .quotation .card-bg .content h1 span{
  font-size: 12px;
}

.customized .tab-content .quotation .card-bg .content h3{
  font-size: 14px;
  font-weight: 900;
  padding: 20px;
}

.customized .tab-content .quotation .card-bg .content h3::before {
  content: "— ";
}

.customized .tab-content .quotation .card-bg .content h3::after {
  content: "— ";
}

.customized .tab-content .quotation .card-bg .content p{
  font-size: 16px;
  line-height: 2.2rem;
}

.customized .tab-content .quotation .card-bg .content p.height{
  min-height: 120px;
}

.customized .tab-content .quotation .card-bg .boutton{
  background: url('../images/quotation/but.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

.customized .tab-content .quotation .card-bg:hover .boutton{
  background: url('../images/quotation/but-hover.png');
  background-repeat: no-repeat;
  background-size: contain;
  width: 42px;
  height: 42px;
}

.customized .mountain{
  position: absolute;
  background: url('../images/quotation/mountain.png') ;
  width: 539px;
  height: 215px;
  background-repeat: no-repeat;
  background-size:cover;
  top: 280px;
  right: 0;
  z-index: -1;
}

.modal-body .quotation-popup{
  padding-left: 30px;
}

.modal-body .quotation-popup h2{
  font-size: 50px;
  font-weight: 600;
  margin-bottom: 40px;
}

.modal-body .quotation-popup p{
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #373737;
  line-height: 1.3;
}

.modal-body .quotation-popup p span{
  font-size: 16px;
}

.modal-body .quotation-popup h4{
  font-size: 16px;
  font-weight: 800;
  border-left: #9E8979 2px solid;
  color: #9E8979;
  padding-left: 10px;
  margin-bottom: 20px;
}

.modal-body .quotation-popup h5{
  font-size: 16px;
  font-weight: 800;
  color: #9E8979;
  padding-left: 10px;
  margin-bottom: 20px;
}

.modal-body .quotation-popup .bottom-line{
  border-top:1px solid #9E8979 ;
  padding-bottom: 20px;
  margin-left: 10px;
}


.modal-body .popup-line{
  background: url('../images/quotation/popup-line.png') ;
  width: 1385px;
  height: 259px;
  background-repeat: no-repeat;
  background-size:cover;
  position:absolute;
  bottom: 180px;
  left: 0;
  z-index: 10;
}

.modal-body .popup-bg{
  background: url('../images/quotation/popup-bg.png') ;
  width: 1440px;
  height: 405px;
  background-repeat: no-repeat;
  background-size:cover;
  position:absolute;
  bottom: 0;
  left: 0;
  z-index: 9;
}




.process .tabs .process-tabs{
  display: flex;
  justify-content: space-between;
}

.process .tabs .process-tabs .tab-list{
  width: 20%;
}

.process .tabs .process-tabs .tab-list ul{
  list-style-type:none;
  margin-top: 20px;
}

.process .tabs .process-tabs .tab-list ul li{
  padding-bottom: 20px;
}

.process .tabs .process-tabs .tab-list ul li a{
  color: #96908C;
  text-decoration: none;
}

.process .tabs .process-tabs .tab-list ul li a:hover{
  color: #9E8979;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.process .tabs .process-tabs .tab-list ul li a.active{
  color: #9E8979;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.process .tabs .process-tabs .number-ba{
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  border: 1px solid #96908C;
  color: #96908C;
  margin-right: 5px;
  font-size: 16px;
  display: block;
  float: left;
  height: 28px;
  width: 28px;
  text-align: center;
}

.process .tabs .process-tabs a:hover .number-ba{
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background-color:#9E8979 ;
  color: white;
  padding: 0px 4px;
  margin-right: 5px;
  height: 30px;
  width: 30px;
}

.process .tabs .process-tabs a.active .number-ba{
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background-color:#9E8979 ;
  color: white;
  padding: 0px 4px;
  margin-right: 5px;
  height: 30px;
  width: 30px;
}


.process .tabs .nav{
  padding-left: 250px;
}

.process .tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background-color: transparent;
  border-color: transparent transparent #f3f3f3;
  border-bottom: 4px solid !important;
  font-size: 20px;
  font-weight: bold;
}

.process .tabs .nav-tabs .nav-link{
  color: #373737;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

.process .tabs .nav-tabs .nav-link.active{
  color: #9E8979;
  border: 1px solid transparent;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  font-size: 26px;
  font-weight: 600;
}

.process .tab-content .photolink{
  cursor: pointer;
}

.process .tab-content .photolink .photo{
  overflow: hidden;
}

.process .tab-content .photolink img{
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 1s ease;
}

.process .tab-content .photolink:hover img{
  transform: scale(1.2);
}

.process .tab-content .photolink .small-label{
  margin-top: 20px;
}

.process .tab-content .photolink:hover .small-label{
  color: #9E8979;
}

.process .tab-content-pic .tab-block{
  margin-bottom: 200px;
}

.process .tab-content-pic .number-block{
  position: relative;
  margin-bottom: 20px;
}
.process .tab-content-pic .number-block .number{
  position:absolute;
  bottom: 0;
  left: -50px;
}

.process .top .cloud1{
  background: url(../images/process/cloud1.png);
  width: 450px;
  height: 117px;
  position: absolute;
  left: 450px;
  top: 220px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud2{
  background: url(../images/process/cloud2.png);
  width: 250px;
  height: 100px;
  position: absolute;
  right: 550px;
  top: 1420px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud3{
  background: url(../images/process/cloud7.png);
  width: 254px;
  height: 118px;
  position: absolute;
  left: 450px;
  top: 3220px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud4{
  background: url(../images/process/cloud3.png);
  width: 224px;
  height: 84px;
  position: absolute;
  right: 250px;
  top: 5020px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud5{
  background: url(../images/process/cloud4.png);
  width: 260px;
  height: 80px;
  position: absolute;
  left: 450px;
  top: 6820px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud6{
  background: url(../images/process/cloud5.png);
  width: 347px;
  height: 154px;
  position: absolute;
  right: 250px;
  top: 8660px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.process .top .cloud7{
  background: url(../images/process/cloud6.png);
  width: 195px;
  height: 110px;
  position: absolute;
  right: 450px;
  top: 8800px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}


/* 人生故事集錦 story*/
.nav{
  flex-wrap: nowrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-scroll{
  align-items: center;
  overflow: hidden;
  display: flex;
  position: relative;
  z-index: 5;
}
.nav-scroll .scroll{
  color: rgba(150, 144, 140, 1);
  position: sticky;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  aspect-ratio: 1/1;
}
.nav-scroll .hidden{
  display: none;
}
.story-line{
  background-repeat: no-repeat;
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  /* height: 1950px; */
  height: 100%;
  max-width: 1360px;
  background-position: start;
}
.story-line.line1{
  background-image: url(../images/story-line1.png);
  z-index: 2;
  width: 90%;
  background-size: 100% 1950px;
  /* width: 1360px; */
}
.story-line.line2{
  background-image: url(../images/story-line2.png);
  z-index: 3;
  /* width: calc((90% - 100px)); */
  width: 100%;
  background-size: 90% 1950px;
  /* width: 1260px; */
}
.story-customized,.story-container{
  position: relative;
  /* overflow: hidden; */
}
.story-mountain{
  background-image: url(../images/story-mountain.png);
  width: 683px;
  height: 340px;
  bottom: -5%;
  right: 0;
}
.story-mountain,.story1,.story2{
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}
.story1{
  background-image: url(../images/story1.png);
  width: 460px;
  height: 183px;
  /* top: 18%; */
  top: 360px;
  z-index: 2;
}
.story2{
  background-image: url(../images/story2.png);
  width: 270px;
  height: 87px;
  right: 3%;
  top: 940px;
  z-index: 2;
}
.story-group{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  /* min-height: 1800px; */
}
.story{
  padding: 1rem;
  z-index: 5;
  background-color: white;
  width: calc(( 100% - 8rem ) / 3 );
  margin-right: 4rem;
  margin-bottom: 1rem;
  position: relative;
  text-decoration: none;
  transition: transform 0.3s ease-out;
  box-shadow: 0px 0px 2px white, 2px 2px 3px rgba(158, 137, 121, 0.2),inset 0px 1px 3px rgba(158, 137, 121, 0.2), inset -2px -2px 3px rgba(158, 137, 121, 0.2);
}
.story:nth-child(3n){
  margin-right: 0;
}
.story:nth-child(1){
  margin-top: 5rem;
}
.story:nth-child(2){
  margin-top: 10rem;
  margin-right: 0;
  margin-left: 2rem;
  transform: rotate(5deg);
}
.story:nth-child(3){
  margin-top: 5rem;
}
.story:nth-child(4){
  margin-top: 5rem;
  transform: rotate(-2deg);
}
.story:nth-child(5){
  margin-top: 5rem;
}
.story:nth-child(6){
  margin-top: 0rem;
  transform: rotate(5deg);
}
.story:nth-child(7){
  margin-top: 3rem;
}
.story:nth-child(8){
  margin-top: 3rem;
  transform: rotate(5deg);
}
.story:nth-child(9){
  margin-top: 8rem;
}
.story:nth-child(10){
  transform: rotate(-5deg);
}
.story:nth-child(11){
  margin-top: 1rem;
  transform: rotate(-2deg);
}
.story:nth-child(12){
  margin-top: 5rem;
  transform: rotate(5deg);
}
.story:nth-child(2):hover { transform: rotate(5deg) rotate(2deg); }
.story:nth-child(4):hover { transform: rotate(-2deg) rotate(2deg); }
.story:nth-child(6):hover { transform: rotate(5deg) rotate(2deg); }
.story:nth-child(8):hover { transform: rotate(5deg) rotate(2deg); }
.story:nth-child(10):hover { transform: rotate(-5deg) rotate(2deg); }
.story:nth-child(11):hover { transform: rotate(-2deg) rotate(2deg); }
.story:nth-child(12):hover { transform: rotate(5deg) rotate(2deg); }

.story:nth-child(1):hover,
.story:nth-child(3):hover,
.story:nth-child(5):hover,
.story:nth-child(7):hover,
.story:nth-child(9):hover {
  transform: rotate(2deg);
}
.story-logo{
  position: absolute;
  top: -20%;
  left: -15%;
  width: 160px;
}
.logo-text{
  color: black;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  font-weight: 600;
}
.story-img{
  aspect-ratio: 5/3;
}
.story-img img,.story-logo img{
  width: 100%;
  height: 100%;
}
.story-date{
  margin-bottom: 0;
  color: black;
}
.story-title{
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.5rem;
  color: rgba(158, 137, 121, 1);
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制顯示 2 行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;
}
.no-data{
  position: relative;
  z-index: 5;
  flex: 1;
  display: grid;
  align-items: center;
  height: 40dvh;
  font-size: 18px;
}
.page{
  position: relative;
  z-index: 5;
}
.page .page-item.active .page-link{
  background-color: rgba(158, 137, 121, 1);
  border-color: rgba(158, 137, 121, 1);
  color: white;
}
.page .page-link{
  color: rgba(47, 47, 47, 1);
  background-color: transparent;
  border-color: transparent;
  border-radius: 50% !important;
  margin: 0 0.5rem;
  text-align: center;
  width: 40px;
  height: 40px;
}
.page .page-link:hover{
  color: black;
  background-color: rgba(233, 204, 173, 1);
  border-color: rgba(233, 204, 173, 1);
}
.page-item.disabled .page-link{
  border: none;
  background-color: transparent;
}
footer{
  position: relative;
  z-index: 4;
}

/* 人生故事集錦內頁 detail*/
.detail-container{
  padding-top: 92px;
}
.detail-bg{
  background-image: url(../images/story-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 0;
}
.detail{
  padding: 3rem;
  background-color: white;
}
.detail .main-img,.detail-content .detail-img .slide-img{
  aspect-ratio: 12/7;
}
.detail-content{
  display: flex;
  padding-top: 3rem;
  gap: 3rem;
}
.detail-content .detail-img{
  max-height: 1082px;
  overflow-y: auto;
}
.detail .main-img img,.detail-content .detail-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-content .detail-img .slide-img{
  margin-bottom: 1rem;
  cursor: pointer;
}
.detail-content .detail-img .slide-img:last-child{
  margin-bottom: 0;
}
.detail-content .detail-article{
  padding: 2rem 3rem 0 3rem;
  border-right: 1px rgba(233, 204, 173, 1) solid;
}
.detail-content .detail-article,.detail-content .detail-img{
  width: calc(( 100% - 3rem ) / 2);
}
.detail-article.full-width {
    width: 100%;
    border: none;
}
.detail-title{
  font-size: 40px;
  font-weight: 700;
}
.detail-date,.story-date{
  font-family: "Shalimar", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}
.detail-date{
  margin-bottom: 1.5rem;
}
.detail-text{
  font-weight: 500;
  line-height: 32px;
}
.modal-backdrop{
  background-color: white !important;
}
@keyframes overlay_zoomin {
  0%{
      opacity: 0;
  }
  100%{
      opacity: 80%;
  }
}
.modal-content {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(5px);
}
.img-browser{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 100;
  height: 60dvh;
  display: flex;
  justify-content: center;
  max-width: 1080px;
}
.img-browser img{
  width: 100%;
  height: 100%;
}
.img-browser .main-img{
  width: 80%;
  aspect-ratio: 17/10;
  position: relative;
}
.img-browser .thumbnail-image{
  width: 160px;
  height: 160px;
}
.img-browser .thumbnails{
    overflow-y: auto;
    width: 20%;
  }
.arrow{
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
}
.arrow.right{
  right: 1%;
}
.arrow.left{
  left: 1%;
}

/* ipad pro
------------------------------------*/
@media (max-width: 1200px) and (min-width: 1024px) {
  
  .aboutUs .mountain{
    top: 150px;
    right: 0;
    width: 168px;
    height: 110px;
  }

  .aboutUs .line{
    width: 230px;
    height: 48px;
    right: 0px;
    top: 180px;
  }

  .text-list{
    padding-top: 50px;
    font-size: 22px;
  }

  .text-list p{
    margin-bottom: 16px;
  }

  .mountain-line{
    height: 0px;
  }

  .mountain-line .line{
    width: 400px;
    height: 121px;
    right: 300px;
  }

  .license .mountain-left{
    width: 100%;
    z-index: 99;
  }
  
  .license .mountain-right{
    width: 100%;
  }

  .license .license-bg{
    padding-top: 30px;
  }

  .spa .set-width{
    width: 100%;
  }

  .text-p{
    font-size: 16px;
    line-height: 32px;
  }

  .spa .middle-line{
    right: -20px;
    top: 350px;
  }

  .spa .mountain-top{
    right: -100px;
    top: 320px;
  }

  .spa .bird-top{
    right: 100px;
  }

  .spa .mountain-middle{
    left: 80px;
  }

  .spa .bottom-line{
    right: -90px;
  }

  .contactUs .contactUs-width{
    width: 100%;
  }

  .contactUs .bird-right {
    right: 20px;
    top: 430px;
    z-index: -1;
  }

  .contactUs .mountain-left {
    z-index: -1;
  }

  .contactUs .line-bottom{
    z-index: -1;
  }

  .consultant .set-width{
    width: 80%;
  }

  .consultant .person-area {
    min-height: 400px;
  }

  .consultant .person-area .person{
    min-width: 350px;
  }

  .consultant .person-area .name{
    right: 30px;
  }

  .consultant .person-area .title{
    right: 0;
  }

  .consultant .mountain-one{
    top: 400px;
  }

  .consultant .mountain-two{
    top: 400px;
  }

  .consultant .mountain-three{
    top: 877px;
  }

  .consultant .mountain-four{
    top: 800px;
  }

  .modal-fullscreen .modal-body {
    overflow-x: clip;
  }

  .modal-body .line{
    bottom: 150px;
  }

  .modal-body .person-area .name {
    font-size: 30px;
    right: 100px;
    bottom: 190px;
  }

  .modal-body .person-area .title {
    font-size: 20px;
    right: 70px;
    bottom: 100px;
  }

  .modal-body .text-bg{
    width: 364px;
    height: 83px;
  }

  .modal-body .text-h2{
    font-size: 26px;
  }

  .customized-farewell .image-block .bg-one{
    height: 450px;
  }

  .customized-farewell .image-block .bg-two{
    height: 450px;
  }

  .customized-farewell .image-block .bg-three{
    height: 450px;
  }

  .customized .tab-content .quotation{
    justify-content: flex-start;
  }

  .story-line{
    top: 220px;
  }
  .story-line.line1{
    background-size: 1024px 1600px;
    width: 100%;
  }
  .story-line.line2{
    background-size: 900px 1600px;
  }
  .story1{
    top: 230px;
  }
  .story{
    margin-right: 2rem;
    width: calc(( 100% - 4rem ) / 3 );
    margin-bottom: 0;
  }
  .story:nth-child(1){
    margin-top: 2rem;
  }
  .story:nth-child(2){
    margin-top: 5rem;
    margin-left: 1rem;
  }
  .story:nth-child(3){
    margin-top: 2rem;
  }
  .story:nth-child(4){
    margin-top: 3rem;
  }
  .story:nth-child(5){
    margin-top: 3rem;
  }
  .story:nth-child(6){
    margin-top: 1rem;
  }
  .story:nth-child(7){
    margin-top: 2rem;
  }
  .story:nth-child(8){
    margin-top: 2rem;
  }
  .story:nth-child(9){
    margin-top: 6rem;
  }
  .story:nth-child(10){
    transform: rotate(-5deg);
  }
  .story:nth-child(11){
    margin-top: 1rem;
    transform: rotate(-2deg);
  }
  .story:nth-child(12){
    margin-top: 5rem;
    transform: rotate(5deg);
  }

}

/* ipad
------------------------------------*/
@media (max-width: 1023px) and (min-width: 768px) {
  main{
    padding-top: 130px;
  }

  .aboutUs-right{
    padding-left: 30px;
  }

  .aboutUs .mountain{
    top: 150px;
    right: 0;
    width: 168px;
    height: 110px;
  }

  .aboutUs .line{
    width: 230px;
    height: 48px;
    right: 0px;
    top: 180px;
  }

  .text-list{
    padding-top: 30px;
    font-size: 20px;
  }

  .text-list p{
    margin-bottom: 12px;
  }

  .mountain-line{
    height: 60px;
  }

  .mountain-line .line{
    width: 400px;
    height: 121px;
    right: 200px;
  }

  .license .mountain-left{
    width: 100%;
  }
  
  .license .mountain-right{
    width: 100%;
  }

  .license .license-bg{
    padding-top: 10px;
  }

  .notice-text{
    padding-left: 80px;
  }
  
  .notice-line{
    background: url('../images/notice-line.png') ;
    width: 300px;
    height: 116px;
    position: absolute;
    left: -70px;
    top: 10px;
    background-repeat: no-repeat;
    background-size:cover;
  }

  .spa .middle-line{
    width: 500px;
    height: 416px;
    right: 10px;
    top: 850px;
  }
  
  /* .spa .text-h1{
    margin-left: 20px;
  }

  .spa .small-label{
    margin-left: 20px;
  } */

  .spa .top img{
    padding: 0;
  }

  .spa .top {
    margin-bottom: 120px;
  }

  .spa .one {
    margin-bottom: 60px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .spa .two {
    margin-bottom: 60px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .spa .three {
    margin-bottom: 180px; 
    margin-left: 20px;
    margin-right: 20px;
  }

  .spa .four { 
    margin-bottom: 60px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .spa .bird-top{
    right: 100px;
    top: 1700px;
  }

  .contactUs .contactUs-width{
    width: 100%;
  }

  .contactUs .bird-left{
    width: 150px;
    height: 62px;
    left: 580px;
    top: 100px;
  }

  .contactUs .bird-right{
    width: 101px;
    height: 47px;
    right: 640px;
    top: 810px;
  }
  
  .contactUs .mountain-right{
    width: 541px;
    height: 260px;
    right: -100px;
    top: 780px;
  }

  .consultant .set-width{
    width: 100%;
  }

  .consultant .person-area {
    min-height: 380px;
  }

  .consultant .person-area .person{
    min-width: 260px;
  }

  .consultant .person-area .name{
    right: 30px;
    bottom: 120px;
  }

  .consultant .person-area .title{
    right: 0;
    bottom: 90px;
  }

  .modal-fullscreen .modal-body {
    overflow-x: clip;
  }

  .consultant .mountain-one{
    width: 100%;
    left: -100px;
    top: 410px;
    background-size: contain;
  }

  .consultant .mountain-two{
    width: 100%;
    right: -250px;
    top: 350px;
    background-size: contain;
  }

  .consultant .mountain-three{
    left: -100px;
    top: 790px;
    background-size: contain;
  }

  .consultant .mountain-four{
    right: -200px;
    top: 700px;
    background-size: contain;
  }

  .modal-body .text-bg{
    margin: 0 auto;
  }

  .modal-body .line{
    bottom: 150px;
  }

  .modal-body .person-area .name {
    font-size: 36px;
    right: 30px;
    bottom: 200px;
  }

  .modal-body .person-area .title {
    font-size: 24px;
    right: -10px;
    bottom: 100px;
  }

  .modal-body .person-area .person{
    width: 450px;
  }

  .text-p{
    font-size: 16px;
    line-height: 34px;
  }

  .customized .set-width{
    width: 100%;
  }

  .thumbnails{
    display: flex;
    justify-content: flex-start;
  }

  .thumbnails .thumbnail{
    margin-right: 20px;
  }

  .customized-farewell .image-block .bg-one{
    display: none;
  }

  .customized-farewell .image-block .bg-two{
    display: none;
  }

  .customized-farewell .image-block .bg-three{
    display: none;
  }

  .customized-farewell .image-block .bg-four{
    display: none;
  }

  .customized-farewell .image-block .bg-five{
    display: none;
  }

  .customized-farewell .bird-one{
    top: 750px;
  }

  .customized-farewell .line-one{
    top: 1850px;
    left: 80px;
  }

  .customized-farewell .bird-two{
    top: 1850px;
    left: 450px;
  }

  .customized-farewell .mountain-bottom{
    width: 100%;
    height: 130px;
    background-size: contain;
  }
  
  .customized-farewell .line-two{
    width: 100%;
    height: 110px;
    background-size: contain;
  }

  .modal-header{
    padding: 2rem 2rem 0rem 2rem;
  }

  .process .tab-content-pic .number-block .number img{
    width:100px ;
  }

  .process .tab-content-pic .number-block .number {
    left: 0px;
  }

  .customized .tab-content .quotation{
    justify-content: flex-start;
  }

  .img-browser{
    flex-direction: column;
    align-items: center;
  }
  .img-browser .main-img{
    width: 60%;
  }
  .img-browser .thumbnail-image{
    width: 120px;
    height: 120px;
  }
  .img-browser .thumbnail{
    margin-right: 1rem;
  }
  .img-browser .thumbnail:last-child{
    margin-right: 0;
  }
  .img-browser .thumbnails{
    overflow-x: auto;
    overflow-y: clip;
    width: 60%;
  }

  .story-line{
    top: 250px;
  }
  .story-line.line1{
    width: 100%;
    background-size: 767px 1600px;
  }
  .story-line.line2{
    background-size: 667px 1600px;
  }
  .story1{
    top: 200px;
  }
  .story2{
    top: 600px;
  }
  .story{
    margin-right: 1rem;
    width: calc(( 100% - 2rem ) / 3 );
    margin-bottom: 0;
  }
  .story:nth-child(1){
    margin-top: 2rem;
  }
  .story:nth-child(2){
    margin-top: 5rem;
    margin-left: 1rem;
  }
  .story:nth-child(3){
    margin-top: 2rem;
  }
  .story:nth-child(4){
    margin-top: 3rem;
  }
  .story:nth-child(5){
    margin-top: 3rem;
  }
  .story:nth-child(6){
    margin-top: 1rem;
  }
  .story:nth-child(7){
    margin-top: 2rem;
  }
  .story:nth-child(8){
    margin-top: 2rem;
  }
  .story:nth-child(9){
    margin-top: 6rem;
  }
  .story:nth-child(10){
    transform: rotate(-5deg);
  }
  .story:nth-child(11){
    margin-top: 1rem;
    transform: rotate(-2deg);
  }
  .story:nth-child(12){
    margin-top: 5rem;
    transform: rotate(5deg);
  }
}

/* mobile
------------------------------------*/
@media (max-width: 767px) {
  main{
    padding-top: 110px;
  }

  .text-h1{
    font-size: 40px;
    margin-left: 20px;
    line-height: 1.2em;
  }

  .small-label{
    margin-left: 20px;
    margin-bottom: 16px;
  }

  .aboutUs-right{
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .aboutUs .mountain{
    top: 70px;
    right: 0;
    width: 200px;
    height: 110px;
  }

  .ourIdea .ourIdea-left h3{
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .aboutUs .line{
    width: 301px;
    height: 48px;
    right: 0px;
    top: 50px;
    z-index: -1;
  }

  .text-list{
    padding-top: 20px;
    font-size: 20px;
  }

  .text-list p{
    margin-bottom: 16px;
    margin-left: 20px;
  }

  .mountain-line{
    height: 0px;
  }

  .mountain-line .line{
    width: 264px;
    height: 80px;
    right: 50px;
  }

  .license img{
    max-width: 100%;
  }

  .license-right .person{
    margin: 0 auto;
  }
  .license-right .person img{
    width: 300px;
  }

  .license .mountain-left{
    width: 80%;
    left: -50px;
    bottom: 70px;
    background-size: contain;
  }
  
  .license .mountain-right{
    width: 70%;
    bottom: -70px;
    right: -30px;
    background-size: contain;
  }

  .license .license-bg{
    padding-top: 56px;
  }

  .text-h2{
    font-size: 20px;
    line-height: 29px;
    letter-spacing: 0.12em;
    font-weight: 600;
  }

  .text-h3{
    font-size: 40px;
    line-height: 57px;
    letter-spacing: 0.12em;
  }

  .text-p{
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
  }
  
  .spa .mountain-top{
    width: 187px;
    height: 90px;
    right: 0;
    top: 800px;
  }

  .spa .middle-line{
    width: 250px;
    height: 208px;
    right: 0px;
    top: 730px;
  }

  .spa .top {
    margin-bottom: 88px;
  }

  .spa .top img{
    padding: 0;
  }

  .spa .bird-top{
    width: 87px;
    height: 40px;
    right: 30px;
    top: 1150px;
  }

  .spa .bird-bottom{
    width: 102px;
    height: 43px;
    right: 40px;
    bottom: 100px;
  }
  .spa .mountain-bottom{
    width: 601px;
    height: 299px;
    right: 0;
    bottom: -140px;
    z-index: -1;
  }

  /* .spa .three{
    margin-bottom: 180px;
  } */

  .protection .nine{
    margin-bottom: 180px;
  }

  .protection .bird-bottom-two {
    width: 93px;
    height: 43px;
    left: 150px;
    bottom: 80px;
  }

  .protection .mountain-bottom-two {
    width: 472px;
    height: 235px;
    left: 0;
    bottom: -70px;
  }

  .qa .qa-width{
    width: 100%;
  }

  .qa .mountain{
    width: 208px;
    height: 100px;
    left: 220px;
    top: 40px;
  }

  .contactUs .contactUs-width{
    width: 100%;
  }
  
  .contactUs .contactUs-from{
    background-image:none;
    padding:40px;
  }

  .contactUs .text-p-small{
    /* width: 200px; */
    padding-left: 20px;
  }

  .contactUs .bird-left{
    width: 92px;
    height: 38px;
    left: 280px;
    top: 130px;
  }

  .contactUs .bird-right{
    width: 101px;
    height: 47px;
    right: 240px;
    top: 920px;
  }
  
  .contactUs .mountain-right{
    width: 541px;
    height: 260px;
    right: -180px;
    top: 780px;
  }

  .contactUs form .form-control{
    line-height: 2.5;
  }

  .consultant .set-width{
    width: 100%;
  }

  .modal-header{
    padding: 1rem 1rem;
  }

  .modal-body .person-area{
    min-height: 350px;
  }

  .modal-body .text-bg{
    max-width: 100%;
    max-height: 80px;
    background-size: contain;
  }

  .modal-body .line{   
    width: 100%;
    height: 96px;
    bottom: 210px;
    left: 50px;
  }

  .modal-header .close {
    width: 50px;
    height: 50px;
  }

  .modal-body .person-area .name {
    font-size: 24px;
    right: 90px;
    bottom: 130px;
  }

  .modal-body .person-area .title {
    font-size: 14px;
    right: 50px;
    bottom: 100px;
  }


  .modal-body .person-area .person {
    width: 120%;
    left: -60px;
  }

  .modal-fullscreen .modal-body {
    overflow-x: clip;
  }

  .consultant .person-area{
    min-height: 400px;
  }

  .consultant .set-width img{
    padding-bottom: 20px;
  }

  .consultant .person-area .mountain-mobile{
    background: url('../images/consultant/mountain-mobile.png') ;
    width: 450px;
    height: 241px;
    position: absolute;
    right: -12px;
    bottom: -50px;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -4;
  }

  .consultant .person-area .name{
    right: 80px;
    bottom: 100px;
  }

  .consultant .person-area .title{
    right: 50px;
    bottom: 60px;
  }

  .customized .set-width{
    width: 100%;
  }

  .primary {
    min-height: 280px;
  }

  .thumbnails{
    display: flex;
    justify-content: space-between;
  }

  .customized .tabs {
    margin-top: 50px;
  }

  .modal-body .text-h1{
    margin-left: 0px;
  }

  .modal-body .text-h1{
    margin-left: 0px;
  }

  .modal-body .small-label {
    margin-left: 0px;
    margin-bottom: 5px;
  }

  .customized-farewell .set-width{
    width: 100%;
    margin-bottom: 80px;
  }
  
  .customized-farewell .image-block .text-block{
    width: 100%;
    padding: 30px;
  }

  .customized-farewell .image-block .bg-one{
    display: none;
  }

  .customized-farewell .image-block .bg-two{
    display: none;
  }

  .customized-farewell .image-block .bg-three{
    display: none;
  }

  .customized-farewell .mountain-top{
    width: 205px;
    height: 102px;
    top: 80px;
  }

  .customized-farewell .image-block {
    margin-top: 20px;
  }

  .customized-farewell .bird-one{
    width: 90px;
    height: 37px;
    top: 510px;
    right: 30px;
  }

  .customized-farewell .line-one{
    top: 1410px;
  }

  .customized-farewell .bird-two{
    width: 85px;
    height: 39px;
    top: 1430px;
    left: 230px;
  }

  .customized-farewell .mountain-bottom{
    width: 100%;
    height: 70px;
    background-size: contain;
  }

  .customized-farewell .line-two{
    width: 100%;
    height: 70px;
    background-size: contain;
  }

  .customized .mountain{
    display: none;
  }

  .modal-body .quotation-popup .moblie{
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 20px;
    justify-content: space-between;
  }

  .modal-body .quotation-popup .bottom-line{
    display: none;
  }

  .modal-body .quotation-popup{
    padding-left: 0px;
    margin-top: 20px;
  }

  .modal-body .quotation-popup p{
    font-size: 20px;
    text-align: right; 
  }

  .modal-body h2{
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .modal-body .popup-bg{
    width: 375px;
    height: 145px;                                                                                                                  
  }

  .process .tabs .nav {
    padding-left: 0px;
  }

  .process .tab-content-pic .text-h1{
    font-size: 26px;
    line-height: 1.2em;
    font-weight: 600;
    margin-left:0px
  }

  .process hr{
    color: #999999;
  }

  .process .tab-content-pic .number-block .number img{
    width:60px ;
  }

  .process .tab-content-pic .number-block img{
    width:30px ;
  }

  .process .tab-content-pic .number-block .number {
    left: 0px;
  }

  .process .tab-content-pic .tab-block {
    margin-bottom: 100px;
  }

  .customized .tabs .img-title{
    line-height: 50px;
  }

  .customized .tab-content .quotation{
    justify-content: flex-start;
  }

  .detail-bg{
    padding: 1rem 0;
  }
  .detail{
    padding: 1rem;
  }
  .detail-content{
    flex-direction: column;
    padding-top: 0;
    gap: 2rem;
  }
  .detail-content .detail-article,.detail-content .detail-img{
    width: 100%;
  }
  .detail-content .detail-article{
    border-right: none;
    border-bottom: 1px rgba(233, 204, 173, 1) solid;
    padding: 1.5rem 1rem 1rem 1rem;
  }
  .img-browser{
    flex-direction: column;
    width: 80%;
  }
  .img-browser .main-img{
    width: 100%;
  }
  .img-browser .thumbnail-image{
    width: 120px;
    height: 120px;
  }
  .img-browser .thumbnail{
    margin-right: 1rem;
  }
  .img-browser .thumbnail:last-child{
    margin-right: 0;
  }
  .img-browser .thumbnails{
    overflow-x: auto;
    width: 100%;
  }
  .story-line{
    display: none;
  }
  .story-customized{
    margin-bottom: 0;
  }
  .story-mountain{
    width: 320px;
    height: 175px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100%;
    background-size: cover;
    bottom: -1.5%;
}
  .story-logo{
    left: -10%;
    top: -20%;
  }
  .story{
    margin-right: 1rem;
    width: 100%;
    max-width: 300px;
  }
  .story-customized,.story-container{
    overflow: hidden;
  }
  .story-group{
    margin: 3rem 0;
    justify-content: center;
    min-height: 0;
  }
  .story:nth-child(1),.story:nth-child(2),.story:nth-child(3),.story:nth-child(4),.story:nth-child(5),.story:nth-child(6),.story:nth-child(7),.story:nth-child(8),.story:nth-child(9),.story:nth-child(10),.story:nth-child(11),.story:nth-child(12){
    margin-right: 0;
    margin-left: 0;
    margin-top: 1rem;
    margin-bottom: 2rem;
    transform: rotate(0);
  }
  .story1{
    top: 950px;
    transform: rotate(10deg);
  }
  .story2{
    top: 2100px;
    right: -15%;
    transform: rotate(-10deg);
  }
  .story:nth-child(4){
    margin-top: 6rem;
  }
  .story:nth-child(7){
    margin-top: 3rem;
  }
}
