@charset "UTF-8";
/* PCページ */
@media screen and (min-width: 768px){
main{
	padding-top: 114px;
}
/* ページタイトル */
.page-title::after{
	background-image : url(img/contact-1.jpg);
}
.page-text::after{
	position: absolute;
	content: "";
	background-image : url(img/24265763_s.jpg);
	background-size: contain;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.5;
	top: 0;
}
.page-text::before{
	position: absolute;
	content: "";
	background: #8b837c;
	opacity: 0.1;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: -2;
}
/* メインタイトル */
.main-title{
	padding-top: 60px;
}
.sub-title{
	display: inline-grid;
	justify-items: center;
	font-size: 25px;
}
.sub-title::after{
	position: absolute;
	content: "";
	background: linear-gradient(90deg, #8b837c 0%, #8b837c 50%, #d8d8d8 50%, #d8d8d8 100%);
	width: 100%;
	height: 1px;
	bottom: 0;
}
/* お問い合わせ */
.contact1{
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	padding: 0 4vw 80px;
	position: relative;
	opacity: 0;
	transition: opacity 1.4s, transform 1s;
	transform: translateY(20px);
}
.contact1.run{
	opacity: 1;
	transform: translateY(0);
}
.contact1::after{
	position: absolute;
	content: "";
	background: #f9f8f8;
	width: calc(100vw - 20px);
	height: 40%;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}
.contact1-in1{
	width: 100%;
	max-width: 1380px;
	margin: 80px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-items: center;
	align-items: start;
	text-align: center;
	border: 1px solid #d8d8d8;
	padding: 50px 0;
	background: #fff;
	position: relative;
}
.contact1-in1::after{
	position: absolute;
	content: "";
	border-right: 1px solid #d8d8d8;
	width: 1px;
	height: calc(100% - 90px);
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.contact1-in1 div{
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 0 4vw;
	text-align: center;
}
.contact1-in1 p{
	margin: 0;
}
.contact1-in1 p:nth-child(2){
	padding: 20px 0;
	text-align: left;
	display: inline-block;
}
.contact1-in1 div:first-child p:nth-child(3){
	font-family: "Century Gothic" , Verdana,Arial , sans-serif;
	font-size: min(4vw, 42px);
	font-weight: bold;
	color: #545454;
}
.contact1-in1 div:first-child p:nth-child(3) span{
	font-size: min(3vw, 30px);
}
.contact1-in1 div:first-child p:last-child{
	font-size: 20px;
}
.contact-btn{
	display: grid;
	justify-items: center;
	align-items: center;
	background: #8b837c;
	border-radius: 4px;
	width: 100%;
	max-width: 220px;
	margin: 0 auto;
	position: relative;
}
.contact-btn::after{
	position: absolute;
	content: "";
	background: #fff;
	width: 0;
	height: 100%;
	opacity: 0;
	transition: .3s;
	overflow: hidden;
	left: 0;
}
.contact-btn:hover::after{
	opacity: 1;
	width: 100%;
}
.contact-btn a{
	display: grid;
	justify-content: align-content;
	align-items: center;
	width: 100%;
	padding: 10px;
	color: #fff;
	border: 1px solid #8b837c;
	border-radius: 4px;
	z-index: 1;
	position: relative;
}
.contact-btn a::before,.contact-btn a::after{
	position: absolute;
	content: "";
	background: #fff;
	right: 1em;
	transition: .3s;
}
.contact-btn a::before{
	width: 20px;
	height: 1px;
	top: 23px;
}
.contact-btn a::after{
	width: 5px;
	height: 1px;
	transform: rotate(45deg);
	top: 22px;
}
.contact-btn a:hover{
	color: #8b837c;
	transition: .3s;
}
.contact-btn a:hover::before,.contact-btn a:hover::after{
	background: #8b837c;
	right: -11px;
}
.contact1-in1 div:last-child p:nth-child(2){
	padding-bottom: 35px;
}
}
/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1024px){
main{
	padding-top: 79px;
}
}
/*スマホページ */
@media screen and (max-width: 768px){
main{
	padding-top: 72px;
}
/* ページタイトル */
.page-title::after{
	background-image : url(img/contact-1.jpg);
}
.page-text::after{
	position: absolute;
	content: "";
	background-image : url(img/24265763_s.jpg);
	background-size: contain;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.5;
	top: 0;
}
.page-text::before{
	position: absolute;
	content: "";
	background: #8b837c;
	opacity: 0.1;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: -2;
}
.sub-title{
	display: inline-grid;
}
.sub-title::after{
	position: absolute;
	content: "";
	background: linear-gradient(90deg, #8b837c 0%, #8b837c 50%, #d8d8d8 50%, #d8d8d8 100%);
	width: 100%;
	height: 1px;
	bottom: 0;
}
/* お問い合わせ */
.contact1{
	padding: 0 20px;
	margin: 0 auto;
	position: relative;
}
.contact1::after{
	position: absolute;
	content: "";
	border-bottom: 1px solid #d8d8d8;
	width: calc(100% - 130px);
	height: 1px;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.contact1-in1{
	margin: 50px auto;
	display: grid;
	justify-items: center;
	border: 1px solid #d8d8d8;
}
.contact1-in1 div{
	display: grid;
	justify-items: center;
	padding: 30px 0 35px;
	text-align :center;
}
.contact1-in1 p{
	margin: 0;
}
.contact1-in1 div:first-child p:nth-child(2),.contact1-in1 div:last-child p:nth-child(2){
	padding: 20px 0;
	text-align: left;
	display: inline-block;
}
.contact1-in1 div:first-child p:nth-child(3){
	font-family: 'Arial' , 'Hiragino Sans' , 'MS Gothic' , sans-serif;
	font-weight: bold;
	font-size: 30px;
	color: #545454;
}
.contact1-in1 div:first-child p:nth-child(3) span{
	font-size: 18px;
}
.contact-btn{
	width: 100%;
	max-width: 200px;
	display: grid;
	justify-items: center;
	align-items: center;
}
.contact-btn a{
	display: grid;
	justify-items: center;
	align-items: center;
	background: #8b837c;
	border-radius: 4px;
	color: #fff;
	padding: 10px;
	width: 100%;
	position: relative;
}
.contact-btn a::after{
	position: absolute;
	content: "";
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: skew(45deg);
	width: 20px;
	height: 4px;
	right: 10px;
	top: 20px;
}
.contact-btn:hover{
	opacity: 0.8;
	transition: .3s;
}
}