@charset "utf-8";

.title-header {
	background-image: url("../images/contact/contact.jpg");
	height: 310px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #FFFFFF;
	text-shadow: 1px 1px 4px #000000;
}

.title-header-char {
	background-color: rgba(256, 256, 256, 0.94);
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
	padding-left: 50px;
	padding-right: 50px;
}

.main_image h2 {
	position: absolute;
	top: 0px;
	right: 2%;
	bottom: 0px;
	margin: auto;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: bold;
	text-shadow: 1px 1px 10px #4B2C14;
	height: 3em;
	line-height: 1.5em;
	z-index: 100;
}

.contact_content01 {
	text-align: center;
	width: 95%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 60px;
}

.content01 p:nth-of-type(n+2) {
	margin-top: 1.5em;
}

.contact{
	width: 930px;
	max-width: 90%;
	margin-top: 75px;
	margin-left: auto;
	margin-right: auto;
}

.form-area {
	display: flex;
	flex-wrap: wrap;
	background-color: #FCFCFC;
	border: 1px solid #CCCCCC;
	border-radius: 6px;
	margin-top: 25px;
	padding: 30px;
}

.form-area dt {
	width: 200px;
	padding: 15px 0;
	font-size: 15px;
	font-weight: bold;
	line-height: 24px;
}

.form-area dt .required::after {
	content: '必須';
	font-size: 11px;
	color: #eb4f32;
	margin-left: 10px;
}

.form-area dd {
	width: calc(100% - 200px);
	padding: 15px 0;
	text-align: left;
}

.input-text {
	width: 100%;
	max-width: 280px;
	height: 40px;
	padding-left: 10px;
	padding-right: 10px;
}

.select-box {
	width: 200px;
	height: 40px;
}

.checkbox-label {
	display:block;
    cursor: pointer;
	margin-left: 35px;
	text-indent: -35px;
}

.checkbox-label + .checkbox-label{
	margin-top: 12px;
}

input[type="checkbox"] {
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    cursor: pointer;
	margin: 0;
	padding-top: 18px;
	padding-bottom: 18px;
    padding-left: 35px; /*label手前にチェックボックス用の余白を開ける*/
	padding-right: auto;
    vertical-align: middle;
    position: relative;
}
 
input[type="checkbox"]::before, input[type="checkbox"]::after {
	content: "";
	display: block; 
	position: absolute;
}
 
input[type="checkbox"]::before {
	background-color: #fff;
	border-radius: 0%;
	border: 1px solid #666464;
	width: 20px; /*チェックボックスの横幅*/
	height: 20px; /*チェックボックスの縦幅*/
	transform: translateY(-50%);
	top: 50%;
	left: 5px;
}
 
input[type="checkbox"]::after {
	border-bottom: 3px solid #666464;/*チェックの太さ*/
	border-left: 3px solid #666464;/*チェックの太さ*/
	opacity: 0;/*チェック前は非表示*/
	height: 6px;/*チェックの高さ*/
	width: 11px;/*チェックの横幅*/
	transform: rotate(-45deg);
	top: 14px;/*チェック時の位置調整*/
	left: 10px;/*チェック時の位置調整*/
} 

input[type="checkbox"]:checked::after {
	opacity: 1;/*チェック後表示*/
}

.message {
	width: 100%;
	height: 160px;
	padding: 10px;
	line-height: 1.5;
}

.button-area {
	width: 100%;
	text-align: center;
}

.submit-button {
	background-color: #EFEDDE;
	display: inline-block;
	min-width: 180px;
	line-height: 48px;
	text-align: center;
	border-radius: 3pt;
	margin-top: 20px;
	cursor: pointer;
	border: 1px solid #BBBBAA;;
	font-family: var(--gothic);
	font-weight: 600;
	font-size: 18px;
}

.site-menu-right{
	display: none;
}

.footer-site-menu{
	justify-content: center;
}

.complete-message{
	font-family: var(--mincho);
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	font-size: 12pt;
	line-height: 20pt;
}

/*-- スマホ・タブレットデザイン設定 --*/
@media (max-width: 800px) {
	.title-header{
		height: 160px;
	}
	
	.title-header-char {
		padding-top: 20px;
		padding-bottom: 20px;
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.title-header-char h1{
		font-size: 20pt;
	}
	
	.contact {
		width: 500px;
		margin-top: 45px;
	}
	
	.form-area dt, .form-area dd {
		width: 100%;
	}
	
	.form-area dt {
		text-align: left;
		padding-bottom: 0;
	}
	
	.input-text {
		max-width: 100%;
	}
}