/*
Theme Name: 比較サイトテンプレート
Theme URL: https://mightyace.co.jp/hikakutemplate/
Description: 比較サイトテンプレート
Author: 比較サイトテンプレート
Version: 1.1
*/

@charset "utf-8";

/* ===================
#fv
=================== */
#fv{
background: url(../../../images/bg_fv.jpg) no-repeat;
background-position: top center;
background-size: cover;
}
#fv .contents_box{
position: relative;
}
#fv .contents_box #fv_btn{
position: absolute;
left: 0;
right: 0;
bottom: 20px;
margin: 0 auto;
display: inline-block;
width: 389px;
}
    /*検索
------------------------------*/

    #search {
        width: 100%;
        background: #f6f6f6;
        padding: 30px;
        box-sizing: border-box;
        margin: 0 auto 70px;
    }
    #search h2 {
        width: 100%;
        background: #efe5d4;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        font-size: 2.5rem;
        font-weight: bold;
        pointer-events: none;
    }
    #search .toggle_area,header .toggle_area{
      display: block;
    }
    #search article {
        width: 100%;
        margin: 15px 0 0;
    }
    #search h3 {
        width: 100%;
        background: #dfdbdb;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        font-size: 2rem;
        margin: 0 0 15px;
        font-weight: bold;
    }

    #search article div {
        font-size: 1.8rem;
    }

    #search article label {
        margin: 0 20px 5px 0;
    }

    .search_btn_box {
        text-align: center;
        margin-top: 30px;
    }

    .search_btn {
        width: 300px;
        background: linear-gradient(-60deg,#efa574,#efce74);
        padding: 10px;
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 100px;
        font-size: 2.5rem;
        cursor: pointer;
        box-shadow: 0 5px 10px rgb(0,0,0,0.15);
    }


    input[type="submit"],
    input[type="button"] {
        -webkit-box-sizing: content-box;
        -webkit-appearance: button;
        appearance: button;
        border: none;
        box-sizing: border-box;
        cursor: pointer;
    }
    input[type="submit"]::-webkit-search-decoration,
    input[type="button"]::-webkit-search-decoration {
        display: none;
    }
    input[type="submit"]::focus,
    input[type="button"]::focus {
        outline-offset: -2px;
    }

    /* ===================
    #info
    =================== */
    #info,#point,#best{
    margin: 0 auto 70px;
    }
    #info figure{
    margin: 25px auto 50px;
    }

    /* ===================
    #point
    =================== */
    #point .title{
    margin: 0 auto 30px;
    }
    #point section:not(:first-of-type){
      margin-top: 70px;
    }
    #point section:nth-of-type(odd) .flex figure,#point section:nth-of-type(even) .flex div{
    order: 0;
    }
    #point section:nth-of-type(even) .flex figure,#point section:nth-of-type(odd) .flex div{
    order: 1;
    }
    #point section .flex div{
    width: 400px;
    box-sizing: border-box;
    }
    #point section:nth-of-type(odd) .flex div{
background: url(../../../images/bg_point_odd.png) no-repeat;
background-position: top 70px left;
background-size: auto;
padding: 30px 0 0 50px;
    }
    #point section:nth-of-type(even) .flex div{
background: url(../../../images/bg_point_even.png) no-repeat;
background-position: top 70px right;
background-size: auto;
padding: 30px 50px 0 0 ;
    }
    #point section .flex div h3{
font-size: 2.8rem;
line-height: 1.42em;
margin-bottom: 0.8em;
    }

    /* ===================
    #best
    =================== */
    /*#best .names{
position: sticky;
top:100px;
z-index: 3;
background: none;
    }*/
    #best .best_footer{
position: relative;
    }
    #best ul[class^="btn_s_no0"]{
      width: 109px;
position: absolute;
bottom: 61px;
    }
    #best ul[class^="btn_s_no0"] li:last-of-type{
    margin-top: 5px;
    }
    #best ul[class^="btn_s_no0"] li img{
      filter: drop-shadow(5px 0 5px rgb(0,0,0,0.15))
    }
    #best .btn_s_no01{
left:152px;
    }
    #best .btn_s_no02{
left: 268px;
    }
    #best .btn_s_no03{
right: 256px;
    }
    #best .btn_s_no04{
