/*
Theme Name: miyagisendai-office
*/

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

/* commmon
---------------------------------------------------------------------------*/
html,body{
	margin-top: 0;
	font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	line-height: 2.2rem;
	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%;
	font-weight: normal;
}
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;
	padding: 1rem 0;
	position: relative;
	width: 100%;
	text-align: center;
	margin-bottom: 2rem;
}
h2::after{
	content: "";
	width: 3rem;
	border-bottom: 2px solid #f30000;
	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%;
}


/* header
---------------------------------------------------------------------------*/
header {
	height: 150px;
	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;
	box-sizing: border-box;
}
#header {
	position: relative;
	margin:0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
	padding-top: 20px;
	display: flex;
	align-items: flex-end;
  -moz-transition: height 0.3s;
  -o-transition: height 0.3s;
  -webkit-transition: height 0.3s;
  transition: height 0.3s;
}
#header #logo {
	flex-grow: 1;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 0;
}
#header #logo h1 img{
	width: 400px;
}
#header #contact {
	flex-grow: 1;
	font-size: 0.7em;
	text-align: right;
}
#header #contact a{
	border: 1px solid;
	padding: 5px 40px;
}
#header #contact a:hover{
	color: white;
	background-color: #f30000;
	transition : 0.3s;
}
#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;
	top: 30px;
	font-size: 0;
	position: relative;
	margin: 0 auto;	
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
}
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%;
	border-left: 1px dotted black;
}
header #navi ul#index li{
	font-size: 0.9rem;
	display:inline-block; 
	width: calc(100% / 6);
	text-align: center;
	box-sizing: border-box;
	border-right: 1px dotted black;
}
header #navi li a{
	display:block;
	color: black;
	text-decoration: none;
}
header #navi li.stay a{
  color: #f30000;
}
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: #f30000;
	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;
	}
}



/* main
---------------------------------------------------------------------------*/
main {
	position: relative;
	top: 150px;
}





/* section
---------------------------------------------------------------------------*/
section{
	width:100%;
	clear: both;
	padding: 1.5rem 0;
}
section p+section{
	margin-top: 20px;
}
section .section-inner{
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
}



/* icatch
---------------------------------------------------------------------------*/
#toppage #icatch{
	line-height: 3rem;
	background-position: top;
	background: black;
	width: 100%;
	height: calc(100vh - 150px);
	box-sizing: border-box;
	padding: 0px;
	margin: 0;
}
#toppage #icatch .box {
	margin: 0 auto;
	width: 100%;
	display: flex;
	height: calc(100vh - 150px);
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
}
#toppage #icatch .box p{
	width: 900px;
	margin: 0 auto;
	text-shadow: 1px 1px 1px black;
	color: white;
	font-size: 2rem;
	line-height: 3.4rem;
}
#toppage #icatch .box p span{
	font-size: 1.4rem;
}
#toppage #icatch .box p:first-child{
	font-size: 2.8rem;
}
#toppage #icatch .box p:last-child{
	font-size: 1.1rem;
}




