@charset "utf-8";
@import url("reset.css");
/* CSS Document */

/* 調整 現有數值==============================================*/
#CM777 .QA_AREA .text_area{
  padding-bottom: 15px;
}

/* 調整 現有數值 尾==============================================*/

/*新增 大師來解答==============================================*/

/* 共用設定 */
#CM777 .QA_AREA {
  width: 800px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 60px;
}

#CM777 .QA_AREA .QA_title{
  position: relative;
  width: 750px;
  height: 126px;
  margin: 0 auto;
  background-image: url(../images/a_main_ph/20221202/title_barQA.png);
    background-position: top center;
    background-repeat: no-repeat;
}

#CM777 .QA_AREA .QA_title p {
  font-size: 2.4rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
}

#CM777 .QA_AREA .QA_CON {
  margin: 40px auto 0 auto;
  width: 88%;
}

/* 問題 */

#CM777 .QA_AREA .Q_BOX{
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

#CM777 .QA_AREA .Q_BOX> .QA-L {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #faaf43;
  border-radius: 50%;
  width: 76px;
  height: 76px;

}

#CM777 .QA_AREA .Q_BOX>.QA-L img{
  width: 72%;
  margin-top: 6px;
}


#CM777 .QA_AREA .Q_BOX>.QA-R {
  width: 80%;
  margin-left: 16px;
  display: flex;
  align-items: center;
}
  /* 對話框 */
#CM777 .QA_AREA .Q_BOX .speech-bubble {
  position: relative;
  background: #178041;
  border-radius: 8px;
  width: 100%;
  padding: 12px;
}

#CM777 .QA_AREA .Q_BOX .speech-bubble p{
  font-size: 24px;
  color: #ffffff;
  line-height: 1.5;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
}

#CM777 .QA_AREA .Q_BOX .speech-bubble span{
  font-size: 28px;
  font-weight: bold;
  margin-right: 4px;
}

#CM777 .QA_AREA .Q_BOX .speech-bubble:after {
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  width: 0;
  height: 0;
  border: 16px solid transparent;
  border-right-color: #178041;
  border-left: 0;
  margin-top: -16px;
  margin-left: -16px;
}

    /* 對話框 */

/* 問題 尾*/

/* 答案 */

#CM777 .QA_AREA .A_BOX {
  display: flex;
  justify-content: space-evenly;
  margin-top: 20px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

#CM777 .QA_AREA .A_BOX>.QA-R {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 50%;
  width: 180px;
  height: 100%;
}

#CM777 .QA_AREA .A_BOX>.QA-R img {
  width: 100%;
}

#CM777 .QA_AREA .A_BOX .NAME {
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  font-size: 20px;
  margin-top: 4px;
}


#CM777 .QA_AREA .A_BOX .QA-L {
  width: 80%;
  margin-right: 24px;
  display: flex;
  align-items: center;
}

    /* 對話框 */

#CM777 .QA_AREA .A_BOX .speech-bubble {
  position: relative;
  background:rgba(255, 255, 255, 50%);
  border-radius: 8px;
  width: 100%;
  padding: 16px 18px;
  border:1px solid #d8be98;
}

#CM777 .QA_AREA .A_BOX .speech-bubble p {
  font-size: 20px;
  color: #000000;
  line-height: 1.5;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
}

#CM777 .QA_AREA .A_BOX .speech-bubble span {
 color: #e31414;
}

#CM777 .QA_AREA .A_BOX .speech-bubble:after {
  content: '';
  position: absolute;
  right: 0;
  top: 60px;
  width: 0;
  height: 0;
  border: 16px solid transparent;
  border-left-color: #d8be98;
  border-right: 0;
  margin-top: -16px;
  margin-right: -16px;
  transform: translate(0px, -50%);
}

    /* 對話框 */

/* 答案 尾*/

/* 更多問題 */

#CM777 .QA_AREA .QA_CON_MORE{
  margin: 32px auto 0 auto;
  width: 88%;
  height: auto;
  padding: 40px;
  border-radius: 8px;
  background: rgb(rgb(255,247,31));
  background: linear-gradient(0deg, rgb(255 247 231) 0%, rgba(255, 240, 212, 1) 100%);
}

