/*
Theme Name: Kyodopress2
Theme URL: https://www.kyodo.co.jp/
Description: 新テーマ
Author:  INFONIC CO., LTD
Version: 1.0.0
Tags: tag
License: INFONIC CO., LTD
License URI: https://www.kyodo.co.jp/
*/

@import url("./assets/css/style.css");
@import url("./assets/css/style_sp.css");


body {
  position: relative;
}
.pagenavi .wp-pagenavi {
  display: flex;
  max-width: 100%;
}
.pagenavi span.current {
  height: 2em;
  width: 2em;
  border: solid 1px #891630;
  color: #891630;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1em;
}
.fb-like > span{
  height: 20px !important;
}

.emperors_cup_link {
  text-align: right;
}
.emperors_cup_link a.arw-c {
  margin-right: 1rem;
  margin-left: 20px;
  position: relative;
  display: inline-block;
}
.emperors_cup_link a.arw-c::before {
  content: "";
  background-image: url(./assets/img/004.svg);
  position: absolute;
  height: 16px;
  width: 16px;
  vertical-align: text-bottom;
  text-align: center;
  line-height: 21px;
  top: 2.5px;
  left: -20px;
}

section.post_container.page img {
  max-width: 100%;
  width: auto;
}

.books > div:nth-child(n+2) {
  border-top: solid 1px #E5E3DD;
}

.filter-container {
  position: relative;
  width: 260px;
}
.page_book__search .filter-container select {
  border: solid 1px #e5e3dd;
  border-radius: 0;
  padding: 0.5em 1.6em 0.45em 0.5em;
  text-align: left;
  background: #F7F6F3;
  color: #757575;
  -webkit-appearance: none;
  appearance: none;
}
.page_book__search .filter-container select::-ms-expand {
  display: none;
}
.page_book__search .filter-container form::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid #891630;
  border-right: 2px solid #891630;
  position: absolute;
  top: 30%;
  right: 8px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  pointer-events: none;
  z-index: 1;
}
.order a {
  color: #891630;
}
.page_book__search.pc_only .filter-container,
.page_book__search.pc_only .search-container {
  display: inline-block;
}
.page_book__search.pc_only .filter-container {
  margin-right: 1em;
}

.ranking_archive__content:last-child {
    margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: solid 1px #e5e3dd;
}
.ranking_archive > .ranking_archive__content:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.m-3em {
  margin: 3em !important;
}
.mt-3em {
  margin-top: 3em !important;
}
.mb-3em {
  margin-bottom: 3em !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mr-0 {
  margin-right: 0 !important;
}
.ml-0 {
  margin-left: 0 !important;
}

.pt-3em {
  padding-top: 3em !important;
}
.pb-3em {
  padding-bottom: 3em !important;
}

.main_content section.post_ttl .post_category a{
  margin-right: 1em;
}

section.sidebar_banner div.box {
  margin-bottom: 10px;
}

@media only screen and (max-width: 780px) {
  .filter-container {
    width: 100%;
    margin-bottom: 0.5em;
  }
  .page_book__search .filter-container form {
    height: 37.5px;
  }
  .page_book__search .filter-container select {
    width: 100%;
    height: 100%;
    font-size: 1em;
    padding: 0.5em 2.4em 0.45em 1.2em;
  }
  .page_book__search .filter-container form::before {
    width: 10px;
    height: 10px;
    border-top: 3px solid #891630;
    border-right: 3px solid #891630;
    top: 25%;
    right: 14px;
  }
  .page_book__detail--flex .page_book__detail--button.sp_only {
    width: 100%;
    margin: 0 1.5em 0 0;
  }

  #youtube-movie {
    font-size: 14px;
    line-height: 1.5;

    margin: 0 auto 20px;
    width: 100%;
  }
  #youtube-movie #youtube-movie-content {
    font-size: 14px;
    line-height: 1.5;

    padding-top: 56.25%;
    position: relative;
    width: 100%;
  }
  #youtube-movie #youtube-movie-content iframe {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
    width: 100% !important;
  }
}
