@charset "Shift_JIS";

/* --------------------------------------------------------------------
	uservoice
--------------------------------------------------------------------- */
.sp{
	display: none !important;;
}

.voice_top .mv {
	margin-bottom: 80px;
}

.lead {
	width: 700px;
	background: #fffff9;
	margin: 0 auto 40px;
	position: relative;
}

.lead::after {
	content: "";
	display: block;
	width: 111px;
	height: 62px;
	background: url(piyos.png) no-repeat center center;
	position: absolute;
	top: -23px;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
}

.lead p {
	font-family: YuGothic,'Yu Gothic','メイリオ', Meiryo,'Osaka','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3', sans-serif;
	font-size: 18px;
	color: #f56b78;
	padding: 15px;
	text-align: center;
	border: 1px solid #f56b78;
	font-weight: bold;
}

.voice_top .contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-around;
    align-items: center;
    background: #ffffea;
    padding-top: 40px;
}

.voice_top .contents a{
	height: 100%;
	text-decoration: none;
}

.voice_top .contents a:hover {
	opacity: 1 !important;
	text-decoration: none;
}

.voice_top .contents .box {
	background: #ffffff;
	margin-bottom: 50px;
	border: 4px solid #f1e9e0;
	width: 252px;
	display: inline-block;
	position: relative;
	box-shadow: 8px 8px #d8cfc5;
    transition: 0.4s;
}

.voice_top .contents .box:hover {
	opacity: 0.7;
	box-shadow: 0 0 #f1e9e0;
    transition: 0.4s;
    transform: translate(7px,7px);
}

.voice_top .contents .box::after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-right: 15px solid transparent;
	border-top: 15px solid #f56b78;
	border-left: 15px solid transparent;
	position: absolute;
	bottom: 5px;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%, -50%);
}

.voice_top .contents .box p {
	font-size: 14px;
	padding: 7px 7px 30px;
	margin: 5px 0 0;
}

.after-service .mv{
	margin-bottom: 80px;
}
.after-service .lead p{
	font-size: 15px;
}

/*-- 共通 --*/
.mv{
	margin-bottom: 10px;
}

.caution {
	margin-bottom: 50px;
}

.contents {
	padding: 40px 10px;
	margin-bottom: 30px;
	background: #ffffea;
	display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.contents .message_box {
	width: 45%;
	margin-bottom: 25px;
    background: #ffffff;
    border: 4px solid #f1e9e0;
    display: inline-block;
    padding: 10px 5px;
    box-shadow: 0px 1px 6px #868686;
}

.contents .message_box .text_box img{
	width: 100%;
}

.contents .message_box:nth-of-type(4n),
.contents .message_box:nth-of-type(4n - 1) {
	border: 4px solid #f1e0e9;
	left: 0;
	right: auto;
}

.contents .message_box .text_box p{
	text-align: right;
	margin: 5px 15px;
}

.button{
	display: block;
	text-align: center;
	padding-bottom: 20px;
}

.button img{
	display: inline-block;
	margin: 0 auto;
	text-align: center;
	box-shadow: 5px 5px #b7495b;
    transition: 0.4s;
}
.button img:hover{
	box-shadow: 0 0 #b7495b;
    transition: 0.4s;
    transform: translate(7px,7px);
}

@media screen and (max-width: 480px){
	.pc{
		display: none !important;
	}
	.sp{
		display: block !important;
	}
	.lead p{
		padding: 15px 0;
	}
	.caution{
		width: 95%;
		margin: 0 auto 50px;
	}
	.contents{
		display: block;
		padding-bottom: 100px;
		margin-bottom: 100px;
	}
	.mv img,
	.contents .message_box .text_box img,
	.voice_top .contents .box img{ 
		width: 100%;
		max-width: 100% !important;
	}
	.voice_top .contents .box{
		width: 80%;
	}
	.lead {
		width: 100%;
	}
	.contents .message_box{
		width: auto;
		height: auto;
		margin-bottom: 25px;
	}/*
	.contents .message_box .text_box,
	.contents .message_box:nth-of-type(even) .text_box{
		position: static;
		margin-left: 0;
		margin-right: 0;
	}*/
	.contents .message_box:nth-of-type(4n), .contents .message_box:nth-of-type(4n - 1){
		border: 4px solid #f1e9e0;
	}
	.contents .message_box:nth-of-type(even){
		border: 4px solid #f1e0e9;
	}
	.button{
		margin-top: -190px;
		margin-bottom: 80px;
	}
}