@charset "UTF-8";

/*-------------------------------------------------------------
  tokonavi.net  Fmail 5.100 用スタイル
  旧 inquiry.html(SFmail) の見た目に合わせるための上書き。
  fmail.css の後に読み込むこと。
-------------------------------------------------------------*/

/* ---- テーブル分割用のダミー要素は表示しない ---- */
form#fmail tr.tn_section,
form#fmail table.tn_dummy {
	display: none;
}
form#fmail[action*="mode=confirm"] > table.mailform:first-of-type {
	display: none;
}

/* ---- 入力画面のテーブル(旧 table.form と同じ) ---- */
form#fmail table.mailform {
	width: 567px;
	margin: 0 0 25px;
	padding: 0;
	border: 2px solid #bfbdb0;
	background-color: #ffffff;
	border-collapse: collapse;
}
form#fmail table.mailform tr th,
form#fmail table.mailform tr td {
	padding: 5px 10px;
	border: 0;
	font-size: 79%;
	font-weight: normal;
	color: #555555;
	text-align: left;
}
form#fmail table.mailform tr th {
	width: 32%;
	background-color: #dcdbd5;
	vertical-align: middle;
}
form#fmail table.mailform tr td {
	background-color: #f0f0f0;
}
form#fmail table.mailform tr th .name {
	vertical-align: middle;
}

/* 必須アイコン(旧と同じ位置・サイズ) */
form#fmail table div.fmail_must {
	float: right;
	margin: 0;
	width: 30px;
	height: 16px;
	overflow: hidden;
	background-image: url(../images/mfp_must.gif);
	text-indent: -9999px;
}

/* 任意項目: 「（任意）＊」を旧デザインどおりに付ける(入力画面のみ) */
form#fmail tr.tn_opt th .name:after {
	content: "（任意）";
}
form#fmail tr.tn_opt th:after {
	content: "＊";
	color: #c12905;
}

/* ---- 入力部品 ---- */
form#fmail tr.tn_w330 input.fmail,
form#fmail tr.tn_w330 textarea.fmail,
form#fmail tr.tn_w100 input.fmail {
	margin: 0 5px 0 0;
	padding: 1px 3px;
	font-size: 100%;
}
form#fmail tr.tn_w330 input.fmail,
form#fmail tr.tn_w330 textarea.fmail {
	width: 330px;
}
form#fmail tr.tn_w100 input.fmail {
	width: 100px;
}
form#fmail tr.tn_w330 textarea.fmail {
	padding: 3px;
}
form#fmail select.fmail,
form#fmail tr.tn_date select {
	padding: 0;
	font-size: 100%;
}

/* チェックボックス: 枠・背景なしの素のラベル */
form#fmail ol.fmail_checkbox_list {
	width: auto;
}
form#fmail ol.fmail_checkbox_list li {
	float: none;
	display: inline;
	margin: 0 24px 0 0;
	padding: 0;
}
form#fmail tr.tn_vertical ol.fmail_checkbox_list li {
	display: block;
	margin: 0;
}
form#fmail label.fmail_label,
form#fmail label.fmail_label_enabled,
form#fmail label.fmail_label_disabled {
	display: inline;
	float: none;
	clear: none;
	margin: 0;
	padding: 0;
	border: 0 !important;
	background: none !important;
}
form#fmail ol.fmail_checkbox_list input {
	margin: 0 3px 0 0;
}

/* エラー表示 */
form#fmail span.fmail_error {
	font-size: 100%;
}

/* ---- ボタン ---- */
form#fmail p.button {
	margin: 0;
	padding: 0;
	text-align: center;
}

/* ---- 送信完了 ---- */
div#fmail_thankspage {
	padding: 0;
	font-size: inherit;
	line-height: inherit;
}

/* ---- 見出し(h4)内のタイトルは画像ではなく文字で出す ---- */
span#fmail_title_default,
span#fmail_title_confirm,
span#fmail_title_error,
span#fmail_title_thanks {
	display: inline;
	margin: 0;
	width: auto;
	height: auto;
	overflow: visible;
	text-indent: 0;
	background: none;
}

/* ---- 確認画面(旧 sfmail.css の table.mailform を再現) ---- */
div.conBox > table.mailform {
	width: 100%;
	margin: 0 0 15px;
	padding: 1em;
	border-collapse: collapse;
	border: solid 3px #666666;
	background: none;
}
div.conBox > table.mailform tr th,
div.conBox > table.mailform tr td {
	padding: 7px 5px;
	border: solid 1px #666666;
	text-align: left;
	font-weight: normal;
	font-size: 12px;
	color: #333333;
	line-height: 1.5;
}
div.conBox > table.mailform tr th {
	width: 150px;
	background: #f3faff;
}
div.conBox > table.mailform tr td {
	background: none;
}

/* ボタン: 左右に並べて中央寄せ(旧 form#fmail p と同じ) */
div.button {
	margin: 0;
	text-align: center;
}
div.button form.fmail_cancel,
div.button form.fmail_submit {
	float: none;
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 0 3px;
	text-align: center;
	vertical-align: top;
}
div.button div.hiddenObj {
	margin: 0;
	padding: 0;
}

/* 完了画面: 旧 thank.html には「トップページへ」ボタンが無い */
p.site_top {
	display: none;
}
