* {
  box-sizing: border-box;
}

html {
  font-size: 10px;
  height: 100%;
}

body {
  color: #333;
  font-family: 'Yu Gothic', '游ゴシック', YuGothic, '游ゴシック体', 'ヒラギノ角ゴ Pro W3', 'メイリオ', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1;
  -webkit-text-size-adjust: none;
}

body.active {
  height: 100%;
  overflow: hidden;
}

a {
  color: #333;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  opacity: .75;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

dl, ul {
  list-style: none;
}

.only_pc {
  display: block;
}

.only_sp {
  display: none;
}

.container {
  margin: 0 auto;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  width: 100%;
}

.breadcrumbs {
  align-items: center;
  background-color: #686868;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  padding: 10px 30px;
  text-align: left;
  width: 100%;
}

.breadcrumbs_item_link {
  color: white !important;
  font-size: 16px;
  font-weight: normal;
  line-height: 21px;
  text-decoration: none;
}

.breadcrumbs_item_link:hover {
  text-decoration: underline;
}

.breadcrumbs {
  display: flex;
  margin-top: 74px;
}

.breadcrumbs * {
  color: white;
}

.breadcrumbs_item {
  font-size: 16px;
  line-height: 21px;
  padding-left: 1em;
  padding-right: 1em;
}

.breadcrumbs_item:first-child {
  padding-left: 0;
}

.c-BreadList:not(:last-child):after {
  content: none !important;
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    font-size: 1.2rem;
    margin-top: 50px;
    overflow-x: scroll;
    padding: 7px 10px;
  }

  .breadcrumbs_item {
    flex-shrink: 0;
    font-size: 1.2rem;
    padding-right: 10px;
  }

  .breadcrumbs_item_link {
    font-size: 1.2rem;
  }

  .container {
    max-width: none;
  }

  .only_pc {
    display: none;
  }

  .only_sp {
    display: block;
  }
}

/* ------------------------------------------
  カテゴリ別人気ランキング
------------------------------------------ */
.ranking {
  margin-top: 50px;
}

.ranking_title {
  background-color: #fcf4ec;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: .05em;
  padding: 16px 0 16px 32px;
  position: relative;
}

.ranking_title::before {
  background-color: #eb5505;
  content: '';
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
}

.ranking_item {
  margin-top: 50px;
}

.ranking_item:first-child {
  margin-top: 35px;
}

.ranking_item_title {
  border: 1px solid #dc0f10;
  border-radius: 4px;
  position: relative;
  text-align: center;
}

