@charset "UTF-8";
/* CSS Document */
/* 若有想寫新的 css 寫在此 */
.bg01{position: relative; }
.bg03{padding: 50px 0 0; }
.maintop{width: 1240px;position: relative;margin: 50px auto 0; height: 480px; }
.mainKv{max-width: 1240px; margin: 0 auto; position: relative;}
.event_01{position: absolute;top:102px;left: 220px;}
.event_02{position: absolute;top:340px;left: 300px;}
.event_03{position: absolute;bottom: 0px;left: 110px;}
.event_04{position: absolute;bottom: 29px;right: 281px;}

.personage{width: 1240px; margin: 0 auto; position: relative; padding: 140px 0 0 74px;}
.introduction_section{width: 1050px; margin: 0;padding: 60px; background-color: #FFFFFF; }
.introduction.title{font-size: 34px; color: #0e0b0a;padding: 0 0 32px;letter-spacing: 0;}
.introduction.title span{display: inline-block; background-color: #0e0b0a; width: 10px;height: 36px;margin: 0 10px -4px 0;}

.introduction{width: 640px; font-size: 16px; line-height: 33px;}
.introduction.con {min-height: 370px;}
.mainbook img {margin: 0 20px; max-width: 250px; }
.mainbook { margin-left: 20px; float: right;}
.mainbook.even { float: left;margin-right: 20px; }

.personage_img{position: absolute; top: 40px; right: 85px;}
.introduction_section.even{margin: 0 0 0 40px;padding: 60px 0 60px 356px;}
.personage_img.even{right: 0px; left: 52px;}

.ai_section{width: 1240px; margin: 0 auto; display: flex; padding: 76px 70px 42px;}
.ai_video {
    width: 456px;
    border-radius: 38px;
    padding: 0;
    background: white;
    overflow: hidden;
	margin: 20px 8px;
}
.ai_video .title {
    background: #c32138;
    padding: 26px 0 30px;
    font-size: 30px;
    color: white;
    line-height: 30px;
    display: flex;
    justify-content: center;
}
.ai_video .title {
    background: #c32138;
    padding: 26px 0 30px;
    font-size: 30px;
    color: white;
    line-height: 30px;
    display: flex;
    justify-content: center;
}.ai_video .title {
    background: #c32138;
    padding: 26px 0 30px;
    font-size: 30px;
    color: white;
    line-height: 30px;
    display: flex;
    justify-content: center;
}.ai_video .title {
    background: #c32138;
    padding: 26px 0 30px;
    font-size: 30px;
    color: white;
    line-height: 30px;
    display: flex;
    justify-content: center;
}.ai_video .title {
    background: #c32138;
    padding: 26px 0 30px;
    font-size: 30px;
    color: white;
    text-align: center;
    line-height: 26px;
}
.playicon {
    display: inline-block;
    margin: 4px 0 0 7px;
}
.video {
    width: 80%;
    margin: 22px auto 30px;
}
.video_container {
    position: relative;
  width: 100%;
  padding-bottom: 177.77%;
  height: 0;
  overflow: hidden;
}
.video_container iframe{
	position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	border: none;
}

.reward_section{width: 1240px; margin: 0 auto; display: flex;justify-content: space-evenly;padding: 20px 30px 30px;}
.reward{position: relative;}

.openBtn {
    position: absolute;
    font-size: 16px;
    color: #e7dbc8;
    bottom: 74px;
    text-decoration: underline;
    left: 84px;
    background: none;
}

.openBtn:focus{outline: none;}
.openBtn:hover{color:white;text-shadow: 0px 6px 6px rgba(0,0,0,0.6);}

.hidden {
  display: none;
}

#popup1, #popup2 {
    position: fixed;
    top: 36%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 0 16px rgba(0,0,0,0.6);
    z-index: 1000;
    padding: 12px 12px 6px;
}

.popup-content {
  padding: 20px 18px;
  position: relative;
}

.closeBtn {
    position: absolute;
    top: -4px;
    right: 1px;
    cursor: pointer;
    font-size: 16px;
    color: #7a444a;
}

.popup-content p {
    font-size: 13px;
    line-height: 22px;
}

.section_bg{margin: 0 auto 40px;}
.category{max-width: 1240px; margin: 0 auto; position: relative;}

/*名人列表*/

.container {
  display:grid;
  grid-template-columns: repeat(8, 1fr); /* 八欄等分 */
  gap: 10px;
}

.container > div {
   margin: 0px; 
}

.avatar {
  display: inline-block;
  width: 115px; height: 115px;
  text-align: center;
  text-decoration: none; /* 移除底線 */
  color: inherit;        /* 文字跟隨父元素顏色 */
 margin: 20px 0;	
}

.avatar img {
  width: 100%;
  height:auto;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #818a7d;
}

.avatar .name {
  color: #FFF;
  font-size: 120%;
 margin-top: 5px;
}

/*名人列表//END*/

.bookHashtag{width: 1220px; background: #415c48; border-radius: 0 0 20px 20px;margin: 0 auto;}

.partner {
    width: 1220px;
    margin: 56px auto;
    display: flex;
    background: white;
    border-radius: 20px;
    padding: 16px;
    justify-content: space-evenly;
    align-items: center;
}
.partner .title{color: black;}
.partner .title span{display: inline-block; background-color: #0e0b0a; width: 3px;height: 20px;margin: 0 10px -4px 0;}


@media screen and (max-width: 960px) {

.container {
  display:grid;
  grid-template-columns: repeat(4, 1fr); /* 八欄等分 */
  gap: 5px;
}
	
.container > div {
   margin: 0px; padding: 0px;
}
	
.avatar img {
  border: 3px solid #818a7d;
}

.avatar .name {
 margin-top: 0px;
}
	
.introduction.con { }
.introduction.con-img-right { }
.introduction.con-img-left {}

.mainbook { margin: 0 auto; float:none; }
.mainbook img { width: 90%;}
.mainbook.even { float:none ;margin:0; }
	
.category {
    width: 145%;
    overflow: hidden;
    margin-left: 0%;
}
	.category img{width: 100%; margin-left: -23vw;}
	
	.maintop{width: 100%; height: 106vw;margin: 0 auto;}
	.mainKv img {max-width:100%;height:auto !important;}
	.personage{width: 100%;padding: 34vw 2.7vw 1vw;}
	.introduction_section{width: 100%;padding: 31vw 8vw 0 8vw;}
	.personage_img{top:2vw;right: 0vw;}
	.personage_img.even{top:2vw;right: 0vw;left: 0vw;}
	.introduction.title{font-size: 5vw; padding: 0 0 2vw;}
	.introduction.title span {
    height: 5.5vw;
    width: 1vw;
}
	.introduction {
    width: 100%;
    font-size: 4vw;
    line-height: 7vw;
}
	.introduction_section.even{
		margin: 0 0 0 0vw;
		padding: 31vw 6vw 0 6vw;
	}
	
	.ai_section {
    width: 100%;
    padding: 12vw 4vw 0vw;
    flex-direction: column;
}
	.ai_video {
    width: 100%;
    border-radius: 5vw;
    margin: 2vw 0 0;
}
	.ai_video .title {
    padding: 3vw 0vw 3vw;
    font-size: 5vw;
}
	.playicon {
    width: 5vw;
    margin: 1vw 0 0 2vw;
}
	.video{
		width: 90%;
	}

	.reward_section{
		width: 100%;flex-wrap: wrap;padding: 0 6vw 0;
	}
	.reward{
		width: 50%;padding: 2vw;
	}
	.openBtn {
    font-size: 3vw;
    bottom: 12vw;
    left: 12vw;
}
	.bookcase_container{
		width: 100%;
		margin: 2vw 0 0;
	}
	.arrow{
		width: 5vw;
		height: 5vw;
		font-size: 3vw;
	}
	.arrow-left{
		left: 1vw;
	}
	.arrow-right{
		right: 1vw;
	}
	.bookcase_item{
		flex: 0 0 50%;
		padding: 1vw 2vw;
	}
	.bookcase_card {
    height: 24vw;
    background-size: contain;
}
	.avatar {
    width: 20vw;
    height: 20vw;
}
	.info{
		padding: 5vw 0;
	}
	.title{
		font-size: 3vw;
		letter-spacing: 0.5vw;
	}
	.bookcase_card .name {
    font-size: 4vw;
    margin: 1vw 0;
    height: auto;
}
	.bookHashtag{width: 100%;}
	.partner {
    width: 90%;
    justify-content: center;
    padding: 3vw 5vw 5vw;
		flex-wrap: wrap;
}
	.partner .title{width: 100%;text-align: center;margin: 1vw 0 3vw;letter-spacing: 3vw;}
	.partner .title span{display: none;}
	.partner .logo {
    width: 35%;
    margin: 0 2vw;
}
	.logo.sec{width: 15%;}

}



.forWeb{display: block;}
.forPhone {display:none;}

@media screen and (max-width: 960px){
	.forWeb{display: none;}
	.forPhone {display: block;}
}

/********* back to top 按鈕 *********/	
.scrollToTop {
  display: none;
  position: fixed;
  bottom: 70px; 
  right: 40px;  
  width: 45px;
  height: 45px;
  color:#fff;  
  background-color:rgba(164,164,164,0.7); 
  border: none;
  border-radius: 50%;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 1000; 
  transition: opacity 0.3s ease;
}

.scrollToTop:hover {
  background-color: #555; 
}
.scrollToTop:focus{ outline: none;}
@media screen and (max-width: 960px){
	.scrollToTop {
    bottom: 22vw;
    right: 5vw;
    font-size: 4vw;
	}
}
/********* END// back to top 按鈕 *********/

/* variables */
:root {
    --menu-item-color-active: #fce8cb;
    --menu-item-count: 12;
    --menu-item-margin: 5px;
    --menu-item-border-width: 1px;
}

:target:before {
  content: "";
  display: block;
  height: 80px; /* fixed header height*/
  margin: -80px 0 0; /* negative fixed header height */
}

/* overwrite */
.main-menu a:active,
.main-menu a:hover,
.main-menu a:link,
.main-menu a:visited {
  color: unset;
}

/*** Main menu - 當畫面往下滾動時, 選單置頂 *********************/
/* main menu */
.main-menu-wrap {
  width: 100%;
 /*  background: var(--body-background-color);*/
}

.main-menu {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  z-index: 99;
}

.main-menu-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: calc((100% - (var(--menu-item-margin) + var(--menu-item-border-width)) * 2 * var(--menu-item-count)) / var(--menu-item-count));
  aspect-ratio: 1 / 1;
  margin: var(--menu-item-margin);
  border: var(--menu-item-border-width) solid var(--menu-item-color-active);
  box-shadow: 0 0 0 2px #ffffff;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 99;
  transition: all 0.5s ease-out;
}

.main-menu-item-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.main-menu-item-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.main-menu-item-title {
  display: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--menu-item-color-active);
}

/* hover effect */
.main-menu-item:hover {
  background: var(--menu-item-color-active);
}

.main-menu-item:hover,
.main-menu-item:hover .main-menu-item-link,
.main-menu-item:hover .main-menu-item-title {
  color: #313131;
}

.main-menu-item:hover .main-menu-item-image {
  display: none;
  opacity: 0;
}

.main-menu-item:hover .main-menu-item-title {
  display: block;
}

/* sticky */
.main-menu-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1041;
  transition: transform 1s ease-in;
}

.main-menu-sticky.main-menu-wrap {
  padding: 8px 0;
/*   box-shadow: 0 2px 2px rgba(0, 0, 0, .08),
              0 5px 5px rgba(0, 0, 0, .05),
              0 8px 8px rgba(0, 0, 0, .005); */
  box-shadow: 0 2px 2px rgba(0, 0, 0, .08),
              0 6px 4px rgba(0, 0, 0, .03);
   background: var(--body-background-color);
}

.main-menu-sticky .main-menu-item {
  aspect-ratio: auto;
  border-color: rgba(137, 112, 101, .18);
  border-radius: 6px;
  box-shadow: none;
}

.main-menu-sticky .main-menu-item-link {
  padding: 12px 8px;
}

.main-menu-sticky .main-menu-item-image {
  display: none;
}

.main-menu-sticky .main-menu-item-title {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #000;
}

/*** other & overwrite *********************/
/* header */
.header-hidden {
  transform: translateY(-70px);
}

@media screen and (max-width: 767px) {
  /* overwrite M 版下方menu */
  .bbbar {
    display: none;
      
  }
    
 /* menu */
.main-tag {
    display: none;
}
    

  /** menu **/
  .main-menu-sticky.main-menu-wrap {
    padding: 6px 0;
  }
  .main-menu {
    overflow-x: scroll;
  }

  .main-menu-item {
    flex: none;
    width: auto;
    aspect-ratio: auto;
    border-color: rgba(137, 112, 101, .18);
    border-radius: 6px;
    box-shadow: none;
  }

  .main-menu-sticky .main-menu-item-link,
  .main-menu-item-link {
    padding: 8px;
  }

  .main-menu-item-image {
    display: none;
  }

  .main-menu-item-title {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #000;
  }
}

/* back to top */
.back-to-top-wrap {
  display: none;
}

.back-to-top {
  right: 0;
}

.back-to-top-text {
  margin-bottom: 0;
  font-weight: bold;
}

.back-to-top-text,
.back-to-top-text a:active,
.back-to-top-text a:hover,
.back-to-top-text a:link,
.back-to-top-text a:visited {
  color: #fff;
}

.back-to-top-show {
  display: block !important;
}

.effect{
  position: relative;
}
.effect .money{
  display: block;
  position: absolute;
  top: 45%;
  left: 50%;
  /* animation: bounce-in-right 1.1s both; */
}

.effect .woman{
  /* display: block; */
  position: absolute;
  top: 55%;
  left: 9%;
}

.effect .man{
  /* display: block; */
  position: absolute;
  top: 47%;
  left: 75%;
}

.pic-transform img:hover{
  transform:scale(1.03,1.03);
}






.introduce {
  display: flex;
  position: relative;
  justify-content: space-around;
  flex-direction: row-reverse;
  background-image: url(../../images/back.png);
  height: 370px;
}

.tag {
  padding: 8px 52px;
  border-top-left-radius: 47px;
  border-bottom-right-radius: 55px;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 46px;
  color: white;
 /* background-color: #808b69;*/
  font-weight : 800;  
}

.introduce > a {
  width: fit-content;
}

.image {
  width: 80%;
  object-fit: contain;
}

.content2 {
  margin-top: 110px;
  margin-left: 50px;
  text-align: left;
}








/* 購買按鈕*/
.buy-button {
  margin-top: 20px;
  display: block;
  width: fit-content;
  text-decoration: none;
  padding: 10px 20px;
  background-color: #eb603c;
  color: #fff;
  font-size: 20px;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

  .text {
    transform: translate(-50%, -50%); /* 将文字居中放置在圆形中心 */
    position: relative;
    top: 35%;
    left: 75%;
    width: 100%; /* 保证文字在圆形内部不换行 */
    text-align: center; /* 居中文字 */
    font-family: "Microsoft JhengHei";
    line-height: 1.5;
    color:#ffee00;
  }
  .price {
    display: inline-block;
    position: absolute;
    top:332px;
    background-image: url(../../images/tag.png);
    width:auto;
    height: 192px;
    z-index: 2;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right 0px;
  }
  
  .buy-button:hover {
    background-color: #000;
  }
  
  .buy-button:focus {
    outline: none;
  }

  @media screen and (max-width: 767px){
    .introduce {
      justify-content: initial;
      flex-direction: column;
      background-image: none;
      height: initial;
    }
  
    .tag {
    /*  display: none; */
      padding: 5px 36px;
      border-top-left-radius: 0px;
      border-bottom-right-radius: 35px;
      position: absolute;
      top: 0;
      left: 0;
      font-size: 22px;
      color: white;
     /* background-color: #808b69;*/
      font-weight : 800;  
    
    }

    .content2 {
      margin-top: initial;
      margin-left: initial;
      text-align: left;
     margin-bottom: 20px;
    }


  .s1 {
    font-size: 36pt;
    
    font-family: "Brush Script Std";
    color: #ee0000;
  }
 .content3 { 
	 background:url(../../images/pd-background.png) repeat;
	 background-size: 100% auto;
	 border-radius: 8rem 8rem 0 0;
	 width: 200px;
	 height: 250px;
	 margin: 0 auto;
	 margin-bottom: 30px;
  }
  .txt3{
        text-align: center; /* 居中文字 */
        color:#fff;
        padding: 10px 20px 10px 20px;
        border-radius:30px;
  }

  .image3 {
      max-width: 300px;
      height:220px;
      margin: auto;
      display: flex;
      align-items: center;
      flex-direction: column;
      padding-top: 40px;
    }
    }


@media screen and (max-width:767px) {
.introduce { 
  display: flex;
  flex-wrap: wrap;
  width:auto; 
  padding: 2px 14px 0px 20px;
  gap: 0px;
  box-sizing: border-box; 
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fce17b+50,faf4ea+50 */
background: linear-gradient(135deg,  #fce17b 50%,#faf4ea 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

  }

.title2{
	font-weight: 800;
	left: 75%;
	color:#4d4c42;
	font-family: "Microsoft JhengHei";
	line-height: 3.0rem;
	padding: 0px;	
	font-size: 2.7rem;
    
  }
	
.txt{
	text-align: left; /* 文字對齊 */
	color:#59595;
	padding: 0px;
	line-height: 2.5rem;
	font-size: 2.0rem;	  
  }

.image {
      max-width: 400px;
      height:150px;
      margin: auto;
      display: flex;
      align-items: center;
      flex-direction: row;
    }

 .content3 { 
	 background:url(../../images/) repeat;
	 background-size: 70% auto;
	 border-radius: 8rem 8rem 0 0;
	 width: 450px;
	 height: 230px;
	 margin: 0 auto;
	 margin-bottom: 0px;
  }	
  .txt3{
        text-align: center; /* 居中文字 */
        color:#fff;
        padding: 5px;
	font-size: 1.3rem;
  }	
  .image3 {
      max-width: 350px;
      height:120px;
      margin: auto;
      display: flex;
      align-items: center;
      flex-direction: column;
      padding-top: 0px;
    }	
}
	


 

