/* ----------------------------------------------
  1. div.tmkm-amazon-view
---------------------------------------------- */
div.tmkm-amazon-view {
  font-size: 0.9em !important;
  padding-bottom: 1em !important;
  border-radius: 4px !important;
}

div.tmkm-amazon-view img {
  float: left !important;
  margin: 5px 10px 40px 0px;
  padding: 5px;
  border: solid 1px #C2C2C2;
}

div.tmkm-amazon-view p {
  margin: 0;
  line-height: 1.2em !important;
}

div.tmkm-amazon-view p em {
  color: #8b0000;
  font-style: normal;
}

div.tmkm-amazon-view:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

div.tmkm-amazon-view hr.tmkm-amazon-clear {
  /** clear: both; **/
  border: none;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
}

div#tmkm-amazon-view {
  clear: both;
}

div#tmkm-amazon-view img {
  float: left;
  margin: 5px 10px 10px 0px;
  padding: 5px;
  border: solid 1px #C2C2C2;
}

.sidebar-widgets-wrap div.tmkm-amazon-view {
  /** clear: both; **/
  font-size: 0.8em !important;
  padding-bottom: 0.9em !important;
}

.sidebar-widgets-wrap div.tmkm-amazon-view p {
  margin: 0;
  line-height: 1.4em !important;
}

div#tmkm-amazon-view p {
  margin: 0 !important;
  font-size: 1.1em !important;
}

div#tmkm-amazon-view p em {
  color: #8b0000;
  font-style: normal;
  font-size: 1.1em !important;
}

div#tmkm-amazon-view:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

div#tmkm-amazon-view hr.tmkm-amazon-clear {
  clear: both;
  border: none;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
}

/* ----------------------------------------------
  2. quote
---------------------------------------------- */
.quote {
  display: block;
  background: #fff;
  padding: 35px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;

  /*Font*/
  /** font-size: 14px; **/
  /*: line-height: 1.2; **/
  /*: color: #666; **/
  text-align: justify;

  /*Borders - (Optional)*/
  border-left: 10px solid #ccc !important;
  border-right: 2px solid #ccc !important;

  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

.quote::before {
  content: "\201C";
  /*Unicode for Left Double Quote*/

  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;

  /*Positioning*/
  position: absolute;
  left: 10px;
  top: 5px;
}

.quote::after {
  /*Reset to make sure*/
  content: "";
}

.quote a {
  text-decoration: none;
  background: #eee;
  cursor: pointer;
  padding: 0 3px;
  color: #c76c0c;
}

.quote a:hover {
  color: #666;
}

.quote em {
  font-style: italic;
}

.quote .img-responsive {
  margin-bottom: 0.8em;
}

/* ----------------------------------------------
  3. Book Recommendation
---------------------------------------------- */
.recommended-book {
  background-color: #f9f9f9;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 8px;
}

@media screen and (max-width:768px) {
  .recommended-book div.col-md-4 {
    text-align: center;
  }
}

/** 縦配置になったときに画像とタイトルの余白を適切に設定 **/
@media screen and (max-width:768px) {
  .recommended-book h4 {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }
}

/* ----------------------------------------------
  4. Article
---------------------------------------------- */
section#content ul {
  padding-left: 1.2em;
}

section#content ol {
  padding-left: 1.2em;
}

section#content ul li {
  line-height: 1.8em;
}

section#content .img-responsive {
  border: 1px solid #ccc !important;
}

section#content h2 {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 0.4em;
  margin-top: 1.4em;
  color: #222;
}

.entry-content h2 {
  padding: 1rem 2rem;
  background: #f4f4f4;
}

section#content h3 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.4em;
  margin-top: 1.4em;
  color: #222;
}

div.highlight {
  margin: 2px !important;
  padding: 2px !important;
  background-color: #272822;
}

pre.chroma {
  padding: 10px !important;
  margin: 10px !important;
}

form label {
  /**
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Open Sans", "Helvetica Neue", Helvetica, "Arial", "游ゴシック", YuGothic, sans-serif !important;
  **/
  /**
  font-size: 1em !important;
  **/
}

form .form-check-inline label {
  font-weight: normal !important;
}

h1,
h2,
h3,
h4,
h5 {
  text-transform: none !important;
}

/* ----------------------------------------------
  5. Social Bookmark
---------------------------------------------- */
.bookmarking {
  border: 0 !important;
  margin: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 16px !important;
  padding-left: 28px !important;
  /**    border-bottom: 2px solid #ddd !important; **/
}

.bookmarking div {
  float: left !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 5px 0px 0 !important;
  height: 23px !important;
  text-indent: 0 !important;
}

.bookmarking img {
  border: 0 !important;
  padding: 0;
  margin: 0;
  vertical-align: top !important;
}

.bookmarking_clear {
  clear: both !important;
}

.wsbl_twitter {
  width: 80px;
}

.wsbl_twitter2 {
  width: 156px;
}