.ranking_item_title::after {
  background-image: url(../img/bubble_bottom.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -7px;
  content: '';
  display: block;
  height: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 16px;
}

.ranking_title_inner {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
}

.ranking_title_inner.kakei {
  background-image: url(../img/category_icon1.png);
  background-position: left top 12px;
  background-repeat: no-repeat;
  background-size: 17px 24px;
  padding: 15px 0 15px 30px;
}

.ranking_title_inner.homeloan {
  background-image: url(../img/category_icon2.png);
  background-position: left top 12px;
  background-repeat: no-repeat;
  background-size: 23px 20px;
  padding: 15px 0 15px 33px;
}

.ranking_title_inner.hoken {
  background-image: url(../img/category_icon3.png);
  background-position: left top 12px;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  padding: 15px 0 15px 33px;
}

.ranking_title_inner.shisan {
  background-image: url(../img/category_icon4.png);
  background-position: left top 12px;
  background-repeat: no-repeat;
  background-size: 20px 21px;
  padding: 15px 0 15px 30px;
}

.ranking_item_list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ranking_item_list:first-child {
  margin-top: 0;
}

.ranking_item_list_item_img_wrapper {
  position: relative;
}

.ranking_item_list_item {
  margin-top: 32px;
}

.ranking_item_list_item:nth-child(n+2) {
  width: calc((100% - 20px) / 2);
}

.ranking_item_list_item:nth-child(odd) {
  margin-left: 20px;
}

.ranking_item_list_item:first-child {
  margin-left: 0;
  margin-top: 0;
  width: 100%;
}

.ranking_item_list_item:first-child .ranking_item_list_item_label {
  margin-top: 12px;
}

.ranking_item_list_item_img_label {
  left: 0;
  position: absolute;
  top: 0;
}

.ranking_item_list_item_text_wrapper {
  margin-top: 10px;
}

.ranking_item_list_item_text_wrapper:first-child {
  margin-top: 12px;
}

.ranking_item_list_item_label_cat {
  background-color: #eee;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: .1em;
  padding: 4px 6px;
}

.ranking_item_list_item_label_date {
  color: #888;
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
}

.ranking_item_list_item_title {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 6px;
}

.ranking_item_list_item:first-child .ranking_item_list_item_label_cat {
  background-color: #eee;
  display: inline-block;
  font-size: 1.1rem;
  letter-spacing: .1em;
  padding: 4px 6px;
}

.ranking_item_list_item:first-child .ranking_item_list_item_label_date {
  display: inline-block;
  margin: 0 0 0 10px;
}

.ranking_item_list_item:first-child  .ranking_item_list_item_title {
  font-size: 1.6rem;
  margin-top: 8px;
}

/* .ranking_item_list_item_label_cat {
  width: calc((100% - 20px) / 2);
} */

.ranking_item_list_item_img_label {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 46px;
  left: 0;
  position: absolute;
  top: 0;
  width: 46px;
}

.ranking_item_list_item:first-child .ranking_item_list_item_img_label {
  background-image: url(../img/ranking_item_list_item_img_label_back.png);
}

.ranking_item_list_item:nth-child(2) .ranking_item_list_item_img_label {
  background-image: url(../img/ranking_item_list_item_img_label_back2.png);
}

.ranking_item_list_item:nth-child(3) .ranking_item_list_item_img_label {
  background-image: url(../img/ranking_item_list_item_img_label_back3.png);
}

.ranking_item_list_item:nth-child(4) .ranking_item_list_item_img_label {
  background-image: url(../img/ranking_item_list_item_img_label_back4.png);
}

.ranking_item_list_item:nth-child(5) .ranking_item_list_item_img_label {
  background-image: url(../img/ranking_item_list_item_img_label_back5.png);
}

.go_to_list_link_wrapper {
  margin: 40px auto 0;
}

.go_to_list_link {
  background: #eb5505;
  border-radius: 28px;
  box-shadow: 6px 6px 8px rgba(0, 0, 0, .08);
  color: #fff;
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  height: 56px;
  letter-spacing: .05em;
  line-height: 56px;
  margin: 0 auto;
  text-align: center;
  width: 320px;
}

@media screen and (min-width: 767px) {
  .cat_tab_list_wrapper {
    margin-top: 40px;
  }

  .cat_tab_list {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
  }

  .ranking_item_title {
    border: none;
    border-radius: 0;
  }

  .ranking_title_inner.kakei {
    background-position: left top 18px;
    padding: 22px 0 22px 38px;
  }

  .ranking_title_inner_s {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: normal;
    text-indent: .5em;
  }

  .ranking_title_inner.homeloan {
    background-position: left top 18px;
    background-size: 27px 25px;
    padding: 22px 0 22px 38px;
  }

  .ranking_title_inner.hoken {
    background-position: left top 19px;
    background-size: 25px 25px;
    padding: 22px 0 22px 38px;
  }

  .ranking_title_inner.shisan {
    background-position: left top 21px;
    padding: 22px 0 22px 38px;
  }

  .ranking_item_title::after {
    display: none;
  }

  .ranking_item_list {
    display: block;
    margin-top: 0;
  }

  .ranking_item_list_item:first-child {
    float: left;
    width: 49.6%;
  }

  .ranking_item_list_item:first-child .ranking_item_list_item_link_inner {
    display: block;
  }

  .ranking_item_list_item:first-child .ranking_item_list_item_title {
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 15px;
  }

  .ranking_item_list_item:first-child .ranking_item_list_item_text_wrapper {
    margin-top: 16px;
  }

  .ranking_item_list_item:nth-child(2) {
    margin-top: 0;
  }

  .ranking_item_list_item:nth-child(n+2) {
    margin-left: auto;
    width: 45%;
  }

  .ranking_item_list_item:nth-child(n+3) {
    margin-top: 16px;
  }

  .ranking_item_list_item:nth-child(n+2) .ranking_item_list_item_img_wrapper {
    flex-shrink: 0;
    width: 35.1%;
  }

  .ranking_item_list_item:nth-child(n+2) .ranking_item_list_item_text_wrapper {
    margin-left: 16px;
    margin-top: 0;
  }

  .go_to_list_link_wrapper {
    clear: both;
    margin-top: 0;
    padding-top: 50px;
  }

  .ranking_item_list_item_link_inner {
    align-items: flex-start;
    display: flex;
  }

  .cat_tab {
    background-color: #fff;
    border: 1px solid #eee;
    cursor: pointer;
    position: relative;
    width: 24.4%;
    z-index: 2;
  }

  .cat_tab.active {
    border: 1px solid #eb5505;
    border-bottom: 1px solid #fff;
    padding-bottom: 11px;
    position: relative;
    z-index: 2;
  }

  .cat_panel_area {
    margin-top: -2px;
    position: relative;
  }

  .ranking_item {
    display: none;
    margin-top: 0;
    padding: 50px 45px;
  }

  .ranking_item:first-child {
    margin-top: 0;
  }

  .ranking_item.active {
    border: 1px solid #eb5505;
    display: block;
  }

  .ranking_item_list_item_label_date {
    display: inline-block;
    margin: 0 0 0 10px;
  }
}
