@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');
html {
    font-size: 62.5%;
    /* =10px */
    font-family: 'Noto Sans TC', 'Noto Sans CJK TC', Arial, sans-serif;
}

header.index {
    position: relative;
    width: 100%;
    height: 52rem;
    background: url("https://www.cavesbooks.com.tw/Files/2017/test/mytb/images/bg.jpg")center
}
marquee{padding:1rem 0}

button,
input,
optgroup,
select,
textarea {
    line-height: 1
}

p {
    margin: 0
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

select {
    /*ç§»é™¤ç®­é ­æ¨£å¼*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    /*æ”¹è®Šå³é‚Šç®­é ­æ¨£å¼*/
    background: url('images/down_arrow_icon.svg') no-repeat right center transparent;
    background-size: 2rem;
    border: 0px;
    padding-right: 2rem;
}

.index-pre {
    background: url(images/index-pre-bg-l.png)left -20rem bottom -20rem no-repeat, url(images/index-pre-bg-r.png)right -20rem bottom -20rem no-repeat #e9eef8;
    text-align: center;
    background-size: contain;
}

.index-pre .header-content {
    background-color: rgba(255, 255, 255, 0.7);
}

.index-pre .logo {
    color: #000
}

.index-pre nav {
    max-width: 120rem;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.index-pre nav li {
    width: calc(50% - 15rem);
    list-style-type: none;
    border-radius: 5rem;
    background-color: #ffc024;
    color: #000;
    box-shadow: 1rem 1rem 2rem rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    padding: 2rem;
}

.index-pre nav li:hover {
    filter: brightness(1.1);
}

.index-pre nav li:nth-last-child(1) {
    background-color: #00a0f6;
    color: #fff;
}

.index-pre nav li:nth-last-child(1) p {
    font-size: 3rem;
    overflow-wrap: break-word;line-height: 4rem;
}

.index-pre nav li h3 {
    font-size: 3.6rem;
    font-weight: normal;
}

.index-pre nav li a {
    display: block;
    text-decoration: none;
    color: unset;
}

.index-pre nav li p,
.index-pre nav li span {
    font-size: 1.8rem;
    word-break: break-word;
    line-height: 3rem;
}

.index-pre nav li p {
    flex-shrink: 0;
}

.nav-sites {
    text-align: left;
    display: flex;
    padding: 1rem;
}

.swal2-html-container h3 {
    font-size: 2.4rem
}

.swal2-html-container p {
    font-size: 1.6rem;
    text-align: left;
}

.swal2-html-container span {
    color: red;
}


/*é¦–é è¼ªæ’­20230530*/

.swiper {
    width: 100%;
    height:100%;
}

.swiper-slide {
  height:0!important;
  padding-bottom:32%;
    text-align: center;
    font-size: 18px;
    background: #fff;
   overflow: hidden;

   
}

.swiper-slide img {
    display: block;
    width: 100%;
     /*height: 100%;
   object-fit: cover;*/
}


/*rwd0203*/

.form-group select {
    appearance: none;
    background: url(images/down_arrow_icon.svg)no-repeat right 1rem center;
    background-size: 10%;
}

.color-blue {
    color: #1820ee;
}

.txt16 {
    font-size: 1.6rem
}

.news-ticker {
    display: flex;
    align-items: center;
    height: 4rem;
    background-color: #FFC024;
    color: #343434;
    box-shadow: 0 .3rem .6rem #00000029;
    font-size: 1.8rem;
}

.header-content {
    width: calc(100% - 8rem);
    /*rwd0203*/
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /*rwd0202*/
    margin: 0 auto;
    /*rwd0206*/
    background-color: #ffffff3b;
}

.w1200 {
    max-width: 120rem;
    margin: 0 auto;
}

.w650 {
    max-width: 65rem;
    margin: 0 auto;
}

.loginoutbox {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    /*rwd0206*/
}

.loginoutbox .shopping-car {
    /*width: 1rem;
height: 5.8rem;*/
    /*rwd0203*/
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loginoutbox .shopping-car a {
    padding-top: 0.9rem;
}

.loginoutbox .shopping-car:hover span {
    background-color: #0007b7;
    border-radius: 999em;
}

.login-form,
.forget-password-content,
.signup-form,
.member-mail-form {
    max-width: 60%;
    margin: 0 auto;
    padding: 0 4rem;
    /*rwd0207*/
}

.login li,
.logout li {
    list-style-type: none;
    display: inline-block;
}

.login li:first-child {
    padding-right: 2rem
}

.login li a,
.logout li a {
    text-decoration: none;
    color: #fff
}

.login li:nth-child(2) {
    padding: 0.8rem 2.4rem;
    border: 1px solid #fff;
    border-radius: 2.2rem;
}

.login li:nth-child(1):hover,
.logout li a:hover {
    text-decoration: underline;
}

.login li:nth-child(2):hover {
    background-color: #fff;
}

.login li:nth-child(2):hover a {
    color: #1820EF;
}

.logout {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
}

.logout li {
    /* padding: 0 2.4rem;*/
    padding: 0 2%;
}

.logout li span {
    position: relative;
    padding: 1rem;
}

/*.logout li by allen */
.shopping-car a span:before {
    content: attr(pesudo-content);
    display: flex;
    font-family: 'Noto Sans TC', Arial, sans-serif;
    background-color: red;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    color: white;
    position: absolute;
    /*rwd0217*/
    right: -0.3rem;
    top: -0.3rem;
    padding: 0.1rem;
    /*rwd0217*/
}

.index .logo,
.index .logout {
    min-width: 50%
}

.logo {
    flex-grow: 1;
}

.logo,
header.index .logo a,
.logo a {
    display: flex;
    align-items: center;
    color: #fff;
    /*èª¿æ•´ è®Šå¤§*/
    font-size: 2.8rem;
}

.logo a {
    text-decoration: none;
    color: #000;
    padding: 1rem 0;
    /*rwd0202*/
    justify-content: flex-start;
    flex-grow: 1;
}

.logo img {
    /*èª¿æ•´ è®Šå¤§*/
    max-width: 7rem;
    padding-right: 0.8rem;
}

.slogan {
    text-align: center;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30%;
    /*rwd0203*/
    /*top: 50%;rwd0203*/
}

.slogan h3 {
    font-size: 4rem;
    margin: 0;
    padding-bottom: 2rem;
    font-weight: normal;
}

.slogan p {
    font-size: 1.8rem;
    margin: 0;
}

.search-box {
    position: absolute;
    width: calc(90% - 8rem);
    max-width: 110.7rem;
    /*rwd0201*/
    /*height: 12rem; /*rwd0203*/
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0.6rem 0.6rem 1rem #00000033;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -5rem;
    padding: 3rem 4rem;
    font-size: 2rem;
}

.searchbar {
    display: flex;
    justify-content: space-between;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    /*rwd0203*/
}


/*è¡¨å–®æ¨£å¼*/

.formitem-outline select,
.formitem-outline input,
.searchbar li,
.searchbar input {
    list-style-type: none;
    border: .2rem solid #D8D8D8;
    border-radius: 4rem;
    margin-right: 0.8rem;
    color: #343434;
    outline: unset;
}

.formitem-error {
    padding: 1rem 0 0 1rem;
    color: red;
    position: relative;
    display: flex;
}

.formitem-error::before {
    content: "";
    background-image: url(images/error_FILL0.svg);
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}

.searchbar li,
.searchbar input {
    padding: 1.6rem 2rem;
    font-size: unset;
    display: flex;
    /*rwd0203*/
}

.searchbar li.searchbox-select {
    flex-shrink: 0;
    /*rwd0203*/
}

.formitem-outline select,
.formitem-outline input {
    padding: .8rem 2rem;
    width: calc(100% - 4rem);
    font-size: 1.6rem;
}

.sms.formitem-outline input {
    width: unset;
    margin-top: 1.4rem;
}

.searchbar select {
    border: unset;
    outline: unset
}

.searchbar input {
    outline: unset;
    flex-grow: 1;
    flex-shrink: 2;
    width: 30%;
    /*rwd0203*/
}

.formitem-outline select:focus,
.formitem-outline input:focus,
.searchbar input:focus-visible {
    border: 2px solid #1820EF
}

.campus-menu {
    display: flex;
    flex-wrap: wrap;
    /*rwd0206*/
}

.campus-menu li {
    display: flex;
    width: calc(25% - 4rem);
    list-style-type: none;
    border-radius: 3rem;
    padding: 1rem 1.4rem;
    font-size: 1.6rem;
    align-items: center;
    margin-right: 0.8rem;
    border: .2rem solid #D8D8D8;
}

.campus-menu select {
    width: 87%;
    outline: unset;
    border: unset;
}

.login-form select,
.signup-form select {
    display: inline;
    width: calc(50% - 4.8rem);
    padding: 1.2rem 2rem;
}

.askbook-form select {
    padding: 1.2rem 2rem;
}

.captcha input {
    width: unset
}

.captcha-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.captcha-box img {
    padding: 1rem 0
}


/*è¡¨å–®æ¨£å¼*/

.search-icon {
    /*padding: 1.6rem 5rem;
rwd0203*/
    border-radius: 4rem;
    /*width: 18rem;rwd0203*/
    display: flex;
    margin-right: 0;
    background-color: #1820EF;
    color: #fff;
    text-align: center;
    text-decoration: none;
    justify-content: center;
    align-items: center;
}

.search-icon:hover,

/*.search .search-icon:hover*/

{
    background-color: #0007b7;
}

.search-icon p {
    padding: 0 0 0 2.5rem
}


/*rwd0203*/

.search-icon span {
    position: relative;
    padding: 0 2.5rem 0 0;
    /*padding-left: 2.4rem;
/*rwd0203*/
}


/*.search-icon span:before {
position: absolute;
content: "\e8b6";
font-family: "Material Icons";
font-size: 2.4rem;
left: 0;
}*/


/*rwd0203*/

 ::placeholder {
    /* CSS 3 æ¨™æº– */
    color: #B1B1B1;
}

 ::-webkit-input-placeholder {
    /* Chrome, Safari */
    color: #B1B1B1;
}

 :-ms-input-placeholder {
    /* IE 10+ */
    color: #B1B1B1;
}

 ::-moz-placeholder {
    /* Firefox 19+ */
    color: #B1B1B1;
    opacity: 1;
}

.ad {
    padding-top: 9rem;
    max-width: 120rem;
    text-align: center;
    margin: 0 auto
}

.ad-item-box ul {
    /* max-width: 100rem;20230512*/
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.ad-item-box ul li {
    list-style-type: none;
    margin-top: 2rem;
    width: 49%;
    /*rwd0201*/
}

.ad-item-box ul li img {
    width: 100%;
}


/*rwd0201*/

footer {
    padding-bottom: 9.6rem;
}

footer ul {
    display: flex;
    max-width: 130rem;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 0 0;
    margin: 0 auto;
    flex-wrap: wrap;
    /*rwd0203*/
}

footer ul:first-child {
    justify-content: space-around;
    margin: 8rem auto 0;
    border-top: 1px solid #D8D8D8;
    flex-wrap: wrap;
    /*rwd0201*/
}

footer ul:last-child li:first-child {
    /* margin-right: 4.7rem */
}

footer ul:last-child li:last-child a {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 2rem;
}

footer ul:last-child li:last-child a:first-of-type {
    background: url(images/icon-line.svg);
    background-position: top;
    background-size: cover;
}

footer ul:last-child li:last-child a:nth-of-type(2) {
    background: url(images/icon-ig.svg);
    background-position: top;
    background-size: cover;
}

footer ul:last-child li:last-child a:last-child {
    margin-right: 0;
    background: url(images/icon-fb.svg);
    background-position: top;
    background-size: cover;
}

footer ul:last-child li:last-child a:hover {
    background-position: bottom;
}

footer ul li {
    list-style-type: none;
    font-size: 1.4rem;
    padding: 0.5rem;
    /*rwd0201*/
}

footer ul li a {
    color: inherit
}

footer ul li a i {
    font-size: 2.5rem;
}

footer ul li a:hover {
    color: #1820ed
}

footer ul li img {
    width: 2rem
}


/*è¨»å†Šé è¡¨æ ¼ sign-up-form*/

.form-group {
    border: 1px solid #949494;
    border-radius: 1rem;
    /*margin-top: 2.2rem;*/
    /*rwd0209*/
    padding: 4rem 0;
}

.form-group h3 {
    position: relative;
    font-size: 2.4rem;
    color: #1820EF;
    margin: 0;
    padding-bottom: 2rem;
    padding-left: 2rem;
    /*rwd0209*/
}

.form-group h3:before {
    content: "▍";
    position: absolute;
    left: 0;
    /*rwd0209*/
}

.form-group-content li {
    list-style-type: none;
    margin-bottom: 2.4rem;
}

.form-group-content li a {
    text-decoration: none;
    display: inline-block;
    padding: 1rem 0;
}

.form-group-content li a:hover {
    text-decoration: underline;
}

.form-group-content label {
    display: inline-block;
    font-size: 1.6rem;
    padding-bottom: 1rem;
}


/*.form-select select {
width: 95%;
margin: 0 auto;
}*/

.form-select input {
    width: 100%
}

.marked label:after {
    content: "*";
    color: red;
}


/*.login-form.form-group-content.marked li:last-child label:after,
.signup-form.form-group-content.marked li:last-child label:after {
content: "";
}*/


/*rwd0209*/

input.captcha-reicon {
    border: unset;
    background-color: unset;
    cursor: pointer;
    padding: 0;
    font-size: 2rem;
}

.protocol {
    font-size: 2rem;
    margin: 0 auto;
    text-align: center;
}

.protocol label {
    font-size: 2rem;
    padding: 2rem 0 0 0;
}

.protocol a {
    color: #1820EF;
    text-decoration: none;
}

.protocol a:hover {
    text-decoration: underline;
}

input[type=checkbox] {
    margin-right: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    position: relative;
}

input[type=checkbox]:after {
    position: absolute;
    width: 2rem;
    height: 2rem;
    top: 0;
    content: " ";
    background-color: #fff;
    color: #1820EF;
    display: inline-block;
    visibility: visible;
    border-radius: 3px;
    border: 1px solid #b7b7b7;
}

input[type=checkbox]:checked:after {
    content: "\e876";
    font-family: "Material Icons";
    font-size: 2rem;
}

#protocol {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.send-box,
.check-box {
    /* width: 28rem;*/
    width: 25%;
    /*rwd0207*/
    text-align: center;
    border-radius: 2.4rem;
    padding: 1.2rem 0;
    font-size: 1.6rem;
    margin-top: 1.4rem;
    cursor: pointer;
}

.send-box {
    color: #fff;
    background-color: #1820EF;
    border: unset;
}

.send-box:hover {
    background-color: #00367E
}

.check-box {
    color: #1820EF;
    background-color: #fff;
    border: 1px solid #1820EF;
}

.check-box:hover {
    background-color: #1820EF;
    color: #fff;
}


/*å”è­°æ¢æ¬¾ terms*/

.terms h3 {
    font-size: 2.4rem;
    color: #343434;
}

.terms h3:before {
    content: "▍";
}

.terms p,
.terms span {
    font-size: 1.6rem;
    color: #343434;
    line-height: 2.4rem;
    margin: 0;
}

.terms li {
    list-style-type: none;
    padding-bottom: 2rem;
}

.terms li p:first-child {
    padding-bottom: 2rem
}

.terms li span {
    display: block;
    text-indent: 1em;
}

.terms li a {
    color: #343434;
}

.terms li a:hover {
    color: #1820EF;
}


/*è¨»å†Šå®Œæˆ signup-form-completed*/

.form-group-completed {
    /*width: 90%;   
padding: 12rem 0;*/
    /*rwd0209*/
    text-align: center;
}

.form-group-completed-txt p {
    font-size: 2.4rem;
    color: #1820EF;
    margin: 0;
    padding: .5rem 0;
}

.form-group-completed-txt span {
    font-size: 2rem;
    color: #343434;
}

.form-group-completed-txt {
    padding: 2rem 0 4rem;
}

.form-group-completed-txt a {
    font-size: 2.8rem;
    color: red;
    text-decoration: none;
}

span.check-pic,
span.face-pic {
    font-size: 6rem;
    color: #1820EF;
    font-weight: 500;
}


/*ç™»å…¥é */

.login-form-txt {
    padding: 2rem 0 0
}

.login-form-txt a,
.alert-txt a {
    font-size: 1.6rem;
    color: #1820EF;
    text-decoration: none;
}

.login-form-txt a:hover,
.alert-txt a:hover {
    text-decoration: underline;
}

.login-form-txt span {
    font-size: 1.6rem;
    color: #343434;
}

.login-form-txt a:first-child {
	/*
    border-right: 1px solid #ccc;
    padding: 0 1rem 0 0;
    margin-right: 1rem;
	*/
}

.login-form li:nth-of-type(1) .formitem-outline {
    display: inline-block;
    width: calc(50% - 4.8rem);
}

.forget-password-content .txt16 {
    padding-bottom: 2rem;
    /*text-indent: -1.3em*/
    /*rwd0209*/
}


/*æœå°‹search*/

.search {
    padding-bottom: 5rem
}

header.search .header-content {
    background-color: #fff;
    box-shadow: 0.6rem 0.6rem 1rem #00000033;
}

.dark li a {
    text-decoration: none;
    color: #1820EF;
}

.search .login li:nth-child(1) a {
    color: #1820EF
}

.search .login li:nth-child(2) {
    padding: 0.8rem 2.4rem;
    border: 1px solid #1820EF;
    border-radius: 2.2rem;
    background-color: #1820EF;
}

.search .login li:nth-child(2):hover {
    background-color: #0007b7;
}

.search .login li:nth-child(2):hover a {
    color: #fff;
}

.dark .shopping-car:hover a {
    color: #fff;
}

.search .login li a,
.search .logout li a,
{
    text-decoration: none;
    color: #1820EF;
}

.search .search-box {
    position: unset;
    box-shadow: unset;
    width: calc(60% - 15rem);
    padding: 0;
}

.search .loginoutbox {
    width: 20%;
    /*rwd0207*/
    flex-grow: 1;
    /*rwd0206*/
    text-align: right;
    padding: 1rem 0;
    /*rwd0202*/
}


/*.search .searchbar:last-child {
padding: 1rem 0 0;
/*padding: 2.4rem 0 3rem 0
/*rwd0202
}*/


/*rwd0206*/


/*.search .searchbar select {
width: 100%;
font-size: 1.6rem
}rwd0208*/

.search .searchbar input {
    font-size: 2rem;
}


/*.search .search-icon {
/* width: 3rem;
height: 3rem;
display: flex;
margin-right: 0;
background-color: #1820EF;
color: #fff;
border-radius: 100%;
font-size: 1rem;
text-align: center;
text-decoration: none;
justify-content: center;
align-items: center;
padding: 1.4rem;
}*/

.search .search-icon p {
    padding: 2rem
}

.search .search-icon span {
    display: none;
}


/*æœå°‹çµæžœ*/

.askbook-float-button {
    position: fixed;
    right: 2rem;
    bottom: 5rem;
    width: 12rem;
    height: 6rem;
    border-radius: 4rem;
    background-color: #FFC024;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: black;
    transition: padding .5s;
    z-index: 9;
}

.onlineservice.askbook-float-button {
    background-color: #33c0a8;
    color: white;
}

.onlineservice.askbook-float-button img {
    width: 15%;
    padding-right: 0.5rem;
}

.askbook-float-button:hover {
    padding: 1rem;
}

.booklist-item {
    position: relative;
    list-style-type: none;
    padding: 3rem 1.6rem 4.8rem 6rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    ;
}


.countdown-float-button {
    position: fixed;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: red;
    border: 2px solid #1820EF;
    padding: 0.8rem 1.2rem;
    border-radius: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 9;
    box-shadow: 0 4px 12px rgba(24, 32, 239, 0.1);
}

.countdown-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.2;
}

.countdown-wrapper .material-symbols-outlined {
    font-size: 6rem;
    margin-bottom: 0.2rem;
}

.countdown-text {
    font-weight: 600;
    font-size: 2.2rem; /* 從 1rem 改成 1.3rem */
}

.countdown-time {
    font-family: monospace;
    font-size: 2.2rem; /* 從 0.9rem 改成 1.1rem */
}


/* 手機響應式調整 */
@media (max-width: 768px) {
    .countdown-float-button {
        top: auto;
        bottom: 12rem;
        right: 2rem;
        transform: none;
        padding: 0.6rem 1rem;
        border-radius: 1rem;
        font-size: 1rem;
    }

    .countdown-wrapper .material-symbols-outlined {
        font-size: 1.4rem;
    }

    .countdown-text {
        font-size: 0.9rem;
    }

    .countdown-time {
        font-size: 0.8rem;
    }
}



.booklist-item:after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 0.1rem;
    filter: drop-shadow(0px 3px 3px rgba(0, 0, 0, 0.2));
    bottom: 0;
    background-color: #d8d8d8;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.book-cover {
    align-self: center;
    cursor: pointer;
    width: 20%;
    /*rwd0210*/
}

.book-cover:hover img {
    transform: scale(1.1);
}

.book-cover img {
    /*max-width: 20rem;*/
    width: 100%;
    /*rwd0210*/
    object-fit: contain;
    transition: transform .3s linear;
}

.book-information {
    /* width: 60%;*/
    width: calc(50% - 6rem);
    flex-grow: 1;
    /*rwd0210*/
    padding: 0 2rem 0 4rem;
    color: #343434;
    font-family: 'Noto Sans CJK TC', Arial, sans-serif;
}

.book-information>li {
    font-size: 2.4rem;
    font-weight: 500;
}

.book-data {
    display: flex;
    padding: 0.8rem 0 0;
    flex-wrap: wrap;
}

.book-data li {
    width: 100%;
    display: flex;
    align-items: center;
}

.book-data li span {
    font-size: 1.6rem;
    padding: 0.9rem 0;
    display: inline-block;
}

.book-data li span:first-child {
    width: 10rem;
    flex-shrink: 0;
}

.book-data li:last-child span:last-child {
    font-size: 2rem;
    color: red;
}

.book-car {
    width: calc(30% - 6.6rem);
   /* border: 1px solid #949494; */
    padding: 2.8rem 3.2rem
}

.book-car .send-box {
    width: 100%;
    /*rwd0209*/
}

.alert-txt {
    font-size: 1.6rem;
    color: #34343;
    text-align: center;
    padding: 1.4rem 0 0;
}

.send-box.special-item {
    background-color: #d8d8d8;
    color: #000;
    cursor: default;
}

.book-car li:last-child {
    display: flex;
    align-items: center;
}

.book-car li:last-child label {
    flex-shrink: 0;
    padding-right: 1rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.book-car li:last-child input {
    width: 8rem;
    text-align: center;
}

.pager {
    display: flex;
    justify-content: center;
    padding-top: 4rem;
    flex-wrap: wrap
}

.pager a {
    color: #000;
    font-size: 1.6rem;
    text-decoration: none;
    padding: 1rem
}

.pager a:hover {
    color: #1820EF;
    text-decoration: underline;
}

.pager .active {
    color: #1820EF;
    text-decoration: none;
}

.pager .active:hover {
    text-decoration: none;
}


/*ç„¡æ•ˆè¼¸å…¥æ™‚çš„æ¨£å¼*/

input:required:invalid {
    background-position: right center;
    background-repeat: no-repeat;
    border-color: red;
    box-shadow: none;
    /* ç›¸å®¹FF13ä»¥å‰ç‰ˆæœ¬ */
    -moz-box-shadow: none;
}

.invalid-feedback {
    width: 90%;
    padding-top: 0.5rem;
    color: red;
    font-size: 1.2rem;
    display: flex;
    margin: 0 auto;
}

.invalid-feedback:before {
    content: "";
    background-image: url(images/error_FILL0.svg);
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .5rem;
}

.search.login li a,
.search.logout li a {
    color: #1820ee;
}


/*è©¢æ›¸å–®askbook*/

.askbook-box {
    display: flex;
    justify-content: center;
    padding: 0 2%;
    /*rwd0206*/
}

.askbook-information {
    width: 20%;
    padding-right: 8rem;
    margin: 0 auto;
}

.askbook-information h3,
.order-list h3,
.order-list-detail h3,
.member h3,
.qa h3,
.service-sites h3 {
    position: relative;
    font-size: 2.4rem;
    color: #1820EF;
    text-indent: 1.5rem;
}

.askbook-information h3:before,
.order-list h3:before,
.order-list-detail h3:before,
.member h3:before,
.qa h3:before,
.service-sites h3:before {
    content: "▍";
    position: absolute;
    left: -1.4rem;
}

.askbook-information p {
    font-size: 1.6rem;
}

.askbook-information p:nth-of-type(2) {
    padding-top: 2rem
}

.askbook-form {
    width: 80%;
}

.askbook-form .form-group-content {
    width: 70%;
    margin: 0 auto;
}

.askbook-form .form-group-content .send-box {
    width: 50%
}

.askbook-form li label {
    display: inline-block;
    width: 30%;
    text-align: right;
    padding-right: 2rem;
}

.askbook-form li input,
.askbook-form .form-select {
    display: inline-block;
    width: calc(60% - 3rem)
}

.askbook-form .invalid-feedback {
    padding-left: calc(30% + 4rem);
}


/*è³¼ç‰©è»Š cart-list*/

.cart-list-stepbox {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    width: 90%;
    margin: 0 auto;
}

.cart-list-stepbox li {
    list-style-type: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    color: #B1B1B1;
}

.cart-list-stepbox li:after {
    content: "";
    display: inline-block;
    width: 12rem;
    height: 0.1rem;
    background-color: #949494;
    margin: 0 0.8rem;
}

.cart-list-stepbox li:last-child:after {
    display: none;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #B1B1B1;
    justify-content: center;
    line-height: 3rem;
    color: #fff;
    margin-right: 0.8rem;
    text-align: center;
    flex-shrink: 0;
    /*rwd0207*/
}

.focus .step-number {
    color: white;
    background-color: #1820EF;
}

.focus span {
    color: #1820EF;
}

li.focus:after {
    background-color: #1820EF;
}

.book-table li {
    font-size: 1.6rem;
    list-style-type: none;
    padding-right: 2rem;
}

.book-table ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.book-table-title {
    padding: .8rem 0;
}

.book-table-row {
    padding: 5rem 0;
    border-bottom: 1px solid #D8D8D8;
}

.book-table-row:last-child {
    margin-bottom: 4rem
}

.book-table-title {
    background-color: black;
    color: white;
}

.book-table ul li:nth-child(1) {
    width: calc(35% - 4rem);
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 2;
    padding-left: 2rem;
}

.book-table ul li:nth-child(1) div {
    padding-right: 2rem
}

.book-table ul li:nth-child(1) div:last-child {
    padding: 0;
    word-wrap: break-word;
}

.book-table ul li:nth-child(2),
.book-table ul li:nth-child(3),
.book-table ul li:nth-child(4) {
    width: calc(10% - 2rem);
    ;
    text-align: center;
    flex-wrap: wrap
}

.book-table ul li:nth-child(5),
.book-table ul li:nth-child(6) {
    width: calc(15% - 2rem);
    word-break: break-all;
}

.book-table ul li:nth-child(7) {
    width: calc(5% - 2rem);
    text-align: center;
}

.book-table-row .book-cover img {
    width: 7rem
}

.book-table-row .delete-icon {
    color: #B1B1B1;
    cursor: pointer;
}

.book-table-row .delete-icon:hover {
    color: red
}

.book-table-row .orderlist-detail-icon,
.book-table-row .delete-icon {
    cursor: pointer;
    /*rwd0210*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.orderlist-detail-icon {
    color: black;
}

.book-table-row .orderlist-detail-icon:hover {
    color: #1820EF;
}

.book-table-row input {
    margin: 0;
    padding: .5rem 1rem;
    width: 50%;
    text-align: center;
}

.cart-list-form.form-group {
    /*width: calc(100% - 8rem);*/
    /*rwd0209*/
    padding: 2rem 4rem;
    box-shadow: 0.2rem 0.2rem 0.5rem #00000029;
    margin: 0 auto 4rem auto;
}

.cart-list-form.form-group.error {
    font-size: 2rem;
    text-align: center;
    line-height: 4rem;
}

.cart-list-form .form-group-content {
    width: 60%;
    /*rwd0210*/
}

.cart-list-form.delivery .form-group-content {
    width: unset;
    /*rwd0210*/
}

.delivery .remind {
    font-size: 1.5rem;
    padding-left: 2.5rem;
}

.cart-list-form.form-group h3 {
    padding-left: 0;
}

.cart-list-form.form-group h3:before {
    display: none;
    padding-left: 0;
}

.delivery .form-group-content li input {
    width: unset;
}

.delivery .form-group-content label {
    display: inline;
}

.cart-list-form .form-group-content li input.add {
    width: 60%
}

.total-box {
    text-align: right;
    padding: 0 0 3rem 0
}

.total-box p {
    font-size: 1.8rem;
}

.subtotal p span {
    padding: 0 0 2rem 0;
}

.total p {
    padding: 2rem 0 0 0;
}

.subtotal {
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: flex-end;
    /*rwd0207*/
}

.subtotal p {
    display: flex;
    flex-direction: column;
    /*rwd0207*/
}

.total-box .title {
    padding-right: 2rem;
}

.total-box .price {
    display: inline-block;
    padding-right: 2rem;
}

.total-box .total span.price {
    font-size: 2.4rem;
    color: red;
    font-weight: bold;
}

.cart-list.protocol {
    text-align: right;
}

.cart-list.protocol .check-box {
    margin-right: 2rem;
}

.order-form {
    padding: 0
}

.order-form li {
    font-size: 2rem;
    display: flex;
    /*rwd0207*/
}

.order-form li span:first-child {
    display: inline-block;
    width: calc(20% - 4rem);
    text-align: right;
    padding-right: 4rem;
    flex-shrink: 0;
}

.order-form li span.remind {
    padding-left: 2rem
}

.remind {
    color: red;
}

.sms .order-form-notebox {
    width: 100%;
    padding: 5rem 0;
    text-align: center;
    line-height: 4rem;
    /*rwd0209*/
}

.order-form-notebox {
    padding: 0 4rem 2rem;
    font-size: 2rem;
    line-height: 3rem;
}

.order-form-notebox p a {
    color: #1820ee
}

.order-form-notebox p:last-of-type {
    padding-bottom: 2rem
}

.order-form-notebox .protocol {
    padding-top: 2rem
}

.book-table-row .noitem {
    display: block;
    color: #B1B1B1;
    font-size: 2rem;
    margin: 0 auto;
    text-align: center;
}

.book-table-row .noitem span {
    font-size: 8rem;
    padding-bottom: 2.4rem;
}


/*.cart-list-form.form-group.sms {
text-align: center;
padding: 5rem 0;

} rwd0209*/

.order-form-notebox .check-box {
    width: 12rem;
}

.flipclock-box {
    display: flex;
    justify-content: center;
}

.flipclock-box .flip-clock-wrapper {
    width: unset;
    display: flex;
    margin: 0 auto;
}


/*è¨‚å–®ç®¡ç†order-list*/

.order-list .book-table-title,
.order-list-detail div:nth-child(2) .book-table-title {
    background-color: #1820EF
}

.order-list .book-table ul li,
.order-list-detail div:nth-child(2) ul li {
    display: block;
    width: calc(100% / 7);
    text-align: center;
    padding: 0;
}



.order-list .book-table-row li:first-child {
    color: #1820EF
}

.order-list-detail div:nth-child(2) .book-table-row {
    border-bottom: unset
}

ul.order-list-step {
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 2rem;
    margin: 0 auto;
    padding: 7rem 0 0 0;
}

.order-list-detail .book-table ul.order-list-step li {
    width: 20%;
    display: block;
    text-align: center;
    position: relative;
    padding: 0;
}

ul.order-list-step li span {
    display: inline-block;
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-family: sans-serif;
    opacity: 0;
}

ul.order-list-step li p {
    margin: 0;
    padding: 5.5rem 0 0;
    color: #949494;
    font-size: 1.8rem;
}


/*ul.order-list-step li:before {
content: "";
display: block;
width: 3.4rem;
height: 3.4rem;
border-radius: 4rem;
border: 0.3rem solid #1820EF;
background-color: white;
position: absolute;
top: 2.5rem;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
z-index: 9;
}

ul.order-list-step li.act:before {
content: "â—";
color: #1820ef;
font-size: 2.8rem;
}

*/


/*rwd0210*/

ul.order-list-step li:before {
    content: "";
    display: block;
    width: 4rem;
    height: 4rem;
    border-radius: 4rem;
    background-color: white;
    position: absolute;
    top: 2.5rem;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9;
    background: url(images/order-list-step-circle.svg)no-repeat center #fff;
}

ul.order-list-step li.act:before {
    background: url(images/order-list-step-circle-act.svg)no-repeat center #fff;
}

ul.order-list-step li:after {
    content: "";
    display: block;
    background-color: #e5e5e5;
    position: absolute;
    width: 100%;
    height: 4rem;
    top: 2.5rem;
    right: 50%;
}

ul.order-list-step li.act span,
ul.order-list-step li.act p {
    opacity: 100;
    color: #1820ef;
}

ul.order-list-step li.act span {
    color: black;
}

ul.order-list-step li:first-child:after {
    content: none;
}

ul.order-list-step li.act:after {
    background-color: #1820ed;
}


/*å¸³è™Ÿç®¡ç†member*/

.member-box {
    display: flex;
    justify-content: space-between;
    align-items:stretch;
    width: 100%;
    padding: 0;
}

.member-box a {
    width: 20%;
    padding: 5%;
    background-color: #1820ed;
    border-radius: 1rem;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0.5rem 0.5rem 2rem #0000002b;
    transition: transform .2s;
}

.member-box a:hover {
    transform: scale(.98);
}

.member-box a li span {
    font-size: 5rem;
    padding-bottom: 1rem
}

.member-box li {
    list-style-type: none;
}

.member-mail-form h3 p {
    font-size: 1.6rem;
    line-height: 2.5rem;
    color: black;
    font-weight: normal;
    padding-top: 1rem;
}

.member-mail-form p {
    font-size: 1.6rem;
}

.member-mail-form .protocol a #btn {
    margin-bottom: 3rem
}

.member-mail-human.protocol {
    text-align: right
}

.qa-title {
    background-color: #1820EF;
    color: white;
    padding: 0.8rem 0;
    text-align: center;
    font-size: 2rem;
}

.qa-row {
    cursor: pointer;
    padding: 2rem;
    border-bottom: 1px solid #d8d8d8
}

.qa-row .flip {
    font-size: 2rem;
}

.qa-row .panel {
    font-size: 1.6rem;
    line-height: 2.4rem;
    display: none;
    padding: 2rem 0 0 3.5rem;
}

.qa-table .qa-row:last-child {
    border-bottom: unset;
    margin-bottom: 4rem
}


/*æœå‹™æ“šé»ž*/

.service-sites .book-table-title {
    background-color: #1820EF
}

.service-sites .book-table:last-child .book-table-title {
    background-color: #568CE0
}

.service-sites .book-table ul li {
    display: block;
    width: calc(100% / 4);
    text-align: center;
    padding: 0;
}

.service-sites .book-table ul li p {
    line-height: 2.4rem;
}

.service-sites .book-table-row {
    border-bottom: unset;
    padding: 2rem 0
}

.close-content {
    text-align: center;
    padding: 0 1rem;
}

.close-content h2 {
    font-size: 4rem
}

.close-content p {
    font-size: 2.4rem;
    line-height: 3.6rem;
}

.close-content a {
    color: #1820EF
}

@media screen and (max-width: 1440px) {
    header.search .header-content {
        padding: 0 4rem
    }
    header.search .header-content .logo {
        width: 100%
    }
    .form-group {
        width: calc(90% - 2rem);
        padding: 4rem 1rem;
    }
    .search .search-box {
        width: 70%;
        padding-bottom: 1rem;
    }
    .booklist-item {
        padding: 3rem 1.6rem 4.8rem 1.6rem;
    }
    .book-car {
        width: 100%;
        text-align: center;
    }
    .book-car .form-group-content li {
        width: 60%;
        margin: 0 auto;
        text-align: left;
        padding-bottom: 2rem;
    }
    .book-car li:last-child {
        justify-content: center;
    }
    .book-car .send-box {
        width: 60%;
    }
    .terms {
        padding: 0 2rem;
    }
}

@media screen and (max-width: 1200px) {
    .askbook-box {
        display: block;
    }
    .askbook-information {
        width: calc(80% - 8rem);
        padding: 0 0 2rem 0;
    }
}

@media screen and (max-width: 1024px) {
    .search .searchbar {
        width: 100%
    }
    .index-pre {
        background: url(images/index-pre-bg-l.png)left -30rem bottom -20rem no-repeat, url(images/index-pre-bg-r.png)right -30rem bottom -20rem no-repeat #dbe3f6;
    }
}

@media screen and (max-width: 900px) {
    .cart-list-form.form-group {
        width: calc(90% - 8rem);
    }
    .book-table li {
        padding-right: 1rem;
    }
    .order-list-detail .book-table:nth-child(3):before {
        content: "商品資訊";
        font-size: 2rem;
        display: block;
        margin: 0 auto;
        padding: 1rem;
        background-color: black;
        color: white;
    }
    .book-table-row {
        padding: 2rem 0
    }
    .book-table ul.book-table-title {
        display: none;
    }
    .book-table ul li:nth-child(1) {
        width: 100%;
        padding-bottom: 1.5rem;
    }
    .book-table ul li:nth-child(2),
    .book-table ul li:nth-child(3),
    .book-table ul li:nth-child(4) {
        width: calc(16% - 1rem);
        flex-grow: 1
    }
    .book-table ul li:nth-child(5),
    .book-table ul li:nth-child(6) {
        width: calc(21% - 1rem);
    }
    .book-table ul li:nth-child(7) {
        width: calc(10% - 1rem);
    }
    .campus-menu {
        width: 100%
    }
    .search-icon p {
        padding: 2rem
    }
    .search-icon span {
        display: none
    }
    /*rwd0203*/
    .search .search-box {
        width: 100%;
    }
    .askbook-form .form-group-content {
        width: 90%
    }
    .search .loginoutbox {
        width: 100%;
        justify-content: center;
        /*rwd0207*/
    }
    .book-cover{width:unset}
    .order-list-detail div:nth-child(2) .book-table-row{

        display: flex;
        align-items: stretch;
    padding: 0 2rem;
    }
    
   .order-list-detail div:nth-child(2) ul li {
    width: calc(50% - 2rem);
    padding: 1rem 0;
    border-bottom: 1px solid #000;
    text-align: left;
    }
   
    .order-list-detail div:nth-child(2) ul li:nth-child(5),
    .order-list-detail div:nth-child(2) ul li:nth-child(6),
    .order-list-detail div:nth-child(2) ul li:nth-child(7) {
        padding-top: 1rem
    }
    /*rwd0210*/
    .order-list-detail .book-table ul li {
        flex-grow: 1
    }
    /*rwd0210*/
    .order-list .book-table-row li:first-child {
        font-size: 2rem;
    }
    .service-sites .book-table ul li:nth-child(1) {
        background-color: #1820ee;
        color: white;
        font-size: 2rem;
        padding: 1.5rem 0;
    }
    .service-sites .book-table:last-child ul li:nth-child(1) {
        background-color: #568CE0
    }
}

@media screen and (max-width: 768px) {
    .askbook-box {
        display: block
    }
    .askbook-information {
        width: calc(100% - 4rem);
        padding: 0 2rem 2rem;
    }
    .askbook-form {
        width: calc(90% - 8rem);
        margin: 0 auto;
        padding: 4rem;
    }
    .index .campus-menu li,
    .campus-menu li {
        width: calc(50% - 4rem);
    }
    .campus-menu li:first-child,
    .campus-menu li:nth-child(2) {
        margin-bottom: 1rem;
    }
    /*rwd0203*/
    .slogan {
        bottom: 45%
    }
    /*rwd0206*/
    .searchbar li,
    .searchbar input,
    .searchbar a {
        margin-bottom: .5rem
    }
    .askbook-form li label,
    .askbook-form li input,
    .askbook-form .form-select {
        width: 100%;
        display: block;
        text-align: center;
    }
    .askbook-form li label {
        padding: 0 0 1rem 0;
        text-align: left;
    }
    .askbook-form li input {
        width: calc(100% - 4.4rem);
    }
    .cart-list-form .form-group-content li input.add {
        width: 80%;
        margin-top: 1rem;
    }
    .order-form li span:first-child {
        width: calc(30% - 4rem)
    }
    ul.order-list-step {
        width: 100%
    }
    .book-cover {
        align-self: unset;
    }
    .index-pre nav {
        display: block;
    }
    .index-pre nav li {
        width: calc(100% - 15rem);
        margin: 2rem auto;
    }
    .index-pre-title {
        width: 80%;
    }
    .index-pre .ad {
        padding-top: unset
    }
}

@media screen and (max-width: 580px) {
    .search-icon {
        width: 100%
    }
    .search-icon p,
    .search .search-icon p {
        padding: 1rem
    }
    .search-icon span,
    .search .search-icon span {
        display: block;
    }
    .header-content {
        display: block;
    }
    .logo,
    header.index .logo a,
    .logo a,
    .logout {
        justify-content: center;
    }
    header.index {
        height: 60rem
    }
    /*rwd0206*/
    .searchbar .searchbar-topbox {
        display: block
    }
    .order-form li span:first-child {
        width: calc(50% - 4rem)
    }
    .cart-list.protocol {
        text-align: center;
    }
    .send-box,
    .check-box {
        width: calc(50% - 4rem)
    }
    .order-list-detail div:nth-child(2) ul li:nth-child(6) {
        flex-grow: 1;
    }
    ul.order-list-step li p {
        font-size: 1.5rem
    }
    /*rwd0210*/
    .login-form,
    .forget-password-content,
    .signup-form,
    .member-mail-form {
        max-width: 100%;
        padding: 0;
        /*rwd0210*/
    }
    .login-form select,
    .signup-form select {
        width: 70%
    }
    .book-table {
        padding: 0 2rem;
    }
    /*rwd0210*/
}

@media screen and (max-width: 425px) {
    html {
        font-size: 50%;
        /* =8px */
        font-family: 'Noto Sans TC', 'Noto Sans CJK TC', Arial, sans-serif;
    }
    .searchbar input {
        width: 100%;
    }
    .slogan {
        bottom: 55%;
    }
    .slogan h3 {
        padding-bottom: 1rem
    }
    .cart-list-stepbox li:after {
        width: 5rem;
    }
    .book-table ul {
        align-items: stretch;
    }
    .book-table ul li:nth-child(2),
    .book-table ul li:nth-child(3),
    .book-table ul li:nth-child(4) {
        width: calc(33% - 1rem);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .book-table ul li:nth-child(5) {
        width: calc(45% - 2rem);
        padding-left: 1rem;
        padding-top: 1rem;
    }
    .book-table ul li:nth-child(6) {
        width: calc(45% - 1rem);
        padding-top: 1rem;
    }
    .book-table ul li:nth-child(7) {
        display: flex;
        align-items: center;
        flex-grow: 1;
        justify-content: center;
    }
    .cart-list-form .form-group-content {
        width: 100%;
        /*rwd0210*/
    }
    .order-list .book-table ul li:nth-child(5) {
        /*èª¿æ•´ æ–°å¢žwidthè¨­å®š*/
        width: calc(33% - 1rem);
        padding-left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /*.book-cover {
        width: 60%;
        margin: 0 auto
    }*/
    .index-pre {
        background-size: 80%;
    }
    .index-pre .ad {
        display: none;
    }
}

@media screen and (max-width: 375px) {
    .searchbar input {
        width: 30%
    }
    header.search .header-content {
        width: calc(100% - 2rem);
        padding: 0 1rem
    }
    .login li,
    .logout li {
        padding: 0 2%
    }
}

@media screen and (max-width: 320px) {
    .book-table ul li:nth-child(1) div:last-child {
        word-break: break-all
    }
}

.error {
    color: red;
    font-size: 13px;
    margin-left: 8px;
}

/* =========================================
   Spring Validation Error Styles
   ========================================= */

/* 1. Global Error (表單上方全域錯誤) */
/* 需求：水平置中、只顯示文字、不要圖示 */
.global-error {
    text-align: center;      /* 水平置中 */
    color: #e00000;          /* 標準警示紅 */
    font-size: 1.6rem;       /* 與您網站字體大小保持一致 */
    line-height: 1.5;
    margin-bottom: 2rem;     /* 與下方欄位保持距離 */
    font-weight: normal;
}

/* 確保全域錯誤絕對不會出現任何圖示或符號 */
.global-error::before {
    content: none !important;
    display: none !important;
}

/* 2. Field Error (個別欄位錯誤訊息) */
/* 需求：排版良好，使用符號標註 */
.field-error {
    display: block;          /* 確保換行顯示在 input 下方 */
    color: #e00000;          /* 與上方一致的紅色 */
    font-size: 1.4rem;       /* 稍微縮小，作為次級資訊 */
    margin-top: 0.5rem;      /* 與上方 input 保持微小距離 */
    padding-left: 0.2rem;    /* 稍微內縮，視覺上較整齊 */
    line-height: 1.4;
    text-align: left;
}

.field-error::before {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    vertical-align: middle;  /* 讓符號跟文字垂直對齊 */
    opacity: 0.8;            /* 降低符號的透明度，避免太過搶眼 */
}