@charset "utf-8";

/* -------------------- contact PC -------------------- */

/* ----- top画像 -----*/

.subpage_top {
	width: 100%;
	height: 180px;
	background-image: url(../img/contact/contact_top.png);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	background-color: #3cb4cb;
	display: table;
}

.subpage_top h2 {
	display: table-cell;
	width: 100%;
	height: 180px;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	font-size: 32px;
	font-weight: normal;
	line-height: 1.2em;
	padding: 0 80px;
}

/* ----- お問い合わせ全体 -----*/

.contact {
	width: 1000px;
	margin: 60px auto 0px;
}

.contact h3 {
	font-size: 30px;
	margin-bottom: 20px;
}

/* ----- お問い合わせエリア -----*/

.contact_form {
	width: 100%;
}

.contact_form tr {
	border-bottom: 1px solid #d0d0d0;
}

.contact_form tr:last-child {
	border-bottom: none;
}

.contact_form th {
	width: 330px;
    font-size: 20px;
    color: #232323;
    font-weight: 700;
	text-align: left;
	vertical-align: middle;
    position: relative;
}

.contact_form th span {
	display: inline-block;
	margin-right: 10px;
	color: #9B0103;
    opacity: 0.5;
    font-weight: 400;
	padding: 3px 4px;
	line-height: 1em;
    position: absolute;
    right: 0;
}

.contact_form .va_top {
	vertical-align: top;
	padding-top: 30px;
}

.contact_form td {
	padding: 30px 0;
}

.contact_form td .radio_btn {
	font-size: 0;
}

.contact_form td  ul {
    padding: 0;
}

.st_flex {
  display : flex;
  flex-wrap : wrap;
  margin-bottom: 0;
  margin-top: 7px;      
}

.st_flex li {
    margin-right: 30px;
}

.st_flex li input[type=text] {
    margin-top: -17px;
}

.spacer {
    width: 100%;
}

.check-inline {
    display: inline-flex !important;
}

.contact_form td .radio_btn li {
	display: block;
	margin-bottom: 20px;
	font-size: 20px;
	line-height: 1em;
}

.contact_form td .radio_btn li:last-child {
	margin-bottom: 0;
}

.contact_form td .privacypolicy_box {
	width: -webkit-calc(100% - 42px);
	width: calc(100% - 42px);
	height: 180px;
	overflow: hidden;
	overflow-y: scroll;
	overflow-x: hidden;
	border: 1px solid #d0d0d0;
	border-radius: 2px;
	margin-bottom: 20px;
	padding: 20px 20px 0;
}

.contact_form td .privacypolicy_box h4 {
	font-size: 20px;
	margin-bottom: 20px;
}

.contact_form td .privacypolicy_box p {
	margin-bottom: 20px;
}

.agree_check > p {
	margin-bottom: 15px;
	font-weight: bold;
}

.contact_box {
  margin-top: 30px;
}

/* テキスト入力 */

.contact_form td input[type=text],
.contact_form td input[type=tel] {
	width: 100%;
	padding: 8px 20px;
    height: 70px;
	background-color: #ffffff;
	font-size: 18px;
    border: 1px solid #a3a3a3;
}

.contact_form td input.postal_code {
	width: 240px;
}

.contact_form td input.date {
	width: 50px;
}

.contact_form td .shortForm {
  width: 10% !important;
}

/* 複数行入力欄 */

.contact_form td textarea {
	width: 100%;
    height: 253px;
	padding: 15px 20px;
	background-color: #ffffff;
	font-size: 16px;
    border: 1px solid #a3a3a3;
}

/* セレクトボックス */

.contact_form td span.time_zone {
	padding-right: 10px;
}

.contact_form td select {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #a3a3a3;
    border-radius: 0;
    background-image: url(../images/faq-down-arr.png);
    background-repeat: no-repeat;
    background-position: 96% 50%;
}

.contact_form td select::-ms-expand {
	display: none;
}

