/*
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-bottom: 1rem;
	font-size: 125%;
	font-weight: bold;
	border-bottom: 2px dotted #ccc;
	padding-bottom: 1rem;
}
sup{
	font-size:0.6rem;
}
.center{
	text-align: center;
}
.only-sp{
	display: none;
}
.only-pc{
	display: block;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.underline {
	display: inline-block;
	padding-bottom: 4px;
	position: relative;
}
.underline::after {
	background-color: #09A4D4;
	bottom: 0;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	transition: .5s all;
	width: 0;
}
.underline:hover::after {
	width: 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: #09A4D4;
	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: 5px;
}
#header #logo h1 img{
	width: 380px;
}
#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: 20px;
}
#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: normal;
	border-right: 1px dotted black;
	width: 24.4%;
	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;
	font-weight: bold;
}
#header #navi li a span{
	font-size: 50%;
	display: block;
	line-height: 1.2;
	color: #09A4D4;
	padding-bottom: 5px;
}
@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;
	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 img{
	width: 100%;
}

/* index */
section#index{
	margin-bottom: 6rem;
	background-color: #f5f5f5;
	padding-bottom: 5rem;
}
section#index p{
	text-align: center;
}
ul.page-index{
	margin-top: 2rem;
}
ul.page-index li{
	float: left;
	width: 32%;
	margin-right: 2%;
	text-align: center;
	box-sizing: border-box;
	padding: 1rem;
	background: white;
}
ul.page-index li:nth-child(3n){
	margin-right: 0;
}
ul.page-index li img{
	padding-bottom: 0.5rem;
	width: 100%;
}
a.map{
	margin-left: 0.5rem;
	font-size: 80%;
}


/* 下層ページメイン画像
---------------------------------------------------------------------------*/
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;
	padding: 1rem 0;
	margin: 1rem 0 3rem 0;
	font-weight: bold;
	font-size: 1.2rem;
	text-align: center;
}
dl.list dd{
	margin-bottom: 3rem;
}
dl.list dd p{
	margin-bottom: 1rem;
}
.leadtext{
	text-align: center;
	padding: 1rem 0;
	font-size: 1.1rem;
	margin-bottom: 2rem !important;
}

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 tr:nth-child(1) th,  section table tr:nth-child(1) td{
	border-top: 1px solid #ccc;
}
section table th{
	width: 25%;
	text-align: center;
	font-weight: normal;
}
section table.stripe tr:nth-child(odd) {
	background-color: #F5F5F5;
}
section ul.maker{
	width: 100%;
	float: left;
	margin-top: 1rem;
}
section ul.maker li{
	width: 15%;
	float: left;
	margin: 0.3rem;
}



/* 下層ページ調整
---------------------------------------------------------------------------*/
.greeting{
	padding: 0 4rem;
}
.contact-tel{
	text-align: center;
}
.contact-tel p:nth-child(2) {
	font-size: 170%;
	font-weight: bold;
}
.box-frame {
	float: left;
	width: 100%;
	margin-bottom: 3rem;
	border-bottom: 1px solid #ccc;
	padding-bottom: 3rem;
}
.box-frame .box-photo {
	float: left;
	width: 35%;
}
.box-frame .box-text {
	float: right;
	width: 62%;
}
div.box{
	padding: 1rem;
	font-size: 92%;
	background-color: #eee;
}
div.box p{
	padding-left:0.5rem;
	text-indent:-0.5rem;
	margin-bottom: 0 !important;
}


/* footer
---------------------------------------------------------------------------*/
#footer {
	width:100%;
	clear: both;
	text-align: left;
	line-height:1.5em;
	font-size:0.85em;
	background-color: #fff;
	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: #eee;
}
#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{
	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: 0;
	}
	#header #logo h1 img{
		width: 340px;
	}
	#header #navi{
		width: 100%;
		top: 28px;
	}
	#header_wrap #description{
		display: none;
	}
	#header #navi ul#index{
		position: relative;
		top: -28px;
		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 #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:-92px;
		right:15px;
		position:absolute;
		width:50px;
		right: 10px;
	}
	#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.2rem;
		display: block;
		border-bottom: 0;
		width: 100%;
		box-sizing: border-box;
	}
	section table th{
		background-color: #eee;
		text-align: left;
	}
	section table.stripe tr:nth-child(odd) {
		background-color: #fff;
	}
	#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:40px;
	}
	#footer-inner{
		width:100%; 
	}
	#footer #sitemap ul li {
		width: 100%;
		border-bottom: 1px solid #ccc;
		padding: 0.5rem 0;
		text-align: left;
		padding-left: 1rem;
		box-sizing: border-box;
	}
	#footer #sitemap ul li:first-child {
		border-top: 1px solid #ccc;
	}
	#footer-company{
		margin-left: 0;
		border-top: 0;
		padding-top: 0;
	}
	#footer .copy{
		padding-top: 0;
	}
	#footer-company img{
		width: 200px;
	}

	/*TOPページ調整
	---------------------------------------------------------------------------*/
	section#about p, section#index p{
		text-align: left;
	}
	ul.page-index li{
		float: left;
		width: 48%;
		margin-right: 4%;
		margin-bottom: 1rem;
	}
	ul.page-index li:nth-child(2n){
		margin-right: 0;
	}
	section#index {
		margin-bottom: 2rem;
		padding-bottom: 2rem;
	}

	/*下層ページ共通
	---------------------------------------------------------------------------*/
	.subpage .pagename h2{
		padding: 2rem 0;
	}
	h2::after{
		margin-top: 2rem;
	}
	.leadtext{
		text-align: left;
		font-size: 1rem;
	}


	/*下層ページ調整
	---------------------------------------------------------------------------*/
	.greeting{
		padding: 0;
	}
	.box-frame {
		float: none;
		width: 100%;
		margin-bottom: 3rem;
		border-bottom: 1px solid #ccc;
		padding-bottom: 3rem;
	}
	.box-frame .box-photo {
		float: none;
		width: 100%;
	}
	.box-frame .box-photo img{
		width: 100%;
		margin-bottom: 1rem;
	}	
	.box-frame .box-text {
		float: none;
		width: 100%;
	}

}



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

