@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

::selection {
  background: #ffc690;
}

body {
  background: url(../images/px.png), linear-gradient(to bottom, #063786 0%, #29a9fe 10%, #c6eaff 100%);
  background-size: 0.6%;
  background-position: top center;
  font-size: 1.1em;
  line-height: 1.8;
  letter-spacing: 0.5px;
  font-weight: 300;
  overflow-x: hidden;
  font-family: "Arial", "Noto Sans TC", sans-serif;
  padding: 0 !important;
  --f-b: #767bcf;
  --f-b2: #313478;
  --f-b3: #a9aceb;
  --f-p: #ff36b9;
  --f-p2: #ff1f8a;
  --f-p3: #b2d2ff;
  --f-p5: #ffbdfa;
  --f-y: #ffe100;
  --b1: #36d0ff;
  --b2: #ffcccc;
  --color-link-hover: #fff;
  --color-title: #fff;

}

#gotop {
  width: 3.8em;
  height: 3.8em;
  text-align: center;
  border: 1px solid #ddd;
  position: fixed;
  right: 10px;
  bottom: 10vh;
  border-radius: 50%;
  padding: 6px 0px;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.7);
  border: 1px;
  color: white;
  cursor: pointer;
  z-index: 300;

}

@media screen and (max-width:46em) {
  #gotop {
    font-size: 13px;
    padding-top: 5px;
    bottom: 65px;
  }

  body {
    background: url(../images/px.png), linear-gradient(to bottom, #063786 0%, #29a9fe 10%, #c6eaff 100%);
    background-size: 2%;
    background-position: top center;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

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

@media (min-width:55em) {
  .br_d {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}

a {
  text-decoration: none;
}

.logock {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: solid 1px #ffffffe7;
  color: #099587;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 1.5em;
  position: fixed;
  top: 0;
  left: 0;
  padding: 3px 0 1px 2vw;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
  z-index: 99;
}

article {
  padding: 6vh 8vw;
  letter-spacing: 0.5px;
  font-size: 1.1em;


}

article h2 {
  font-weight: 800;
  font-size: 3em;
  position: relative;
  text-align: center;
  color: #fa624e;
  margin-bottom: 7vh;
}

article:nth-child(2n) h2 {
  color: #2837b9;
}

article h2 span {
  background: url(https://www.easywin.com.tw/data/public/img/w-dot.png) #fa624e;
  background-size: 30%;
  border-radius: 900px;
  color: #fff;
  display: block;
  width: 80%;
  padding: 4vh 2vh;
  margin: auto;
  margin-top: 1vh;
  text-align: center;
  text-shadow: #2837b9 0px 0px 0px;
}

article:nth-child(2n) h2 span {
  background: url(https://www.easywin.com.tw/data/public/img/w-dot.png) #2837b9;
  background-size: 30%;
  text-shadow: #2837b9 0px 0px 0px;

}

article h2 img {
  display: block;
  position: absolute;
  left: 6vw;
  top: 1vh;
  width: 11%;
  height: auto;
}


article ul {
  list-style: none;
  font-family: "Noto Sans TC", sans-serif;
  margin: 0;
  padding: 0;
}

main {
  background-size: 100%;

}

/* 1. 預設：桌機版 (大於 991px 時套用) */
.hero-header {
  width: 100%;
  aspect-ratio: 1500 / 800;
  background-image: url('../images/head-bg.jpg');
  /* 背景圖防跑版三要素 */
  background-size: auto 100vh;
  background-repeat: no-repeat;
  background-position: center 20px;
  background-attachment: fixed;
}

@media (max-width: 991px) {

  .hero-header {
    background-size: 100% auto;
    aspect-ratio: 605 / 620;
    background-position: center 50px;
    background-image: url('../images/head-bg-m.jpg');
  }
}




@media screen and (max-width: 45em) {
  article {
    padding: 3vh 3vw;
    letter-spacing: 0.5px;
    font-size: 1em;
  }

  article h2 {
    font-weight: 800;
    font-size: 2em;
    margin-bottom: 3vh;
  }

  article h2 span {
    width: 95%;
    text-align: center;
    border-radius: 80px;
    padding: 2vh 2vh;
  }

  article h2 img {
    display: none;
  }
}

/* 心得輪播容器 */
.student {
  padding: 0 2vw;
  text-align: center;
}


.student-swiper-fn {
  position: relative;
  margin: 5vh 0 0 0;
}

.student-swiper-fn .swiper-wrapper {
  height: auto;
}

.student-swiper-fn .swiper-slide {
  margin: 0px;
  padding: 0 1vw;
}

/* --- 1. 清除 Swiper 預設藍色箭頭 --- */
.student-swiper-fn .swiper-button-next::after,
.student-swiper-fn .swiper-button-prev::after {
  content: "" !important;
}

/* --- 2. 左右箭頭通用設定（藍底圓形背景） --- */
.student-swiper-fn .swiper-button-next,
.student-swiper-fn .swiper-button-prev {
  position: absolute;
  z-index: 57;
  top: 45%;
  /* 垂直置中 */
  transform: translateY(-50%);
  /* 修正置中偏移 */
  margin-top: 0;
  /* 取消 Swiper 預設的 margin */

  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0071bc99;

  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}

/* Hover 效果 */
.student-swiper-fn .swiper-button-next:hover,
.student-swiper-fn .swiper-button-prev:hover {
  background: #0071bccc;
}

/* --- 3. 箭頭左右定位（往外推，不壓住內容） --- */
.student-swiper-fn .swiper-button-prev {
  left: -25px;
  /* 根據需要調整，越負代表越往外推 */
}

.student-swiper-fn .swiper-button-next {
  right: -25px;
}

/* 移除原本針對 img 的設定，改用這個 */
.student-swiper-fn .swiper-button-next i,
.student-swiper-fn .swiper-button-prev i {
  font-size: 24px;
  /* Icon 圖示大小 */
  color: #ffffff;
  /* Icon 顏色（例如白色） */
  line-height: 1;
  /* 防止行高影響垂直置中 */
}

/* --- 5. 分頁圓點（Pagination） --- */
.student-swiper-fn .swiper-pagination {
  position: relative;
  z-index: 56;
  width: 100%;
  margin: 40px auto 0px auto;
}

.student-swiper-fn .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: #595757;
  position: relative;
  top: 0px;
  margin: 0px 5px;
}

.student-swiper-fn .swiper-pagination-bullet-active {
  color: #fff;
  background: #2335be;
}

#st .swiper-slide img {
  border-radius: 50%;
  width: 32%;
}

#st .swiper-slide p strong,
#st .swiper-slide p span {
  display: block;
  text-align: center;
}

#st .swiper-slide p strong {
  font-size: 1.25em;
  color: #1a89ff;
  font-family: "Noto Sans TC", sans-serif;
}

#st .swiper-slide p span {
  font-size: 2em;
  font-weight: 600;
}