/* ラジオボタン */
label {
    margin-bottom: 0 !important;
}

label.radio input[type="radio"] {
  appearance: none;
  display: none;
  opacity: 0;
  width: 1px;
  position: absolute;
  height: 1px;
}
label.radio input[type="radio"] + span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  padding: 5px 11px 10px 45px;
  border-radius: 4px;
  font-size: 20px;
}
label.radio input[type="radio"] + span::before,
label.radio input[type="radio"] + span::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  margin: auto 10px auto 0;
  box-sizing: border-box;
}
label.radio input[type="radio"] + span::before {
  height: 25px;
  width: 25px;
  background-color: #dbdbdb;
  left: 9px;
}
label.radio input[type="radio"] + span::after {
  width: 8px;
  height: 8px;
  background: #999999;
  top: 1px;
  left: 18px;
  opacity: 0;
}
label.radio input[type="radio"]:checked + span::before {
  background-color: #82213c;
  border-color: #82213c;
}
label.radio input[type="radio"]:checked + span::after {
  opacity: 1;
  background: #fff;
}
@media (max-width: 650px) {
  label.radio input[type="radio"] + span {
    padding: 10px 11px 8px 45px;
      font-size: 20px;
  }
}


/* チェックボックス */

label.checkbox {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	padding-left: 32px;
	display: inline-block;
	box-sizing: border-box;
	line-height: 1.5em;
}

label.checkbox:before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	left: 0px;
	top: 0;
	border: 2px solid #bbb;
	border-radius: 3px;
	z-index: 3;
}

label.checkbox:after {
	content: '';
	position: absolute;
	top: 10px;
	left: 7px;
	display: block;
	margin-top: -8px;
	width: 8px;
	height: 12px;
	border-right: 3px solid #3cb4cb;
	border-bottom: 3px solid #3cb4cb;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	z-index: 1;
}

label.checkbox input[type="checkbox"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	position: absolute;
	left: -40px;
	width: 20px;
	height: 20px;
	display: block;
	box-shadow: 41px 0px #FFF;
	z-index: 2;
	margin: 0px;
	padding: 0px;
}

label.checkbox input[type="checkbox"]:checked {
	box-shadow: none;
}

label.checkbox input[type="checkbox"]:checked:focus {
	box-shadow: 40px 0px #fff;
	opacity: 0.1;
}

label.checkbox input[type="checkbox"]:focus {
	box-shadow: 41px 0px #fff;
}

.radio_plus {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* ファイルアップロード */

.file_btn_msg {
	display: inline-block;
	margin-left: 5px;
    color: #9B0103;
}

.file_num {
    color: #232323 !important;
    float: none !important;
    position: unset !important;
    opacity: 1.0 !important;
}

.file-box {
  margin-top: 20px;
    padding-bottom: 20px;
    display: flex;
}
.file-box .file-upload_area {
  margin-bottom: 20px;
  position: relative;
}
.file-upload_area .file-upload_input {
    margin-left: 120px;
    color: #9B0103;
    line-height: 300%;
    font-size: 1.143em;
}

.file-tit {
    width: 330px;
    font-size: 20px;
    color: #232323;
    font-weight: 700;
    text-align: left;
    line-height: 300%;
    margin-bottom: 0;
}

.file-tit span {
    font-weight: 400;
    padding: 3px 4px;
}

.file-box .file-upload_input::before {
    background: #a7a7a7;
    border: 1px solid #070707;
    box-shadow: 0 2px 0 rgb(0 0 0 / 55%);
    color: #232323;
    content: 'ファイルを選択する';
    font-weight: 400;
    left: 0;
    padding: 10px 18px;
    position: absolute;
    top: -8px;
    cursor: pointer;
    width: 100%;
    max-width: 270px;
    text-align: center;
    }
.file_btn {
    font-size: 1.25em;
    font-weight: 400;
    background-color: #a7a7a7;
    display: inline-block;
    padding: 25px 18px;
    border: 1px solid #070707;
    box-shadow: 0 2px 0 rgb(0 0 0 / 55%);
    cursor: pointer;
    width: 100%;
    max-width: 270px;
    position: relative;
}

.file-box input[type="file"]::-webkit-file-upload-button {
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(transparent));
    background-color: transparent;
    border: 0;
    margin: 0 20px 0 0;
  }

