/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.6;
    font-family: 'Noto Sans TC', sans-serif;
}
/* ol, */
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h3{font-size: 1.5rem;}
h4{font-size: 1.25rem;}

@media (max-width: 767.98px){
  h3{font-size: 1.25rem;}

}

/* kv */
#kv {
  position: relative;
  width: 100%;
  margin-top: 6px;
}
#kv .kv-xl{
  height: 100%;
  width: 100%; 
  object-fit: contain; 
  max-width: 100%; /* 圖片最大寬度為容器寬度的 100% */
  max-height: 100%;
  display: block;
}
#kv .kv-md{
  display: none; 
}
#kv .kv-sm{
  display: none; 
}
@media (max-width: 767.98px){
  #kv .kv-xl {
    display: none; 
  }
  #kv .kv-md{
  /* height: 100%; */
  width: 100%; 
  object-fit: contain; 
  max-width: 100%; /* 圖片最大寬度為容器寬度的 100% */
  max-height: 100%;
  display: block;
  }
  #kv .kv-sm{
  display: none; 
  }
}

@media (max-width: 767.98px){
  #kv{
    margin-top:28px;
  }
}
 @media (max-width: 575.98px) {
  #kv{
    margin-top: 26px;
  }
  #kv .kv-xl {
    display: none; 
  }
  #kv .kv-md{
    display: none; 
  }
  #kv .kv-sm{
    display: block;
    height: 100%;
    width: 100%; 
    object-fit: contain; 
    max-width: 100%; 
    max-height: 100%;
  }
}
.nav{
  height: 88px;
  background-color: #f7f8f9;
  box-shadow: 0px 4px 4px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .nav li{
    margin: 2%;
} */
.nav a{
  font-size: 1.25rem;
  color: #5B5B5B;
  text-decoration: none;
}
@media (max-width: 575.98px){
  .nav a{
    padding: 0;
  }
}

#gp1 {
  scroll-margin-top: 88px; 
}
#gp2 {
  scroll-margin-top: 88px;
}
#gp4 {
  scroll-margin-top: 88px;
}

/* .desktop-content {
    display: block;
  } */

.mobile-content {
  display: none; /* 在電腦版上隱藏手機版內容 */
}

/* 手機版 */

@media (max-width: 767.98px) {
  .desktop-content {
    display: none !important; /* 在手機螢幕上隱藏大螢幕內容 */
  }
  
  .mobile-content {
    display: block !important; /* 在手機螢幕上顯示手機內容 */
  }
}

/* gp1 */
#gp1 .card-plan{
    border-radius: 20px;
    box-shadow:0 0 4px 4px rgba(0, 0, 0, 0.1) ;
    /* min-width: 420px; */
    position: relative;
}
#gp1 .card-plan-title{
    color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow:0 1px 4px 4px rgba(0, 0, 0, 0.1) ;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    
}
#gp1 .card-body ul{
    /* padding: 12px ; */
    padding-left: 3rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.sticker {
  position: absolute;
  z-index: 1; 
  transform: rotate(10deg);
}


/* 標題 */

.title {
  position: relative;
  color: rgb(0, 0, 0);
  margin-bottom: 1.5rem;
  text-align: center;
}

.title span {
  display: inline-block;
  padding: .2rem 2rem;
  background: #ffffff;
  color: #000000;
  position: relative;
  font-size: 36px;
  text-align: center;
  /* font-weight: bold; */
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .title span {
    font-size: 24px;
    padding: 0.2rem 1rem;
  }
}
.title::before {
  content: "";
  position: absolute;
  top: 50%;
  background: #000000;
  left: 0; right: 0;
  height: 2px;
}
#gp2{
  margin-top: 1rem;
}
#gp3{
  margin-top: 3rem;
}
#gp4{
  margin-top: 1rem;
}

/* gp2 */

#gp2 .card-apply{
  border-radius: 20px;
  box-shadow:0 0 4px 4px rgba(0, 0, 0, 0.1) ;
  height: 100%;
}

#gp2 .card-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
}
#gp2 .card-body h3{
    color: #209CFF;
    font-weight: bold;
    /* border-bottom: solid 2px #209CFF; */
}

#gp2 hr {
  min-width: 300px;
  border: solid 1px #209CFF;
}

.card-text{
  margin-top: 4px;
  margin-bottom: 8px;
}
.btn-search{
    background-color: #209CFF;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 20px;
    padding-left: 20px;
    margin: 1%;
    display: flex;
}
.btn-search img{
  margin-right: 6px;
}
.btn-search:hover{
  transform: scale(1.1);
  text-decoration: none;
}
.btn-search:active{
  text-decoration: none;
  color: #209CFF;
}
.btn-search:visited{
  text-decoration: none  ;
  color: #209CFF  ;
} 
.btn-tel{
    background-color: #209CFF;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 20px;
    padding-left: 20px;
    margin: 1%;
    display: flex;
}

/* #gp3 */

#gp3 .card-plan{
    border-radius: 20px;
    border: solid 1px #b7b7b7;
    /* max-width: 280px; */

}
#gp3 .card-plan-title{
    color: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 12px; */
    min-height: 60px;
}

.card-body-content{
    padding: 12px;
}
.card-body-content-first{
  height: 130px;
}
.card-body-content-second{
  height: 224px;
}
.card-body-content-btn{
  height: 62px;
}
.card-body-content-second2{
  height: 286px;
}

@media (max-width: 999.98px){
  .card-body-content-first{
  height: 206px;
}
.card-body-content-second{
  height: 308px;
}
.card-body-content-btn{
  height: 56px;
}
.card-body-content-second2{
  height: 364px;
}
#gp3 .card-plan-title h3{
  font-size: 16px;
}
}




#gp3 .card-body ul{
    list-style: disc;
    padding-left: 8%;
}
.btn-more{
    border: solid 4px #209CFF;
    border-radius: 24px;
    width: 144px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2%;
}
.btn-more a{
    color: #000000;
    text-decoration: none;
}
.btn-more:hover{
  transform: scale(1.1);
}
@media (max-width: 767.98px) {
  #gp3 .card-plan{
  min-width: 100%;
}
}

/* gp4 */
#gp4 .card-body ol{
    padding-left: 16px;
}
#gp4{
  margin-bottom: 48px;
}