ul.pokedex {
	font-size: 0;
}
ul.pokedex label, ul.pokedex li {
	font-size: 16px;
}
ul.pokedex input {
	font-size: 20px;
}
/* ポケモン図鑑アイコン */
ul.pokedex span.icon::before, table.detail span.icon::before {
	content: '';
	width: 25px;
	height: 25px;
	display: inline-block;
	background-size: contain;
	vertical-align: middle;
	margin-right: 3px;
}
/* ポケモン図鑑:画像 */
span.Male::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/Male.png");
}
span.Female::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/Female.png");
}
span.Normal::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Normal.svg");
}
span.Fire::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Fire.svg");
}
span.Water::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Water.svg");
}
span.Grass::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Grass.svg");
}
span.Electric::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Electric.svg");
}
span.Ice::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Ice.svg");
}
span.Fighting::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Fighting.svg");
}
span.Poison::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Poison.svg");
}
span.Ground::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Ground.svg");
}
span.Flying::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Flying.svg");
}
span.Psychic::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Psychic.svg");
}
span.Bug::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Bug.svg");
}
span.Rock::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Rock.svg");
}
span.Ghost::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Ghost.svg");
}
span.Dragon::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Dragon.svg");
}
span.Dark::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Dark.svg");
}
span.Steel::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Steel.svg");
}
span.Fairy::before {
	background-image: url("https://pokefav.com/wp-content/uploads/pokedex/type/Fairy.svg");
}
/* ポケモン図鑑:全体 */
ul.pokedex {
	width: 100%;
	background-color: #F3E9E9;
	border-radius: 10px;
	box-shadow: 0 0 5px 10px #F3E9E9;
}
.post ul.pokedex {
	padding: 10px 0;
}
/* ポケモン図鑑:input */
ul.pokedex input[type="radio"], ul.pokedex input.title, ul.pokedex input.group, ul.pokedex input.h3-btn {
	display: none;
}
/* ポケモン図鑑:絞り込み表示 */
ul.pokedex label.h3-btn {
	position: relative;
	cursor: pointer;
	width: 100%;
	color: #F3E9E9;
	display: block;
	background-color: rgba(51,59,116,.5);
	border-radius: 10px;
	box-shadow: 0 0 3px rgba(51,59,116,.5);
	padding: 10px;
	margin: 0;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
/* ポケモン図鑑:絞り込み表示アイコン */
ul.pokedex label.h3-btn::after {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 3em;
  height: 3em;
  line-height: 3;
  text-align: center;
  -webkit-transition: all .35s;
  -o-transition: all .35s;
  transition: all .35s;
}
ul.pokedex input.h3-btn:checked + label {
	background-color: rgba(51,59,116);
}
ul.pokedex input.h3-btn + label::after {
  content: "+";
}
ul.pokedex input.h3-btn:checked + label::after {
  transform: rotate(315deg);
}
/* ポケモン図鑑:本編・DLC絞り込み */
ul.pokedex input#group-btn:checked + label, ul.pokedex input#title-btn:checked + label {
	background-color: #333b74;
	box-shadow: 0 0 0;
}
ul.pokedex input#group-btn:checked + label::after, ul.pokedex input#title-btn:checked + label::after {
  transform: rotate(315deg);
}
ul.pokedex .tab {
	cursor: pointer;
	width: 25%;
	text-align: center;
	display: inline-block;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	border-bottom: 1px dashed #336066;
	padding: 10px 5px;
	margin: 0;
}
ul.pokedex input[type=radio]:checked + label {
	background-color: #fdfbfc;
	border-top: none;
	font-family: 'Kaisei Decol', sans-serif;
	box-shadow: 0 0 3px 2px #fdfbfc;
}
/* ポケモン図鑑:作品絞り込み */
ul.pokedex .title-label {
	cursor: pointer;
	width: calc(20% - 10px);
	margin: 10px 5px;
}
ul.pokedex .title-label figure {
	text-align: center;
}
ul.pokedex .title-label figure img {
	filter: grayscale(100%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
ul.pokedex .title-label figcaption {
	font-size: 10px;
}
/* ポケモン図鑑:世代絞り込み */
ul.pokedex .group-label {
	cursor: pointer;
	width: calc(25% - 20px);
	background-color: #fdfbfc;
	border: 1px dashed #333b74;
	border-radius: 10px;
	box-shadow: 0 0 2px 5px #fdfbfc;
	text-align: center;
	padding: 5px;
	margin: 10px;
	box-sizing: border-box;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
ul.pokedex .group-label div:first-child {
	color: #333b74;
	font-family: 'Kaisei Decol', sans-serif;
}
ul.pokedex .group:checked + .group-label {
	border: 1px solid #c8a313;
   background-color: rgba(200,163,19,.3);
	box-shadow: 0 0 2px 5px rgba(200,163,19,.3);
}
/* ポケモン図鑑:絞り込みトグル */
ul.pokedex .toggle {
	cursor: pointer;
  --size:20px;
  appearance:none;-webkit-appearance:none;
  outline:none;
  display:inline-block;
	width:calc(var(--size)*1.75);
	height:var(--size);
  border-radius:calc(var(--size)*.5);
  vertical-align:middle;
  background-color:#336066;
  transition:.1s;
	margin: auto 5px;
}
ul.pokedex .toggle.check {
  background-color: #333b74;
}
ul.pokedex .toggle::before {
   content:"";
   display:block;
	width:var(--size);
	height:var(--size);
   background-color:#fdfbfc;
   border-radius:50%;
   transform:scale(.85);
   transition:inherit;
}
ul.pokedex input[type=checkbox]:checked.toggle {
   background-color:#c8a313;
}
ul.pokedex input[type=checkbox]:checked.toggle.check {
   background-color:#ff526b;
}
ul.pokedex input[type=checkbox]:checked.toggle::before {
   transform:translateX(calc(var(--size)*.74))scale(.85);
}
ul.pokedex .toggle-label {
	cursor: pointer;
	width: calc(100% - 50px);
	vertical-align: middle;
	margin: 10px auto;
	margin-left: 5px;
}
@media screen and (min-width: 783px) {
	ul.pokedex label.on-btn {
		margin-right: 20px;
	}
}
/* ポケモン図鑑:キーワード絞り込み */
ul.pokedex div.search-box {
	width: 100%;
	text-align: center;
}
ul.pokedex input[type="text"] {
	width: 80%;
	color: #333b74;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	padding: 5px 10px;
  border: 1px dashed #336066;
	border-radius: 5px;
	background-color: #fdfbfc;
	margin: 30px auto;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
ul.pokedex input[type="text"]:focus {
  border: 1px solid #333b74;
  outline:0;
	box-shadow: 0 0 3px #333b74;
}
/* ポケモン図鑑:大枠 */
ul.pokedex ul div {
	height: 35px;
	margin: auto;
}
ul.pokedex .tr {
	position: relative;
	width: calc(100% - 20px);
	height: auto;
	border: 1px solid #336066;
	background-color: #fdfbfc;
	border-radius: 5px;
	list-style: none;
	margin: 10px auto;
}
/* ポケモン図鑑:種族名 */
ul.pokedex h4 {
	min-height: 35px;
	max-height: 70px;
	text-align: center;
	background-color: rgba(51,96,102,.15);
	border-left: transparent;
	box-shadow: 0 2px 2px rgba(51,96,102,.15);
	text-align: left;
	padding-left: 75px;
	margin: 0;
	box-sizing: content-box;
}
ul.pokedex h4 a {
	color: #333b74;
}
ul.pokedex h4 a:hover {
	color: #c8a313;
}
ul.pokedex h4 span.th {
	font-size: 10px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	color: #336066;
	background-color: #fdfbfc;
	box-shadow: 0 0 2px 2px #fdfbfc;
	padding: 0 5px;
	margin: auto 0;
	margin-right: 5px;
}
ul.pokedex h4 span:not(.th) {
	font-weight: bold;
	color: #333b74;
	font-family: 'Kaisei Decol', sans-serif;
}
ul.pokedex h4 span.sub {
	font-size: 10px;
	font-family: 'DotGothic16', sans-serif;
	color: #ff526b;
	line-height: 20px;
	margin: 0;
	margin-left: 7px;
	margin-right: 10px;
}
/* ポケモン図鑑:中枠 */
ul.pokedex .tr div.box {
	display: flex;
	padding-top: 2px;
}
/* ポケモン図鑑:画像 */
ul.pokedex .tr figure {
	position: relative;
	width: 130px;
	height: 160px;
	padding: 5px;
	margin: auto;
	box-sizing: border-box;
}
ul.pokedex .tr figure div {
	width: 100%;
	height: calc(100% - 20px);
}
ul.pokedex .tr figure div:not(:first-child) {
	position: absolute;
	top: 35px;
	left: 5px;
	width: 120px;
}
ul.pokedex .tr figure img {
	width: 100%;
	height: 120px;
}
ul.pokedex .tr figcaption {
	width: 100%;
	font-size: 12px;
	text-align: center;
}
/* ポケモン図鑑:画像複数 */
ul.pokedex .tr figure label {
	width: 25%;
	font-size: 10px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	border: 1px solid #336066;
	border-radius: 5px;
	text-align: center;
}
ul.pokedex .tr figure input[type="radio"]:checked + label {
	color: #fdfbfc;
	background-color: #336066;
}
/* ポケモン図鑑:リスト */
ul.pokedex .tr ul {
	width: calc(100% - 120px);
	height: auto;
	border-left: 1px dashed #336066;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul.pokedex .tr li {
	width: 100%;
	min-height: 40px;
	max-height: 160px;
	list-style: none;
	vertical-align: middle;
	padding: 5px 10px;
}
ul.pokedex .tr li:not(:last-child) {
	border-bottom: 1px dashed #336066;
}
ul.pokedex .tr b {
	color: #173a7e;
	font-family: "OtomeMincho", "Kaisei Decol";
}
ul.pokedex .tr .appear { /* ポケモン図鑑:フレックス */
	display: flex;
	flex-wrap: wrap;
}
ul.pokedex .tr .appear { /* ポケモン図鑑:登場作品 */
	overflow: scroll;
 -ms-overflow-style: none;
	scrollbar-width: none;
}
ul.pokedex .appear::-webkit-scrollbar{
  display: none;
}
ul.pokedex .appear img {
	margin: 0 auto 2px;
}
ul.pokedex .appear span:last-child {
	display: block;
	line-height: 15px;
}
ul.pokedex .appear div {
	height: 50px;
	font-size: 10px;
	text-align: center;
	margin: 5px 10px;
}
ul.pokedex .type div  {
	display: inline-block;
	margin: auto;
	margin-left: 15px;
	box-sizing: border-box;
}
ul.pokedex .type img, ul.pokedex .appear img, ul.pokedex .spot img { /* ポケモン図鑑:アイコン */
	width: 25px;
	height: 25px;
	margin-right: 5px;
}
ul.pokedex .number { /* ポケモン図鑑:全国No */
	display: flex;
	text-align: center;
}
ul.pokedex .number div {
	width: 50%;
}
ul.pokedex .tr .ability div { /* ポケモン図鑑:特性 */
	width: 100%;
	margin: 0;
}
ul.pokedex .tr .spot { /* ポケモン図鑑:出現 */
	display: block;
	overflow: scroll;
 -ms-overflow-style: none;
	scrollbar-width: none;
}
ul.pokedex .spot::-webkit-scrollbar{
  display: none;
}
ul.pokedex .tr .spot div {
	width: 100%;
	display: block;
	white-space:nowrap;
}
ul.pokedex .textarea i { /* ポケモン図鑑:一言メモ */
  font-size: 15px;
	color: #173a7e;
	display: inline-block;
	vertical-align: middle;
	margin: auto 5px;
}
ul.pokedex textarea {
  width: calc(100% - 30px);
  min-height: 35px;
	max-height: 160px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	color: #173a7e;
	display: inline-block;
	border-radius: 5px;
	vertical-align: middle;
	padding: 0 10px;
  resize:none;
	border: none;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
ul.pokedex textarea:focus {
  border:2px dotted #c8a313;
  outline:0;
}
ul.pokedex li span.btn { /* ポケモン図鑑:お気に入りボタン */
	cursor: pointer;
	display: block;
	width: 60px;
	height: 60px;
	position: absolute;
	top: 0;
	left: 5px;
	background-color: #F3E9E9;
	border: 1px dashed #fdfbfc;
	border-radius: 5px 0 50px 50px;
	box-shadow: 0 0 2px 5px #F3E9E9;
	box-sizing: border-box;
  background-image: url("https://pokefav.com/wp-content/uploads/pokedex/checker-on.png");
	background-size: cover;
	padding: 5px;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
ul.pokedex li.checked span.btn {
  background-image: url("https://pokefav.com/wp-content/uploads/pokedex/checker-off.png");
}
@media screen and (max-width: 782px) {
  ul.pokedex h4 span.sub { /* ポケモン図鑑:作品絞り込み */
	display: block;
	text-align: right;
  }
}
@media screen and (min-width: 783px) {
  ul.pokedex .title-label { /* ポケモン図鑑:作品絞り込み */
	width: calc(12.5% - 20px);
	margin: 10px;
  }
  ul.pokedex .title-label figcaption {
	font-size: 10px;
  }
  ul.pokedex .group-label { /* ポケモン図鑑:世代絞り込み */
	width: calc(20% - 20px);
  }
  ul.pokedex h4 {
	padding-left: 80px;
  }
  ul.pokedex h4 span.th {
  	font-size: 12px;
	margin-right: 20px;
  }
  ul.pokedex h4 span.sub {
	margin-right: 0;
  }
  ul.pokedex .ability div { /* ポケモン図鑑:特性 */
	width: 33%;
  }
	ul.pokedex .tr .ability { /* ポケモン図鑑:フレックス */
		display: flex;
		flex-wrap: wrap;
		padding: 0 20px;
	}
  ul.pokedex .tr .spot { /* ポケモン図鑑:出現 */
	padding: 5px 20px;
  }
}
/* ポケモン詳細:基礎情報 */
table.detail {
	width: 80%;
	margin: auto;
}
table.detail tr:first-child td {
	background-color: #fdfbfc;
}
table.detail tr:first-child img {
	width: 70%;
}
/* ポケモン詳細:覚える技 */
.attack-pokedex {
	max-width: 95%;
	overflow: scroll;
	margin: 70px auto;
}
table.attack {
	min-width: 400px;
	max-width: 450px;
	white-space: nowrap;
	margin: 10px 0 20px;
}
table.attack th, table.attack td {
	text-align: center;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
table.attack th {
	padding: 8px 15px;
}
table.attack td {
	padding: 5px 10px;
}
table.attack th, table.attack tr:nth-child(even) td span {
	text-align: left;
}
table.attack th a {
	color: #333b74;
}
table.attack th a:hover {
	color: #c8a313;
}
table.attack tr:nth-child(odd) th, table.attack tr:nth-child(odd) td {
	background-color: #f3ebf0;
}
table.attack tr:nth-child(even) th, table.attack tr:nth-child(even) td {
	background-color: #fdfbfc;
}
table.attack tr:nth-child(odd):hover th, table.attack tr:nth-child(odd):hover + tr th,
table.attack tr:nth-child(even):hover th, table.attack tr:has(+ tr:nth-child(even):hover) th,
table.attack tr:nth-child(odd):hover td, table.attack tr:nth-child(odd):hover + tr td,
table.attack tr:nth-child(even):hover td, table.attack tr:has(+ tr:nth-child(even):hover) td {
	background-color: rgba(51,96,102,.1);
}
/* ポケモン詳細:span */
table.attack span:before:not(:nth-child(8)), table.attack span:after:not(:nth-child(8)) {
  content: '';
  display: inline-block;
}
table.attack tr.M td:nth-child(2) span:before, table.attack td:nth-child(3) span:before, table.attack td:nth-child(3) span:after {
  content: '';
  width: 2.4rem;
  height: 2.4rem;
  display: inline-block;
	background-size: cover;
  vertical-align: middle;
	margin-right: 5px;
}
table.attack td:nth-child(3) span:after {
	border-radius: 5px;
}
table.attack tr.M td:nth-child(2) span:before, table.attack td:nth-child(4) span:before, table.attack td:nth-child(5) span:before, table.attack td:nth-child(6) span:before {
	font-family: 'M+PLUS+Rounded+1c';
	font-weight: bold;
	color: rgba(51,59,116,.4);
	font-size: 1.2rem;
	margin-right: 5px;
}
table.attack td:nth-child(4) span:after, table.attack td:nth-child(5) span:after, table.attack td:nth-child(6) span:after {
	font-family: 'M+PLUS+Rounded+1c';
	font-weight: bold;
}
table.attack tr td:nth-child(3) span:before {
	margin-right: 3px;
}
table.attack tr td:nth-child(3) span:after {
	margin-left: 7px;
}
table.attack td:nth-child(4) span:before {
	content: '威力';
}
table.attack td:nth-child(5) span:before {
	content: '命中';
}
table.attack td:nth-child(6) span:before {
	content: 'PP';
}
table.attack tr:nth-child(even) td span:before {
	float: left;
	font-family: 'M+PLUS+Rounded+1c';
	font-weight: bold;
	color: rgba(51,59,116,.4);
	font-size: 1.2rem;
	margin-top: 7px;
	margin-right: 5px;
}
table.attack tr:nth-child(even) td span:after {
	display: block;
	margin-right: 50px;
}
table.attack tr:nth-child(even) td span:first-child:before {
	content: '【説明】';
}
table.attack tr:nth-child(even) td span:last-child:before {
	content: '【補足】';
}
table.SV td:nth-child(8) span:before, table.SV td:nth-child(8) span:after {
  display: inline-block;
	color: #fdfbfc;
	background-color: rgba(51,59,116,.9);
	border: 1px solid #c8a313;
	border-radius: 3px;
	font-family: 'M+PLUS+Rounded+1c';
	font-weight: bold;
	font-size: 1.2rem;
	padding: 0 3px;
	margin-bottom: 3px;
	margin-right: 3px;
}
@media screen and (min-width: 783px) {
  .attack-pokedex { /* ポケモン図鑑:作品絞り込み */
	max-width: 80%;
  }
}