@charset 'utf-8';


#container > .inner {
	max-width: none;
}

.sharebutton {
	margin-bottom: 20px;
}

.articleblock,
body.safearea .articleblock {
	max-width: none;
	padding: 0;
	padding-bottom: 20px;
}

body.webpage .articleblock {
	max-width: 1000px;
}

.articleblock .blockheader {
	margin-bottom: 0;
	padding-top: 30px;
}

#customersblock .articlelistbody {
	width: 100%;
	background: #fff;
}

body#portal #customersblock .articlelistbody {
	background: transparent;
}

#customersblock .articlelistbody > .inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

body.safearea #customersblock .articlelistbody > .inner {
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}


#customersblock .articlelistbody.empty {
	background: none;
}

#voicelist {
	width: 100%;
	max-width: 888px;
	margin: 0 auto;
	font-size: 0rem;
	position: relative;
}

#voicelist .voiceitem {
	display: inline-block;
	width: 100%;
	padding: 20px;
	vertical-align: top;
	position: relative;
}

body.webpage #voicelist {
	max-width: none;
	padding-top: 30px;
}

body.webpage #voicelist .voiceitem {
	padding: 0;
	line-height: 1.2;
}


#voicelist .voiceitem > a,
#voicelist .voiceitem .brick {
	display: block;
	width: 100%;
	padding: 30px;
	border: 2px solid #6a83c4;
	border-radius: 5px;
	background: #fff;
	color: #000;
	text-decoration: none;
}

#voicelist .voiceitem > a:hover,
#voicelist .voiceitem > a.hover {
	transform: scale(1.07);
}

#voicelist .voiceitem .cover {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	position: relative;
}

#voicelist .voiceitem .customer {
	width: 100%;
	font-size: 13px;
	text-align: left;
	vertical-align: middle;
}

#voicelist .voiceitem .customer h1,
#voicelist .voiceitem .customer h2 {
	margin-bottom: 1em;
	color: #000;
	font-size: 18px;
	line-height: 1.4;
}

#voicelist .voiceitem .customer div:not(:last-child) {
	margin-bottom: .4em;
}

#voicelist .voiceitem .customer .name span {
	display: inline-block;
	padding-right: .5em;
}

#voicelist .voiceitem .customer .category {
	margin-top: 1em;
}

#voicelist .voiceitem .customer .category a {
	display: inline-block;
	padding: .7em 1.2em;
	border: 2px solid #6a83c4;
	border-radius: 5px;
	background: #fff2f6;
	text-decoration: none;
}

#voicelist .voiceitem .media {
	width: 100%;
	margin-bottom: 20px;
}

#voicelist .voiceitem figure {
	width: 100%;
	vertical-align: bottom;
}

#voicelist .voiceitem figure span.familyfoto {
	display: inline-block;
	width: 180px;
	height: 180px;
	overflow: hidden;
}

#voicelist .voiceitem figure span.housefoto {
	display: inline-block;
	width: 80px;
	height: 80px;
	margin-left: -30px;
	overflow: hidden;
}

#voicelist .voiceitem figure img {
	width: 100%;
	height: auto;
}

#voicelist .voiceitem .customer p {
	margin-bottom: 1em;
}

#voicelist .voiceitem .customer a {
	width: 100%;
	color: #000;
}

@media only screen and (min-width: 541px) {

	#voicelist .voiceitem > a:hover,
	#voicelist .voiceitem > a.hover {
		transform: scale(1.05);
	}
}

@media only screen and (min-width: 641px) {

	#voicelist .voiceitem .cover {
		flex-direction: row;
	}

	#voicelist .voiceitem .customer {
		width: 60%;
		font-size: 15px;
	}

	#voicelist .voiceitem .customer h1,
	#voicelist .voiceitem .customer h2 {
		font-size: 22px;
	}

	#voicelist .voiceitem .media {
		width: 40%;
		padding-right: 4%;
	}

	#voicelist .voiceitem figure span.familyfoto {
		width: 90%;
		height: auto;
	}

	#voicelist .voiceitem figure span.housefoto {
		width: 30%;
		height: auto;
		margin-left: -20%;
	}
}

@media only screen and (min-width: 769px) {

	#voicelist .voiceitem > a,
	#voicelist .voiceitem .brick {
		padding-left: 6%;
		padding-right: 6%;
	}
}


body.safearea #document {
	padding-left: calc(env(safe-area-inset-left) + 30px);
	padding-right: calc(env(safe-area-inset-right) + 30px);
}

body.safearea:not(.index) .articlelistbody.empty .inner {
	padding-left: calc(env(safe-area-inset-left) + 20px);
	padding-right: calc(env(safe-area-inset-right) + 20px);
}



#voicebody {
	width: 100%;
	max-width: 860px;
	margin: 0 auto !important;
	position: relative;
}

#voicebody .chapter {
	margin: 0;
	padding: 10px 0;
	line-height: 1.8;
}

#voicebody .chapter img {
	width: 100%;
	height: auto;
}

#voicebody .chapter .media {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

#voicebody .chapter .lead {
	color: #451f1b;
	font-size: 1.2em;
}

#voicebody .chapter .list span {
	display: inline-block;
	margin: 1px;
	padding: .5em 1em;
	background: #4aa9ea;
	color: #fff;
	font-weight: 700;
}

#voicebody .chapter .bad .list span {
	background: #babdc8;
}

#voicebody.articlebody .chapter .sentence div:last-child,
#voicebody.articlebody .chapter .sentence p:last-child {
	margin: 0;
}

#voicebody.articlebody .chapter .sentence h3 {
	border-bottom: 1px solid #003f6a;
	color: #003f6a;
}

#voicebody.articlebody .chapter .sentence h4 {
	border-bottom: 1px solid #ccc;
	color: #808080;
}