.fileChoice {
    display: flex;
}

.fileChoice #btn01,.fileChoice #btn02,.fileChoice #btn03 {
    cursor: pointer;
    padding: 10px 18px;
    display: inline-block;
    background: #a7a7a7;
    border: 1px solid #070707;
    box-shadow: 0 2px 0 rgb(0 0 0 / 55%);
    color: #232323;
    font-weight: 400;
    width: 270px;
    text-align: center;
    line-height: 300%;
    font-size: 1.143em;
    margin-right: 10px;
}
.fileChoice input {
    background: none;
    box-shadow: none;
    border: none;
    line-height: 300%;
    font-size: 1.143em;
}
.fileChoice input::placeholder {
  color: #9B0103;
}

.fileBox #app {
    width: 400px;
    margin: 40px auto;
    padding: 28px;
    line-height: 1.5;
    border: 1px solid #ffffff;
    border-radius: 5px;
    background-color: transparent;
    box-shadow: 2px 2px 5px 0px rgba(200,200,200,1);
    font-family: 'Times New Roman';
}

.fileBox label {
    padding: 10px 40px;
    color: #ffffff;
    background-color: #384878;
    cursor: pointer;
}

.fileBox input[type="file"] {
    display: none;
}

.fileBox p {
    margin: 10px 0 0 0;    
}

/* 送信ボタン */

.formBtn button {
	display: block;
    text-decoration: none;
    width: 100%;
	height: 70px;
    line-height: 62px;
    text-align: center;
	background-color: #82213c;
	color: #fff;
	border-radius: 3px;
	font-size: 18px;
	margin: 0 auto 25px;
	cursor: pointer;
    background-image: url(../images/btn-arrow.svg);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    filter:alpha(opacity=70);
    -ms-filter:"alpha(opacity=70)";
    border: none;
    box-shadow: 0 4px 0 #5f001a;
}


/* ----- 送信完了 -----*/

.thanks {
	width: 1000px;
	margin: 80px auto;
}

.thanks h3 {
	text-align: center;
	font-size: 26px;
	margin-bottom: 40px;
}

.thanks_msg {
	text-align: center;
}

/* ----- バリデーション用 -----*/

.contact_form td.error input[type=text]{
	background-color: #ffcccc;
}

p.error {
	color: #df0000;
	font-weight: bold;
	margin-bottom: 5px;
    font-size: 16px;
}

.contact_form td li.error label.checkbox {
	background-color: #ffcccc;
}

#system1,#system2 {
    display: inline-grid;
}
#system1 span,#system2 span {
    padding: 8px 0 0 20px;
    color: #a3a3a3;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
}
/*-----ラジオボタンで表示する部分-----*/

/*#system1,#system2 {
  display: none;
  margin-top: 7px;
}

#system1 input[type=text],#system2 input[type=text] {
  margin-top: 7px;
}

#system1 span,#system2 span {
  font-weight: bold;
}
*/

/*------フォーム追加機能------*/
.form-block {
  position: relative;
}

.form-block .close {
    background-color: #ffffff;
    border-radius: 50%;
    color: #454545;
    display: inline-block;
    font-size: 18px;
    height: 30px;
    line-height: 24px;
    text-align: center;
    top: 20px;
    position: absolute;
    right: 20px;
    width: 30px;
    cursor: pointer;
    border: 3px solid #454545;
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
}

.plusBtn {
  text-align: center;
  margin-top: 10px;
}

