/*
Theme Name: miyagisendai-office
*/

@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/* commmon
---------------------------------------------------------------------------*/
html,body{
	min-width: 1040px;
	margin-top: 0;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 1.6em;
	background-color: white;
}
body{
	/*background-image: url(./images/cubes.png);*/
}
#top {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,figcaption{
	margin: 0px;
	padding: 0px;
	font-size: 100%;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
a{
	text-decoration: none;
	color: black;
}
.left{
	text-align: left;
}
.right{
	text-align: right;
}
.clear{
	clear:both;
}
.center{
	text-align: center;
}
.bold{
	font-weight:bold;
}
i{
	margin-right: 0.4em;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
h2 {
	font-size: 1.8em;
	font-weight: bold;
	padding: 1rem 0;
	position: relative;
	width: 100%;
	text-align: center;
	margin-bottom: 2rem;
}
h2::after{
	content: "";
	width: 3rem;
	border-bottom: 1px solid black;
	display: block;
	margin: 0 auto;
	margin-top: 2.5rem;
}
h3{
	font-size: 1.2rem;
	padding: 1rem 0;
	letter-spacing: 0.2rem;	
}
h4{
	margin: 1rem 0;
	font-weight: bold;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.small{
	font-size:90%;
}




/*container
---------------------------------------------------------------------------*/
#container {
	position: relative;
	top: 180px;
}



/* header
---------------------------------------------------------------------------*/
#header {
	width: 1024px;
	position: relative;
	margin:0 auto;
  -moz-transition: height 0.3s;
  -o-transition: height 0.3s;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
}
header {
	height: 180px;
	width:100%;
	position: fixed; 
	top: 0px;
	left: 0px;
	z-index: 100;
	background-color: white;
	background: rgba(255,255,255,0.9);
	border-bottom: 1px solid #ccc;
	transition: .3s;
}
header #description {
	/*background-color: #0073F5;*/
	background-color: #0000CC;
	color: white;
}
header #description p {
	font-size: 0.6rem;
	width: 1024px;
	margin:0 auto;
}
#header #logo {
	float:left;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 10px;
}
#header #logo h1 img{
	width: 360px;
}
#header #contact {
	float: right;
	width: 400px;
	text-align: right;
	position: relative;
	top: 26px;
	line-height: 1rem;
	margin-right: 1rem;
	font-size: 0.7em;
	text-align: center;
	line-height: 1rem;
}
#header #contact #phone{
	float: right;
}
#header #contact #phone .number{
	font-size: 1.2rem;
	font-weight: bold;
	display: block;
	padding: 0.3rem 0;
}
#header #contact #phone .notice{
	font-size: 0.8em;
}

/* navi
---------------------------------------------------------------------------*/
#header #navi {
	clear: both;
	position: relative;
	top: 30px;
	font-size: 0;
}
#header #navi p{
	margin-bottom: 4px;
}
#header #navi p a{
}
#header #navi p i{
	margin-right: 10px;
}
#header #navi ul#index{
	text-align: left;
	width: 100%;
}
#header #navi ul#index li{
	font-weight: bold;
	font-size: 0.9rem;
	display:inline-block; 
	font-weight: bold;
	border-right: 1px dotted black;
	width: calc(100% / 6);
	text-align: center;
	box-sizing: border-box;
}
#header #navi ul#index li:first-child {
	border-left: 1px dotted black;
}
#header #navi li a{
	display:block;
	color: black;
	text-decoration: none;
}
#header #navi li.stay a{
  color: #0000CC;
}
#header #navi .underline a {
	position: relative;
	display: inline-block;
	text-decoration: none;
}
#header #navi .underline a::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	content: '';
	width: 100%;
	height: 2px;
	background: #0000CC;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
}
#header #navi .underline a:hover::after {
	transform: scale(1, 1);
}


