/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}

body{
	font: 14px/1.9 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
	font-weight: 300;
	-webkit-text-size-adjust:100%;
	overflow-x: hidden;
	color: #000;
	background: #fff;
}

a{
	color: #0066ff;
	text-decoration: none;
}

a:hover, .active{
  text-decoration: underline;
}

a:active, a:focus,input:active, input:focus{outline:0;}


/* ヘッダー
------------------------------------------------------------*/
#mainnav a{
	color: #000;
}


/* フッター
------------------------------------------------------------*/
#footer{
	clear: both;
	padding: 10px 10px 30px 0;
	text-align: center;
	font-size: 12px;
}

.page-top {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	right: 20px;
	bottom: 20px;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	border: 0;
	background: none;
	transition: .2s;
}
.page-top.is-active {
  opacity: 1;
  visibility: visible;
}

/* 共通
------------------------------------------------------------*/

img{
	max-width: 100%;
	height: auto;
}

section{
  clear: both;
}

section h2{
	width: 60%;
	margin: 70px auto;
	font-size: 22px;
	font-weight:normal;
	text-align: center;
}

section h2 span{
	padding-bottom: 15px;
	border-bottom: 2px solid #000;
}

.inner{
	width: 80%;
	margin: 0 auto;
	padding-bottom: 50px;
}

#message .innerS, #services .inner{
	border-bottom: 1px solid #a0a0a0;
}

.innerS{
	width: 60%;
	margin: 0 auto;
	padding-bottom: 80px;
}

#mainVisual{
	position: relative;
}

#mainMsg{
	writing-mode: vertical-rl;
	font-family: 'Noto Serif JP', serif;
	font-weight: bold;
	color: #fff;
	position: absolute;
	left: 5%;
	overflow-wrap: anywhere;
}

.link-btn{
	display: flex;
	margin-top: 25px;
}

.link-btn a{
	box-sizing: border-box;
	display: inline-block;
	width: 240px;
	margin: 0;
	padding: 12px;
	background-color: #5dad75;
	border-radius: 5px;
	color: #fff;
	text-align: center;
	transition: all .2s;
	font-weight: bolder;
}

.link-btn a:hover{
	background-color: #66c984;
	text-decoration: none;
}

#recruit .link-btn a::after{
	content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    margin-bottom: 1px;
    margin-left: 4px;
    border: 1px #fff solid;
    box-shadow: -2px 2px 0 -1px #fff;
}

.blank::after{
	content: '';
    display: inline-block;
    height: 8px;
    width: 8px;
    margin-bottom: 1px;
    margin-left: 4px;
    border: 1px #6e6e6e solid;
    box-shadow: -2px 2px 0 -1px #6e6e6e;
}


/* 業務内容
------------------------------------------------------------*/
.col4 .services{
	height: 54px;
	text-align: center;
	font-size: 1.1em;
	font-weight: bolder;
}
.col4 .img{
	margin: 0 auto;
	margin-bottom: 30px;
	height: 120px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.detail{
	display: block;
	position: relative;
	text-align: right;
}

.detail a{
	color: #000;
	text-decoration: none;
	padding-left: 35px;
	border: 0;
}

.detail a:hover{
	color: #23B14D;
}

.detail a::before {
	content: '';
	position: absolute;
	top: calc(50% - 3px);
	right: 84px;
	transform: rotate(30deg);
	width: 8px;
	height: 1px;
	background-color: #23B14D;
	transition: all .4s;
}

.detail a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 84px;
	transform: translateY(-50%);
	width: 24px;
	height: 1px;
	background-color: #23B14D;
    transition: all .4s;
}

.detail a:hover::before, .detail a:hover::after {
	right: 78px;
	background-color: #333;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 60%);
  opacity: 0;
  transition: opacity 0.5s, scale 0s 0.5s;
  scale: 0;
}

.modal:target {
  opacity: 1;
  transition: opacity 0.5s;
  scale: 1;
}

.modal.closeModal {
  opacity: 0;
  transition: opacity 0.5s, scale 0s 0.5s;
  scale: 0;
}

.close {
  position: absolute;
  top: 36px;
  right: 36px;
  font-size: 36px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transform: translate(50%, -50%);
}
.close:hover {
  text-decoration: none;
}

