html {
	scroll-behavior: smooth;
}
body {
	margin: 0 auto;
	font-family: "M PLUS 1p", sans-serif;
}
h2, h3, p, li, dt, dd, th, td {
	margin-right: -0.2em;
	letter-spacing: 0.2em;
	rotate: 0.03deg;
}
div, dt, dd, img {
	box-sizing: border-box;
}
a {
	text-decoration: none;
}
img {
	max-width: 100%;
}

#menu_btn {
	width: 40px;
	height: 40px;
	display: block;
}
header {
	width: 100%;
	background-color: white;
	position: fixed;
	top: 0;
	z-index: 2;
}
header ul {
	width: 100%;
	max-width: 500px;
	height: 60px;
	margin: 0 auto;
	padding: 0 7px;
	font-size: 14px;
	list-style-type: none;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
header a {
	color: black;
}

main {
	margin-top: 60px;
	overflow-x: hidden;
}
#co_name {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
h1,
#nm {
	width: fit-content;
	margin: 0 auto;
	font-weight: 500;
	text-align: right;
	text-wrap: nowrap;
}
h1 div:nth-of-type(1),
#nm div:nth-of-type(1) {
	line-height: 0.9;
}
h1 span,
#nm span {
	margin-right: -0.2em;
	letter-spacing: 0.2em;
}
h1 span:nth-of-type(1),
#nm span:nth-of-type(1) {
	font-size: 22px;
	vertical-align: middle;
}
h1 span:nth-of-type(2),
#nm span:nth-of-type(2) {
	font-size: 35px;
	vertical-align: middle;
}
h1 div:nth-of-type(2),
#nm div:nth-of-type(2) {
	margin-right: -0.2em;
	font-size: 11px;
	letter-spacing: 0.2em;
	line-height: 2.25;
}
#circle {
	width: 100%;
	max-width: 520px;
	margin: 30px -10% 0 0;
	padding: 5px;
	border: 2px solid #009245;
	border-radius: 50%;
	aspect-ratio: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}
#circle div {
	width: 100%;
	border-radius: 50%;
	aspect-ratio: 1;
	overflow: hidden;
}
#circle img {
	height: 100%;
	object-fit: cover;
	object-position: right;
}

section {
	margin-bottom: 12px;
}
h2 {
	margin: 0 0 20px;
	margin-bottom: 20px;
	padding: 60px 50px 0;
	color: #009245;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}

#products {
	margin-top: 12px;
}
#products h2 {
	margin-bottom: 32px;
}
#products p {
	margin-top: 32px;
	margin-bottom: 0;
	padding: 0 60px;
	font-size: 16px;
	font-feature-settings: "palt";
}

#equipment h2 {
	text-align: left;
}
.eq {
	padding: 0 35px;
	display: flex;
	flex-wrap: wrap;
}
.eq:first-of-type {
	margin-bottom: 20px;
}
.eq img {
	width: 193px;
	height: 219px;
	margin: 0 auto 20px;
	object-fit: cover;
	display: block;
}
.eq:first-of-type img {
	object-position: left -32px bottom 0;
}
.eq:nth-of-type(2) img {
	object-position: left bottom;
}
.eq div {
	width: 100%;
	display: flex;
}
.eq h3 {
	margin: 0.1em 0 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	writing-mode: vertical-lr;
}
.eq ul {
	margin: 0;
	padding-left: 5px;
	font-size: 9.5px;
	line-height: 1.75;
	list-style-type: none;
}
.eq ul ul {
	padding-left: 1em;
}

#profile {
	margin: 0 0 50px;
	padding: 0 20px;
	rotate: 0.03deg;
}
#profile dt,
#profile dd {
	margin-left: 0;
	font-size: 9.5px;
	font-weight: 500;
	rotate: none;
}
#profile dt {
	border-top: 1px dashed #666666;
	color: #006837;
}
#profile dd:last-child {
	border-bottom: 1px dashed #666666;
}
#history h3 {
	margin-top: 0;
	margin-bottom: 14px;
	font-size: 11px;
	text-align: center;
}
#history table {
	width: calc(100% - 40px);
	margin: 0 auto 50px;
	border-collapse: collapse;
}
#history tr:nth-of-type(odd) {
	background-color: #E3F0DB;
}
#history th,
#history td {
	padding: 0 15px;
	font-size: 8.5px;
	line-height: 2.4;
	text-align: left;
	display: block;
}

#map {
	max-width: calc(100% - 20px);
	margin: 0 auto;
	aspect-ratio: 4 / 3;
	display: block;
}
#map iframe {
	max-width: 100%;
	max-height: 100%;
}
#access p {
	padding: 0 20px;
	font-size: 8.5px;
}
#inquiry p {
	padding: 0 20px;
	font-size: 11px;
	text-align: center;
}
#inquiry a {
	width: 220px;
	height: 36px;
	margin: 36px auto;
	color: white;
	text-align: center;
	background-color: #009245;
	display: flex;
	align-items: center;
}
#inquiry img {
	width: 28px;
	margin: 0 0 0 21px;
}
#inquiry span {
	width: 164px;
	margin-right: -0.2em;
	font-size: 14px;
	letter-spacing: 0.2em;
	rotate: 0.03deg;
}

