@charset "utf-8";
/* CSS Document */

section.top_component_02::after {
    background: url(../images/common/back_top_yellow.svg);
}

section.footer_contact::before {
	background: url("../images/common/back_top_footer_contact_under.svg");
	top: -1px;
}


section.voice .inner_wrap {
	padding-top: 10vw;
}

.voice_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4vw 2vw;
	max-width: 1000px;
	width: 80%;
	margin: 0px auto;
}

.voice_wrap > dl {
	background: #FFF;
	border: 1px solid #E6B422;
	border-radius: 20px;
	overflow: hidden;
	width: 48%;
	display: flex;
	flex-direction: column;
	filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.16));
}

.voice_wrap > dl > dt {
	height: 25rem;
}

.voice_wrap > dl > dt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.voice_wrap > dl > dd {
	padding: 2vw 3vw;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-grow: 1;
}

.voice_ttl {
	text-align: center;
	color: #DEABD4;
	font-size: clamp(16px,2vw,20px);
	font-family: "Sawarabi Gothic", sans-serif;
}

.voice_txt {
    position: relative;
	flex-grow: 1;
}

.voice_txt p {
    position: relative;
    max-height: 100px; /* 開く前に見せたい高さを指定 */
	margin-top: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

.voice_txt:has(:checked) p {
    max-height: 100vh;
}

.voice_txt p::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #FFF;
    content: '';
}

.voice_txt:has(:checked) p::after {
    content: none;
}

.voice_txt label {
    display: flex;
	justify-content: center;
    align-items: center;
    gap: 0 4px;
    position: absolute;
	width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: .4em 1.2em;
	color: #DEABD4;
    font-size: clamp(14px,1.6vw,16px);
	cursor: pointer;
}

.voice_txt:has(:checked) label {
    display: none;
}

.voice_txt label::after {
    content: '';
	background: url("../images/common/arrow_circle_bottom.svg");
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
	width: 20px;
	height: 20px;
	right: 0px;
	top: 1px;
	position: relative;
	margin-left: 5px;
}

.voice_txt input {
    display: none;
}




@media screen and (max-width: 600px) {
	.voice_wrap > dl {
		width: 100%;
	}

	.voice_wrap > dl > dt {
		height: 17rem;
	}	
}










