@charset "UTF-8";

#tab li {
  float: left;
  list-style: none;
  cursor: pointer;
  background: rgb(255, 255, 255);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(229, 229, 229, 1)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(229, 229, 229, 1) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e5e5e5', GradientType=0);
  /* IE6-9 */
  padding-top: 8px;
  padding-bottom: 8px;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #D2D2D2;
  text-align: center;
  padding-right: 25px;
  padding-left: 25px;
  font-size: 17px;
  height: 20px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #EEE;
  margin-right: -1px;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: #D2D2D2;
}

#tab_wrap {
  width: 920px;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 20px;
}

#tab_wrap .content_wrap {
  clear: both;
  width: 900px;
  padding-top: 20px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  height: 500px;
  border: 1px solid #E9E9E9;
}

.content_wrap ul li {
  display: block;
  float: left;
  width: 280px;
  height: 30px;
  line-height: 30px;
  background-image: url(../images/common/ico_cat_top.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
}

#tab li.select {
  background: white;
  font-weight: bold;
}

.disnon {
  display: none;
}

.dic_detail {
  height: auto;
  width: 878px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #CCC;
  padding-top: 20px;
  padding-right: 10px;
  padding-bottom: 20px;
  padding-left: 10px;
  margin-bottom: 25px;
  box-shadow: 0 0 2px rgba(0, 0, 0, .25);
  position: relative;
  /* 要らなかったがPIEを動作させるために追加 */
  border: 1px solid #D8D8D8;
  /* CSS3 PIE */
  margin-top: 20px;
}

.dic_detail li {
  background-image: url(../images/common/ico_cat_q2.png);
  background-position: left center;
  display: block;
  float: left;
  width: 400px;
  padding-left: 30px;
  background-repeat: no-repeat;
  line-height: 35px;
  height: 35px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #CCC;
}

.dic_detail dt {
  background-position: left center;
  display: block;
  float: left;
  width: 870px;
  background-repeat: no-repeat;
  font-size: 16px;
  line-height: 1.5;
  font-size: border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #CCC;
  font-size: 20px;
  font-weight: bold;
  color: #217FCA;
}

#cat_label {
  color: #0059A1;
  padding-bottom: 10px;
}

#cat_label_title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.dic_detail dd {
  background-position: left 6px;
  display: block;
  float: left;
  width: 870px;
  font-size: 16px;
  line-height: 1.5;
  background-repeat: no-repeat;
  margin-top: 15px;
}

.gyo {
  font-size: 12px;
}

.dic_rel_words {
  width: 900px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.dic_rel_words li {
  width: calc(25% - 6px);
  text-align: center;
}

.dic_rel_words li a {
  border: 1px solid #0099FF;
  border-radius: 4px;
  box-sizing: border-box;
  color: #0059A1;
  display: block;
  margin: 0 6px 12px 6px;
  padding: 4px 6px;
  text-decoration: none;
}

.dic_rel_words li a:hover {
  background: #0059A1;
  color: #fff;
}

/* responsive */
@media only screen and (max-width: 767px) {

  #wrapper,
  #pankuzu,
  #main_inner,
  .dic_detail,
  .dic_detail dt,
  .dic_detail dd,
  #tab_wrap,
  #tab_wrap .content_wrap {
    width: 100%;
  }

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

  #header_navi {
    display: none;
  }

  #logo {
    float: none;
    text-align: center;
  }

  #pankuzu {
    width: 95%;
    margin: 0 auto 20px;
    background-color: transparent;
  }

  #header_inner h1 {
    float: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    text-align: center;
  }

  #global {
    display: none;
  }

  #main_inner {
    border-radius: 0;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }

  .dic_detail {
    width: 95%;
    box-shadow: none;
    margin: 0 auto;
    padding: 16px 0;
    border: none;
  }

  .dic_rel_words {
    width: 95%;
  }

  .dic_rel_words li {
    width: calc(50% - 8px);
  }
}