/* トップページ
---------------------------------------------------------------------------*/
#toppage #about{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin: 60px auto;
}
#toppage #about .aboutbox{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}
#toppage #about .aboutbox .summary{
	padding: 60px 100px;
	box-sizing: border-box;
	width: 60%;
}
#toppage #about .aboutbox .photo{
	width: 40%;
}
#toppage #about .aboutbox img{
	width: 100%;
}
#toppage #about p{
	text-align: left;
}
#toppage #about p.company{
	font-size: 1.2rem;
	margin-bottom: 2rem;
}
#toppage #about p.leadtext{
	font-size: 1.8rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid black;
	padding-bottom: 20px;
}
#toppage #service{
	background: url(images/top_service_bg.jpg);
	background-size: cover;
	background-position: center;
	padding: 50px 0;
}
#toppage #service h3{
	font-size: 0.9rem;
	padding: 10px;
	text-align: center;
	font-weight: normal;
	letter-spacing: 0;
}
#toppage #service h3 span{
	font-size: 0.8rem;
}
#toppage #service ul{
	display: flex;
	justify-content: space-evenly;
	padding-bottom: 50px;
}
#toppage #service li{
	padding: 10px;
	position: relative;
	background: white;
	margin: 0 5px;
}
#toppage #service li:hover{
	-webkit-box-shadow: 0px 0px 0px 4px #f30000 inset;
	box-shadow: 0px 0px 0px 4px #f30000 inset;
	transition: .3s;
}
#toppage #service li img{
	max-width: 100%;
}
#toppage #service li .tag{
	background: #f30000;
	color: white;
	display: inline-block;
	padding: 0 20px;
	font-size: 0.6rem;
	letter-spacing: 0.1rem;
	line-height: 1.4rem;
	position: absolute;
	top: -10px;
}
#toppage #company .companybox{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}
#toppage #company .companybox .photo{
	width: 45%;
}
#toppage #company .companybox img{
	width: 100%;
}
#toppage #company .companybox li img{
	width: 100%;
}
#toppage #company p{
	font-size: 1.1rem;
	margin-bottom: 50px;
}
#toppage #company{
	padding: 60px 0;
	background-size: cover;
	background-position: bottom;
	margin-bottom: 100px;
}
#toppage #company .pageindex{
	padding: 50px 0 50px 50px;
	width: 55%;
}
#toppage #company .pageindex ul{
	width: 100%;
	float: left;
}
#toppage #company .pageindex li{
	float: left;
	width: 30%;
	margin-right: 5%;
	background: white;
	margin-bottom: 1rem;
	padding: 10px;
	box-sizing: border-box;
}
#toppage #company .pageindex li:hover{
	-webkit-box-shadow: 0px 0px 0px 4px #f30000 inset;
	box-shadow: 0px 0px 0px 4px #f30000 inset;
	transition: .3s;
}
#toppage #company .pageindex li:nth-child(3n){
	margin-right: 0;
}
#toppage #company .pageindex li a{
	align-items: center;
	display: block;
}
#toppage #company .pageindex li a p{
	font-size: 0.9rem;
	margin-bottom: 0;
	border-left: 3px solid #f30000;
	margin-top: 10px;
	padding-left: 10px;
	line-height: 1.4rem;
}



/* 下層ページ共通
---------------------------------------------------------------------------*/
#subpage h2{
	padding: 2rem 0;
}
#subpage h3{
	font-size: 1.2rem;
	padding: 5px 1rem;
	letter-spacing: 0.2rem;
	background-color: #fff;
	background-image: radial-gradient(#ddd 30%, transparent 30%);
	background-size: 4px 4px;
	box-sizing: border-box;
	margin-bottom: 2rem;
	text-align: center;
}
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;
}
#subpage .pagetitle{
	margin-top: 2rem;
}
#subpage section{
	padding-bottom: 100px;
}
#subpage section:nth-last-of-type(1){
	margin-bottom: 150px;
}


/* company
---------------------------------------------------------------------------*/
#subpage #company .greeting{
	display: flex;
}
#subpage #company .greeting .photo{
	width: 40%;
	text-align: center;
}
#subpage #company .greeting .photo span{
	font-size: 0.8rem;
}
#subpage #company .greeting .message{
	width: 60%;
	padding-left: 80px;
}
#subpage #company .greeting img{
	width: 100%;
}
#subpage #company .greeting .sign{
	text-align: right;
	margin-top: 1rem;
}
#subpage #company dl.item-list{
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
}
#subpage #company .item-list dt{
	font-weight: bold;
	width: 200px;
}
#subpage #company .item-list dd{
	margin-bottom: 1rem;
	width: calc(100% - 200px);
}
#subpage #company .branch li{
	margin-bottom: 1rem;
}
#subpage #company .history{
	display: flex;
	padding: 20px 0 55px;
}
#subpage #company .history .year{
	width: 260px;
	padding-right: 50px;
	box-sizing: border-box;
}
#subpage #company .history .year p:first-child{
	line-height: 0;
	margin-bottom: 2rem;
	text-align: right;
	padding-right: 30px;
}
#subpage #company .history .year p:last-child{
	font-size: 3rem;
	color: #e3e3e3;
	font-family: sans-serif;
	font-style: oblique;
	text-align: right;
	padding-right: 30px;
}
#subpage #company .history .summary{
	padding: 43px 0 0 50px;
	position: relative;
	flex: 1;
}
#subpage #company .history .summary::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #ccc;
}
#subpage #company .history .summary .inner::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	width: 8px;
	height: 8px;
	background-color: #f30000;
	border-radius: 50%;
}
#subpage #company .history .summary .photo img{
	width: 300px;
	margin-right: 1rem;
}



