@charset "utf-8";
/* CSS Document */
/*0323新增-xml空值時則前端不秀-subtitle-description-multi-album內外連按鈕*/
a.lightbox-single-btn:empty {
  display: none !important;
}
.subtitle:empty {
  display: none !important;
}
.description:empty {
  display: none !important;
}
/*0323*/

.headerpage {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	width: 100%;
	padding: 10px;z-index: 9999;
}
.headerpage.shadow.changeS {
	background: #fff;
	box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 20%);
}
/*國小內頁關閉數位tab*/
/*.elementary.inner .mainMenu .tabs > input,*/ .elementary.inner .mainMenu .tabs > label {
	display: none;
}

.inner_bg {
	padding-top: 60px;
	text-align: center;
	position: relative;
	background-image:url("../../images/top-bg-r.png"), url("../../images/top-bg-l.png"), url("../../images/bg-inner-l.svg"), url("../../images/bg-inner-r.svg") ;
	background-size: 207px 177px, 159px 231px,678px 634px, 636px 593px;
	background-repeat: no-repeat;
	background-position: top 75px right 70px,bottom 0 left 50px,bottom 0 left -30%, bottom 0 right -30%;
}
.subject { 
	padding-top: 40px;
	margin-bottom: 25px;
}
.inner_bg .subject h1 {
	font-size:1.5em;/*24px*/
	margin-bottom: 5px;
}
.inner_bg .subject p {
	color: #f6af0c;
	font-size: 2.25em;
	font-weight: bold;
}

