﻿@charset "utf-8";
@import url("all_shared.css");
@import url("calendar.css");
@import url("order.css");
/*@import url("order.css");
@import url("product_Robelf.css.css");
@import url("format.css");*/
:root {
  --btn-c: #e1523f;
  --btn-c-h: #ad3727;
  --btn-bo-c: #d34431;
  --btn-c-w: #fce8e5;
  --btn-c-w-h: #e5c1c1;
  --font: #231815;
  --table-title: #4a4a4a;
  --btn-h: #ad3727;
}
.event-card {
  animation: fadeUp 0.5s ease both;
}
.event-card:nth-child(1) { animation-delay: 0.2s; }
.event-card:nth-child(2) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
/*TOP回到最上面*/
.headerbox #TOP {
  position: absolute;
  top: -100px;
  padding-top: 25px;
  right: 0px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  z-index: 999;
}
.headerbox #TOP img {
  width: 100%;
  height: auto;
}

/*-----------header*/
.header {
  width: 100%;
  height: auto;
  z-index: 9999;
  border-bottom: 1px solid var(--btn-bo-c);
}
.header .headerbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  width: 100%;
  height: 70px;
  margin: 0 auto;
  position: relative;
}
.header .headerbox .logo {
  width: 100px;
  height: auto;
}
.header .headerbox .logo img {
  width: 100%;
  height: auto;
}
.header .headerbox .logotitle {
  display: flex;
  flex-wrap: wrap;
  font-size: 18px;
  color: var(--font);
  font-weight: bold;
  line-height: 125%;
  flex: 1;
}
.header .headerbox .topmenu {
  margin-left: auto;
}

.header .headerbox .topmenu #menu {
  list-style: none;
  flex: 0 0 auto;
}
ul#menu {
  display: flex;
  align-items: center;
  gap: 15px;
}
#menu li {
  position: relative;
}
#menu li a {
  display: inline-block;
  color: var(--font);
  text-decoration: none;
  font-size: 16px;
  padding: 20px 0;
}

#menu li a:hover {
  color: var(--btn-h);
}

#menu li > ul {
  margin: 0;
  z-index: 8000;
  line-height: 150%;
  list-style: none;
  position: absolute;
  top: 50px;
  left: 0px;
  width: 200%;
  height: auto;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  display: none;
}
#menu li ul li {
  float: left;
  display: block;
  width: 100%;
  padding: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 150%;
}
#menu li ul li:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
#menu li ul li a {
  display: block;
  color: #fff;
  width: 100%;
  padding: 10px;
  line-height: 140%;
  font-size: 105%;
  text-decoration: none;
  font-weight: normal;
}
#menu li ul li a:hover {
  text-decoration: none;
  background-color: var(--btn-c-h);
  color: #fff;
}
#menu .iconbox {
  border-radius: 50px;
  border: 1px #f5f5f5 solid;
  background: #f5f5f5;
  margin-left: 25px;
  margin-top: -3px;
}
#menu li .icon {
  background: url(../frontimages/buy-icon-05.png) no-repeat left center;
  background-size: 19px 17px;
  padding-left: 25px;
  margin: 2px 2px 2px 10px;
}
#menu .iconbox:hover {
  border: 1px #bfbfbf solid;
}
/*header-----------end*/

/*adv*/
.adv {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0px auto;
}
.adv .ADVbox {
  width: 1350px;
  height: auto;
  overflow: hidden;
  margin: 0px auto;
}
.adv .ADVbox img {
  width: 100%;
  height: auto;
}
.adv .ADVbox .bannerbox {
  font: 14px/24px sans-serif;
  margin: 0px auto;
  text-align: center;
  color: rgb(51, 51, 51);
  width: 100%;
  max-width: 1350px;
  height: auto;
  overflow: hidden;
  font-size-adjust: none;
  font-stretch: normal;
  _width: 100%;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.article {
  width: 100%;
  height: auto;
  margin: 0 auto;
      min-height: calc(100vh - 70px - 192px - 50px);
  overflow: hidden;
}
.article .articlebox {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  padding: 20px 0 40px 0;
  overflow: hidden;
}

/*login*/
.loginbox {
  width: 35%;
  min-width: 300px;
  height: auto;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0px 6px 20px rgba(134, 46, 46, 0.2);
  border-radius: 20px;
  padding: 30px 40px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeUp 0.5s ease both;
}

.articlebox .loginbox > .main_title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 150%;
  color: #4a4a4a;
  font-weight: bold;
  vertical-align: middle;
  text-align: center;
  margin: 0;
}

