/* ポケモン図鑑アイコン */
main.data span.icon:before {
	content: '';
	width: 25px;
	height: 25px;
	display: inline-block;
	background-size: contain;
	vertical-align: middle;
	margin-right: 3px;
}
div.appear span.icon::before {
	content: '';
	width: 50px;
	height: 50px;
	display: inline-block;
	background-size: contain;
	vertical-align: middle;
	margin-right: 3px;
}
div.appear { /* ポケモン図鑑:フレックス */
	display: flex;
	flex-wrap: wrap;
	overflow: scroll;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
div.appear::-webkit-scrollbar {
	display: none;
}
div.appear img {
	margin: 0 auto 2px;
}
div.appear span:last-child {
	display: block;
	line-height: 15px;
}
div.appear > div {
	height: 50px;
	font-size: 10px;
	text-align: center;
	margin: 5px 10px;
}
div.appear > div {
	height: 100px;
	font-size: 15px;
	line-height: 75px;
}
.details .type div {
	display: inline-block;
	margin: auto;
	margin-left: 15px;
	box-sizing: border-box;
}
.details .type img { /* ポケモン図鑑:アイコン */
	width: 25px;
	height: 25px;
	margin-right: 5px;
}
/* ポケモン詳細:基礎情報 */
div.details {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	background-color: #fdfbfc;
	border: 2px solid #173a7e;
	margin: 0 auto;
}
div.details figure, div.details table {
	width: 100%;
}
div.details table {
	background-color: #f3ebf0;
}
.details th, .details td {
	border: 1px solid #173a7e;
	padding: 10px;
}
.details th {
	color: #173a7e;
	font-family: "Kaisei Decol";
	font-weight: 700;
	white-space: nowrap;
}
.details td {
	text-align: center;
}
.details td:last-child {
	border-right: none;
}
div.details tr:first-child th, div.details tr:first-child td {
	border-top: 2px solid #173a7e;
}
.details tr:last-child th, .details tr:last-child td {
	border-bottom: none;
}
div.details table th {
	border-left: none;
}
@media screen and (min-width: 916px) {
	div.details figure, div.details table {
		width: 50%;
	}
	div.details table th {
		border-left: 2px solid #173a7e;
	}
	div.details tr:first-child th, div.details tr:first-child td {
		border-top: none;
	}
}
/* ポケモン詳細:進化 */
table.details {
	width: 90%;
	margin: 0 auto;
}
table.details th {
	border-left: none;
}
table.details tr:nth-child(odd) th, table.details tr:nth-child(odd) td {
	background-color: #fdfbfc;
}
table.details tr:first-child th, table.details tr:first-child td {
	border-top: none;
}
div.evo {
	width: 100%;
	margin: 0 auto;
}
div.evo a {
	display: block;
}
div.evo figure a {
	width: 50px;
	height: 50px;
	margin: 0 auto;
}
div.evo div.content {
	min-height: 100px;
	max-height: 380px;
	background-color: #fdfbfc;
	border: 2px solid #173a7e;
	border-radius: 10px;
	padding: 10px;
}
div.evo div.pokemon {
	width: 100%;
	height: 100px;
	display: flex;
}
div.evo figure {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
}
div.evo div.text {
	height: 80px;
	border-left: 1px solid #173a7e;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-left: 10px;
	margin-left: 5px;
}
div.evo div.text a {
	width: 100%;
}
div.evo div.content > hr {
	width: 90%;
	margin: 20px auto;
}
div.evo div.content > hr:last-child {
	display: none;
}
div.evo div.arrow {/* Font Awesome */
	height: 50px;
	font-size: 35px;
	color: #ebbaf4;
	line-height: 50px;
	text-align: center;
}
div.evo div.arrow:last-child {/* Font Awesome */
	display: none;
}
div.evo div.arrow i:before {/* Font Awesome */
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f103';
}
@media screen and (min-width: 916px) {
	div.evo {
		width: 80%;
	}
	div.evo div.text {
		padding: 20px;
	}
	div.evo figure a {
		width: 170px;
		height: 170px;
	}
	div.evo div.content {
		min-height: 170px;
		max-height: 590px;
	}
	div.evo div.pokemon {
		height: 170px;
	}
	div.evo div.text {
		height: 170px;
	}
}
/* ポケモン詳細:種族値 */
table.stats {
	width: 100%;
}
table.stats th {
	width: 25%;
}
table.stats td {
	width: 75%;
	padding: 10px 20px;
}
table.stats div.stat_bar {
	flex: 1;
	height: 20px;
	background: rgba(235,186,244,.5);
	border: 1px dashed rgba(23,58,126,.5);
	border-radius: 4px;
	overflow: hidden;
}

table.stats div.inner {
	height: 100%;
	background: #173a7e;
	border-radius: 4px;
}

table.stats span {
	width: 150px;
	white-space: nowrap;
	flex-shrink: 0;
	text-align: left;
}
@media screen and (min-width: 916px) {
	table.stats {
		width: 80%;
	}
	table.stats div.wrapper {
		display: flex;
		align-items: center;
		gap: 10px;
	}
}
/* ポケモン詳細:入手方法 */
div.spots {
	width: 100%;
	margin: 0 auto;
}
div.spots div {
	background-color: #fdfbfc;
	border: 1px solid #173a7e;
	padding: 10px;
	margin: 5px 0;
}
div.spots span.text {
	border-left: 1px solid #173a7e;
	padding-left: 10px;
}
@media screen and (max-width: 915px) {
	div.spots span.text {
		display: block;
	}
	div.spots span.text {
		border-left: none;
	}
}
@media screen and (min-width: 916px) {
	div.spots {
		width: 80%;
	}
	div.spots div {
		padding: 10px 20px;
	}
}
/* ポケモン詳細:チャンピオンズ */
table.champ {
	width: 100%;
	margin: 20px auto;
}
table.champ th {
	color: #173a7e;
	font-family: "Kaisei Decol";
	font-weight: 700;
}
table.champ td.use {
	background: linear-gradient(transparent 60%, rgba(235,186,244,.5) 40%);
}
table.champ span.maru:before {
	background-image: url("../img/maru.png");
}
table.champ span.batsu:before {
	background-image: url("../img/batsu.png");
}
div.champ {
	text-align: center;
}
@media screen and (min-width: 916px) {
	table.champ {
		width: 60%;
	}
}
/* ポケモン詳細:絞り込みトグル */
ul.weapons input.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: rgba(24,27,57,.4);
  transition:.1s;
	margin: auto 5px;
}
ul.weapons input.toggle:after {
   content:"";
   display:block;
	width:var(--size);
	height:var(--size);
   background-color:#fdfbfc;
   border-radius:50%;
   transform:scale(.85);
   transition:inherit;
}
ul.weapons input[type=checkbox]:checked.toggle {
   background-color: #173a7e;
}
ul.weapons input[type=checkbox]:checked.toggle:after {
   transform:translateX(calc(var(--size)*.74))scale(.85);
}
ul.weapons .toggle-label {
	cursor: pointer;
	width: calc(100% - 50px);
	vertical-align: middle;
	margin: 10px auto;
	margin-left: 5px;
}
#on-btn:checked ~ li.weapon:not(.checked) { /* 絞り込み表示 */
  display: none;
}
#off-btn:checked ~ li.weapon.checked { /* 絞り込み表示 */
  display: none;
}
/* ポケモン詳細:覚える技 */
li.weapon {
	position: relative;
	display: flex;
	background-color: #fdfbfc;
	border: 1px solid #173a7e;
	border-radius: 5px;
	padding: 10px;
	margin: 5px 0;
}
div.wrapper1 {
	width: 15%;
	text-align: center;
}
div.wrapper2 {
	width: 85%;
}
div.wrapper1 div:first-child {
	margin-bottom: 10px;
}
div.wrapper1 span.icon:before {
	width: 30px;
	height: 30px;
	border-radius: 5px;
}
div.wrapper1 span.Physical:before {
	background-image: url("../img/category/Physical.png");
}
div.wrapper1 span.Special:before {
	background-image: url("../img/category/Special.png");
}
div.wrapper1 span.Status:before {
	background-image: url("../img/category/Status.png");
}
li.weapon div.name {
	display: flex;
	justify-content: space-between;
}
li.weapon div.name > div {
	text-align: right;
}
li.weapon span.attack > span, li.weapon span.pp {/* 記事一覧:日付 */
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	color: #173a7e;
}
li.weapon span.attack > span:nth-child(odd), li.weapon span.pp > span {/* 記事一覧:日付 */
	font-size: .8rem;
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 800;
	color: rgba(114,90,164,.4);
	margin: 0 5px;
}
li.weapon div.tags > span {
	font-family: "Kaisei Decol";
	font-weight: 400;
	color: #173a7e;
	font-size: .9rem;
	border-radius: 5px;
	padding: 0 3px;
	margin: 0 5px;
}
li.weapon div.tags > span.contact {/* 接触技 */
	background-color: rgba(229,108,62,.3);
	border: 1px solid #E56C3E;
}
li.weapon div.tags > span.spread {/* 範囲技 */
	background-color: rgba(246,216,81,.3);
	border: 1px solid #F6D851;
}
li.weapon div.tags > span.recoil {/* 反動技 */
	background-color: rgba(102,169,69,.3);
	border: 1px solid #66A945;
}
li.weapon div.tags > span.cat {/* カテゴリー技 */
	background-color: rgba(81,133,197,.3);
	border: 1px solid #5185C5;
}
li.weapon div.tags > span.priority {/* 優先度 */
	background-color: rgba(109,200,235,.3);
	border: 1px solid #6DC8EB;
}
@media screen and (max-width: 915px) {
	li.weapon span.pp, li.weapon span.attack {
		display: block;
	}
}
@media screen and (min-width: 916px) {
	div.wrapper1 {
		width: 10%;
	}
	div.wrapper2 {
		width: 90%;
	}
	div.wrapper1 span.icon:before {
		width: 35px;
		height: 35px;
	}
}
/* お気に入りボタン */
li.weapon span.btn {
	cursor: pointer;
	position: absolute;
	bottom: 0;
	width: 50px;
	height: 50px;
	display: block;
	box-sizing: border-box;
	padding: 5px;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
li.weapon span.btn-img { /* ポケモン図鑑:お気に入りボタン */
	width: 40px;
	height: 40px;
	display: block;
  background-image: url("../img/checker-on.png");
	background-size: cover;
}
li.weapon.checked span.btn-img {
  background-image: url("../img/checker-off.png");
}
@media screen and (max-width: 915px) {
	li.weapon span.btn {
		left: 0;
	}
}
@media screen and (min-width: 916px) {
	li.weapon span.btn {
		right: 0;
	}
}