@charset "utf-8";
/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;200;300;400;500;600;700;800;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap');
/*Noto Sans TC 黑體 Noto Serif TC 明體*/
@font-face {
  font-family: '圆体夏蝉丸ゴシック';
  src: url("https://www.cavesbooks.com.tw/Files/web_material/fonts/圆体夏蝉丸ゴシック.ttf");
}/*圆体夏蝉丸*/
@font-face {
  font-family: 'jf-openhuninn-2.0';
  src: url("https://www.cavesbooks.com.tw/Files/web_material/fonts/jf-openhuninn-2.0.ttf");
}/*粉圓2.0*/
@font-face {
  font-family: 'Kaisei';
  src: url("https://www.cavesbooks.com.tw/Files/web_material/fonts/KaiseiHarunoUmi-Bold.ttf");
}/*Kaisei*/
@font-face {
  font-family: 'NaikaiFont';
  src: url("https://www.cavesbooks.com.tw/Files/web_material/fonts/NaikaiFont-Bold.woff");
}/*瀨戶字體*/
html {font-size:10px;}
#background_wrap {
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/* background: url('images/bg.jpg')top center; */
	background-attachment: scroll;
	background-size: cover;
}
p,h3{margin:0}
li{list-style-type: none}
img {
  border: 0;
  vertical-align: bottom;
}
body {
  margin: 0;
  padding: 0;
  font-family: Noto Sans TC, Montserrat, Roboto, Helvetica, Arial, sans-serif;
}
/* .header-img{
  width: 100%;
  margin:0 auto;
  text-align: center;
} */


.container{
  width:calc(92% - 0rem) ;
  max-width:120rem;
  margin:0 auto;
  text-align: center;
}

.container-a{
  width:calc(92% - 0rem) ;
  max-width:120rem;
  margin:0 auto;
  text-align: center;

}
.container-a1{
  width:calc(92% - 0rem) ;
  max-width:120rem;
  margin:0 auto 30px auto;
  text-align: center;
  background: url(images/container_y.jpg);
  -webkit-border-bottom-right-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottomright: 20px;
  -moz-border-radius-bottomleft: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-size: 100%;
}

.container-b{
  width: calc(92% - 0rem);
  margin:0 auto 36px auto;
  text-align: center;
  background: url(images/contaner_r1.png);
}
.container-c{
  width: calc(92% - 0rem);
  margin:0 auto 36px auto;
  text-align: center;
  background: url(images/contaner_r2.png);
}
.container-d{
  width: calc(92% - 0rem);
  margin:0 auto 36px auto;
  text-align: center;
  background: url(images/contaner_r3.png);
}
.container-e{
  width: calc(92% - 0rem);
  margin:0 auto 36px auto;
  text-align: center;
}



/*logo*/
#logo-header {  background-color: black;}
.logo {  padding: 1rem;}
.social_media_logo {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  max-width: 15rem;
  align-items: center;
}
.social_media_logo img {
  height: 3.5rem;
  margin-left: 1rem;
}
/*logo*/

#gotop {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 12rem;
	height:12rem;
	background: url(images/top.png)center no-repeat;
	background-size:contain;
}
#gotop:hover {
	background-image: url(images/top-over.png);
}


/*header*/
.header-title-top{
  max-width: 100%;
  margin: 0 0 0 0;
}
.header-title-one{
    max-width: 100%;
    margin: 0 0 0 0;
}
.header-title{
  max-width: 100%;
  margin: 0 0 0 0;
}
.header-title01 {
  max-width: 100%;	
  margin: 0;
}
.header-title02 {
  max-width: 80%;	
  margin: 20px;
}
  
  

/*header*/

/*nav*/
nav li {
width: calc(25% - 2rem);
    list-style-type: none;
    padding: 2rem;
}
nav li a {
  text-decoration: none;
  color:black;}
nav li a:hover {
  color:blue;
}
nav li.act a {
  color: red;
}
nav li a:hover span.arrow {
  transform: rotate(90deg)
}

nav li.act span.arrow {
  transform: rotate(90deg)
}

nav.circle li {
	aspect-ratio: 1 / 1;
	width: 10%;
	border-radius: 50%;	
}