.wsbl_facebook {
  width: 100px;
}

#content blockquote p {
  font-size: 0.9em !important;
  font-style: normal !important;
}

#content blockquote li {
  font-size: 0.9em !important;
  line-height: 1.8em !important;
  font-style: normal !important;
}

#content blockquote {
  /** border-left: 5px solid #ee7800 !important; **/
  border-left: 10px solid #ccc !important;
  border-right: 2px solid #ccc !important;
  background: #fff;
  padding: 15px 20px 5px 25px;
  margin: 0 0 20px;
  /*Box Shadow - (Optional)*/
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

/* ----------------------------------------------
  6. Sidebar Book Introduction
---------------------------------------------- */
.small-book-panel {
  background-color: #fff;
  padding-left: 1em;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 0em;
  margin-bottom: 20px;
  font-size: 0.9em;
}

.small-book-panel img {
  width: 110px;
  border: 1px solid #ccc;
}


.small-book-panel p {
  line-height: 1.0em !important;
  font-size: 0.9em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.small-book-panel p em {
  color: #8b0000;
  font-style: normal;
}

.small-book-panel-title {
  font-size: 1.0em !important;
  line-height: 1.2em !important;
  color: #1abc9c;
  font-weight: bold;
  margin-bottom: 0.6em !important;
}

.content-wrap {
  padding: 40px 0 !important;
}

#page-title {
  padding: 40px 0 !important;
}

.MultiCarousel {
  float: left;
  overflow: hidden;
  padding: 15px;
  width: 100%;
  position: relative;
}

.MultiCarousel .MultiCarousel-inner {
  transition: 1s ease all;
  float: left;
}

.MultiCarousel .MultiCarousel-inner .item {
  float: left;
}

.MultiCarousel .MultiCarousel-inner .item>div {
  text-align: center;
  padding: 10px;
  margin: 10px;
  background: #eee;
  color: #666;
  border: 0px solid #ccc
}

.MultiCarousel .leftLst,
.MultiCarousel .rightLst {
  position: absolute;
  border-radius: 50%;
  top: calc(50% - 20px);
}

.MultiCarousel .leftLst {
  left: 0;
}

.MultiCarousel .rightLst {
  right: 0;
}

.MultiCarousel .leftLst.over,
.MultiCarousel .rightLst.over {
  pointer-events: none;
  background: #ccc;
}

.MultiCarousel li {
  list-style: none;
  font-size: 0.8em !important;
  text-align: left
}

.MultiCarousel li a {
  font-weight: bold;
}

.MultiCarousel img {
  padding-bottom: 0.4em;
}

div.entry-title h2 {
  font-size: 1.0em !important;
}

div.postcontent div.entry-title h2 {
  font-size: 1.2em !important;
}

@media screen and (min-width: 992px) {
  .my-mega-menu {
    left:50% !important;
    max-width: 1200px !important;
  }
}

@media screen and (min-width: 1920px) {
  .my-mega-menu {
    left: 70% !important;
    max-width: 1200px !important;
  }
}

@media screen and (min-width: 992px) {
  ::-webkit-scrollbar {
    width: 12px;
  }
  ::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
  }
}

.faq-list {
  overflow-y: scroll;
  padding-right:2em;
}

/* ----------------------------------------------
  6. Share Button for Article
---------------------------------------------- */
.btn-blog-share {
  vertical-align: middle;
  border-radius: 4px !important;
}

/* ----------------------------------------------
  7. FAQ Search
---------------------------------------------- */
.clearfix::after {
  background-color: transparent;
}

.faq-list-container {
  max-height: 120em;
  overflow-y: auto;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.search-container .form-control {
  flex: 1;
}

.search-container .btn-reset {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .faq-row {
    flex-direction: column-reverse;
  }

  .faq-list-container {
    max-height: none;
    overflow-y: visible;
  }
}

/* ----------------------------------------------
  8. Ryuzee Bio
---------------------------------------------- */
#ryuzee-bio .badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* 画像間の余白を追加 */
}

#ryuzee-bio .sa-badge {
  width: 80px;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.1em;
}

/* ----------------------------------------------
  9. Top Featured Books
---------------------------------------------- */
.feature-book {
  display: flex;
  align-items: flex-start;
}

.feature-book img {
  width: 150px; /* 画像の幅を固定 */
  height: auto;
  margin-right: 15px; /* 画像とテキストの間にスペースを追加 */
}

.feature-book h3 {
  font-size: 1em !important;
}

/* ----------------------------------------------
  9. Footer and Books
---------------------------------------------- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}

/* ----------------------------------------------
  10. パンくずはiPadなどでは非表示
---------------------------------------------- */
@media screen and (max-width: 992px) {
  .breadcrumb {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  #menu-item-home, #menu-item-scrum, #menu-item-presentation, #menu-item-contact {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  #menu-item-home, #menu-item-presentation {
    display: none !important;
  }