@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

body {
  transition: background-color .5s;
}

.bg-red {
    /*background-image: linear-gradient(to top,#c50000,#e6423e);*/
    background-color: #e6423e;
}

.bg-red-1 {
    background-color: rgba(231, 66, 62, 0.15) !important;
}
.bg-orange {    
    background-color: rgba(245, 135, 35, 0.7);
}
.bg-orange-2 {
    background-color: rgba(245, 135, 35, 0.2) !important;
}

.bt-success {
  border-top: 0.5rem solid #198754;
}

.text-orange {
  color: #e6423e !important;
}

.text-hidden-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
}

.text-hidden-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; 
  -webkit-box-orient: vertical;
}

.word-break {
  word-break: break-all;
}

.button {
  display: inline-block;
  color: #e6423e;
  background-color: #fff;
  font-weight: 500;
  font-size: 1.25rem;
  border: solid 0.125rem #e6423e;
  border-radius: 20rem;  
  padding: 0.5rem 2rem;
  margin-bottom: 1.5rem; 
}

.button:hover {
  color: #fff;
  background-color: #e6423e;
}
#menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#area-pc {
    position: absolute;
    right: 0;
}
#area-pc .nav-item {
    margin: 0;
}
#area-pc .nav-link {
    border: solid 1px #fff;
    padding: 0.25rem .55rem;
    border-radius: 0;
    font-size: 0.9rem;
}
#area-mb {
    border: 0;
    border-radius: 10rem;
    padding: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #e6423e;
    margin-top: 0.65rem;
    height: 2rem;
}


.plans {
    padding-top: 0rem;
    padding-bottom: 1.75rem;
}

.plan {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2.25rem 0rem 0rem 0rem;    
}

.plans a {
  text-decoration: none;
}


/*.plan:hover .plan-intro {
  border-right: solid 0.5rem #fff;
}*/
.plan:hover .plan-intro .button {
    color: #fff;
    background-color: #e6423e;
    transition: color 0.2s ease-in-out,background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out;
}

@media (min-width: 768px) {
  .plans {
    padding-top: 1.375rem;
  }
  .plan {
    margin: 1.75rem 3rem 0rem 3rem;    
  }
}

.plan-pic {
  width: 100%; 
  /*clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);*/
}

.plan-intro {
  padding: 0 0.25rem;
  /*border-right: solid 0.5rem #fff;*/
}

.plan-intro p {
  font-size: 1.25rem;
  padding: 1rem 1rem 0rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  -webkit-box-orient: vertical;
}

.plan-intro .button {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
}

.plan-title h2 {
  padding-bottom: 0.75rem;
  border-bottom: dotted 0.15rem #e6423e;
  text-align: left;
  font-weight: 700;
  color: #e6423e;
  margin: 1.5rem 0;
}

.plan-title {
  padding-bottom: 0.75rem;
  /*border-bottom: dotted 0.15rem #e6423e;*/
  text-align: left;
  font-weight: 700;
  color: #e6423e;
  margin: 1.5rem 0;
}

.plan-content {
  background-color: #fff ;
  clip-path: polygon(0 5rem, 100% 0, 100% 100%, 0% 100%); 
  margin-top: -15rem;
}

.plan-content-edit img {
    max-width: 100%;
}

.plan-list {
   list-style-type: none;
   padding: 1rem 1.5rem;
   margin-bottom: -1rem;
   line-height: 2.75rem;
   font-size: 1.5rem;
   border-top: dotted 0.12rem #6c757d;
}

.plan-price-title {
  color: #e6423e;
  font-weight: 500;
}

.plan-price {
    color: #000;
    font-weight: 500;
}

.plan-price:before {
  content: '$';
  font-size: 1.35rem;
}

.plan-time {
  font-size: 1.35rem;
}

.plan-time:before {
  content: ' / ';
}

.plan-time:after {
  content: '月';  
}

.select-plan, .gift {
    margin-bottom: 1.5rem;
    transition: .5s;
}

@media (min-width: 768px) {
  .select-plan:hover , .gift:hover {
    /*transform: translate(0px,-20px);*/
    transform: scale(1.05);
    cursor: pointer;    
  }
}


