@CHARSET "shift_jis";
/******************************************************************************
 * エバーペット
 * WEB SITE ver.2019
 * RESPONSIVE
 * PC width min-width:768px
 * SP max-width: 767px(iPhone6+ ヨコイチまで)
******************************************************************************/
@import url(html5-doctor-reset-stylesheet.min.css);
@import url(base.css);
@import url(carousel.css);

/******************************************************************************
 * ARTICLE
******************************************************************************/
body>article {}
/** PC ***********************************************************************/
@media screen and (min-width:768px),print{
	body>article {}
}
/** SMART PHONE **************************************************************/
@media screen and (max-width:767px){
	body>article {}
}

/*******************************************************************************
 * コンテンツヘッダ
*******************************************************************************/
article#hislist>header {
	width: 100%;
	background: url(img/contents/purchase.headimg.jpg) no-repeat #ccc;
	background-size: cover;
	position: relative;
}
article#hislist>header>h2 {
	color: #fff;
	font-family: 'M PLUS Rounded 1c',Meiryo,"メイリオ",sans-serif;
	font-weight: bold;
	width: 100%;
	padding: 10px;
	text-shadow:
		1px 1px 1px #000,-1px -1px 1px #000;
	background: rgba(138,138,123,0.5);
	position: absolute;
}

/** PC ************************************************************************/
@media screen and (min-width:768px),print{
	article#hislist>header {
		height: 300px;
		background-position: center -80px;
	}
	article#hislist>header>h2 {
		font-size: 2.5em;
	}
}

/** SMART PHONE ***************************************************************/
@media screen and (max-width:767px){
	article#hislist>header {
		height: 150px;
		background-position: center center;
	}
	article#hislist>header>h2 {
		font-size: 1.5em;
	}
}


/*******************************************************************************
 * 新しい仲間
*******************************************************************************/
article>section#newFace {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 3px dotted #575748;
}

#newFace>div {
	color: #fff;
	width: 100%;
	border-radius: 12px 12px 0 0;
	background: #ff5c26;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
#newFace>div>h2 {
	font-family: 'M PLUS Rounded 1c',Meiryo,"メイリオ",sans-serif;
	height: 100%;
	background: url(img/tit_newA.png) no-repeat;
}

#newFace>section>h3 {
	font-family: 'M PLUS Rounded 1c',Meiryo,"メイリオ",sans-serif;
	font-size: 1.375em;
	height: 66px;
	padding-top: 34px;
	padding-left: 94px;
	margin-bottom: 10px;
	background-size: 90px 64px;
}
#newFace>section>p {
	text-align: right;
}
#newFace>section>ul {
	display: flex;
	flex-wrap: wrap;
}
#newFace>section>ul>li>a {
		line-height: 1.3;
}
#newFace>section>ul>li>a>b {
	display: block;
}
#newFace>section>ul>li>a>img {
	width: 100%;
	border: 1px solid;
}

/** ワンちゃん **/
#newDogs {}
#newDogs>h3 {
	color: #741e00;
	background:
		url(img/icon_dogcat.png) no-repeat 4px center,
		linear-gradient(to top,
			rgba(255,173,146,1)0%,rgba(255,173,146,1) 50%,
			rgba(255,255,255,0)50%,rgba(255,255,255,0) 100%);
}
#newDogs>ul>li>a {color: #741e00;}
#newDogs>ul>li>a>img {border-color: #741e00;}
/** ネコちゃん **/
#newCats {}
#newCats>h3 {
	color: #162d85;
	background:
		url(img/icon_dogcat.png) no-repeat 4px center,
		linear-gradient(to top,
			rgba(152,173,249,1)0%,rgba(152,173,249,1) 50%,
			rgba(255,255,255,0)50%,rgba(255,255,255,0) 100%);
}
#newCats>ul>li>a {color: #162d85;}
#newCats>ul>li>a>img {border-color: #162d85;}

/** PC ************************************************************************/
@media screen and (min-width:768px),print{
	#newFace>div {
		height: 80px;
	}
	#newFace>div>h2 {
		font-size: 1.75em;
		padding-top: 34px;
		padding-left: 220px;
		background-position: 20px center;
	}
	#newFace>div>p {
		padding-right: 20px;
		padding-bottom: 10px;
	}
	#newFace>section {
		padding: 20px 20px 0;
	}
	#newFace>section>ul {
		width: 960px;
	}
	#newFace>section>ul>li {
		width: 230px;
		margin-right: calc((100% - (230px * 4)) / 3);
		margin-bottom: 20px;
	}
	#newFace>section>ul>li:nth-child(4n) {margin-right: 0;}
	#newFace>section>ul>li>a>img {
		margin-bottom: 10px;
	}
	
}
/** SMART PHONE ***************************************************************/
@media screen and (max-width:767px){
	#newFace>div {
		height: 50px;
	}
	#newFace>div>h2 {
		font-size: 1.2em;
		padding-top: 20px;
		padding-left: 105px;
		background-position: 2px center;
		background-size: 100px auto;
	}
	#newFace>div>p {
		font-size: 0.875em;
		padding-right: 4px;
		padding-bottom: 11px;
	}
	#newFace>section {
		padding: 10px 10px 0;
	}
	
	#newFace>section>ul>li {
		width: calc(50% - 5px);
		margin-right: 10px;
		margin-bottom: 20px;
	}
	#newFace>section>ul>li:nth-child(2n) {margin-right: 0;}
	#newFace>section>ul>li>a>img {
		margin-bottom: 4px;
	}
	
}

/******************************************************************************
 * BigRam
 * ver 1.0 2019
******************************************************************************/