#CM777 .QA_AREA .QA_CON_MORE .Q_BOX{
  margin-bottom: 20px;
  border-radius: 4px;
}

#CM777 .QA_AREA .QA_CON_MORE .QA-L{
 width: 60px;
 height: 60px;
}

#CM777 .QA_AREA .QA_CON_MORE .speech-bubble{
  background: #e57422;
  padding: 7px 12px;
}

#CM777 .QA_AREA .QA_CON_MORE .speech-bubble:after{
  border: 12px solid transparent;
  border-right-color: #e57422;
  top: 26px;
  margin-top: -12px;
  margin-left: -21px;
}

#CM777 .QA_AREA .QA_CON_MORE .speech-bubble p{
  font-size: 20px;
}
#CM777 .QA_AREA .QA_CON_MORE .speech-bubble span{
  font-size: 24px;
}

#CM777 .QA_AREA .ph_dot{
  display: block;
  width: 8px;
  height: 8px;
  background-color: #e57422;
  border-radius: 50%;
  margin: 4px auto;
}

#CM777 .QA_AREA .ph_dot:last-of-type{
  margin-bottom: 20px;
}

#CM777 .QA_AREA .button-main{
  margin-bottom: 0;
}

/* 手機版 */
@media screen and (max-width: 750px) {
  #CM777 .QA_AREA {
    width: 100%;
    margin-bottom: 0px;
  }
  
  #CM777 .QA_AREA .QA_title {
    width: 100%;
    height: 0;
    padding-bottom: 16.8%;
    margin: 0 auto;
    background-size: contain;
  }

  #CM777 .QA_AREA .QA_title p {
    font-size: 5vw;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, 0%);
  }
  
  #CM777 .QA_AREA .QA_CON{
    width: 92%;
    margin-top: 20px;
  }
  #CM777 .QA_AREA .Q_BOX>.QA-L{
    width: 16vw;
    height: 16vw;
  }
  #CM777 .QA_AREA .Q_BOX .speech-bubble{
    padding:8px 12px;
    border-radius: 4px;
  }
  #CM777 .QA_AREA .Q_BOX .speech-bubble:after{
    top: 5.5vw;
    border: 10px solid transparent;
    border-right-color: #178041;
    border-left: 0;
    margin-top: -10px;
    margin-left: -10px;
  }

  #CM777 .QA_AREA .Q_BOX .speech-bubble p{
    font-size: 1.1rem;
  }
  #CM777 .QA_AREA .Q_BOX .speech-bubble span{
    font-size: 1.3rem;
    margin-right: 0;
  }
  #CM777 .QA_AREA .A_BOX>.QA-R{
    width: 24vw;
  }
  #CM777 .QA_AREA .A_BOX .QA-L{
        margin-right: 4px;
  }

  #CM777 .QA_AREA .A_BOX .speech-bubble {
    padding: 12px 16px;
  }
  #CM777 .QA_AREA .A_BOX .speech-bubble:after{
    top: 6.5vw;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #d8be98;
    border-right: 0;
    margin-top: -10px;
    margin-right: -10px;
    transform: translate(0px, 0px);
  }

  #CM777 .QA_AREA .A_BOX .speech-bubble p{
    font-size: 1.1rem;
  }
  #CM777 .QA_AREA .A_BOX .NAME{
    font-size: 16px;
  }
  #CM777 .QA_AREA .QA_CON_MORE{
    padding: 32px 20px 28px 20px;
    margin-top: 12px;
  }
  #CM777 .QA_AREA .QA_CON_MORE .speech-bubble:after{
    top: 5.5vw;
    border: 10px solid transparent;
    border-right-color: #e57422;
    border-left: 0;
    margin-top: -10px;
    margin-left: -10px;
  }
  #CM777 .QA_AREA .QA_CON_MORE .QA-L{
    width: 12vw;
    height: 12vw;
  }
  #CM777 .QA_AREA .button-main {
    padding-bottom: 0;
  }
}

/* 更多問題 尾*/



/*新增 大師來解答 尾==============================================*/
