/*
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.7em;
	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;
}
h3{
	font-size: 110%;
}
h4{
	margin-bottom: 1rem;
	font-size: 125%;
	font-weight: bold;
	border-bottom: 2px dotted #ccc;
	padding-bottom: 1rem;
	color: #002574;
}
dl p + h4{
	margin-top: 2rem;
}
h5{
	background-color: #eee;
	padding: 0.5rem;
	font-size: 100%;
	margin-bottom: 1rem;
}
dl p + h5{
	margin-top: 2rem;
}
sup{
	font-size:0.6rem;
}
.center{
	text-align: center;
}
.only-sp{
	display: none !important;;
}
.only-pc{
	display: block !important;;
}


/* link
---------------------------------------------------------------------------*/



/*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: #002574;
}
#header_wrap #description p {
	font-size: 0.6rem;
	width: 1024px;
	margin:0 auto;
	color: white;
}
#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 .number i{
	color: #002574;
}
#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: 26.8%;
	text-align: center;
	box-sizing: border-box;
}
#header #navi ul#index li:first-child {
	border-left: 1px dotted black;
	width: 18%;
}
#header #navi li a{
	display:block;
	color: black;
	text-decoration: none;
}
#header #navi li a:hover{
}
#header #navi li a span{
	font-size: 50%;
	display: block;
	line-height: 1.2;
	color: #002574;
	padding-bottom: 5px;
}
#header #sub-navi{
	position: absolute;
	top: 22px;
	left: 380px;
	text-align:right;
}
#header #sub-navi li{
	float: left;
	margin: 0 0.7rem;
	font-size: 0.8rem;
}
#header #sub-navi li:nth-child(3){
	clear: both;
}
#header #sub-navi li a{
	text-decoration: none;
	color: black;
	font-weight: bold;
}
#header #sub-navi li i{
	color: #002574;
}
@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;
	left: 0;
	text-align: center;
	margin: auto;
	bottom: 0;
	right: 0;
}
#icatch p{
	text-shadow: 1px 1px 1px black;
	color: white;
	font-size: 2rem;
	line-height: 3rem;
	display: inline-block;
	text-align: left;
	font-style: oblique;
}



/*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;
}
section#about .about-box{
	width: 100%;
	float: left;
	margin-bottom: 3rem;
}
section#about .about-image{
	float: left;
	width: 40%;
}
section#about .about-image img{
	width: 100%;
}
section#about .about-text{
	float: left;
	width: 60%;
}
section#about .about-text p:first-child{
	margin-bottom: 3rem;
	font-weight:bold;
	font-size:140%;
	margin-top: 3rem;
	line-height: 2rem;
}
section#about .about-text p{
	text-align: left;
	padding-left:2rem;
}

/* service */
section#service{
	background-color: #f5f5f5;
}
section#service h2+p{
	text-align: center;
}
section#service .service-list{
	width: 100%;
	float: left;
	margin: 3rem 0;
}
section#service .service-list>li{
	background-color: white;
	padding: 0;
	width: 32%;
	margin-right: 2%;
	float: left;
	text-align: center;
	min-height: 420px;
	position:relative;
}
section#service .service-list>li:last-child{
	margin-right: 0;
}
section#service .service-list>li h3{
	margin: 2rem 0;
	font-size: 150%;
	color: #002574;
}
section#service .service-photo img{
	width: 50%;
	float: left;
}
section#service .service-text{
	padding-bottom: 2rem;
}
section#service .service-text ul{
	margin-bottom: 2rem;
}
section#service .service-text li{
	font-size: 90%;
}
section#service .service-text .service-link{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2rem;
}
section#service .service-list>li:first-child li{
	float: left;
	width: 50%;
}
section#service .service-text .service-link a{
	font-size: 90%;
}
section#news dl{
	margin-bottom: 3rem;
}
section#news dt{
	float: left;
	border-bottom: 1px dotted #ccc;
	padding: 0.5rem;
}
section#news dd{
	border-bottom: 1px dotted #ccc;
	padding: 0.5rem;
	padding-left: 140px;
}



