@charset "utf-8";
/* CSS Document */
* { margin: 0; padding: 0; }
img { border: none; max-width: 100%; }
a { color: #2b2a3c; text-decoration: none; }
a:hover { text-decoration: none; }
ul , ol , li { list-style: none; }
ul::after { display: block; content: ''; height: 0; font-size: 0; clear: both; }

.book-btn-list { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; }
.book-btn-list li { width: 8.33%; height: 45px; line-height: 45px; font-size: 18px; text-align: center; cursor: pointer; border-bottom: 1px solid #DDDDDD; }
.book-btn-list li.book-on { background: #E4393C; color: #FFFFFF; }

.htbook { max-width: 99%; margin: 20px auto; box-sizing: border-box; box-shadow: 0 0 16px 0 rgba(212,213,214,0.5); background: rgba(255,255,255,0.8);  }
.htbook .htbook-tit { height: 40px; line-height: 40px; font-size: 24px; font-weight: bold; color: #FFFFFF; padding: 0 10px; background: #F0F0F0; border-left: 4px solid #E4393C; }
.htbook .htbook-tit a { color: #E4393C; }
.htbook-list { display: flex; justify-content: space-evenly; flex-wrap: wrap; box-sizing: border-box; max-width: 100%; }
.htbook-list li { width: 24%; padding: 10px; box-sizing: border-box; box-shadow: 0 0 2px #CCCCCC; margin-top: 8px; }
.htbook-list li a .imgWrap { position: relative; display: block; width: 100%; height: 0; padding-bottom: 100%; }
.htbook-list li a img { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 100%; height: 100%; vertical-align: middle; }
.htbook-list li a p { display: flex; justify-content: center; align-items: center; height: 48px; line-height: 24px; font-size: 16px; text-align: center; margin: 10px auto; white-space: normal; }
.htbook-list li a span { display: block; width: 80%; height: 40px; margin: 0 auto; line-height: 40px; font-size: 16px; text-align: center; color: #FFFFFF; background: #E4393C; border-radius: 20px; }
.htbook .more-book { display: block; width: 100%; line-height: 40px; font-size: 16px; text-align: center; color: #666666; background: #F0F0F0; box-sizing: border-box; }
.htbook .more-book:hover { background: #E4393C; color: #FFFFFF; }
.htbook-list li:nth-last-child(1) { width: 100%; box-shadow: 0 0 0; }
.htbook-list li:nth-last-child(1) span { width: 20%; margin: 0 auto; background: #F0F0F0; color: #2B2A3C; border-radius: 20px; }
.htbook-list li:nth-last-child(1) span a { display: block; color: #2B2A3C; }
.htbook-list li:nth-last-child(1) span a:hover { color: #FFFFFF; }
.htbook-list:nth-child(n+2) { display: none; }

@media only all and (max-width: 1200px) { 
    
    .book-btn-list { margin: .2rem auto; }
    .book-btn-list li { width: 25%; height: 1.5rem; line-height: 1.5rem; font-size: .7rem; }
    
    .htbook { max-width: 100%; margin: .5rem auto; box-shadow: 0 0 .4rem 0 rgba(212,213,214,0.5); }
    .htbook .htbook-tit { height: 1.6rem; line-height: 1.6rem; font-size: .8rem; padding: 0 .5rem; }
    .htbook-list { padding: .25rem; box-shadow: 0 0 .25rem #EEEEEE; }
    .htbook-list li { width: 47%; margin: .2rem auto; padding: .25rem; border-radius: .2rem; }
    .htbook-list li a p { height: 1.8rem; line-height: .9rem; font-size: .6rem; margin: .25rem auto; }
    .htbook-list li a span { height: 1.5rem; line-height: 1.5rem; font-size: .7rem; border-radius: .75rem; }
    .htbook .more-book { line-height: 1.5rem; font-size: .7rem; }
    .htbook-list li:nth-last-child(1) { width: 100%; }
    .htbook-list li:nth-last-child(1) span { width: 50%; border-radius: .5rem; }
    
}
