@charset "utf-8";

/* --- 下層 --- */
.family {
	width: 610px !important;
	padding: 25px 30px;
	border: solid 5px #F3F3F3;
}
.family .profile {
	width: 202px;
	float: left;
}
.family .profile p {
	font-size: 1.8rem;
	font-weight: bold;
	padding-left: 45px;
	border-bottom: dotted 1px #A9ACAD;
	padding-bottom: 13px;
	margin-bottom: 20px;
	position: relative;
}
.family .profile p::before {
	content: "";
	border: none;
	border-radius: 0;
	left: 0;
	top: 0;
	position: absolute;
	width: 56px;
	height: 35px;
	background: url(../img/house_icon.png) no-repeat 5px 0 / 33px auto;
}
.family .profile ul li {
	font-size: 1.3rem;
	margin-bottom: 3px;
	padding-left: 1.2em;
	margin-right: 13px;
	position: relative;
}
.family .profile ul li::before {
	content: "●";
	margin: 0 5px 0 3px;
	font-size: 1rem;
	line-height: 2;
	color: #003366;
	vertical-align: top; 
	position: absolute;
	top: .1em;
	left: 0;
}

.categoryBox .img img {
	min-width:inherit;
}
.categoryBox .img div {
    width: 220px;
}
.w230 {
    width: 230px;
}
.w960 {
    width: 960px;
}
.voiceQA strong {
	position:relative;
	padding-left: 80px;
	margin-bottom:15px;
	display: block;
}
.voiceQA strong::before {
	content: "Q";
	position: absolute;
	width:60px;
	height:25px;
	background:#B3B3B3;
	left: 0;
	top: 0;
	color:#FFFFFF;
	font-weight:bold;
	text-align:center;
}
.voiceQA p {
	position:relative;
	padding-left: 80px;
}
.voiceQA p::before {
	content: "A";
	position: absolute;
	width:60px;
	height:25px;
	background:#B3B3B3;
	left: 0;
	top: 0;
	color:#FFFFFF;
	font-weight:bold;
	text-align:center;
}
.voiceQA p.husband::before {
    content: "ご主人";
}
.voiceQA p.wife::before {
    content: "奥様";
}
.categoryBox:nth-child(2n+1) {
    clear: both;
}
/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	
	/* --- 下層 --- */
	.family {
		width: auto !important;
		padding: 8%;
		border: solid 5px #F3F3F3;
	}
	.family .profile {
		width: auto;
		float: none;
	}
	
	.categoryBox .img div {
		width:auto;
	}
	.w230, .w960{
		width: auto !important;
	}
	.voiceQA strong,.voiceQA p {
		padding-left: 60px;
	}
	.voiceQA strong::before,.voiceQA p::before {
		font-size:1.3rem;
		width:46px;
		height:20px;
	}
	
}