.articlebox .loginbox > .main_title img {
  display: inline-block;
  width: 20px;
  margin: 0;
  padding: 0;
}
.loginbox > .password {
  display: block;
  width: 100%;
  height: auto;
  font-size: 150%;
  color: #4a4a4a;
  font-weight: bold;
  vertical-align: middle;
  text-align: center;
}
.loginbox > .password img {
  display: block;
  width: 70px;
  height: auto;
  margin: 0 auto 10px auto;
  text-align: center;
}

.loginbox .boxin {
  width: 100%;
  height: auto;
  margin: auto;
      display: flex;
    flex-direction: column;
    gap: 10px;
}
.loginbox .boxin .text_input {
  width: 100%;
  height: auto;
  border-radius: 5px;
  padding: 8px;
  font-size: 16px;
  border: 1px solid #d0d0d0;
  color: #4b4b4b;
  margin: auto;
}
.loginbox .boxin .text_input2 {
  width: 50%;
  height: auto;
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ededed;
  color: #4b4b4b;
}

.buttonbox.box-2{
    display: flex;
    gap: 10px;
}
.loginbox .btn_OK,
.loginbox .btn_clean,
.loginbox .btn_join,
.loginbox .btn_forget {
  color: #fff;
  width: calc(100% / 2 - 2px);
  height: 44px;
  line-height: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  margin: auto;
  background: var(--btn-c);
  border: 1px solid var(--btn-bo-c);
}

.loginbox .btn_OK:hover,
.loginbox .btn_clean:hover,
.loginbox .btn_join:hover,
.loginbox .btn_forget:hover {
  background: var(--btn-c-h);
}
.loginbox .btn_OK{
    width: 100%;
}
.loginbox .btn_forget {
  background: #dcdcdc;
  border: 1px solid #b6b6b6;
  color: #6f6f6f;
}
.loginbox .btn_forget:hover{
     background: #c5c5c5;
}
.loginbox .btn_join {
  background: #4e57a8;
}
.loginbox .btn_clean {
  color: #ac6056;
  background-color: var(--btn-c-w);
  border: 1px solid var(--btn-c-w-h);
  &:hover {
    background-color: var(--btn-c-w-h);
  }
}
.loginbox .buttonbox.line {
  border-top: 1px solid #999;
  padding-top: 10px;
}

.loginbox .boxin h3 {
  width: 100%;
  font-size: 120%;
  text-align: center;
  color: #434343;
  font-weight: normal;
}
/*footer*/
.footer {
  width: 100%;
  height: auto;
  margin: auto;
  background: var(--btn-c-h);
}
.footer .footerbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: auto;
  padding: 30px 0;
}

.footer-logo {
  display: flex;
  gap: 5px;
  height: auto;
  vertical-align: middle;
  flex-direction: column;
  align-items: center;
}
.footer-logo span {
  margin-left: 5px;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  vertical-align: middle;
}
.footer-logo img {
  height: 60px;
  vertical-align: middle;
}
.footerbox p {
  font-size: 100%;
  color: #fff;
}
.netdoing a {
  background-color: #ffffff1d;
  color: #ffffff;
  margin-left: 5px;
  padding: 3px 6px;
  border-radius: 6px;
}
/*.footerbox .footer_btn{ float:left; width:25%; height:auto; margin:5px 0; text-align:right;}
.footerbox .footer_btn a{ display:inline-block; margin:0 5px; color:#fff;} */

