* {
  -webkit-box-sizing: border-box;
}

/* 共用設定：間距、顏色、線條 */
#YF026 .red {
  color: #e42f2f;
}

#YF026 .blue {
  color: #3077d4;
}

#YF026 .green {
  color: #2e6e00;
}

#YF026 .yellow {
  color: #fff66e;
}

#YF026 .purple {
  color: #6124b4;
}

/* 分隔線 */
.PC #YF026 .divider {
  width: 100%;
  border-top: 1px solid #ddd;
  margin: 50px 0px 44px 0px;
}

.MOBILE #YF026 .divider {
  width: 100%;
  border-top: 1px solid #ddd;
  margin: 30px 0px 25px 0px;
}

.PC #YF026 .pc_margin_bottom10 {
  margin-bottom: 8px;
}

.MOBILE #YF026 .pc_margin_bottom10 {
  margin-bottom: 0px;
}

.PC #YF026 .margin_top10 {
  margin-top: 10px
}

.MOBILE #YF026 .margin_top10 {
  margin-top: 0px;
}

.PC #YF026 .blank_in_br {
  height: 20px;
}

.PC #YF026 .blank_in_s {
  height: 15px;
}

.MOBILE #YF026 .blank_in_br {
  height: 25px;
}

.MOBILE #YF026 .blank_in_s {
  height: 10px;
}


#YF026 .text_box {
  width: 100%;
  height: auto;
  margin: 15px 0px;
}

.MOBILE #YF026 .text_box {
  width: 100%;
  height: auto;
  margin: 2px;
}

.PC #YF026 .ph_HAND {
  position: absolute;
  background-image: url(../images/hand.png);
  width: 50px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.MOBILE #YF026 .ph_HAND {
  position: absolute;
  background-image: url(../images/hand.png);
  width: 50px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#YF026 .txt_input_h2 {
  font-size: 1.8rem;
  text-align: center;
  line-height: 2.4rem;
  ;
}

.MOBILE #YF026 .txt_input_h2 {
  font-size: 1.2rem;
}

/* ========================================= */
/* ================ 共用選單 ================ */
/* ========================================= */
#YF026 .the_menu {
  width: 100%;
  height: 55px;
  z-index: 100;
  /* overflow: hidden; */
  background-color: #f06000;
  margin-top: 0;
  box-sizing: border-box;
}

.MOBILE #YF026 .the_menu {
  height: 50px;
}

#YF026 .LM_MENU {
  display: block;
  width: 100%;
  height: 55px;
}

.MOBILE #YF026 .LM_MENU {
  height: 50px;
}

#YF026 .LM_MENU ul {
  max-width: 730px;
  /* 900px */
  height: 55px;
  margin: 0 auto;
  border-right: 1px solid #ffcc8d;
  border-left: 1px solid #ffcc8d;
  overflow: hidden;
  box-sizing: border-box;
}

.MOBILE #YF026 .LM_MENU ul {
  width: 100%;
  border: none;
}

.MOBILE #YF026 .LM_MENU li {
  height: 50px;
}

#YF026 .LM_MENU li {
  float: left;
  width: 25%;
  height: 55px;
  border-right: 1px solid #ffcc8d;
  box-sizing: border-box;
}

#YF026 .LM_MENU li:last-child {
  border-right: none;
}

#YF026 .LM_MENU li.LINK {
  height: 55px;
  line-height: 55px;
  text-align: center;
  color: #fffc00;
  font-size: 1.7em;
  background-color: #098b00;
}

.MOBILE #YF026 .LM_MENU li.LINK {
  height: 50px;
  line-height: 50px;
  font-size: 1.2rem;
}

#YF026 .LM_MENU li a {
  display: block;
  width: 100%;
  height: 55px;
  line-height: 55px;
  text-align: center;
  color: #ffffff;
  font-size: 1.7em;
  cursor: pointer;
}

.MOBILE #YF026 .LM_MENU li a {
  height: 50px;
  line-height: 50px;
  font-size: 1.2rem;
}