.pageAnchor {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-bottom: 35px;
	min-height: 50px;
	padding: 0 16px;
}
.pageAnchor ul{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.pageAnchor li {
	position: relative;
	min-width: 110px;
	height: 42px;
	padding: 0 8px;
	border-radius: 21px;
	font-size: 1.25em; /*20px*/
	color: #333;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 5px 8px;
	background-color: #ffe37f;
}
.pageAnchor li::after {
	content:'';
	/*background-image: url("../../images/deco-anchor-line.png");*/
	background-size: cover;
	width: 13px;
	height: 17px;
	display: block;
	position: absolute;
	right: -19px;
}
.pageAnchor li:last-child::after {
	display: none;
}
.pageAnchor li:hover {
	background-color: #f1ba3c;
}
.pageAnchorTrigger {
  height: 1px;
}

/******置底浮動選單******/
.floating-menu {
  position: fixed;
  right: 20px;
  bottom: 120px;
  z-index: 999;
	min-width: 118px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-menu a {
	color: #222;
	font-size: 1.0625em;/*17px*/
	text-align: center;
	font-weight: bold;
	/*0209修*/
	width: 100%;
	/*0209修*/
	display:block;
}
.floating-menu a:hover {
	color: #996633;
}

/* 顯示狀態 */
.floating-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
	background-color: #f1ba3c;
	border-radius: 10px;
	padding: 10px;
	
}
.floating-menu ul {	
	
}
.floating-menu ul li {
	position: relative;
	padding-bottom: 8px;
	text-align: center;
}
.floating-menu ul li::after {
	content:'';
	background-color: #ffeeb8;
	height: 2px;
	width: 85%;
	border-radius: 1px;
	display: block;
	bottom: -6px;
	margin: 2px auto 0 auto;
}
.floating-menu ul li:last-child::after {
	display: none;
}
.otherLink {
	position: absolute;
	top: -50px; left: 0;
	background-color: #f1ba3c;
	border-radius: 10px;
	background-image: url("../../images/bg-other-link.png");
	background-size: 128px 42px;
	background-repeat: no-repeat;
	background-position:  top -22px right 10px;
	padding: 8px;
	width: 100%;
	display: flex;
	justify-content: center;
}
.otherLink a::after {
	content:'';
	background: url("../../images/icon-link-arrow.png") no-repeat;
	background-size: cover;
	width: 10px; height: 12px;
	display: inline-block;
	margin-left: 6px;
}
.goTop {
	width: 70px; height: 28px;
	background-color: #ffeeb8;
	border-radius: 10px;
	display: flex!important;
	justify-content: center;
	align-items: center;
	position: relative;
	margin: auto;
}
a.goTop  {
	color:#222222;
}
.goTop::after {
	content:'';
	background-image: url("../../images/icon-btn-arrow.png");
	background-size: cover;
	width: 17px; height: 10px;
	display: inline-block;
	margin-left: 5px;
	transform: rotate(180deg);
}



.template {
	margin-bottom: 60px;
}
.template.t-feature {
	margin-bottom: 0;
}
.template.t-core {
	margin-bottom: 0;
}
.template.t-multiple {
	margin-bottom: 40px;
}

.t-info {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center; 
	margin-bottom: 15px;
	padding: 0 1em;
}
.t-content {
	width: 100%;
	position: relative;
}



/*模板標題*/
.title {
	font-size: 2em; /*32px*/
	color: #f6af0c;
	font-weight: bold;
	position: relative;
	margin-bottom: 5px;
}
.title::before {
	position: absolute;
	display: block;
	content:'';
}
/*影片模板標題ICON*/
.t-video .title::before {
	background: url("../../images/icon-title-t-video.png") no-repeat;
	background-size: cover;
	width: 38px;
	height: 39px;
	top: 5px; left: -45px;
}
/*教材模板標題ICON*/
.t-feature .title::before {
	background: url("../../images/icon-title-t-feature.png") no-repeat;
	background-size: cover;
	width: 39px;
	height: 36px;
	top: 5px; left: -46px;
}
/*電子書模板標題ICON*/
.t-ebook .title::before {
	background: url("../../images/icon-title-t-ebook.png") no-repeat;
	background-size: cover;
	width: 36px;
	height: 43px;
	top: 2px; left: -43px;
}
/*品項模板標題ICON*/
.t-multiple .title::before {
	background: url("../../images/icon-title-t-multiple.png") no-repeat;
	background-size: cover;
	width: 44px;
	height: 34px;
	top: 6px; left: -50px;
}
/*必選理由模板標題ICON*/
.t-core .title::before {
	background: url("../../images/icon-title-t-core.png") no-repeat;
	background-size: cover;
	width: 43px;
	height: 41px;
	top: 4px; left: -47px;
}
/*數位模板標題ICON*/
.t-links .title::before {
	background: url("../../images/icon-title-t-links.png") no-repeat;
	background-size: cover;
	width: 36px;
	height: 36px;
	top: 6px; left: -45px;
}


/*模板小標*/
.subtitle {
	font-size: 1.375em; /*22px*/
	color: #555555;
	font-weight: bold;
	width: fit-content;
	background: url("../../images/decoLine.png") repeat-x bottom left;
	background-size: 13px 6px;
	padding: 10px 11px;
	margin-bottom: 5px;
}
/*模板說明*/
.description {
	font-size: 1em; /*16px*/
	color: #555555;
	position: relative;
}
.description::before {
	content: '';
	background: url("../../images/icon-desp-l.png") no-repeat bottom left;
	background-size: cover;
	width: 16px; height: 39px;
	dusplay: block;
	position: absolute;
	left: -40px; bottom: -10px; 
}
.description::after {
	content: '';
	background: url("../../images/icon-desp-r.png") no-repeat bottom right;
	background-size: cover;
	width: 16px; height: 39px;
	dusplay: block;
	position: absolute;
	right: -40px; bottom: -10px; 
}
.video-bg .cont-width { width: 100%;}
.cont-width {
	width: 1130px;
	margin: auto;
}
.itemTitle {
	font-size: 1.375em; /*22px*/
	color: #333;
	font-weight: bold;
}
.itemPic {
	border-radius: 10px;
	position: relative; 
}
.itemPic a {
	position: absolute;
	top: 0; left: 0; right: 0; 
	width: 100%; height: 100%;
	display: block;
}
.itemDesp {
	color: #555;
	font-size: 1em;
	width: 95%;
}
.itemBtn:hover {
	transform: scale(1.05);
}

/*按鈕*/
.itemBtn {
	width: fit-content;
	min-width: 70px;
	height: 41px;
	font-size: 1.0625em; /*17px*/
	color: #333;
	font-weight: bold;
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
	transform: scale(1);
	transition: all .1s ease-out;
}
.itemBtn a {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	white-space: nowrap;
	display: flex;
	justify-content: center;
	align-items: center;
}


/********模板-影片-t-video********/

.video-bg {
	background-image: url("../../images/t-video-bg-up.svg"), url("../../images/t-video-bg-up.svg"), url("../../images/t-video-bg-down.svg"),url("../../images/t-video-bg-down.svg"), url("../../images/video-bg-icon.png");
	background-size: 62px 32px,62px 32px,62px 32px,62px 32px,1276px 749px;
	background-position: top -1px left 0, top -1px right 0, bottom -1px left 0, bottom -1px right 0,center center;
	background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x;
	background-color: #fff070;
	padding: 54px;
}
.videoFrame {
	width: 960px;
	position: relative;
	margin: auto;
}

.videoFrame .video-container {
	/*max-width: 1200px;
	max-height: 676px;*/
	width: 100%;
	height: 0;
	padding-bottom: 56.3%;
	margin: 0 auto;
	position: relative;
	overflow:hidden;
	z-index: 9;
	border-radius: 30px;
	box-shadow: 10px 10px 0 0 #f1ba3c;
	/*padding-bottom:56%; height:0; RWD*/
	background: #fff496;
}

.videoFrame .video-container iframe, .origin-video .video-container object, .origin-video .video-container embed { 
	position:absolute; 
	top:0; left: 0; 
	width: 100%; 
	height: 100%; 
	/*max-height: 957px;*/
}



/********模板-教材-t-feature********/
.featureFrame {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	padding: 40px 16px 0 16px;
	width: 1040px;
	margin: auto;
}
.featureItem {
	width: 315px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/*0209*/
	align-self: flex-start;
	margin:0 10px 60px 10px;
}
.featureItem .itemPic {
	width: 275px;
	height: 390px;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 10px;
	margin-bottom: 20px;
	box-shadow: 0 0 0 20px #fff070;
	transition: all 0.2s ease-in-out;
}
.featureItem .itemPic:hover {
	background-size: 130% 130%;
}

/*篩選1,4,7,10*/
.featureItem:nth-child(3n - 2) .itemPic::before {
	content: '';	
	display: block;
	width: 49px; height: 49px;
	position: absolute;
	background: url("../../images/deco-icon01.png") no-repeat center;
	background-size: cover;
	top: -29px; left: -29px;
}
.featureItem:nth-child(3n - 2) .itemPic::after {
	content: '';	
	display: block;
	width: 45px; height: 28px;
	position: absolute;
	background: url("../../images/deco-icon02.png") no-repeat center;
	background-size: cover;
	bottom: -40px; left: -35px;
}

/*篩選2,5,8,11*/
.featureItem:nth-child(3n - 1) .itemPic::before {
	content: '';	
	display: block;
	width: 48px; height: 30px;
	position: absolute;
	background: url("../../images/deco-icon03.png") no-repeat center;
	background-size: cover;
	top: -40px; right: -35px;
}
.featureItem:nth-child(3n - 1) .itemPic::after {
	content: '';	
	display: block;
	width: 87px; height: 23px;
	position: absolute;
	background: url("../../images/deco-icon04.png") no-repeat center;
	background-size: cover;
	bottom: -35px; left: -35px;
}

/*篩選3,6,9,12*/
.featureItem:nth-child(3n) .itemPic::before {
	content: '';	
	display: block;
	width: 48px; height: 29px;
	position: absolute;
	background: url("../../images/deco-icon05.png") no-repeat center;
	background-size: cover;
	top: -40px; right: -35px;
}
.featureItem:nth-child(3n) .itemPic::after {
	content: '';	
	display: block;
	width: 49px; height: 49px;
	position: absolute;
	background: url("../../images/deco-icon06.png") no-repeat center;
	background-size: cover;
	bottom: -25px; right: -25px;
}

.featureItem .itemDesp {
	margin: 22px auto;
}
.featureItem .itemBtn {
	background-image: url("../../images/btn-piece.png");
	background-size: 2px 41px;
	position: relative;
}

.featureItem .itemBtn::before {
	content:'';
	background-image: url("../../images/btn-pastel.png");
	background-size:131px 41px;
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	width: 45px;
	height: 41px;
	left: -21px;
	top: 0;
}
.featureItem .itemBtn::after {
	content:'';
	background-image: url("../../images/btn-pastel.png");
	background-size:131px 41px;
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	width: 65px;
	height: 41px;
	right: -21px;
	top: 0;
}
.featureItem .itemBtn a {
	
}
.featureItem .itemBtn a:hover {
	color: #996633;
}


/********模板-電子書-t-ebook********/
.ebookFrame {
	display: flex;
	flex-direction: row;
	justify-content:center;
	flex-wrap: wrap;
	padding: 70px 60px 10px 60px;
	width: 1100px;
	margin: auto auto 20px auto;
	background-image: url("../../images/bg-pad.jpg"),url("../../images/bg-pad-piece.jpg");
	background-position: top center;
	background-size: 1100px auto;
	background-repeat: no-repeat, repeat-y;
	position: relative;
}
.ebookFrame::before {
	content:'';
	background: url("../../images/pic-compass.png") no-repeat;
	background-size: cover;
	display: block;
	width: 101px; height: 237px;
	position: absolute;
	bottom: -20px; left: -20px;
}
.ebookFrame::after {
	content:'';
	background: url("../../images/pic-protractor.png") no-repeat;
	background-size: cover;
	display: block;
	width: 73px; height: 81px;
	position: absolute;
	bottom: -20px; right: 25px;
}
.ebookItem {
	width: 272px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/*0209*/
	align-self: flex-start;
	margin: 30px 25px;
}
.ebookItem .itemPic {
	width: 272px;
	height: 340px;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 10px;
	margin-bottom: 20px;
	transition: all 0.2s ease-in-out;
}
.ebookItem .itemPic::before {
	content:'';
	display: block;
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 40px;
	background-color: rgba(255,255,255,.9);
	background-image: url("../../images/icon-book.png");
	background-size: 58px 40px;
	background-repeat: no-repeat;
	background-position: center;
	top: calc(50% - 40px); left: calc(50% - 40px);
	opacity: 0;
	transform: scale(1);
}
.ebookItem .itemPic:hover::before {
	opacity: 1;
	transform: scale(1.2);
	transition: all 0.2s ease-in-out;
}
.ebookItem:nth-child(odd) .itemPic {
	box-shadow: 10px 10px 0 0 #f1ba3c;
}
.ebookItem:nth-child(even) .itemPic {
	box-shadow: 10px 10px 0 0 #ffe37f;
}
.ebookItem .itemPic:hover {
	background-size: 130% 130%;
}


/****************模板-品項-t-multiple****************/
.multipleFrame {
	width: 1125px;
	margin: auto;
}
/*展開收合*/
/* ===== RWD 保留筆數變數 ===== */
.multi-content {
  --keep-count: 6; /* default desktop */
}

@media screen and (max-width: 1023px) {
  .multi-content {
    --keep-count: 3; /* tablet */
  }
}

@media screen and (max-width: 767px) {
  .multi-content {
    --keep-count: 2; /* mobile */
  }
}

/* ===== 基本樣式 ===== */
/*.multi-content*/ .content-list {
  overflow: hidden;
}

.multi-content.count-mode li {
  overflow: hidden;
  opacity: 1;
  max-height: 1000px; /* 足夠大 */
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* 收合動畫 */
.multi-content.is-collapsed.count-mode li {
  
}
.multi-content.count-mode li.collapsed-item {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

/* 按鈕樣式 */
.toggle-btn {
	position: absolute;
	bottom: 10px;
	left: calc(50% - 94px);
  margin: 8px auto 0 auto;
	background-color: transparent;
  background-image: url("../../images/btn-more.png");
  background-size: cover;
  width: 188px; height: 56px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125em;/*18px*/
}

/* 預設展開 */
.toggle-btn .text {
	margin: 0 5px;
}
.toggle-btn .icon {
  display: inline-block;
  width: 16px;
  height: 16px;
	margin-left: 3px;
	margin-top: -3px;
  background-image: url('../../images/icon-btn-arrow.png'); /* 預設箭頭向上 */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
  transform: scaleY(-1); /* 預設向上 */
}

/* 收合時 container 加 class is-collapsed */
.multi-content.is-collapsed .toggle-btn .icon {
  transform: scaleY(1); /* 收合時旋轉箭頭 */
	margin-top: 8px;
}

/*模板品項頁籤*/
.t-tabs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.t-tabs__label {
	/*0209*/
	/*width:50%;*/
	/*padding: 10px;
	cursor: pointer;*/
	
	/*0209*/
	margin: 0 15px;
	/*font-size: 1.125em;*/ /*18px*/
	color: #f1ba3c;
	font-weight: bold;
	/*background-color: #d8e266;
	margin-bottom: 10px;*/
	text-align: center;
}
.t-tabs__label span {
	padding: 10px;
	cursor: pointer;
	/*0209*/
	min-width:100px;
	font-size: 1.125em; /*18px*/
	color: #999;
	font-weight: bold;
	margin-bottom: 10px;
	text-align: center;
	display: inline-block;
	position: relative;
}
.t-tabs__label span::after {
	content:'';
	display: block;
	
	/*0209*/
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background-color:#999;
	
	/*0209start*/
	position: relative;
	left: 0;
	bottom: -5px;
	/*0209end*/
}
.t-tabs label.tab01 {
	text-align: right;
}
.t-tabs label.tab01 span{
	border-radius: 10px 0 0 10px;
}
.t-tabs label.tab02 {
	text-align: left;
}
.t-tabs label.tab02 span{
	border-radius: 0 10px 10px 0;
}

.t-tabs__radio {
	display: none;
}

.t-tabs__content {
	order: 1;
	display: none;
	
	width: 1125px;
	margin: auto;

}
.t-tabs__radio:checked + .t-tabs__label span {
	
	color: #f1ba3c;
	cursor: default;
}

.t-tabs__radio:checked + .t-tabs__label span::after {
	content:'';
	display: block;
	/*0209*/
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background-color:#f1ba3c;
	
	/*0209start*/
	position: relative;
	left: 0;
	bottom: -5px;
	/*0209end*/
}
.t-tabs__radio:checked + .t-tabs__label span::before {
	content:'';
	display: block;
	background-image: url("../../images/icon-tab-multiple.png");
	background-position: center;
	background-size: cover;
	width: 27px;
	height: 37px;
	position: absolute;
	/*0209*/
	left: -30px;
	top: 5px;
}

.t-tabs__radio:checked + .t-tabs__label + .t-tabs__content {
	display: initial;
}

/*資料容器UL*/
.content-list {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	padding: 40px 33px;
	width: 1125px;
	margin: 0 auto 50px auto;
	background-color: #fff070;
	border-radius: 30px;
}

 
.multipleItem {
	width: 330px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin:0 10px 30px 10px;
}
.multipleItem .itemTitle, .multipleItem .itemDesp{
	width: 100%;
}

/*資料為影片+播放ICON*/
.multi-video .multipleItem .itemPic::before {
	content: '';
	position: absolute;
	background-image: url("../../images/icon-hover-multiple.png");
	background-size: cover;
	width: 73px;
	height: 73px;
	display: block;
	top: calc(50% - 36px);
	left: calc(50% - 36px);
}
.multipleItem .itemPic {
	width: 330px;
	height: 185px;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px;
	margin-bottom: 20px;
	transition: all 0.2s ease-in-out;
}
.multipleItem .itemPic:hover {
	background-size: 130% 130%;
}
.multipleItem .itemTitle, .multipleItem .itemDesp {
	margin-bottom: 10px;
}
.multipleItem .itemBtn {
	background-image: url("../../images/btn-piece-2.png");
	background-size: 2px 41px;
	position: relative;
	margin: auto auto 5px auto;
}
.multipleItem .itemBtn::before {
	content:'';
	background-image: url("../../images/btn-light.png");
	background-size:131px 41px;
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	width: 45px;
	height: 41px;
	left: -21px;
	top: 0;
}
.multipleItem .itemBtn::after {
	content:'';
	background-image: url("../../images/btn-light.png");
	background-size:131px 41px;
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	width: 65px;
	height: 41px;
	right: -21px;
	top: 0;
}
.multipleItem .itemBtn a {
	color: #fff;
}
.multipleItem .itemBtn a:hover {
	color: #222;
}




/********模板-必選理由-t-core********/

.coreFrame {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0;
	width: 1125px;
	margin: 0 auto 30px auto;
	position: relative;
}
.coreFrame::after {
	content:'';
	background-image: url("../../images/deco-pic-core.png");
	background-size: cover;
	width: 229px; height: 165px;
	display: block;
	top: -155px; left: -15px;
	position: absolute;
	z-index: 0;
}
.coreItem {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	margin:0 20px 0 20px;
	width: 330px;
}
.itemGroup {
	border-radius: 20px;
	background-color: #fff070;
	position: relative;
	
	/*0209start*/
	width: 342px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	align-self: flex-start;
	padding: 20px 0;
	min-height: 527px;
	/*0209end*/
}

.itemGroup::before, .itemGroup::after {
	content:'';
	width: 12px; height: 40px;
	border-radius: 6px;
	background-color: #f1ba3c;
	position: absolute;
	top: 30px; left: -6px;
}
.itemGroup::after {
	top: auto;
	bottom: 30px; 
}
.coreItem .itemPic {
	width: 300px;
	height: 424px;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px;
	margin-bottom: 10px;
}

.coreItem .itemDesp {
	/*0209*/
	margin: 10px 0 0 0;
	/*0209*/
	width: 85%;
}
.coreItem .itemBtn {
	background-image: url("../../images/btn-piece-2.png");
	background-size: 2px 41px;
	background-repeat: repeat;
	margin: 20px auto 40px auto;
}
.coreItem .itemBtn::before {
	content:'';
	background-image: url("../../images/btn-light.png");
	background-size:131px 41px;
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	width: 45px;
	height: 41px;
	left: -21px;
	top: 0;
}
.coreItem .itemBtn::after {
	content:'';
	background-image: url("../../images/btn-light.png");
	background-size:131px 41px;
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	width: 65px;
	height: 41px;
	right: -21px;
	top: 0;
}
.coreItem .itemBtn a {
	color: #fff;
}
.coreItem .itemBtn a:hover {
	color: #222;
}


/********模板-數位-t-links********/
.linksFrame {
	padding: 10px 0 30px 0;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
}
.linksItem {
	width: 266px;
	display: flex;
	flex-direction: row;/*0226*/
	flex-wrap: wrap;/*0226*/
	align-items: center;
	justify-content: center;
	margin:0 5px 30px 5px;
}
.linksItem .itemPic {
	width: 250px;
	height: 97px;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 20px;
	margin-bottom: 20px;
	transition: all 0.2s ease-in-out;
}

.linksItem:nth-child(4n+1) .itemPic::after {
	background-position: top -10px left -10px, bottom -10px right -10px;
}
.linksItem:nth-child(4n+2) .itemPic::after {
	background-position: bottom -10px left 20px, top -10px right -10px;
}
.linksItem:nth-child(4n+3) .itemPic::after {
	background-position: bottom -10px left -10px, top -10px left 40%;
}
.linksItem:nth-child(4n+4) .itemPic::after {
	background-position: top -10px left -10px, top -10px right -10px;
}
.linksItem .itemPic::after {
	content:'';
	background-color: #fff070;
	background-image: url("../../images/bg-circle.png"),url("../../images/bg-circle.png");
	background-size: 65px 65px;
	
	background-repeat: no-repeat;
	border-radius: 20px;
	position: absolute;
	width: 266px; height: 113px;
	top: -8px;
	left: -8px;
	display: block;
	z-index: -1;
}

.linksItem .itemPic:hover {
	background-size: 130% 130%;
}
.linksItem .itemBtn {
	background-image: url("../../images/btn-piece-3.png");
	background-repeat: repeat-x;
	background-size: 2px 33px;
	height: 33px;
	min-width: 40px;/*0226*/
	margin: 0 20px;/*0226*/
}

.linksItem .itemBtn::before {
	content:'';
	background-image: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	width: 34px;
	height: 33px;
	left: -15px;
	top: 0;
}
.linksItem .itemBtn::after {
	content:'';
	background-image: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	width: 30px;
	height: 33px;
	right: -15px;
	top: 0;
}
.linksItem .itemBtn a {
	color: #333;
}

.linksItem .itemBtn a:hover {
	color: #996633;
}





/* ---------- Lightbox CSS ---------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.85);
  overflow: hidden;
}
.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
	/*0209*/
  margin: auto;
  text-align: center;
  color: #fff;
}
.lightbox-inner img,
.lightbox-inner iframe {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}
.lightbox-close {
  position: absolute;
  top: -35px; right: -35px;
  font-size: 30px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 99;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 99;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-caption {
  margin-top: 10px;
  font-size: 16px;
}
.lightbox-extra {
  margin-top: 10px;
}
.gallery {
  display: flex;
 /* gap: 10px;*/
 /* margin-bottom: 40px;*/
}
.gallery img {
  width: 120px;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 4px;
}
		
/* Lightbox 文字排版 */
.lightbox-caption h2 {
    font-size: 22px;
	font-weight: bold;
    margin: 20px auto 20px auto;
    color: #f1ba3c;
	width: fit-content;
	position: relative;
	
}
.lightbox-caption h2::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	border-radius: 1px;
	background:#f1ba3c;
	bottom: -10px;
	left: 0;
}

.lightbox-caption p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
	width: 85%;
	padding: 16px;
	margin: auto;
	text-align: left;
}

.lightbox-extra .custom-text {
  margin-top: 15px;
  font-size: 14px;
  color: #ddd;
  line-height: 1.5;
}

.lightbox-extra .btn-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-extra .btn-more:hover {
  background-color: #ffaa00;
}
		
		.lightbox-extra .btn-close {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #ff4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.lightbox-extra .btn-close:hover {
  background-color: #ff0000;
}
		
		.custom-text {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 20px;
  margin-top: 10px;
  border-radius: 6px;
  text-align: left;
}

.custom-text p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.custom-text button.btn-close {
  background: #f33;
  border: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.custom-text button.btn-close:hover {
  background: #c00;
}
		/*video*/
.lightbox .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 高度比例 */
  overflow: hidden;
}

.lightbox .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* lightbox 影片包裹容器 */
.lightbox-video-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* 影片與按鈕間距 */
  width: 80%;        /* 可依需求調整 */
  max-width: 960px;  /* 最大寬度 */
  margin: 0 auto;
}