footer {
	height: 310px;
	color: white;
	background-color: #009245;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
footer ul {
	margin-top: 20px;
	margin-bottom: 0;
	padding: 0 20px;
	font-size: 16px;
	line-height: 1.63;
	list-style-type: none;
}
footer a {
	color: white;
}
#nm div {
	text-align: right;
}
#nm p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 11px;
	line-height: 2.25;
	text-align: right;
}
@media (min-width: 768px) {
	body {
		max-width: 1920px;
	}
	.sp {
		display: none;
	}
	#menu_btn {
		display: none;
	}
	header ul {
		max-width: 630px;
		height: 96px;
		margin: 0 0 0 calc(90% - 630px);
		padding: 0 0 10px;
		font-size: 24px;
	}

	main {
		margin-top: 96px;
	}
	#co_name {
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	h1 span:nth-of-type(1) {
		font-size: 2.5vw;
	}
	h1 span:nth-of-type(2) {
		font-size: 4vw;
	}
	h1 div:nth-of-type(2) {
		font-size: 1.25vw;
	}
	#circle {
		width: 54%;
		max-width: unset;
		margin: 0 -56px 0 0;
		padding: 20px;
		border-radius: 50%;
		aspect-ratio: 1;
	}
	#circle div {
		width: 100%;
		border-radius: 50%;
		aspect-ratio: 1;
	}

	section {
		margin-bottom: 48px;
	}
	section:last-of-type {
		margin-bottom: 144px;
	}
	h2 {
		margin-bottom: 30px;
		padding: 96px 0 0 85px;
		font-size: 30px;
		text-align: left;
	}
	#products {
		margin-top: 0;
	}
	#products h2 {
		margin-bottom: 48px;
	}
	#products p {
		width: 290px;
		margin-top: 48px;
		padding: 0 0 0 85px;
		font-size: 18px;
	}

	.eq {
		padding: 0 85px;
		flex-wrap: nowrap;
		align-items: flex-start;
	}
	.eq:first-of-type {
		margin-bottom: 100px;
	}
	.eq img {
		width: 40%;
		max-width: 480px;
		height: auto;
		margin: 0;
		aspect-ratio: 480 / 545;
	}
	.eq:first-of-type img {
		object-position: left -80px bottom 0;
	}
	.eq:first-of-type div {
		padding-left: 38px;
	}
	.eq.eq:nth-of-type(2) div {
		padding-right: 38px;
		justify-content: flex-end;
	}
	.eq:nth-of-type(2) img {
		object-position: left bottom;
	}
	.eq h3 {
		font-size: 30px;
	}
	.eq ul {
		padding-left: 14px;
		font-size: 18px;
	}
	.eq:nth-of-type(2) {
		justify-content: flex-end;
	}
	.eq:nth-of-type(2) img {
		order: 1;
	}
	.eq:nth-of-type(2) div {
		order: 0;
	}

	#profile {
		margin-bottom: 100px;
		padding: 0 85px;
	}
	#profile dt {
		width: 200px;
		padding-left: 1em;
		vertical-align: top;
	}
	#profile dt:last-of-type {
		border-bottom: 1px dashed #666666;
	}
	#profile dd {
		width: calc(100% - 200px);
		padding-right: 1em;
		border-top: 1px dashed #666666;
	}
	#profile dt,
	#profile dd {
		font-size: 18px;
		line-height: 55px;
		display: inline-block;
	}
	#history h3 {
		margin-bottom: 24px;
		font-size: 24px;
	}
	#history table {
		width: 80%;
		max-width: 1000px;
		margin: 0 auto;
	}
	#history th,
	#history td {
		padding: 0 9px;
		font-size: 18px;
		line-height: 2.66;
		display: table-cell;
	}
	#history th {
		width: 290px;
		vertical-align: top;
	}
	#map {
		width: 800px;
	}
	#access img {
		max-width: 1026px;
		margin: 0 auto;
		padding: 0 85px;
	}
	#access p {
		max-width: 856px;
		margin: 1em auto;
		padding: 0 85px;
		font-size: 18px;
	}
	#inquiry p {
		margin: 0;
		font-size: 24px;
	}
	#inquiry div {
		width: fit-content;
		margin: 0 auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	#inquiry a {
		width: 575px;
		height: 92px;
		margin: 92px 70px 0;
		justify-content: flex-start;
	}
	#inquiry img {
		width: 72px;
		margin: 0 0 0 54px;
	}
	#inquiry span {
		width: 431px;
		font-size: 36px;
	}

	footer {
		height: 380px;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	footer ul {
		margin: 0;
		padding: 0;
		font-size: 25px;
		line-height: 1.64;
		order: 1;
	}
	#nm {
		margin: 5px 0 0;
		padding-right: 8%;
		order: 0;
	}
	#nm span:nth-of-type(1) {
		font-size: 34.37px;
	}
	#nm span:nth-of-type(2) {
		font-size: 54.88px;
	}
	#nm div:nth-of-type(2) {
		font-size: 16.8px;
	}
	#nm p {
		margin-bottom: 0;
		font-size: 16.8px;
	}
}
