@charset "UTF-8";
/* CSS Document */
body{
	font-size: 16px;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	color: #333333;
}
*{
	box-sizing:border-box;
}
a{
	display: block;
	color:#333333;
	text-decoration:none;
}
img{
	width:100%;
}
a:hover{
	opacity:0.8;
}
.wrapper {
	width: 960px;
	margin: 0 auto;
}
h2, nav, #works h3{
	font-family: 'Sumana', serif;
	letter-spacing: 0.5em;
}
h2{
	font-size: 25px;
	font-family: 'Sumana', serif;
	text-align: center;
	color: #ea0032;
	letter-spacing: 0.5em;
	margin-bottom: 2em;
}
/* pagetop */
.pagetop {
	width:60px;
	position: fixed;
	right: 3.5em;
	bottom:2em;
}

/* header */
header{
	background-image:url(../img/top-bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	height: 700px;
}
.top-box{
	width:90%;
	max-width:960px;
	margin:0 auto;
}
.head-box{
	width:100%;
	padding-top:5%;
	/*margin-left:50%;*/
}
h1 {
text-align: center;
}
h1 img{
	width:50%;
	margin-bottom:2em;
}
nav ul{
display: flex;
-ms-flex-pack:distribute;
justify-content:space-around;
}
nav li{
width: 20%;
	font-size:1.5em;
	text-align:center;
	/*margin-bottom: 1em;*/
}
nav li a:hover{
	opacity: 1;
	color: #ea0032;
}
section#about, section#works, section#contact{
	padding: 70px 0;
	/*border-bottom: 1px solid #ea0032;*/
}

/* About */
#about .profile_img{
	float: left;
}
#about .profile_box{
	letter-spacing: 0.1em;
}
#about .profile_text{
	float: right;
	width: 560px;
}
.profile_text li span{
	font-size: 12px;
	margin-left: 10px;
	color: #999999;
}
.profile_text li, .profile_text p{
	margin-bottom: 1em;
}
.profile_text p.favorit{
	margin-bottom: 0;
	font-weight: bold;
	font-size: 0.8em;
}
.profile_text dl{
	margin-top: 1.5em;
}
.profile_text dt{
	float: left;
	margin-right:0.8em; 
}
.profile_text dd{
	margin-bottom:2em;
}

/* Works */
#works h3, #works .job_box{
	margin-bottom: 2em;
}
#works ul{
	padding: 0 20px;
}
#works .job_box ul li{
	float: left;
	width: 200px;
	margin-right: 30px;
	font-size: 0.8em;
}
#works .job_box li:last-child{
	margin-right: 0;
}
#works .job_box li span{
	color:#ea0032;
	margin-left:1em;
	display:inline-block;
}
#works .job_box ul li img{
	padding:4px;
	margin-bottom:0.5em;
	border:1px solid #CCC;
}
#works .mb-20{
	margin-bottom: 20px;
}

/* Contact */
#contact{
	background-color: #f6f4f1;
}
#contact h2{
	margin-bottom: 40px;
}
#contact p{
	text-align: center;
}
#contact .cot_text{
	margin-bottom: 50px;
}
#contact table{
	width: 500px;
	margin: 0 auto;
}
#contact table th{
	width: 200px;
	padding: 20px 0;
	vertical-align: top;
}
#contact table th span{
	padding: 2px 5px;
	margin-left: 5px;
	background-color: #ea0032;
	border-radius: 5px;
	font-size: 0.6em;
	color: #ffffff;
}
#contact table td{
	width: 400px;
	padding: 20px 0;
}
input[type="text"], input[type="email"], input[type="number"], textarea{
	width: 100%;
}
input[type="submit"]{
	padding: 10px 50px;
	margin-top: 50px;
	background-color: #ea0032;
	color: #ffffff;
	border: 0;
}
footer p{
	font-size: 0.8em;
	text-align: center;
	padding: 1em 0;
}

@media screen and (max-width:769px){
/*769px以下用（タブレット用）の記述*/

header{
	height: 500px;
}
.top-box{
	width:100%;
	max-width:100%;
	margin:0 auto;
}
.head-box{
	width:70%;
	margin-left:0;
	margin:0 auto;
	padding-top: 15%;
}
nav li{
  width: 100%;
	font-size:1.2em;
	/*margin-bottom:0.7em;*/
}
.wrapper {
	width: 100%;
	margin: 0;
	padding:0 30px;
}
/* pagetop */
.pagetop {
	right: 0.5em;
}

/* About */
#about .profile_img{
	float: none;
	width:45%;
	margin:0 auto 2em auto;
}
#about .profile_text{
	float: none;
	width: 100%;
}

/* Works */
#works h3, #works .job_box{
	margin-bottom: 2em;
}
#works h3{
	text-align:center;
}
#works .job_box ul li{
	width: 47%;
	margin-right: 6%;
	margin-bottom:2em;
}
#works .job_box li:last-child{
	margin-right: 6%;
}
#works .job_box li:nth-child(even){
	margin-right: 0;
}
#works .mb-20{
	margin-bottom: 0;
}
}

@media screen and (max-width: 479px){
/* 479px以下用（スマートフォン用）の記述 */
h1 img{
	width:95%;
}
h2{
	margin-bottom: 1em;
}
header{
	height: 100vh;
}
.head-box{
	width:80%;
	padding-top: 26%;
}
nav ul{
display: block;
}
nav li{
	margin-bottom: 0.4em;
}
#works ul{
	padding:0;
}
#contact table{
	width: 100%;
}
#contact table th{
	width: 100%;
	padding: 0;
	display:block;
}
#contact table th span{
	padding: 2px;
}
#contact table td{
	width: 100%;
	padding: 10px 0;
	display:block;
}
}