.modal-wrapper {
  position: relative;
  width: 80%;
  max-width: 750px;
  max-height: 80%;
  padding: 20px;
  margin: auto;
  overflow: scroll;
  background-color: #FEFEFE;
  border-radius: 5px;
}

.modal-content{
	text-align: center;
}

.modal-content h3{
	margin-bottom: 30px;
	font-size: 22px;
	font-weight:normal;
}

.modal-content h3 span{
	padding-bottom: 15px;
	border-bottom: 1px solid #a0a0a0;
	display: block;
	width: 100%;
}

.modal-content p{
	text-align: left;
	margin: 20px 0px;
}
.modal-content img{
	width: 350px;
}


/* 採用情報
------------------------------------------------------------*/
#recruit{
	padding-bottom: 0 !important;
}

.article{
	clear: both;
	overflow: hidden;
	padding-bottom: 50px;
}

.article img{
	float: left;
	margin: 5px 20px 20px;
}

.article p{
	margin-bottom: 20px;
}

/* お問い合わせ
------------------------------------------------------------*/

#contact .contact-wrap{
	background:#f7f7f7;
	display: grid;
    width: 80%;
    margin: 0 auto;
}

section#contact h2{
	margin: 20px auto 40px;
}

section#contact .inner{
	padding-bottom: 20px;
	width: 100%;
}

.contact{
	text-align: center;
}

.contact-ttl{
	font-weight: bolder;
}

.contact-inner .mail a{
	position: relative;
	padding-left: 20px;
}

.contact-inner .mail a:before{
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    background: url(../img/icon_mail.png) center center/cover no-repeat;
    left: 24%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.contact-inner .tel a{
	position: relative;
	text-decoration: none;
	padding-left: 29px;
	color: #000;
	font-size: 27px;
}

.contact-inner .tel a:hover{
	text-decoration: none;
}

.contact-inner .tel a:before {
    content: "";
    width: 27px;
    height: 27px;
    position: absolute;
    background: url(../img/icon_tel.png) center center/cover no-repeat;
    left: 0;
    top: 54%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}


/* 会社情報
------------------------------------------------------------*/
#company p{
	margin-bottom: 5px;
}

.col2 li{
	display: inline-block;
	width: 100%;
  margin: 20px 0;
}

#map{
	position: relative;
	padding-bottom: 65%;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}
.about dl {
	text-align: left;
	margin: 20px;
}
.about dt {
	float: left;
	clear: left;
	width: 132px;
}
.about dd {
	float: left;
	width: 100%-132px;
	margin-bottom: 20px;
}

.pmark{
	text-align: center;
}

/* RESPONSIVE 設定
------------------------------------------------------------*/

@media only screen and (min-width: 800px){
	body{
		font-size:14px;
	}
	
	#wrapper{
		width: 100%;
	}
	
	#content{
		width: 80%;
	}
	
	#sidebar{
		width: 12%;
		position: fixed;
		top: 0;
		right: 4%;
		background: #fff;
	}
	
	#mainMsg{
		font-size: 3.0vw;
		top: 5%;
	}
	
  a#menu{
		display:none;
	}	

	.panel{
		display:block !important;
	}
	
	#sidebar h1{
		padding: 30px 0;
		font-weight: normal;
	}

	#sidebar h1 img{
		display: block;
		padding-bottom: 10px;
	}

	#mainnav li{
		font-size: 14px;
		padding: 10px 0;
	}
	
	#sub{
		margin-top: 50px;
	}
	
	#sub li{
		font-size: 13px;
		display: inline-block;
		padding-right: 20px;
	}

	.link-btn{
		justify-content: center;
	}

	/* 業務内容
	-----------------*/
	.col4{
		text-align: center;
	}

	.col4 li{
		display: inline-block;
		width: 18%;
		padding: 0 3%;
		vertical-align: top;
		text-align: left;
	}

	.col4 .disc{
		height: 120px;
	}

	.modal-content p{
		float: left;
	}
	.modal-content img{
		float: right;
	}
	.modal-content img.pt{
		padding-top: 210px;
	}

	.contact{
		display: flex;
		position: relative;
	}
	.contact::after{
		content: "";
		position: absolute;
		display: block;
		width: 50%;
		height: 100%;
		border-right: 1px dashed #a0a0a0;
		z-index: 0;
	}
	.contact-inner{
		display: block;
		width: 50%;
		z-index: 10;
	}

	#map iframe{
		height: 220px !important;
  }
	
  #footer{
		padding: 10px 10px 30px 0;
	}
}