/*  sp-menu
---------------------------------------------------------------------------*/
header .menu-sp-btn {
	display: none;
	position: absolute;
	z-index: 9999;
	top: 25px;
	right: 20px;
	width: 25px;
	height: 20px;
}
header .menu-sp-btn span {
	display: block;
	height: 3px;
	border-radius: 3px;
	width: 100%;
	margin-bottom: 6px;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s, opacity 0.1s ease-in-out 0.1s, -webkit-transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
	-webkit-transform: translateZ(0);
					transform: translateZ(0);
}
header .menu-sp-btn span:last-child {
	margin-bottom: 0;
}
header .menu-sp-btn.is-clicked span:first-child {
	-webkit-transform: translateY(9px) rotateZ(-135deg);
			-ms-transform: translateY(9px) rotate(-135deg);
					transform: translateY(9px) rotateZ(-135deg);
}
header .menu-sp-btn.is-clicked span:nth-child(2) {
	opacity: 0;
}
header .menu-sp-btn.is-clicked span:last-child {
	-webkit-transform: translateY(-9px) rotateZ(135deg);
			-ms-transform: translateY(-9px) rotate(135deg);
					transform: translateY(-9px) rotateZ(135deg);
}


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

	#header #navi ul#index li{
		text-align: left;
	}
	#header #navi ul#index li ul{
		position: relative;
		width: 100%;
		padding-top: 0;
		display: block !important;
	}
}


/* toppage
---------------------------------------------------------------------------*/
#slider{
	position: relative;
	top: 180px;
	width: 100%;
	margin: 0 auto;
	z-index: 1;
}

#icatch{
	position: absolute;
	top: 180px;
	width: 100%;
}
#icatch p{
	width: 900px;
	margin: 0 auto;
	text-shadow: 1px 1px 1px black;
	color: white;
	font-size: 2rem;
	line-height: 3rem;
}
#icatch p span{
	font-size: 1.4rem;
}

.c-btn.slide {
  background: #fff;
  color: honeydew;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.c-btn.slide::after {
  background: aliceblue;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.c-btn.slide:hover {
  color: #fff;
}
.c-btn.slide:hover::after {
  transform: scale(1, 1);
}


/*main
---------------------------------------------------------------------------*/
#main {
	width: 100%;
	font-size: 0.95rem;
}
.subpage .pagename h2 {
	padding: 4rem 0;
	color: white;
	background-size: cover;
	letter-spacing: 0.5rem;	
}
.subpage .pagename h2::after{
	content: "";
	border: none;
	margin: 0;
}
.subpage.works .pagename h2 {
	background: url(images/subcatch01.jpg) no-repeat center center;
}
.subpage.contact .pagename h2 {
	/*background: url(images/subcatch02.jpg) no-repeat center center;*/
	background: #0000CC;
}
.subpage.recruit .pagename h2 {
	/*background: url(images/subcatch03.jpg) no-repeat center center;*/
	background: #0000CC;
}


/* section
---------------------------------------------------------------------------*/
section{
	width:100%;
	clear: both;
	padding: 1.5rem 0;
}
section p+section{
	margin-top: 20px;
}
section .section-inner{
	clear: both;
	width: 1024px;
	margin:0 auto;
}


/* TOP調整
---------------------------------------------------------------------------*/
/* about */
section#about p{
	text-align: left;
	padding-left: 30px;
}
section#about p.leadtext{
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 2rem;
}
section#about .aboutbox{
	display: flex;
	align-items: center;
	margin-bottom: 2%;
}
section#about .aboutbox img{
	width: 420px;
}
section#works{
	/*background-color: aliceblue;*/
}
section#works ul{
	width: 100%;
	margin-top: 2%;
}
section#works ul li{
	float: left;
	width: 22%;
	margin-right: 4%;
	margin-bottom: 2%;
}
section#works ul li:nth-child(4n){
	margin-right: 0;
}
section#works ul li img{
	width: 100%;
}
section#company p{
	text-align: center;
}
section#service{
	background: url(images/5169410_m.jpg);
	background-size: cover;
	background-position: center;
}
section#service ul{
	margin-top: 4%;
}
section#service li{
	align-items: center;
	position: relative;
	background-color: white;
	margin-bottom: 4%;
}
section#service li a{
	display: flex;
}
section#service li h3{
	border-bottom: 1px solid;
	margin-bottom: 1rem;
}
section#service li .photo{
	padding: 10px;
}
section#service li .photo img{
	width: 260px;
}
section#service li .text{
	padding: 20px 60px;
}
section#company{
	padding-top: 60px;
	background: url(images/266963_m.jpg);
	background-size: cover;
	background-position: bottom;
}