.PC #YF026 .LM_MENU li a:hover {
  font-weight: bold;
  color: #02731b !important;
  background-color: #fffdca;
}

#YF026 .LM_MENU .PRE,
#YF026 .LM_MENU .NEX {
  display: none;
}



/* ========================================= */
/* ================ 按鈕區塊 ================ */
/* ========================================= */
/* 置底按鈕 */
#YF026-wrapper .DOWN_BAR {
  width: 100%;
  height: auto;
  position: fixed;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  padding: 10px 0;
}

.PC #YF026-wrapper .BT_AREA {
  width: 490px;
  height: auto;
  margin: 0 auto;
}

.MOBILE #YF026-wrapper .BT_AREA {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.PC #YF026-wrapper .BT_AREA a.ONE {
  display: block;
  width: 320px;
  margin: 0 auto;
  height: 48px;
}

.MOBILE #YF026-wrapper .BT_AREA a.ONE {
  display: block;
  width: 95%;
  margin: 0 auto;
  height: 48px;
}

#YF026-wrapper .BT_AREA a {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 48px;
  text-align: center;
  color: #ffffff;
  margin: 0 auto;
  width: 220px;
  height: 48px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: #b21424;
  background: -moz-linear-gradient(top,
      #fb2121 0%,
      #b21424);
  background: -webkit-gradient(linear, left top, left bottom,
      from(#fb2121),
      to(#b21424));
  border: 1px solid #bf3539;
  -moz-box-shadow: inset 0px 0px 2px rgba(255, 255, 255, 1);
  -webkit-box-shadow: inset 0px 0px 2px rgba(255, 255, 255, 1);
  box-shadow: inset 0px 0px 2px rgba(255, 255, 255, 1);
  margin-left: 10px;
}

#YF026-wrapper .BT_AREA a:hover {
  background-color: #fb2121;
  background: -moz-linear-gradient(top,
      #b21424 0%,
      #fb2121);
  background: -webkit-gradient(linear, left top, left bottom,
      from(#b21424),
      to(#fb2121));
}

/* 輸入頁按鈕 */

/* 按鈕樣式：圓角 */
#YF026 .button_frame .border_smallround {
  border-radius: 5px;
}

/* 按鈕顏色：紅色01 */
#YF026 .button_frame .gradient_color_red {
  border: 1px solid #a30000;
  background: #ff0000;
  background: linear-gradient(0deg, #b90000 0%, #ff0000 100%);
}

.PC #YF026 .button_frame .gradient_color_red:hover {
  background: #ff0000;
  background: linear-gradient(0deg, #ff0000 0%, #b90000 100%);
}

/* 按鈕顏色：綠色01 */

/* 按鈕顏色：橘色01 */
#YF026 .button_frame .gradient_color_orange {
  border: 1px solid #FF3C29;
  background: #FF3C29;
  background: linear-gradient(0deg, #ff3c29 0%, #fe6232 100%);
}

.PC #YF026 .button_frame .gradient_color_orange:hover {
  border: 1px solid #FF3C29;
  background: #fe6232;
  background: linear-gradient(0deg, #fe6232 0%, #FF3C29 100%);
}

#YF026 .button_frame {
  width: 100%;
  height: auto;
}

#YF026 .button_frame ul {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

#YF026 .button_frame li {
  width: 49%;
}

#YF026 .button_frame li:first-child {
  margin-right: 2%;
}

#YF026 .button_frame a {
  display: block;
  font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif, Helvetica, Arial;
  width: 100%;
  margin: 0 auto;
  height: 50px;
  font-size: 1.5rem;
  line-height: 47px;
  text-align: center;
  color: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-shadow: inset 0px 0px 2px rgba(255, 255, 255, 1);
  cursor: pointer;
}

.MOBILE #YF026 .button_frame a {
  height: auto;
  line-height: normal;
  padding: 5px 0px;
}

.PC #YF026 .button_frame .br_subtitle {
  font-size: 1.2rem;
  margin-left: 5px;
  font-weight: normal;
}

