/*
Theme Name: POT Twenty Twelve Child
Theme URI: http://pot.co.jp
Description: POT Twenty Twelve Child Theme
Author: AOYAGI
Author URI: http://pot.co.jp
Template: twentytwelve
Version: 1.0.0
*/

a:hover {
  font-weight: bold;
}

a {
  transition: font-weight 0.13s ease-in-out;
}

.custom-logo {
  max-width: 100%;
  height: auto;
}

.site-logo{
  height: 40px
}

.site-content article {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 599px) {
  hgroup {
    text-align: center;
  }
}

.main-navigation .nav-menu a {
    color: #000000;
    font-size: 1.1rem;
}

.main-navigation ul.nav-menu
 {
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
}

#latest-bibsync-books {
  margin-bottom: 2rem;
}

.latest-books-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  padding: 10px;
  width: 100%;
}

.latest-book-item {
  width: 160px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  background: #fff;
}

.latest-book-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.latest-book-cover {
  width: 100%;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
}

.latest-book-cover img {
  width: 100%;
  max-width: 120px;
  height: auto;
  display: block;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
}

.latest-book-cover__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 120px;
  min-height: 160px;
  padding: 0.5rem;
  border: 1px dashed #ccc;
  border-radius: 4px;
  font-size: .75rem;
  color: #888;
  background: #f5f5f5;
}

.latest-book-title {
  font-weight: bold;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.latest-book-pubdate,
.latest-book-author,
.latest-book-publisher {
  font-size: .875rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.latest-book-item p:last-of-type {
  margin-bottom: 0;
}

.book-card-main {
  display: flex;
  width: 100%;
  /*background: #f9f9f9;*/
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 20px;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
}

.book-card-main .book-cover {
  width: 200px;
  min-height: 180px;
  text-align: center;
}

.book-cover img{
  width: 120px;
  border:#ddd 1px solid;
}


.book-card--main .book-info {
  padding: 15px;
}

.book-info .title {
  font-weight: bold;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.book-info .author,
.book-info .pubdate,
.book-info .isbn,
.book-info .book-publisher {
  font-size: .875rem;
  margin-bottom: .75rem;
  color: #555;
}




.news-headlines{
    margin-bottom: 2rem;
}

.news-headlines ul li{
    margin: .5rem;
}




#book-detail-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.book-detail-center-column {
  background: #f9f9f9;
  padding: 15px;
  border: 1px solid #ddd;
}

.book-detail-left-column {
  flex: 1;
  min-width: 200px;
}

.book-detail-center-column {
  flex: 2;
  min-width: 300px;
}

.book-detail-right-column {
  flex: 1;
  min-width: 200px;
}

#book-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border: 1px solid #ccc;
}

#book-detail-title-kana,
#book-detail-author-name-kana {
  font-size: 0.9em;
  color: #888;
  margin: 0;
}

#book-detail-title {
  font-size: 1.5em;
  margin: 5px 0;
}

#book-detail-author-name {
  font-size: 1.2em;
  margin: 5px 0;
}

.book-detail-publisher-block,
#book-detail-format-info,
#book-detail-price-info,
#book-detail-meta-info,
#book-detail-description,
#book-detail-toc,
#book-detail-author-profile,
#book-detail-additional-info {
  margin-bottom: 20px;
}

.book-detail-toc ul {
  padding-left: 1.2em;
}

.book-detail-online-shops ul {
  list-style: none;
  padding: 0;
}

.book-detail-online-shops li {
  margin-bottom: 8px;
}

.book-detail-store-check a {
  display: block;
  background: #f4f4f4;
  border: 1px solid #aaa;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
  text-decoration: none;
}

/* Responsive (mobile) styles */
@media (max-width: 600px) {
  .book-detail-container {
    flex-direction: column;
    padding: 10px;
  }

  .book-detail-left-column,
  .book-detail-center-column,
  .book-detail-right-column {
    width: 100%;
  }

  .book-detail-book-cover img {
    max-width: 100%;
  }
}












.footer-nav {
    display: flex;
    column-gap: 2rem;
}

.site-info__content {
    margin-top: 1rem;
    padding-top: 1rem;
    max-width: 620px;
    border-top: 1px solid #cacaca;
    font-size: .875rem;
}

#colophon {
    position: relative;
    border-top: 1px solid #000000;
}

#colophon::after {
  content: "";
  position: absolute;
  display: inline-block; /* or block */
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background-image: url("/wp-content/uploads/2025/06/pot_logo.webp.webp");
  background-size: cover;
  background-repeat: no-repeat;
  margin-left: 0.5em;
}

@media (max-width: 599px) {
  #colophon::after {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }
}

.post-date {
    font-size: .9rem;
}

