@charset "utf-8";

/*コンテンツレイアウト指定*/
.good_item .wrapper {
  margin: 0 auto;
  max-width: 940px;
}
.good_item .box {
  display: flex;
  justify-content: space-between;
}
.good_item #main {
  font-size: 13px;
  width: calc(100% - 280px);
}
.good_item #sub {
  width: 240px;
}
/*タイトルエリア戻るリンク*/
.histtory_back_btn {
  margin: 15px 0;
  line-height: 1.2;
}
.histtory_back_btn a {
  padding: 0 0 0 12px;
  font-size: 1.3rem;
  position: relative;
  color: #505050
}
.histtory_back_btn a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  margin: auto;
  width: 7px;
  height: 7px;
  border-top: 1px solid #505050;
  border-right: 1px solid #505050;
  content: "";
  vertical-align: middle;
  transform: rotate(225deg);
}
/*タイトルエリア*/
.ttl_area {
  margin-top: 5px;
  padding: 15px 20px;
  border: 1px solid #dcdcdc;
  margin-bottom: 40px;
  border-left: 7px solid #1975B3;
  /*box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1)*/
}
.ttl_area .cat {
  display: flex;
  font-size: 1.6em;
  margin: 0 0 .75em;
}
.ttl_area .cat .name {
  color: #ffffff;
  background: #1975B3;
  padding: 0 10px;
  margin-right: 10px;
}
.ttl_area h1 span {
  display: block;
  line-height: 1.3;
}
.ttl_area .stock-last {
  color: #d80707;
  border: 1px solid #d80707;
  padding: .5em .75em;
  display: inline-block;
  font-size: 1.2rem;
  margin: 1em 20px 0 0;
  font-weight: bold;
}
/*左上のアイキャッチ画像*/
#sub .eyecatch {
  text-align: center;
  margin: 0 27px 25px 27px;
}
#sub .eyecatch img {
  max-width: 165px;
  height: auto;
  /*box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1)*/
}
#sub .nav {
  margin-bottom: 20px;
  border: 1px solid #d8d8d8;
  font-size: 1.3rem;
}
#sub .nav ul {
  padding: 5px 15px;
}
#sub .nav ul li {
  padding: 5px 0;
  border-bottom: 1px dotted #dcdcdc;
  position: relative;
}
#sub .nav ul li:last-child {
  border-bottom: none;
}
#sub .nav ul li a {
  padding-left: 15px;
  font-weight: bold;
  display: block;
  color: #1979ab;
}
#sub .nav ul li a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0px;
  width: 6px;
  height: 12px;
  margin-top: -6px;
  background: url(/sp/img/search/arrow.png) no-repeat 0 0;
  background-size: 6px 12px;
}
/*サイドナビノート用関連書籍*/
.related.note {
  text-align: center;
  border: 1px solid #d8d8d8;
  margin-bottom: 20px;
}
.related.note .inner {
  padding: 0 15px 5px 15px;
}
.related.note h3 {
  font-size: 1.3rem;
  padding: 15px 10px 10px 10px;
  text-align: center;
}
.related.note img {
  max-width: 125px;
  height: auto;
}
.related.note a {
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: block;
}
#main .related.note, #indexes .related.note, #contents .related.note {
  display: none;
}
/*サイドナビゲーション*/
.notice {
  margin-bottom: 20px;
  border: 1px solid #d8d8d8;
  border-top: none;
  font-size: 1.1rem;
}
.notice_title {
  background: #55a1d0;
  padding: 7px 15px;
  color: #ffffff;
  text-align: center;
}
.notice_txt {
  padding: 15px;
}
/*メインコンテンツ*/
#main h2.ttl {
  background-color: #1975B3;
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1.167em;
  margin-bottom: 20px;
}
#main .author {
  padding-bottom: 10px;
}
#main table {
  border-top: 1px solid #dcdcdc;
  border-left: 1px solid #dcdcdc;
  width: 100%;
  margin-bottom: 22px;
}
#main table th, #main table td {
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  padding: 10px 10px 10px 10px;
}
#main table th {
  background-color: #f7fbff;
  color: #536980;
  width: 20%;
  font-weight: bold;
  text-align: left;
}
#main table td {
  width: 80%;
}
#main .lineup table {
  margin-bottom: 10px;
  width: 100%;
  border-collapse: collapse;
}
#main .lineup table th:nth-child(1) {
  width: 30%;
}
#main .lineup table th:nth-child(2) {
  width: 20%;
}
#main .lineup table th:nth-child(3) {
  width: 25%;
}
#main .lineup table th:nth-child(4) {
  width: 15%;
}
#main .lineup .notes {
  margin-bottom: 5px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.table th, .table td {
  border: 2px solid #eee;
  padding: 4px 8px;
}
#main .indexes {
  margin-bottom: 20px;
}
#main p.note {
  text-align: right;
  padding: 10px 0;
}

