* {padding:0;margin:0;}

a:link {color: #993333;text-decoration: none;}
a:visited {text-decoration:none;color: #999999;}
a:active {color: #999999;}
a:hover {text-decoration: underline;color: #993333;}

body {background-color:#FFF7F7; font-size:12px; line-height:135%; }
form {margin:0px;}
input {margin:2px 0px;}

.right { text-align:right; }
.center { text-align:center; }
.left { text-align:left; }
.error { color:#F00; }
.attention { width:600px; border:solid 1px #F00;background-color:#FEE;padding:5px 15px;margin:5px auto 15px;}

#wrapper { }
#main { margin:0 auto ; width:600px; padding: 10px; background-color:#FFFFFF; }
#main table { margin:0 auto 5px; font-size:1em; }

#title { margin:6px 0;padding:8px 16px;font-weight:bold;font-size:1.4em;text-align:center; }

/* 重要な注意事項 */
#attention { padding:3px; }

/* ローディング */
#loading { display:none;text-align:center; }

/* メインコンテンツ */

/* グローバルエラー */
.global-error { padding:8px 16px; margin:10px auto; }

/* フェーズエラー */
.phase-error { padding:8px 16px; margin:10px auto; }

/* IE readonly属性用 */
input.readonly { background-color: #CCCCCC; border: 1px solid #7f9db9; }

/* 入力用テーブル */
.input-table { border:1px solid #CCCCCC; margin-bottom:10px; width:600px; }
.input-table th { padding:3px; border-left:1px solid #FFFFFF; border-top:1px solid #FFFFFF; border-right:1px solid #D3D3D3;border-bottom:1px solid #D3D3D3;background-color:#E6E6E6; }
.input-table td { padding:3px; border-right:1px solid #D3D3D3; border-bottom:1px solid #D3D3D3; }
/*
.input-table td:last-child { border-right:none; }
*/
.input-table tbody >tr:last-child > td { border-bottom:none; }
.input-table input.ui-button { padding:0.2em 0.6em; }
.input-table textarea {font-size:1em;width:98%;}

.button {text-align:center;}
.button input {padding:3px 5px;}

#radio { text-align:center; }
.direction { display:block;text-align:center;width:85px;float:left;padding:5px;border:outset 1px #999999;margin: 0 auto; }
.dir_1 {width:40px;height:60px;margin:0 auto;border:solid 1px #000000;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
.dir_2 {width:60px;height:40px;margin:10px auto;border:solid 1px #000000;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
.dir_1_selected {width:40px;height:60px;margin:0 auto;border:solid 1px #000000;background-color:#ffeeee;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
.dir_2_selected {width:60px;height:40px;margin:0 auto;border:solid 1px #000000;background-color:#ffeeee;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
.non-select { background-color:#CCCCCC; border:inset 1px #999999; }

#form_add {text-align:left;color:#333;}
#form_add table {border:solid 1px #CCC;margin:2px 0;width:100%;}
#form_add tbody {text-align:left;}

#form_add td.topnavi {color:#000;text-align:center;}
#form_add th {background-color:#CCC;padding:3px;vartical-align:middle;width:150px;font-weight:normal;}
#form_add td {background-color:#FFF;padding:3px;vartical-align:top;}

#form_add p {font-size:1em;line-height:150%;}
#form_add table p {font-size:1em;line-height:135%;}

#form_add .dir_1 {width:40px;height:60px;margin:0 auto;border:solid 1px #000000;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
#form_add .dir_2 {width:60px;height:40px;margin:0 auto;border:solid 1px #000000;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
#form_add .dir_1_selected {width:40px;height:60px;margin:0 auto;border:solid 1px #000000;background-color:#ffeeee;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
#form_add .dir_2_selected {width:60px;height:40px;margin:0 auto;border:solid 1px #000000;background-color:#ffeeee;background-image: url("../images/22person.gif");background-repeat:no-repeat;background-position: center top;}
#form_add textarea {font-size:1em;width:98%;}

p.msg {line-height:150%;margin:10px;}

table.admin_table {background-color:#333333;width:100%;font-size:100%;}
tbody.admin_table {background-color:#FFFFFF;}

table.page_phase {width:100%;font-size:100%;}
tbody.page_phase {}

table.setting {background-color:#CCCCCC;width:100%;font-size:100%;}
tbody.setting {background-color:#FFFFFF;}

tr.flag_on { background-color:#CCCCCC; }
tr.flag_off { background-color:#FFFFFF; }
tr.invisible { background-color:#999999;}
.search { display:inline;text-align:left; }

div.comment {background-color:#ff0000;color:#FFFFFF;padding:3px;}

.nenga-img { display: inline-bloack; width: 185px; height: 200px; margin:1px; float:left; }
.nenga-img img { background-color:#eee; border:solid 1px #ccc; cursor: pointer; }

@media print {
	#title { display:none; }
	.att { display:none; }
	.attention { display:none; }
	.button { display:none; }
}