@charset "utf-8";

@import "base_layout.css";
@import "common_parts.css";

body{
	background: url(../../img/toppage/mainph.jpg) no-repeat center top fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


.anim{
	opacity: 0;
	transform: translate(0,60px); 
	-webkit-transform: translate(0,60px); 
	transition: .8s;
}
.move{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

.delay1{
	transition-delay: .1s;
}
.delay2{
	transition-delay: .2s;
}
.delay3{
	transition-delay: .3s;
}
.delay4{
	transition-delay: .4s;
}
.delay5{
	transition-delay: .5s;
}
.delay6{
	transition-delay: .6s;
}
.delay7{
	transition-delay: .7s;
}

/*mainPh*/
#mainPh{
	height: 400px;
}

/*topics*/
#topics{
	position: relative;
	overflow: hidden;
}
#topics .bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 120%;
	height: 120%;
	margin: 0% -10% 0;
	-webkit-transform-origin: right center;
	-ms-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: rotate(-1.5deg);
	-ms-transform: rotate(-1.5deg);
	transform: rotate(-1.5deg);
	z-index: -1;
	background: #3d4143;
}



#topics .wrapper{
	width: 1000px;
	margin: auto;
	box-sizing: boder-box;
	padding: 5.5% 0 11% 0;
	color: #FFF;
}

#topics .wrapper h2{
	background: url(../../img/toppage/topics_ico.png) no-repeat center bottom;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	display: block;
	width: 500px;
	height: 80px;
	margin: 0 auto 5% auto;
	font-size: 30px;
	font-weight: 600;
	text-align: center;
}

#topics .wrapper ul{
	margin: 0 0 50px 0;
}
#topics .wrapper ul li{
	border-top: 1px solid #585c5e;
	padding: 15px 0;
	display: table;
	width: 100%;
}
#topics .wrapper ul li:last-child{
	border-bottom: 1px solid #585c5e;
}

#topics .wrapper ul li .date{
	display: table-cell;
	width: 10em;
	vertical-align: top;
	padding: 0 0 0 15px;
	letter-spacing: 1;
}
#topics .wrapper ul li .date span{
	border-bottom: 1px solid #fff799;
}
#topics .wrapper ul li .cmt{
	display: table-cell;
	vertical-align: top;
	padding: 0 15px 0 0;
}
#topics .wrapper ul li .cmt p:nth-of-type(2){
	padding: 0.8em 0 0 0;
}
#topics .wrapper ul li .cmt a{
	color: #fafae3;
}

#topics .wrapper .btnMore a{
	background: url(../../img/common/btn_more_white.png) no-repeat;
	width: 127px;
	height: 11px;
	display: block;
	text-indent: -9999px;
	margin: auto;
}



/*result*/
#result{
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	margin: -10% 0 0 0;
}
#result .bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 120%;
	height: 98%;
	margin: 0% -10% 0;
	-webkit-transform-origin: right center;
	-ms-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: rotate(-1.5deg) translate3d(0, 0, 0);
	-ms-transform: rotate(-1.5deg) translate3d(0, 0, 0);
	transform: rotate(-1.5deg) translate3d(0, 0, 0);
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
	z-index: -1;
	background: #FFF;
}

#result .wrapper{
	margin: auto;
	box-sizing: boder-box;
	padding: 2.5% 0 5.5% 0;
}

#result h2{
	font-size: 30px;
	color: #e60012;
	font-weight: 600;
	padding: 0 20px;
	margin: 0 0 4% 0;
}
#result h2 span{
	border-left: 1px solid #000;
	display: inline-block;
	margin: 0 0 0 20px;
	padding: 0 0 0 20px;
	vertical-align: middle;
	line-height: 11px;
}
#result h2 span a{
	background: url(../../img/common/btn_more_black.png) no-repeat left center;
	width: 217px;
	height: 11pd;
	display: block;
	text-indent: -9999px;
}

