
#navbar  {
    margin-left: 3rem;
    mix-blend-mode: difference;
}

#navbar::after  {

    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 8px;
    background: url(../images/nav_line.png) center left no-repeat;
}

#navbar .nav-link {
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    position: relative;
    font-size: 18px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#navbar .nav-link::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: url(../images/nav_point.png) center no-repeat;
    opacity: 0.8;
}

#navbar .nav-link.active {
    color: #9c9c9c;
    font-size: 150%;
}

#navbar .nav-link.active::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: -6px;
    right: 0;
    width: 20px;
    height: 100%;
    background: url(../images/nav_roll.png) center no-repeat;
}
/* 移除bootstrap焦点边框 */
button:focus:not(:focus-visible) {
    box-shadow: none;
}
.form-select:focus {
    box-shadow: none;
    border-color: #47876e;
}
.form-control:focus {
    box-shadow: none;
    border-color: #47876e;
}
.form-check-input:focus {
    box-shadow: none;
    border-color: #47876e;
}
/* 勾选框 */
.form-check-input:checked {
    background-color: #47876e;
    border-color: #47876e;
}
/* 按鈕 */
.special-btn {
    font-family: 'Noto Serif TC', serif;
    font-size: 2rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    width: auto;
    min-height: 60px;
    text-align: center;
    color: #eaeaea;
    -webkit-transition: height .2s;
    transition: height .2s;
    overflow: hidden;
    background: linear-gradient(to bottom, #5daf8c, #438069);
    text-decoration: none;
    padding: 8px 40px 12px;
    border: 0;
    border-radius: 5px;
    white-space: nowrap;
}
.special-btn:hover::before {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}
.special-btn::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transform: scale3d(0, 1, 1);
    transform: scale3d(0, 1, 1);
    background: rgba(255, 255, 255, .1);
    -webkit-transition: transform .5s;
    transition: transform .5s;
    -webkit-transition-timing-function: cubic-bezier(0.29, 0.12, 0, 0.99);
    transition-timing-function: cubic-bezier(0.29, 0.12, 0, 0.99);
    -webkit-transform-origin: left;
    transform-origin: left;
    z-index: 0;
    content: '';
}

/* 按鈕 縮放動畫*/
.scale-animation {
    animation: crescendo 1s alternate infinite ease-in;
  }
  @keyframes crescendo {
    0%   {transform: scale(.95);}
    100% {transform: scale(1.05);}
  }

/* 手機導航欄 */
.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: var(--bs-navbar-color);
    background-color: transparent;
    border: none;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-header{
    color: #fff;
    background: linear-gradient(90deg, #5daf8c, #438069);
}
.offcanvas {
    background-color: #fffcfa;
}
.offcanvas.offcanvas-end {
    width: 100vw;
}
.header-icon{
    color: #9c9c9c;
    font-size: 150%;
}
.header-icon img {
    width: 60px;
    border-radius: 12px;
}
.header-title p{
    font-family: 'Noto Serif TC', serif;
    background: -webkit-linear-gradient(#ffffff, #fcffcc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}
.header-title span{
    font-size: 14px;
}


#page1 .title {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 4.7rem;
    line-height: normal;
    text-align: center;
    position: relative;
    padding:20px 0;
}
#page2 .title , #page3 .title , #page4 .title , #page5 .title  {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 4.7rem;
    line-height: normal;
    text-align: center;
    position: relative;
    padding:20px 0;
}
@media screen and (max-width: 900px){
    #page2 .title , #page3 .title , #page4 .title , #page5 .title  {
        font-size: 3.2rem;
        padding:20px 0;
    }
}
#page1 .title::after ,#page2 .title::after , #page3 .title::after , #page4 .title::after , #page5 .title::after  {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 16px;
    background: url(../images/title_line.png) center bottom no-repeat;
    mix-blend-mode: difference;
    opacity: 0.5;
}

#page2 .title  {
    background: -webkit-linear-gradient(#33695B, #569B79);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#page3 .title  {
    background: -webkit-linear-gradient(#346A5C, #569A79);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#page4 .title  {
    background: -webkit-linear-gradient(#ffffff, #CCE1FF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#page5 .title  {
    background: -webkit-linear-gradient(#38665b, #5f987b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#page1 {
    background: url(../images/head_bg.jpg) center top no-repeat; background-size: cover;
}
@media screen and (max-width: 900px){
    #page1 {
        background: url(../images/head_bg_m.jpg) center top no-repeat; background-size: cover;
    }
}
#page2 {
    background: url(../images/page2_bg.jpg) center top no-repeat; background-size: cover;
}
#page3 {
    background: url(../images/page3_bg.jpg) center top no-repeat; background-size: cover;
}
#page4 {
    background: url(../images/page4_bg.jpg) center top no-repeat; background-size: cover;
}
#page5 {
    background: url(../images/page5_bg.jpg) center top no-repeat; background-size: cover;
}

