@charset "utf-8";

section#contact .container {
	padding-bottom: 70px;
}

section .container {
	max-width: 900px;
	margin: 250px auto 0 auto;
}

section .container h2 {
	font-size: 50px;
	font-family: "Times New Roman";
	font-weight: bold;
	line-height: 1;
	text-align: left;
}
@media all and (min-width: 320px) and (max-width: 767px) {
	section .container h2 {
		font-size: 30px;
		font-family: "Times New Roman";
		font-weight: bold;
		line-height: 1;
		text-align: left;
	}
}
section .container h2 span {
	display: block;
	font-size: 51px;
	margin-top: 10px;
}

section .container p.catch_comment {
	margin-top: 40px;
	margin-bottom: 50px;
}

section .container p.catch_comment span {
	display: block;
}

dl.plan_select {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
	padding-top: 100px;
	padding-bottom: 70px;
}

dl {
	margin-bottom: 20px;
}

dl dt span.need {
	color: #ff0000;
	font-size: 10px;
}

span.msg {
	color: #ff0000;
}

dl.plan_select dt {
	width: 100px;
}

dl.plan_select dd {
	flex: 1;
}

dl dd input[type="text"] {
	border: 0;
	background-color: #e5e5e5;
	padding: 20px 15px;
	box-sizing: border-box;
}

dl dd.phone ul {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

dl dd.phone ul li.haifun {
	padding: 0 3px;
}

dl.plan_select ul {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
}

dl.plan_select ul li {
	width: 130px;
	text-align: center;
	position: relative;
	border-bottom: solid 0.5px #9b9a98;
	transition: all 0.4s;
}

dl.plan_select ul li.on {
	border-bottom: solid 3px #28374b;
}

dl.plan_select ul li label {
	cursor: pointer;
}

dl.plan_select ul li label span {
	padding-bottom: 20px;
	display: block;
}

dl.plan_select ul li:first-child {
	margin-right: 50px;
}

dl.plan_select label input {
	display: none;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
	background-color: #e5e5e5;
	padding: 20px 15px;
}

dd.select_area label {
	position: relative;
}

dd.select_area label:before {
	content: "";
	display: block;
	height: 15px;
	width: 15px;
	border-left: solid 0.5px #9b9a98;
	border-bottom: solid 0.5px #9b9a98;
	position: absolute;
	right: 15px;
	top: 0;
	bottom: 0;
	transform: rotate(-45deg);
	pointer-events: none;
}

dl.multi_select {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
}

dl.multi_select dt {
	width: 250px;
}

dl.multi_select dd {
	flex: 1;
}

dl.multi_select ul {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
}

dl.multi_select ul li {
	width: 130px;
	text-align: center;
	position: relative;
	border-bottom: solid 0.5px #9b9a98;
	transition: all 0.4s;
	margin-right: 10px;
	margin-bottom: 20px;
}

dl.multi_select ul li.on {
	border-bottom: solid 3px #28374b;
}

dl.multi_select ul li label {
	cursor: pointer;
}

dl.multi_select ul li label span {
	padding-bottom: 20px;
	display: block;
}

dl.multi_select label input {
	display: none;
}

dd.other input[type="text"] {
	background-color: transparent;
	border-bottom: solid 0.5px #9b9a98;
	padding: 5px 15px;
}

textarea {
	min-width: 580px;
	border: 0;
	background-color: #e5e5e5;
}

dd ul.radio input[type="radio"] {
	display: none;
}

dd ul.radio {
	justify-content: flex-start;
	display: flex;
	flex-wrap: wrap;
	margin-top: 40px;
}

dd ul.radio li:first-child label {
	background-color: #726f70;
	width: 287px;

	text-align: center;
	padding: 20px 30px 20px 20px;
	box-sizing: border-box;
	color: #fff;
	position: relative;
	font-size: 15px;
	margin-right: 20px;

	display: block;
	cursor: pointer;
}

dd ul.radio li:first-child label:before {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	background-color: #fff;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	margin: auto;
	transition: all 0.4s;
}

dd ul.radio li.on:first-child label:before {
	background-color: #28374b;
}

dd ul.radio input[type="submit"] {
	-webkit-appearance: none;
	border-radius: 0;
	background-color: #28374b;
	border: 0;
	width: 287px;
	text-align: center;
	font-size: 15px;
	padding: 20px 0;
	color: #fff;
	cursor: pointer;
}

dl.multi_select dt {
	width: 100px;
}

@media all and (min-width: 767px) {
	dl dd input[type="text"] {
		width: 580px;
	}

	dl dd.phone input[type="text"] {
		width: 187px;
	}

	select {
		min-width: 260px;
	}
}

@media all and (max-width: 769px) {
	section#contact .container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media all and (max-width: 767px) {
	section#contact .container {
		margin-top: 120px;
	}

	section .container h2 span {
		font-size: 40px;
	}

	dl.plan_select {
		padding: 30px 0;
	}

	dl dd input[type="text"] {
		width: 100%;
	}

	dl dd.phone ul {
		justify-content: space-between;
	}

	dl dd.phone ul li {
		width: 31%;
	}

	dl dd.phone ul li.haifun {
		width: 1%;
	}

	dl dd.phone ul li input {
		width: 100%;
	}

	select {
		width: 100%;
	}

	.other_title {
		display: none;
	}

	dd ul.radio {
		justify-content: space-between;
	}

	dd ul.radio li {
		width: 49%;
	}

	dd ul.radio li:first-child label {
		width: 100%;
		font-size: 10px;
		padding-right: 5px;
	}

	dd ul.radio li:first-child label:before {
		left: 5px;
	}

	dd ul.radio input[type="submit"] {
		width: 100%;
	}

	dl.plan_select dt {
		width: 100%;
	}

	dl.multi_select dt {
		width: 100%;
	}
	textarea {
		min-width: 100%;
	}	
}

h3.h3-1 {
	font-size: 1.2em;
	margin: 6em 0 2em;
	text-align: left;
}

dl.dl-1 {
	margin-top: 2em;
}

dd.dd-1 {
	font-weight: bold;
}

.preview-area {
	margin-bottom: 1rem;
}

.mg0 {
	margin-bottom: 0;
}

.mgx {
	margin: 0.2em 0 1em;
	display: inline-block;
}

@media screen and (min-width: 768px) {
	.mgx {
		margin: 0;
	}
	select {
		min-width: 580px !important;
	}
}
@media screen and (max-width: 767px) {
	select {
		width: 100% !important;
	}
}