.titlebox {
  width: 100%;
  height: auto;
  margin: 10px auto;
  text-align: center;
  overflow: hidden;
}

/*article-----------------------*/
/*link-----------------------*/
.bottomfont {
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(239, 239, 239, 1);
  padding: 15px 0;
}
.bottomfont p {
  text-align: center;
  font-size: 100%;
  color: #616161;
}

/*列表----------*/
.table_box1 {
  width: 100%;
  height: auto;
  margin: 10px auto;
}
.table_box1 #css_table .line {
  background: var(--btn-c-h);
}
.table_box1 #css_table .box01 {
  width: 100px;
}
.table_box1 #css_table .box02 {
  width: auto;
}
.table_box1 #css_table .box03 {
  width: 5px;
}
.table_box1 #css_table .box04 {
  width: auto;
}
.table_box1 #css_table .box05 {
  width: 60px;
}
.table_box1 #css_table button {
  width: 50px;
  height: 25px;
  background: #ec9c52;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
}
.table_box1 #css_table button:hover {
  background: #dd7826;
}
.table_box1 #css_table .box02 a {
  text-decoration: none;
  color: #6e5334;
  font-weight: bold;
}
.table_box1 #css_table .box02 a:hover {
  text-decoration: none;
  color: #4f3e2b;
  font-weight: bold;
}
.table_box1 #css_table .btn_cancel {
  color: #005b8e;
}
.table_box1 #css_table .btn_cancel:hover {
  color: #d11919;
}

.prelessonmain_tablist {
  width: 100%;
  height: auto;
  margin: 20px auto;
  overflow: hidden;
  font-size: 110%;
  line-height: 150%;
}
.classname {
  position: relative;
  font-size: 110%;
  color: #fff;
  display: block;
  background: var(--btn-c-h);
  padding: 10px 20px;
  margin: 0 auto;
}
.prelessonmain_tablist #css_table_01 .box01 {
  width: 100%;
  float: left;
}
.prelessonmain_tablist #css_table_01 .box02 {
  width: 100%;
  float: left;
}
.prelessonmain_tablist #css_table_01 .box03 {
  width: 100%;
  float: left;
}
.prelessonmain_tablist #css_table_01 .box04 {
  width: 100%;
  float: left;
}
#css_table_01 {
  background-color: #fff;
  text-align: left;
}
#css_table_01 .css_tr {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 4px;
  background: #ffffff;
  border: 1px solid #ddd;
}
#css_table_01 .css_tr:nth-child(odd) {
  background-color: #fff;
  .display: block;
}
#css_table_01 .css_td {
  display: inline-block;
  border-bottom: #ddd 1px solid;
  width: 100%;
  text-align: left;
  padding: 10px 0%;
}
#css_table_01 .line {
  /*標題底色*/
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
}
#css_table_01 .css_tr .css_td h1 {
  font-size: 100%;
  color: #000;
  margin: 0px;
}
#css_table_01 .title {
  .display: block;
  color: #0277bd;
  font-size: 87.5%;
}
#css_table_01 .css_td b {
  color: #2b2b2b;
  display: inline-block;
  .display: inline;
  padding-right: 5px;
  text-align: right;
  font-weight: bold;
}
#css_table_01 .css_td b:after {
  content: ":";
}
#css_table_01 .css_td a.link {
  color: #ff8a00;
}
#css_table_01 .css_td a img {
  vertical-align: middle;
  border: 0;
}
#css_table_01 .line {
  background-color: #000;
}
#css_table_01 .css_td b {
  width: 250px;
  vertical-align: top;
  font-size: 120%;
}
#css_table_01 .css_td .spanbox {
  width: auto;
  display: inline-block;
  min-height: 25px;
  padding-left: 10px;
  font-size: 120%;
}
#css_table_01 .css_td i {
  font-style: normal;
  font-size: 80%;
  color: rgba(0, 0, 0, 0.6);
}

