/*
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;
}
#top {
	margin: 0px;
	padding: 0px;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
	margin:0;
	padding:0;
}
img {
	border: none;
	vertical-align: bottom;
}
.left{
	float:left;
	margin-right:5px;
}
.right{
	float:right;
}
.clear{
	clear:both;
}
i{
	margin-right: 0.4em;
}
h2 {
	font-size: 1.5em;
	font-weight: bold;
	padding: 1rem 0;
	position: relative;
	width: 100%;
	text-align: center;
	margin-bottom: 1rem;
}
h2::after{
	content: "";
	width: 3rem;
	border-bottom: 1px solid black;
	display: block;
	margin: 0 auto;
	margin-top: 2.5rem;
}
dl h3{
	font-size: 100%;
}
dl h4{
	margin: 1rem 0;
	font-weight: bold;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.small{
	font-size:90%;
}

/* link
---------------------------------------------------------------------------*/
a {
	color: black;
}
a:hover {
	text-decoration: underline;
	color: #57B5EB;;
}


/*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_wrap {
	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;
}
#header_wrap #description {
	background-color: #eee;
}
#header_wrap #description p {
	font-size: 0.6rem;
	width: 1024px;
	margin:0 auto;
}
#header #logo {
	float:left;
}
#header #logo h1 {
	position: relative;
	left: 0;
	top: 20px;
}
#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: 40px;
}
#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.9em;
	display:inline-block; 
	font-weight: bold;
	border-right: 1px dotted black;
	width: 13.7%;
	text-align: center;
}
#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 a:hover{
	background-color: #F9F9F9;
}


@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: 150px;
	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;
}

/*main
---------------------------------------------------------------------------*/
#main {
	padding-bottom: 30px;
	width: 100%;
	font-size: 0.95rem;
}
.subpage .pagename h2 {
	padding: 4rem 0;
	/*background: url(images/subcatch.jpg) no-repeat center center;*/
	background: #6893D8;
	color: white;
	background-size: cover;
	letter-spacing: 0.5rem;	
}
.subpage .pagename h2::after{
	content: "";
	border: none;
	margin: 0;
}

/* 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: center;
	margin-bottom: 3rem;
}

#about ul{
	width: 100%;
}
#about ul li{
	float: left;
	width: 23%;
	margin-right: 2%;
	margin-bottom: 2%;
}
#about ul li:nth-child(4n){
	margin-right: 0;
}
#about ul li img{
	width: 100%;
}



/* service */
section#service h2+p{
	text-align: center;
}


/* 下層ページメイン画像
---------------------------------------------------------------------------*/
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-bottom: 2px solid black;
	padding: 1rem 0;
	margin: 1rem 0 2rem 0;
	font-weight: bold;
	font-size: 1.05rem;
	text-align: center;
}
dl.list dd{
	margin-bottom: 3rem;
}
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;
}
section table.business ul{
	width: 100%;
	float: left;
}
section table.business ul li{
	float: left;
	width: 40%;
}
section ul.maker{
	width: 100%;
	float: left;
	margin-top: 1rem;
}
section ul.maker li{
	width: 15%;
	float: left;
	margin: 0.3rem;
}
#hiroba {
	margin-bottom: 50px;
}
#hiroba ul{
	width: 100%;
	float: left;
}
#hiroba ul li{
	width: 32%;
	float: left;
	margin-right: 2%;
	margin-bottom: 40px;
	padding: 20px;
	box-sizing: border-box;
	/* border: 1px solid black; */
	box-shadow: 0 0 2px #e0e0e0;
	border: 1px solid #E0E0E0;
}
#hiroba ul li:nth-child(3n){
	margin-right: 0;
}
#hiroba ul li img{
	width: 100%;
}
#hiroba ul li h3{
	margin-bottom: 1rem;
	text-align: center;
	font-size: 1rem;
}


/* 調整用
---------------------------------------------------------------------------*/
.company .sign{
	text-align: right;
}
.company .license ul{
    width: max-content;
	margin: 0 auto;
	margin-bottom: 1.5rem;
}
.company .license ul li{

}
.half{
	float: left;
	width: 50%;
}
.company ul.partner{
	column-count: 2;
}
.column2 li{
	width: 31%;
	float: left;
}
.disc li{
	margin-left: 2%;
	list-style-type: disc;
}
.service{
	margin-top: 2rem;
	float: left;
	margin-top: 2rem;
	border: 1px solid #ccc;
	width: 100%;
}
.service li{
	width: 25%;
	float: left;
	text-align: center;
	padding: 2rem 0;
	margin-left: 0;
	font-size: 90%;
}
.service li img{
	margin-bottom: 10px;
	max-width: 80%;
}
.tel{
	text-align: center;
	margin-top: 2rem;
}
.tel p:nth-child(2){
	font-size: 170%;
	font-weight: bold;
}
.link{
	margin-left: 1rem;
	font-size: 90%;
}
.lineup{
	margin: 2rem 0;
	width: 100%;
	float: left;
}
.lineup li{
	width: 30%;
	text-align: center;
	float: left;
	margin: 1% 4% 3% 0;
	border: 1px solid black;
}
.lineup li:nth-child(3), .lineup li:nth-child(5){
	margin-right: 0;
}
.lineup li:nth-child(4){
	margin-left: 17%;
}
.lineup li a{
	padding: 1rem 0;
	display: block;
	margin: 1px;
}
.lineup li a:hover{
	background-color: #F9F9F9;
}
.lineup 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;
}



/* footer
---------------------------------------------------------------------------*/
#footer {
	width:100%;
	clear: both;
	text-align: left;
	line-height:1.5em;
	font-size:0.85em;
	background-color: #eee;
	margin-top: 10rem;
}
#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 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 {
	text-decoration: none;
	color: #fff;
	text-align: center;
	display: block;
	margin:0;
}
#page-top a:hover {
	text-decoration: none;
	-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;}
}



/*===============================================
 スマホ：画面の横幅が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.3em;
	}
	.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_wrap{
		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_wrap #description{
		display: none;
	}
	#header #navi ul#index{
		position: relative;
		top: 5px;
		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 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;}

	/*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;
		margin-top:140px;
	}
	#footer-inner{
		display: none;
	}
	.copy {
		display:none;
	}
	#footer-company{
		margin-left: 0;
	}
	#footer .copy{
		padding-top: 0;
	}

	/*各ページ調整用
	---------------------------------------------------------------------------*/
	#about img{
		width: 100%;
	}
	.lineup li{
		width: 46%;
	}
	.lineup li:nth-child(odd){
		margin-right: 4%;
	}
	.lineup li:nth-child(even){
		margin-right: 0;
		margin-left: 0;
	}
	ul.half{
		width: 100%;
	}
	.column2 li{
		width: 100%;
		margin-left: 1rem;
	}
	.subpage .pagename h2{
		padding: 2rem 0;
	}
	dd.greeting{
		padding: 0 2%;
	}
	dd{
		padding: 0 2%;
	}
	.company .license ul{
	    width: 100%;
	}
	.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;
	}
	section#service h2+p{
		text-align: left;
	}
	h2::after{
		margin-top: 2rem;
	}
	.license li{
		padding: 0.5rem;
		border-bottom: 1px dotted #ccc;
	}
	#hiroba ul li{
		width: 100%;
		margin-right: 0;
	}
	.company ul.partner{
		column-count: 1;
		margin-left: 1rem;
	}


}

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