/* 單一按鈕 */
.lightbox-single-btn {
  display: inline-block;
  margin: 16px auto 0 auto;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background-color: #ff3b3b;
  color: #fff;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.lightbox-single-btn:hover {
  background-color: #d90000;
  transform: scale(1.05);
}

/*個別樣式設定*/
/*相簿*/
.lightbox-image .lightbox-content {
	position: relative;
	width: 100%;
	height: 100%;
}
.lightbox-image .lightbox-content .lightbox-inner {
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 80vh;
	width: 100%;
	position: relative;
	margin: 30px auto;
}
.lightbox-image .lightbox-content .lightbox-inner img{
  max-width: 80%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}
.lightbox-image .lightbox-single-btn {
  	background: url("../../images/btn-piece-3.png");
	background-size: 2px 33px;
	background-repeat: repeat-x;
  	color:#333;
  	padding: 5px 10px;
  	border-radius: 6px;
	min-width: 35px;
	height: 33px;
	position: relative;
	/*0209*/
	bottom: 5px;
	margin: auto;
}


.lightbox-image .lightbox-single-btn::before {
	content:'';
	background-image: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-position: top left;
	background-repeat: no-repeat;
	position: absolute;
	width: 20px;
	height: 33px;
	left: -15px;
	top: 0;
}
.lightbox-image .lightbox-single-btn::after {
	content:'';
	background-image: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-position: top right;
	background-repeat: no-repeat;
	position: absolute;
	width: 20px;
	height: 33px;
	right: -15px;
	top: 0;
}

