/*
Theme Name: apollomember
*/

@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);


/*全体の設定
---------------------------------------------------------------------------*/
html,body{
	margin-top: 0;
	padding: 0;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.6em;
	background-color: white;
}
body {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
.left{
	float:left;
	margin-right:5px;
}
.right{
	float:right;
}
.clear{
	clear:both;
}
i{
	margin-right: 0.4em;
}

h1{
	font-size: 1.5rem;
}
h2{
	color: #E16B22;
	font-size: 1.5rem;
	border-bottom: 1px solid black;
	padding: 2rem 0;
	margin-bottom: 2rem;
}
input[type="text"],input[type="email"], textarea, select{
	padding: 0;
	margin: 0;
	line-height: 2rem;
	font-size: 16px;
}
textarea{
	line-height: 1rem;
}
select{
	padding: 0.5rem 0;
}
input[type="submit"]{
	-webkit-appearance: none;
	border-radius: 0;
}



/*header
---------------------------------------------------------------------------*/
#header{
	text-align: center;
	background-color: #E16B22;
	color: white;
	padding: 1rem;
	margin-bottom: 2rem;
}


/*container
---------------------------------------------------------------------------*/
#container{
	text-align: center;
}
.inner{
	width: 938px;
	margin:0 auto;
	padding-bottom: 2rem;
}

/*greeting
---------------------------------------------------------------------------*/
.greeting p:first-child{
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 1rem;
}
.greeting p:nth-child(2){
	margin-bottom: 2rem;
}

/*information
---------------------------------------------------------------------------*/
.information strong{
	border: 1px solid;
	padding: 0.2rem 1rem;
	margin-bottom: 1rem;
	display: inline-block;
}


/*item
---------------------------------------------------------------------------*/
div.item-wrapper{
	background-color: #EBF1F4;
	margin-bottom: 0;
	padding: 2rem 0;
    box-sizing: border-box;
}
div.item{
	width: 938px;
	margin:0 auto;
	padding: 2rem 0;
}
div.item .title{
}
div.item .title .rank{
	font-size: 3rem;
	margin-bottom: 1.5rem;
    font-weight: 500;
}
div.item .title .num{
	margin-bottom: 2rem;
	font-size: 1.2rem;
}
div.item .name{
	margin-bottom: 2rem;
	font-size: 2rem;
	font-weight: 500;
}
div.item .photo{
	margin-bottom: 2rem;
}
div.item .detail{
	margin-bottom: 0;
}
div.item .notice{
	text-align: left;
	margin: 2rem 0;
	font-size: 75%;
}
div.item .movebtn a{
	border: 1px solid black;
	padding: 0.5rem 3rem;
	margin-bottom: 0.2rem;
	display:inline-block;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.2rem;
	color: black;
	margin-bottom: 5px;
}
div.item .movebtn a:hover{
	background-color: white;
}
div.item .movebtn span{
	font-size: 80%;
}
div.item .movebtn p:nth-child(2){
	font-size: 0.8rem;
}
div.item .photo img{
	width: 540px;
}

#form{
	padding: 2rem 0;
}
#form h2 p{
	font-size: 1rem;
	margin-top: 1rem;
	color: black;
	font-weight: normal;
}
#form h2 span{
	font-size: 1rem;
	margin-top: 1rem;
	display: inline-block;
}
#form table{
	width: 100%;
}
#form table th{
	text-align: center;
	font-size: 1rem;
	padding: 0.5rem;
	font-weight: normal;
}
#form table th span{
	color: red;
	font-size: 90%;
	margin-left: 0.5rem;
}
#form table td{
	padding: 0.5rem;
	text-align: left;
}
#form .submitbtn{
		background: #E16B22;
    color: white;
    border: 0;
    width: 200px;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
}
#form .submitbtn:hover{
		background: #FF8539;
}
.memo{
	padding: 2rem 0;
	text-align: center;
}

#privacy{
	text-align: left;
	font-size: 0.8rem;
}


/*footer
---------------------------------------------------------------------------*/
#footer{
	text-align: center;
	background-color: #E16B22;
	color: white;
	padding: 2rem;
}


@media (max-width: 938px) and (min-width: 768px) {
	.inner,
	div.item{
		width: 90vw;
	}
}


/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media screen and (max-width:767px){
	html,body{ 
		width:100%; 
		min-width: 300px;
	}
	body{ 
		width:100%; 
		overflow-x:hidden;
	}
	#header{
		margin-bottom: 0;
	}
	.inner{
		width: 100%;
	}
	h1 img{
		width: 100%;
	}
	h2{
		font-size: 1.2rem;
	}
	.information{
		padding: 0.5rem;
	}
	.information span{
		font-size: 80%;
	}
	div.item, #privacy, .memo, #form{
		width: 100%;
	}
	div.item .photo img{
		width: 100%;
	}
	
	div.item{
		padding: 20px;
		box-sizing: border-box;
	}
	div.item .title .rank{
        font-size: 2rem;
	}
	div.item .title .num{
	}
	div.item .name{
		font-size: 1.4rem;
	}
	div.item .photo{
	}
	div.item .detail{
        text-align: left;
	}

	div.item .detail, div.item .notice{
		padding: 0 1rem;
	}
	div.item .detail{
		width: auto;
	}
	#form table{
		padding: 0 1rem;
		width: 100%;
	}
	#form table th, #form table td{
		display: block;
		text-align: left;
		padding: 0.5rem 0;
		width: auto;
	}
	#form .submitbtn{
		width: 100%;
	}
	#form input[type="text"],#form input[type="email"], #form textarea{
	border-radius: 0;
	-webkit-appearance: none;
	}
	#form input.wide, #form textarea.wide{
		width: 99%;
	}
	#form h2 p{
		font-size: 70%;
	}
	#privacy p{
		padding: 0 1rem;
	}

}

