body{font-family: "Arial","微軟正黑體";background-color: #FFF;}
button:focus{outline:none}
.container{position: relative;max-width: 80%;}
a:hover{text-decoration: none;}
section{padding: 100px 0;}
p{font-size: 20px;}
h3{display: flex;align-items: center;font-size: 25px;font-weight: 400;transform: translate3d(0px, 0px, 0px);}
h4{line-height: 1.8;}
h6{font-size: 1.8rem;}




/* visual */
header#visual{height: 100vh;position: relative;overflow: hidden;background: url("../images/header-01bg.jpg") no-repeat top center;background-size: 100%;}
header#visual:before{content: "";width: 100%;height: 95vh;position: absolute;top: 0;left: 0;background: url("../images/") no-repeat center;background-size: cover;z-index: 100;}
header#visual .title{z-index: 1000;}
header#visual .title img{width: 55%;display: block;margin: 8.5% auto 0;}
header#Visual .master_content {position: relative;padding: 0 8% 10% 8%;}

header#visual img.menA {
  width: 20%;
  z-index: 900;
  position: absolute;
  left: 4%;
  bottom: 2%;
}

header#visual img.menB {
  width: 20%;
  z-index: 900;
  position: absolute;
  right: 2%;
  bottom: 2%;
}

header#visual img.menC {
  width: 20%;
  z-index: 900;
  position: absolute;
  right: 2%;
  top: 2%;
}

.menC {
  animation: sway 4s ease-in-out infinite;
}