.MOBILE #YF026 .button_frame .br_subtitle {
  font-size: 1rem;
  margin-left: 5px;
  font-weight: normal;
  display: block;
}

/* ========================================== */
/* ================ 主視覺區塊 ================ */
/* ========================================== */
/* 主視覺底圖 */
.PC #YF026.input_bg {
  background-image: url(../images/bg_input.jpg);
  background-color: #b41210;
}

.MOBILE #YF026.input_bg {
  margin-top: 45px;
}

.PC #YF026 .hero_input {
  position: relative;
  max-width: 750px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

.MOBILE #YF026 .hero_input {
  width: 100%;
  aspect-ratio: 750 / 490;
  background-image: url(../images/under_inph_mb.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 auto;
  overflow: hidden;
}

.PC #YF026 .hero_input h1 {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 445;
  background: url(../images/hero_title_input.png) no-repeat top center;
  background-size: cover;
  margin: 0 auto;
  text-indent: -9999px;
}

.MOBILE #YF026 .hero_input h1 {
  width: 100%;
  aspect-ratio: 750 / 490;
  background-image: url(../images/under_inti_mb_01.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  text-indent: -9999px;
  position: relative;
  z-index: 50;
}

#YF026 .hero_input .input_top {
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* ========================================== */
/* ================ 輸入頁框架 ================ */
/* ========================================== */
.PC #YF026 .in_container_bg {
  background-color: #b41210;
  padding-top: 0.1px;
}

.MOBILE #YF026 .in_container_bg {
  background-color: #b41210;
  padding: 0px;
}

.PC #YF026 .in_container_frame {
  max-width: 730px;
  height: auto;
  margin: 0 auto;
  margin-bottom: 40px;
  background-color: #ffffff;
  box-shadow: inset 0px 0px 8px 4px #ffdead;
}

.MOBILE #YF026 .in_container_frame {
  width: 100%;
  height: auto;
  margin: 0px auto;
  background-color: #ffffff;
  box-shadow: inset 0px 0px 0px 0px #fbdeab;
}

.PC #YF026 .in_container_frame:first-child {
  margin-top: 20px;
}

/* 輸入頁：內容框架 */
.PC #YF026 .in_content_box {
  padding: 4% 8%;
}

.MOBILE #YF026 .in_content_box {
  padding: 4% 4% 8% 4%;
}

/* 輸入頁：內容圖片樣式 */
.PC #YF026 .in_content_box img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

.MOBILE #YF026 .in_content_box img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
}

/* 輸入頁標題圖盒子 */
#YF026 .phbox_title {
  width: 65%;
  height: auto;
  margin: 0 auto;
}

.MOBILE #YF026 .phbox_title {
  max-width: 75%;
  height: auto;
  margin: 0 auto;
}

.PC #YF026 .phbox_maintitle {
  width: 83%;
  height: auto;
  margin: 0 auto;
}

.MOBILE #YF026 .phbox_maintitle {
  width: 85%;
  height: auto;
  margin: 0 auto;
}

/* ======================================== */
/* ================ 內容區塊 ================ */
/* ======================================== */
/* 區塊標題頭 */
.PC #YF026 .title_bar {
  background-color: #f06000;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0px 0px 8px 5px #ff8a3c;
}

.MOBILE #YF026 .title_bar {
  background-color: #f06000;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0px 0px 8px 5px #ff8a3c;
}


.PC #YF026 .title_bar p {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.MOBILE #YF026 .title_bar p {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.PC #YF026 .title_bar span {
  background-color: #fff66e;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
  margin-right: 8px;
  font-weight: normal;
}

.MOBILE #YF026 .title_bar span {
  background-color: #fff66e;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin-right: 8px;
  font-weight: normal;
}


/* 限時優惠倒數區塊 */
#YF026 .countdown_frame {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
}

.PC #YF026 .countdown_item {
  margin-bottom: 0px;
}

.MOBILE #YF026 .countdown_item {
  margin-bottom: 8px;
}

