@charset "UTF-8";

/* color #778899 */

body,h1,h2,h3,h4,p,ul,ol{
  margin: 0;
  padding: 0;}

ul,li {list-style: none;}

a{text-decoration: none;}

* {box-sizing: border-box;}

img{vertical-align: bottom;}

body {
	font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic';background-image: url(../images/Pokemon_main.png);
	background-size: cover;
}
/* header area */
header{
	font-family: 'Yusei Magic', sans-serif;
	font-weight: bold;
	font-size: 20px;
	background-color: #fcf032;
	height: 40px;
	color: #000;
	padding-top: 5px;
	display: flex;
}
header .center{
	width: 1000px;
	margin: 0 auto;
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
}
header .center img{
	height: 40px;
}
header .center .space{
	margin-left: auto;
}
main{
	width: 1000px;
	height: 100%;
	margin: 0 auto;
}
.uranaiB{
	background-color: aqua;
	width: 250px;
	height: 250px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	text-align: center;
	font-weight: bold;
	font-family: 'Yusei Magic', sans-serif;
	font-size: 18px;
	border-radius: 20%;
}
.uranaiB img{
	width: 180px;
	margin: 3px;
}
.uranaiB p{
	margin: 20px;
}
.uranaiB button{
	background-color: #fcf032;
	border-radius: 5ex;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 16px;
}

footer{
	position: absolute;
	bottom: 0;
	background-color: #fcf032;
	width: 100%;
	text-align: center;
}

/* uranai.html */
header img{
	height: 40px;
}
header a:hover{
	opacity: 50%;
}
.textBox{
	background-color: #778899;
	width: 1000px;
	min-height: 90vh;
	margin: auto;
	text-align: center;
	font-weight: bold;
	font-family: 'Yusei Magic', sans-serif;
	font-size: 24px;
}
.textBox p{
	padding: 5%;
}
.textBox input{
	font-size: 1em;
}
.textBox button{
	padding: 10px;
	border-radius: 10%;
	border-color: #fcf032;
	color: #fff;
	background-color: #000;
	font-weight: bold;
	font-size: 18px;
}
.textBox img{
	width: 50%;
	margin-top: 5%;
}

/* result.php */
.resultBox{
	width: 1000px;
	height: 400px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	text-align: center;
	font-weight: bold;
	background-color: #f5f0aa;
	border-radius: 30px;
	font-family: 'Yusei Magic', sans-serif;
}
.resultBox h3{
	font-size: 30px;
	margin: 50px;
}
.flexBox{
	display: flex;
	margin: 50px;
	font-size: 20px;
}
.typeBox{
	background-color: #fff;
	width: 200px;
	padding: 20px;
	border-radius: 5px;
}
.typeBox p{
	color: #778899;
}
.typeBox img{
	width: 100px;
}
.itemBox{
	display: flex;
	margin-left: 30px;
}
.itemBox p{
	width: 200px;
	color: blue;
}
.itemBox img{
	width: 100px;
	height: 100px;
	margin: 30px;
}
.itemBox a:hover{
	opacity: 0.5;
}
.resultBox button{
	background-color: #fcf032;
	border-radius: 5ex;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 16px;
}
/* items.php */
.itemsBox{
	width: 1000px;
	margin: 0 auto;
	align-items: center;
	font-family: 'Yusei Magic', sans-serif;
}
.itemsBox h3{
	font-size: 24px;
	margin: 10px 0;
	background-color: aqua;
}
.itemsBox table{
	background-color: #fff;
	width: 1000px;
}
.itemsBox table th{
	background-color: blanchedalmond;
}
.itemsBox form{
	margin: 5px;
}
.itemsBox button{
	background-color: #fcf032;
	border-radius: 5ex;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 16px;
}