@charset "utf-8";

img {
	max-width: 100%;
}

body {
	font-family: sans-serif;
	background-color: #fefefe;
	color: #24292E;
	line-height: 1.6;
}

.container,
.header,
.html,
.css,
.flex,
.form {
	max-width: 900px;
	padding: 0 30px;
	margin-inline: auto;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-block: 48px;
}

.header-nav {
	font-size: 15px;
}

.header-list {
	display: flex;
	gap: 32px;
}

.main-visual {
	max-width: 1240px;
	margin: 0 auto;
}

.main-visual img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

.html {
	margin-top: 120px;
}

.html-title,
.css-title,
.flex-title,
.position-title,
.form-title {
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

.html-subTitle {
	font-size: 18px;
	margin-top: 60px;
}

.html-info {
	margin-top: 48px;
	font-size: 15px;
}

.html-list {
	font-size: 15px;
	margin-top: 36px;
}

.html-list li {
	margin-top: 24px;
}

.html-list h4 {
	font-weight: bold;
}

.html-list p {
	margin-top: 8px;
}


.css {
	margin-top: 120px;
}

.css-info {
	font-size: 15px;
	margin-top: 60px;
}

.css-list {
	font-size: 15px;
	margin-top: 60px;
}

.css-listItem {
	padding: 20px 16px;
	border-top: 1px solid #C8C8C8;
}

.css-listItem:last-of-type {
	border-bottom: 1px solid #C8C8C8;
}

.css-listItem-title {
	display: inline-block;
	width: 160px;
}


.flex {
	margin-top: 120px;
}

.flex-info {
	margin-top: 60px;
	font-size: 15px;
}

.flex-photoWrapper {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px 0;
	margin-top: 60px;
}

.flex-photoItem {
	width: 31%;
}

.position {
	margin-top: 120px;
	background-color: #ffebf8;
	padding-block: 100px 120px;
}

.position-info {
	margin-top: 60px;
	font-size: 15px;
	padding: 40px 80px;
	position: relative;
}

.position-info::before {
	content: "";
	display: block;
	border-top: 1px solid #24292E;
	border-left: 1px solid #24292E;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 0;
	left: 0;
}

.position-info::after {
	content: "";
	display: block;
	border-bottom: 1px solid #24292E;
	border-right: 1px solid #24292E;
	width: 50px;
	height: 50px;
	position: absolute;
	bottom: 0;
	right: 0;
}

.form {
	margin-top: 120px;
}

.form-table {
	font-size: 15px;
	margin-top: 60px;
	width: 100%;
}

.form-table th {
	font-weight: normal;
	padding-top: 10px;
	padding-right: 46px;
	width: 15%;
}

.form-form td {
	padding-top: 10px;
	width: 85%;
}

.form-table input,
.form-table textarea {
	border: 1px solid #C8C8C8;
	width: 100%;
	padding: 13px;
}

.form-table textarea {
	height: 160px;
	resize: none;
}

.form-form-btn {
	width: 200px;
	background-color: #24292E;
	border: 1px solid #24292E;
	text-align: center;
	color: #fff;
	font-size: 15px;
	padding-block: 20px;
	display: block;
	margin: 30px auto 0;
}

.footer {
	background-color: #24292E;
	padding: 12px;
	text-align: center;
	margin-top: 130px;
}

.footer-copyright {
	color: #fff;
	font-size: 10px;
}

@media screen and (max-width: 600px) {
	.header {
		flex-direction: column;
		align-items: center;
		padding: 0;
	}

	.header-logo {
		margin-top: 20px;
	}

	.header-list {
		padding: 10px 0;
		font-size: 13px;
		gap: 20px;
	}

	.main-visual img {
		height: 140px;
	}

	.html,
	.css,
	.flex,
	.position,
	.form,
	.footer {
		margin-top: 80px;
	}

	.html-name,
	.flex-photoWrapper,
	.css-list,
	.form-table {
		margin-top: 40px;
	}

	.html-subTitle,
	.css-info,
	.flex-info,
	.position-info,
	.form-table {
		margin-top: 40px;
	}

	.css-listItem-title {
		margin-right: 0;
		display: block;
	}

	.flex-photoWrapper {
		flex-direction: column;
	}

	.flex-photoItem {
		width: 100%;
	}

	.position {
		padding-block: 80px;
	}


	.form-table th,
	.form-table td {
		display: block;
		width: 100%;
	}

}