right: 141px;
    }
    #best .btn_s_no05{
right: 26px;
    }
    /* ===================
    #rank
    =================== */
.item_box{
box-sizing: border-box;
padding: 30px;
border-radius: 20px;
}
.item_box:not(:first-of-type){
  margin-top: 70px;
}
/* .title */
.item_box .title div{
  width: 555px;
}
.item_box .title div p{
  color: #959595;
  font-size: 1.8rem;
  line-height: 1.33em;
  margin-bottom: 0.8em;
}
.item_box .title div h3{
  font-size: 6rem;
  line-height: 1em;
  display: flex;
  align-items: center;
}
.item_box .title div h3 span{
  font-size: 0.36em;
  margin-left: 1em;
}
/* .top */
.item_box .top{
margin: 35px auto 0;
}
.item_box .top div{
  width: 385px;
}
.item_box .top .gold{
  font-size: 2.2rem;
  line-height: 1.54em;
  margin-bottom: 30px;
}
/* .item_box .active_ingredient */
.column_contents.item_box{
  box-shadow: none;
  padding: 0;
  margin: 2em auto;
}
.column_contents.item_box .active_ingredient{
  border:none;
  padding: 0;
  margin: 0;
}
.item_box .active_ingredient {
  border: 2px solid #e3d1a8;
  box-sizing: border-box;
  padding: 30px;
  border-radius: 10px;
  margin: 40px auto;
}
.item_box .active_ingredient dl{
  box-sizing: border-box;
  padding: 15px;
  border-radius: 10px;
  margin-top: 10px;
}
.item_box .active_ingredient dl dt{
  box-sizing: border-box;
  padding: 3px 0 3px 30px;
  margin-bottom: 0.8em;
  position: relative;
  font-size: 1.8rem;
}
.item_box .active_ingredient dl dt::after{
  width: 20px;
  height: 20px;
  content: "";
  box-sizing: border-box;
  border: 2px dotted #d95947;
  border-radius: 100px;
  position: absolute;
  top: 0;
  left: 0;
}
.item_box .active_ingredient .bg_active{
  background: #f9f5ed;
  }
  .item_box .active_ingredient .bg_another{
    background: #eee;
    }
    .item_box .active_ingredient .bnr{
      margin-top: 40px;
    }
    /* .item_data */
    .item_box .item_data{
margin: 40px auto 30px;
    }
    .item_box .item_data h3{
      font-size: 3.6rem;
      line-height: 1em;
      margin-bottom: 20px;
      padding-bottom: 15px;
      box-sizing: border-box;
      font-weight: bold;
      border-bottom: 2px solid #000;
    }
    .item_box .item_data div table{
      width: 100%;
      display: table;
      border-collapse: separate;
  border-spacing: 2px 5px;
    }
    .item_box .item_data div table tr th,.item_box .item_data div table tr td{
      vertical-align: middle;
    }
    .item_box .item_data div table tr th,.item_box .item_data div table tr td .big{
      font-size: 1.25em;
    }
    .item_box .item_data div table tr td .small{
      font-size: 0.75em;
    }
    .item_box .item_data div table tr th{
      padding-right: 2px;
      width: 115px;
      box-sizing: border-box;
      padding: 15px;
      background: #eee;
      font-weight: bold;
      box-sizing: border-box;
      font-size: 2rem;
    }
    .item_box .item_data div table tr td{
      width: 573px;
      border: 1px solid #eee;
      padding: 20px 15px;
      box-sizing: border-box;
    }
    .item_box .item_data div table tr td .discount{
      color: #fff;
      font-size: 1.6rem;
      line-height: 1em;
      padding: 2px 5px;
      box-sizing: border-box;
      background: #db6656;
      margin-left: 1em;
    }
/* .voice */
.item_box .voice{
  background: url(../../../images/bg_voice.jpg) repeat;
  background-size: auto;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  margin-top: 40px;
}

.item_box .voice h3{
  margin-bottom: 15px;
}
.item_box .voice .scroll{
  height: 250px;
  overflow-y: scroll;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
}
.item_box .voice .scroll section{
  box-sizing: border-box;
}
.item_box .voice .scroll section:not(:last-of-type){
  margin-bottom: 20px;
  padding-bottom:20px;
  border-bottom: 2px solid #eee;
}
.item_box .voice .scroll section h4{
  font-size: 1.8rem;
  line-height: 1.66em;
margin-bottom: 0.8em;
}
.item_box .voice .scroll section p:first-of-type{
  letter-spacing: 0.07em;
}