/*0209*/
.lightbox-image .lightbox-close {
	top: 0; right: 0;
}

.linksItem .itemBtn a {
	color: #333;
}

.linksItem .itemBtn a:hover {
	color: #996633;
}

/*影片*/
.lightbox-video .lightbox-content { 
	/*0209*/
	margin: 5% auto;
}
.lightbox-video .lightbox-single-btn {
	display:none;
  background: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-repeat: no-repeat;
  color:#333;
  padding: 5px;
  border-radius: 6px;
	width: 82px;
	height: 33px;
}


/*簡介*/
.lightbox-graphic .lightbox-content { 
	background-color: #f5f5f5; 
	border-radius: 20px;
	width: 60%;
	margin: 20% auto auto auto;
	color: #333; 
	padding: 16px;
}
.lightbox-graphic .lightbox-content img {
	display: none;
}

.lightbox-graphic .lightbox-single-btn {
  background: url("../../images/btn-bright.png");
	background-size: 82px 33px;
	background-repeat: no-repeat;
  color:#333;
  padding: 5px;
  border-radius: 6px;
	width: 82px;
	height: 33px;
}
.lightbox-graphic .lightbox-close { display:none;}




/*footer*/
.inner .footer {
	width: 100%;
	color: #999;
	font-size: 0.9375em;
	line-height: 1.4em;
	padding: 150px 1em 10px 1em;
	position: relative;
	background-image: url("../../images/footer-bg-l.png"), url("../../images/footer-bg-r.png"); 
	background-size: 564px 230px, 649px 202px;
	background-repeat: no-repeat;
	background-position: left -130px bottom 0, right -130px bottom 0;
	height: 230px;
	margin-top: 0;
	text-align: center;
}
.inner .footer a, .inner .footer a:link { color: #555;}


/*********************************RWD*********************************/
@media screen and (min-width: 1501px) {
	.inner_bg {
		padding-top: 60px;
		text-align: center;
		position: relative;
		/*background-image:url("../../images/top-bg-r.png"), url("../../images/top-bg-l.png"), url("../../images/bg-inner-l.svg"), url("../../images/bg-inner-r.svg") ;*/
		background-size: 159px 231px, 207px 177px auto,36% auto, 36% auto;
		background-repeat: no-repeat;
		background-position: center right 12%,center left 15%,bottom 0 left -20%, bottom 0 right -20%;
	}
}


@media screen and (max-width: 1400px) {
	/*國中選單無tab*/
	/*.elementary.inner .mainMenu .tabs > input,*/ .elementary.inner .mainMenu .tabs > label {
		/*display: inherit;*/
	}
	.inner_bg {
		
		background-position: top 55px right 70px,bottom 0 left 50px,bottom 0 left -30%, bottom 0 right -30%;
	}
}
@media screen and (max-width: 1199px) {
	.cont-width { width: 100%;}
	.featureFrame {
		width: 100%;
		padding: 40px 40px 0 40px;
	}
	.featureItem {
		width: 25%;
		margin:0 4% 60px 4%;
	}
	.featureItem .itemPic {
		width: 100%;
		height: 0;
		padding-bottom: 141%;
		box-shadow: 0 0 0 15px #fff070;
	}
}

@media screen and (max-width: 1130px) {
	.multipleFrame {
		width: 100%;
	}
	.content-list {
		padding: 40px 15%;
		width: 100%;
	}


	.multipleItem {
		width: 330px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		
	}
	.coreFrame {
		width: 100%;
	}
	.coreItem {
		margin:0 4% 30px 4%;
		width: 25%;
		max-width: 330px;
	}
	.itemGroup {
		width: 100%;
		/*0209*/
		padding: 20px;
		/*0209*/
		min-height: auto;
	}
	.coreItem .itemPic {
		width: 100%;
		height: 0;
		padding-bottom: 141%;
	}
	.linksFrame {
		width: 564px;
		margin: auto;
	}
	
}

@media screen and (max-width: 1120px) {
	.ebookFrame {
		width: 90%;
		background-size: 100% auto;
	}
	.ebookItem {
		width: 24%;
		margin: 30px 4%;
	}
	.ebookItem .itemPic {
		width: 100%;
		height: 0;
		padding-bottom: 125%;
		margin-bottom: 20px;
		transition: all 0.2s ease-in-out;
	}
}

@media screen and (max-width: 1080px) {
	
	.videoFrame {
		width: 100%;
	}
	
}

@media screen and (max-width: 1000px) {
	.content-list {
		padding: 40px 10%;
	}
	.inner .footer {
		background-size: 463px auto, 415px auto;
		height: 185px;
		padding: 100px 1em 10px 1em;
	}
}

@media screen and (max-width: 899px){
	.coreFrame {
		align-items: flex-start;
	}
}

@media screen and (max-width: 640px){
	.inner .footer {
		
		padding: 70px 1em 10px 1em;
	}
	.inner .footer span {
		display: block;
		visibility: hidden;
		height: 1px;
	}
}

@media screen and (max-width: 600px){
	.inner .footer {
		
		background-size: 463px auto, 415px auto;
		height: 233px;
	}
}

@media screen and (max-width: 899px) {
	
	.featureItem {
		width: 40%;
		max-width: 315px;
		margin:0 5% 60px 5%;
	}
	.ebookItem {
		width: 40%;
		max-width: 272px;
		margin: 30px 5%;
	}
	
	.coreItem {
		margin:0 4% 30px 4%;
		width: 35%;
	}
	
}
@media screen and (max-width: 879px) {
	.content-list {
		padding: 40px 50px;
	}
}

@media screen and (max-width: 800px) {
	.inner_bg {
		padding-top: 60px;
		text-align: center;
		position: relative;
		background-image: url("../../images/top-bg-l.png"), url("../../images/bg-inner-l.svg"), url("../../images/bg-inner-r.svg") ;
		background-size: 132px 192px,598px 557px, 598px 557px;
		background-repeat: no-repeat;
		background-position: top 90px left 70px,bottom 0 left -25%, bottom 0 right -25%;
	}
	.inner .footer {
		background-size: 363px auto,352px auto;
		background-position: left -120px bottom 0,right -130px bottom 0;
		height: 157px;
	}
}

@media screen and (max-width: 799px) {
	.content-list {
		flex-direction: column;
		align-items: center;
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 768px) {
	.floating-menu ul {	
		display: none;
	}
}
@media screen and (max-width: 740px) {
	.coreFrame::after { display: none;}
}
@media screen and (max-width: 700px) {
	.inner_bg {
		padding-top: 60px;
		text-align: center;
		position: relative;
		background-image: url("../../images/bg-inner-l.svg"), url("../../images/bg-inner-r.svg") ;
		background-size: 598px 557px, 598px 557px;
		background-repeat: no-repeat;
		background-position: bottom 0 left -150px, bottom 0 right -150px;
	}
}


@media screen and (max-width: 640px) {
	.lightbox-close {
  		position: absolute;
		top: 15px; right: 15px;
	}
}
@media screen and (max-width: 630px) {
	
}

@media screen and (max-width: 599px) {
	
	
	.featureItem {
		width: 85%;
		margin:0 auto 60px auto;
	}
	.ebookFrame {
		padding: 40px 16px 10px 16px;
		width: 100%;
		background-size: 100% auto;
		flex-direction: column;
		align-items: center;
	}
	.ebookFrame::before {
		display: none;
		/*transform: rotate(-75deg);
		bottom: -105px; left: auto;
		right: 80px;*/
	}
	.ebookItem {
		width: 80%;
		max-width: 272px;
		margin: 30px auto;
	}
	
	
	.coreItem {
		margin:0 auto 30px auto;
		width: 85%;
	}
	
	
}

@media screen and (max-width: 570px) {
	.linksFrame {
		width: 100%;
		flex-direction: column;
		align-items: center;
	}
}

@media screen and (max-width: 540px) {
	
	.video-bg {
		padding: 30px 40px;
	}
	
}

@media screen and (max-width: 490px) {
	/******置底浮動選單******/
	.floating-menu {
	    position: fixed;
	    right: 0;  
	    bottom: 0; 
	    z-index: 999;
	    min-width: 118px;
	    width: 100%;
	    height: 40px;
	    opacity: 0;
	    pointer-events: none;
	    transform: translateY(40px);
	    transition: opacity 0.3s ease, transform 0.3s ease;
	    display: flex;
	    flex-direction: row;
	    justify-content: center;
		align-items: center;
	}
	.floating-menu a {
		color: #222;
		font-size: 1.0625em;/*17px*/
		text-align: center;
		font-weight: bold;
	}
	.floating-menu a:hover {
		color: #333;
	}

	/* 顯示狀態 */
	.floating-menu.is-visible {
		border-radius: 0;
		padding: 0;
	}
	
	.otherLink::before {
		/*content:'';*/
		display: block;
		width: 6px; height: 20px;
		margin: 0 ;
		background-color: #fff;
		position: absolute; top: calc(50% - 10px);
		right: -20px;
		border-radius: 3px;
	}
	.otherLink {
		position: relative;
		top: auto; left: auto;
		/*0209*/
		width: 50%!important;
		min-width: 100px;
		background-color: transparent;
		border-radius: 0;
		background-image: none;
		display: block;
		text-align: center;
		margin: auto;
		
	}
	.otherLink a::after {
		content:'';
		background: url("../../images/icon-link-arrow-2.png") no-repeat;
		background-size: cover;
		width: 10px; height: 12px;
		display: inline-block;
		margin-left: 6px;
	}
	.goTop {
		/*0209*/
		width: 50%!important; 
		height: 28px;
		background-color: transparent;
		border-radius: 10px;
		display: flex!important;
		justify-content: center;
		align-items: center;
		position: relative;
		margin: auto;
	}
	a.goTop  {
		color:#222;
	}
	.goTop::after {
		content:'';
		background-image: url("../../images/icon-btn-arrow-bright-2.png");
		
	}
	.inner .footer {
		padding: 0 1em 10px 1em;
		margin-bottom: 39px;
		background-size: 311px auto,300px auto;
		background-position: left -120px bottom 0,right -100px bottom 0;
	}
	
}
@media screen and (max-width: 390px) {
	.inner .footer {
		
		background-size: 261px auto,250px auto;
		background-position: left -120px bottom 0,right -80px bottom 0;
	}
}
@media screen and (max-width: 370px) {
	.content-list {
		padding: 40px 16px;
	}
	.multipleItem {
		width: 85%;
		
	}
	.multipleItem .itemPic {
		max-width: 330px;
		width: 100%;
		height: 0;
		padding-bottom: 56%;
		background-size: 100% 100%;
		background-position: center;
		background-repeat: no-repeat;
		border-radius: 20px;
		margin-bottom: 20px;
		transition: all 0.2s ease-in-out;
	}
}