/*ページ下部の関連書籍*/
#main .related {
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px dotted #dcdcdc;
  overflow: hidden;
}
#main .related h2 {
  background-color: #1975B3;
  padding: 5px 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1.167em;
  margin-bottom: 0px;
}
#main .related .title {
  margin: 5px 0 0 0;
}
/*ページ下部の戻るボタン*/
.BackTop {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.BackTop a {
  position: relative;
  display: block;
  padding: 15px 0;
  width: 280px;
  border: 1px solid #999;
  background: #fff;
  text-align: center;
  letter-spacing: .25rem;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.5;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
  color: #333;
  text-decoration: none;
}
.BackTop a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  margin: auto;
  width: 7px;
  height: 7px;
  border-top: 1px solid #505050;
  border-right: 1px solid #505050;
  content: "";
  vertical-align: middle;
  transform: rotate(225deg);
}
/*ツールチップリンクボタン*/
a.tip_link {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
}
/*ツールチップ表示エリア*/
.tip_box {
  position: absolute;
  width: 495px;
  background-color: #fff;
  border: 3px solid #D5E1E7;
  padding: 10px 15px;
  box-shadow: 5px 5px 5px #ccc;
  color: #444;
}
#main .notice.sp {
  display: none;
}
@media only screen and (max-width: 767px) {
  /*コンテンツレイアウト指定*/
  .good_item .box {
    flex-direction: column;
  }
  .good_item #sub {
    width: auto;
  }
  .good_item #main {
    width: auto;
  }
  #sub .notice {
    display: none;
  }
  #sub .related.note {
    display: none;
  }
  #main .related.note {
    display: block;
    text-align: center;
  }
  #main .notice.sp {
    display: block !important;
  }
  /*メインコンテンツ*/
  #main table th {
    width: 100px;
  }
  #main .description {
    padding: 9px;
  }
  #main .description .inner {
    padding: 15px;
  }
  #main .description span {
    margin-left: 0px !important;
  }
  /*ページ下部の関連書籍*/
  #main .related h2 {
    margin-bottom: 10px;
  }
  #main .related .slick-slide img {
    margin: 0 auto;
  }
  #main .lineup .table-wrap {
    overflow-x: scroll;
    margin-bottom: 10px;
  }
  #main .lineup table {
    margin-bottom: 0px;
    width: 100%;
    min-width: 660px;
  }
}
/*関連書籍*/
.list_item_panel {
  margin-bottom: 10px;
}
.list_item_panel_items > li {
  flex-basis: 19.2%;
  margin-right: 1%;
  padding: 15px;
}
.list_item_panel_items > li:nth-child(3n+1), .list_item_panel_items > li:nth-child(3n+2) {
  margin-right: 1%;
}
.list_item_panel_items > li:nth-child(5n) {
  margin-right: 0;
}
.list_item_panel_items > li > a span {
  width: auto;
}
.list_item_panel_items li a div {
  width: auto;
  height: auto;
}
.list_item_panel_items li a div img {
  margin-bottom: 0;
}





@media only screen and (max-width: 767px) {
  .list_item_panel_area {
    width: 90%;
    margin: 0 auto;
  }
  .list_item_panel_items .slick-slide {
    padding: 10px;
    margin: 5px;
    border: 1px solid #c7c7c7;
  }
  .list_item_panel_items li a div {
    height: auto;
  }
  .list_item_panel_items li a {
    text-decoration: none;
    color: #333;
  }
  .list_item_panel_items .slick-next {
    right: -20px;
  }
  .list_item_panel_items .slick-prev {
    left: -20px;
  }
  .slick-prev:before {
    content: '<';
  }
  .slick-next:before {
    content: '>';
  }
  .list_item_panel_items .slick-dots {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    list-style: none;
    text-align: center;
    transform: translateY(100%);
    -webkit- transform: translateY(100%);
  }
  .list_item_panel_items .slick-dots li button:before {
    font-size: 20px;
  }
  .list_item_panel_items .slick-slide {
    position: relative;
  }
  .list_item_panel_items .slick-slide::before, .list_item_panel_items .slick-slide::after {
    position: absolute;
    content: "";
    vertical-align: middle;
  }
  .list_item_panel_items .slick-slide::before {
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    background: #8bb6e0;
  }
  .list_item_panel_items .slick-slide::after {
    right: 8.5px;
    bottom: 3px;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg) translateY(-50%);
  }
}