/*
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;
}
sup{
	font-size:0.6rem;
}
.center{
	text-align: center;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}


/* 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: #186700;
	color: white;
}
#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: 24.6%;
	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;
	color: white;
	letter-spacing: 0.5rem;	
}
.subpage .pagename h2::after{
	content: "";
	border: none;
	margin: 0;
}
.subpage.company .pagename h2 {
	background: url(images/icatch02.jpg) no-repeat center center;
	background-size: cover;
}
.subpage.product .pagename h2 {
	background: url(images/icatch04.jpg) no-repeat center center;
	background-size: cover;
}
.subpage.contact .pagename h2 {
	background: url(images/icatch01.jpg) no-repeat center center;
	background-size: cover;
}



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



/* 下層ページ共通
---------------------------------------------------------------------------*/
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;
}



/* 調整用
---------------------------------------------------------------------------*/
/* TOPページ */
section#about p{
	text-align: center;
}
section#service h2+p{
	text-align: center;
}
ul.item-index{
	width: 100%;
	float:left;
	margin: 2rem 0;
}
ul.item-index li{
	width: 32%;
	float:left;
	text-align: center;
	margin-right: 2%;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
ul.item-index li p.item-name{
	background-color: black;
	color: white;
	padding: 0.5rem 0;
}
ul.item-index li img{
	margin-bottom: 0.5rem;
}
ul.item-index li:last-child{
	margin-right: 0;
}
ul.item-index li:first-child img{
	padding-top: 34px;
}
.linkbtn a{
	padding: 1rem 3rem;
	border: 1px solid black;
}
ul.page-index{
	width: 100%;
	float:left;
	margin: 2rem 0;
}
ul.page-index li{
	width: 32%;
	float:left;
	text-align: center;
	margin-right: 2%;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
ul.page-index li a img{
	margin-bottom: 0.5rem;
	width: 80%;
}
ul.page-index li:last-child{
	margin-right: 0;
}
ul.page-index li a{
	display: block;
	padding: 1rem;
}


/* 製品案内 */
.product .leadtext{
	text-align: center;
}
.product dl.list dd p.leadtext{
	margin-bottom: 3rem;
}
.product .item{
	margin-bottom: 3rem;
	border: 1px solid black;
	width: 100%;
	float: left;
}
.product .item h3{
	background-color: black;
	color: white;
	text-align: center;
	padding: 0.5rem 0;
	margin: 1rem;
}
.product .item table{
	float: left;
	width: 60%;
	margin: 1rem;
}
.product .item .photo{
	float: right;
	width: 35%;
	text-align: center;
	margin-top: 2rem;
}
.product .item .photo li{
	float: left;
}


/* 会社案内 */
#saleslist span{
	font-size: 80%;
	padding-left: 1.5rem;
}
.company table table th{
	text-align: left;
	width: 80%;
	padding-left: 1rem;
	font-weight: normal;
}
.company table td table tr:last-child th{
	border: none;
}
.company table td table tr:last-child td{
	border: none;
}
.company table td table tr:nth-child(even) th {
	background-color: #FAFAFA;
}
.company table td table tr:nth-child(even) td {
	background-color: #FAFAFA;
}


/* お問い合わせ */
.tel{
	text-align: center;
	margin-top: 2rem;
}
.tel p:nth-child(1){
	font-size: 170%;
	font-weight: bold;
}


/* 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: 25%;
	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;
		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: 0;
	}
	#header #logo img{
		width: 200px;
	}
	#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: 40px;
    left: 10px;
    position: absolute;
	}
	#icatch p{
		width: 100%;
	}
	#icatch p span,
	#icatch p{
		font-size: 0.9rem;
	}
	#icatch p{
		line-height: 1.5rem;
	}


	/*section
	---------------------------------------------------------------------------*/
	section{
		width: 100%;
		margin-top: 1rem;
		margin-bottom: 5rem;
		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;
	}
	section table td{
		margin-bottom: 1rem;
	}
	#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;
	}



	/*各ページ調整用
	---------------------------------------------------------------------------*/
	/* トップページ */
	ul.item-index li,
	ul.page-index li{
		width: 100%;
	}
	.linkbtn a{
		padding: 0.5rem 1rem;
	}

	/* 下層ページ共通 */
	.subpage .pagename h2{
		padding: 2rem 0;
	}
	h2::after{
		margin-top: 2rem;
	}
	
	/* 会社概要 */
	table table th,  table table td{
		display: table-cell;
		background-color: #fff;
	}
	.company table table th{
		width: 90%;
	}

	/* 製品案内 */
	.product .item table{
		width: 90%;
		margin: 5%;
	}
	.product .item .photo{
		width: 100%;
		margin-top: 0;
		margin-bottom: 5%;
	}
	.product .item .photo ul{
		margin-left: 5%;
	}
}



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

