@charset "UTF-8";

a:hover {
	color: #255937;
}

.contact__color {
	color: #255937;
}

main article section {
	max-width: initial;
	padding: 80px 20px;
	margin: 0 auto;
}

main article section:nth-child(odd) {
	padding: 0 auto;
	background-color: #fff;
}

main article section:nth-child(even) {
	padding: 0 auto;
	background-color: #d3ddd7;
}

main article section > div {
	max-width: 900px;
	margin: 0 auto;
}

main article section:first-child div.bg__line {
	position: relative;
	max-width: initial;
	height: 100%;
	padding: 0 20px;
	margin: 0 auto;
}

main article section:first-child div.bg__line::before {
	position: absolute;
	top: calc(50% - 0.5px);
	left: 0;
	width: 100%;
	height: 2px;
	content: "";
	background: #255937;
}

main article section:first-child > div h2 {
	position: relative;
	display: initial;
	padding: 0 20px;
	font-family: "Zen Old Mincho", serif;
	color: #255937;
	background-color: #fff;
}

main article section h3 {
	margin-bottom: 1em;
	line-height: 1.6em;
}

main article section h4 {
	margin-top: 2em;
	margin-bottom: 1em;
	line-height: 1.6em;
	counter-reset: number3;
}

main article section h4:first-child {
	margin-top: 0;
}

main article section h5 {
	margin-bottom: 1em;
	margin-left: 1.2em;
	text-indent: -0.95em;
	counter-reset: number4;
}

main article section h6 {
	padding-left: 3.2em;
	margin-bottom: 0.5em;
	line-height: 1.6em;
	text-indent: -3.2em;
}

main article.contact table tr th,
main article.contact table tr td {
	padding: 15px;
	line-height: 1.8em;
	border: 1px solid #ccc;
}

.entry {
	display: flex;
	flex-direction: column;
	border-collapse: collapse;
	border-bottom: solid 1px #ccc;
}

.entry__flex {
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: flex-start;
	width: 100%;
	padding: 20px;
	border-spacing: initial;
	border-collapse: collapse;
	border-top: solid 1px #ccc;
	border-right: solid 1px #ccc;
	border-left: solid 1px #ccc;
}

.entry__flex input {
	width: 100%;
	padding: 0.5rem;
	font-size: 1.6rem;
	border: 1px solid #ccc;
}

.entry__flex textarea {
	width: 100%;
	padding: 0.5rem;
	font-size: 1.6rem;
	border: 1px solid #ccc;
}

.entry__privacy {
	margin-top: 40px;
}

.modPrivacy iframe {
	width: 100%;
	height: 250px;
	margin-top: 20px;
	border: solid 1px #ccc;
}

main article.contact label {
	font-size: 1.6rem;
}

main article.contact input[type="checkbox"] {
	vertical-align: initial;
	-webkit-appearance: auto;
	-moz-appearance: auto;
	appearance: auto;
	border-width: 1px;
}

aside {
	max-width: initial;
	margin: 0 auto;
}

.contact {
	width: 100%;
}

.contact__title {
	width: 100%;
	max-width: 1010px;
	margin: 40px auto 0;
}

.contact__phone {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	align-items: center;
	justify-content: space-around;
	justify-content: center;
	max-width: 400px;
	height: 200px;
	padding: 5px;
	margin: 40px auto;
	border: solid 1px #757575;
	border-radius: 10px;
}

.contact__phone .inquiry__container--title {
	margin-bottom: 0;
}

.contact__flex {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contact__flow {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	align-items: center;
	justify-content: center;
	margin-bottom: 60px;
	overflow: hidden;
}

.contact_asterisk {
	margin-bottom: 40px;
}

.write__flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 2em;
}

.write__field {
	width: 100%;
}

.write__title {
	width: 9em;
}

.write__required,
.checkbox__required {
	width: 3em;
	padding: 0.15em 0 0.25em;
	font-size: 1.4rem;
	font-weight: 400;
	color: #fff;
	text-align: center;
	background-color: #e60012;
	border-radius: 5px;
}

