@charset "UTF-8";


/* ==========================================================
ランキング導入見出し
========================================================== */

.ranking_intro {
    margin-bottom: 30px;
}

/* ==========================================================
吹き出し全体
========================================================== */

.ranking_intro_balloon_wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

/* 黄色い版ズレ */
.ranking_intro_balloon_wrap::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  background: #fff19a;
  border-radius: 28px;
  z-index: 0;
}

/* 黄色いしっぽ */
.ranking_intro_balloon_wrap::after {
  content: "";
  position: absolute;
  left: 38px;
  bottom: -17px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #fff19a;
  z-index: 0;
}


/* ==========================================================
白い吹き出し
========================================================== */

.ranking_intro_balloon {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 16px 34px;
  background: #fff;
  border: 3px solid #222;
  border-radius: 28px;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  box-sizing: border-box;
}


/* ==========================================================
borderの切れ目
========================================================== */

.ranking_intro_border_cut {
  position: absolute;
  display: block;
  background: #fff;
  z-index: 3;
  pointer-events: none;
}


/* 上側の切れ目 */
.ranking_intro_border_cut_top {
  top: -4px;
  left: 62px;
  width: 12px;
  height: 8px;
}


/* 下側の切れ目 */
.ranking_intro_border_cut_bottom {
  right: 62px;
  bottom: -4px;
  width: 12px;
  height: 8px;
}


/* ==========================================================
吹き出しのしっぽ
========================================================== */

/* 黒いしっぽ */
.ranking_intro_balloon::before {
  content: "";
  position: absolute;
  left: 34px;
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 15px solid #222;
  z-index: 1;
}


/* 白いしっぽ */
.ranking_intro_balloon::after {
  content: "";
  position: absolute;
  left: 37px;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 11px solid #fff;
  z-index: 2;
}


/* ==========================================================
おうちの設備人気ランキング タイトル下テキスト
========================================================== */

.top_lyt_ranking_info {
  margin-bottom: 20px;
}

.top_lyt_ranking_info a {
  display: inline-block;
  text-decoration: underline;
}

/* ==========================================================
おうちの設備人気ランキング
========================================================== */

.top_lyt_ranking {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 60px auto 0;
}

.top_lyt_ranking_hdg {
  margin: 0 0 15px;
  color: #3c3c3c;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}


/* ==========================================================
Swiper
========================================================== */

.top_lyt_ranking_swiper {
  position: relative;
  width: 100%;
  padding: 4px 45px 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.top_lyt_ranking_list {
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}


/* ==========================================================
カード
========================================================== */

.top_lyt_ranking_list_item {
  position: relative;
  width: auto;
  height: auto;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
}

.top_lyt_ranking_list_item > a,
.top_lyt_ranking_list_link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333;
  text-decoration: none;
}

.top_lyt_ranking_list_item > a:hover {
  color: #333;
  text-decoration: none;
  opacity: 0.9;
}


/* ==========================================================
順位リボン
元サイトと同じHTML・CSS構造
========================================================== */

.top_lyt_ranking_list_num {
  position: absolute;
  top: 0;
  left: 3px;
  z-index: 5;
  width: 24px;
  background: #c7a402;
  color: #fff;
  font-weight: bold;
  text-align: center;
  overflow: visible;
}

.top_lyt_ranking_list_num::before {
  content: "";
  display: block;
  width: 14px;
  height: 10px;
  margin: 5px auto 0;
  background-image: url("/sumutano/wp-content/uploads/top-ranking/icon_ranking_crown.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 10px;
}

.top_lyt_ranking_list_num > span {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.top_lyt_ranking_list_num::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  border: 12px solid #c7a402;
  border-bottom: 7px solid transparent;
}


/* ==========================================================
カテゴリ
========================================================== */

.top_lyt_ranking_list_category {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 9px 12px 9px 35px;
  color: #444;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
  box-sizing: border-box;
}

.top_lyt_ranking_list_category .f_11 {
  font-size: 11px;
  line-height: 1.4;
}


/* ガス給湯器専用 */
.un_top_ranking_gas{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  line-height:1.2;
}

.un_top_ranking_gas br{
  display:block;
}

.un_top_ranking_gas .f_11{
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  margin-top:2px;
}


/* ==========================================================
商品画像・商品情報
========================================================== */

.top_lyt_ranking_list_col {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 10px 0;
  box-sizing: border-box;
}

.top_lyt_ranking_list_img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 155px;
}

.top_lyt_ranking_list_img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 155px;
  object-fit: contain;
}


/* ==========================================================
メーカー画像・シリーズロゴ・品名
========================================================== */

/* メーカー情報エリア全体 */
.top_lyt_ranking_list_name {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  min-height: 75px;
  padding: 8px 0 0;
  box-sizing: border-box;
}

/* 左側：メーカーロゴ */
.top_lyt_ranking_list_name_img {
  display: flex;
  flex: 0 0 70px;
  align-items: center;
  justify-content: center;
  width: 70px;
  min-width: 70px;
  min-height: 29px;
  margin-right: 6px;
  box-sizing: border-box;
}

/* メーカーロゴ画像 */
.top_lyt_ranking_list_name_img img {
  display: block;
  width: auto;
  max-width: 76px;
  height: auto;
  max-height: 29px;
  object-fit: contain;
}

/* 右側：シリーズロゴ＋品名 */
.top_lyt_ranking_list_name_txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  color: #444;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.3;
  text-align: left;
}