@keyframes sway {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(2deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}


.cloud {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.cloudx {
  animation-duration: 8s; /* 不同速度 */
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

/* First */
section#First{padding: 120px 0 80px 0;position: relative;background: url("../images/TITLE_BG.png") no-repeat top center;background-size: 100%;}

#First .badge {display: inline-block;background-color: #f58220;color: #fff;padding: 0.5rem 1.5rem;border-radius: 50px;font-size: 1.2rem;font-weight: normal;position: relative;text-align: center;}
#First .badge::after {content: "";position: absolute;bottom: -10px;left: 50%;transform: translateX(-50%);width: 0;height: 0;border-left: 10px solid transparent; /* 左邊透明 */border-right: 10px solid transparent; /* 右邊透明 */border-top: 15px solid #f58220; /* 上邊橘色 */}


#First ul{margin-left: -38px;}
#First li{font-size: 20px;padding-bottom: 10px; position: relative;list-style: none;padding-left: 30px;margin-bottom: 10px;}
#First li::before {content: "";position: absolute;left: 0;top: 10px;width: 20px;height: 20px;background-image: url(../images/check.svg); background-size: contain;background-repeat: no-repeat;}
  
._right{
    margin-left: 35.9vw;
    padding: 3rem 6.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
}


.about-content__item-wrap {
    width: 62.3vw;
    display: flex;
    align-items: center; /* 垂直置中 */
    background-color: #fff5e9ff;
    padding: 3rem 6.5rem;
    border-radius: 3rem 0 0 3rem;
    gap: 4rem; /* 圖文間距 */
    overflow: hidden;
}

.about-content__item-image {
    flex: 0 0 40%; /* 圖片寬度 40% */
}

.about-content__item-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.about-content__item-text {
    flex: 1; /* 文字區自動撐滿剩餘空間 */
    line-height: 1.6;
}

#First .container{margin-top: 5%;}
#First .Text{text-align: center;}
.logo{display: block;margin: auto;height: 120px;}

.First_box{margin-top: 5%;display: flex;align-items: center;}
.marker {
   
    background: linear-gradient(transparent 60%, rgba(255, 198, 41, .42) 60%);
}

/* Second */
section#Second{background: #FFF;padding: 120px 0 80px 0;position: relative;background: url("../images/TITLE_BG02.png") no-repeat top center;background-size: 100%;}

#Second .badge {
  display: inline-block;
  background-color: #2172de;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: normal;
  position: relative;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 50%;
}

#Second .badge_Line {
  display: inline-block;
  background-color: #FFF;
  border: 2px solid #2172de;
  color: #1553ba;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: normal;
  position: relative;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 50%;
}

.sd{
    align-content: center;
    align-items: center;
    background: #fff5e9ff;
    border-radius: 40px;
    bottom: auto;
    flex: none;
    gap: 10px;
    height: 195px;
    justify-content: center;
    margin: 0 0 0 0;
    padding: 0px 40px;
    position: absolute;
    width: 360px;
    max-width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#Second .problem-title {font-weight: bold;color: #22140e;margin-bottom: 15px;font-size: 1.5em;}

#Second .problem-icon {width: 60px;}

#Second .character-img {max-width: 80%;height: auto;margin-top: 30px;}

.problem-cardA{left: 0x;right: auto;top: 0;}
.problem-cardB{left: 238px;right: auto;top: 50px;background: #eff9ffff;}
.problem-cardC{left: auto;right: 238px;top: 300px;}
.problem-cardD{left: 238px;right: auto;top: 300px;background: #eff9ffff;}

  @media (min-width: 768px) {
    .character-img {
      max-width: 80%;
    }
  }

#Second  p{font-size: 18px;}

/* 真實又痛苦的工作經驗 */
.chat-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
  }
  
  .person img {
    max-width: 150px;
    height: auto;
    display: block;
  }

  .chat-container .person:last-child {
    align-self: flex-end;
    display: block;
  }

  /* 對話框基礎樣式 */
  .bubble {
    max-width: 650px;
    padding: 0.8rem 1.2rem;
    border-radius: 1.5rem;
    position: relative;
    color: #fff;
    line-height: 1.5;
    font-size: 1.2rem;
  }
  
  /* 左邊對話框 */
  .bubble-left {
    background-color:  #22140e;
    margin-bottom: 1rem;
    align-self: flex-start;

  }
  .bubble-left::after {
    content: "";
    position: absolute;
    top: 20px;
    left: -22px;
    border-width: 15px;
    border-style: solid;
    border-color: transparent #22140e transparent transparent;
  }
  
  /* 右邊對話框 */
  .bubble-right {
    background-color: #2172de;
    align-self: flex-end;
  }
  .bubble-right::after {
    content: "";
    position: absolute;
    top: 16px;
    right: -22px;
    border-width: 15px;
    border-style: solid;
    border-color: transparent transparent transparent #2172de;
  }

  .chat-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }
  

  
  .chat-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
  }
  
  /* 共同泡泡樣式 */
  .bubble {
    padding: 12px 16px;
    border-radius: 15px;
    line-height: 1.5;
    max-width: 75%;
  }

  


/* Third */
section#Third{text-align: left;padding: 0;background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 30%, rgba(247, 245, 240, 1) 30%, rgba(247, 245, 240, 1) 100%);}
section#Third h5{font-size: 1.1rem;}


.title-box{position: absolute;left: 0;top:178px;background-color: #2172de;}
section#Third li.CCNA20 .btn-blue{background-color: #01a292;}
li.CCNA20 .title-box{background-color: #01a292;}
.text-detail{position: absolute;right: 50px;bottom: 55px;}
section#Third .btn{border-radius: 0;font-size: 1.5rem;}






/* Discount */
section#Discount{background-color: #fff7e8;padding: 120px 0 80px 0;background: linear-gradient(to bottom, rgba(247, 245, 240, 1) 0%, rgba(247, 245, 240, 1) 30%, rgba(247, 245, 240, 1) 30%, rgba(247, 245, 240, 1) 100%);background: url("../images/bg_01.png") repeat center;}


.solution__title {
    height: 3.5em;
    border-radius: 1.5em 1.5em 0 0;

}
.solution__title {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto;
    padding: 1em 0.9em 0.8em;
    background-color: #22140e;
    color: #fff;
    width: 75%;
}

#Discount .solution__title::before {content: "";position: absolute;left: -140px;top: -132px;width: 450px;height: 450px;background-image: url(../images/journal_01.png); background-size: contain;background-repeat: no-repeat;}


#Discount .row{padding:0 200px;  display: flex; /* 讓欄位高度對齊 */}
#Discount .card {border: none;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);border-radius: 15px;min-height: 550px;position: relative;  display: flex;
  flex-direction: column;flex: 1;    justify-content: space-around;}
  #Discount .col-md-6 {
    display: flex; /* 讓卡片填滿欄位 */
  }
#Discount .btn-purple {background-color: #22140e;color: white;border-radius: 8px;padding: 8px 16px;position: absolute;bottom: 40px; left: 28%;right: 28%;font-size: 19px;  margin-top: auto; /* 按鈕推到底部 */
  position: static; /* 取消絕對定位 */}

#Discount .btn-purple:hover {background-color: #ee6600;color: white;}
#Discount li{font-size: 20px;padding-bottom: 5px;}
#Discount li::marker {color: #ee6600;}
#Discount .Course2 li::marker {color: #2172de;}
#Discount .agenda, #Discount .user{position: relative;padding-left: 45px;font-weight: bold;}

#Discount .agenda::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  width: 25px;
  height: 25px;
  background-image: url(../images/agenda.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
#Discount .user::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  width: 25px;
  height: 25px;
  background-image: url(../images/user.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

#Discount .Course2 .agenda::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  width: 25px;
  height: 25px;
  background-image: url(../images/agenda2.svg);
  background-size: contain;
  background-repeat: no-repeat;
}
#Discount .Course2 .user::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 0;
  width: 25px;
  height: 25px;
  background-image: url(../images/user2.svg);
  background-size: contain;
  background-repeat: no-repeat;
}