/*nav*/
.container_top{
  width:calc(100% - 0rem);
  height: 521px;
  float: left;
  background: url(images/container_top.png);
}
.flex-top{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
.flex{
	display:flex;
	justify-content: center;
	flex-wrap:wrap;
}
.flex-1{
	display:flex;
	justify-content: center;
}
.flex-2{
	display:flex;
	justify-content: center;
	flex-wrap:wrap;
}
.flex-3{
  display: flex;
  justify-content: center;
}
.section1 {
  width: calc(100% - 0rem);
  margin: 25px 0 15px 0;
  position: relative;
}
.section1-1 {
  width: calc(100% - 0rem);
  margin: 36px 0 15px 0;
}

.section1-2 {
  width: calc(92% - 0rem);
  margin: 0;
}
.section1-3 {
  width: calc(92% - 0rem);
  margin: 0;
}
.section1-4{
  display: flex;
  width: calc(89% - 0rem);
  margin: 0 auto 10px auto;
  justify-content: center;
}
.section1-41{
  width: calc(89% - 0rem);
  margin: 0 auto 30px auto;
}
.section1-5 {
  width: calc(100% - 0rem);
  margin: 28px auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-6 {
  width: calc(69% - 0rem);
  margin: 4px auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-7 {
  width: calc(100% - 0rem);
  margin: 4px auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-8 {
  display: flex;
  width: calc(100% - 0rem);
  margin: 4px auto 0 auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-9 {
  width: calc(30% - 0rem);
  margin: 4px 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: relative;
}


.section1-10 {
  width: calc(92% - 0rem);
  margin: 20px auto 0 auto;
}
.section1-11 {
  width: calc(29% - 0rem);
  margin: 9px 12px;
  background-color: #ffeec0;
}
.section1-12 {
  width: calc(100% - 0rem);
  margin: 0px auto;
}
.section1-13{
  width: calc(81% - 0rem);
  margin: 1px auto 23px auto;
}
.section1-14 {
  width: calc(22% - 0rem);
  margin: 9px 6px;
  background-color: #ffeec0;
}
.section1-15 {
  width: calc(52% - 0rem);
  margin: 43px 6px;
}
.section1-16 {
  width: calc(30% - 0rem);
  margin: 9px 6px;
}
.section1-17 {
  width: calc(50% - 0rem);
  margin: 28px 91px 0 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}


.title-icon{
  width:68px;
  height: 38px;
  margin: 6px;
  background: url(images/title-icon.png);
}
.title-icon1{
  width:46px;
  height: 38px;
  margin: 6px;
  background: url(images/title-icon.png);
}


/*產品*/


.cover-1 {
	aspect-ratio: unset;
}
.cover-1 {
  width: calc(80% - 0rem);
  display: flex;
  align-items: flex-start;
  padding: 57px 29px 0 29px;
}
.cover-1 img {
    width: calc(100% - 0rem);  
    max-height: 100%;  
    object-fit: contain;
}

.cover {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cover img {
    max-width: 100%;
    max-height: 100%;  
    object-fit: contain;
}
.cover-2 {
  width: calc(7% - 0rem);  
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-2 img {
  width: calc(26% - 0rem);
  max-height: 100%;
  object-fit: contain;
  margin: 0 0 0 11px;
}
.cover-3 {
  width: calc(80% - 0rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 5px auto;
  padding: 19px;
}
.cover-3 img {
  width: calc(100% - 0rem);  
  max-height: 100%;  
  object-fit: contain;
}
.cover-4 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 5px 20px
}
.cover-4 img {
  width: calc(100% - 0rem);  
  max-height: 100%;  
  object-fit: contain;
}
.cover-5 {
  width: calc(85% - 0rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.cover-5 img {
  width: calc(40% - 0rem);
  max-height: 100%;
  object-fit: contain;
  margin: 0 0 0 0;
}
.cover-6 {
  width: calc(100% - 0rem);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}
.cover-6 img {
  width: calc(30% - 0rem);  
  max-height: 100%;  
  object-fit: contain;
}

.book{
  margin: 0 auto 0 auto;
  -webkit-border-bottom-right-radius: 22px;
  -webkit-border-bottom-left-radius: 22px;
  -moz-border-radius-bottomright: 22px;
  -moz-border-radius-bottomleft: 22px;
  border-bottom-right-radius: 22px;
  border-bottom-left-radius: 22px;
}
.book a{text-decoration: none;color:rgb(255, 255, 255)}



.book p {
	font-size: 1.5rem
}
.book01 p {
	font-size: 1.5rem
}

.bookname {
	font-size: 1.8rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-weight: bold;
	background-color: #990404;
	padding: 6px;
}
  .bookname-1 img{
    padding: 3px;
    margin: 0 auto;
  }
 .bookname-1 {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 45px;
  background-color: #f1624b;
  padding: 11px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.bookname-2 {
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 57px;
  background-color:#870c00;
}
.bookname-3 {
  font-size: 1.8rem;
  padding: 10px 0 10px 0;
  line-height: 27px;
  text-align: center;
  font-weight: bold;
  color: #222222;
}
.bookname-4 {
  width: calc(40% - 0rem);
  font-size: 1.5rem;
  display: block;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 0 16px;
  line-height: 29px;
  text-align: center;
} 
.bookname-5{
  width: calc(100% - 0rem);
  font-size: 2.2rem;
  display: block;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 9px 15px;
  line-height: 45px;
  text-align: left;
  vertical-align: top;
  color: #ffffff;
}
.bookname-5 img{
  width: calc(95% - 0rem);
  margin: 35px auto 20px auto;
}
.bookname-6{
  font-size: 3.2rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 48px;
  background-color: #d96600;
  padding: 18px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.bookname-7{
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 57px;
  background-color: #f0882b;
}
.bookname-8{
  width: calc(40% - 0rem);
  font-size: 1.5rem;
  display: block;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 7px 0 0 26px;
  line-height: 29px;
  text-align: center;
}
.bookname-9{
  font-size: 3.2rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 48px;
  background-color: #07917c;
  padding: 18px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-top-right-radius: 20px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-topright: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.bookname-10 {
  font-size: 3.2rem;
  color: #ffffff;
  line-height: 57px;
  background-color: #00b79b;
}
.bookname-11 {
  width: calc(83% - 0rem);
  font-size: 2.4rem;
  color: #b73d00;
  line-height: 52px;
  text-align: center;
  font-weight: bold;
  margin:36px 0 30px 0;
}
.bookname-12{
  width: calc(77% - 0rem);
  font-size: 1.5rem;
  display: block;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 7px 26px;
  line-height: 29px;
  text-align: center;
}
.bookname-13{
  font-size: 3rem;
  color: #ffb300;
}
.bookname-14{
  font-size: 1.4rem;
  color: #b5b5b5;
  font-weight: bold;
}
.bookname-15{
  font-size: 1.4rem;
  color: #f5a0a0;
  font-weight: bold;
  text-decoration: underline;
}



.extitle {
	background: unset;
	font-size:2rem;
	color:#FFFFFF;
  margin: 0.5rem 0px;
  padding: 11px;
  border: 2px solid #d75411;
  box-shadow: 1px 1px 2px #af4108;
  &:hover{
    border: 2px solid #ffea00;
  }
}
.extitle-1 {
  font-size: 2.5rem;
  color: #b70000;
  font-weight: bold;
  padding: 15px;
  padding-bottom: 0px;
  text-shadow: 1px 2px 1px #ffcaca;
}
.extitle-2 {
  font-size: 1.9rem;
  color: #ffffff;
  background-color: #fd9135;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 31px;
  line-height: 46px;
}
.extitle-3 {
	background: unset;
	font-size:2rem;
	color:#FFFFFF;
  margin: 0.5rem 0px;
  padding: 11px;
  background-color: #ff803e;
  border: 1px solid #d75411;
  box-shadow: 1px 1px 2px #af4108;
  &:hover{
    background-color: #ffb085;
    border: 1px solid #d75411;
    box-shadow: 1px 1px 2px #af4108;  }
}
.extitle-4{
  padding: 0 0 0 20px;
  color: #fff900;
}
 .extitle-5 {
  background: unset;
  font-size: 2rem;
  color: #FFFFFF;
  padding: 12px;
  background-color: #4CAF50;
}
.extitle-6,.extitle-9,.extitle-10 {
  font-size: 1.9rem;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 31px;
  line-height: 46px;
  margin: 3rem 1rem 1rem 1rem;
}
.extitle-6 {
  color: #ffffff;
  background-color: #fd9135;
}
.extitle-9 {
  color: #ffffff;
  background-color: #ff5050;
}
.extitle-10 {
  color: #ffffff;
  background-color: #776efc;
}


.extitle-7 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #440202;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 31px;
  line-height: 66px;
}
.extitle-8{
  color: #ff0808;
}
.extitle-11{
  font-size: 2rem;
  font-weight: bold;
  color: #a9a9a9;
  line-height: 19px;
}
.extitle-12 {
  background: unset;
  font-size: 2rem;
  color: #FFFFFF;
  padding: 12px;
  background-color: #bb5900;
  &:hover{
    background-color: #e77103;
  }
}

/* .book-intro h2 {
  font-size: 1.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
  padding: .5rem;
  color: #9b6449;
} */



/*文字區塊*/

.f-w-b {
  font-weight: bold
}
.font15 {
  font-size: 1.5rem;
}
.font18 {
  font-size:1.8rem;
}
.font20 {
  font-size: 2rem;
}
.font24 {
  font-size: 2.4rem;
}
.font30 {
  font-size:3rem;
}
.font36 {
  font-size: 3.6rem;
}
.text-align-l {
  text-align: left;
}
.text-align-r {
  text-align: right;
}
.text-align-c {
  text-align: center;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.material-symbols-sharp, .material-symbols-outlined {
  vertical-align: middle;
}
/*文字區塊*/
footer {
  padding: 10px 0;
  font-size: 1.2rem;
  font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
  color: #fff;
  background-color: #000;
  text-align: center;
}


/* 卡片動態 */
@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.group {
  will-change: transform; /* 我們應該對瀏覽器友好——讓它知道我們將要動畫化。 */
  animation: scrolling 30s linear infinite;
  display: flex;
  gap: 20px;
  /* 向右添加填充以在最後一張卡片和第一張卡片之間創建間隙。 */
  padding-right: 20px;
}

.carousel {
  margin: 0px auto 14px auto;
  padding: 20px 0;
  max-width: 1170px;
  overflow: hidden;
  display: flex;
  > * {
    flex: 0 0 200%;
  }
  &:hover .group {
    animation-play-state: paused;
  }
}

.card {
  width: 100%;
  background-color: #ffffff;
  color: white;
  border-radius: 24px;
  box-shadow: rgba(0, 0, 0, 10%) 5px 5px 20px 0;
  font-size: xx-large;
  justify-content: center;
  align-items: center;
  min-height: 200px;

  &:nth-child(1) {
    background: #ffffff;
  }

  &:nth-child(2) {
    background: #ffffff;
  }

  &:nth-child(3) {
    background: #ffffff;
  }
}
/*圖標*/
.icon{
  color: #cd5500;
  font-size: 24px;
  transition: transform 0.3s ease;
}
.icon:hover{
  transform: scale(1.2);

}
/*框線*/
.zi_box_1 {
  margin: 0.4em 0px;
  padding: 7px;
  border: 2px dashed #fff8a4;
  color: #db3939;
  border-radius: 19px 19px 0 0;
  position: relative;
}
.zi_box_3_img{
  float: left;
  position: absolute;
  left: 41.5%;
  top: 5px;
  width: 38px;
  height: 38px;
  background: url(images/ramen_dining_41dp_BB271A.svg);
}
.zi_box_4_img{
  float: left;
  position: absolute;
  left: 54.5%;
  top: 5px;
  width: 38px;
  height: 38px;
  background: url(images/ramen_dining_41dp_BB271A.svg);
}

.zi_box_2 {
  margin: 0.4em 0px;
  padding: 7px;
  border: 2px dashed #ffc3c3;
  color: #ffffff;
  border-radius:28px;
}
