/* =============================================================
  お問合せ・お見積もり
============================================================= */
/* 共通
-------------------------------------------*/
/* =============================================================
  お問い合わせ（フォーム）
============================================================= */
/* 共通
-------------------------------------------*/
/* 親cssのリセット
----------------------------*/
/* マージンの調整 */
input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
	margin: 0;
	box-sizing: border-box;
}

/*  テーブル
----------------------------*/
/* ボーダーとフォント */
.contact table {
	margin-top: -1px;
	margin-bottom: 0;
}
/* padding追加 */
.contact table th,
.contact table td {
	padding: 1rem 2rem;
}
/* thの幅とデザイン */
.contact table th {
	position: relative;
	width: 25%;
	background-color: #efefef;
	text-align: left;
	font-size: var(--vk-size-text);
	font-weight: 400;
}
/* tdの幅 */
.contact table td {
	width: 75%;
}

/* テーブル in テーブル
----------------------------*/
/* ボーダー */
.contact table table,
.contact table table th,
.contact table table td {
	border: none;
}
/* 上下マージン削除 */
.contact table table {
	margin-top: -1px;
	margin-bottom: 0;
}
/* thの背景なし、幅など調整 */
.contact table table th {
	background-color: transparent;
	width:29%;
	padding: 0.5rem 0;
}
/* 文字を上にあげる */
.contact table th.vtop {
	vertical-align: top;
	padding-top: 2.5rem;
}
.contact table table th.vtop {
	vertical-align: top;
	padding-top: 1.5rem;
}
/* 幅とパディング調整 */
.contact table table td {
	width:71%;
	padding-left: 0;
	padding-right: 0;
}
/* 注釈のみの行追加のためにマージン等調整 */
.contact table tr.size th,
.contact able tr.size td {
	padding-bottom: 0;
}
.contact table tr.size_note th,
.contact table tr.size_note td {
	padding-top: 0;
	padding-bottom: 0;
}
.contact table tr.size_note td p {
	line-height: 1.3;
	text-indent: -1em;
	padding-left: 1em;
	margin-top: 0.3rem;
}

.contact .wpcf7-form-control-wrap {
	position: relative;
	width:100%;
}

/*枚数の幅*/
.contact .sheet_number .wpcf7-form-control-wrap{
	width:auto;
	margin-right:0.5rem;
}
/*枚数の位置*/
.contact .sheet_number {
	text-align: left;
}


/* 必須・任意アイコン
----------------------------*/
/* アイコン共通（任意） */
.input_icon {
	display: inline-block;
	right: 2rem;
	top: 40%;
	font-size: 0.8rem;
	color: #fff;
	border-radius: 3px;
	background-color: gray;
	padding: 0 0.7rem 0.1rem 0.7rem;
}
/* 必須アイコン */
.input_icon.required {
	background-color: #dd0a0a;
}
.vtop .input_icon {
	top: 12%;
}

/* ファイルを添付
-------------------------------------------*/
/* ボタン周りのデザイン */
.file_btn label {
    display: block;
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: 2px solid #d2d2d0;
    background-color: #efefef;
    padding: 1rem;
}
/* hover */
.file_btn label:hover {
	background-color: #bfbfbf;
}

/* 郵便番号
----------------------------*/
/* 国名非表示 */
.p-country-name {
	display: none;
}
/* 横幅 */
.zip input {
	display: block;
	width: 8rem;
}
 /* 数字の幅 */
.p-number input {
	width: 6rem;
	margin-right: 0.5rem;
	text-align: right;
}
 /* 日付の幅 */
.p-date input {
	width: 10rem;
	margin-right: 1rem;
}

/* プレースホルダー
----------------------------*/
/* 文字色 */
input::placeholder,
textarea::placeholder {
  color: #aaa;
  line-height: 1.5;
}

/* ボタン
----------------------------*/
/* 送信ボタン */
.submit_btn_wrapper {
	text-align: center;
}
input[type=submit].submit_btn {
	width: 15rem;
	margin-top: 1.5rem;
	text-align: center;
	padding: 1rem 0;
}
.submit_btn.contents_btn {
	display: inline-block;
}

/* ラジオボタン
----------------------------*/
/* マージン調整 */
.wpcf7-list-item {
    margin-left: 2rem;
}
.form .wpcf7-radio .wpcf7-list-item.first {
    margin-left: 0;
}
/* ラジオボタン非表示に */
.form .wpcf7-radio .wpcf7-list-item input {
	display: none;
}
/* ラジオボタン再デザイン */
.form .wpcf7-radio .wpcf7-list-item-label {
  cursor: pointer;
  padding-left: 37px;
  position: relative;
}
/* 二重丸を挿入*/
.form .wpcf7-radio .wpcf7-list-item-label::before,
.form .wpcf7-radio .wpcf7-list-item-label::after {
  content: "";
  display: block;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
}
/* 外側の丸 */
.form .wpcf7-radio .wpcf7-list-item-label::before {
  background-color: #fff;
  border: 1px solid var(--vk-color-border-form);
  height: 26px;
  width: 26px;
  left: 6px;
}
/* 内側の丸（選択されるまで透明） */
.form .wpcf7-radio .wpcf7-list-item-label::after {
  background-color: var(--color-accent);
  opacity: 0;
  height: 18px;
  width: 18px;
  left: 10px;
}
/* 選択時　透明度を戻す */
.form .wpcf7-radio .wpcf7-list-item input:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}


/* 送信メッセージ・エラーメッセージ
----------------------------*/
/* 項目ごとの未入力メッセージ */
.wpcf7-not-valid-tip {
    font-size: 0.8em;
}
/* 入力エラーメッセージ（送信ボタン下　） */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	text-align: center;
	border-color: #e9adad;
	background-color: #e9adad;
	padding: 1rem;
}
/* 送信成功メッセージ（送信ボタン下） */
.wpcf7 form.sent .wpcf7-response-output {
	color: #fff;
	text-align: center;
	border-color: #46b450;
	background-color: #46b450;
	padding: 1rem;
}
/* 未入力項目の色を変える */
.wpcf7-not-valid {
	color: #630015;
	border-color: #c20c33;
	background-color: #ffd9e1;
}

/* ajaxローダー
----------------------------*/
/* 送信ボタン下のセンターに移動 */
.wpcf7-spinner {
	display: block;
	margin: 0.5rem auto;
}

/* labelのマージン
----------------------------*/
/* マージン */
.form label {
	display: block;
	margin-top: 2rem;
}
.form label:first-child {
	margin-top: 0;
}

/* ドメイン追加の注釈
----------------------------*/
.mail_domain {
	text-align: center;
	border: 1px solid #ccc;
	background-color: #f5f6f2;
	margin-top: 1rem;
	padding: 1rem;
}
.mail_domain p:first-child {
	font-weight: 600;
}
.mail_domain p + p {
	margin-top: 0.5rem;
}