body{
   background-image:url("../images/bg.jpg");
	
	background-repeat:no-repeat;
	background-position:top center;
    background-size: 2500px auto;
    
}



/* 頁面寬度 header+wrapper+footer */
header,footer,.wrapper{
	width:1060px;
	margin:0 auto;
}


/*** 頭 header ***/

header {
	height:70px;
	padding:10px 20px;
	background-image:url("../images/index_pc_01.jpg");
	background-repeat:no-repeat;
    background-position: top center;
    background-size: auto 70px;
}



.header_block {
  width: 1060px;
  height: 70px;
  padding: 10px 20px;
  margin: 0 auto;
  position: relative;
}



.header-logo{
	width: 146px;
	height: 31px;
	margin-top:8px;
	margin-right:10px;
	float:left;
	/* 綠色(logo_g.png) . 白色(logo_w.png)  */
	background-image:url(../images/logo_w.png);
	background-size:100%;
	background-repeat:no-repeat;
}

.header-btn01{
	display: block;
	margin: 16px 6px 0px 0px;
	float: left;
}
.header-btn01 a:link,
.header-btn01 a:visited,
.header-btn01 a:hover,
.header-btn01 a:active{
	font-size: 15px;
	text-align: center;
	padding:6px 15px;
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}
.header-btn01 a:link,
.header-btn01 a:visited{
	/* 綠色(#61953f) . 白色(#FFFFFF) */
	color: #ffffff;
	/* 綠色(97,149,63,1) . 白色(255,255,255,1) */
	-webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
	-moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
	box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
}
.header-btn01 a:hover,
.header-btn01 a:active{
	/* 白色(#FFFFFF自訂) */
	color: #4c3621;
	/* 綠色(#5db307) . 白色(#FFFFFF) */
	background-color:#ffffff;
	-webkit-box-shadow:none;
	-moz-box-shadow: none;
	box-shadow:none;
}

.header-share{
	float:right;
	margin:15px 6px 0px 20px;
}



/*** 內容 wrapper ***/
.bg{background-image:url("../images/bg.jpg");
	background-repeat:no-repeat;
	background-position:top center;
    background-size: 2500px auto;
    }

.wrapper{
	height:auto;
	width:1060px;
	margin:0 auto;
	height:auto;
	text-align: center	
}



/*** 腳 footer ***/
footer{
	font-size:13px;	
	height:100px;
	padding:20px 10px;
	border-top: 0px solid #dcdad4;
	background-color:  #fed246;
}

.footer-nav{
    width: 100%;
	margin-bottom:10px;
	text-align:center;
}
.footer-nav ul{
	list-style: none;
}
.footer-nav li{
	margin: 0px 4px 0px 0px;
	display:inline;
}


/* hover動態樣式 - 淡入淡出 */
.footer-nav li a{
	/* 綠色(#656565) . 白色(#b4b4b4自訂) */
	color:#333;
	text-transform:uppercase;
	text-decoration:none;
	border-bottom:1px solid transparent;
	-webkit-transition:border 0.2s ease-in-out 0s;
	-moz-transition:border 0.2s ease-in-out 0s;
	-o-transition:border 0.2s ease-in-out 0s;
	transition:border 0.2s ease-in-out 0s;
}
.footer-nav li a:hover,
.footer-nav li a:focus{
	/* 綠色(#656565) . 白色(#b4b4b4自訂) */
	border-color:#333;
}
/*  hover li 樣式 - 隱藏前後  */
.footer-nav li:after{
	/* 綠色(#dddddd) . 白色(#4a4a4a自訂) */
 color:#666;
    content: '|';
	top: -1px;
	right: -4px;
	margin:0px 6px;
	position:relative;
}
.footer-nav li:lang(ar):after, 
.footer-nav li:last-child:after{
    display: none;
}

.footer-copyright{
	/* 綠色(#b4b4b4) . 白色(#676767自訂) */
	color:#666;
	text-align:center;
	margin:0 auto;
}



/*** 活動頁內容 wrapper***/	

.bg1{
	background-color: #faf8e4;height: auto
}
.bg2{
   background-color: #fbd234;height: auto
	}
.bg2B{
    background-image:url("../images/bg2.jpg");
	background-repeat: repeat-y;
	background-position:top center;
	background-size: 1060px auto;
	}
