html{
	font-size: 100%;
}

body{
	color: #24292e;
	font-family: "Sawarabi Gothic"; 
}
/* CSS Document */
a{
	text-decoration: none;
}

img{
	max-width: 100%;
}

li {
	list-style: none;
	font-size: 1.2rem;
}

.wrapper {
	max-width: 960px;
	margin: 0 auto 130px auto;
	font-size: 1.3rem;
	padding: 0 4%;
}

.site-title {
	line-height: 1px;
	font-weight: 600;
	font-size: 2.4rem;
}

.site-title a {
	color: #24292e;
}

.sec-title{
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 65px;
}

/* header */
#header {
	max-width: 960px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	padding: 0 4%;
	height: 170px;
}

#header ul{
	display: flex;
	padding: 10px 0;
	align-items: center
}

#header ul li {
	font-size: 0.9em;
	margin-left: 30px;
}

#header ul li a {
	color:#24292e;
	transition: all 0.3s;
}

#header ul li a:hover {
	opacity:0.5;
}

/* main */
#main {
	margin-bottom: 80px;
}

#main img {
	width: 100%;
	max-width: 1920px;
	height: 400px;
	object-fit: cover;
}

/* about */
#about ul {
	margin-bottom: 30px;
}

#about ul li:first-child {
	margin-bottom: 30px;
}

#about ul li{
	margin-bottom: 3px;
}

/* Works */
#works ul {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 50px;
}

#works ul  li {
	width:31%;
	margin-bottom:23px;	
}

#works ul  li img {
	cursor:pointer;
	transition: all 0.3s;
}

#works ul  li img:hover{
	transform: scale(1.2,1.2);
	opacity:0.7;
}

/* works1-4 */
#works1{
	width: 850px;
	text-align: center;
}

#works1 h2{
	font-size: 1.8rem;
	margin: 30px 0 80px 0;
}

#works1 dl.worksPage-summary{
    flex-wrap: wrap;
    margin: 100px 0 60px;
	line-height: 2.6;
    letter-spacing: .08rem;
}

#works1 dl {
	margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px
}

#works1 dl dt.works-list {
    display: block;
    float: left;
    width: 20%;
    color: #afafaf;
    font-weight: 500;
}

#works1 dl dd {
    display: block;
	width: 65%;
    margin-inline-start: 220px;
	text-align: left;
}

p.text{
	font-size:0.9rem;
	text-align: center;
	margin-bottom: 10px;
}

#works1 .button{
	font-size: 1rem;
    background: #008080;
    color: #fff;
    border-radius: 50px;
    padding: 18px 30px;
    margin-bottom: 50px;
    text-align: center;
}

/* contact */
#contact p {
	text-align: center;
	margin-bottom: 20px;
}

#contact dl {
	display:flex;
	flex-wrap:wrap;
}

#contact dt {
	width: 20%;
	margin-bottom: 10px;
}

#contact dd {
	width: 80%;
	margin-bottom: 10px;
}

#contact dd input ,
#contact dd textarea {
	width: 100%;
	border: 1px solid #c8c8c8;
	padding: 10px;
}

#contact dd textarea {
	height: 10rem;
}

#contact .contactbtn {
	text-align: center;
}

#contact .btn {
	border:1px solid #24292e;
	background-color: #24292e;
	width: 200px;
	padding: 15px 0;
	color: #fff;
	transition: all 0.3s;
}

#contact .btn:hover {
	background-color: #fff;
	color:#24292e;
}

/* footer */
#footer {
	max-width: 960px;
	text-align: center;
	margin: 0 auto;
	padding: 0 2%;
	height: 80px;
}

/* sp */
@media screen and (max-width: 600px) {
	.site-title {
		margin-top: 20px;
	}
	
	/* header */
	#header{
		flex-direction: column;
		height: auto;
		line-height: 40px;
		margin-top: 20px;
	}
	
	#header li {
		font-size:0.8rem;
		margin-left: 20px;
	}
	
	#headre li img .icon {
		width: 20px;
		margin-top: 15px;
	}
	
	/*works*/
	#works ul {
		flex-direction: column;
	}
	
	#works ul li{
		width:100%;
	}
	
	/* contact */
	#news dl {
		flex-direction: column;
	}
	
	#news dt {
		width: 100%;
		margin-bottom: 5px;
	}
	
	#news dd {
		width: 100%;
		padding-top: 0;
	}
	
}



















