@charset "utf-8";

/*============

index.css

=============*/

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

content

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

.lead-box + .section {
	margin-top: 4rem;
}

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

info-box-def

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

.content .section:not(:first-of-type) {
	margin-top: 8rem;
}

.info-box-def {
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.info-box-def a:hover {
	text-decoration: underline;
	text-underline-offset: 0.1rem;
}

.info-box-def dt {
	width: 20%;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom: solid 0.1rem #ccc;
}

.info-box-def dd {
	width: 80%;
	padding: 1.2rem 4rem;
	position: relative;
	font-weight: bold;
	border-bottom: solid 0.1rem #ccc;
}

.info-box-def dd:before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 0.3rem;
	height: calc(100% - 3rem);
	background-color: #eee;
}

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

inquiry-box

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

.inquiry-box {
	display: flex;
	justify-content: center;
	align-items: stretch;
}

.inquiry-box__unit {
	margin-top: 6rem;
}

.inquiry-box__unit:nth-of-type(even) {
	margin-left: 12rem;
}

/*============

media queries

=============*/

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

タブレット・スマホ

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

@media (max-width: 959px) {
	/* info-box-def */
	.info-box-def dt {
		width: 100%;
		justify-content: flex-start;
		border-bottom: none;
	}

	.info-box-def dt:not(:first-of-type) {
		margin-top: 4rem;
	}

	.info-box-def dd {
		width: 100%;
		padding: 0 0 0.4rem 0;
	}

	.info-box-def dd:before {
		content: none;
	}

	.info-box-def .info-box-def__icon--ksk,
	.info-box-def .info-box-def__icon--nikken {
		padding-left: 0;
		padding-top: 3rem;
	}

	.info-box-def__icon--ksk:before,
	.info-box-def__icon--nikken:before {
		top: -3rem;
		bottom: 0;
		left: 0;
		margin: auto;
	}

	/* inquiry-box */
	.inquiry-box {
		flex-direction: column;
	}

	.inquiry-box__unit:nth-of-type(even) {
		margin-left: 0;
	}
}

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

スマホ

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

@media (max-width: 519px) {
	/* info-box-def */
	.info-box-def {
		margin-left: 0;
	}
}