.selectA-top {
  background-color: #fff;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
          box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.selectB-top {
  background-color: #fff;
  text-align: center;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
          box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.selectB-top h5 {
  padding-top: 1rem;
}

.selectB-top p {
  padding-bottom: 1rem;
}


.selectA-selected .selectA-top {
  background-color: #e6423e;
}

.selectA-selected .plan-list {
  border: none;
}

.selectA-bottom {
  background-color: #fff;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
          box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.selectA-selected .selectA-bottom {
  border-bottom: 0.2rem solid #e6423e;
  border-left: 0.2rem solid #e6423e;
  border-right: 0.2rem solid #e6423e;  
}

.selectB-selected {
  background-color: #e6423e;
  border-top: 0.2rem solid #e6423e;
  border-left: 0.2rem solid #e6423e;
  border-right: 0.2rem solid #e6423e;
}

.selectA-selected h1, .selectA-selected h3, .selectB-selected h5, .selectB-selected .gift-price {
  color: #fff;
}

.gift-price:before {
  content: '(市價$';
}

.gift-price:after {
  content: ')';
}



@media (min-width: 992px) {
  /*.plan-pic {
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }*/
  .plan-intro p {
    /*font-size: 1.5rem;*/
    /*padding: 5rem 1rem 0rem;*/
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
  }
  .plan:hover .plan-intro {
    /*border-right: solid 0.5rem #e6423e;*/
    transition: 0.5s; 
  }    
}

@media (min-width: 768px) {
  .plan-title {
    text-align: center;
    margin: 3.5rem 0;
  }
}

.notice-title {
  background-color: rgba(231, 66, 62, 0.15);
  border-left: 6px solid #e6423e;
  margin-bottom: 15px;
  padding: 4px 10px;
  font-weight: 500;
  font-size: 1.25rem;
}

.notice {
    max-width: 100%;
    overflow: auto;
}

.order-plan {
    z-index: 20;
    position: relative;
}

.order-text {
   list-style-type: none;
   margin-left: -1.75rem;
   line-height: 2.25rem;
}

.order-price {
  padding-top: 1rem;
  border-top: dotted 0.15rem #DCDCDC;
  text-align: right;
  font-weight: 500;
}

.order-price span {
    color: #e6423e;
}

.order-form {
  background-color: #f8f9fa ;
  clip-path: polygon(0 5rem, 100% 0, 100% 100%, 0% 100%); 
  margin-top: -15rem;
}

.order-form .container {
  padding: 12rem 0 5rem;
}

.plan-content .container {
  padding: 12rem 0 1rem;
}

.orderNow {
    position: fixed;
    bottom: 0;
    right: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 5px;
    border: none;
    padding: 1rem;
    background-color: #e6423e;
    width: 100%;
    z-index: 99;
}

@media (min-width: 992px) {
    .orderNow {
        bottom: 2rem;
        right: 3rem;
        font-size: 1.5rem;
        letter-spacing: 0;
        padding: 1rem;
        line-height: 1.35;
        width: 6.25rem;
        height: 6.25rem;
        border-radius: 50%;
        /* animation 參數設定 */
        animation-name: GrowUp;
        animation-duration: 1.2s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
        -webkit-animation-timing-function: ease-in-out;
    }
}
/* 關鍵影格(@keyframe) */
@keyframes GrowUp {
    0% { transform: scale(1); }/*
    25% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.15); }*/
    100% { transform: scale(1.15); }
}

.orderNow:hover {
    color: #FCFF6C;
}

.footer-nav {
    padding-bottom: 4.5rem;
}
@media (min-width: 992px) {
    .footer-nav {
        padding-bottom: 0;
    }
}
.footer-nav li {
    list-style: none;
    display: inline;
    color: #fff;
}

.footer-nav li::after {
  content: '｜';
  margin:  0 0.2rem;
}

.footer-nav li:last-child::after {
  content: '';
}

.footer-nav li a {
  text-decoration: none;
  color: #fff;
}


/*nav選單*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  background-color: rgba(0,0,0,0.855);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
  text-align: center;
}

.sidenav a {
  /*padding: 8px 8px 8px 32px;*/
  padding: 8px 0;
  text-decoration: none;
  font-size: 1.5rem;
  color: #fff;
  display: block;
  transition: 0.3s;  
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;  
  margin-left: 50px;
}

#main {
  transition: margin-right .5s;
  padding-right: 0.5rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  /*line-height: 2.25rem;*/
  /*float: right;*/
  position: absolute;
  right: 0;
  margin-top: -0.5rem;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/*針對IE設定*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ie-order input {
        width: 95%;
    }
    .ie-order select {
        width: 90%;        
    }
    .select-plan, .gift {
        max-width: 24%;
        margin: 10px 5px;
    }
    /*移除下拉選單箭頭*/
    select::-ms-expand {
        display: none;
    }
}

#contact-notice .modal-header h6 {
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
}
#contact-notice .modal-header {
    padding: 0.5rem 0.75rem;
    color: #fff;
    background-color: #cd3f3f;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}
#PayMoney {
    color: #e6423e;
}

.li-red {
    list-style-type: none;
    text-indent: -0.5rem;
    padding-left: 0.9rem;
}
.li-red li::before {
    width: 0.5rem;
    content: "•";
    color: rgb(205, 63, 63);
    display: inline-block;
}
.li-none {
    list-style-type: none;
    text-indent: -2rem;
    padding-left: 1.5rem;
}
.li-none li::before {
    content: "";
}
@media (min-width: 768px) {
    #privcy {
        margin: 3rem 0;
        border-radius: 20px;
        padding: 5rem;
    }
}
    