#Discount h6{font-size: 1.4rem;}
.card-title span{ background-color: #FFF;border: 2px solid #2172de;border-radius: 50px;padding: 0.5rem 1.5rem;color: #2172de;}

/* Discount 建議學習順序*/
#Discount .knowledge {
    display: inline-block;
    width: 13.095vw;
    font-size: clamp(32px, 2.380vw, 88px);
    border-radius: 50%;
    background: #FFF;
    border: 1px solid #FFC629;
    box-shadow: 0px 0px 40px 20px rgba(255, 198, 41, .36);
    margin: 0 2.380vw;
}
#Discount .performance {
    display: inline-block;
    width: 13.095vw;
    font-size: clamp(32px, 2.380vw, 88px);
    border-radius: 50%;
    background: #FFF;
    border: 1px solid #47D1BC;
    box-shadow: 0px 0px 40px 20px rgba(64, 206, 195, .36);
    margin: 0 2.380vw;
}


.in{
    position: relative;
    width: 100%;
    padding-top: 100%;
    height: 0;
}

.in span {
    position: absolute;
    top: calc((100% - 1.6em) / 2);
    left: 0;
    right: 0;
    text-align: center;
}

.order{display: flex;flex-wrap: wrap;justify-content: center;align-items: center;}

.small{font-size: 1.2rem;padding-top: 40px;}
.arrow{width: 5%;}

.dialogue{background: #FFF;border-radius: 5px;padding: 3px 5px;line-height: 2;}

/* btnLink */
section#btnLink{position: relative;}


#btnLink .card {
    background-color: #fff7e8;
    padding: 30px 20px;
    display: flex;
    flex-direction: row; /* 左右排列 */
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: none;
  }
  
  #btnLink .card img {
    width: 150px;
    flex-shrink: 0;
  }
  
  #btnLink .card h3 {
    margin: 0 0 10px;
    white-space: nowrap; /* 不要換行，保持橫排 */
  }
  
  #btnLink .card p,
  #btnLink .card span {
    margin: 0;
  }
  
  #btnLink .card div.text {
    flex: 1; /* 文字區塊佔滿剩下空間 */
  }

  #btnLink h2{position: relative;padding-left: 30px;}
  #btnLink h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 60px;
    width: 20px;
    height: 20px;
    background-image: url(../images/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
   }

section#btnLink button{width: 100%; margin: 15px auto 25px auto; display: block;background-color: #ee6600; color:#FFF; border: 4px solid #ee6600; border-radius: 50px; padding: 13px 20px; font-weight: bold; font-size:1.8rem;height: 72px;}
section#btnLink button:hover{transform: translateY(5px);opacity: 0.6;}
section#btnLink .row{margin: 0;}








@media(min-width: 1441px){
.container {max-width: 1320px;}
}
@media(max-width: 1440px){}
@media(max-width: 767px){

.container{max-width: 100%;}



/* visual */
header#visual{height: 25vh;}
header#visual .title img{width: 70%;display: block;margin: 1% auto 0;}

/* First */
section#First {background: url(../images/TITLE_BG.png) no-repeat center;}
.about-content__item-wrap{width: 95%;padding: 3rem 6.5rem;flex-direction: column;overflow: inherit;}
.about-content__item-wrap._right {margin-left: 0; padding: 2rem 1.5rem;border-radius: 1.5rem;}

.about-content__item-text p{padding:0 40px;}
.about-content__item-text li{padding:0 50px;}
#First ul {margin-left: 0;}
#First h2 {font-size: 1.8rem;}

/* Second */
#Second .badge{width: 100%;}
#Second .badge_Line{width: 100%;}
#Second h2{font-size: 1.8rem;}
.bubble{max-width: 100%;}
.chat-container{flex-direction: column;}
.chat-container .person:last-child {display: none;}
.person{display: none;}
.sd{position: static;margin-bottom: 5%;}
.bubble-right::after {content: "";position: absolute;top: 16px;right: 0;}

/* Discount */
#Discount .solution__title::before{background-image: none;}
#Discount .row{padding: 0px;}
#Discount h2{font-size: 1.4rem;}
.solution__title{width: 100%;}
#Discount .knowledge,#Discount .performance{width: 33vw;}
.in span{position: absolute;top: calc((50% - 1em) / 1);left: 0;right: 0;}
.arrow{width: 15%;}

/* btnLink */
#btnLink .card{flex-direction: column;}
section#btnLink .btn{width: 100%;}
section#btnLink button{font-size: 1.2rem;}

}