@media only screen and (min-width: 641px){
	.col2 li{
		width: 60%;
		vertical-align: top;
	}
	.col2 li:first-child{
		width: 35%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 640px){
	.innerS{
		width: 94%;
		padding-bottom: 30px;
	}
	.article img{
		float: none;
		display: block;
		margin: 0 auto 20px;
	}
	#map iframe{
		width: 96% !important;
		left: 2%;
	}
}

@media only screen and (max-width: 799px){

	#sidebar{
		position: fixed;
		width: 100%;
		z-index:500;
	}
	
	#sidebarWrap{
		position: relative;
		width: 100%;
		height: 60px;
		background: #fff;
		border-bottom: 1px solid #ccc;
	}
	
	#sidebar h1{
		text-align: center;
		padding-top: 15px;
		font-weight: normal;
		display: flex;
		align-items: center;
		 justify-content: center;
	}
	
	#sidebar h1 img{
		width: auto !important;
		max-height: 25px;
		margin-right: 5px;
	}
	
	#mainImg{
		padding-top: 60px;
	}
	
	#mainMsg{
		font-size: 4.3vw;
		top: 60px;
	}
	
  a#menu{
  	display: inline-block;
  	position: relative;
  	width: 40px;
  	height: 40px;
  	margin: 10px;
	}

	#menuBtn{
  	display: block;
  	position: absolute;
  	top: 50%;
  	left: 50%;
  	width: 18px;
  	height: 2px;
  	margin: -1px 0 0 -7px;
  	background: #000;
  	transition: .2s;
	}

	#menuBtn:before, #menuBtn:after{
  	display: block;
  	content: "";
  	position: absolute;
  	top: 50%;
  	left: 0;
  	width: 18px;
  	height: 2px;
  	background: #000;
  	transition: .3s;
	}

	#menuBtn:before{
  	margin-top: -7px;
	}

	#menuBtn:after{
  	margin-top: 5px;
	}

	a#menu .close{
  	background: transparent;
	}

	a#menu .close:before, a#menu .close:after{
  	margin-top: 0;
	}

	a#menu .close:before{
  	transform: rotate(-45deg);
  	-webkit-transform: rotate(-45deg);
	}

	a#menu .close:after{
  	transform: rotate(-135deg);
  	-webkit-transform: rotate(-135deg);
	}

	.panel{
		width: 100%;
		display: none;
		overflow: hidden;
		position: relative;
		left: 0;
		top: -10px;
		z-index: 100;
	}

	#mainnav{
		position: absolute;
		top: 0;
		width: 100%;
		text-align: right;
	}

	#mainnav ul{
		border-bottom: 1px solid #ccc;
		background: #fff;
		text-align: left;
	}

	#mainnav li a{
		position: relative;
		display: block;
		padding: 15px 25px;
		border-bottom: 1px solid #ccc;
		color: #000;
		font-weight: 400;
	}
	#mainnav li a:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 5px;
		width: 6px;
		height: 6px;
		margin: -4px 0 0 0;
		border-top: solid 2px #000;
		border-right: solid 2px #000;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	#mainnav #sub li{
		display: inline-block;
	}
	#mainnav #sub li a{
		position: relative;
		display: inline-block;
		padding: 15px 25px;
		border: 0;
		font-size: 13px;
	}
	#mainnav #sub li a:before{
		border: 0;
	}
	.col4 li{
		margin: 0 auto 50px;
		display: block;
		text-align: center;
	}
	.col4 .disc{
		margin-bottom: 20px;
	}
	section h2{
		margin: 55px auto;
	}
	.link-btn{
		justify-content: center;
	}
	section#contact .inner {
		width: 80%;
	}
	.contact-inner:first-child{
		padding-bottom: 30px;
		border-bottom: 1px dashed #a0a0a0;
	}
	.contact-inner:nth-child(2){
		margin-top: 30px;
	}
}