@charset "utf-8";

#header {
	background-image: url(https://in-a-tranz.net/imgs/contact/contact_bg.jpg);
}
#mp-main {
	padding-bottom: 100px;
}
#mp-main option[selected="selected"] {
	background-color: #eeeeee;
	border-top: 1px solid #bbbbbb;
	border-bottom: 1px solid #bbbbbb;
}

#mp-main div.fieldset {
	width: 900px;
	margin: 80px auto;
}
#mp-main div.fieldset dt span.optional {
	background-image: url("../imgs/optional.png");
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 65px;
}
#mp-main div.fieldset dl {
	display: flex;
	margin-bottom: 40px;
}
#mp-main div.fieldset dl dt {
	width: 240px;
	font-weight: bold;
	font-size: 16px;
	padding-top: 12px;
}
#mp-main div.fieldset dl dt span.title {
	border-left: 4px solid #34394c;
	padding-left: 18px;
}
#mp-main div.fieldset dl dd {
	flex: 1;
}

.address_area {
	margin: 40px 0 50px 0;
	padding: 0 0 2px 0;
}
#mp-main div.fieldset .address_area dl {
	margin-left: 40px;
}
#mp-main div.fieldset .address_area dt {
	width: 200px;
	margin-bottom: -20px;
}
#mp-main div.fieldset .address_area dt span.title {
	border: none;
	padding-left: 0;
}
#mp-main div.fieldset .address_area dd {
	margin-bottom: -20px;
}

p.add_box_title {
	font-size: 16px;
	font-weight: bold;
	margin: 40px 0 20px 0;
	border-left: 4px solid #34394c;
	padding-left: 18px;
}

dd span.radioelement {
	margin-right: 20px;
}


#mp-main div.fieldset input[type="text"],
#mp-main div.fieldset textarea {
	width: 100%;
	padding: 14px 18px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
#mp-main div.fieldset textarea {
	height: 300px;
}
::placeholder {
	color: #ccc;
}
#mp-main div.fieldset dd.delimit {
	border-bottom: 1px dotted #6392b1;
}
#mp-main div.fieldset span.err {
	color: #880000;
}
#mp-main div.fieldset dl dt span.err {
	border-left: 4px solid #880000;
}
#mp-main div.fieldset input.text.err {
	background-color: #fff8f8;
	border: 1px solid #aa6666;
}
#mp-main div.fieldset input.radio.err {
	background-color: #fff8f8;
	border: 1px solid #aa6666;
}
#mp-main div.fieldset input.checkbox.err {
	background-color: #fff8f8;
	border: 1px solid #aa6666;
}
#mp-main div.fieldset textarea.err {
	background-color: #fff8f8;
	border: 1px solid #aa6666;
}
#mp-main div.fieldset select.err {
	background-color: #fff8f8;
	border: 1px solid #aa6666;
}
#mp-main div.errs {
	background-image: url("../imgs/warning.png");
	background-repeat: no-repeat;
	color: #880000;
	margin-top: 40px;
	margin-bottom: 1em;
	padding: 0px 0px 0px 30px;
	min-height: 32px;
	height: auto !important;
	height: 32px;
}

#mp-main div.fieldset dl dd input.wdh_15 {
	width: 15%;
}
#mp-main div.fieldset dl dd input.wdh_20 {
	width: 20%;
}
#mp-main div.fieldset dl dd input.wdh_30 {
	width: 30%;
}
#mp-main div.fieldset dl dd input.wdh_50 {
	width: 50%;
}
#mp-main div.fieldset dl dd input.wdh_70 {
	width: 70%;
}
select {
	width: auto;
	height: 45px;
	padding: 8px 35px 8px 10px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
}
.age_text {
	margin-left: 10px;
}

.mail_guide {
	background: #f4f4f4;
	padding: 40px;
	border-radius: 5px;
	margin-top: 40px;
}
b.red {
	color: #b31b1b;
}
.no_sales {
	background: #f8f0f0;
	padding: 20px 30px 20px 30px;
	border-radius: 5px;
	margin-bottom: 25px;
}
.no_sales p {
	font-size: 15px;
}
p.no_sales_title {
	font-weight: bold;
	font-size: 18px;
	color: #b31b1b;
	margin: 0 0 10px 0;
}
span.checkelement {
	font-size: 15px;
	font-weight: bold;
}
mark {
	background-color: #f3dfdf;
}

p.form_btn {
	text-align: center;
}
.submit {
	display: inline-block;
	width: 200px;
	padding: 12px 0;
	font-size: 1.1rem;
	text-align: center;
	color: #fff;
	background-color: #34394c;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.submit:hover {
	background-color: #555;
}

#mp-main div.fieldset dl.kakunin dt {
	padding-top: 0;
}
p.thanks {
	text-align: center;
	font-size: 16px;
	margin-top: 80px;
}
p.thanks span {
	display: block;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 20px;
}
p.thanks a {
	display: inline-block;
	margin-top: 20px;
	border-bottom: 1px dotted #ccc;
	color: #2b6891;
}

@media screen and (max-width:768px) {
	#header {
		padding: 0 4% 100px 4%;
		background: url(https://in-a-tranz.net/imgs/contact/contact_bg_sp.jpg) top 80px right no-repeat;
		background-size: 84vw auto;
		height: auto;
	}
	h1 {
		top: 590px;
	}
	p#subpage-title {
		margin-bottom: 20px;
	}
	#breadcrumbs {
		margin-top: 160px;
	}
	#main .inner {
		padding-top: 0;
	}

	#mp-main div.fieldset {
		width: 100%;
		margin: 60px auto;
	}
	#mp-main div.fieldset dl {
		display: block;
		margin-bottom: 40px;
	}
	#mp-main div.fieldset dl dt {
		margin-bottom: 10px;
	}
	#mp-main div.fieldset .address_area dl {
		margin-left: 10px;
		display: block;
	}
	#mp-main div.fieldset .address_area dt {
		width: 200px;
		margin-bottom: 10px;
	}
	#mp-main div.fieldset .address_area dd {
		margin-bottom: -20px;
	}


	#mp-main div.fieldset dl dd input.wdh_15 {
		width: 30%;
	}
	#mp-main div.fieldset dl dd input.wdh_20 {
		width: 50%;
	}
	#mp-main div.fieldset dl dd input.wdh_30 {
		width: 50%;
	}
	#mp-main div.fieldset dl dd input.wdh_50 {
		width: 100%;
	}
	#mp-main div.fieldset dl dd input.wdh_70 {
		width: 100%;
	}
	.submit {
		width: auto;
		padding: 12px 30px;
	}
	p.thanks {
		font-size: 14px;
		margin-top: 50px;
	}
	p.thanks span {
		font-size: 20px;
	}
}