.section-title .text {
	font-weight: 400;
	/* letter-spacing: -0.1em; macで被る*/
}

.contact_form {
	max-width: 1140px;
	width: calc(100% - 160px);
	margin: 20px auto;
}

.must-box {
	color: #CB3333;
	font-size: 1.6rem;
	/* font-weight: bold; */
}

fieldset {
	padding: 0.35em 0.75em 0.625em 0;
	border: none;
}

.row {
	display: flex;
	flex-wrap: wrap;
}

.row>* {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: 12px;
	padding-left: 12px;
}

.row.adress .col-sm-10 {
	padding-right: 0;
}

.pt-0 {
	padding-top: 0!important;
}
.pt-2 {
	padding-top: 0.5em!important;
}
.pt-3 {
	padding-top: 1em!important;
}
.pt-4 {
    padding-top: 1.5em!important;
}
.mb-3 {
	margin-bottom: 1em!important;
}

legend {
	color: inherit;
	display: table;
	max-width: 100%;
	white-space: normal;
}

legend span.must-box {
	padding-left: 0.3em;
}

.contact-title {
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro W3", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	text-align: left;
	margin-top: 0;
	font-size: 1.4em;
	padding: 0.8em 0.8em 0.8em 0;
	font-weight: bold;
	/*letter-spacing: -0.1em; macで被る*/
}

.form-control {
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro W3", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 0.25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control-lg {
	min-height: calc(1.5em + 1rem + 2px);
	padding: 0.5rem 1rem;
	font-size: 1.4em;
	border-radius: 0.3rem;
}

.form-select {
	display: block;
	width: 100%;
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	vertical-align: middle;
	background-color: #fff;
	background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form-select-lg {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 1rem;
	font-size: 1.4em;
}

::placeholder {
	color: #aaa;
	font-weight: bold;
}

.col-auto {
	flex: 0 0 auto;
	width: auto;
}
.col-5 {
	flex: 0 0 auto;
	width: 41.6666666667%;
}

.col-form-label {
	padding-top: calc(0.5em + 1px);
	padding-bottom: calc(0.5em + 1px);
	margin-bottom: 0;
	line-height: 1.7;
}

.adress span,
.adress .col-form-label {
	margin: auto;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
	cursor: pointer;
}

fieldset button, .btn-flex a {
	font-size: 24px;
	font-weight: bold;
	display: block;
	width: 100%;
	padding: 0.5em;
	text-align: center;
	text-decoration: none;
	border: 2px solid #000;
	background-color: #fff;
	transition: .4s;
}

.post {
	position: relative;
}

.post img {
	position: absolute;
	right: 3px;
	top: 6px;
}

.contact-btn {
	display: block;
	margin: 100px auto 40px;
	width: 100%;
	max-width: 495px;
	padding: 1em;
	font-size: 1.1em;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: #000;
	-webkit-transition: color 0.3s ease;
	transition: color 0.3s ease;
	position: relative;
    z-index: 1;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.contact-btn img {
	position: absolute;
	right: 8px;
	top: 12px;
}

.contact-btn::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	-webkit-transition: -webkit-transform 0.3s ease;
	transition: -webkit-transform 0.3s ease;
	transition: transform 0.3s ease;
	transition: transform 0.3s ease, -webkit-transform 0.3s ease;
	z-index: -1;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: right top;
	transform-origin: right top;
	border: 2px solid #000;
}

.contact-btn:hover {
	color: #000;
	background-color: #fff;
}

.contact-btn:hover::before {
	-webkit-transform: scaleX(1);
	transform: scaleX(1);
	-webkit-transform-origin: left top;
	transform-origin: left top;
}

.info {
	margin-bottom: 30px;
}

.info a{
	font-weight: bold;
}

.info a:hover {
    color: #cb3333;
}

.unei {
	margin-bottom: 50px;
}

/*お問い合わせ確認画面*/
.kakunin-row{
    padding: 0.35em 0.75em 0.625em 0;
    border: none;
}

.contact-container-title{
    font-size: 2rem;
    font-weight: bold;
    color: #2E2E2E;
    margin-bottom: 30px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    margin: 50px 10px 50px 10px;
    border: 2px solid #000;
}
.kakunin-bold{
    font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro W3", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 22px;
    font-weight: bold;
    padding: 0em 0 1em;
}
.kakunin-text{
	font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro W3", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 19px;
    font-weight: normal;
    padding: 0em 0 1em;
}

.kakunin-btn-flex{
	width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 60px auto 80px;
    justify-content: center;
    align-items: center;
}

.kakunin-btn-flex a{
    display: block;
    text-align: center;
    line-height: 50px;
    font-size: 1.1em;
    font-weight: 800;
    position: relative;
    margin: 0px 10px;
    width: 360px;
    height: 50px;
    border: 2px solid #2e2e2e;
    background-color: #fff;
    color: #2e2e2e;
    z-index: 1;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.kakunin-btn-flex a:hover{
    color: #fff;
}

.kakunin-btn-flex a::before{
	content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #2e2e2e;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    z-index: -1;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right top;
    transform-origin: right top;
}
.kakunin-btn-flex a:hover::before{
	-webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left top;
    transform-origin: left top;
}

/*完了画面*/
.contact-container{
	display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 155px;
    border: 2px solid #000;
    border-radius: 20px;
    font-weight: bold;
    margin: 90px 0px;
}
.contact-container p{
    text-align: center;
    font-size: 20px;
}



@media screen and (min-width: 1024px) {
	.post {
		font-size: 1em;
	}
}

@media screen and (min-width: 768px) {
	.post {
		font-size: 0.8em;
	}
	.adress span,
	.adress .col-form-label {
		padding: 0;
	}
}

@media screen and  (min-width: 576px) {
	.col-sm-2 {
		flex: 0 0 auto;
		width: 16.6666666667%;
	}
	.col-sm-3 {
		flex: 0 0 auto;
		width: 25%;
	}
	.col-sm-4 {
		flex: 0 0 auto;
		width: 33.3333333333%;
	}
	.col-sm-5 {
		flex: 0 0 auto;
		width: 41.6666666667%;
	}
	.col-sm-6 {
		flex: 0 0 auto;
		width: 50%;
	}
	.col-sm-8 {
		flex: 0 0 auto;
		width: 66.6666666667%;
	}
	.col-sm-10 {
		flex: 0 0 auto;
		width: 83.3333333333%;
	}
}

@media screen and (max-width: 520px) {
	.contact_form {
		width: 100%;
	}

	fieldset {
		padding-right: 0;
	}

	.adress span, .adress .col-form-label {
		margin: 0 !important;
	}

	.kensaku {
		font-size: 13px;
		padding-left: 6px;
		padding-right: 6px;
		width: 46%;
	}
	
	.post img {
	    top: 8px;
	    width: 10px;
	}
	
	.zip {
		padding-left: 0;
	}
	
	.contact-btn {
		margin-top: 50px;
	}
	.col-form-label,
	.form-control-lg,
	.contact-title,
	.form-select-lg{
		font-size: 15px !important;
	}
	.mb-3{
		margin-bottom: 0px !important;
	}
	.pt-2,
	.pt-4{
		padding-top: 0px !important;
	}
	.contact-btn img{
		top: 16px;
	    width: 14px;
	}
}