@charset "UTF-8";

body {
	color: #333;
	font-family: "Hiragino Kaku Gothic ProN";
}

html {
	scroll-behavior: smooth;
}

:target {
	scroll-margin-top: 103px;
}

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

header img {
	width: 120px;
	padding: 10px 0;
}

header ul {
	display: flex;
	gap: 30px;
}

/* header ul li + li {
	margin-left: 30px;
} */

header ul li a {
	color: #24292e;
	font-size: 14px;
}

.mainvisual {
	width: 100%;
	height: 600px;
	object-fit: cover;
	margin-bottom: 80px;
}

section {
		text-align: center;
}

section h2 {
	display: inline-block;
	font-weight: bold;
	font-size: 32px;
	padding-bottom: 5px;
	border-bottom: solid 1px #383e45;
	margin-bottom: 60px;
}

#about {
	display: flex;
	justify-content: center;
}

#about img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	margin-right: 30px;
}

section h3 {
	display: block;
	text-align: left;
	font-size: 16px;
	font-weight: bold;
	margin: 10px 0;
}

section p {
	display: block;
	font-size: 14px;
}

.photoText {
	margin-bottom: 100px;
}

.photoText p {
	line-height: 1.3rem;
}

#bicycle {
	max-width: 875px;
	margin: 0 auto 100px;
	display: flex;
	justify-content: space-between;
}

#bicycle img {
width: 280px;
}

#bicycle h3 {
	text-align: center;
}

footer {
	font-size: 8px;
	text-align: center;
	margin: 10px;
}

@media screen and (max-width: 768px) {
	header {
		height: 60px;
		width: auto;
	}

	.mainvisual {
		height: calc(100vh - 60px);
	}

	#about {
		display: block;
	}

	#about img {
		margin-right: 0px;
	}

	.photoText {
		padding: 0 4%;
	}

	.photoText p {
		text-align: left;
	}

	#bicycle {
		display: block;
		width: 100%;
		padding: 0 4%;
		margin-bottom: 140px; /* 100pxじゃないのが謎 */
	}

	#bicycle li {
		height: 299px;
		margin-bottom: 30px;
	}

	#bicycle img {
		width: 345px;
	}
}