@import url(base.css);

/*-------------------------------------------------------------
|  共通部
-------------------------------------------------------------*/
h1 {
  padding: 10px;
  text-align: center;
}
h3 {
  color: #800000;
  font-size: 22px;
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
}
h4 {
  color: #800000;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  padding: 10px 0;
  text-align: center;
}
table {
  border-collapse: collapse;
}
img {
  vertical-align : middle;
}
input,
textarea,
select {
  padding: 5px 10px 5px 10px;
}
a {
  color: #426db3;
}
a:link,
a:visited {
  text-decoration: none;
}
a:hover,
a:active {
  text-decoration: underline;
}
.disp-on {
  display: block;
}
.disp-off {
  display: none;
}
.disp-line-on {
  display: inline;
}
.disp-line-off {
  display: none;
}


/*-------------------------------------------------------------
|  ページ全体
-------------------------------------------------------------*/
body {
  background-color: #e6d9c0;
  color: #0a3359;
  font-size: 12px;
  line-height: 1.3em;
  text-align: center;
}
#page {
  background-color: #f5eed0;
  margin-right: auto;
  margin-left: auto;
  min-height: 550px;
  padding-bottom: 15px;
  text-align: left;
}
#main-page {
  text-align: center;
}
.msg {
  font-weight: bold;
  padding: 5px;
  text-align: center;
}
.err-msg {
  color: #900;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}
.tool-chui {
  color: #666;
  font-weight: bold;
}
.bottom-button {
  text-align: center;
  margin: 10px auto;
}
.bottom-button input[type="button"],
.bottom-button input[type="reset"],
.bottom-button input[type="submit"] {
  font-size: 130%;
  font-weight: bold;
  margin: auto 10px;
  padding: 5px 1em;
}


/*-------------------------------------------------------------
|  入力チェックエラー
-------------------------------------------------------------*/
.edit-error input, 
.edit-error textarea, 
.edit-error select, 
.edit-error label {
  background: #ffcccc;
}
* html .edit-error label {
  background: none;
}
*+html .edit-error label {
  background: none;
}
.e-error-msg {
  margin: 0;
  color: #ff0000;
  font-weight: bold;
  margin-bottom: 0.5em;
}


/*-------------------------------------------------------------
|  ページヘッダ部
-------------------------------------------------------------*/
header {
  border-bottom: 1px solid #666;
  text-align: center;
}
header p.login {
  color: #fff;
  background-color: #666;
  font-weight: bold;
  padding: 5px 7px;
  text-align: right;
}
header p.login a {
  color: #fff;
  text-decoration: underline;
}
header p.login span {
  margin-right: 2em;
}
.header-menu-ttl {
  text-align: center;
  color: #006600;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 10px;
}
.header-menu {
  font-weight: bold;
  padding: 5px 5px 3px 5px;
  text-align: center;
}
.header-menu a {
  margin: 0 .5em;
}


/*-------------------------------------------------------------
|  表紙・ログイン
-------------------------------------------------------------*/
.next-page {
  font-weight: bold;
  text-align: center;
  padding: 15px 0;
  margin: 1em 0;
}
.next-page a {
  font-size: 120%;
  line-height: 120%;
  padding: 10px;
  border: 3px solid #426db3;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.next-page a:link,
.next-page a:visited {
  background-color: #fff;
  color: #426db3;
}
.next-page a:hover,
.next-page a:active {
  background-color: #426db3;
  color: #fff;
  text-decoration: none;
}
.login-box {
  margin: auto;
  text-align: center;
}
.login-box th,
.login-box td {
  border: solid 1px #993300;
  padding: 7px 10px;
}
.login-box th {
  background-color: #ffdead;
  font-weight: bold;
  text-align: left;
}
.login-box td {
  background-color: #ffdead;
  text-align: left;
}
.login-button {
	margin: 15px auto;
}
.login-button input[type="button"],
.login-button input[type="submit"] {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding: 7px 1.5em;
  margin: auto 10px;
}


/*-------------------------------------------------------------
|  編集画面
-------------------------------------------------------------*/
.edit-hyou {
  margin: 0 auto;
}
.edit-hyou th,
.edit-hyou td {
  background-color: #ffdead;
  border: solid 1px #993300;
  padding: 5px 10px;
  text-align: left;
}
.edithyou th {
  font-weight: bold;
}
.edit-hyou td.box {
  padding: 0;
}
.edit-hyou td.wd {
  background-color: #fff;
}
.edit-hyou .tool {
  color: #666;
  margin-left: 1em;
}
.edit-hyou-box {
  width: 100%;
}
.edit-hyou-box th {
  background-color: #f5eedd;
}
.edit-hyou-box td {
  background-color: #f5eedd;
}
.edit-hyou-box th label input {
  margin-right: 1em;
}
.edit-hyou-box input[type="radio"] {
  height: 14px;
  -moz-transform: scale(1.4);
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
  width: 14px;
}


/*-------------------------------------------------------------
|  メール編集画面＜一覧関係＞
-------------------------------------------------------------*/
.list-num {
  font-weight: bold;
  padding: 5px;
  text-align: center;
}
.list-tb {
  text-align: center;
  margin: auto;
}
.list-tb th,
.list-tb td {
  border: solid 1px #993300;
}
.list-tb th {
  background-color: #800000;
  color: #fff;
  padding: 2px;
  text-align: center;
}
.list-tb th a {
	color: #fff;
}
.list-tb td {
  background-color: #ffdead;
  padding: 5px;
  text-align: left;
}
.list-tb td.button,
.list-tb td.chk {
  text-align: center;
}
.list-tb .button input {
  padding: 7px 5px;
  font-weight: bold;
}
.list-tb input[type="checkbox"] {
  height: 14px;
  -moz-transform: scale(1.4);
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
  width: 14px;
}


/*-------------------------------------------------------------
|  サブメニュー
-------------------------------------------------------------*/
.main-menu-box {
  margin-bottom: 20px;
}
.main-menu-box h5 {
  color: #006600;
  font-weight: bold;
  margin: 10px 0px 5px 0px;
}
.main-menu {
  margin: 0 auto;
  width: 400px;
}
.main-menu li a {
  border-style: solid;
  border-width: 1px 10px 0 10px;
  display: block;
  font-size: 105%;
  font-weight: bold;
  padding: 3px 0;
  width: 400px;
}
.main-menu li:last-child a {
  border-bottom-width: 1px;
}
.main-menu li a:link,
.main-menu li a:visited {
  background-color: #ffffcc;
  border-color: #800000;
}
.main-menu li a:hover,
.main-menu li a:active {
  background-color: #fff;
  border-color: #008800;
  color: #008800;
}


/*-------------------------------------------------------------
|  統計
-------------------------------------------------------------*/
.analysistb {
  margin: auto;
}
.analysistb th,
.analysistb td {
  border: solid 1px #993300;
}
.analysistb thead th {
  background-color: #800000;
  color: #fff;
  padding: 2px;
  text-align: center;
}
.analysistb thead th a {
  color: #fff;
}
.analysistb tbody th,
.analysistb tbody td {
  padding: 5px 10px;
  background-color: #ffdead;
}
.analysistb tbody th {
  text-align: left;
  border-right-style: dotted;
}
.analysistb tbody td {
  text-align: right;
  border-left-style: dotted;
}
.analysistb tbody td.sum {
  background-color: #ffcccc;
  color: #333;
  font-weight: bold;
  text-align: right;
}
.analysistb tbody th.sum {
  background-color: #ff0000;
  color: #fff;
  font-weight: bold;
  text-align: center;
}


/*-------------------------------------------------------------
|  ページング
-------------------------------------------------------------*/
.page {
  margin: 10px;
  padding: 0px;
}
.page p {
  margin: 9px 0;
}
.page a {
  background-color: #fff;
  border: 1px solid #ccc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #555;
  font-weight: bold;
  margin: 0px 2px;
  padding: 3px 4px 2px 4px;
  text-align: center;
  text-decoration: none;
}
.page span {
  background: #555;
  border: 1px solid #ccc;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #ffffff;
  font-weight:bold;
  margin: 0px 2px;
  padding: 3px 4px 2px 4px;
  text-align: center;
}
.page a:active {
  background-color: #ffcc99;
}
.page a:visited {
  background-color: #ffffff;
}
.page a:hover {
  background-color: #ccffcc;
  color: #555;
  text-decoration: none;
}


/*-------------------------------------------------------------
|  印刷用
-------------------------------------------------------------*/
#print {
  background-color: #fff;
  color: #000;
  font-family: 'Ricty Diminished', 'Monaco', 'Consolas', 'Courier New', Courier, monospace, sans-serif;
  font-size: 1em;
  height: 100%;
  padding: 15px;
  text-align: left;
  width: 100%;
}
#print .print-box {
  border-bottom: solid 1px #666;
  padding: 10px 0;
}
#print .print-box .ttl {
  font-size: 1.3em;
  font-weight: bold;
}
#print .win-botton {
  text-align: center;
}
#print .win-botton input {
  font-size: 1.2em;
  font-weight: bold;
  padding: 7px 1.5em;
}
@media print {
  body{
    background-color: #fff;
  }
  #print .p-botton {
    display: none;
  }
}


.edit-box-sub {
  width: 100%
}

.edit-box-sub td {
  background-color: #f5eedd;
  border: 1px solid #800000;
  padding: 3px 10px 3px 10px;
}