.form-block .add {
    background-image: url(../images/btn-plus.png);
    display: block;
    margin: auto;
    color: #fff!important;
    background-color: #454545;
    padding: 20px !important;
    width: 450px;
    margin-top: 40px;
    background-repeat: no-repeat;
    background-position: 95% 50%;
    border-radius: 3px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.form-block .add:hover {
    opacity: 0.5;
}

.tr_none{
    border: none !important;
}

/*------買取同意書------*/
.contact_form .DL a {
    display: block;
    width: 170px;
    line-height: 56px;
    color: #666;
    background: #f0f0f0;
    border: 2px solid #dedede;
    border-radius: 3px;
    text-align: center;
    position: relative;
    text-decoration: none;
    padding-left: 30px;
}
.contact_form .DL a img {
    width: 15%;
    margin-right: 5px;
    position: absolute;
    top: 10px;
    left: 35px;
}


/* -------------------- SP -------------------- */

@media only screen and (max-width: 1023px) {
	
	/* ----- お問い合わせ全体 -----*/

	.contact {
		width: -webkit-calc(100% - 40px);
		width: calc(100% - 40px);
		font-size: 14px;
		line-height: 1.5em;
	}

	.contact h3 {
		font-size: 24px;
	}
	
	/* ----- お問い合わせエリア -----*/

	.contact_form th {
		width: 25%;
		padding-right: 20px;
	}
	
	.contact_form th span {
		font-size: 17px;
	}

	.contact_form td .privacypolicy_box h4 {
		font-size: 18px;
	}
	
	.contact_form td .radio_btn li {
		font-size: 14px;
	}
	


	/* 複数行入力欄 */

	.contact_form td textarea {
		font-size: 14px;
		line-height: 1.5em;
	}

	/* ラジオボタン */

	label.radio {
		font-size: 14px;
		line-height: 1.6em;
	}
	
	label.radio:before {
		width: 18px;
		height: 18px;
	}

	label.radio:after {
		width: 12px;
		height: 12px;
	}
    
    .radio-area {
        padding-top: 0px !important;
    }

	/* チェックボックス */

	label.checkbox {
		font-size: 14px;
		line-height: 1.6em;
	}
	
	label.checkbox:before {
		width: 18px;
		height: 18px;
	}
    
    /* フォーム追加 */
    
    .form-block .add {
        width: 100%;
    }

	label.checkbox:after {
		width: 6px;
		height: 10px;
	}

	/* ファイルアップロード */

	.file_btn {
		font-size: 15px;
	}
	
	.file_btn_msg {
		font-size: 17px;
        color: #9B0103;
        font-weight: 400;
        opacity: 1;
	}
    
    .row label {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .file-box,.fileChoice {
        display: block;
    }

	/* 送信ボタン */

	.contact_area button {
		font-size: 15px;
	}
	
	/* ----- 送信完了 -----*/

	.thanks {
		width: -webkit-calc(100% - 40px);
		width: calc(100% - 40px);
		font-size: 14px;
		line-height: 1.5em;
	}

	.thanks h3 {
		font-size: 24px;
	}
	
	/* ----- バリデーション用 -----*/

    .contact_form td p.error {
        font-size: 14px;
    }
    
	/* ----- 買取同意書 -----*/
    .contact_form .DL a {
    width: 94%;
    padding-left: 15px;
    line-height: 48px;
    }
    .contact_form .DL a img {
    width: 8%;
    left: 95px;
    }
}

@media only screen and (max-width: 767px) {
	
	/* ----- お問い合わせ全体 -----*/

	.contact {
		margin: 40px auto 60px;
	}

	.contact h3 {
		font-size: 20px;
		margin-bottom: 10px;
	}
	
	/* ----- お問い合わせエリア -----*/
	
	.contact_area {
		margin-top: 10px;
	}

	.contact_form th {
		display: block;
		width: 100%;
		padding-top: 20px;
		padding-right: 0;
        padding-bottom: 20px;
        font-size: 17px;
	}

	.contact_form th span {
		margin-left: 15px;
        font-size: 17px;
        right: auto;
	}

	.contact_form .va_top {
		padding-top: 20px;
	}

	.contact_form td {
		display: block;
		width: 100%;
		padding: 0 0 20px;
	}

	.contact_form td .notes {
		margin-top: 10px;
	}

	.contact_form td .privacypolicy_box {
		width: -webkit-calc(100% - 32px);
		width: calc(100% - 32px);
		height: 140px;
		margin-top: 10px;
		padding: 20px 15px 0;
	}

	.contact_form td .privacypolicy_box h4 {
		font-size: 16px;
		margin-bottom: 10px;
	}
    
    .st_flex {
        display: block;
    }
    
    .st_flex li {
        margin-right: 20px;
    }
    
    .st_flex li input[type=text] {
        margin-left: 10px;
        margin-right: 10px;
    }
	
	/* テキスト入力 */

	.contact_form td input[type=text] {
		width: 100%;
		padding: 15px 10px;
	}
	
	.contact_form td input.date {
		width: 50px !important;
	}

	/* 複数行入力欄 */

	.contact_form td textarea {
		width: 100%;
		padding: 15px 10px;
	}
	
	/* セレクトボックス */
	
	.contact_form td span.time_zone {
		display: block;
		padding-right: 0;
		margin-bottom: 10px;
	}
	
	.contact_form td select {
		display: block;
		width: 100%;
		height: 70px;
		padding: 15px 10px;
	}
	
	/* ファイルアップロード */
	
	/* 送信ボタン */

	.contact_area button {
		width: 80%;
		height: 50px;
		line-height: 52px;
		font-size: 14px;
		margin: 30px auto 0;
	}
	
	/* ----- 送信完了 -----*/

	.thanks {
		margin: 60px auto;
	}

	.thanks h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}
}

@media only screen and (max-width: 320px) {
	
	/* ----- お問い合わせ全体 -----*/
	
	.contact {
		font-size: 12px;
	}

	.contact h3 {
		font-size: 18px;
	}
	
	/* ----- お問い合わせエリア -----*/
	
	.contact_form th span {
		font-size: 11px;
	}
	
	.contact_form td .privacypolicy_box {
		height: 120px;
		margin-top: 0;
	}

	/* テキスト入力 */

	.contact_form td input[type=text] {
		padding: 12px 10px;
		font-size: 12px;
	}
	

	/* 複数行入力欄 */

	.contact_form td textarea {
		padding: 12px 10px;
	}
	
	/* セレクトボックス */
	
	.contact_form td select {
		height: 46px;
		padding: 10px;
		font-size: 12px;
	}
	
	/* ラジオボタン */

	label.radio {
		padding-left: 24px;
		font-size: 12px;
		line-height: 1.5em;
	}
	
	label.radio:before {
		width: 14px;
		height: 14px;
	}

	label.radio:after {
		width: 10px;
		height: 10px;
		left: 4px;
		top: 4px;
	}

	/* チェックボックス */

	label.checkbox {
		font-size: 12px;
		line-height: 1.7em;
	}
	
	label.checkbox:before {
		width: 16px;
		height: 16px;
	}

	label.checkbox:after {
		top: 11px;
		width: 4px;
		height: 8px;
	}

	/* ファイルアップロード */

	.file_btn {
		width: 42%;
		height: 44px;
		line-height: 46px;
		font-size: 12px;
	}
	
	.file_btn_msg {
		font-size: 12px;
	}
	
	/* ----- 送信完了 -----*/

	.thanks {
		margin: 40px auto 60px;
		font-size: 12px;
	}

	.thanks h3 {
		font-size: 18px;
	}
	
	/* ----- バリデーション用 -----*/

	.contact_form td p.error {
		font-size: 12px;
	}

}

/* recaptchaのロゴを消す */
.grecaptcha-badge { visibility: hidden; }