@media screen and (min-width: 769px) {
  .widget {
    display: none;
  }

  #wrapper {
    min-width: 100%!important;
  }

  #contents {
    width: 100%!important;
    min-width: 100%!important;
  }

.mag_left {
  width: 100%!important;
  float: none;
}

.mag_contents {
    width: 100%!important;
}
}

@media screen and (max-width: 768px) {
  .mag_contents  {
    width: 100%!important;
  }

.brand_ranking_inner {
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

}

h1.cont_columntitle {
  display: none;
} 
       
       
       .bg_beige {
        background: #f5f5dc;
       }

       .bg_aliceblue {
        background: #f0f8ff;
       }       

       .bg_lightsteelblue {
        background: #b0c4de;
       } 

       .brand_ranking_wrap {
            width: 100%;
            margin: 0 auto;
        }

@media screen and (max-width: 768px) {
       .brand_ranking_wrap {
            padding: 0 15px;
            box-sizing: border-box;
        }
}

.Brand_ranking {
  width: 100%;
  margin: 100px auto 0;
}

.brand_ranking_wrap_fv img {
  margin: 0 auto 60px;
  display: block;
}

       .brand_ranking_wrap_top_txt {
        width: 100%;
        max-width: 1000px;
        line-height: 1.5;
        margin: 0 auto 60px;
       }

      .brand_ranking_wrap_choices {
        width: 100%;
      }
      
      .brand_ranking_wrap_choices ul {
        width: 100%;
        max-width: 1050px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
      }
      
     .brand_ranking_wrap_choices ul li {
        width: 33%;
        text-align: center;
      }      

      .brand_ranking_wrap_choices ul li a {
      width: 100%;
    display: block;
    padding: 1rem 0;
    text-align: center;
    font-size: 1em;
    transition: .3s;
    text-decoration: none;
    min-height: 3rem;
    border-left: 1px solid #2e2e2e;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    justify-content: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
}

      .brand_ranking_wrap_choices ul li a:hover {
      background: #2e2e2e;
      color: #fff;
}

.brand_ranking_wrap_choices ul li:nth-child(1) a, .brand_ranking_wrap_choices ul li:nth-child(2) a, .brand_ranking_wrap_choices ul li:nth-child(3) a {
    border-bottom: 1px solid #2e2e2e;
    border-top: 1px solid #2e2e2e;
}

.brand_ranking_wrap_choices ul li:nth-child(4) a, .brand_ranking_wrap_choices ul li:nth-child(5) a, .brand_ranking_wrap_choices ul li:nth-child(6) a {
    border-bottom: 1px solid #2e2e2e;
}

.brand_ranking_wrap_choices ul li:nth-child(3n) a {
    border-right: 1px solid #2e2e2e;
}


@media screen and (min-width: 769px){

.ranking__item {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;  
}

.ranking__item-reverse {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: row-reverse;

}

}

@media screen and (max-width: 768px) {
.ranking__item, .ranking__item-reverse  {
  width: 100%;
  margin: 0 auto;  
}
}


.ranking__item img {
  width: 100%;
  height: auto;
}

.ranking__content {
  width: 48%;
}

@media screen and (max-width: 768px) {
  
.ranking__content {
  width: 100%;
}
}

.ranking__content img {
  width: 100%;
  height: auto;
}

.ranking__title {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
}

ul.ranking__links {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

ul.ranking__links li.ranking__link-item {
  width: 32%;
  background: #334561;
  padding: 15px 0; 
  color: #fff;
  box-sizing: border-box;
}

ul.ranking__links li.ranking__link-item a:link, ul.ranking__links li.ranking__link-item a:visited{
  color: #fff;
  text-decoration: none;
  text-align: center;
}

ul.ranking__links li.ranking__link-item a {
  display: block;
}

ul.ranking__links li.ranking__link-item a:hover {
  opacity: 0.7;
}

.ranking__rank {
    font-family: canada-type-gibson, sans-serif;
    font-weight: 600;
    color: #e3bb7d;
    font-size: 14px;
    text-decoration: underline;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ranking__brand {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.ranking__brand-name-en {
      font-family: canada-type-gibson, sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 10px;
    color: #092748;
    line-height: 1;
}

@media screen and (min-width: ○px) {
  
.ranking__brand-name-en {
    font-size: 30px;
}
}

.ranking__brand-name-ja {
  font-size: 15px;
  display: block;
  font-weight: 600;
    color: #092748;
    margin-bottom: 30px;
}

.ranking__brand-txt {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 30px;
}

.ranking__more {
  display: block;
  width: 100%;
  max-width: 600px;
  padding: 15px 0;
  box-sizing: border-box;
  border: solid 1px #000;
  text-align: center;
  margin: 0 auto;
}

.Brand_ranking_under3rdPlace  {
  width: 100%;
  max-width: 980px;
  margin: 100px auto 60px;
}

.Brand_ranking_under3rdPlace ul{
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.Brand_ranking_under3rdPlace ul li{
  width: 23%;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  
.Brand_ranking_under3rdPlace ul li{
  width: 48%;
  margin-bottom: 60px;

}
}

.Brand_ranking_under3rdPlace ul li img{
  width: 100%;
}

.Brand_ranking_under3rdPlace ul li a:link, .Brand_ranking_under3rdPlace ul li a:visited{
  text-decoration: none;
  color: #000;
}

.Brand_ranking_under3rdPlace ul li a:link p, .Brand_ranking_under3rdPlace ul li a:visited p{
  color: #000;
}

a.ranking__more{
  transition: 0.5s;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

a.ranking__more:hover{
  background: #5e5d56;
  color: #fff;
}

div.all_view_btn {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 100px;
}

div.all_view_btn a {
  text-align: center;
  color: #fff;
  background: #000;
  padding: 15px 0;
  box-sizing: border-box;
  display: block;
  font-size: 16px;
}

div.all_view_btn a:hover {
  opacity: 0.7;
}

.bg_gray {
  background-color: #fffaf0;
  box-sizing: border-box;
  overflow: hidden;
}

.brands_and_models_wrap {
    width: 100%;
    background: #f0f8ff;
    box-sizing: border-box;
    padding: 100px;
}

.brands_and_models_wrap ul {
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}

.brands_and_models_wrap ul li {
    width: 40%;
    margin-bottom: 100px;
}

.brands_and_models_wrap ul li img {
    width: 100%;
    height: auto;
}

.brands_and_models_wrap ul li a p.ranking__brand-txt {
    color: #708090;
    line-height: 1.5;
}

.brands_and_models_wrap ul li .ranking__brand {
    margin-top: 30px;
}

.brands_and_models_wrap ul li a:link, .brands_and_models_wrap ul li a:visited {
    text-decoration: none;
}

.item_ranking_prod_wrap {
  width: 100%;
      box-sizing: border-box;
    padding: 100px;
}


.item_ranking_prod_wrap h2 span, .by_type_wrap h2 span, .by_price_wrap h2 span {
  display: block;
  color: #353e4d;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
  margin-top: 30px;
}

.item_ranking_prod_wrap ul {
  width: 100%;
  max-width: 980px;
  margin: 100px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.item_ranking_prod_wrap ul li {
  width: 23%;
  background: #fff;
    margin-bottom: 50px; 
    position: relative;
}

.item_ranking_prod_wrap ul li .rank_label {
  position: absolute;
  border-radius: 100px;
  background: #e3bb7d;
  width: 30px;
  height: 30px;
  text-align: center;
  top: 5px;
  left: 5px;
  line-height: 30px;
}

.item_ranking_prod_wrap ul li:first-of-type .rank_label {
  position: absolute;
  border-radius: 100px;
  background: gold;
  width: 30px;
  height: 30px;
  text-align: center;
  top: 5px;
  left: 5px;
  line-height: 30px;
}

.item_ranking_prod_wrap ul li:nth-of-type(2) .rank_label {
  position: absolute;
  border-radius: 100px;
  background: silver;
  width: 30px;
  height: 30px;
  text-align: center;
  top: 5px;
  left: 5px;
  line-height: 30px;
}


.item_ranking_prod_wrap ul li:nth-of-type(3) .rank_label {
  position: absolute;
  border-radius: 100px;
  background: #b8860b;
  width: 30px;
  height: 30px;
  text-align: center;
  top: 5px;
  left: 5px;
}

.item_ranking_prod_wrap ul li a:link, .item_ranking_prod_wrap ul li a:visited{
  text-decoration: none;
}

.item_ranking_prod_wrap ul li a:hover { 
  opacity: 0.7;
}

.item_ranking_prod_wrap ul li img {
  width: 100%;
}

.item_ranking_prod_inner {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.item_ranking_prod_inner .product_name {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.item_ranking_prod_inner .price {
  color: red;
  font-weight: 600;
  position: relative;
   margin: 5px 0; 
}

.item_ranking_prod_inner .price::before {
  content: "￥";
  color: red;
  font-weight: 600;

}

.item_ranking_prod_inner span.brand_name {
  font-weight: 200;
  color: #334561;
  display: block;
  text-align: left;
  font-size: 13px;
}

.ranking__title-undertext {
  text-align: center;
  margin-top: 30px;
  color: #353e4d;
}

.by_type_wrap {
    box-sizing: border-box;
    padding: 100px;
}

.by_type_wrap .circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;  /* 円形にする */
  position: relative;  /* 基準値とする */
  overflow: hidden;    /* はみ出た部分を非表示 */
  margin: 0 auto;
}

.by_type_wrap .circle img {
  position: absolute;  /* 相対位置に指定 */
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  object-fit: cover;   /* 画像の表示サイズを調整 ※IE非対応 */
}


.by_type_wrap ul {
  width: 100%;
  max-width: 980px;
  margin: 100px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.by_type_wrap ul li {
  width: 31%;
  background: #fff;
    margin-bottom: 50px; 
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  padding: 20px;
  box-sizing: border-box;    
}


.by_type_wrap ul li img {
  width: 100%;
}

.by_type_wrap ul li a {
 text-decoration: none;
 color: #708090;
}

.by_type_wrap ul li .by_type_inner {
  width: 100%;
  margin-top: 20px;
}

.by_type_wrap ul li .by_type_inner p {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}

.by_type_wrap ul li .by_type_inner a.by_type_morebtn {
  width: 100%;
  display: block;
  border: solid 1px #708090;
  text-align: center;
  padding: 10px 0;
  margin-top: 10px;
}

.by_type_wrap ul li .by_type_inner a.by_type_morebtn:hover {
  opacity: 0.7;
}

.by_price_wrap {
  width: 100%;
  box-sizing: border-box;
  padding: 100px;
}

.by_price_wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.by_price_wrap ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 60px auto;
}

.by_price_wrap ul li {
  width: 30%;
   border: solid 1px #334561;
  box-sizing: border-box; 
  margin-bottom: 20px;
}


.by_price_wrap ul li a {
  color: #334561;
  text-decoration: none;
  display: block;
  padding: 15px 0;
  text-align: center;
} 

.by_price_wrap ul li a:visited {
  color: #334561;
} 

.by_price_wrap ul li a:hover {
  background: #334561;
  color: #fff;
}

