body a {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -o-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
input[type="button"] {
  transition: 0.5s all;
  -webkit-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -o-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
h1, h2, h3, h4, h5, h6 {
  padding: 0 0;
  margin: 0 0;
}
p {
  margin: 0;
  padding: 0;
}
ul {
  padding: 0 0;
  margin: 0 0;
  list-style: none;
}
a {
  color: #333;
}
a:link {
  color: #333;
}
a:visited {
  color: #333;
}
a:hover {
  color: #ea5420;
}
a:active {
  color: #333;
}
html {
  font-size: 0.825em;
}
body {
  padding: 0 0;
  margin: 0 0;
  font-family: "微軟正黑體", "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Heiti TC", "思源黑體", "Microsoft JhengHei", "Noto Sans T Chinese", "Droid Sans Fallback", sans-serif;
  font-size: 1.1em;
  color: #494949;
}
:focus {
  outline: 2px solid #26ad89 !important;
  background: #ffa600 !important;
  -moz-outline-style: 2px solid #26ad89 !important;
}
/*====== 最外框 ======*/
div {
  display: block;
}
.w1200 {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}
.case_box {}
.case_box h3 {
  color: #081232;
  font-weight: normal;
  font-size: 3.2rem;
  padding-top: 80px;
  padding-bottom: 60px;
  text-align: center;
}
.case_box .category ul {
  padding: 0;
  margin: 0 auto;
  display: flex;
  height: auto;
  overflow: hidden;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  align-content: stretch;
  margin-bottom: 5rem;
}
.case_box .category ul li {
  font-size: 1.6rem;
  text-align: center;
  width: 19.4%;
  line-height: 200%;
  font-weight: 600;
  color: #746b61;
  cursor: pointer;
  border-bottom: 1px#746b6152 dashed;
  border-right: 1px #746b6152 dashed;
  background: #fff;
  margin: .25%;
}
.case_box .category ul li:nth-child(5n) {
  border-right: none;
}
.case_box .category ul li.active {
  color: #fff;
  background: #967249;
}
.case_box .content {}
.case_box .content .cont {
  height: 650px;
  display: none;
}
.case_box .content .cont.active {
  display: block;
}
.case_box .content .cont img.bg {
  position: absolute;
  border: 1px solid #E3E3E3;
  right: 0;
  top: 0;
  max-width: 740px;
}
/*連結至大圖案紐*/
.case_box .content .enlarge {
  position: absolute;
  right: 0;
  top: 0;
  margin-bottom: -20%;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: #63bd5c;
  color: #fff;
  border-radius: 3px;
}
.case_box .content .enlarge:hover {
  background: #56b14f;
}
/*== 內容介紹區 ===*/
.case_box .content .cont .info {
  position: absolute;
  width: 520px;
  height: auto;
  /* height: 400px; */
  background: #fff;
  box-shadow: 0px 0px 70px rgba(157, 179, 208, 0.4);
  left: 0;
  top: 50px;
  /* top: 120px; */
  padding: 30px 40px 30px;
  border-radius: 10px;
}
.case_box .content .cont .info .title {
  position: relative;
  margin-bottom: 2rem;
}
/*iocn小圖片*/
.case_box .content .cont .info .title .logo {
  float: left;
  padding-right: 25px;
}
.case_box .content .cont .info .title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28%;
  height: 19px;
  background: #87b78d80;
}
/*城市標題*/
.case_box .content .cont .info .title h4 {
  font-size: 2rem;
  color: #081232;
  z-index: 1;
  position: relative;
  padding: 0 2rem;
}
.case_box .content .cont .info p {
  /* font-size: 1.4rem; */
  font-size: 1.2rem;
  line-height: 32px;
  padding: 0.25rem 1rem;
  color: #3d3d3d;
  position: relative;
}
.case_box .content .cont .info p::after {
  position: absolute;
  content: "";
  display: inline-block;
  background: #927453;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
  width: 8px;
  height: 10px;
  left: 0;
  top: 14px;
}
.case_box .content .cont .info ol {
  padding: 0 0 0 2.5rem;
  margin: 0 0 .5rem 0;
}
.case_box .content .cont .info ol li {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

@media only screen and (max-width:1180px) {
.w1200 {
    width: 100%;
    margin: 0 auto;
}

}


@media only screen and (max-width:1024px) {

.case_box .content .cont .info {
    /* width: 340px; */
    width: 95%;
    /* height: 580px; */
    height: auto;
  }
  .case_box .content .cont .info {
    top: 820px;
  }

  .case_box .content .cont img.bg {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* right: 12%; */
  }

  .case_box .category ul {
    margin-bottom: 3rem;
  }
}
@media only screen and (max-width:820px) {

.case_box{
    display: flex;
    /* flex-direction: row; */
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}


/*選單*/
.case_box .category{
  /* order: 2; */
    /* width: 28%; */
    width: 60%;
    /* margin: 0 a 0 2%; */
    margin: 0 auto 0 auto;
}

.case_box .category ul{
 margin-bottom: 1rem;
}

.case_box .content .cont.active {
   padding: 0;
    width: 100%;
}

.case_box .category ul li {
    width: 100%;
    font-size: 1.4rem;
    border-right: none!important;
}


/*圖文*/
.case_box .content {
    order: 1;
}
.case_box .content .cont img.bg{
  position: relative;
  width: 100%;
}

.case_box .content .cont .info{
 position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 2rem;
    top: -50px;
    border: 2px #82ae71 dashed;
    height: auto;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
}


}



@media only screen and (max-width:568px) {


.case_box .content .cont .info {
width: 90%;
    padding: 0.5rem;
    top: -25px;
}

.case_box .content .cont .info .title {
    margin-bottom: .5rem;
}
.case_box .content .cont .info .title h4 {
    font-size: 1.6rem;
    text-align: center;
}
.case_box .content .cont .info .title:after {
    width: 100%;
  }

.case_box .content .cont .info p{
  padding: .5rem 0 .5rem .8rem;
  line-height: 145%;
}


}

@media print {
  .case_box{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }


  /*選單*/
  .case_box .category{
    order: 2;
      width: 28%;
      margin: 0 0 0 2%;
  }

  .case_box .category ul{
  margin-bottom: 1rem;
  }

  .case_box .content .cont.active {
    padding: 0;
      width: 100%;
  }

  .case_box .category ul li {
      width: 100%;
      font-size: 1.4rem;
      border-right: none!important;
  }


  /*圖文*/
  .case_box .content {
      order: 1;
  }
  .case_box .content .cont img.bg{
    position: relative;
    width: 100%;
  }

  .case_box .content .cont .info{
  position: relative;
      width: 80%;
      margin: 0 auto;
      padding: 2rem;
      top: -50px;
      border: 2px #82ae71 dashed;
      height: auto;
      box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 3px 0px;
  }
}