@charset "UTF-8";
/* CSS Document */

/*----- PAGE-HEADER -----*/

.page-header{
	background-image: url("../../../images/_assets-page/contact/img-cover-sp.webp");
}

@media screen and (min-width: 768px) {
	
	.page-header{
		background-image: url("../../../images/_assets-page/contact/img-cover-pc.webp");
	}
	
}

/*----- PAGE-CONTENT -----*/

#contact div.content{
	width:100%;
	margin:0 auto;
	max-width: 1080px;
	
	box-sizing: border-box;
	padding:10px;
}

#contact div.form-content{
	width:100%;
	
	box-sizing: border-box;
	padding:10px;
	
	background-color:#fff;
	color:#222;
	
	border-radius:5px;
}

#contact div.form-content-child{
	margin-bottom:20px;
}

#contact div.form-content-child:last-child{
	margin-bottom:0;
}

@media screen and (min-width: 768px) {
	
	#contact div.content{
		padding:20px;
	}
	
	#contact div.form-content{
		padding:20px;
	}
	
	#contact div.form-content-child{
		margin-bottom:40px;
	}
	
}

/*----- FORM-CONTENT -----*/

.form-content p.caption{
	margin-bottom:20px;
}

.form-content h3{
	font-size:1.5rem;
	line-height:60px;
	
	box-sizing: border-box;
	padding-left:30px;
	
	position: relative;
}

.form-content h3::before{
	display:block;
	content:"";
	
	width:20px;
	height:1px;
	
	background-color:#000;
	
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	
	margin:auto 0;
}

.form-content div.row{
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
	
	box-sizing: border-box;
	padding-bottom:10px;
	border-bottom:solid 1px #888;
	margin-bottom:10px;
}

.form-content div.row p.que{
	width:100%;
	
	box-sizing: border-box;
	padding:10px;
	padding-left:60px;
	
	/*background-color:#f0f0f0;*/
	color:#222;
	
	position: relative;
}

.form-content div.row p.que::before{
	display:block;
	content:"";
	
	width:40px;
	height:20px;
	
	font-size:0.6rem;
	line-height:20px;
	
	text-align: center;
	
	background-color:#000;
	color:#fff;
	
	border-radius:2.5px;
	
	position: absolute;
	top:12.5px;
	left:10px;
}

.form-content div.row p.must::before{
	content:"必須";
	
	background-color:#f44;
}

.form-content div.row p.extra::before{
	content:"任意";
	
	background-color:#44f;
}

.form-content div.row div.ans{
	width:100%;
	
	box-sizing: border-box;
	padding:10px;
	
	/*background-color:#f8f8f8;*/
	color:#222;
}

.form-content div.row div.ans p.note{
	font-size:0.8rem;
	line-height:1.75em;
	color:#444;
	
	margin-top:10px;
}

@media screen and (min-width: 768px) {
	
	.form-content div.row p.que{
		width:240px;
	}
	
	.form-content div.row div.ans{
		width:calc(100% - 240px);
	}
	
}

/*/////-----BTN-ACTION-----/////*/

.btn-action{
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: center;
	
	width:100%;
}

.btn-action > p{
	width:calc(50% - 10px);
	max-width: 240px;
}

.btn-action > p:nth-child(1){
	margin-right:10px;
}

.btn-action > p:nth-child(2){
	margin-left:10px;
}

.btn-action-confirm{
	width:100%;
	text-align: center;
}

.btn-action-confirm p.btn-submit{
	width:100%;
	margin:0 auto;
	max-width: 240px;
}

.btn-action-confirm p.note{
	display:block;
	width:100%;
	
	font-size:0.8rem;
	line-height:1.75em;
	
	color:#f44;
	
	text-align: left;
	
	box-sizing: border-box;
	padding:0 10px;
	
	margin-top:10px;
}

@media screen and (min-width: 768px) {
	
	.btn-action-confirm p.note{
		text-align: center;
	}
	
}

/*----- MESSAGE-COMPLETE -----*/

.message{
	width:100%;
	
	background-color:#fff;
	
	box-sizing: border-box;
	padding:10px;
}

.message div.post-content{
	width:100%;
	margin:0 auto;
	max-width: 1080px;
	
	box-sizing: border-box;
	padding:40px 30px;
	
	background-color:#fff;
	color:#222;
}

.message div.inner{
	width:100%;
	position: relative;
}

.message div.inner span.design-top-left{
	display:block;
	
	width:80px;
	height:80px;
	
	position: absolute;
	top:-30px;
	left:-20px;
	
	background-image: url("../../../images/_assets-page/gentleman/design-frame-message.webp");
	background-repeat: no-repeat;
	background-size: 80px;
	background-position: top left;
}

.message div.inner span.design-top-right{
	display:block;
	
	width:80px;
	height:80px;
	
	position: absolute;
	top:-30px;
	right:-20px;
	
	background-image: url("../../../images/_assets-page/gentleman/design-frame-message.webp");
	background-repeat: no-repeat;
	background-size: 80px;
	background-position: top left;
	
	transform: rotate(90deg);
}

.message div.inner span.design-bottom-right{
	display:block;
	
	width:80px;
	height:80px;
	
	position: absolute;
	bottom:-30px;
	right:-20px;
	
	background-image: url("../../../images/_assets-page/gentleman/design-frame-message.webp");
	background-repeat: no-repeat;
	background-size: 80px;
	background-position: top left;
	
	transform: rotate(180deg);
}

.message div.inner span.design-bottom-left{
	display:block;
	
	width:80px;
	height:80px;
	
	position: absolute;
	bottom:-30px;
	left:-20px;
	
	background-image: url("../../../images/_assets-page/gentleman/design-frame-message.webp");
	background-repeat: no-repeat;
	background-size: 80px;
	background-position: top left;
	
	transform: rotate(270deg);
}

.message h4{
	font-size:1.25rem;
	line-height:1.5em;
	
	text-align: center;
	
	margin-bottom:20px;
}

.message p{
	font-size:0.8rem;
	line-height:1.75em;
	
	margin-bottom:10px;
}

.message h5{
	font-size:1.15rem;
	line-height:1.5em;
	
	text-align: center;
	
	color:#fd5e53;
	
	text-decoration: underline;
	text-underline-offset: 0.25rem;
	
	margin-top:10px;
}

@media screen and (min-width: 768px) {
	
	.message{
		padding:20px;
	}
	
	.message div.post-content{
		padding:40px;
	}
	
	.message div.inner span.design-top-left{
		top:-30px;
		left:-30px;
	}
	
	.message div.inner span.design-top-right{
		top:-30px;
		right:-30px;
	}
	
	.message div.inner span.design-bottom-left{
		bottom:-30px;
		left:-30px;
	}
	
	.message div.inner span.design-bottom-right{
		bottom:-30px;
		right:-30px;
	}
	
	.message h4{
		font-size:1.5rem;
		line-height:1.75em;
	}
	
	.message h4 br{
		display:none;
	}
	
	.message p{
		font-size:1.0rem;
		line-height:1.75em;
	}
	
	.message h5{
		font-size:1.25rem;
		line-height:1.75em;
	}
	
	.message h5 br:nth-child(1){
		display:none;
	}
	
}