/* 下層ページメイン画像
---------------------------------------------------------------------------*/
div.pagename h2 img{
	width: 30px;
	vertical-align: text-bottom;
	margin-right: 1rem;
}


/* 下層ページ
---------------------------------------------------------------------------*/
#main div.pagename{
	background-color: #F1F1F1;
}

dl.list{
	margin-bottom: 5rem;
}
dl.list dt{
	border: 2px solid black;
	margin: 1rem 0 2rem 0;
	font-weight: bold;
	font-size: 1.05rem;
	text-align: center;
	clear: both;
}
dl.list dd{
	margin-bottom: 80px;
}
dl.list dd p{
	margin-bottom: 1rem;
}

section table{
	border-collapse:collapse;
	border-spacing:0px;
	width: 100%;
}
section table th, section table td{
	border-bottom: 1px solid #ccc;
	padding: 13px 0;
}
section table th{
	width: 25%;
	text-align: center;
}




/* common
---------------------------------------------------------------------------*/
.disc li{
	margin-left: 2%;
	list-style-type: disc;
}
.tel{
	text-align: center;
	margin-top: 2rem;
}
.tel p:nth-child(2){
	font-size: 170%;
	font-weight: bold;
}
.link{
	font-size: 0.8rem;
	text-decoration: none;
	color: blue;
}
.link:hover{
	text-decoration: none;
}
.pageindex{
	margin: 2rem 0;
	width: 100%;
	float: left;
}
.pageindex li{
	width: 30%;
	text-align: center;
	float: left;
	margin: 1% 4% 3% 0;
	border: 1px solid black;
	background: white;
}
.pageindex li:nth-child(3), .pageindex li:nth-child(5){
	margin-right: 0;
}
.pageindex li:nth-child(4){
	margin-left: 17%;
}
.pageindex li a{
	padding: 1rem 0;
	display: block;
	margin: 1px;
}
.pageindex img{
	width: 90%;
	margin-bottom: 10px;
}
.service-title{
	padding-bottom: 2rem;
}
.service-title img{
	float:left;
	width:340px;
	margin-right:4rem;
}
dd.greeting{
	padding: 0 5rem;
}
.subpage section#intro{
	min-height: 356px;
	box-sizing: border-box;
	display: flex;
    align-items: center;
}



/* about
---------------------------------------------------------------------------*/
.subpage.about section#intro{
	background: url(../images/intro01.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
	margin: 0;
}
.subpage.about .sign{
	text-align: right;
}
.subpage.about ul.list{
	width: 100%;
}
.subpage.about ul.list li{
	list-style-type: disc;
	margin-left: 1rem;
}
.subpage.about ul.sublist{
	float: left;
	width: 100%;
	margin-top: 10px;
}
.subpage.about ul.sublist li{
	float: left;
	width: 30%;
	list-style-type: circle;
	margin-left: 1rem;
	font-size: 0.9rem;
}
.subpage.about ul.sublist2{
	width: 100%;
	margin-top: 10px;
}
.subpage.about ul.sublist2 li{
	list-style-type: circle;
	margin-left: 1rem;
	font-size: 0.9rem;
}
.subpage.about ul.photo{
	width: 100%;
	float: left;
	margin-bottom: 1rem;
}
.subpage.about ul.photo li{
	width: 25%;
	float: left;
	padding: 20px;
	box-sizing: border-box;
	text-align: center;
	font-size: 0.85rem;
}
.subpage.about ul.photo li img{
	width: 100%;
	margin-bottom: 5px;
}
.subpage.about section table tr:nth-child(even) th,
.subpage.about section table tr:nth-child(even) td{
	background: #f9f9f9;
}



