@charset "UTF-8";

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	color: #24292e;
}


img {

	width: 400px;
	height: 200px;
	object-fit: unset;
	margin: 10px;
    padding: 0 10px;
}

li {
	list-style: none;
}

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

.site-title {
	line-height: 1px;
}

.site-title a {
	display: block;
}

.sec-title {

	text-align: center;
	margin-bottom: 55px;
}

.about {

	text-align: center;
	margin-bottom: 250px;
	margin-left: 19px;
}

.discription {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	background: #eee;
}

.discription h2 {
	justify-self: start;
}

.discription p {
	justify-self: center;
}

.btn:hover {
	background-color: #c8c8c8;
	transition: .5s;
}

.btn {
	scroll-behavior: smooth;
}

.btn_img {
	display: grid;
	justify-content: flex-end;
	width: 15px;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.header-inner {
	/* ヘッダーの最大幅 */
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;
	box-sizing: border-box;
}

/* ロゴ */
.logo {
	font-size: 24px;
	font-weight: bold;
}

/* メニュー */
.nav {
	display: flex;
	gap: 20px;
}

.nav a {
	text-decoration: none;
	color: #333;
}

.nav ul {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav a {
	text-decoration: none;
	color: #333;
}


/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
	text-align: center;
}

#mainvisual {
	margin-bottom: 80px;

}

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

/*-------------------------------------------
Main
-------------------------------------------*/

#main {
	padding: 70px 0 0;
}

/*-------------------------------------------
About
-------------------------------------------*/
#about ul {
	margin-bottom: 70px;
	text-align: end;
}

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

#about p {
	text-align: justify;
}

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

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

/*-------------------------------------------
Work Experience
-------------------------------------------*/
#WorkExperience dl {
	display: flex;
	flex-wrap: wrap;
	border-top: solid 1px #c8c8c8;
	margin-bottom: 20px;
}

#WorkExperience dt {
	width: 20%;
	padding: 15px;
}

#WorkExperience dd {
	width: 80%;
	border-bottom: solid 1px #c8c8c8;
	padding: 10px 0px 15px 0px;
	margin: 0 auto;
	display: block;
	text-align: center;
}


/*-------------------------------------------
Contact
-------------------------------------------*/
#contact dl {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

#contact dt {
	width: 15%;
}

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

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

#contact dd textarea {
	height: 10rem;
}

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

#contact .button input {
	width: 200px;
	background-color: #24292e;
	color: #fff;
	padding: 15px 0;
	border: solid 1px #24292e;
}

#contact .button input:hover {
	background: #fff;
	color: #24292e;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
	background-color: #24292e;
	color: #fff;
	font-size: 0.5rem;
	padding: 10px 20px;
	text-align: center;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
	.wrapper {
		margin-bottom: 70px;
	}

	.site-title {
		margin-top: 20px;
	}

	.sec-title {
		margin-bottom: 40px;
	}

	/*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
	#header {
		max-width: 100%;
		height: auto;
		flex-direction: column;
	}

	#header li {
		font-size: 0.8rem;
		margin-left: 20px;
	}

	#header li:first-child {
		margin-left: 0;
	}

	/*-------------------------------------------
  Works
  -------------------------------------------*/
	#works ul {
		flex-direction: column;
	}

	#works li {
		width: 100%;
	}

	/*-------------------------------------------
  Work Experience
  -------------------------------------------*/
	#WorkExperience dl {
		flex-direction: column;
	}

	#WorkExperience dt {
		width: 100%;
		border-bottom: none;
		padding-bottom: 0;
	}

	#WorkExperience dd {
		width: 100%;
		padding-top: 0;
	}

	/*-------------------------------------------
  Contact
  -------------------------------------------*/
	#contact dl {
		flex-direction: column;
	}

	#contact dt {
		width: 100%;
	}

	#contact dd {
		width: 100%;
	}
}