/* service
---------------------------------------------------------------------------*/
#subpage #service .service-navi{
	margin-bottom: 50px;
}
#subpage #service .service-navi ul{
	display: flex;
}
#subpage #service .service-navi ul li{
	flex: 1;
	text-align: center;
	margin: 10px;
	border: 1px solid;
	box-sizing: border-box;
}
#subpage #service .service-navi ul li:hover{
	transition: .3s;
}
#subpage #service .service-navi ul li .tag{
	background: #f30000;
	color: white;
	font-size: 0.7rem;
}
#subpage #service .service-navi ul li .name{
	font-size: 0.8rem;
}
#subpage #service h3 span{
	font-size: 0.8rem;
	color: red;
	display: block;
}

#subpage #service .service-box{
	display: flex;
	align-items: center;
	margin-bottom: 60px;
}
#subpage #service .service-box .photo{
	width: 40%;
}
#subpage #service .service-box .photo img{
	width: 100%;
}
#subpage #service .service-box .text{
	width: 60%;
	padding-left: 50px;
	box-sizing: border-box;
}
#subpage #service .service-box .text .title{
	color: #f30000;
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
#subpage #service .service-box .text .title span{
	font-size: 0.9rem;
}
#subpage #service .service-photos{
	display: flex;
	margin-bottom: 60px;
	border: 1px solid;
	padding: 40px
}
#subpage #service .service-photos div{
	justify-content: space-between;
	-webkit-justify-content: space-between;
}
#subpage #service .service-photos div:nth-child(2){
	padding: 0 10px;
}
#subpage #service .service-photos div img{
	width: 100%;
}
#subpage #service .service-photos div p{
	text-align: center;
	font-size: 0.8rem;
}
#subpage #service h4{
	text-align: center;
	background: #f30000;
	color: white;
}
#subpage #service h4.gray{
	background: lightgray;
	color: black;
}
#subpage #service h5{
	background: gray;
	color: white;
}
#subpage #service .structure h5{
	margin-bottom: 10px;
	text-align: center;
}
#subpage #service .structure h5 span{
	font-size: 0.8rem;
}
#subpage #service .service-spec{
	margin-bottom: 100px;
}
#subpage #service .service-spec ul{
	float: left;
	padding-left: 20px;
	width: 100%;
	box-sizing: border-box;
}
#subpage #service .service-spec li{
	float: left;
	list-style-type: circle;
	padding-right: 30px;
	box-sizing: border-box;
}
#subpage #service .service-spec .item4 li{
	list-style-type: none;
	float: none;
}

#subpage #service .structure{
	margin-bottom: 100px;
}

#subpage #service .structure > ul{
	width :100%;
	float: left;
	margin-top: 20px;
}
#subpage #service .structure > ul >li{
	width :48%;
	float: left;
	margin-right: 4%;
	margin-bottom: 50px;
}
#subpage #service .structure > ul > li:nth-child(even){
	margin-right: 0;
}
#subpage #service .structure > ul > li img{
	width: 100%;
}
#subpage #service .structure > ul >li .box{
	display: flex;
	align-items: center;
}
#subpage #service .structure > ul >li .box div:first-child{
	width: 50%;
}
#subpage #service .structure > ul >li .box div:last-child{
	width: 50%;
}
#subpage #service .structure > ul >li .box div:last-child li{
	font-size: 0.9rem;
	line-height: 1.6rem;
	list-style-type: disc;
	margin-left: 2rem;
}
#subpage #service .lineup td:first-child{
	text-align: center;
}



/* maker
---------------------------------------------------------------------------*/
#subpage #maker .maker{
	display: flex;
	justify-content: space-between;
	margin-bottom: 100px;
}
#subpage #maker .maker ul li{
	list-style-type: disc;
	margin-left: 2rem;
}



