@charset "UTF-8";

/* ------------------------------
    mv
------------------------------ */

#mv {
	position: relative;
	background-size: cover !important;
	height: 330px;
}
#mv {
	background: url(../img/contact/bg_mv.jpg) no-repeat center center;
}
#mv h1 {
	position: absolute;
	bottom: 78px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}
#mv h1 img {
	width: 255px;
}
#mv h1 span {
	display: block;
	color: #fff;
	font-size: 2.6rem;
	font-weight: bold;
	margin-top: 15px;
}


/* ------------------------------
    message
------------------------------ */

#message h2 {
	margin-top: 20px;
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
}
#message .txt {
	max-width: 780px;
	margin: 30px auto 0;
	font-size: 1.6rem;
	line-height: 1.8;
}
#message .attention {
	max-width: 780px;
	margin: 0 auto;
	font-size: 1.4rem;
	line-height: 2.1;
}
#message .attention a {
	color: #00ada0;
	font-weight: bold;
}
#message .attention span {
	color: #ff1f1f;
}



/* ------------------------------
    form
------------------------------ */

#form {
	padding: 20px 0 50px;
}
#form table {
	max-width: 780px;
	margin: 0 auto;
	border-bottom: #bebebe 1px solid;
	border-collapse: collapse;
}
#form table th,
#form table td {
	border-top: #bebebe 1px solid;
	font-size: 1.6rem;
	line-height: 1.8;
	vertical-align: top;
	padding: 15px 0;
}
#form table th {
	font-weight: bold;
	width: 246px;
}
#form table th span {
	color: #ff1f1f;
	margin-left: 6px;
}
#form table td.trigger {
	padding: 10px 0 15px;
}
#form table td div {
	font-size: 0;
	line-height: 2.5;
}
#form table td div > * {
	display: inline-block;
	font-size: 1.6rem;
}
#form table td div > label + label {
	margin-left: 38px;
}
#form table td div > label.other {
	margin-left: 0;
	margin-right: 22px;
}

input[type="text"],
textarea {
	width: 100%;
	background: #f2f2f2;
	border: 0;
	outline: none;
	font-size: 1.6rem;
	-webkit-border-radius : 0;
	-webkit-appearance : none;
	-webkit-tap-highlight-color : rgba(0,0,0,0);
	padding: 10px;
	font-family: "Noto Sans Japanese","メイリオ",Meiryo,"Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック",'Lato',Arial,Verdana,sans-serif;
}
input[type="text"].short {
	width: 390px;
}
input[type="text"].other {
	width: 440px;
}
label input[type="checkbox"] {
	display: none;
}
label span {
	padding-left: 24px;
	position:relative;
}
label span::before {
	content: "";
	display: block;
	position: absolute;
	top: 5px;
	left: 0;
	width: 17px;
	height: 17px;
	border: 1px solid #cacbce;
}
label input[type="checkbox"]:checked + span::after {
	content: "";
	display: block;
	position: absolute;
	top: 8px;
	left: 6px;
	width: 5px;
	height: 9px;
	transform: rotate(40deg);
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
}
textarea {
  resize: vertical;
	min-height: 190px;
}
button[type="submit"] {
	border: 0;
	outline: none;
	cursor: pointer;
	margin-top: 48px;
}



@media screen and (max-width: 768px) {

	/* ------------------------------
	    mv
	------------------------------ */

	#mv {
		position: relative;
		background: none;
		height: auto;
	}
	#mv .img {
		width: 100%;
	}
	#mv h1 {
		position: absolute;
		top: 23vw;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		text-align: center;
	}
	#mv h1 img {
		width: 42%;
		max-width: 315px;
	}
	#mv h1 span {
		font-size: 2.4rem;
	}




	/* ------------------------------
		message
	------------------------------ */

	#message h2 {
		margin-top: 20px;
		font-size: 2.2rem;
	}
	#message .txt {
		width: 89.5%;
		margin: 15px auto 0;
		font-size: 1.3rem;
		line-height: 1.7;
	}
	#message .attention {
		width: 89.5%;
		margin: 0 auto;
		font-size: 1.1rem;
		line-height: 2;
	}



	/* ------------------------------
		form
	------------------------------ */

	#form {
		padding: 20px 0 20px;
	}
	#form table {
		width: 95%;
		margin: 0 auto;
	}
	#form table th,
	#form table td {
		display: block;
		width: 100%;
		border-top: none;
		font-size: 1.5rem;
		line-height: 1.8;
		padding: 6px 2.5% 10px;
	}
	#form table th {
		border-top: #bebebe 1px solid;
		padding: 10px 2.5% 0;
	}
	#form table td.trigger {
		padding: 0 2.5% 15px;
	}
	#form table td div > * {
		display: block;
		font-size: 1.5rem;
	}
	#form table td div > label {
		width: 47.5%;
	}
	#form table td div > label:nth-of-type(odd) {
		float: left;
	}
	#form table td div > label:nth-of-type(even) {
		float: right;
	}
	#form table td div > .other {
		clear: both;
	}
	#form table td div > label + label {
		margin-left: 0;
	}
	#form table td div > label.other {
		margin-left: 0;
		margin-right: auto;
		float: none;
	}
	
	input[type="text"],
	textarea {
		font-size: 1.5rem;
	}
	input[type="text"].short {
		width: 100%;
	}
	input[type="text"].other {
		width: 100%;
	}
	label span::before {
		top: 3px;
	}
	label input[type="checkbox"]:checked + span::after {
		top: 6px;
	}
	button[type="submit"] {
		margin-top: 25px;
	}