/* service
---------------------------------------------------------------------------*/
.subpage.service section#intro{
	background: url(../images/intro02.jpg);
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
	margin: 0;
}
.subpage .mainblock{
	text-align: center;
	position: relative;
	margin: 0;
	font-weight: bold;
	padding: 20px;
	background: rgba(255,255,255,0.5);
}
.subpage .mainblock:before,.subpage .mainblock:after{ 
	content:'';
	width: 30px;
	height: 30px;
	position: absolute;
	display: inline-block;
}
.subpage .mainblock:before{
	border-left: solid 1px black;
	border-top: solid 1px black;
	top:0;
	left: 0;
}
.subpage .mainblock:after{
	border-right: solid 1px black;
	border-bottom: solid 1px black;
	bottom:0;
	right: 0;
}
.subpage .mainblock .leadtext{
	font-size: 1.5rem;
	margin-bottom: 30px;
}
.subpage .mainblock .purpose{
	margin-bottom: 30px;
	font-weight: bold;
	font-size: 1rem;
}
.subpage .mainblock .summary{
	margin: 0 auto;
	font-weight: normal;
}
.subpage .servicebox{
	float: left;
	width: 100%;
	margin-bottom: 40px;
}
.subpage .servicebox div{
	float: left;
	width: 48%;
	margin-right: 4%;
	margin-bottom: 4%;
	box-sizing: border-box;
	border: 1px solid #E0E0E0;
	box-shadow: 0 0 2px #E0E0E0;
	border: 1px solid;
}
.subpage .servicebox.box1 div{
	min-height: 220px;
}
.subpage .servicebox.box2 div{
	min-height: 110px;
}
.subpage .servicebox div:nth-child(even){
	margin-right: 0;
}
.subpage .servicebox div ul{
	width: 100%;
	padding-left: 170px;
	box-sizing: border-box;
}
.subpage .servicebox div ul li{
	list-style-type: square;
}
.subpage .servicebox div p{
	text-align: center;
	padding: 10px;
	border-bottom: 1px solid;
}
.subpage .servicebox div:nth-child(1) p{
	background: aliceblue;
}
.subpage .servicebox div:nth-child(2) p{
	background: mistyrose;
}
.subpage .servicebox div:nth-child(3) p{
	background: beige;
}
.subpage .servicebox div:nth-child(4) p{
	background: lemonchiffon;
}
.subpage .servicetitle{
	display: flex;
	margin-bottom: 40px;
	float: left;
	border: 1px solid;
	padding: 30px;
	align-items: center;
}
.subpage .servicetitle img{
	width: 280px;
	height: 100%;
}
.subpage .servicetitle .summary{
	padding: 0 60px;
}
.subpage .servicetitle .summary p:first-child{
	font-size: 1.1rem;
	line-height: 2rem;
	margin-bottom: 2rem;
}