/* environment
---------------------------------------------------------------------------*/
#subpage #environment .environment-box{
	display: flex;
	align-items: center;
	margin-bottom: 80px;
}
#subpage #environment .environment-box .photo{
	width: 40%;
}
#subpage #environment .environment-box .photo img{
	width: 100%;
}
#subpage #environment .environment-box .text{
	width: 60%;
	padding-left: 50px;
	box-sizing: border-box;
}
#subpage #environment .environment-box .text .title{
	color: #f30000;
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
#subpage #environment .environment-report{
	display: flex;
	border: 1px solid;
	padding: 40px;
	margin-bottom: 60px;
	align-items: center;
}
#subpage #environment .environment-report:last-of-type{
	margin-bottom: 0;
}
#subpage #environment .environment-report .photo{
	width: 30%;
}
#subpage #environment .environment-report .photo img{
	width: 100%;
}
#subpage #environment .environment-report .text{
	padding-left: 2rem;
	width: 70%;
}
#subpage #environment .environment-report .text .title{
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: #f30000;
}
#subpage #environment .environment-report.iso .text .title{
	color: green;
}
#subpage #environment .environment-report.iso .text .title2{
	font-size: 0.8rem;
}
#subpage #environment #environment-philosophy{

}
#subpage #environment #environment-policy{

}
#subpage #environment #environment-policy ol{
	margin-left: 2rem;
}
#subpage #environment #environment-policy ol li{
	margin-bottom: 1rem;
	padding-left: 1rem;
}
#subpage #environment #environment-policy .sign{
	text-align: right;
}



/* recruit
---------------------------------------------------------------------------*/
#subpage #recruit .site{
	text-align: center;
	margin-bottom: 50px;
}
#subpage #recruit .site .link{
	margin-top: 2rem;
}
#subpage #recruit .site .link a{
	border: 1px solid blue;
	color: blue;
	display: inline-block;
	padding: 0 30px;
}
#subpage #recruit #voice-title{
	display: flex;
}
#subpage #recruit #voice-title .photo{
	width: 40%;
}
#subpage #recruit #voice-title .photo img{
	width: 100%;
}
#subpage #recruit #voice-title .text{
	width: 60%;
	padding-left: 50px;
	box-sizing: border-box;
}
#subpage #recruit #voice-title .title {
	color: #f30000;
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
#subpage #recruit #voice-title .title span{
	font-size: 0.9rem;
}
#subpage #recruit .voice .box{
	width: 100%;
	display: flex;
	margin-bottom: 50px;
	align-items: center;
}
#subpage #recruit .voice .box .photo{
	width: 30%;
}
#subpage #recruit .voice .box .photo img{
	width: 100%;
}
#subpage #recruit .voice .box .message{
	width: 70%;
	padding: 0 50px;
	box-sizing: border-box;
	font-size: 0.9rem;
	line-height: 1.8rem;	
}
#subpage #recruit .voice li:nth-child(2) .box{
	flex-direction: row-reverse;
}
#subpage #recruit .voice .box .message .leadtext{
	color: #f30000;
	font-size: 1.3rem;
	margin-top: 30px;
    margin-bottom: 30px;
}
#subpage #recruit .voice .face{
	color: #f30000;
	border: 1px solid;
	text-align: center;
	padding: 5px;
	margin: 50px 0 0 0;
}
#subpage #recruit .voice .face span{
	font-size: 1.8rem;
	margin-left: 8px;
	vertical-align: bottom;
	font-style: italic;
}
#subpage #recruit .voice .box .photo .name{
	font-size: 0.8rem;
	text-align: center;
}

#subpage #recruit #benefit{
	margin-bottom: 80px;
}
#subpage #recruit #benefit h4{
	text-align: center;
	background: #f30000;
	color: white;
}
#subpage #recruit #benefit-title{
	display: flex;
	margin-bottom: 50px;
}
#subpage #recruit #benefit-title .photo{
	width: 40%;
}
#subpage #recruit #benefit-title .photo img{
	width: 100%;
}
#subpage #recruit #benefit-title .text{
	width: 60%;
	padding-left: 50px;
	box-sizing: border-box;
}
#subpage #recruit #benefit-title .title {
	color: #f30000;
	font-size: 1.6rem;
	margin-bottom: 2rem;
}
#subpage #recruit #benefit-title .title span{
	font-size: 0.9rem;
}
#subpage #recruit #benefit ul{
	border-top: 1px solid;
	margin-bottom: 50px;
}
#subpage #recruit #benefit ul li{
	border-bottom: 1px solid;
	padding: 1rem;
}