#YF026 .item_ph_flex {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.PC #YF026 .count_phbox {
  width: 80px;
  height: auto;
  margin-right: 10px;
}

.MOBILE #YF026 .count_phbox {
  max-width: 70px;
  height: auto;
  margin-right: 10px;
}

#YF026 .count_phbox img {
  display: block;
  width: 100%;
  height: auto;
}

#YF026 .count_info {
  width: 100%;
  height: auto;
}

#YF026 .count_info p {
  font-size: 2rem;
  font-weight: bold;
  line-height: normal;
  text-shadow: 2px 2px 2px #fff, -2px -2px 2px #fff, -2px 2px 2px #fff, 2px -2px 2px #fff;
}

.MOBILE #YF026 .count_info p {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.PC #YF026 .count_info p.count_txt_point {
  font-size: 2.6rem;
}

.MOBILE #YF026 .count_info p.count_txt_point {
  font-size: 2rem;
}

#YF026 .count_info .count_txt_point span {
  margin-left: 5px;
}

#YF026 .count_info p.line_throught {
  font-size: 1.4rem;
  font-weight: normal;
  color: #777777;
  text-decoration: line-through;
  text-shadow: none;
}

.MOBILE #YF026 .count_info p.line_throught {
  font-size: 1.2rem;
}

/* 輪播區塊 */
.PC #slide_case {
  width: 100%;
  height: auto;
  position: relative;
  margin-top: 20px;
}

.MOBILE #slide_case {
  width: 100%;
  aspect-ratio: 560 / 315;
  margin-top: 15px;
  position: relative;
}

.PC #slide_case .slide_box {
  width: 100%;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
}

.MOBILE #slide_case .slide_box {
  width: 100%;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
}


#slide_case ul,
#slide_case li {
  width: 100%;
  aspect-ratio: 560 / 315;
  /* overflow: hidden; */
}

#slide_case .slide_arrow_pre {
  aspect-ratio: 1 / 1;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  background-color: rgba(70, 181, 62, .9);
  border-radius: 50%;
  background-image: url(../images/input_slide/pre.png);
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 2%;
  transform: translate(-2%, -50%);
}

.MOBILE #slide_case .slide_arrow_pre {
  aspect-ratio: 1 / 1;
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  border-radius: 50%;
  background-image: url(../images/input_slide/pre.png);
  position: absolute;
  top: 44%;
  left: 2%;
  transform: translate(-2%, -44%);
}

#slide_case .slide_arrow_next {
  aspect-ratio: 1 / 1;
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  background-color: rgba(70, 181, 62, .9);
  border-radius: 50%;
  background-image: url(../images/input_slide/next.png);
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translate(-2%, -50%);
}

.MOBILE #slide_case .slide_arrow_next {
  aspect-ratio: 1 / 1;
  width: 30px;
  height: 30px;
  max-width: 30px;
  max-height: 30px;
  border-radius: 50%;
  position: absolute;
  top: 44%;
  right: 2%;
  transform: translate(-2%, -44%);
}


#slide_case .slide_arrow_pre a,
#slide_case .slide_arrow_next a {
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 8px 2px #ffffff;
  border-radius: 50%;
}

#slide_case .slide_dot {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.MOBILE #slide_case .slide_dot {
  margin-top: 5px;
}

#slide_case .slide_dot ul {
  width: 22%;
  height: 20px;
  max-height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
}

.MOBILE #slide_case .slide_dot ul {
  width: 30%;
  height: 20px;
  max-height: 20px;
}

#slide_case .slide_dot li {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 12px;
  max-height: 12px;
  border-radius: 50%;
  background-color: #dddddd;
}

.MOBILE #slide_case .slide_dot li {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 10px;
  max-height: 10px;
  border-radius: 50%;
  background-color: #dddddd;
}


#slide_case .slide_dot li a {
  display: block;
  width: 100%;
  height: 100%;
}

#slide_case .slide_dot li.active {
  background-color: #46b53e;
}

/* 方格區塊 */
#YF026 .background_gray_lite {
  background-color: #f5f5f7;
}