/* 下層ページメイン画像
---------------------------------------------------------------------------*/
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 #002574;
	padding: 1rem 0;
	margin: 1rem 0 2rem 0;
	font-weight: bold;
	font-size: 1.2rem;
	text-align: center;
	color: #002574;
}
dl.list dd{
	margin-bottom: 3rem;
	padding: 1rem;
}
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;
	padding-left: 2rem;
}
section table tr:nth-child(1) th,  section table tr:nth-child(1) td{
	border-top: 1px solid #ccc;
}
section table th{
	width: 20%;
	text-align: left;
	padding-left: 2rem;
	font-weight: normal;
}
section table.stripe tr:nth-child(odd) {
	background-color: #F5F5F5;
}
section table.index th {
	background-color: #F5F5F5;
}
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;
}
.linkbtn{
	border: 1px solid #002574;
	padding: 0.2rem 1rem;
	text-decoration: none;
	display: inline-block;
}
.linkbtn:hover{
	background-color: #002574;
	color: white;
}
.photo{
	float: left;
	margin-bottom: 2rem !important;
	padding-right: 2rem;
}
.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:60%;
}
ul.box li:last-child .box-frame{
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}
.small{
	font-size:80%;
}


/* 調整用
---------------------------------------------------------------------------*/
/* お問い合わせページ */
.contact form{
	margin: 3rem 0;
}
.formbtn{
	text-align:center;
}
.formbtn input{
	margin: 0 1rem;
}
.formbtn input{
	font-weight: bold;
	padding-left: 1rem;
	padding-right: 1rem;
}
.item-name,item-phone{
	width: 30%;
}
.item-address, .item-email, .item-message{
	width: 70%;
}

.branch-list{
	width: 100%;
	float: left;
	margin-top: 1rem;
}
.branch-list li{
	width: 44%;
	border-bottom: 1px solid #ccc;
	padding: 1rem;
	margin-right: 5%;
	float: left;
	padding-top: 1rem;
}
.branch-list li:nth-child(even){
	margin-right: 0%;
}
.branch-list li:nth-child(1), .branch-list li:nth-child(2){
	border-top: 1px solid #ccc;
}
.branch-list li p:nth-child(1){
	font-weight: bold;
}


/* 会社概要 */
.company .philosophy{
	font-size: 130%;
	font-weight: bold;
	margin-bottom: 2rem;
}
.company .philosophy-practice{
	list-style-type: disc;
	margin-left: 1.5rem;
}
.company #greeting{
	width: 100%;
	float:left;
}
.company #message{
	width: 70%;
	float:left;
}
.company #photo{
	width: 30%;
	float:left;
	text-align: center;
}
.company #photo img{
	width: 210px;
}
.company #signature span{
	font-weight:bold;
	font-size: 110%;
}
.company .quality img{
	width: 90%;
}
.branch section table th{
	width: 30%;
}
.branch section table tr:nth-child(odd){
	background-color: #fff;
}
.branch .map a{
	margin-left: 2rem;
	font-size: 0.8rem;
}

/* 住宅構造の品質 */
.quickbase-photo{
	float: left;
	margin-bottom: 3rem;
}
.quickbase-photo li{
	width: 23%;
	float: left;
	margin-right:2%;
}
.quickbase-photo li:last-child{
	margin-right: 0;
}
.quickbase-photo li img{
	width: 100%;
}
.quickbase-point{
	margin-bottom: 2rem;
}
.quickbase-point{
	list-style-type: disc;
	margin-left: 1.5rem;
}
span.performance{
	font-weight:bold;
	font-size: 110%;
	text-decoration: underline;
}

/* 自然環境の品質 */
.environment-others{
	float: left;
	width: 100%;
}
.environment-others li{
	float: left;
	width: 15%;
	margin-right: 6%;
	text-align:center;
}
.environment-others li img{
	width: 100%;
}

/* 採用 */
.requirement table{
	margin-bottom: 3rem;
}
.requirement ul{
	margin-bottom: 3rem;
}
.requirement .question li{
	margin-bottom: 1rem;
}
.requirement .question span{
	color: #002574;
}
.entry-type{
	display: flex;
	gap: 2rem;
}
.entry-type li{
	flex: 1;
	border: 1px solid black;
	text-align: center;
}
.entry-type li img{
	margin: 1rem 0;
	width: 100%;
}
.entry-type li:nth-child(even){
	margin-right:0;
}
.entry-type li a{
	display:block;
	padding: 2rem;
}
.entry-type li a:hover{
	background-color: #002574;
	color: white;
}

/* TOPページ-コンテンツINDEX */
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;
}
ul.page-index li a img{
	margin-bottom: 0.5rem;
}
ul.page-index li:last-child{
	margin-right: 0;
}
ul.page-index li a{
	border: 1px solid #ccc;
	display: block;
	padding: 1rem;
}

