@charset "utf-8";


.qa {
	max-width: 1000px;
	margin: 0 auto;
	border-top: 1px solid rgba(0, 0, 0, .1);
}

.qa-item {
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	overflow: hidden;
	position: relative;
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	transition: all 250ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.qa-item:hover,
.qa-item.open {
	background-color: rgba(0, 0, 0, .03);
}

.qa-item.close {
	height: 88px !important;
}

.qa-item:before,
.qa-item:after {
	content: "";
	display: block;
	background-color: rgba(0, 0, 0, .3);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.qa-item:before {
	width: 13px;
	height: 1px;
	right: 20px;
}

.qa-item:after {
	width: 1px;
	height: 13px;
	right: 26px;
}

.qa-item.open:after {
	opacity: 0;
}

.qa-en {
	line-height: 2rem;
	color: rgba(0, 0, 0, .5);
}

.open .qa-en {
	display: block;
}

.qa-title {
	line-height: 1.6;
	color: rgba(0, 0, 0, .6);
}

.qa-item:hover .qa-title {
	color: rgba(0, 0, 0, 1);
}

.open .qa-title {
	color: rgba(0, 0, 0, 1);
}

.qa-title:before {
	content: "";
	width: 30px;
	height: 1px;
	margin: 20px 0;
	display: block;
	background-color: rgba(0, 0, 0, .1);
	transition: all 0ms linear;
}

.qa-tex {
	display: block;
	line-height: 1.8;
	text-align: justify;
}

.qa__title {
	position: absolute;
	top: 0;
	left: 0;
	line-height: 1.6;
	transition: all 250ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.qa__wrap {
	position: relative;
	transition: all 250ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.open .qa__title {
	opacity: 0;
}

.close .qa__wrap {
	opacity: 0;
}


@media screen and ( max-width: 800px ) {

	.qa__title,
	.qa__wrap {
		padding: 20px 20px;
		padding-right: 40px;
	}

	.qa__title {
		font-size: 1.4rem;
	}

	.qa-title {
		margin: 20px 0;
		font-size: 1.8rem;
	}

	.qa-nav {
		display: block;

		& a {
			display: block;
			font-size: 1.76rem;
			font-weight: 700;
			margin-bottom: 24px;
			text-align: center;
			text-decoration: none;
		}
	}

	#qa-about,
	#qa-daycare {

		& h3 {
			background-color: #f3f4f4;
			font-size: 2rem;
			font-weight: 700;
			line-height: 2.4;
			margin: 64px auto 40px;
			max-width: 1000px;
			text-align: center;
		}
	}

	.qa-tex {
		font-size: 1.4rem;
	}

}


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

	.qa__title,
	.qa__wrap {
		padding: 30px 40px;
		padding-right: 60px;
	}

	.qa-en {
		font-size: 1.1rem;
	}

	.qa__title {
		font-size: 1.7rem;
	}

	.qa-title {
		margin: 20px 0;
		font-size: 2.4rem;
	}

	.qa-nav {
		display: flex;
		gap: 0 40px;
		justify-content: center;

		& a {
			font-size: 1.84rem;
			font-weight: 700;
			margin-bottom: 16px;
			text-decoration: none;
		}
	}

	#qa-about,
	#qa-daycare {

		& h3 {
			background-color: #f3f4f4;
			font-size: 2.4rem;
			font-weight: 700;
			line-height: 2.4;
			margin: 64px auto 40px;
			max-width: 1000px;
			text-align: center;
		}
	}

	.qa-tex {
		font-size: 1.5rem;
	}

}


/*------------------------------------*/



