@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{
  max-width:120rem;
  margin:0 auto;
  text-align: center;
}

.container-a{
  margin: 0px auto 15px 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{
    max-width: 70%;
    margin: 60px 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*/
.flex-top{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
.flex{
	display:flex;
	justify-content: center;
	flex-wrap:wrap;
}
.section1-1 {
  width: calc(100% - 0rem);
  background: url(images/contaner_rp.png);
  margin: 0px 0 15px 0;
  -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;
}
.section1-2 {
  width: calc(100% - 0rem);
  margin: 0 0 0 0;
}
.section1-3 {
  width: calc(45.8% - 0rem);
  background: #d9000082;
  margin: 0 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-4 {
  width: calc(92% - 0rem);
  margin: 0;
}
.section1-5 {
  width: calc(22.5% - 0rem);
  background: #d9000082;
  margin: 4px 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.section1-6 {
  width: calc(93% - 0rem);
  background: url(images/international.png);
  margin: 4px 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 22px;
}
.section1-7 {
  width: calc(22.5% - 0rem);
  background: url(images/international.png);
  margin: 4px 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 22px;
  padding: 0 0 20px 0px;
}
.section1-8 {
  width: calc(22.5% - 0rem);
  margin: 4px 5px;
  background-color: #ffffff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 22px;
  padding: 0 0 20px 0px;
}

/*產品*/


.cover-1 {
	aspect-ratio: unset;
}
.cover-1 {
    width: calc(100% - 0rem);  
    display: flex;
    align-items: center;
    justify-content: center;
}
.cover-1 img {
    width: calc(100% - 0rem);  
    max-height: 100%;  
    object-fit: contain;
}

.cover {
aspect-ratio: 1 / 1;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}
.cover img {
    max-width: 100%;
    max-height: 100%;  
    object-fit: contain;
}

.book{
  padding: 0 0 27px 0;
  -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;
  background: url(images/contaner_rp.png);
}
.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 {
  font-size: 2.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
  background-color: #ffce44ad;
  padding: 7px;
}
.bookname-2 {
	font-size: 1.8rem;
	display: block;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-weight: bold;
}
.bookname-3 {
	font-size: 1.8rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	background-color: #59d1ff;
	padding: 6px;
}
.bookname-4 {
	font-size: 1.5rem;
	display: block;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	padding: 7px 0 0 18px;
  line-height: 29px;
  text-align: left;
} 
.bookname-5{
  font-size: 2.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
  background-color: #cf2c7fad;
  padding: 7px;
}

.bookname-6{
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  align-items: baseline;
  flex-direction: row;
  justify-content: flex-start;
  font-size: 1.6rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  padding: 0px;
  text-align: center;
  color: #FFFFFF;
}
.bookname-7{
  font-size: 2rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  padding:0 0 18px 0;
  text-align: center;
  color: #FFFFFF;
}
.bookname-8{
	font-size: 1.8rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-weight: bold;
	background-color: #7359ff;
	padding: 5px;
}
.bookname-9{
	font-size: 1.8rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-weight: bold;
	background-color: #269156;
	padding: 5px;
}



.extitle {
	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;
}
.extitle-1 {
    font-size: 1.8rem;
    color: #b70000;
    font-weight: bold;
    padding: 15px;
    border-bottom: 3px solid #d12020;
    padding-bottom: 11px;
    text-shadow: 1px 2px 1px #ffcaca;
}
.extitle-2 {
    font-size: 2rem;
    color: #ffffff;
}
.extitle-3 {
    color: #9d4113;
    font-size: 22px;
    padding: 2px 37px;
    text-decoration: underline;
}
.extitle-4 {
    color: #fcc600;
    font-size: 22px;
    padding: 2px 37px;
    text-decoration: underline;
}
.extitle-5 {
    color: #fcc600;
    font-size: 19px;
    text-decoration: underline;
}
.extitle-6 {
  font-size: 2.5rem;
  color: #300000;
  padding: 6px 0;
  text-align: center;
  font-weight: bold;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 2px #ffdbdb;
  border-bottom: 2px solid #d30000;
  padding-bottom: 12px;
}
.extitle-7 {
  font-size: 1.9rem;
  color: #300000;
  padding: 6px 0;
  text-align: center;
  font-weight: bold;
  margin: 18px 0 0px 0;
  text-shadow: 2px 2px 2px #ffdbdb;
  border-bottom: 2px solid #d30000;
  padding-bottom: 12px;
}
.extitle-8 {
  font-size: 1.9rem;
  color: #00233c;
  padding: 6px 0;
  text-align: center;
  font-weight: bold;
  margin: 18px 0 0px 0;
  text-shadow: 2px 2px 2px #ffdbdb;
  border-bottom: 2px solid #143c40;
  padding-bottom: 12px;
}
.extitle-9 {
  font-size: 1.9rem;
  color: #0078b3;
  padding: 6px 0;
  text-align: center;
  font-weight: bold;
  margin: 18px 0 0px 0;
  text-shadow: 2px 2px 2px #9affe3;
  border-bottom: 2px solid #00c9d3;
  padding-bottom: 12px;
}





/*文字區塊*/

.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;
}