/* 製品INDEX */
ul.item-lineup{
	width: 100%;
	float:left;
}
ul.item-lineup li{
	width: 32%;
	float:left;
	margin-bottom: 1rem;
	margin-right: 2%;
}
ul.item-lineup li img{
	width: 45%;
}
ul.item-lineup li a{
	border: 1px solid #ccc;
	padding: 1rem;
	display: block;
}
ul.item-lineup li a:hover{
	background-color: #eee;
	color: black;
}
ul.item-lineup li:nth-child(3), ul.item-lineup li:nth-child(5){
	margin-right: 0;
}
ul.item-lineup li a div{
	display: inline-block;
	vertical-align: top;
	margin-bottom: 0;
	margin-top: 2rem;
	margin-left: 1rem;
}
ul.item-lineup li:first-child a div{
	margin-top: 1.6rem;
}

/* リンクボタン */
.btn{
	background-color: #6893D7;
	color: white;
	text-decoration: none;
	padding: 0.2rem 1rem;
	border-radius: 0.2rem;
}
.btn:hover{
	background-color: #A3C5FB;
	color: white;
	text-decoration: none;
}

/* 製品詳細 */
table.item-list{
	width: 100%;
}
table.item-list td{
	width: 50%;
	text-align: center;
	border-bottom: 0;
}
table.item-list td{
	text-align: center;
	vertical-align: top;
}
table.item-list td .item-detail{
	width: 88%;
	border: 1px solid #ccc;
	display: inline-block;
	padding: 1rem;
}
table.item-list td .item-detail.col1{
	width: 44%;
}
table.item-list td .item-detail img{
	width: 100%;
	margin-bottom: 1rem;
}
table.item-list td .item-detail .label{
	background-color: black;
	color: white;
	margin-right: 1rem;
	padding: 0 1rem;
}
table.item-list td .item-detail.catalog{
	width: 94%;
	background-color: #eee;
}
table.item-list td .item-detail2 {
	width: 94%;
	border: 1px solid #ccc;
	display: inline-block;
	padding: 1rem;
}
table.item-list td .item-detail2 img{
	width: 47%;
	margin-bottom: 1rem;
}
table.item-list td .item-detail2 img:nth-child(even){
	margin-left: 2%;
}
h3.title{
	text-align: center;
	font-weight:bold;
	margin-bottom: 1rem;
}

.recruit-site{
	float: left;
	width: 100%;
}
.recruit-site li{
	width: 50%;
	float: left;
}



/* 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;
}
#footer-box {
	width: 100%;
	float: left;
	padding: 3rem 0;
}
#footer-company{
	float:left;
	width: 30%;
	border-right: 1px solid #ccc;
	clear:both;
	font-size: 0.7rem;
	line-height: 1.5em;
	padding: 0 3rem;
	text-align: center;
    box-sizing: border-box;
}
#footer-company img{
	margin-bottom: 20px;
    max-width: 100%;
}
#footer #sitemap {
	float: left;
	width: 60%;
}
#footer #sitemap a{
	color: black;
}
#footer #sitemap ul{
	width: 100%;
	margin-left: 6rem;
}
#footer #sitemap ul li{
	float: left;
	margin-bottom: 0.5rem;
	margin-right: 2rem;
}
#footer #sitemap ul li:nth-child(1),#footer #sitemap ul li:nth-child(4),#footer #sitemap ul li:nth-child(8){
	float: none;
}
#footer .copy {
	clear:both;
	width:100%;
	text-align: center;
	display:block;
	font-size: 0.6rem;
	padding:0.5rem 0;
	background-color: white;
}



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



/*===============================================
 狭いブラウザとタブレット向け
===============================================*/
@media (max-width: 1024px) and (min-width: 768px) {
	html, body{
		min-width: 100%;
	}
	#header,
	#header_wrap #description p,
	section .section-inner,
	#footer-inner {
			width: 90vw;
	}
	#footer #sitemap ul {
		margin-left: 2rem;
	}
	#header #contact {
		display: none;
	}
	#header #sub-navi{
		left: 300px;
	}
}