.bg3{background-image:url("../images/bg3.jpg");
	background-repeat:repeat-x;
	background-position:top center;
    background-size: 35px auto;
    }




.p{position:relative;}

h1{ color: #599641;
	font-size:59px; line-height:1.2em;  font-family:Helvetica, Arial;
	font-weight:bold;background-color: rgba(255,255,255,0);	
}

h2{ color: #222;
	font-size:22px; line-height:1.3em;  font-family:Helvetica, Arial;
	font-weight: 600;text-align: left;
	background-color: rgba(255,255,255,0);letter-spacing: 0.5px;
}


.text1{	color: #666;
	font-size:15.6px; line-height: 22px;  font-family:Helvetica, Arial;
	background-color: rgba(255,255,255,0);letter-spacing: 0.8px;
}


.text1 li{
	margin-left: 20px; line-height: 40px
}

.text1 a:link,.text1 a:visited{
		color: #f40000;
		text-decoration: underline
		}
		
.text1 a:hover,.text1 a:active{
		color:#cc0000;
		text-decoration: underline
		}





.h30{margin-top: 34px;}
.h20{margin-top: 16px;}
.h10{margin-top: 10px;}



/* --- 主視覺外容器 --- */
	.kv-container {
		height: 503px;
		background-image:url("../images/index_pc_02.jpg");
		background-repeat:no-repeat;
		background-position:top center;
		background-size: 1060px auto;
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
	}