/* .cvarea */
.cv_area{
  margin: 40px auto;
}
.cv_area:last-of-type{
  margin: 40px auto 10px;
}
.cv_area .btn{
width: 325px;
}
.cv_area .btn a{
  border-radius: 100px;
  box-sizing: border-box;
  padding: 25px 15px;
  font-size: 2.8rem;
  line-height: 1em;
  text-align: center;
  font-weight: bold;
  width: 100%;
  display: inline-block;
}
.cv_area .btn.blue{
  margin-left: 30px;
}

    /* ===================
    #hot_topic
    =================== */
    #hot_topic{
margin: 70px auto 0;
    }
    #hot_topic .title{
      margin-bottom: 20px;
    }
    #hot_topic p{
      font-size: 1.8rem;
      line-height: 2.22em;
    }
    #hot_topic figure{
      margin: 50px auto 30px;
    }
    #hot_topic .link_arrow{
      text-align: right;
      /*padding: 5px 5px 5px 115px;
      box-sizing: border-box;*/
      background: url(../../../images/icon_arrow.png) no-repeat;
      background-position: right 335px center;
      background-size: auto;
    }
    #hot_topic .link_arrow span{
      font-size: 1.8rem;
      padding-bottom: 5px;
      box-sizing: border-box;
      border-bottom: 1px solid #000;
    }
    #hot_topic .link_arrow a:hover span{
      border-bottom: none;
    }

    /*検索結果
------------------------------*/
    #wrapper {
        /*width: 1000px;
        background: #f8f8f8;
        padding: 50px 30px;
        box-sizing: border-box;*/
        margin: 0 auto;
}

#search_page_title {
        width: 100%;
        font-weight:bold;
        text-align: left;
}

.search_box_top {
    border: solid 3px #ccc;
    padding: 3%;
    margin: 0 0 5%;
        background: #fff;
}

.search_box_top p {
    display: inline-block;
    margin: 0 2% 0 0;
}

.sort {
    border: solid 1px #ccc;
    border-radius: 5px;
    font-size: 18px;
    padding: 1%;
    margin: 0 0 3% 0;
}

#search_table {
    width: 100%;
}


#search_table th {
        border: solid 1px #ccc;
        background:#f8f8f8;
        padding:1%;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        font-size:12px;
}

#search_table td {
        border: solid 1px #ccc;
        padding:1%;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        font-size:12px;
        width: 12.5%;
}

#search_table td img {
        width: auto;
}