/* FACEIS GRAND・Curaraなど */
.top_lyt_ranking_list_series_logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 31px;
  margin: 0 0 5px;
  object-fit: contain;
}

/* 品名・シリーズ名・品番 */
.top_lyt_ranking_list_name_txt > span {
  display: block;
  width: 100%;
  font-weight: bold;
  line-height: 1.3;
}

/* 商品情報内の補足文字 */
.top_lyt_ranking_list_name_txt .f_11 {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.top_lyt_ranking_list_name_txt .f_12 {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}


/* ==========================================================
購入率
========================================================== */

.top_lyt_ranking_list_txt {
  margin-top: auto;
  padding: 8px 15px;
  border-top: 1px solid #eee;
  background: #f5f5f5;
  color: #4d4c4c;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.top_lyt_ranking_list_txt .sub_text {
font-size: 12px;
}

.top_lyt_ranking_list_txt > span {
  color: #4d4c4c;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: -0.2px;
  font-family: "メイリオ", "ヒラギノ角ゴ Pro W3";
}


/* ==========================================================
左右ボタン
========================================================== */

.top_lyt_ranking_prev,
.top_lyt_ranking_next {
  top: 50%;
  width: 46px;
  height: 74px;
  margin-top: -36px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.top_lyt_ranking_prev {
  left: 1px;
}

.top_lyt_ranking_next {
  right: 1px;
}

.top_lyt_ranking_prev::after,
.top_lyt_ranking_next::after {
  color: #36a525;
  font-size: 32px;
  font-weight: 400;
}



/* ==========================================================
1024px～1279px
========================================================== */

@media (min-width: 1024px) and (max-width: 1279px) {

    .top_lyt_ranking {
        max-width: 1000px;
    }

    .top_lyt_ranking_list_item {
        position: relative;
        width: auto;
        height: auto;
        margin: 0;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: #fff;
        box-sizing: border-box;
        overflow: hidden;
        box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
    }

}


/* ==========================================================
768px～1023px
========================================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    .top_lyt_ranking {
        width: calc(100% - 30px);
        margin: 50px auto;
    }

    .top_lyt_ranking_swiper {
        padding-right: 38px;
        padding-left: 38px;
    }

.top_lyt_ranking_list_item {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
}

}


/* ==========================================================
767px以下
========================================================== */

@media (max-width: 767px) {
  

    .ranking_intro_balloon_wrap {
        margin-left: 10px;
    }
    .top_lyt_ranking_info {
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .top_lyt_ranking {
        width: 100%;
        margin: 40px auto;
        overflow: hidden;
    }

    .top_lyt_ranking_hdg {
        margin-bottom: 18px;
        padding: 0 15px;
        font-size: 20px;
    }

    /* Swiper全体 */
    .top_lyt_ranking_swiper {
        position: relative;
        padding: 4px 15px 8px;
        overflow: visible;
    }

    .top_lyt_ranking_list_item {
        position: relative;
        width: 282px;
        height: auto;
        margin: 0;
        border: 1px solid #ddd;
        border-radius: 3px;
        background: #fff;
        box-sizing: border-box;
        overflow: hidden;
        box-shadow: 0 2px 7px rgba(0, 0, 0, 0.06);
    }

    /* 左右ナビボタン共通 */
    .top_lyt_ranking_prev,
    .top_lyt_ranking_next {
        position: absolute;
        top: 50%;
        width: 46px;
        height: 72px;
        margin-top: 0;
        transform: translateY(-50%);
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        z-index: 20;
    }

    /* 左ボタン */
    .top_lyt_ranking_prev {
        left: 8px;
    }

    /* 右ボタン */
    .top_lyt_ranking_next {
        right: 8px;
    }

    /* 矢印 */
    .top_lyt_ranking_prev::after,
    .top_lyt_ranking_next::after {
        font-size: 26px;
        font-weight: 700;
        color: #159b22;
    }

/* ==========================================================
SP 商品画像＋商品情報
========================================================== */

    .top_lyt_ranking_list_col {
        padding: 0 10px 5px;
    }

    /* 商品画像＋商品情報を横並び */
    .top_lyt_ranking_list_body {
        display: flex;
        align-items: center;
    }

    /* 商品画像 */
    .top_lyt_ranking_list_img {
        flex: 0 0 50%;
        height: auto;
        margin-right: 10px;
    }

    .top_lyt_ranking_list_img img {
        max-height: 160px;
    }

    /* メーカー情報全体 */
    .top_lyt_ranking_list_name {
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 0;
    }

    /* メーカーロゴ */
    .top_lyt_ranking_list_name_img {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        min-height: 0;
        margin: 0 0 4px;
        justify-content: flex-start;
    }

    /* 右側情報 */
    .top_lyt_ranking_list_name_txt {
        flex: 0 0 auto;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .top_lyt_ranking_list_series_logo {
        max-width: 120px;
        margin-bottom: 6px;
    }

    .top_lyt_ranking_list_name_txt > span {
        font-size: 12px;
        line-height: 1.35;
    }

    /* 購入率 */
    .top_lyt_ranking_list_txt {
        margin-top: auto;
        padding: 8px 15px;
        border-top: 1px solid #eee;
        background: #f5f5f5;
        color: #4d4c4c;
        font-weight: bold;
        font-size: 13px;
        line-height: 1.5;
        letter-spacing: -0.2px;
        text-align: center;
    }

}