/* p1 */
#page1 {
    position: relative;
}
#page1::after  {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50vh;
    background: linear-gradient(to bottom,rgba(0,0,0,0),rgb(15 50 10 / 80%));
}
#page1 .logo svg{
    filter: invert(90%) sepia(65%) saturate(2%) hue-rotate(53deg) brightness(106%) contrast(100%);
}
.floating {
    margin-bottom: 10px;
    animation-name: floating;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}
@keyframes floating {
    0% { transform: translate(0,  0px); }
    50%  { transform: translate(0, 10px); }
    100%   { transform: translate(0, -0px); }   
}
.share-button a{
    color: #2e3427;
    background: rgb(255 255 255 / 50%);
    line-height: 1;
}
.share-button a:hover{
    color: #ffffff;
    background: #2e3427;
}
/* p2 */
#page2 ul {
    list-style-type: none;
}
#page2 .lead {
    color: #52442a;
}
#page2 .steps {
    line-height: 1;
    font-size: 26px;
    color: #52442a;
}
#page2 .terms p{
    line-height: 1;
    font-size: 20px;
    color: #52442a;
}
#page2 .terms a{
    color: #7e5c1e;
    text-decoration: none;
}
.glance_board_term {
    margin: 16px auto 0;
    max-width: 100%;
}
.glance_board_term_title {
    position: relative;
    text-align: center;
    padding: 10px;
    font-size: 1.47rem;
    color: #fff;
    border-radius: 5px 5px 0 0;
    overflow: visible;
    background: linear-gradient(90deg, #5daf8c, #438069);
    margin: 0;
}
.glance_board_term_title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    -webkit-transform: translate3d(-50%, 50%, 0) rotate(45deg);
    transform: translate3d(-50%, 50%, 0) rotate(45deg);
    content: '';
    z-index: 1;
    background: #50987b;
}
.glance_board_term_title span{
    font-weight: bold; 
    color: #fff07c;
}
.glance_board_list {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 100%;
    border: 1px solid;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background: #fffcfa;
    border-color: transparent;
}
.glance_board_list::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 0;
    width: calc(50% - 12px);
    border-bottom: 1px solid;
    border-bottom-color: #50987b;
}
.glance_board_list::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: calc(50% - 12px);
    border-bottom: 1px solid;
    border-bottom-color: #50987b;
}
.glance_board_detail {
    position: relative;
    padding: 10px 5px 10px;
    flex: 0 1 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.glance_board_detail:nth-child(n+2)::before {
    content: '';
    top: 50%;
    left: 0;
    width: 1px;
    height: 40%;
    border-left: 1px solid;
    -webkit-transform: translate3d(0, -50%, 0); 
    transform: translate3d(0, -50%, 0);
    border-color: #eaddd1;
    position: absolute;
}
.glance_board_detail.reach::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40%;
    width: 100%;
    height: 70px;
    background: url(../images/reach.png) center bottom no-repeat;
}
.glance_board_val {
    font-family: 'Noto Serif TC', serif;
    margin-top: 10px;
    font-size: 1.4rem;
    color: #666;
    line-height: 1.3;
    display: inline-flex;
}
.glance_board_val span{
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1;
    color: #438069;
}
.glance_board_type{
    margin-top: 8px;
}

/* p3 */

#page3 .lead  {
    color: #52442a;
}
.glance_list  {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: 18px auto;
}
.glance_box {
    display: inline-flex;
    flex-direction: column;
    width: 174px;
    flex: auto;
    margin: 5px;
    background: #f6f6f6;
    border: #86b474 1px solid;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
}
@media screen and (max-width: 900px){
    .glance_box {
        width: 110px;
    }
}
.glance_box_title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 56px;
    text-align: center;
    font-size: 18px;
    border-radius: 4px 4px 0 0;
    background: #5b9393;
    color: #ebebeb;
}
.glance_box_title::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -5px;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0) rotate(45deg);
    transform: translate3d(-50%, 0, 0) rotate(45deg);
    background: #5b9393;
}
.glance_title {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    font-size: 1.47rem;
    line-height: normal;
    text-align: center;
    position: relative;
    color: #346A5C;
    margin: 0;
}
.glance_title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    width: 100%;
    border-bottom: 2px dashed #dfdfdf;
}
.glance_title span{
    font-size: xx-large;
    color: #bc0c0c;
}
.glance_item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    max-width: 100%;
    height: 80px;
    margin: 20px auto;
    z-index: 1;
}
.glance_item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border: 5px solid;
    z-index: 1;
    box-sizing: border-box;
    border-color: #438069;
    background: #1b291b;
}
.glance_item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96%;
    height: 96%;
    border: 1px solid;
    border-color: #86b474;
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
    box-sizing: border-box;
    z-index: -2;
}
.glance_item img {
    position: relative;
    max-width: calc(100% - 5px);
    z-index: 2;
    padding: 10px;
}
.glance_item_wrap {
    display: inline-flex;
    flex-direction: column;
    margin: 5px;
    max-width: 100%;
    padding: 10px 10px;
}
.glance_detail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 5px 4px;
    height: 60px;
    text-align: center;
    color: #000;
    background: #cfded1;
    box-sizing: border-box;
}
.glance_detail::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #f6f6f6;
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(45deg);
    transform: translate3d(-50%, -50%, 0) rotate(45deg);
    content: '';
}
.glance_detail_text {
    font-size: 16px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

.invit-number{
    font-size: 1.47rem;
    line-height: normal;
    text-align: center;
    position: relative;
    color: #346A5C;
    margin: 0;
}
.invit-number span {
    color: #bc0c0c;
    padding: 0 4px;
}

/* p4 */
#page4 .lead {
    margin-top: 20px;
    line-height: 36px;
    font-size: 22px;
    color: #e1ecff;
}