/* works
---------------------------------------------------------------------------*/
.subpage.works .workslist{
	width: 100%;
	margin-bottom: 40px;
}
.subpage.works .worksitem{
	display: flex;
	margin-bottom: 4%;
	box-sizing: border-box;
	border: 1px solid #E0E0E0;
	box-shadow: 0 0 2px #E0E0E0;
	border: 1px solid;
	align-items: stretch;
	position: relative;
}
.subpage.works .worksitem:nth-child(1) .title{
	background: aliceblue;
}
.subpage.works .worksitem:nth-child(2) .title{
	background: mistyrose;
}
.subpage.works .worksitem:nth-child(3) .title{
	background: beige;
}
.subpage.works .worksitem:nth-child(4) .title{
	background: lemonchiffon;
}
.subpage.works .worksitem:nth-child(1){
	background: url(../images/drawing01.jpg);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: center;
	background-size: 200px;
}
.subpage.works .worksitem:nth-child(2){
	background: url(../images/drawing02.jpg);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: center;
	background-size: 200px;
}
.subpage.works .worksitem:nth-child(3){
	background: url(../images/drawing03.jpg);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: center;
	background-size: 200px;
}
.subpage.works .worksitem:nth-child(4){
	background: url(../images/drawing04.jpg);
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: center;
	background-size: 200px;
}
.subpage.works .worksitem .title{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 300px;
}
.subpage.works .worksitem ul {
	font-size: 0.9rem;
	padding: 20px;
	margin-left: 50px;
	flex-grow: 1;
}
.subpage.works .worksitem ul li{
	list-style-type: disc;
}

.subpage.works .photobox .box1,
.subpage.works .photobox .box2 div{
	border: 1px solid;
	padding: 30px;
	box-sizing: border-box;
}
.subpage.works .photobox p{
	text-align: center;
}
.subpage.works .photobox ul{
	float: left;
}
.subpage.works .photobox .box1{
	margin-bottom: 50px;
}
.subpage.works .photobox .box1 ul li,
.subpage.works .photobox .box2 div{
	float: left;
	width: 32%;
	margin-right: 2%;
	margin-bottom: 2%;
}
.subpage.works .photobox .box1 li:nth-child(3n),
.subpage.works .photobox .box2 div:nth-child(3n){
	margin-right: 0;
}
.subpage.works .photobox .box2 div li{
	margin-bottom: 6%;
}
.subpage.works .photobox ul li img{
	width: 100%;
}



/* recruit
---------------------------------------------------------------------------*/
.subpage.recruit section table tr:nth-child(even) th,
.subpage.recruit section table tr:nth-child(even) td{
	background: #f9f9f9;
}



/* footer
---------------------------------------------------------------------------*/
#footer {
	width:100%;
	clear: both;
	text-align: left;
	line-height:1.5em;
	font-size:0.85em;
	background-color: aliceblue;
	position: relative;
	top: 180px;
}
#footer-inner {
	width: 1024px;
	margin:0 auto;
	padding: 3rem 0;
}
#footer-company{
	border-top: 1px solid #ccc;
	clear:both;
	font-size: 0.7rem;
	line-height: 1.5em;
	padding-top: 3rem;
	text-align: center;
}
#footer .copy {
	clear:both;
	width:100%;
	text-align: center;
	display:block;
	font-size: 0.6rem;
	padding:0.5rem 0;
	background-color: white;
}
#footer #sitemap {
	float: left;
	margin-bottom: 2rem;
	width: 100%;
}
#footer #sitemap a{
	color: black;
}
#footer #sitemap ul{
	display: flex;
	justify-content: center;
}
#footer #sitemap ul li{
	float: left;
	width: 14%;
	text-align: center;
}
#footer #sitemap ul li p{
	font-weight:bold;
	margin-bottom: 0.5rem;
}
#footer #sitemap ul li ul li{
	float: none;
	width: 100%;
	font-size: 90%;
}
#footer-company img{
	width: 300px;
	margin-bottom: 20px;
}


/* topback
---------------------------------------------------------------------------*/
#page-top {
	position: fixed;
	bottom: 0px;
	right: 50px;
	margin:0;
	z-index:100;
	display:none;
}
#page-top a {
	color: #0000CC;
	text-align: center;
	display: block;
	margin:0;
	font-size: 250%;
}
#page-top a:hover {
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}




