@charset "utf-8";

/* ================================================================================= initialization */


/* ================================================================================= form */
#form {
width: 60%;
margin: 0 auto;
}

#form .form_note ul li {
list-style-type: disc;
margin-left: 1.5em;
line-height: 2.0;
}

#form span.required:after {
content: "※";
color: #f00;
}

#form .notes {
font-size: 90%;
}

#form table {
width: 100%;
margin: 2.5em 0 1.0em 0;
}

/* 入力画面 */
#form #form_input table th {
vertical-align: top;
width: 15.0em;
text-align: left;
padding: 0.3em;
}

#form #form_input table td {
text-align: left;
padding: 0.3em;
}

#form table td input,
#form table td select,
#form table td textarea {
font: normal 90%/1.2 'メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
padding: 0.1em;
background: #eee;
border: 2px solid #eee;
box-sizing: border-box;
}

#form table td input[type="radio"] {
background: none;
}

/* プレビュー画面 */
#form #form_preview table th {
vertical-align: top;
width: 15.0em;
text-align: left;
padding: 0.5em 0.5em;
border-top: 1px solid #5c4d41;
border-bottom: 1px solid #5c4d41;
background: #eae3db;
}

#form #form_preview table td {
text-align: left;
padding: 0.5em 0.25em;
border-top: 1px solid #5c4d41;
border-bottom: 1px solid #5c4d41;
}

/* ボタン */
#form .form_btn {
text-align: center;
margin-top: 1.0em;
}

#form .form_btn input,
#form .form_btn button {
font-size: 100%;
padding: 0.75em 1.0em;
margin: 0.5em 0;
}

#form .form_btn_preview,
#form .form_btn_submit,
#form .form_btn_input,
#form .form_btn_back {
cursor: pointer;
}

/* エラー画面 */
#form div#form_error p {
color: #f00;
font-weight: bold;
margin: 1.0em;
}

/* 送信完了画面 */
#form div#form_thx {
margin: 1.0em;
}

/* テキストエリアの長さ */
#form .form_name,
#form .form_tel,
#form .form_day,
#form .form_rtime,
#form .form_ftime {
width: 200px;
}

#form .form_email {
width: 320px;
}

#form .form_menu {
width: 240px;
}

#form table textarea {
width: 99%;
height: 6.0em;
}

/* 必須項目 */
#form table td .required {
background: #fdd;
border: 2px solid #fdd;
box-sizing: border-box;
}

/* フォーカス jquery */
#form table td .focus {
background: #feb;
border: 2px solid #f90;
box-sizing: border-box;
}

/* ツールチップ jquery */
.poshytip_form .tip-inner {
color: #333;
}


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

#form {
width: 96%;
}

#form table th,
#form table td {
display:block;
width: auto;
}

#form table th {
font-weight: bold;
margin-top: 0.5em;
}

#form #form_preview table th {
background: #eae3db;
font-weight: bold;
border: none;
}

#form #form_preview table td {
border-bottom: none;
}

#form input[type="text"] {
width: 100%; 
}

}