@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#hisdetail>header {
	width: 100%;
	background: url(img/contents/purchase.headimg.jpg) no-repeat #ccc;
	background-size: cover;
	position: relative;
}
article#hisdetail>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#hisdetail>header {
		height: 300px;
		background-position: center -80px;
	}
	article#hisdetail>header>h2 {
		font-size: 2.5em;
	}
}

/** SMART PHONE ***************************************************************/
@media screen and (max-width:767px){
	article#hisdetail>header {
		height: 150px;
		background-position: center center;
	}
	article#hisdetail>header>h2 {
		font-size: 1.5em;
	}
}

/*******************************************************************************
 * 保護・譲渡の犬猫のご案内
*******************************************************************************/
article#hisdetail>section {
	padding-top: 10px;
}

#hisdetail>section>div {
	border-width: 2px;
	display: inline-table;
	border-radius: 20px;
}
#hisdetail>section>div:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
#hisdetail>section>div:not([id]) {
	border-style: solid;
	border-color: #ff5c26;
}
#hisdetail>section>div>h3 {
	background: #ffdfbf;
}
#hisdetail>section>div>h3+figure>img {
	width: 100%;
}
#hisdetail>section>div>p {
	margin-bottom: 1.0em;
}
#hisdetail>section>div>p:last-child {margin-bottom:0;}

#hisdetail>section>div#infoBlock {}
div#infoBlock>dl>dd>figure {
	margin-bottom: 8px;
	display: flex;
	align-items: flex-start;
}
div#infoBlock>dl>dd>figure>img {
	width: 50%;
}
div#infoBlock>dl>dd>table {
	border-collapse: collapse;
	margin-left:30px;
}
div#infoBlock>dl>dd>table>tbody>tr {
	border-bottom: 1px dashed #ff5c26;
}
div#infoBlock>dl>dd>table>tbody>tr:last-child {
	border: none;
}
div#infoBlock>dl>dd>table>tbody>tr>th,
div#infoBlock>dl>dd>table>tbody>tr>td {
	padding: 4px;
	line-height:2em;
}
div#infoBlock>dl>dd>table>tbody>tr>th {
	color: #916b5f;
	text-align: right;
	white-space: nowrap;
	padding-right: 20px;
}
div#infoBlock>dl>dd>table>tbody>tr>td {
	padding-left: 0;
}

/** PC ************************************************************************/
@media screen and (min-width:768px),print{
	#hisdetail>section>div:not([id]) {
		width: 100%;
		padding: 20px;
		margin-bottom: 20px;
	}
	#hisdetail>section>div>h3 {
		font-size: 1.25em;
		line-height: 1.5;
		padding: 8px;
		margin-bottom: 20px;
	}
	#hisdetail>section>div>h3+figure {
		width: 45%;
		float: right;
	}
	#hisdetail>section>div>h4 {
		font-size: 1.375em;
		height: 66px;
		padding-top: 34px;
		padding-left: 94px;
		margin-bottom: 4px;
		background-size: 90px 64px;
	}
	#hisdetail>section>div>h4+p {
		line-height: 1.0;
		text-align: right;
		margin-bottom: 10px;
	}
	#hisdetail>section>div>p {
		line-height: 1.8;
	}
	#hisdetail>section>div#infoBlock {
		display: flex;
		flex-wrap: wrap;
	}
	div#infoBlock>dl {
		width: 100%;
		padding: 12px;
		margin-right: 0px;
		margin-bottom: 16px;
		border: 2px dotted #ff5c26;
		border-radius: 20px;
	}
	div#infoBlock>dl:nth-child(2n) {margin-right: 0;}
	div#infoBlock>dl>dt {
		font-size: 1.25em;
		margin-bottom: 8px;
	}
}
/** SMART PHONE ***************************************************************/
@media screen and (max-width:767px){
	
	#hisdetail>section>div {
		padding: 10px;
		margin: 10px 10px 20px;
	}
	#hisdetail>section>div>h3 {
		font-size: 1.2em;
		line-height: 1.3;
		padding: 4px;
		margin-bottom: 10px;
		border-radius: 10px 10px 0 0;
	}
	#hisdetail>section>div>h3+figure {
		width: 100%;
	}
	#hisdetail>section>div>h4 {
		font-size: 1.1em;
		padding: 8px 0 8px 46px;
		margin-bottom: 10px;
		border-radius: 10px 10px 0 0;
		background-size: 45px 32px;
	}
	#hisdetail>section>div>h4+p {
		font-size: 80%;
		line-height: 1.0;
		text-align: right;
		margin-bottom: 10px;
	}
	#hisdetail>section>div>h4>small {
		margin-top: 4px;
		display: block;
	}
	#hisdetail>section>div>p {
		line-height: 1.5;
	}
	
	div#infoBlock>dl {
		padding-bottom: 16px;
		margin-bottom: 16px;
		border-bottom: 2px dashed #ccc;
	}
	div#infoBlock>dl:last-child {
		margin-bottom: 0;
		border: none;
	}
	div#infoBlock>dl>dt {
		font-size: 1.25em;
		margin-bottom: 8px;
	}
	div#infoBlock>dl>dd>table>tbody>tr>th,
	div#infoBlock>dl>dd>table>tbody>tr>td {
		padding: 4px;
		line-height:1em;
	}
}
/******************************************************************************
 * BigRam
 * ver 1.0 2019
******************************************************************************/