@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Opti&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	position: relative;
	background: #fdfdfd;
	color: #353535;
	line-height: 2.0em;
	font-family: "MS PGothic";
}

input {
	display: none;
}

.overflow {
	overflow: hidden;
}

.disappear {
	opacity: 0;
}

a {
	text-decoration: none;
	color: #333333;
}

a:hover {
	opacity: 0.5;
}

header {
	opacity: 1;
	transition: 0.5s;
	padding: 30px;
	display: flex;
	justify-content: space-between;
}

#logo {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hamburg {
	display: none;
}

#logo img {
	width: 250px;
}

#header-inner {
	display: flex;
	align-items: center;
}

#nav-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
}

#nav-inner li {
	font-size: 18px;
	list-style-type: none;
}

#contact {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 50px;
	border-radius: 10px;
	background-color: #333333;
	transition: 0.5s;
}

#contact a {
	color: white;
}

#contact:hover {
	border: solid 2px #333333;
	background-color: white;
}

#contact:hover a {
	color: #333333;
	opacity: 1;
}

.bg {
	display: none;
}

main {
	opacity: 1;
	transition: 0.5s;
	padding: 0px 50px;
}

section {
	margin: 0 0 40px 0;
}

section img {
	display: block;
	margin: 0 auto;
}


section h1 {
	font-size: 30px;
	margin: 0px 0 30px 0;
	padding: 0 10px;
	border-left: #333333 solid 5px;
	font-family: 'Kaisei Opti', serif;
}

section h2 {
	font-size: 30px;
	margin: 0px 0 30px 0;
	padding: 0 10px;
	border-left: #333333 solid 5px;
	font-family: 'Kaisei Opti', serif;
}
section h2.recruit{
	border-left: #940000 solid 3px;
}

section p {
	font-size: 20px;
	padding: 0px 0px 20px 30px;
}
#intro img{
	width: 60%;
}
.text_algin {
	padding: 0;
	text-align: center;
}

.large_font {
	font-weight: 600;
	font-size: 80px;
	font-family: 'Kaisei Opti', serif;
}

.border_bottom {
	display: block;
	margin: 0 0 30px 0;
	width: 100%;
	border-bottom: 2px #333333 solid;
}

.double_img {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.double_img img {
	width: 250px;
}

.double_img a {
	margin: 0 20px;
	display: flex;
	align-items: flex-end;
}

.double_img a::after {
	content: " ";
	display: inline-block;
	width: 10px;
	height: 10px;
	background-image: url(../img/link.png);
	background-size: contain;
}

footer {
	margin: 0 0 10px 0;
	text-align: center;
}
.br-sp {
    display: none;
}

@media screen and (max-width:700px) {
	body {
		position: relative;
		line-height: 1.5em;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		padding: 10px 5px;
		margin: 0 0 10px;
		background-color: white;
		border-bottom: 2px solid #333;
		z-index: 1;
	}

	#logo img {
		width: 150px;
	}

	#nav-inner li {
		font-size: 14px;
		list-style-type: none;
	}

	input {
		display: none;
	}

	#hamburg {
		display: block;
		position: relative;
		width: 30px;
		height: 30px;
		margin: 0 5px 0 0;
		z-index: 100;
	}

	#hamburg span {
		position: absolute;
		top: 5px;
		display: block;
		width: 30px;
		height: 4px;
		background-color: #333;
		border-radius: 3px;
		transition: 0.5s;
	}

	#hamburg span:nth-child(1) {
		top: 5px;
	}

	#hamburg span:nth-child(2) {
		top: 15px;
	}

	#hamburg span:nth-child(3) {
		top: 25px;
	}

	#contact {
		width: 80%;
		height: 80vh;
		background: white;
		position: fixed;
		top: 0;
		right: -100%;
		margin: 0;
		transition: 0.5s;
		border-radius: 0;
		z-index: 50;
	}

	#contact a {
		color: #333;
		text-decoration: underline #333 2px;
		text-underline-offset: 0.3em;
	}

	#contact:hover {
		border: none;
		background-color: white;
	}

	#contact:hover a {
		color: #333333;
		opacity: 1;
	}

	.bg {
		position: absolute;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		display: block;
		background: rgb(0, 0, 0);
		z-index: 1;
		opacity: 0;
		transition: 0.5s;
		
	}

	#button_check:checked~#contact {
		right: 0;
	}

	#button_check:checked~.bg {
		left: 0;
		opacity: 0.8;
	}

	#button_check:checked~#hamburg span:nth-child(1) {
		transform: translateY(10px)rotate(45deg);
	}

	#button_check:checked~#hamburg span:nth-child(2) {
		opacity: 0;
		transform: translateX(10px);
	}

	#button_check:checked~#hamburg span:nth-child(3) {
		transform: translateY(-10px)rotate(-45deg);
	}

	main {
		position: absolute;
		top: 60px;
		padding: 0px 10px;
	}

	section img {
		width: 350px;
	}

	
	section {
		margin: 0 0 20px 0;
	}

	section h1 {
		font-size: 20px;
		margin: 0px 0 20px 0;
		padding: 0 5px;
		border-left: #333333 solid 3px;
		font-family: 'Kaisei Opti', serif;
	}

/*	section h2 {
		font-size: 18px;
		margin: 0px 0 20px 0;
		padding: 0 10px;
	}
*/
	section h2 {
		font-size: 20px;
		margin: 0px 0 20px 0;
		padding: 0 5px;
		border-left: #333333 solid 3px;
		font-family: 'Kaisei Opti', serif;
	}
	section h2.recruit{
		border-left: #940000 solid 3px;
	}

	section p {
		margin: 0px 0 20px 0;
		padding: 0 5px;
		font-size: 15px;
	}
	#intro img{
		width: 83%;
	}
	.large_font {
		font-weight: 600;
		font-size: 40px;
		font-family: 'Kaisei Opti', serif;
	}
	table {
		font-size: 18px;
		width: auto;
		font-weight: 600;
	}

	td {
		padding: 0 0px 2px;
	}

	th {
		width: 110px;
		letter-spacing: 0.1em;
		text-align: right;
	}
	.double_img {
		flex-direction: column;
	}
	.double_img img {
		margin: 10px 0;
		width: 150px;
	}
	.br-sp {
        display: block;
    }
}