/*
Theme Name: Tugikuru Books
Theme URI: https://sbcr.backlog.jp/git/TUGIKURU_SYSTEM1/tugikuru_books.git
Author: Tugikuru Corp.
Author URI: https://www.tugikuru.co.jp/
Description: Theme for Tugikuru Books website. https://books.tugikuru.jp/
Requires at least: WordPress 4.9.6
Version: 1.3.8
License: Proprietary
Text Domain: tugikuru_books
Tags: Tugikuru

This theme is for Tugikuru Books website.
*/
/*
 * Variables
 */
header .menu {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  border-bottom: solid 5px #1da8dd;
}
header .menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16.6666666667%;
  padding: 0.5rem;
  gap: 0.25rem;
  border-right: solid 1px #c7c7c7;
  text-decoration: none;
}
header .menu a:hover {
  background-color: #f0f0f0;
  transition-duration: 0.2s;
}
header .menu a:first-child {
  border-left: solid 1px #c7c7c7;
}
header .menu a img {
  height: 40px;
}
header .menu a span {
  color: black;
}
@media (max-width: 575.98px) {
  header .menu {
    margin-left: -1rem;
    margin-right: -1rem;
  }
  header .menu a {
    font-size: 0.6rem;
    padding: 0.25rem;
    gap: 0.125rem;
  }
}
header .subtitle {
  margin-top: 8px;
  margin-bottom: 0;
  color: #ff6544;
  font-size: 16px;
  font-weight: bold;
}
header .caption {
  color: #737373;
  font-size: 12px;
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 0;
}
header .social-icons {
  padding-top: 24px;
  text-align: right;
}
header .social-icons a {
  text-decoration: none;
}
header .social-icons a img {
  width: 32px;
}
header .social-icons a:not(:first-child) {
  margin-left: 10px;
}
header .hamburger {
  width: 38.24px;
  height: 38.24px;
  margin-top: 1rem;
  background-size: cover;
  background-image: url("images/button_menu_on_sp.png");
}
header .hamburger.collapsed {
  background-image: url("images/button_menu_off_sp.png");
}
header #mobileLinks {
  list-style-type: none !important;
  padding-left: 0;
  border-bottom: solid 1px #a7a7a7;
  position: absolute;
  right: 0;
  margin-top: -20px;
  width: 85%;
  background-color: rgba(232, 232, 232, 0.98);
  z-index: 1000;
}
header #mobileLinks li {
  border-top: solid 1px #a7a7a7;
}
header #mobileLinks li a {
  padding: 12px;
  display: block;
}
header #mobileLinks li a:hover {
  text-decoration: none;
}
header #mobileLinks li a img {
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
}
header #mobileLinks li a img:hover {
  opacity: 1;
}
header #mobileLinks li a span {
  vertical-align: middle;
  color: #737373;
  font-size: 14px;
}

@media (max-width: 575.98px) {
  .carousel {
    margin-left: -15px;
    margin-right: -15px;
  }
}
.carousel .slick-list,
.carousel .slick-track {
  height: 300px;
}
@media (max-width: 575.98px) {
  .carousel .slick-list,
  .carousel .slick-track {
    height: 200px;
  }
}
.carousel .slick-track .slick-slide {
  margin: 0 4px;
}
.carousel .slick-track .slick-slide img {
  max-height: 300px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (max-width: 575.98px) {
  .carousel .slick-track .slick-slide img {
    max-height: 200px;
  }
}
.carousel .slick-prev {
  left: 1%;
  z-index: 1;
}
.carousel .slick-next {
  right: 1%;
}

.push-banner-carousel {
  margin-bottom: 1rem;
}
@media (max-width: 575.98px) {
  .push-banner-carousel {
    margin-left: -15px;
    margin-right: -15px;
  }
}
@media (min-width: 576px) {
  .push-banner-carousel {
    display: none !important;
  }
}
.push-banner-carousel .slick-list,
.push-banner-carousel .slick-track {
  margin-left: -4%;
}
.push-banner-carousel .slick-slide {
  margin: 0 4px;
}
.push-banner-carousel .slick-slide img {
  -o-object-fit: contain;
     object-fit: contain;
}

#topics {
  margin-top: 1.5rem;
  position: relative;
  border: solid 2px #BFBFBF;
  margin-bottom: 1rem;
  padding: 1rem;
}
#topics h2 {
  margin-top: -2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
}
#topics h2 div {
  display: inline-flex;
  align-items: center;
  background-color: white;
  padding: 0 1rem;
}
#topics h2 div .star {
  border: solid 6px #7F7F7F;
  border-radius: 50%;
  display: inline-block;
  width: 50px;
  height: 50px;
  padding-top: 4px;
  font-size: 24px;
}
#topics .new {
  color: red;
}
#topics > div {
  max-height: 250px;
  overflow: auto;
}
#topics table {
  margin-bottom: 15px;
}
#topics table tr:not(:last-child) {
  margin-bottom: 1rem;
}
#topics table tr th, #topics table tr td {
  font-weight: bold;
  font-size: 15px;
}

