@charset "UTF-8";
html{
-webkit-scroll-behavior:smooth;
scroll-behavior:smooth;
}

*{
	box-sizing: border-box;
}

img{
	max-width:100%;
}
section { 
	display:inline-block;
	width: 100%;
}
#Life #mainV {
	background: url(../images/seikatsunoki/main.png) top center no-repeat;
	display: table;
	width: 100%;
	padding-top: 28.5%;
	background-size: cover;
}

#Life h3 {
	margin: 0 auto;
	font-size: 1.3vw;
	color:#831c27;
}
#Life h3 p{
	font-size: 1vw;
}
@media screen and (max-width: 768px) {
	#Life #mainV {
		background: url(../images/seikatsunoki/main-sp.jpg) top center no-repeat;
		display: block;
		width: 100%;
		padding-top: 97%;
		background-size: contain;
		position: relative;
	}
	#Life h3 {
		font-size: 5vw;
	}
}
#mainV .inner {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	text-align: center;
	padding-bottom: 20%;
	font-size: 1vw;
}
@media screen and (max-width: 768px) {
	#mainV .inner {
		padding-bottom: 100%;
		font-size: 5vw;
	}
}


#mainV .inner h1 {
	margin: 0 auto;
	max-width: 1000px;
	width: 94%;
}
#mainV .inner p {
	color: #818080;
	font-size: 18px;
	letter-spacing: .5pt;
	line-height: 1.3;
	margin: 45px auto 0;
	max-width: 1000px;
	width: 94%;
}
#Life #lineup {
	background: #F2F2F2;
	padding: 50px 0;
	text-align: left;
}
#Life #lineup .contents{
    width: 55%;
    margin: 2% auto;
    background: white;
    padding: 2%;
}
@media screen and (max-width: 1280px) {
	#Life #lineup .contents{
	    width: 80%;
	}
}

@media screen and (max-width: 768px) {
	#Life #lineup .contents{
	    width: 95%;
	    margin-bottom:4%;
	}
}
#Life #lineup .contents:last-of-type{
    margin-bottom: 6%;
}
@media screen and (max-width: 768px) {
	#Life #lineup .contents:last-of-type{
	    margin-bottom: 10%;
	}
}
#Life #lineup .contents > p{
    text-align: left;
    font-size: 15px;
    margin-top: 3%;
}
#Life #lineup .contents .flex_box{
    display: flex;
    justify-content: space-between;
    text-align: left;
    color:#901D22;
}
@media screen and (max-width: 768px) {
	#Life #lineup .contents .flex_box{
	    display: block;
	}
}
#Life #lineup .contents .flex_box > div{
    width:45%;
}
@media screen and (max-width: 768px) {
	#Life #lineup .contents .flex_box > div{
	    width:100%;
	    margin-top: 3%;
	}
}
#Life #lineup .contents div h4 {
    font-size: 25px;
}
#Life #lineup .contents div p{
    margin: 5% 0% 7% auto;
}
#Life #lineup .contents div img:nth-of-type(1){
    margin-right: 3%;
}
#Life #lineup .contents div img:nth-of-type(2){
    margin-right: 3%;
}
#Life #lineup .contents div img.recommend{
    margin-top: 3%;
}
@media screen and (max-width: 768px) {
	#Life #lineup .contents div img:nth-of-type(1){
	    margin-right: 0%;
	}
	#Life #lineup .contents div img:nth-of-type(2){
	    margin-right: 0%;
	}
}