#search_table td a {
        background:#ff8400;
        padding: 2% 0;
        text-align: center;
        color: #fff;
        border:none;
        border-radius: 5px;
        border-bottom: solid 4px #cb6e0a;
        text-decoration: none;
        display: block;
        box-sizing: border-box;
        font-size:14px;
}
#search_table td:first-of-type a{
  color: #000;
  padding: 0;
  border: none;
  border-radius: 0;
  background:none;
}

    /*スマホ
------------------------------*/

    @media screen and (max-width: 750px) {
      /* ===================
      #fv
      =================== */
      #fv{
      background: none;
      overflow: hidden;
      }
      #fv .contents_box #fv_btn{
      bottom: 0;
      width: 90%;
      }
          /* ===================
          #info
          =================== */
          #info,#point,#best{
          margin: 0 auto 10%;
          }
          #info,#point{
            box-sizing: border-box;
            padding: 7% 3.5% 0;
          }
          #info figure{
          margin: 10% auto;
          }

          /* ===================
          #point
          =================== */
          #point .title{
          margin: 0 auto 10%;
          }
          #point section:not(:first-of-type){
            margin-top: 15%;
          }
          #point section .flex{
            display: block;
          }
          #point section:nth-of-type(odd) .flex figure,#point section:nth-of-type(even) .flex div,#point section:nth-of-type(even) .flex figure,#point section:nth-of-type(odd) .flex div{
          order: 0;
          }
          #point section .flex div{
          width: 100%;
          box-sizing: border-box;
          }
          #point section:nth-of-type(odd) .flex div{
      background: url(../../../images/bg_point_odd.png) no-repeat;
      background-position: top 15vw left 15vw;
      background-size: auto;
      padding: 0;
          }
          #point section:nth-of-type(even) .flex div{
      background: url(../../../images/bg_point_even.png) no-repeat;
      background-position: top 15vw right 15vw;
      background-size: auto;
      padding: 0;
          }
          #point section .flex figure{
            margin: 7% auto;
          }
          #point section .flex div h3{
      font-size: 7vw;
          }

          /* ===================
          #best
          =================== */
          #best ul[class^="btn_s_no0"]{
            width:calc((100% - 20px) /5);
      position: absolute;
      bottom: 9vw;
          }
          #best ul[class^="btn_s_no0"] li:last-of-type{
          margin-top: 5px;
          }

          #best .btn_s_no01{
      left:29.5vw;
          }
          #best .btn_s_no02{
      left: 52.5vw;
          }
          #best .btn_s_no03{
      right: 6vw;
          }
          #best .btn_s_no04,
          #best .btn_s_no05{
      display: none;
          }
          /* ===================
          #rank
          =================== */
      .item_box{
      padding: 3.5%;
      }
      .item_box:not(:first-of-type){
        margin-top: 7%;
      }
      /* .title */
      .item_box .title .medal{
        width: 20%;
      }
      .item_box .title div{
        width: 78%;
      }
      .item_box .title div p{
        font-size: 4vw;
      }
      #rank .item_box div.title .gray{
        font-size: 3.5vw;
      }
      .item_box .title div h3{
        font-size: 10vw;
      }
      /* .top */
      .item_box .top{
      margin: 8vw auto 0;
      }
      .item_box .top div{
        width: 100%;
      }
      .item_box .top figure,
      .item_box .top figure img{
        width: 100%;
        height: auto;
        text-align: center;
        margin: 0 auto;
      }
      .item_box .top figure{
        width: 90%;
      }
      .item_box .top .gold{
        font-size: 5.5vw;
        line-height: 1.54em;
        margin: 4vw auto;
      }
      /* .item_box .active_ingredient */
      .item_box .active_ingredient {
        padding: 3.5%;
        margin: 10vw auto;
      }
      .item_box .active_ingredient h4{
        margin-bottom: 4vw;
      }
      .item_box .active_ingredient dl{
        box-sizing: border-box;
        padding: 3.5%;
      }
      .item_box .active_ingredient dl dt{
        padding: 0vw 0 0.5vw 8vw;
      font-size: 4.5vw;
      line-height: 1.5em;
      }
      .item_box .active_ingredient dl dt::after{
        width: 5vw;
    height: 5vw;
      }
          .item_box .active_ingredient .bnr{
            margin-top: 10vw;
          }
          /* .item_data */
          .item_box .item_data{
      margin: 10vw auto 3.5vw;
          }
          .item_box .item_data h3{
            font-size: 7vw;
            margin-bottom: 3%;
            padding-bottom: 3.5%;
          }
          .item_box .item_data div table,.item_box .item_data div table tbody,.item_box .item_data div table tr,.item_box .item_data div table th,.item_box .item_data div table td{
            display: block;
            width: 100%;
          }
          .item_box .item_data div table{
            width: 100%;
          }
          .item_box .item_data div table tr th,.item_box .item_data div table tr td .big{
            font-size: 1.5em;
          }
          .item_box .item_data div table tr td .small{
            font-size: 0.8em;
          }
          .item_box .item_data div table tr th{
            width: 100%;
            padding:3.5%;
            font-size: 5vw;
            text-align: center;
          }
          .item_box .item_data div table tr td{
            width: 100%;
            padding: 3.5%;
            text-align: center;
          }
          .item_box .item_data div table tr td .discount{
            font-size: 4vw;
    padding: 1px 5px;
          }
      /* .voice */
      .item_box .voice{
        padding: 3.5%;
        margin-top: 10vw;
      }
      .item_box .voice h3{
        margin-bottom: 3.5%;
      }
      .item_box .voice .scroll{
        height: 300px;
        padding: 3%;
      }
      .item_box .voice .scroll section h4{
        font-size: 4vw;
      }

      /* .cvarea */
      .cv_area{
        margin: 10vw auto;
        display: block;
      }
      .cv_area:last-of-type{
        margin: 10vw auto 0;
      }
      .cv_area .btn{
      width: 90%;
      }
      .cv_area .btn a{
        padding: 7%;
        font-size: 6vw;
        width: 100%;
      }
      .cv_area .btn.blue{
        margin: 6vw auto 0;
      }

          /* ===================
          #hot_topic
          =================== */
          #hot_topic{
      margin: 10% auto 0;
          }
          #hot_topic .title{
            margin-bottom: 3.5%;
          }
          #hot_topic p,#hot_topic figure{
            padding: 0 3.5%;
            box-sizing: border-box;
          }
          #hot_topic p{
            font-size: 1.4rem;
            line-height: 1.875em;
          }
          #hot_topic figure{
            margin: 12% auto 8%;
          }
          #hot_topic .link_arrow{
            width: 90%;
    margin: 0 auto;
    text-align: left;
    background: url(../../../images/icon_arrow.png) no-repeat;
    background-position: left 0 center;
    background-size: 15vw;
    padding-left: 20vw;
          }
          #hot_topic .link_arrow span{
            font-size: 1.8rem;
            padding-bottom: 0;
            box-sizing: border-box;
            border-bottom: 1px solid #000;
          }
          #hot_topic .link_arrow a:hover span{
            border-bottom: none;
          }

        /*検索
------------------------------*/
        #search {
            width: 100%;
            padding: 5% 3%;
            box-sizing: border-box;
            margin: 0 auto;
        }

        #search h2 {
            width: 100%;
            text-align: left;
            padding: 3.5%;
            font-size: 7vw;
            margin: 0 0 3%;
            pointer-events: visible;
            background: #efe5d4 url(../../../images/icon_toggle_btn.png);
            background-repeat: no-repeat;
            background-size: 0.8em,auto;
            background-position: top 45% right 3%,top left;
        }
        #search h2.open {
          background: #efe5d4 url(../../../images/icon_toggle_btn_open.png);
          background-repeat: no-repeat;
          background-size: 0.8em,auto;
          background-position: top 45% right 3%,top left;
        }
        #search .toggle_area{
          display: none;
        }
        #search article {
            width: 100%;
            float: none;
            margin: 0 0 3%;
        }
        #search h3 {
            width: 100%;
            padding: 2% 0;
            font-size: 1.6rem;
            margin: 0 0 2%;
        }

        #search article div {
            font-size: 1.4rem;
        }

        #search article label {
            margin: 0 2% 1% 0;
        }

        .search_btn_box {
            margin-top: 6%;
        }

        .search_btn {
            width: 80%;
            padding: 2%;
            font-size: 1.8rem;
        }

    /*検索結果
------------------------------*/
    #wrapper {
        width: 100%;
        padding: 5% 3%;
        box-sizing: border-box;
        margin: 0 auto;
}