/* p5 */
#page5 .terms {
   /*  max-height: calc(50vh + 10rem); */
    overflow-y: auto;
    overflow-x: hidden;
}
#page5 .terms ul {
    list-style-type: none;
    counter-reset: list-number;
}
#page5 .terms ul li {
    margin-bottom: 12px;
    margin-left: -10px;
    display: flex;
    align-items: flex-start;
    color: #52442a;
}

#page5 .terms ul li::before {
    counter-increment: list-number;
    content: counter(list-number);
    font-size: 14px;
    display:inline-flex;
    align-items:center;
    justify-content: center;
    margin-left: -1.3em;
    margin-right: 15px;
    padding: 10px;
    width: 27px;
    height: 27px;
    color: #fff;
    background-color: #906856;
    mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNNTAgNi43TDkzLjMgNTAgNTAgOTMuMyA2LjcgNTAgNTAgNi43bTAtNS45TC44IDUwIDUwIDk5LjIgOTkuMiA1MCA1MCAuOHoiLz48cGF0aCBmaWxsPSIjMjMxZjIwIiBkPSJNNTAgMTAuNTQzTDg5LjM4NSA0OS45MyA1MCA4OS4zMTQgMTAuNjE1IDQ5LjkzeiIvPjwvc3ZnPg==);
    -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBkPSJNNTAgNi43TDkzLjMgNTAgNTAgOTMuMyA2LjcgNTAgNTAgNi43bTAtNS45TC44IDUwIDUwIDk5LjIgOTkuMiA1MCA1MCAuOHoiLz48cGF0aCBmaWxsPSIjMjMxZjIwIiBkPSJNNTAgMTAuNTQzTDg5LjM4NSA0OS45MyA1MCA4OS4zMTQgMTAuNjE1IDQ5LjkzeiIvPjwvc3ZnPg==);
    mask-size: cover;
    -webkit-mask-size: cover;
}
#page5 ::-webkit-scrollbar {
    width: 8px;
}

#page5 ::-webkit-scrollbar-track {
    background-color: rgba(75, 75, 75, 0.2);
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#page5 ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-image: -webkit-gradient(	linear,	left bottom,	right top,	color-stop(0, #967B60),	color-stop(1, #956757));
    background-image: -o-linear-gradient(bottom, #967B60 0%, #956757 100%);
    background-image: -moz-linear-gradient(bottom, #967B60 0%, #956757 100%);
    background-image: -webkit-linear-gradient(bottom, #967B60 0%, #956757 100%);
    background-image: -ms-linear-gradient(bottom, #967B60 0%, #956757 100%);
    background-image: linear-gradient(to bottom, #967B60 0%, #956757 100%);
}


/* 轮播图 */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    height: calc(80vh - 50px);
  }
  
  .swiper-slide {
    background-position: center;
    background-size: cover;
    width: auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  }

  .swiper-slide img {
    display: block;
    width: auto;
    height: 100%;
  }

/* 模態框 */

.modal-header, .modal-footer {
    border: none;
  }

  .modal-header .btn-close {
    position: absolute;
    right: 10px;
  }

  .modal-header{
    position: relative;
    text-align: center;
    padding: 14px 10px;
    font-size: 1.47rem;
    color: #fff;
    overflow: visible;
    background: linear-gradient(90deg, #5daf8c, #438069);
    margin: 0;
  }
.modal-title {
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    position: relative;
    margin: auto;
    width: 100%;
    text-align: center;
}
.modal-body .content{
    text-align: center;
    font-size: 1.4rem;
}
.modal-footer{
    justify-content: center;
}
/* .modal-title::before {
    position: relative;
    right:20px;
    margin:0 0 0 -100%;
    display: inline-block;
    height: auto;
    content: url("../images/title_decoration.svg");
    transform: rotate(180deg);
    width: 80px;
}
.modal-title::after {
    position: relative;
    left:20px;
    margin:0 -100% 0 0 ;
    display: inline-block;
    height: auto;
    content: url("../images/title_decoration.svg");
    transform: rotate(0deg);
    width: 80px;
} */
.modal-body::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(198, 174, 137, .502);
    border-radius: 2px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #c6ae89;
}

.modal-body::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 2px;
}
.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}
.modal-content {
    background: #f4fffb url(../images/modal_bg.jpg) center top no-repeat;
    background-size: cover;
    border: 0;
    min-height: 300px;
}