#sidebar .push-banners {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 575.98px) {
  #sidebar .push-banners {
    display: none;
  }
}
#sidebar .banners {
  margin-top: 30px;
}

#main {
  padding: 0;
}

.read-more-button {
  position: relative;
  display: inline-block;
  color: #0F9ED5;
  font-weight: bold;
  text-align: center;
  border: solid 2px #0F9ED5;
  padding: 8px;
  width: 240px;
}
.read-more-button:hover {
  opacity: 0.7;
}
.read-more-button:after {
  position: absolute;
  content: "";
  display: inline-block;
  vertical-align: middle;
  color: #0F9ED5;
  line-height: 1;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg) translateY(-75%);
  right: 1.5rem;
  top: 50%;
}

body.single h2 {
  color: #1aa7dc;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 20px !important;
}
body.single .fit {
  width: 100%;
}
body.single .fit img {
  width: 100%;
}
body.single .topics {
  border: solid 1px #ddd;
  width: 100%;
  margin-bottom: 20px;
}
body.single .topics th, body.single .topics td {
  font-weight: bold;
  font-size: 15px;
  padding: 10px 20px;
}
@media (max-width: 767.9px) {
  body.single .topics {
    border: none;
  }
}

.go-top {
  margin-top: 16px;
}
.go-top img, .go-top span {
  vertical-align: middle;
}
.go-top a:hover {
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .site-footer {
    font-size: 0.875rem;
  }
}

.group {
  margin-top: 4rem;
  border: solid 2px #000;
  padding: 1rem;
}
.group h2 {
  margin-top: -4rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.group h2 div {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 0 1rem;
}
.group h2 div img {
  height: 50px;
}

.book .release-date {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
@media (max-width: 575.98px) {
  .book .release-date {
    font-size: 0.75rem;
  }
}
.book .image {
  display: block;
  margin-bottom: 1rem;
}
.book .category-and-preview {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.book .category-and-preview .category div {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-weight: bold;
  min-width: 120px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .book .category-and-preview .category div {
    font-size: 0.875rem;
    padding: 0.5rem;
    min-width: 80px;
  }
}
.book .category-and-preview .category .comic {
  color: #0F9ED5;
  background-color: #DCEAF7;
}
.book .category-and-preview .category .novel {
  color: #E97132;
  background-color: #FBE3D6;
}
.book .category-and-preview .preview {
  display: flex;
  align-items: center;
}
.book .category-and-preview .preview a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 0.25rem;
}
.book .category-and-preview .preview a img {
  height: 36px;
}
@media (max-width: 575.98px) {
  .book .category-and-preview .preview a img {
    height: 28px;
  }
}
.book .category-and-preview .preview a span {
  color: #0F9ED5;
}
@media (max-width: 575.98px) {
  .book .category-and-preview .preview a span {
    font-size: 0.875rem;
  }
}
.book .excerpt {
  color: #ffa500;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
@media (max-width: 575.98px) {
  .book .excerpt {
    font-size: 0.875rem;
  }
}
.book .excerpt.comic {
  color: #0F9ED5;
}
.book .excerpt.novel {
  color: #E97132;
}
.book .title {
  margin-bottom: 1rem;
}
.book .title a {
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #000;
}
.book .title a:hover {
  opacity: 0.7;
}
@media (max-width: 575.98px) {
  .book .title a {
    font-size: 1rem;
  }
}
.book .writer {
  margin-bottom: 0.25rem;
}
.book .original-writer {
  margin-bottom: 0.25rem;
}
.book .character-designer {
  margin-bottom: 0.25rem;
}
.book .illustrator {
  margin-bottom: 0.25rem;
}
@media (max-width: 575.98px) {
  .book .writer, .book .original-writer, .book .character-designer, .book .illustrator {
    font-size: 0.875rem;
  }
}
.book .price {
  font-weight: bold;
  color: #ee7b00;
}
.book .status {
  color: red;
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
}
.book .status a {
  color: red;
}
.book .status a:hover {
  color: #e10000;
}
.book .notice {
  color: #92D050;
  font-size: 17px;
  font-weight: bold;
}

ul.pagination {
  margin-top: 20px;
  justify-content: center;
}

/*
 * Base design for elements
 */
body {
  font-family: Noto Sans JP, sans-serif !important;
}

.container {
  max-width: 1140px !important;
}

hr {
  background-color: #ff6544;
  height: 2px !important;
}

a {
  text-decoration: none !important;
}
a img:hover {
  opacity: 0.75;
  transition-duration: 0.2s;
}

.modal-image {
  cursor: pointer;
}
