*{padding: 0;margin: 0;}
body{
  background:url(../img/bg01_01.png) repeat-x,
            url(../img/bg01_02.png) repeat-x left bottom fixed,
            linear-gradient(45deg,#ffddde,#ffe7c8,#e9ffdd,#fcffe4,#cffffb,#f3e4ff) fixed;
  background-size: calc((100% - 250px) /3),30%,auto;
  font-family: "Flaticon","Font Awesome 5 Free",'Bad Script',Verdana,'Microsoft JhengHei',sans-serif;
  font-size: 16px;
  }

section{
  min-height:calc(100vh - 40px);
  padding: 20px;
}
section:nth-child(1) h2{
  color: #7c033c;
}
section:nth-child(2) h2{
  background-position: 0 -120px;
  color: #7c3903;
}
section:nth-child(3) h2{
  background-position: 0 -240px;
  color: #230f7c;
}
section:nth-child(4) h2{
  background-position: 0 -360px;
  color: #5a037c;
}
h2{
  background: url(../img/h2.png);
    /*
    width: 420px;
    height:120px;
  */
  width: 300px;
  height:95px;
  font-size: 26px;
  line-height: 70px;
  padding-left: 120px;
  padding-top: 25px;
  text-align: center;
  letter-spacing: 10px;
  margin: 20px;
  filter: drop-shadow(1px 1px 0px #000);
}
h3{
  font-size: 22px;
  color: #7c033c;
  text-align: center;
  line-height: 80px;
}
h4{
  font-size: 20px;
  line-height: 40px;
  color: #090453;
}
h4:before{
  content:"";
  width: 30px; height: 30px;
  background: url(../img/icon01.png) no-repeat center center;
  background-size: contain;
  display: inline-block;
  vertical-align:middle;
  transform: rotate(15deg);
}
p{
  text-indent: 32px;
  padding: 5px 0;
}
#content{
  padding-right: 250px;
}
/* aside 側邊==================== */
aside{
  width: 250px;
  background: #eed182;
  height: 100%;
  box-shadow: -1px 0 3px #000;
  position: fixed;
  right: 0;
}
#logo{
  width: 180px; height: 180px;
  background: url(../img/logo.svg) no-repeat;
  filter: drop-shadow(0 0 2px #000);
  margin-top: 50px;
  margin-left: 50%; transform: translateX(-50%);
  transition: all .5s;
}
#logo:hover{
  transform:translateX(-50%) rotate(5deg);
}
#logo a{
  width: 100%; height: 100%;
  display: block;
  text-indent: 100%;  white-space: nowrap;  overflow: hidden;
}
nav{
  padding-top: 50px;
}
nav a{
  font-size: 18px;
  padding-left: 20px;
  line-height: 40px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #918259;
  color: #6d5f37;
  font-weight: bold;
  transition: all .5s;
  position: relative;
}
nav a:before{padding-right: 10px;}
nav a:nth-child(1):before{content: "\f100";}
nav a:nth-child(2):before{content: "\f102";}
nav a:nth-child(3):before{content: "\f105";}
nav a:nth-child(4):before{content: "\f106";}
nav a:hover{
  background: #6d5f37;
  color: #fff;
  padding-left: 40px;
}
nav a:hover:after{
  content: "";
  width: 0px;
  height: 0px;
  border-top: 10px solid transparent ;
  border-right: 10px solid  transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid;
  position: absolute;
  left:10px;
  top: 10px;
}
/* header區 social ============*/
#social{
  list-style-type: none;
  background: url(../img/social_bg.png) no-repeat;
  width: 200px;
  height: 70px;
  padding-left: 20px;
  position: fixed; top: 0; right: 250px; z-index: 99;
}
#social li{
  background: green;
  width: 50px;
  height: 70px;
  float: left;
  margin-right: 5px;
}
#social li a{
  width: 100%;
  height: 100%;
  display: block;
  /* a文字隱藏的方法2：建議作法 */
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
#social #social1{ background: url(../img/social1.png);}
#social #social1:hover{ background: url(../img/social1_hover.png);}
#social #social2{ background: url(../img/social2.png);}
#social #social2:hover{ background: url(../img/social2_hover.png);}
#social #social3{ background: url(../img/social3.png);}
#social #social3:hover{ background: url(../img/social3_hover.png);}
/* section1 商品櫥窗 =============*/
.photoAll{
  /* overflow: hidden; */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.photoblock{
  /* background: url(../img/photoBlock.svg); */
  width:190px;
  height: 200px;
  position: relative;
  padding-top: 30px;
  padding-left: 15px;
  /* float: left; */
  margin: 20px;
  cursor: pointer;
}
.photoblock:before{
  content: "";
  width: 100%; height: 100%;
  background: url(../img/photoBlock.svg)  no-repeat ;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
}
.photoblock img{
  width: 170px;
  transform: rotate(5deg);
}
.photoblock .face{
  background: url(../img/face01.png);
  background-size: contain;
  width: 80px; height: 80px;
  position: absolute;
  right: 0; bottom: 0;
  z-index: 2;
  transition: all .2s;
 
}
.photoblock:hover .face{
  background: url(../img/face02.png);
  background-size: contain;
}
/* section2 蛋糕小秘訣 =============*/
#caketips{
  background: url(../img/bg06.png) #faf5b2;
  background-size: 10%,auto;
}
#caketips>div{
    background: #fff;
    padding: 20px;
    /* margin-top: 10px; */
    border-radius: 20px;
    box-shadow:0 0  10px #000;
}
.cakeblock{
  overflow: hidden;
}
.cakeblock>div{
  float: left;
  width: calc(100%/4);
}
.cakeblock img{
  width: 100%; height: auto;
}
.cakeblock p{
  text-align: center;
  font-weight: bold;
  color: #5f052d;
  text-indent: 0;
}
/* section3 影片分享 =============*/
#movie{
  background: url(../img/bg04.jpg) center center fixed;
  background-size: cover;
}
.movieAll{
  display: flex;
  width: 80%;
  margin: auto;
  transform: rotate(-3deg);
  margin-bottom: 50px;
}
.movieL{
  flex: 3;
}
.movieR{
  flex: 1;
}
.movieR img{
  width: 100%;
  height: auto;
  display: block;
}
/* section4 門市位置 =============*/
#map{
  background:repeating-linear-gradient(45deg, #ffd0df 0px, #ffd0df 5px,#faf8de 5px,#faf8de 10px);
}
iframe {
  margin: auto;
  display: block;
  border: 1px solid #333;
}