/*===============================================
 スマホ：画面の横幅が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 !important;;
	}
	.only-pc{
		display: none !important;;
	}
	#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: 22px;
	}
	#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: 5px;
	}
	#header #logo 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;}
	#header #navi ul#index li{
		width: 100% !important;
	}


	/*slider
	---------------------------------------------------------------------------*/
	#slider{
		top: 70px;
	}
	.slick-box img{
		width: 320px;
	}


		
	/*icatch
	---------------------------------------------------------------------------*/
	#icatch{
		top: 40px;
	}
	#icatch p{
		font-size: 1rem;
		line-height: 1.5rem;
	}
	#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;
	}
	section dl.list dt{
		padding-left: 0;
	}
	section dl.list dd{
		padding: 0;
	}

	#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{
		width: 100%;
	}
	#footer-company{
		float: none;
		width: 100%;
		padding: 0;
		border-right: 0;
		margin-bottom: 2rem;
	}
	#footer #sitemap{
		float: none;
		width: 100%;
	}
	#footer #sitemap ul{
		margin-left: 0;
		text-align: center;
	}
	#footer #sitemap ul li:nth-child(1), #footer #sitemap ul li:nth-child(4), #footer #sitemap ul li:nth-child(8){
		float: none;
	}
	#footer #sitemap ul li{
		float: none;
		margin-right: 0;
	}

	/*各ページ調整用
	---------------------------------------------------------------------------*/
	/* 下層ページ共通 */
	.subpage .pagename h2{
		padding: 2rem 0;
	}
	h2::after{
		margin-top: 2rem;
	}
	dl h3{
		text-align: center;
		font-size: 85%;
	}
	.photo{
		float: none;
		margin-bottom: 1rem !important;
	}
	.box-frame .box-photo{
		float: none;
		width: 100%;
	}
	.box-frame .box-text {
		float: none;
		width: 100%;
		margin-top: 2rem;
	}

	/* 会社概要 */
	.company #greeting{
		width: 100%;
		float:none;
	}
	.company #message{
		width: 100%;
		float:none;
	}
	.company #photo{
		width: 100%;
		float:none;
	}
	section table.stripe tr:nth-child(odd) {
		background-color: #fff;
	}
	section table tr:nth-child(1) th, section table tr:nth-child(1) td{
		border: 0;
	}
	.branch section table th{
		width: 100%;
	}
	.company .quality img{
		width: 100%;
	}

	/* お問い合わせ */
	.branch-list li{
		width: 100%;
		float: none;
		margin:0;
		padding: 0;
		border-top: 0;
		padding-top: 1rem;
	}
	.branch-list li:nth-child(2){
		border-top: 0;
	}
	.item-name,item-phone{
		width: 60%;
	}
	.item-address, .item-email, .item-message{
		width: 90%;
	}

	/* サービス */
	.environment-others li{
		float: left;
		width: 40%;
	}
	div+h4{
		margin-top: 2rem;
	}
	.diagnosis img{
		width: 100%;
	}

	/* 採用 */
	.entry-type li{
		width: 45%;
	}
	.entry-type li:nth-child(even){
		margin-right: 0;
	}
	.entry-type li img{
		width: 100%;
	}
	
	#about img{
		width: 100%;
	}

	/* TOPページ */
	section#service .service-list>li{
		width: 100%;
		float: none;
		margin-right:0;
	}
	section#news dt{
		float: none;
		border-bottom: 0;
		padding: 0;
		padding-top: 1rem;
	}
	section#news dd{
		border-bottom: 1px dotted #ccc;
		padding: 0.5rem;
		padding-left: 0;
	}
	section#about .about-image{
		float: none;
		width: 100%;
	}
	section#about .about-text{
		float: none;
		width: 100%;
	}
	section#about .about-text p:first-child{
		font-size: 110%;
	}
	section#about .about-text p{
		padding-left: 0;
	}
	section#about .about-box{
		margin-bottom: 0;
	}
	section#service h2+p{
		text-align: left;
	}
	.recruit-site li{
		width: 100%;
		margin-bottom: 1rem;
	}

}



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

/* ホバーアニメーション（下線） */
.underline {
	display: inline-block;
	padding-bottom: 4px;
	position: relative;
}

.underline::after {
	background-color: #002574;
	bottom: 0;
	content: '';
	display: block;
	height: 2px;
	left: 50%;
	transform: translateX(-50%);
	position: absolute;
	transition: .5s all;
	width: 0;
}

.underline:hover::after {
	width: 90%;
}


/* wordpress */
.news h3{
	border: 2px solid #002574;
	padding: 1rem 0;
	margin: 1rem 0 2rem 0;
	font-weight: bold;
	font-size: 1.2rem;
	text-align: center;
	color: #002574;
}
.news .wp-block{
	margin-bottom: 3rem;
}
.news .wp-block .date{
	margin-bottom: 2rem;
}
.news .wp-block .data p{
	margin-bottom: 1rem;
}
div.pager { width: 100%; margin: 2em 0; padding: 0.8em 3px; border-top: 1px solid #c4c4c4; text-align: center; font-size: 13px; }
.wp-pagenavi { clear: both; } 
.wp-pagenavi a, .wp-pagenavi span { text-decoration: none; padding: 3px 5px; margin: 2px; }
.wp-pagenavi span.current { color: #AAA; }

@media only screen and (max-width:767px){
	.news .wp-block .data img{
		max-width: 100%;
		height: auto;
	}

}