.checkbox__flex {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	width: 100%;
	margin: 20px 0;
	border-spacing: initial;
}

.checkbox__container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	width: 20em;
	height: 2em;
}

.write__optional,
.checkbox__optional {
	width: 3em;
	padding: 0.1em 0 0.25em;
	font-size: 1.4rem;
	font-weight: 400;
	color: #757575;
	text-align: center;
	background-color: #fff;
	border: solid 1px #757575;
	border-radius: 5px;
}

.checkbox__field input {
	margin-right: 0.5em;
}

.checkbox__field label {
	cursor: pointer;
}

.contact__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 120px;
}

.contact__btn a.btn {
	font-weight: 700;
	color: #255937;
	border: 1px solid #255937;
}

.contact__btn a.btn:hover {
	font-weight: 700;
	color: #fff;
	background: #255937;
}

.arrow::after {
	border-right: 1px solid #255937;
	border-bottom: 1px solid #255937;
}

.arrow:hover::after {
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

::-webkit-input-placeholder {
	font-weight: 400;
	color: #ccc;
}

::-moz-placeholder {
	font-weight: 400;
	color: #ccc;
}

:-ms-input-placeholder {
	font-weight: 400;
	color: #ccc;
}

::-ms-input-placeholder {
	font-weight: 400;
	color: #ccc;
}

::placeholder {
	font-weight: 400;
	color: #ccc;
}

.write--1 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_write_sp_now.svg) center center/contain no-repeat;
}

.write--2 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_check_sp.svg) center center/contain no-repeat;
}

.write--3 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_finish_sp.svg) center center/contain no-repeat;
}

.check--1 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_write_sp.svg) center center/contain no-repeat;
}

.check--2 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_check_sp_now.svg) center center/contain no-repeat;
}

.check--3 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_finish_sp.svg) center center/contain no-repeat;
}

.finish--1 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_write_sp.svg) center center/contain no-repeat;
}

.finish--2 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_check_sp.svg) center center/contain no-repeat;
}

.finish--3 {
	width: 120px;
	height: 60px;
	background: url(../img/contact/img_finish_sp_now.svg) center center/contain no-repeat;
}

.contact__subsection {
	padding: 40px 20px;
	margin: 60px auto;
	background-color: #f4f8f4;
}

.btn {
	color: #245736;
	border: 1px solid #245736;
	border-radius: 30px;
}

.btn:hover {
	color: #fff;
	background: #245736;
	border: 1px solid #245736;
	border-radius: 30px;
}

.contact__check {
	display: flex;
	flex-direction: column;
	gap: 20px;
	justify-content: space-between;
}

.formTable {
	width: 100%;
	margin-top: 20px;
}

.formTable th {
	width: 40%;
	background-color: #f7f9f7;
}

@media print,
screen and (min-width: 768px) {
	.entry__flex {
		flex-direction: row;
		gap: 20px;
		align-items: center;
	}

	.write__field {
		width: calc(100% - 12em);
	}

	.write__flex {
		width: 12em;
	}

	.checkbox__flex {
		flex-direction: row;
	}

	.contact__flow {
		justify-content: space-between;
	}

	.write--1 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_write_now.svg) center center/contain no-repeat;
	}

	.write--2 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_check.svg) center center/contain no-repeat;
	}

	.write--3 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_finish.svg) center center/contain no-repeat;
	}

	.check--1 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_write.svg) center center/contain no-repeat;
	}

	.check--2 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_check_now.svg) center center/contain no-repeat;
	}

	.check--3 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_finish.svg) center center/contain no-repeat;
	}

	.finish--1 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_write.svg) center center/contain no-repeat;
	}

	.finish--2 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_check.svg) center center/contain no-repeat;
	}

	.finish--3 {
		width: 300px;
		height: 60px;
		background: url(../img/contact/img_finish_now.svg) center center/contain no-repeat;
	}

	.contact__check {
		flex-direction: row;
	}
}
