/* CSS Document */

body {
	background: #FFF;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	color: #373737;
	font-size: 16px;
	line-height: 1.6;
	--main_color:#373737;
	-webkit-text-size-adjust: 100%;
}

a { 
	transition: all 0.3s;
	color: var(--main_color);
}
img { image-rendering: -webkit-optimize-contrast;}

.w1060 {
	width: 1060px;
	margin: 0 auto;
}

header {
	padding: 0 1rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
header a { 
	text-decoration: none; 
	font-size: 0.8rem;
	font-weight: bold;
	color: var(--main_color);
}
header a:hover,
header a:focus { opacity: 0.6;}
header h1 { margin-right: auto;}
header h1 a { display: block;}

header nav { display: flex;}
header .main_menu,
header .con_rec { 
	display: flex;
	align-items: center;
}
header .main_menu { margin-right: 1.5rem;}
header .main_menu > li { padding: 2rem 1rem;}
header .main_menu > li.active { background: #f7f7f7;}

.skip-link {
    position: absolute;
}
.skip-link:not(:focus) {
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
    display: block;
    top: 5px;
    left: 5px;
    z-index: 9999;
    margin: 0;
    padding: 15px 20px;
    background-color: lightgray;
}


.main_menu .drop { 
	font-weight: bold;
	cursor: pointer;
	display: block;
	height: 100%;
	font-size: 0.8rem;
}
.main_menu .drop::after {
	content: "+";
	color: #b7b7b7;
	margin-left: 4px;
}

.main_menu ul { 
	display: none;
	position: absolute;
	width: 100%;
	top: 75px;
	left: 0;
	background: #f7f7f7;
	padding: 2rem 1rem;
	text-align: center;
	box-sizing: border-box;
}
.main_menu ul li {
	display: inline-block;
	margin: 0 0.5rem;
}
.main_menu ul li::after {
	content: "\FF0F";
	color: #b7b7b7;
	margin-left: 1rem;
}
.main_menu ul li a { font-weight: normal;}

header .con_rec li a {
	border: 1px solid var(--main_color);
	display: block;
	box-sizing: border-box;
	padding: 0.8rem 2rem;
	text-align: center;
}
header .con_rec li.contact a {
	background: var(--main_color);
	color: #FFF;
}

.btn { display: none;}


.pankuzu {
	background: #f7f7f7;
	padding: 0.5rem 0;
	font-size: 0.8rem;
	margin-bottom: 3rem;
}
.pankuzu ul {
	display: flex;
	gap: 0 0.5rem;
}
.pankuzu ul li:not(:last-child)::after {
	content: "\3009";
	margin-left: 0.5rem;
}
.pankuzu ul li a{ color: #c1c1c1;}


table { width: 100%;}
table tr:first-child th,
table tr:first-child td { border-top: 1px solid #bfbfbf; }
table th {
	background: #f7f7f7;
	font-weight: bold;
	padding: 1rem;
	border-bottom: 1px solid #bfbfbf;
	vertical-align: middle;
	text-align: left;
}
table td {
	padding: 1rem;
	border-bottom: 1px solid #bfbfbf;
	line-height: 1.2;
	vertical-align: middle;
}


footer {
	width: 96%;
	margin: 3rem auto 0;
	padding: 1.5rem 0 2rem;
	border-top: 1px solid #dcdcdc;
}
.pagetop {
	position: fixed;
	right: 1rem;
	bottom: 15%;
}
.pagetop a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
	font-weight: bold;
	color: #FFF;
	text-align: center;
	background: var(--main_color);
	text-decoration: none;
	line-height: 1;
}
.footerLinks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0 1rem;
	margin-bottom: 1.5rem;
}
.footerLinks a { 
	font-size: 0.8rem;
	color: var(--main_color);
	text-decoration: none;
}
.footerLinks li {
	display: flex;
	align-items: center;
}
.footerLinks li:not(:last-child)::after {
	content: "|";
	margin-left: 1rem;
}

.copy {
	text-align: center;
	font-size: 0.7rem;
	color: #7b7b7b;
}

@media (min-width: 1061px){
	.whitebase { display: none;}
}
@media (max-width: 1060px){
	.w1060 {
		width: 100%;
		padding: 0 1rem;
		box-sizing: border-box;
	}
/*-----------------------menu-----------------------*/	
	.btn {
		margin: 0;
		padding: 0;
		outline: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: inherit;
		vertical-align: middle;
		text-align: inherit;
		font: inherit;
		-webkit-appearance: none;
		appearance: none;
	}
	.btn {
		width: 2.6rem;
		height: 2.6rem;
		display: block;
	}
	.btn-line {
		display: block;
		position: relative;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		margin: 0 auto;
		padding-top: 1.8rem;
		font-size: 80%;
		font-weight: bold;
		transition: .2s;
		text-align: center;
	}
	.btn-line::before , .btn-line::after {
		content: "";
		position: absolute;
		width: 100%;
		height: 4px;
		left: 0;
		background-color: var(--main_color);
		transition: .5s;
	}
	.btn-line::before {
		top: 18px
	}
	.btn-line::after {
		top: 8px;
	}
	/***** メニューオープン時 *****/
	.btn-line.open {
		background-color: transparent;
	}
	.btn-line.open::before , .btn-line.open::after {
		content: "";
		background-color: var(--main_color);
		transition: .2s;
	}
	.btn-line.open::before {
		transform: rotate(25deg);
		top: 14px;
	}
	.btn-line.open::after {
		transform: rotate(-25deg);
		top: 14px;
	}
	
	
	header { 
		padding: 0.5rem;
		gap: 0 1rem;
		z-index: 99;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		box-sizing: border-box;
		background: #FFF;
	}
	
	header .con_rec li a { 
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: 0.1rem 0;
		border-top: none;
		border-bottom: none;
		border-color: #e5e5e5;
	}
	header .con_rec li a::before {
		content: "";
		display: block;
		width: 100%;
		height: 1.2rem;
		margin-bottom: 0.2rem;
	}
	header .con_rec li.recruit { margin-right: -1px;}
	header .con_rec li.recruit a::before {
		background: url("../img/common/recruit_iconSP.png") no-repeat center top;
		background-size: contain;
	}
	header .con_rec li.contact a::before {
		background: url("../img/common/contact_iconSP.png") no-repeat center top;
		background-size: contain;
	}
	header .con_rec li.recruit a,
	header .con_rec li.contact a {
		background: none;
		color: #7b7b7b;
		font-size: 10px;
		padding: 0 1rem;
	}
	
	header .main_menu {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		position: absolute;
		top: -50vh;
		left: 0;
		width: 100%;
		overflow: hidden;
		background-color: #eeeeee;
		transition: all 0.8s;
		z-index: -2;
		margin: 0;
		padding: 1rem 0;
	}
	header .main_menu.open {
		top: 65px;
	}
	
	.main_menu a,.main_menu .drop { font-size: 1rem;}
	.main_menu a span { font-size: 80%;}
	.main_menu li { 
		width: 90%;
		margin: 0 auto;
		box-sizing: border-box;
		padding: 0.5rem 0;
	}
	header .main_menu > li { padding: 1.5rem 0; position: relative;}
	header .main_menu > li:not(:last-child) { border-bottom: 1px solid #dddddd;}
	header .main_menu > li.active { background: none;}
	
	header .main_menu > li a { 
		display: flex;
		align-items: center;
		width: 100%;
	}
	header .main_menu > li a::after {
		content: "";
		display: block;
		width: 0.8em;
		height: 0.8em;
		background: url("../img/common/menu_jumpIcon.png") center no-repeat;
		background-size: contain;
		margin-left: auto;
	}
	header .main_menu > li a.drop::after { background: none;}	
	
	
	.main_menu .drop { display: flex; }
	.main_menu .drop::after { margin-left: auto; }
	
	
	.main_menu ul {
		position: static;
		background: none;
		padding: 1rem 0 0;
	}
	.main_menu ul li {
		display: block;
		text-align: left;
		padding: 0.8rem 0;
	}
	.main_menu ul li::after { display: none;}
	.main_menu ul li a { font-size: 0.9rem;}
	
	.whitebase {
		width: 100%;
		height: 100%;
		background: #FFF;
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		z-index: -1;
	}
	
}
@media (min-width: 821px){
	.spOnly { display: none;}
}

@media (max-width: 820px){
	body { font-size: 14px;}
	.pcOnly { display: none;}
	
	.pankuzu {
		margin: 70px auto 3rem;
	}
	
}

@media (max-width: 460px){
	body { padding-top: 80px;}
	header .main_menu.open { top: 58px;}
	header h1 { width: 35px;}
	header h1 img { max-width: 100%; display: block;}
	.pankuzu { display: none;}
	.pagetop { bottom: 10%; }
	.footerLinks { flex-wrap: wrap; gap: 1rem; }
	.footerLinks li:not(:first-child)::after { display: none;}
}

