@charset "utf-8";
/*------------------------------------------------------------
漢字詳細
------------------------------------------------------------*/
#kanji_detail ul:first-child {
  margin-bottom: 100px;
}
#kanji_detail ul:first-child.one_slide img {
  width: 100%;
  height: auto;
}
#kanji_detail ul:first-child li {
  text-align: center;
}
#kanji_detail section {
  background: #edebeb;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 80px;
  position: relative;
}
#kanji_detail section h2 {
  font-size: 4.2rem;
  font-weight: normal;
  line-height: 1.2;
  padding-left: 120px;
}
#kanji_detail section h2 small {
  font-size: 1.8rem;
  opacity: 0.6;
}
#kanji_detail section p {
  position: absolute;
  top: 20px;
  left: 20px;
  box-sizing: border-box;
  width: 100px;
  height: 50px;
  border: 1px solid #cdcdcd;
  border-radius: 25px;
  text-align: center;
  background: #fff;
  padding-top: 14px;
  line-height: 1;
  cursor: pointer;
}
#kanji_detail section ul {
  background: url("https://hirogaru-nihongo.jp/wp/wp-content/themes/hirogaru/common/images/bg_line_b.png") left top repeat-x;
  padding-top: 30px;
  margin-top: 20px;
}
#kanji_detail section ul li {
  font-size: 2.4rem;
  line-height: 1;
  margin-top: 20px;
}
#kanji_detail section ul li:first-child {
  margin-top: 0;
}
#kanji_detail section ul li small {
  font-size: 1.4rem;
  opacity: 0.6;
}
#kanji_detail .inner > dl {
  margin-bottom: 100px;
}
#kanji_detail .inner > dl > dt {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 35px;
}
#kanji_detail .inner > dl > dd {
  display: table;
  width: 100%;
}
#kanji_detail .inner > dl > dd label {
  display: table-cell;
  vertical-align: middle;
  width: 320px;
  font-size: 2.4rem;
}
#kanji_detail .inner > dl > dd label input {
  width: 60%;
  height: 40%;
  border: 2px solid #dadada;
  font-size: 2.2rem;
}
#kanji_detail .inner > dl > dd dl {
  display: table-cell;
  vertical-align: middle;
  width: 640px;
  overflow: hidden;
}
#kanji_detail .inner > dl > dd dl dt {
  float: left;
  width: 120px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #333;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  line-height: 1;
  padding-top: 12px;
  color: #fff;
  background: #333;
  cursor: pointer;
  position: relative;
}
#kanji_detail .inner > dl > dd dl dt:before {
  display: block;
  content: '';
  width: 0;
  height: 0;
  position: absolute;
  top: 50%;
  left: 90%;
  border: 5px solid transparent;
  border-left-color: #fff;
  margin-top: -4px;
}
#kanji_detail .inner > dl > dd dl dt:hover {
  background: transparent;
  color: #333;
}
#kanji_detail .inner > dl > dd dl dt:hover:before {
  border-left-color: #333;
}
#kanji_detail .inner > dl > dd dl dd {
  display: none;
  margin-left: 140px;
  width: 25%;
  height: 40px;
  background: #e5e5e5;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1;
  box-sizing: border-box;
  padding-top: 9px;
}
#kanji_detail .inner > dl > dd dl.maru dd {
  color: #218e82;
}
#kanji_detail .inner > dl > dd dl.batu dd {
  color: #ae2b31;
}
#kanji_detail aside h2 {
  font-family: 'Cabin', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1rem;
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}
#kanji_detail aside h2:after {
  display: block;
  content: '';
  width: 20px;
  height: 3px;
  background: #000;
  position: absolute;
  bottom: -20px;
  left: 50%;
  margin-left: -10px;
}
@media all and (max-width: 736px) {
  #kanji_detail aside h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  #kanji_detail aside h2:after {
    bottom: -10px;
  }
}
#kanji_detail aside ul {
  width: 960px;
  overflow: hidden;
  margin-bottom: 80px;
}
#kanji_detail aside ul li {
  float: left;
  width: 180px;
  margin: 0 15px 15px 0;
  border-radius: 20px;
  overflow: hidden;
}
#kanji_detail aside ul li:nth-child(5n) {
  margin-right: 0;
}
#kanji_detail aside ul li img {
  width: 100%;
  height: auto;
}

@media all and (max-width: 736px) {
  #kanji_detail .slider li img {
    width: 100%;
    height: auto;
  }
  #kanji_detail section {
    margin-bottom: 40px;
  }
  #kanji_detail section h2 {
    font-size: 2.1rem;
    padding-left: 0;
    margin-bottom: 10px;
  }
  #kanji_detail section h2 small {
    font-size: 1.2rem;
  }
  #kanji_detail section p {
    position: static;
    margin: 0 auto;
  }
  #kanji_detail section ul {
    padding-top: 15px;
    margin-top: 10px;
  }
  #kanji_detail section ul li {
    font-size: 1.4rem;
    margin-top: 10px;
  }
  #kanji_detail section ul li small {
    font-size: 1.2rem;
  }
  #kanji_detail .inner > dl {
    margin-bottom: 50px;
  }
  #kanji_detail .inner > dl > dt {
    margin-bottom: 15px;
    font-size: 2.0rem;
  }
  #kanji_detail .inner > dl > dd {
    display: block;
  }
  #kanji_detail .inner > dl > dd label {
    display: block;
    width: auto;
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  #kanji_detail .inner > dl > dd label input {
    width: 70%;
    font-size: 1.4rem;
  }
  #kanji_detail .inner > dl > dd dl {
    display: block;
    width: auto;
  }
  #kanji_detail .inner > dl > dd dl dd {
    margin-left: 130px;
    width: auto;
  }
  #kanji_detail aside ul {
    width: auto;
    margin-bottom: 40px;
  }
  #kanji_detail aside ul li {
    width: 31.25%;
    margin: 0 0 3.125%;
  }
  #kanji_detail aside ul li:nth-child(3n+2) {
    margin: 0 3.125% 3.125% !important;
  }
}

/*# sourceMappingURL=kanji.css.map */