/* navi
---------------------------------------------------------------------------*/
@media print, screen  and (min-width: 768px){
	#navi ul#index{
		display:block !important;
	}
	a#menu{display:none;}
}



/*===============================================
 狭いブラウザとタブレット向け
===============================================*/
@media (max-width: 1024px) and (min-width: 768px) {

	#header,
	header #description p ,
	section .section-inner,
	#footer-inner {
		width: 100%;
		padding: 0 40px;
		box-sizing: border-box;
	}
	html,body{
		min-width: 100%;
	}
	section .section-inner{
		padding: 0 40px;
		box-sizing: border-box;
	}
	#header #logo h1 img{
		width: 280px;
	}
	#footer-company img{
		width: 200px;
	}
	#icatch p{
		width: 90%;
	}
	#header #contact{
		width: 300px;
	}
	section#about .aboutbox img {
    	width: 260px;
	}
	#footer #sitemap ul{
		padding-top: 30px;
	}
	#footer #sitemap ul li{
	    font-size: 0.8rem;
	}
	#footer-company{
		padding-top: 30px;
		padding-bottom: 30px;
	}

}

/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){
	/*common 
	---------------------------------------------------------------------------*/
	html,body{ 
		width:100%; 
		min-width: 300px;
	}
	body{ 
		width:100%; 
		overflow-x:hidden;
	}
	h2 {
		font-size: 1.2em;
	}
	h3{
		font-size: 1.0rem;
	}
	.only-sp{
		display: block;
	}
	.only-pc{
		display: none;
	}
	#main{
		width:100%;
		float:none;
		clear:both;
		padding-bottom: 0;
	}
	#container{
		width:100%;
		float:none;
		clear:both;
		top: 70px;
	}
	#contents{
		float:none;
		clear:both;
		margin:0px;
	}
	
	/* header
	---------------------------------------------------------------------------*/
	header{
		height: 70px;
	}
	#header{
		width:100%;
		padding-bottom:0px;
		z-index:0;
		clear:both;
		margin:0;
	}
	#header #logo h1{
		top: 15px;
	}
	#header #navi{
		width: 100%;
		top: 25px;
	}
	header #description{
		display: none;
	}
	#header #navi ul#index{
		position: relative;
		border-top: 1px solid #ccc;
	}
	#header #navi ul#index li{
		display:block;
		margin-left: 0;
		font-weight: normal;
		padding: 0;
		width: 100%;
	}
	#header #navi ul#index li:first-child{
		border: none;
	}
	#header #logo{
		margin-left: 15px;
	}
	#header #logo h1 img{
		width: 180px;
	}
	#header #contact{
		display: none;
	}

	/* navigation
	---------------------------------------------------------------------------*/
	#menu{
		display: block;
	}
	#navi{
		z-index:100;
		clear:both;
		padding:0;
		position:relative;
		width:100%;
	}
	#navi a{
		font-size: 100%;
	}
	#navi a.menu{
		display:block;
		font-weight: bold;
		text-align:left;
		top:-62px;
		right:15px;
		position:absolute;
		width:50px;
		right: 20px;
	}
	#navi a#menu span{padding-left:10px;}
	#navi a#menu:hover{cursor:pointer;}
	#navi ul#index{
		display: none;
		width:100%;
		position:absolute;
		right: 0;
		top:0px;
		z-index:100;
	}
	#navi ul#index li{
		float: none;
		clear:both;
		width:100%;
		height:auto;
		background-color: white;
		background: rgba(255,255,255,0.9);
	}
	#navi ul#index li a,#navi ul#index li.current-menu-item li a{
		display: block;
		padding:10px 5px 10px  10px ;
		text-align:left;
		border-bottom:1px dashed #ccc;
	}
	#navi ul#index li a img{display:none;}
	#navi div.panel{float:none;}

	/* sp-menu
	---------------------------------------------------------------------------*/
	header .menu-sp-btn {
		display: block;
	}
	header .menu-sp-btn span {
		background-color: #0000CC;
	}

	/* sp-nav
	---------------------------------------------------------------------------*/
	nav.sp-menu{
		position: absolute;
		width: 100%;
		top: 70px;
		left: 100%;
		z-index: 1;
		padding: 0;
		background-color: #00326F;
		-webkit-box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		box-shadow: 0 5px 5px rgb(0 0 0 / 15%);
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
		background-color: rgba( 0, 0, 0, 0.7 );
	}
	nav.sp-menu.is-displayed {
		left: 0;
		-webkit-backface-visibility: hidden;
		-webkit-transition: all .3s ease;
		-o-transition: all .3s ease;
		transition: all .3s ease;
	}
	nav.sp-menu ul li{
		text-align: center;
		border-bottom: 1px solid white;
	}
	nav.sp-menu ul li a{
		color: white;
		display:block;
		padding: 8px 0;
	}
	nav.sp-menu ul li a span{
		display: block;
		font-size: 70%;
		line-height: 1;
	}
	header li.login a{
		border: 0;
	}

	/*slider
	---------------------------------------------------------------------------*/
	#slider{
		top: 70px;
	}
	.slick-box img{
		width: 320px;
	}
		
	/*icatch
	---------------------------------------------------------------------------*/
	#icatch{
		top: 80px;
		height: 300px;
	}
	#icatch p.main{
		font-size: 2em;
		top: 100px;
	}
	#icatch p.description{
		font-size: 1em;
		top: 120px;
		width: 100%;
	}
	#icatch p.main::after{
		margin-top: 2rem;
	}


	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		margin-top: 1rem;
		margin-bottom: 1rem;
		padding: 0;
	}
	section .section-inner{
		width: 90%;
		padding: 0;
	}
	section table th, section table td{
		padding: 0.5rem 0;
		display: block;
		border-bottom: 0;
		width: 100%;
	}
	section table th{
		background-color: #eee;
	}

	#sub-main{
		top: 80px;
	}

	/*topback
	---------------------------------------------------------------------------*/
	#page-top {
		position: fixed;
		bottom:0;
		right: 10px;
		margin:0;
		z-index:100;
	}
	#page-top a {
		text-decoration: none;
		text-align: center;
		display: block;
		margin:0;
	}
	#page-top img {
		width: 40px;
	}

	/*footer
	---------------------------------------------------------------------------*/
	#footer{
		width:100%; 
		font-size:80%;
		display:inline-block;
		clear:both;
		top: 70px;
	}
	#footer-inner{
		width: 100%;
		padding: 0;
	}
	#footer #sitemap{
		margin-bottom: 0;
	}
	#footer #sitemap ul{
		flex-direction: column;
	}
	#footer #sitemap ul li{
		width: 100%;
		border-bottom: 1px solid white;
		box-sizing: border-box;
		padding: 10px;
	}
	#footer-company{
		margin-left: 0;
		padding-bottom: 3rem;
	}

	/*各ページ調整用
	---------------------------------------------------------------------------*/
	section#works img{
		width: 100%;
	}
	section#works ul li{
		width: 48%;
		margin-right: 4%;
	}
	section#works ul li:nth-child(even){
		margin-right: 0;
	}
	section#about .aboutbox{
		flex-direction: column-reverse;
	}
	section#about p{
		padding-left: 0;
	}
	section#about p.leadtext{
		font-size: 1.2rem;
	}
	section#about .aboutbox img{
		margin: 20px 0;
		width: 100%;
	}
	section#service li a {
		flex-direction: column;
	}
	section#service li .text {
    	padding: 0 20px 20px 20px;
	}
	section#service li .photo img{
		width: 100%;
	}
	section#company p{
		text-align: left;
	}
	section#service{
		padding: 10px 0;
	}
	.pageindex li{
		width: 100%;
		margin: 0;
		margin-bottom: 20px;
	}
	.pageindex li:nth-child(4){
		margin: 0;
		margin-bottom: 20px;
	}
	.pageindex li a{
		display: flex;
		align-items: center;
		padding: 0;
	}
	.pageindex img {
		width: 100px;
		margin-bottom: 0;
		margin-right: 20px;
	}
	.subpage .pagename h2{
		padding: 2rem 0;
	}
	dd.greeting{
		padding: 0 2%;
	}
	dd{
		padding: 0 2%;
	}
	.license li span{
		display: none;
	}
	.service-title{
		padding: 0 2%;
	}
	.service-title img{
		padding: 0;
		margin-right: 0;
		width: 100%;
		margin-bottom: 1rem;
	}
	.service li{
		width: 50%;
		padding: 1rem 0;
		margin-left: 0;
	}
	section#about p{
		text-align: left;
	}
	h2::after{
		margin-top: 2rem;
	}
	.license li{
		padding: 0.5rem;
		border-bottom: 1px dotted #ccc;
	}
	.subpage .mainblock .leadtext{
		font-size: 1.2rem;
	}
	.subpage.about section#intro{
		background-size: cover;
	}
	.subpage.service section#intro{
		background-size: cover;
		background-position: center center;
	}
	.subpage.about ul.photo li{
		width: 50%;
		padding: 10px;
	}
	.subpage.about ul.sublist li{
		width: 100%;
	}
	.subpage.about section table td{
		padding: 0;
	}
	.subpage.about section table td:last-child{
		padding: 0 0 20px 0;
	}
	.subpage.about section table th{
		margin-bottom: 20px;
	}
	.subpage.about ul.sublist{
		margin-bottom: 20px;
	}
	.subpage.about section table tr:nth-child(even) th{
		background-color: #eee;
	}
	.subpage.about section table tr:nth-child(even) td{
		background: #fff;
	}
	.subpage.service .servicetitle{
		flex-direction: column;
		padding: 0;
		border: 0;
	}
	.subpage.service .servicetitle img{
		width: 100%;
		margin-bottom: 20px;
	}
	.subpage.service .servicetitle .summary{
		padding: 0;
	}
	.subpage.service .servicebox div{
		width: 100%;
		margin-right: 0;
	}
	.subpage .servicebox div ul{
		padding-left: 50px;
		padding-bottom: 20px;
	}
	.subpage .servicebox div ul li{
		width: 100%;
		padding: 0;
	}
	.subpage .servicebox.box1 div{
		min-height: auto;
	}
	.subpage.works .worksitem{
		flex-direction: column;
	}
	.subpage.works .worksitem ul{
		margin-left: 10px;
	}
	.subpage.works .worksitem .title{
		width: 100%;
		padding: 10px 0;
		box-sizing: border-box;
	}
	.subpage.works .worksitem:nth-child(1){
		background-position-y: bottom;
		background-size: 120px;
	}
	.subpage.works .worksitem:nth-child(2){
		background-position-y: bottom;
		background-size: 120px;
	}
	.subpage.works .worksitem:nth-child(3){
		background-position-y: bottom;
		background-size: 120px;
	}
	.subpage.works .worksitem:nth-child(4){
		background-position-y: bottom;
		background-size: 120px;
	}
	.subpage.works .photobox .box1 ul li, .subpage.works .photobox .box2 div{
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	.subpage.recruit section table td:last-child{
		padding: 20px 0;
	}
	.subpage.recruit section table tr:nth-child(even) th{
		background-color: #eee;
	}
	.subpage.recruit section table tr:nth-child(even) td{
		background: #fff;
	}
}



/*印刷調整
---------------------------------------------------------------------------*/
@media print {
	header{
		position: absolute;
	}
	#slider{
		background: url(images/icatch01.jpg) no-repeat center center;
		height: 400px;
	}
	.slick-box{
		display:none;
	}
}