#YF026 .block_frame {
  width: 95%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
}

.MOBILE #YF026 .block_frame {
  width: 100%;
  margin-top: 10px;
}

#YF026 .block_box {
  width: 48.5%;
  height: auto;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 15px;
  margin-right: 1.5%;
  position: relative;
}

.MOBILE #YF026 .block_box {
  padding: 15px;
  margin-bottom: 10px;
}

#YF026 .block_box:nth-child(3),
#YF026 .block_box:nth-child(6),
#YF026 .block_box:nth-child(8),
#YF026 .block_box:nth-child(10) {
  margin-right: 0%;
}

/* 八卦襯底配圖 */
#YF026 .ph_bagua::after {
  content: '';
  display: block;
  width: 120px;
  height: 120px;
  background-image: url(../images/input/input_bagua.png);
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 2%;
  right: 0%;
  filter: brightness(1.1);
}

.MOBILE #YF026 .ph_bagua::after {
  width: 80px;
  height: 80px;
  top: -3%;
  right: 1%;
}

#YF026 .width_full {
  width: 100%;
  margin-right: 0%;
}

/* 編號標題區塊 */
#YF026 .block_titlebar {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-bottom: 10px;
  padding-bottom: 12px;
  position: relative;
}

#YF026 .block_titlebar li {
  margin-bottom: 5px;
}

#YF026 .block_titlebar li:last-child {
  margin-bottom: 0px;
}

#YF026 .block_titlebar::after {
  display: inline-block;
  content: "";
  width: 100%;
  border-bottom: 3px dotted #cccccc;
  position: absolute;
  bottom: 0%;
  left: 0%;
}

/* 圖式樣式 */
#YF026 .box_iconitem {
  width: 60px;
  height: auto;
  margin-right: 10px;
}

/* 編號樣式 */
#YF026 .block_titlebar span.box_number {
  width: 40px;
  height: 40px;
  background: #8D5600;
  background: linear-gradient(0deg, rgba(141, 86, 0, 1) 0%, rgba(208, 131, 0, 1) 50%, rgba(232, 191, 118, 1) 100%);
  border: 1px solid #a67b36;
  border-radius: 12px;
  box-shadow: inset 0px 0px 4px 1px #ffd9a0;
  font-size: 1.5rem;
  line-height: 40px;
  text-align: center;
  color: #ffffff;
  margin-right: 10px;
}

.MOBILE #YF026 .block_titlebar span.box_number {
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  line-height: 28px;
  border-radius: 10px;
  margin-right: 8px;
}

#YF026 .block_titlebar p.box_title {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  color: #333333;
}

.MOBILE #YF026 .block_titlebar p.box_title {
  font-size: 1.3rem;
}



#YF026 .color_lineapp {
  color: #06c755;
}

#YF026 .flex_align_center {
  align-items: center;
}

/* 內文區塊 */
#YF026 .block_box .box_info {
  width: 100%;
}

.PC #YF026 .block_box p.box_content {
  font-size: 1.1rem;
  font-weight: normal;
}

.MOBILE #YF026 .block_box p.box_content {
  font-size: 1rem;
  line-height: 1.5rem;
}

/* 品牌區塊控制寬度 */
.PC #YF026 #brand_block {
  max-width: 730px;
}

.PC .spacer_vertical_primary {
    height: 20px;
}
.MOBILE  .spacer_vertical_primary {
    height: 15px;
}


@media (max-max-width: 768px) {

  /* 當瀏覽器PC版換成 iPadMini 時控制主視覺底圖 */
  .PC #YF026.input_bg {
    background-image: url(../images/bg_input_ipad.jpg);
    background-color: #b41210;
    background-size: 100% auto;
  }

  .PC #YF026 .hero_input {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
  }

  .PC #YF026 .hero_input h1 {
    position: relative;
    width: 100%;
    aspect-ratio: 768 / 445;
    background: url(../images/hero_title_input_ipad.png) no-repeat top center;
    background-size: cover;
    margin: 0 auto;
    text-indent: -9999px;
  }
}