/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&family=Zen+Old+Mincho&display=swap');
.zen-font {
  font-family: "Zen Old Mincho", serif;
}
/* ヘッダー */
h1.site-title {
  display: none;
}
/* トップページ */
.table-btn-link-container {
  counter-reset: item;
}
.table-btn-link {
  position: relative;
}
.table-btn-link a {
  font-family: "Zen Old Mincho", serif;
  border: 1px solid #443830 !important;
  padding: 20px 0 !important;
}
.table-btn-link a::before {
  position: absolute;
  top: 18px;
  left: 15px;
  content: counter(item) " ";
  counter-increment: item;
}
.table-btn-link a:hover {
  background: #fff !important;
}
/* 書影一覧ページ */
.content__main {
  max-width: 1000px !important;
}
.has-background .site-content {
  --ystd-container-margin-vertical: 0 !important;
}
.site-main {
  margin-bottom: 30px !important;
}
.singular-header h1 {
  font-family: "Zen Old Mincho", serif;
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
}
.sengo-bungaku-table {
  padding-top: 30px !important;
}
.table-h2 {
  padding-bottom: .6em !important;
}
.h2-hokkaido {
  margin-top: 1.5em !important;
}
.table-book-container .ystdb-column {
  padding-bottom: 40px !important;
}
.table-book-container .ystdb-column-block-container p {
  font-weight: bold;
}
.amazon-link a {
  padding: 12px 0 !important;
}
.table-book-container .ystdb-column:hover .amazon-link a {
  background: #443830 !important;
}
.back-btn a {
  border: 1px solid #443830 !important;
  padding: 15px 0 !important;
}
.back-btn a:hover {
  color: #fff !important;
  border: 1px solid #222 !important;
  background: #222 !important;
}
/* フッターの高さ調整 */
.footer-main>* {
  margin-top: 1em;
}
.footer-main {
  padding-top: 1em;
}
/*トップへ戻るボタン*/
.back-to-top__content {
  opacity: 0.8;
}
.back-to-top__content:hover {
  opacity: 1;
}
/* クレジット */
.footer-poweredby {
  display: none;
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .sengo-bungaku-table {
    padding-top: 10px !important;
  }
}
/*-------------------------------------------------
break point 768px SP
--------------------------------------------------*/
@media only screen and (max-width: 768px) {
/* トップページ */
  .shoei-top-space {
	 height: 30px !important;	
  }
  .table-btn-link a {
     background: #fff !important;
  }
/* 書影一覧ページ */
  .site-main {
     margin-bottom: 0 !important;
  }
  .singular-header h1 {
     font-size: 1.56rem;
  }
  .sengo-bungaku-table {
     padding-top: 0 !important;
  }
  .table-h2 {
     padding-bottom: 0 !important;
  }
  .table-book-container .ystdb-column {
     padding-bottom: 25px !important;
  }
  .back-btn a {
     color: #fff !important;
     border: 1px solid #222 !important;
     background: #222 !important;
  }
}