/* ---漂浮小物件樣式與動畫 --- */
	.floating-item {
		position: absolute;
		z-index: 20;
		width: 80px;  /* 依你的小物件大小調整 */
		height: 80px;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 50%;
		font-size: 32px; /* 用 Emoji 暫時代替物件 */
		

		/* 核心動態設定：進場動畫 與 循環漂浮動畫 結合 */
		/* opacity 0 先隱藏，避免開場前閃爍 */
		opacity: 0; 
		/* 第一階段：進場 (popIn) | 第二階段：常駐漂浮 (floatLoop) */
		animation: 
			popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
			floatLoop 4s ease-in-out infinite alternate;
	}

	/* 透過絕對定位，將各個小物件擺放到對應位置（模擬 KV2 的分佈） */
	.item-communication  {top: -7%;left: 61%; } /* 說話術 */
	.item-plane    {top: 8%; left: 57%;} /* 飛機 */
	.item-camera   {top: 18%; left: 47%; } /* 相機 */
	.item-luggage  { top: 4%; right: 11%; } /* 行李箱 */
	.item-balloon  { top: 2%; right: -1%; } /* 熱氣球 */
	.item-heart    { top:27%; right: 9%; } /* 愛心 */
	.item-coin     {top: 9%;  right: 18%; } /* 金幣 */
	.item-star     { top: -11%; right: 22%; } /* 星星 */

 /* ---  Keyframes 動態定義 --- */
        
        /* 主圖淡入 */
        @keyframes mainFadeIn {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* 小物件開場：爆米花式彈出 */
        @keyframes popIn {
            0% {
                opacity: 0;
                transform: scale(0) rotate(-20deg);
            }
            100% {
                opacity: 1;
                transform: scale(1) rotate(0deg);
            }
        }

        /* 小物件常駐：上下緩慢漂浮 */
        @keyframes floatLoop {
            0% {
                /* 為了不蓋掉 popIn 最終的 scale(1)，這裡保持 scale(1) 並做位移 */
                transform: translateY(0px);
            }
            100% {
                transform: translateY(-15px);
            }
        }




.title{width: 465px; height:320px;
	position: absolute;
	top: 7px;
    left: 58px;
	
  	animation-fill-mode: forwards;
	animation: title .6s ;
	z-index: 2;
	/* 基本的淡入動態 */
		animation: title 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;}

@keyframes title {
   0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}


#p1{width: 145px;height: 175px; position: absolute; top:-60px;left:140px;z-index: 10}
#p10{position: absolute; top:60px;left:450px;z-index: 10;}



h3{ color: #599641;
	font-size:43px; line-height:1.4em;  font-family:Helvetica, Arial;
	font-weight: 600;text-align: left;
	background-color: rgba(255,255,255,0);
}

.text-g{color:#599641;
	font-size:21px;font-family:Helvetica, Arial;font-weight: bold;
	background-color: rgba(255,255,255,0);letter-spacing: 0.8px;padding-left: 35px
}
.text-g span{font-size:0.64em;font-weight: 400;color: #555;letter-spacing: 0.1px;}

h4{ color: #222;
	font-size:28px; line-height:1.4em;  font-family:Helvetica, Arial;
	font-weight: 600;
	background-color: rgba(255,255,255,0);
	margin-left: -20px;
}

.content4{
	width: 100%;
	height: 700px;
	background-image:url("../images/index_pc_07.jpg");
	background-repeat:no-repeat;
	background-position:top center;
	background-size:1060px auto;
	padding:12% 20px 20px 33%;
	text-align: left;
	position: relative;
}


.content4 .box{
	width: 420px;height: auto;
	background-color: rgba(255,255,255,0);
}

#p3{position: absolute; top:275px ;left:803px }
#p4{position: absolute; top:550px ;left:803px }



.content3 ul,.content4 ul{color: #333;line-height: 1.4em; font-size: 1em;letter-spacing: 0.3px;text-align: justify}




.t1{width:440px;height:370px;position:absolute;top:90px;left:220px;
	animation: move1;
  	animation-duration: 3s;
  	animation-fill-mode: forwards;
	}
@keyframes move1 {
  from {top: -20px;}
  to {top: 20px;}
}




.text3{
	
	color: #ffe00c;
	font-size:32px; line-height: 30px;  font-family:Helvetica, Arial;text-align: center;font-weight:bolder;
	-webkit-text-stroke: 0.5px #088681;
	text-stroke: 0.5px #088681;
	text-shadow:2px 2px 0px #088681;
	
}	



.btn{	width: 380px;height:60px;
		font-size: 24px;
		line-height: 60px;
		text-align: center;
		transition : 0.5s;
		font-weight: 400; font-family: "Microsoft JhengHei", Helvetica, Arial;
		/*background-image:url("../images/btn.png");
		background-size: 100%;*/
		color:#fff;
		background-color: #000;
		border: 0px solid #00b2c8;
		box-sizing: border-box;
		letter-spacing: 1px;
		}
		
.btn a:link,.btn a:visited{
		width:100%;
		height:100%;
		color: #fff;
		}
		
.btn a:hover,.btn a:active{
		width:100%;
		height:100%;
		color: #fff;
		}
.btn:hover {
		transform : scale(1.0);
	}
.btn:hover{transform:scale(1.01,1.01);background-color: #519e58}



.btn2{	width: 300px;height:48px;
		font-size: 20px;
		line-height: 48px;
		text-align: center;
		transition : 0.5s;
		font-weight: 400; font-family: "Microsoft JhengHei", Helvetica, Arial;
		/*background-image:url("../images/btn.png");
		background-size: 100%;*/
		color:#fff;
		background-color: #e92d1b;
		border: 0px solid #00b2c8;
		box-sizing: border-box;
		letter-spacing: 1px;
	    border-radius: 30px;
		}
		
.btn2 a:link,.btn2 a:visited{
		width:100%;
		height:100%;
		color: #fff;
		}
		
.btn2 a:hover,.btn2 a:active{
		width:100%;
		height:100%;
		color: #fff;
		}
.btn2:hover {
		transform : scale(1.0);
	}
.btn2:hover{transform:scale(1.02,1.02);background-color: #e92d1b}





.yt-player{position: absolute;top: 130px;left:130px }

.btn_go{
	z-index:999}


.clean{ clear:both}


	
.book2{display: inline-block;}
.book2box{text-align: center;position: absolute; top: 505px;left: 55px}


.book4{width: 166px; height: 245px;position: absolute}

.btn-more{
	width: 125px; height:40px;
	position: absolute;
	right: 20px;
	z-index: 888;
	transition : 0.5s;
}
.btn-more:hover{transform:scale(1.07,1.07);}



.clear{clear: both;}




 /**flex圖片點選放大**/
.card-wrapper1 {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 20px;
  	padding: 145px 55px 80px; /* 最大外層邊距 */
	
	height: 540px;
    }

.card2 {  /*四把鑰匙 */
	flex: 1 1 calc((100% - 20px) / 2);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
    flex-direction: column;
	padding-bottom: 2px;
    }

.card-wrapper {
  	display: flex;
  	flex-wrap: wrap;
  	gap: 20px;
  	padding: 140px 55px 0; /* 最大外層邊距 */
	
    }


    .card3 { /* 前三名 */
      flex: 1 1 calc((100% - 40px) / 3);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
		padding-bottom: 25px;
    }

	.card {  /* 第四至第十一名 */
      flex: 1 1 calc((100% - 60px) / 4);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
		padding-bottom: 25px;
    }

    .card img {
      width: 100%;
      height: auto;
      display: block;
    }
	  
	  
	  
	.pic-btn{
	transition : 0.5s;}

	.pic-btn:hover {
	transform: scale(1.02); /* 微微放大 */}






/*** 動畫 ***/	
.bookcover4,.bookcover5,.book2,.book4{
transform-style:preserve-3d;
transition:0.2s linear;}
.bookcover4:hover,.bookcover5:hover ,.book2:hover,.book4:hover {
transform:translateY(-6px);}


/*** 書展區 一排4本 ***/	
.book-fair-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
}

/* 書展區最外層*/
.book-fair-container2 {
  max-width: 1060px;
  margin: 0 auto;
  padding: 58px;
  font-family: "Microsoft JhengHei", sans-serif;
  box-sizing: border-box;
	padding-bottom: 5px
}

/* 上方 Banner 樣式 */
.banner-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.banner-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.banner-icon {
  width: 180px; /* 依照原圖比例微調 */
  height: auto;
}

.banner-title {
  color: #0c4ea3; /* 寶藍色字體 */
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 2px;
}

/* 下方商品四欄 Flex 佈局 */
.products-grid {
  display: flex;
  justify-content: space-between;
  gap: 7px; /* 卡片之間的間距 */
}

/* 單個商品卡片 */
.product-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: 16px; /* 圓角卡片 */
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transform-style:preserve-3d;
  transition:0.2s linear;
  position: relative;	
	box-shadow: 0px 1px 1px 0 rgba(0, 0, 0, 0.1);
}


.product-card:hover {
transform:scale(1.01,1.01);box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.1);}/*X軸偏移 Y軸偏移 模糊半徑 擴散半徑 顏色;*/

.top1-3{
	background-color: #ffe680;
	padding: 30px;
}


/* 新增：Top 圓形標籤樣式 */
.top-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 54px;   /* 圓形寬度 */
    height: 54px;  /* 圓形高度 */
   background: linear-gradient(to bottom, #ffda2c, #ff9804);
    border-radius: 50%;        /* 變成完美的圓形 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;   /* 確保標籤蓋在圖片最上層 */
}

/* 標籤內的 "TOP" 字樣 */
.badge-text {
    font-size: 0.6rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* 標籤內的數字 */
.badge-num {
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.4rem;
}


/* 書本封面外框（維持原圖的淡淡灰藍陰影感） */
.book-cover-wrap {
    background-color: #f5f9fc;
    border-radius: 5px;
    padding: 0;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}




.book-cover {
  width: 100%;
  height: 280px;
  object-fit: cover; /* 強制填滿容器並自動裁切多餘邊緣 */
}

.book-cover1-3 {
  width: 100%;
  height: 350px;
  object-fit: cover; /* 強制填滿容器並自動裁切多餘邊緣 */
  border: 8px solid #fff9c8;
  border-radius: 6px;	
}



/* 商品文字與價格區塊 */
.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.book-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #1a1a1a;
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.4; /* 設定書名的行高 */
  
  /* 關鍵 1：固定高預留 1 行的空間，確保每張卡片寬度與高度完全一致 */
  height: 1.4em; 
  
  /* 關鍵 2：限制最多顯示 1 行，超過就變 ... */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.book-desc {
  font-size:0.93rem;
  color: #777777;
 text-align: center;
  margin: 0 0 10px 0;
  line-height: 1.5; /* 設定行高，2行的高度就是 1.5 * 2 = 3.0em */
  
  /* 預留固定 2 行的高度，確保即使字數少（只有1行）時，卡片高度也一致不變形 */
  min-height: 3em; 

  /* 關鍵語法：限制最多顯示 2 行並出現省略號 */
  display: -webkit-box;
  -webkit-line-clamp: 2;          /* 限制行數為 2 行 */
  -webkit-box-orient: vertical;  /* 設定盒模型的排列方向為垂直 */
  overflow: hidden;              /* 隱藏超出範圍的文字 */
}

.book-desc2{
font-size: 1rem;
    color: #555;
}

/* 價格與購物車列 */
.price-row {
  display: flex;
  align-items:baseline;
  border-top: 0px solid #eeeeee;
  padding-top: 12px;
  position: relative;
	
}

.price-label {
  font-size: 13px;
  color: #555555;
  margin-right: 4px;
  padding-bottom: 0px;
	position: relative;
	top: 6px;
}

.price-num {
  font-size: 26px;
  font-weight: bold;
  color: #e60012; /* 鮮紅色價格 */
  line-height: 1;
	
}

.price-unit {
  font-size: 13px;
  color: #555555;
  margin-left: 2px;
  padding-bottom: 0px;
	position: relative;
	top: 6px;
}

/* 購物車按鈕 (替換為 Hami Book 購物車圖示) */
.cart-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;   /* 調整為圖示的合適顯示寬度 */
  height: 28px;  /* 調整為圖示的合適顯示高度 */
  background-color: transparent;
  border: none;
  cursor: pointer;
  
  /* 將背景圖片替換為你提供的連結 */
  background-image: url("https://www.hamibook.com.tw/images/top_shopping_cart.png");
  
  /* 確保圖示完整顯示不裁切且置中 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 滑鼠懸停時的視覺回饋 */
.cart-btn:hover {
  opacity: 0.7;
}

/* 查看更多 */
.more-link-wrap {
  text-align: right;
  margin-top: 30px;
}

.more-link {
  font-size: 16px;
 
  color: #222;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}


.order-now{width: 600px; height: 215px; margin: 40px auto; text-align: center;transition : 0.5s}
.order-now:hover{transform: scale(1.02);}


/*** 注意事項***/
.notice2{
	 padding:5px 30px 50px 50px;
	 margin:0px auto;
	 width:auto;
	 }	 
.notice2 ol ul{
	width:auto;	
	
	line-height: 24px;
	margin:0 auto;
	padding-left:25px;
	}
	
.notice2 li{
	font-size:1rem;
	margin-bottom:0px;
	color:#333;
	text-align: justify;
	line-height: 1.6rem;
	letter-spacing:1px;
	}

.notice2 ul{list-style:disc}

.notice2 span { color:#cc0000;}
.notice2 a:link,
.notice2 a:visited,
.notice2 a:hover,
.notice2 a:active{
	text-decoration:underline;
	color:#333}
	
.notice2 span a:link,
.notice2 span a:visited,
.notice2 span a:hover,
.notice2 span a:active{
	text-decoration:underline;
	color:#333}
	
.notice2 h1{color: #333; font-size: 1.2em;
	line-height:30px; padding-bottom:6px;margin-left:-30px; text-align: left;
	}
.notice2 h1 span{text-decoration: underline;}


.notice2 h1:before{
	color: #333;
	content: '';}

.color_c{font-size: 1.15em}



/*** 活動頁分享按鈕 stert***/
.resp-sharing-button {
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 22px;
  transition: 25ms ease-out;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top;
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle;
}

/* Solid icons get a fill */

.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none;
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}


.i-amphtml-element:focus {
  outline: none !important;
  outline-offset: 0;
}


.hamibook_event_share_btn {
  width: 60px;
  display: flex;
  justify-content: space-between;
  margin: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
}

/*** 活動頁分享按鈕 end***/




/*** 新增推薦書籍***/

.bookbox_pic_block {
 
  line-height: 0;
  box-sizing: border-box;
	
  
}

.bookbox_pic_block img{
	border-radius: 12px;
	border: 1px solid #eed6ca;
	}


.bookbox_text_block {
	
  width: 100%;
  box-sizing: border-box;
  padding: 15px 0px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  line-height: 1.5rem;
  color: #333;
  /* 1. 【核心】設置為 WebKit 彈性盒子模型 */
    display: -webkit-box;
    
    /* 2. 【必需】設置溢出內容為隱藏！這是關鍵！ */
    overflow: hidden;
    
    /* 3. 設置文字溢出時顯示省略號 */
    text-overflow: ellipsis;
    
    /* 4. 設置限制的行數 */
    -webkit-line-clamp: 3;
    
    /* 5. 設置為垂直排列 */
	-webkit-box-orient: vertical;
	max-height: calc(1.8rem * 3);
}



/*課程輪播*/
/*swiper*/
.swiperbox1 {
  width: 100%;
  margin: 10px auto 30px auto;
  padding: 50px 80px 30px;
  position: relative;
  box-sizing: border-box;
}


.swiper-container {
  width: 100%;
  position: relative;
  overflow: hidden; 
}

.swiper-slide {
  text-align: left;
  background-repeat: no-repeat;
  display: block;
  overflow: hidden;
  
}


.swiper1{width: 206px !important;
  height: 290px;}

.swiper-slide h1 {
	width: 100%;
    height: 36px;
    color: #222;
    font-size:1.6rem;
    text-align: center;
    margin-bottom: 6px;
	font-weight: 500
        }


.book-prev,
.moreclass-prev,
.plan-prev{
  position: absolute;
  top: 40%;
  left: 10px !important;
  width: 32px !important;
  height: 32px !important;
  box-shadow: 0px 1px 2px #777;
  border-radius: 50%;
  z-index: 10;
  background-color: #feffff;
}

.book-prev::before,
.moreclass-prev::before,
.plan-prev::before{
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 11px;
  left: 13px;
  background: transparent;
  border-bottom: 1.5px solid #af7d4c;
  border-left: 1.5px solid #af7d4c;
  transform: rotate(45deg);
}

.book-prev:hover,
.moreclass-prev:hover,
.plan-prev:hover{
  background-color: #fd8203;
}

.book-prev:hover::before,
.moreclass-prev:hover::before,
.plan-prev:hover::before{
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.book-next,
.moreclass-next,
.plan-next {
  position: absolute;
  top: 40%;
  right: 10px !important;
  width: 32px !important;
  height: 32px !important;
  box-shadow: 0px 1px 2px #777;
  border-radius: 50%;
  z-index: 10;
  background-color: #feffff;
}

.book-next::before,
.moreclass-next::before,
.plan-next::before{
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: 11px;
  right: 13px;
  background: transparent;
  border-bottom: 1.5px solid #af7d4c;
  border-left: 1.5px solid #af7d4c;
  transform: rotate(-135deg);
}

.book-next:hover,
.moreclass-next:hover,
.plan-next:hover{
  background-color: #fd8203;
}

.book-next:hover::before,
.moreclass-next:hover::before,
.plan-next:hover::before {
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
}

.more-swiper-pagination {
  text-align: center;
  margin: 8px 0 0 0;
}

.newswiper-pagination {
  text-align: center;
  margin: 8px 0 0 0;
}

.planswiper-pagination {
  text-align: center;
  margin: 8px 0 0 0;
}



/*方案輪播補強*/
#plan{height: 1px;position: absolute;top: -260px;}
		@media (max-width: 767px) {
		#plan{;top: -160px;}
		}

		@media (max-width: 414px) {
		#plan{;top: -130px;}
		}



.wp{padding-bottom: 10px;padding-left: 4px; padding-right:10px;box-sizing: border-box;}
		@media (max-width: 767px) {
			.wp{padding-left: 6px; padding-right:15px;box-sizing: border-box;}
		}

.slide2 {
  width: 255px !important;
  border: 0px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.slide2 img{
transition: 0.5s;}


.slide2 img:hover {
  transform: scale(1.1);
}


.planbox_pic_block {
  width: 100%;
  line-height: 0;
  background-color: #e1e1e1;
  box-sizing: border-box;
}

.planbox_text_block {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 15px 15px;
}

.planbox_text_block li{font-size: 0.9em}


.plan_tag {
  height: 24px;
  padding: 0 15px;
  border-radius: 13px;
  color: #fff;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.slide2 .color1{ background-color: rgba(77, 151, 205, 0.9);}
.slide2 .color2{ background-color: rgba(13, 181, 158, 0.9);}
.slide2 .color3{ background-color: rgba(232, 99, 80, 0.9);}
.slide2 .color4{ background-color: rgba(139, 140, 191, 0.9);}


.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bullet-item {
  display: flex;
  align-items:top;
}

.bullet-icon {
  width: 29px;
  height: 29px;
  background-color: #ff5e47;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 12px;
  flex-shrink: 0;
}

.bullet-text {
  flex: 1;
  font-weight: bold;
  font-size: 1.05em;
  line-height: 1em;
  text-align: center
}
.bullet-text li{font-weight: 400;font-size: 0.75em;color: #666;line-height: 1.6em;letter-spacing: 0.2px;margin-left: -10px;}
.bullet-text span{font-weight: 500; font-size: 1.4em;color: #ff5e47;padding: 0 5px;}