/* contact
---------------------------------------------------------------------------*/
#subpage #contact .phone{
	margin-bottom: 80px;
}
#subpage #contact .phone p{
	text-align: center;
}
#subpage #contact .phone ul{
	float: left;
	width: 100%;
	margin-top: 2rem;
}
#subpage #contact .phone ul li{
	float: left;
	width: 49%;
	margin-right: 2%;
	border: 1px solid;
	box-sizing: border-box;
	text-align: center;
	margin-bottom: 2%;
	padding: 20px;
}
#subpage #contact .phone ul li:nth-child(even){
	margin-right: 0;
}
#subpage #contact .form{
	padding: 0 100px;
}
#subpage #contact .form p{
	text-align: center;
}
#subpage #contact .form .attention{
	color: gray;
	font-size: 0.8rem;
	margin-left: 1rem;
}
#subpage #contact .form table{
	border-top: 1px solid #ccc;
	margin: 30px 0;
}
#subpage #contact .form .btn{
	text-align: center;
}
#subpage #contact .form .btn input{
	font-size: 0.9rem;
	padding: 5px 30px;
}
#subpage #contact .form .email{
	width: 400px;
}
#subpage #contact .form .otoiawase{
	width: 400px;
	height: 100px;
}
#subpage #contact .form .error{
	color: red;
	border: 1px solid red;
	padding: 20px;
	text-align: center;
	margin-top: 20px;
}


/* footer
---------------------------------------------------------------------------*/
#footer {
	position: relative;
	top: 150px;
	width:100%;
	clear: both;
	text-align: left;
	line-height:1.5em;
	font-size:0.85em;
	background-color: #f8f8f8;
}
#footer-inner {
	margin: 0 auto;
	justify-content: space-evenly;
	align-items: center;
	width: 80.96vw;
	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: 20%;
	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: #f30000;
	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;}
}



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

	#header,
	header #navi,
	section .section-inner{
		width: 90vw;
	}
	header #navi ul#index,
	header #navi ul#index li {
		border: 0;
	}
	header #navi ul#index li {
		font-size: 0.7rem;
	}
	#toppage #icatch,
	#toppage #icatch .box{
		height: 600px !important;
	}
	#toppage #icatch .box p:first-child{
		font-size: 2rem;
	}
	#toppage #about .aboutbox .summary{
		padding: 0;
		padding-right: 60px;
	}
	#footer #sitemap{
		padding: 20px 0;
		margin-bottom: 0;
	}
	#footer-company{
		padding: 20px 0;
	}
	#toppage #about p.leadtext{
		font-size: 1.6rem;
	}
	#footer-inner{
		padding: 0;
	}

	/*service
	---------------------------------------------------------------------------*/
	#subpage #service .service-box{
		flex-direction: column;
	}
	#subpage #service .service-box .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #service .service-box .text{
		width: 100%;
		padding: 0;
	}
	#subpage #service .service-box .text .title{
		font-size: 1.3rem;
	}

}