/* == 手機版型區 =============================== */
@media screen and (max-width: 767px) {
  body {
    min-width: 320px;
    -webkit-text-size-adjust: none;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif !important;
  }

  .header {
    width: 100%;
    height: auto;
  }

  .header .headerbox {
    width: 100%;
    gap: 5px;
    height: 60px;
  }
  .header .headerbox .logo {
    width: 80px;
    height: auto;
  }
  .header .headerbox .logotitle {
    flex-direction: column;
    font-size: 14px;
    line-height: 125%;
  }
  .header .headerbox .topmenu {
    display: none;
  }

  .article {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;    min-height:auto;
  }
  .article .articlebox {
    margin: 0px auto;
    width: 100%;
    height: auto;
    padding: 10px 0;
    overflow: hidden;
    
  }

  /*-------------------------------------------*/
  /*footer*/
  .footer {
    width: 100%;
    margin: 0 auto;
    clear: both;
    z-index: 99999;
  }
  .footer .footerbox {
    margin: 0px auto;
    overflow: hidden;
    position: relative;
  }

  .footer-logo {
    width: 100%;
    height: auto;
  }
  .footer-logo span {
    text-align: center;
    b{
        display: inline-block;
        width: auto;
    }
  }
  .netdoing a {
    display: inline-block;
  }
  .footer-logo img {
   
  }
  .footerbox p {
         text-align: center;
  }

  .footerbox .footer_btn {
    float: left;
    width: 50%;
    height: auto;
    margin: 5px 0;
    text-align: right;
    position: absolute;
    top: 10px;
    right: 0;
  }
  .footerbox .footer_btn a {
    display: inline-block;
    margin: 0 5px;
    color: #fff;
  }
  /*header---------------------*/

  /*adv*/
  .titlebox .news_title {
    font-size: 150%;
    color: #4b4b4b;
  }

  .adv {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
  }
  .adv .ADVbox {
    width: 100%;
    height: auto;
    margin: 0px auto;
  }
  .adv .ADVbox img {
    width: 100%;
    height: auto;
  }

  /*login*/


  /*link-----------------------*/
  .bottomfont {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(239, 239, 239, 1);
  }

  /*列表----------*/
  .table_box1 {
    clear: both;
    width: 96%;
    height: auto;
    margin: 15px auto;
    border: 0px solid #eee;
  }
  .table_box1 #css_table .line {
    background-color: #000;
  }
  .table_box1 #css_table .box01 {
    width: 100%;
    float: left;
  }
  .table_box1 #css_table .box02 {
    width: 100%;
    float: left;
  }
  .table_box1 #css_table .box03 {
    width: 100%;
    float: left;
  }
  .table_box1 #css_table .box04 {
    width: 100%;
    float: left;
  }
  .table_box1 #css_table .box05 {
    width: 100%;
    float: left;
  }
  .table_box1 #css_table .css_td b {
    width: 70px;
    text-align: right;
    font-size: 105%;
  }
  .table_box1 #css_table .css_tr {
    padding: 10px 0;
  }
  .table_box1 #css_table .box02 a {
    text-decoration: none;
    font-weight: bold;
  }
  .table_box1 #css_table .box02 a:hover {
    text-decoration: none;
    font-weight: bold;
  }
  .table_box1 #css_table .box03 a {
    text-decoration: none;
    font-weight: bold;
  }
  .table_box1 #css_table .box03 a:hover {
    text-decoration: none;
    font-weight: bold;
  }

  /*預約課程prelessonmain*/
  .prelessonmain_tablist {
    width: 96%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    font-size: 100%;
    line-height: 150%;
  }
  .classname {
    position: relative;
    font-size: 115%;
    color: #fff;
    display: block;
    padding: 8px 10px;
  }
  #css_table_01 {
    background-color: transparent;
    text-align: left;
  }
  #css_table_01 .css_tr {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 0px;
    background: #ffffff;
  }
  #css_table_01 .css_tr:nth-child(odd) {
    background-color: #fff;
    .display: block;
  }
  #css_table_01 .css_td {
    display: inline-block;
    border-bottom: #ddd 1px solid;
    width: 100%;
    text-align: left;
    padding: 10px 2%;
  }
  #css_table_01 .line {
    /*標題底色*/
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
  }
  #css_table_01 .css_tr .css_td h1 {
    font-size: 110%;
    color: #000;
    margin: 0px;
  }
  #css_table_01 .title {
    .display: block;
    color: #0277bd;
    font-size: 87.5%;
  }
  #css_table_01 .css_td b {
    display: inline-block;
    padding-right: 0px;
    text-align: right;
    font-weight: bold;
    width: 90px;
    vertical-align: top;
  }
  #css_table_01 .css_td b:after {
    content: ":";
  }
  #css_table_01 .css_td a img {
    vertical-align: middle;
    border: 0;
  }
  #css_table_01 .css_td .spanbox {
    width: auto;
    display: inline-block;
    min-height: auto;
    padding-left: 15px;
  }
  #css_table_01 .css_td i {
    font-style: normal;
    font-size: 80%;
    color: rgba(0, 0, 0, 0.6);
  }
}
/* == 平板版型區 =============================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /*-----------header*/
  .header {
    width: 100%;
    height: auto;
  }

  .header .headerbox .topmenu {
    display: none;
  }

  .article {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
            /* min-height: calc(100vh - 70px - 164px - 50px); */
  }
  .article .articlebox {
    margin: 0px auto;
    width: 96%;
    height: auto;
    overflow: hidden;
  }

  .main_title {
    display: block;
    width: 94%;
    height: auto;
    margin: 0 auto;
    font-size: 150%;
    color: #4a4a4a;
    font-weight: bold;
    vertical-align: middle;
  }
  .main_title img {
    width: 45px auto;
    vertical-align: middle;
    padding-right: 10px;
  }
  /*header---------------------*/
  /*adv*/
  .adv {
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: transparent;
  }
  .adv .ADVbox {
    width: 100%;
    height: auto;
    margin: 0px auto;
  }
  .adv .ADVbox img {
    width: 100%;
    height: auto;
  }
  .titlebox .news_title {
    color: #4b4b4b;
  }

  /*-article--*/

  /*login*/
  
  /*footer*/
  .footer {
    width: 100%;
    height: auto;
    margin: 0 auto;
    clear: both;
    z-index: 99999;
  }
  .footer .footerbox {
    width: 100%;
    height: auto;
    text-align: center;
    margin: 0 auto;
    overflow: hidden;
  }

  .footer-logo {
    width: 100%;
    height: auto;
    text-align: center;
    vertical-align: middle;
  }
  .footer-logo span {
    margin-left: 5px;
    font-size: 140%;
    color: #fff;
    font-weight: bold;
    vertical-align: middle;
  }

  .footerbox p {
    width: 100%;
    height: auto;
    font-size: 100%;
  }

  .footerbox .footer_btn {
    float: left;
    width: 25%;
    height: auto;
    margin: 5px 0;
    text-align: right;
  }
  .footerbox .footer_btn a {
    display: inline-block;
    margin: 0 5px;
    color: #fff;
  }

  /*link-----------------------*/
  .bottomfont {
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    background: rgba(239, 239, 239, 1);
  }

  /*article-----------------------*/

  /*列表----------*/
  .table_box1 {
    width: 100%;
    height: auto;
    margin: 15px auto;
  }
  .table_box1 #css_table .line {
  }
  .table_box1 #css_table .box01 {
    width: 90px;
  }
  .table_box1 #css_table .box02 {
    width: auto;
  }
  .table_box1 #css_table .box03 {
    width: 5px;
  }
  .table_box1 #css_table .box04 {
    width: 120px;
  }
  .table_box1 #css_table .box05 {
    width: 60px;
  }
  .table_box1 #css_table button {
    width: 50px;
    height: 25px;
    background: #ec9c52;
    color: #ffffff;
    border: 0;
    border-radius: 5px;
  }
}
