@charset "utf-8";
/* CSS Document */

/*------ テーブルのソートと順位表への並べかえをするcss　---
    テーブル見出しの下2列並べかえなし
-------------------------------------------------*/

/* --- ソートボタンエリア ------- */

.tsImgArea {
  line-height: 1;
}

/* --- ソートボタン ------- */

.tsImg {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #eee;
  border: 1px solid #777;
  margin: 1px 3px;
  padding: 3px;
  border-radius: 2px;
  cursor: pointer;
}

/* --- ソートボタン（カーソルオーバー時）------- */

.tsImg:hover {
  background: rgba(54, 122, 189, .3);
}

/* --- ソートボタン内の三角の色（SVG）------- */

.tsImg path {
  fill: #777;
}


/* --- テーブルスタイル ------- */

#tableid {
  clear: both;
  max-width: 450px;
  width: 95%;
  margin: 25px auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
  background: #ffffff;
  border: 2px solid #999999;
}

#tableid caption {
  font-size: 18px;
  margin-bottom: 0.5em;
}

/* --- テーブル見出し ------------------- */

#tableid th {
  text-align: center;
  vertical-align: top;
  font-weight: bold;
  padding: 6px 5px;
  border-bottom: 1px #999999 dotted;
  border-right: 1px #999999 dotted;
  background: rgba(54, 122, 189, .2);
  white-space: nowrap;
}

/* --- テーブル列(シマシマ) ------------------- */

#tableid tr:nth-child(odd) {
  background: rgba(54, 122, 189, .1);
}

#tableid tr:nth-child(5n+2) {
  border-bottom: 1px #999999 solid;
}

/* --- テーブルセル ----------------------- */

#tableid td {
  text-align: right;
  padding: 6px 5px;
  border: 1px #999999 dotted;
  white-space: nowrap;
}

#tableid tr td {
  padding-top: 2px;
  padding-bottom: 2px;
}

/*--- テーブル１，２行目　（固定） ----------------------- */

#tableid tbody tr:first-child {
  background: rgba(54, 122, 189, .3);
  border-bottom: 1px dotted #999999;
}

#tableid tbody tr:nth-child(2) {
  background: rgba(54, 122, 189, .3);
  border-bottom: 1px solid #999999;
}

/* --- テーブル1列目 （番号） ----------------------- */

#tableid tr th:nth-of-type(1),
#tableid tr td:nth-of-type(1) {
  width: 55px;
}

#tableid tr td:nth-of-type(1) {
  color: #B2B2B2;
}

/* --- ボタン ----------------------------- */

#btnbox {
  max-width: 450px;
  width: 95%;
  text-align: center;
  margin: 15px auto 0 auto;
  padding: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

/* --- 印刷ボタン ----------------------------- */

#printbtn {
  width: 115px;
  height: 38px;
  float: right;
  font-size: 13px;
  color: gray;
  background: #F2F2F2;
  border: 2px solid silver;
  border-radius: 10px;
  box-shadow: 2px 2px 4px gray;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#printbtn:hover {
  cursor: pointer;
  color: #ffffff;
  background: rgba(54, 122, 189, .6);
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 2px 2px 4px gray;
}

#printbtn:active {
  box-shadow: none;
  height: 38px;
  border: 4px solid #ffffff;
  transition: none;
}


/* --- 表の補足説明 ----------------------------- */

#hyouhsk {
  clear: both;
  max-width: 600px;
  width: 95%;
  margin: 50px auto 0px auto;
}

@media (max-width:500px) {
  #hyouhsk {
    margin: 25px auto 0px auto;
  }
}

/* --- メディア対応 ----------------------------- */

@media(max-width:450px) {
  #tableid tbody {
    font-size: 13px;
  }
}

@media(max-width:500px) {
  #tableid th {
    white-space: normal;
  }

  #tableid td {
    white-space: normal;
  }
}



/* ---------------------------------------------
　　比較表へ表示切り替え
-----------------------------------------------*/

/******* ~data 比較表用~ css *******/

.dsnone {
  display: none;
}


/******* 比較セレクト 表の切り替えボタン等 css *******/

/*ボックス全体*/

.comparebox {
  margin: 2em 0;
  padding: 0;
  max-width: 450px;
  margin: auto;
  /*最大幅*/
}

/*ラベル*/

.comparebox label {
  display: block;
  margin: 1.5px 0;
  padding: 13px 12px;
  color: rgba(54, 122, 189, 1);
  font-weight: bold;
  background: ;
  cursor: pointer;
  transition: all 0.5s;
}

/*アイコンを表示*/

.comparebox label:before {
  content: '\f054';
  font-family: 'FontAwesome';
  padding-right: 8px;
}

/*ラベルホバー時*/

.comparebox label:hover {
  background: rgba(54, 122, 189, .2);
}

/*チェックは隠す*/

.comparebox input {
  display: none;
}

/*中身を非表示にしておく*/

.comparebox .comshow {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}

/*クリックで中身表示*/

.csscom:checked + label + .comshow {
  height: auto;
  padding: 5px;
  background: rgba(54, 122, 189, .2);
  opacity: 1;
}

.comparebox .comshow p {
  margin: 15px 10px
}

/*アイコンを入れ替える*/

.csscom:checked + label:before {
  content: '\f078';
}


#formid {
  max-width: 450px;
  width: 95%;
  margin: auto;
  padding: 15px 15px 3px 15px;
  box-sizing: border-box;
}

#selectid {
  border: 1px solid rgba(54, 122, 189, .5);
  height: 2em;
  margin-bottom: 12px;
}

#selectid:hover {
  cursor: pointer;
}

/*　-----「比較する」ボタン-----　*/

.cpclose {
  width: 6em;
  background: #ffffff;
  border: 2px solid silver;
  border-radius: 7px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.cpclose:hover {
  cursor: pointer;
  color: #ffffff;
  background: rgba(54, 122, 189, .6);
  border: 2px solid #ffffff;
  border-radius: 7px;
  box-shadow: 2px 2px 4px gray;
}

.cpclose:active {
  box-shadow: none;
  border: 2px solid #ffffff;
  transition: none;
}

.cpopen {
  width: 6em;
  color: #ffffff;
  background: rgba(54, 122, 189, .6);
  border: 2px solid #ffffff;
  border-radius: 7px;
  box-shadow: 2px 2px 4px gray;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.cpopen:hover {
  cursor: pointer;
}

/*　-----「順位表に戻す」ボタン-----　*/

#recomparebtn {
  width: auto;
  background: #ffffff;
  border: 2px solid silver;
  border-radius: 7px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#recomparebtn:hover {
  cursor: pointer;
  color: #ffffff;
  background: rgba(240, 150, 41, 1);
  border: 2px solid #ffffff;
  border-radius: 7px;
  box-shadow: 2px 2px 4px gray;
}

#recomparebtn:active {
  box-shadow: none;
  border: 2px solid #ffffff;
  transition: none;
}