/*===============================================
 スマホ：画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){
	/*common 
	---------------------------------------------------------------------------*/
	html,body{ 
		width:100%; 
		min-width: 300px;
		line-height: 1.8rem;
	}
	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: 0;
		padding-top: 0;
		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: 240px;
	}
	#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: #f30000;
	}

	/* 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
	---------------------------------------------------------------------------*/
	#toppage #icatch {
		height: 300px !important;
	}
	#toppage #icatch .box{
		height: 300px !important;
	}
	#toppage #icatch .box p:first-child {
		font-size: 1.5rem;
	}
	#toppage #icatch .box p span {
		font-size: 1rem;
	}

	/*main
	---------------------------------------------------------------------------*/
	main {
		position: relative;
		top: 70px;
	}

	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		margin-top: 1rem;
		margin-bottom: 1rem;
		padding: 0;
	}
	section .section-inner{
		width: 90%;
		padding: 0;
	}
	section table{
		font-size: 90%;
	}
	section table th, section table td{
		padding: 0.5rem 0;
		display: block;
		border-bottom: 0;
		width: 100%;
	}
	section table th{
	    text-align: left;
		box-sizing: border-box;
		border-bottom: 1px solid;
	}

	#sub-main{
		top: 80px;
	}
	#subpage .pagetitle{
		margin: 0;
	}
	#subpage section:nth-last-of-type(1){
		margin-bottom: 50px;
	}

	/*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;
	}

	/*トップページ調整用
	---------------------------------------------------------------------------*/
	#toppage #about div:first-child{
		padding: 0;
	}
	#toppage #about .aboutbox{
		flex-direction: column;
	}
	#toppage #about p{
		padding-left: 0;
	}
	#toppage #about p.leadtext{
		font-size: 1.2rem;
	}
	#toppage #about .aboutbox{
		width: 100%;
	}
	#toppage #about p.company{
		margin-bottom: 1rem;
		font-size: 1rem;
	}
	#toppage #about p.leadtext{
		margin-bottom: 1rem;
	}
	#toppage #about .aboutbox img{
		margin: 20px 0;
		width: 100%;
	}
	#toppage #about .aboutbox .summary{
		padding: 0;
	}
	#toppage #about .aboutbox .summary,
	#toppage #about .aboutbox .photo{
		width: 100%;
	}
	#toppage #service{
		padding: 10px 0;
	}
	#toppage #service ul{
		flex-direction: column;
	}
	#toppage #service li{
		margin-bottom: 20px;
	}
	#toppage #service li a {
		flex-direction: column;
	}
	#toppage #service li .text {
    	padding: 0 20px 20px 20px;
	}
	#toppage #service li .photo img{
		width: 100%;
	}
	#toppage #company{
		margin-bottom: 0;
	}
	#toppage #company .companybox,
	#toppage #company .companybox .photo,
	#toppage #company .pageindex{
		width: 100%;
	}
	#toppage #company p{
		text-align: left;
	}
	#toppage #company .companybox{
		flex-direction: column;
	}
	#toppage #company .companybox img{
		width: 100%;
	}
	#toppage #company .companybox li img{
		width: 30%;
		margin-right: 20px;
	}
	#toppage #company .pageindex{
		padding: 0;
	}
	#toppage #company .pageindex li{
		width: 100%;
		float: none;
	}
	#toppage #company .pageindex li a{
		display: flex;
	}
	#toppage #company .pageindex .leadtext{
		margin: 30px 0;
		font-size: 1rem;
		line-height: 1.6rem;
	}


	/*company
	---------------------------------------------------------------------------*/
	#subpage #company .greeting {
		flex-direction: column;
	}
	#subpage #company .greeting img{
		width: 100%;
		padding: 0;
	}
	#subpage #company .history {
		flex-direction: column;
		position: relative;
		padding: 5px 0 50px 0;
		font-size: 90%;
	}
	#subpage #company .history .year::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 7px;
		height: 7px;
		background-color: #f30000;
		border-radius: 50%;
	}
	#subpage #company .history::before {
		content: "";
		position: absolute;
		top: 0;
		left: 3px;
		width: 1px;
		height: 100%;
		background-color: #ccc;
	}
	#subpage #company .history .summary::before,
	#subpage #company .history .summary .inner::after{
		display: none;
	}
	#subpage #company .history .summary {
    	padding: 2rem 0 0 2rem;
	}
	#subpage #company .history .year p:first-child{
		text-align: left;
		padding-left: 30px;
	}
	#subpage #company .history .year p:last-child{
		padding-left: 20px;
		font-size: 2rem;
		text-align: left;
	}
	#subpage #company .greeting .photo,
	#subpage #company .greeting .message{
		width: 100%;
		padding: 0;
	}
	#subpage #company .greeting .photo{
		margin-bottom: 2rem;
	}

	#subpage #service .service-photos{
		border: 0;
		padding: 0;
		flex-direction: column;
	}
	#subpage #service .service-photos>div{
		margin-bottom: 2rem;
	}
	#subpage #company dl.item-list{
		flex-direction: column;
	}
	#subpage #company .item-list dt,
	#subpage #company .item-list dd{
		width: 100%;
	}




	/*service
	---------------------------------------------------------------------------*/
	#subpage #service .service-navi ul {
		flex-direction: column;
	}
	#subpage #service .service-box{
		flex-direction: column;
	}
	#subpage #service .service-box .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #service .service-box .text{
		width: 100%;
		padding: 0;
	}
	#subpage #service .service-box .text .title{
		font-size: 1.3rem;
	}
	#subpage #service .structure > ul >li{
		width: 100%;
		margin-right: 0;
		margin-bottom: 50px;
	}
	#subpage #service .structure > ul >li .box div:first-child,
	#subpage #service .structure > ul >li .box div:last-child{
		width: 100%;
	}
	#subpage #service .structure > ul >li .box{
		flex-direction: column;
	}
	#subpage #service .structure > ul > li img{
		margin-bottom: 10px;
	}
	#subpage #service .lineup th{
		display: none;
	}
	#subpage #service .lineup td:first-child{
		text-align: left;
		border-bottom: 1px solid;
		font-weight: bold;
	}
	#subpage #service .lineup td:nth-child(2){
		padding-bottom: 0;
	}
	#subpage #service .lineup td:nth-child(3){
		padding-top: 0;
		padding-bottom: 20px;
	}
	#subpage #service .service-spec .item4 li{
		margin-bottom :1rem;
	}
	#subpage #service .service-spec ul{
		font-size: 90%;
	}
	

	/*maker
	---------------------------------------------------------------------------*/
	#subpage #maker .maker{
		flex-direction: column;
	}
	


	/* environment
	---------------------------------------------------------------------------*/
	#subpage #environment .environment-box{
		flex-direction: column;
		margin-bottom: 50px;
	}
	#subpage #environment .environment-box .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #environment .environment-box .text{
		width: 100%;
		padding-left: 0;
	}
	#subpage #environment .environment-box .text .title{
		font-size: 1.3rem;
	}
	#subpage #environment .environment-report{
		display: flex;
		flex-direction: column;
		padding: 20px;
	}
	#subpage #environment .environment-report .photo{
		width: 100%;
		margin-bottom: 2rem;
	}
	#subpage #environment .environment-report .text{
		padding-left: 0;
		width: 100%;
	}
	#subpage #environment .environment-report .text .title{
		font-size: 1rem;
	}



	/*recruit
	---------------------------------------------------------------------------*/
	#subpage #recruit #voice-title {
		flex-direction: column;
	}
	#subpage #recruit #voice-title .photo{
		width :100%;
		margin-bottom: 2rem;
	}
	#subpage #recruit #voice-title .text{
		width :100%;
		padding :0;
	}
	#subpage #recruit #voice-title .title{
		font-size: 1.3rem;
	}
	#subpage #recruit .voice .box .message .leadtext{
		font-size: 1.3rem;
	}
	#subpage #recruit .voice .box{
		flex-direction: column;
	}
	#subpage #recruit .voice .face{
		margin-bottom: 20px;
	}
	#subpage #recruit .voice li:nth-child(2) .box{
		flex-direction: column;
	}
	#subpage #recruit .voice .box .photo{
		width: 50%;
		margin-bottom: 20px;
	}
	#subpage #recruit .voice .box .message{
		width: 100%;
		padding: 10px;
	}
	#subpage #recruit #benefit-title{
		flex-direction: column;
	}
	#subpage #recruit #benefit-title .photo{
		width :100%;
		margin-bottom: 2rem;
	}
	#subpage #recruit #benefit-title .text{
		width :100%;
		padding-left: 0;
	}
	#subpage #recruit #benefit-title .title {
		font-size: 1.3rem;
	}




	/*contact
	---------------------------------------------------------------------------*/
	#subpage #contact .phone{
		margin-bottom: 80px;
	}
	#subpage #contact .phone ul{
		width: 100%;
		margin-top: 2rem;
	}
	#subpage #contact .phone ul li{
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}
	#subpage #contact .form{
		padding: 0;
	}
	#subpage #contact .form table{
		border-top: 0;
	}
	#subpage #contact .form th,
	#subpage #contact .form td{
		display: block;
	}
	#subpage #contact .form .attention{
		display: block;
		margin-left: 0;
	}
	#subpage #contact .form .email{
		width: 98%;
	}
	#subpage #contact .form .otoiawase{
		width: 98%;
		height: 100px;
	}

}



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