#search_page_title {
        width: 100%;
}

.search_box_top {
    border: solid 3px #ccc;
    padding: 3%;
    margin: 0 0 5%;
        background: #fff;
}

.search_box_top p {
    display:block;
    margin: 0 2% 0 0;
}

.sort {
    border: solid 1px #ccc;
    border-radius: 3px;
    font-size: 12px;
    padding: 1%;
    margin: 0 0 3% 0;
}

.sort_box {
    width: 100%;
    overflow-x: scroll;
	}
#search_table {
width: 640px;

}
#search_table th {
        border: solid 1px #ccc;
        background:#f8f8f8;
        padding:1%;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        font-size:8px;
}

#search_table td {
        border: solid 1px #ccc;
        padding:1%;
        text-align: center;
        vertical-align: middle;
        box-sizing: border-box;
        font-size:8px;
        width: 12.5%;
        background:#fff;
}
#search_table tr:first-of-type th:first-of-type,
#search_table td:first-of-type{
  position: sticky;
  left: 0;
      z-index: 0;
}

#search_table td img {
        width: auto;
}

#search_table td a {
        padding: 10% 1%;
        border-bottom: solid 2px #cb6e0a;
        text-decoration: none;
        display: block;
        box-sizing: border-box;
        font-size:9px;
}


/* //End @media screen and (max-width: 750px) */
    }