#st .swiper-slide {
  width: 30%;
  background: #fff4f4;
  border: solid 3px #ffffff;
  border-radius: 1em;
  padding: 6vh 2vw 2vh;
  position: relative;
  text-align: center;
  min-height: 520px;
}

#st .ta h6 {
  position: absolute;
  top: -4vh;
  left: -0.5vw;
  font-size: 0.85em;
  line-height: 1.2;
  z-index: 66;
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);

}

#st .swiper-slide h4 mark {
  width: 100%;
  display: block;
  border: solid 3px #170a3a;
  background-color: #dfe0ff;
  padding: 0vh 1vw;
  text-shadow: 0 0 0px #3b347a
    /* border-radius: 0; */

}

#st .swiper-slide h4 strong {
  font-size: 150%;
  font-weight: 600;
  line-height: 1.2;
}

#st .swiper-slide h4 small {
  font-size: 0.6em;
}

#st .swiper-slide h4 small::before {
  content: '(';
  padding: 0.2vw;
}

#st .swiper-slide h4 small::after {
  content: ')';
  padding: 0.2vw;
}

#st span {
  color: #fb603f;
}

#st ins {
  text-decoration: none;
  font-weight: 600;

}

#st p {
  text-align: justify;
  font-weight: 300;
}

#top {
  text-align: center;
}

#top ul,
#good ul,
#ter ul {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  align-items: stretch;
  color: #121865;
  font-weight: 500;

}

#top ul li {
  width: 31%;
  margin: 1vh 0.5vw;
  text-align: center;
}

#top ul li {
  width: 23%;
  padding: 5vh 0vw;
  border: double 5px rgba(255, 255, 255, 0.8);
  background: url(../images/px.png), #fb603f;
  background-size: 3%;
  border-radius: 2em;
  color: #fff;
  line-height: 1.35;
}

#top ul li:last-child {
  width: 47.5%;
  padding: 5vh 0vw;
  background-size: 1.5%;
  border-radius: 2em;
  color: #fff;
  line-height: 1.35;
}

#top ul strong {
  display: block;
  text-align: center;
  font-size: 1.8em;
  line-height: 1.8;
  color: #ffe100;
}