#result .body ul{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: left;
	justify-content: left;
}
#result .body ul li{
	width: 25%;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#result .body ul li:nth-child(odd){
	background: #eeeeee;
}
#result .body ul li:nth-child(even){
	background: #cbd5da;
}

#result .body ul li .photo{
	position: relative;
	width: 100%;
	height: 200px;
	z-index: 10;
	overflow: hidden;
	text-align: center;
}
#result .body ul li .photo:before {
	content:"";
	display: block;
}
#result .body ul li .photo img{
	height: auto;
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*bottom: 0;
    right: 0;*/
	margin: auto;
}
#result .body ul li .tag{
	background: #e60012;
	padding: 5px 15px;
	color: #FFF;
	display: inline-block;
}

#result .body ul li .tag .medical{
	background: url(../../img/common/cms_icon_iryou.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .autobacs{
	background: url(../../img/common/cms_icon_ab.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .service{
	background: url(../../img/common/cms_icon_service.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .etc{
	background: url(../../img/common/cms_icon_iryou.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .administration{
	background: url(../../img/common/cms_icon_kokyo.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .care{
	background: url(../../img/common/cms_icon_fukushi.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}
#result .body ul li .tag .sale{
	background: url(../../img/common/cms_icon_item.png) no-repeat left center;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	padding: 0 0 0 20px;
}



#result .body ul li .name{
	padding: 15px 3%;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
}
#result .body ul li .name a{
	color: #000;
	text-decoration: none;
}
#result .body ul li .work{
	padding: 0 0 15px 0;
	text-align: center;
	font-size: 12px;
	letter-spacing: 1.0px;
	word-break: break-all;
	word-wrap:break-word;
}


@media screen and (max-width: 979px) {
/*topics*/
#topics{
	position: relative;
	overflow: hidden;
}
#topics .bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 120%;
	height: 120%;
	margin: 0% -10% 0;
	-webkit-transform-origin: right center;
	-ms-transform-origin: right center;
	transform-origin: right center;
	-webkit-transform: rotate(-1.5deg);
	-ms-transform: rotate(-1.5deg);
	transform: rotate(-1.5deg);
	z-index: -1;
	background: #3d4143;
}

#topics .wrapper{
	width: 100%;
	margin: auto;
	box-sizing: boder-box;
	padding: 9.5% 0 15% 0;
	color: #FFF;
}
}

@media screen and (max-width: 768px){

body{
	background: url(../../img/toppage/mainph.jpg) no-repeat center top fixed;
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
}
#mainPh{
	height: 20px;
}
#result .body ul li{
	width: 50%;
}

#result .body ul li .photo{
	position: relative;
	width: 100%;
	height: auto;
	z-index: 10;
	overflow: hidden;
	text-align: center;
}
#result .body ul li .photo:before {
	content:"";
	display: block;
	padding-top: 55%;
}
#result .body ul li .photo img{
	height: auto;
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*bottom: 0;
    right: 0;*/
	margin: auto;
}
#result .body ul li .work{
	padding: 0 10px 10px 10px;
}
}

@media screen and (max-width: 620px) {
#topics .wrapper h2{
	width: 100%;
	text-align: center;
	margin: 0;
}
#result h2 span{
	border-left: 0;
	display: block;
	margin: 15px 0 0 0;
	padding: 0 0 0 0;
	vertical-align: middle;
	line-height: 11px;
}
#result h2 span a{
	background: url(../../img/common/btn_more_black.png) no-repeat left center;
	width: 217px;
	height: 11pd;
	display: block;
	text-indent: -9999px;
}

#topics .wrapper ul{
	margin: 50px 0;
}
#topics .wrapper ul li{
	display: block;
	width: 98%;
	margin: auto;
}

#topics .wrapper ul li .date{
	display: block;
	width: auto;
	letter-spacing: 1;
	font-weight: 600;
	padding: 0;
}
#topics .wrapper ul li .cmt{
	display: block;
	vertical-align: top;
	padding: 5px 0 0 0;
}
}