#top ul strong::before,
#top ul strong::after {
  content: '\f005';
  font-weight: 900;
  font-family: 'Font Awesome 5 Free';
  padding: 0.2vw;
  font-size: 60%;
}

#top ul li span {
  font-size: 132%;
  font-weight: 600;
}

#top ul strong:last-child:before,
#top ul strong:last-child:after {
  content: '';
  line-height: 1;
  padding: 0vw;
}

#good ul mark,
#ter ul mark {
  padding: 0.5vh 1vw;
  margin-right: 1vw;
  background: #ffffff;
  color: #139db2;
  border-radius: 1em;
  font-weight: 800;
}

#good ul li:nth-child(3n+1),
#good ul li:nth-child(3n-1) {
  border-right: solid 1px;
}



#good ul span {
  padding: 0 1.5vw;
}

/* #good ul span::after{
    content: ')';
  }
    #good ul span::before{
    content: '(';
  } */
#good ul li {
  width: 32%;
  padding: 1vh 1vw;
  text-align: center;
}


#ter ul li {
  width: 25%;
  padding: 1vh 2vw;
  text-align: center;
  border-right: solid 1px;
}


#ter ul li:nth-child(4n) {
  border-right: solid 0px;
}


@media screen and (max-width: 65em) {

  #top ul li {
    width: 45%;
  }



  #top ul li:last-child {
    display: none;
  }

  #top ul strong {
    font-size: 1.58em;
  }

  #good ul mark,
  #ter ul li {
    width: 45%;
    border-right: solid 1px;
  }

  #ter ul li:nth-child(2n) {
    border-right: solid 0px;
  }

  #good ul li {
    border-right: solid 1px;
  }

  #good ul li:nth-child(2n) {
    border-right: solid 0px;
  }

  #good ul li {
    width: 45%;
  }

  #ter ul li {
    width: 23%;
    border-right: solid 1px;
  }

  #ter ul li:nth-child(2n) {
    border-right: solid 0px;
  }

}

@media screen and (max-width: 45em) {

  /* --- 2. 左右箭頭通用設定（藍底圓形背景） --- */
  .student-swiper-fn .swiper-button-next,
  .student-swiper-fn .swiper-button-prev {

    width: 40px;
    height: 40px;

  }

  .student-swiper-fn .swiper-button-next i,
  .student-swiper-fn .swiper-button-prev i {
    font-size: 20px;
  }

  .student-swiper-fn .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    text-align: center;
    line-height: 20px;
    font-size: 10px;
  }

  .student-swiper-fn .swiper-pagination {
    margin: 30px auto 0px auto;
  }

  #st {
    text-align: center;
    background-size: 100%;
    padding: 0vh 5vw 0vh;
    z-index: 3;
    font-size: 95%;
    position: relative;
  }

  #st .swiper-slide {
    width: 30%;
    background: #fff4f4;
    border: solid 3px #ffffff;
    border-radius: 1em;
    padding: 2vh 5vw 0vh;
    position: relative;
    text-align: center;
    min-height: 420px;
  }

  #top ul li {
    width: 48.5%;
    padding: 2vh 0;
  }

  #top ul strong {
    font-size: 1.28em;
  }

  #good ul li {
    border-right: solid 0px;
  }

  #good ul li:nth-child(3n-1),
  #good ul li:nth-child(3n+1) {
    border-right: solid 0px;
  }

  #good ul li {
    width: 100%;
  }

  #ter ul li {
    width: 50%;
    border-right: solid 0px;
  }

  #ter ul li:last-child(1),
  #ter ul li:last-child(2),
  #ter ul li:last-child(3) {
    width: 100%;
  }

  #ter ul li:nth-child(2n) {
    border-right: solid 0px;
  }

  #good ul mark,
  #ter ul mark {
    padding: 0.5vh 2vw;
    margin-right: 2vw;
    border: 0.5em;
  }
}


#socail_icon {
  padding: 0;
}

#socail_icon_box a {
  background-color: #1f8bd9;
}

#socail_icon a::before {
  content: none;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  padding-right: 0;
}

@media screen and (max-width: 575px) {
  #socail_icon_box {
    height: 8vh;
  }

  #socail_icon_box a.bg_line {
    padding: 0.5em 0.1em 0.4em;
  }

  #socail_icon {
    margin-top: 0;
    background-color: rgba(54, 50, 0, 0)
  }

  #socail_icon_box a.w100 img {
    pointer-events: none;
    display: block;
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    top: 18px !important;
    left: 10% !important;
  }

  #socail_icon_box a.bg_line {
    padding: 0.2em 0.15em 0.2em !important;
  }

  #socail_icon_box {
    height: 6.5vh !important;
  }
}