body {
  font-family: "メイリオ", "MS Gothic", "Migu 1P", serif;
  font-size: 10pt;
  font-weight: normal;
  line-height: 14pt;
}

button {
  font-size: 90%;
  line-height: 90%;
}

div.footer { height: 100vh; }

div.indent-1 { padding-left: 1em; }
div.indent-2 { padding-left: 2em; }
div.indent-3 { padding-left: 3em; }

div.center   { text-align: center; }
div.right    { text-align: right; }
div.bold     { font-weight: bold; }
div.error    { color: red; }
div.warning  { text-align: center; color: white; background: red; }

div.inline-block {
  display: inline-block;
  vertical-align: top;
  margin: 10px;
}

span.bold    { font-weight: bold; }
span.red     { color: red; }
span.error   { color: white; background: red; }
span.cursor  { color: white; background: #050; }
span.disable { color: #d0d0d0; }

table.left-right          { border: none; width: 100%; padding: 0; margin: 0; }
table.left-right td       { border: none;              padding: 0; margin: 0; }
table.left-right td.left  { text-align: left; }
table.left-right td.right { text-align: right; }

/**
 ** リンク
 **/
a         { color: #050; text-decoration: none; }
a:link    { color: #050; text-decoration: none; }
a:visited { color: #050; text-decoration: none; }
a:hover   { color: #000; text-decoration: none; }
a:active  { color: #050; text-decoration: none; }
a:hover   { color: #050; text-decoration: none; }

a.button-red       {
  font-size: 10pt; padding: 5px 5px; margin: 5px 5px; color: white; background: red;
  text-decoration: none; border: none; cursor: pointer;
}
a.button-red:hover {
  font-size: 10pt; padding: 5px 5px; margin: 5px 5px; color: red;   background: white;
  border: none; cursor: pointer;
  text-decoration: none;
}

a.button {
  font-size: 8pt; padding: 2px 4px; margin-left: 2px; color: white; background: #222;
  border: none; cursor: pointer;
  appearance: none; outline: none; text-decoration: none;
}
a.button:hover {
  font-size: 8pt; padding: 2px 4px; margin-left: 2px; color: white; background: #888;
  border: none; cursor: pointer;
  appearance: none; outline: none; text-decoration: none;
}

/*
** 入力エリア / ボタン
*/
input[type="submit"] {
  appearance: none;
  outline: none;
  font-size: 8pt;
  text-decoration: none;
  padding: 1pt 4pt;
  color: white;
  background: #222;
  border: none;
  cursor: pointer;
}

input[type="submit"]:hover {
  appearance: none;
  outline: none;
  font-size: 8pt;
  text-decoration: none;
  padding: 1pt 4pt;
  color: white;
  background: #888;
  border: none;
  cursor: pointer;
}

input[type="text"] {
  background-color: #efffef;
  padding: 0;
  margin: 0;
}

input.fill[type="text"] {
  width: 100%;
}

input[type="password"] {
  background-color: #efffef;
  padding: 0;
  margin: 0;
}

textarea {
  background-color: #efffef;
  padding: 0;
  margin: 0;
  vertical-align: top;
}

textarea.fill {
  width: 100%;
  height: 100%;
}

/**
 ** ヘッダ
 **/
h1 { border-left: 0.5em solid darkgreen; padding-left: 0.5em; line-height: 160%; font-size: 150%; }
h2 { border-left: 1.0em solid darkgreen; padding-left: 0.5em; line-height: 130%; font-size: 120%; }
h3 { border-left: 2.0em solid darkgreen; padding-left: 0.5em; line-height: 120%; font-size: 110%; }
h4 { border-left: 3.0em solid darkgreen; padding-left: 0.5em; line-height: 120%; font-size: 110%; }

/**
 ** table 汎用
 **/
table { border-collapse: collapse; border-spacing: 0; }

th {
  background-color: #eee;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid;
  text-align: center;
  vertical-align: middle;
  padding: 0.5em;
  margin: 0;
}

th.center         { text-align: center; }
th.left           { text-align: left; }
th.right          { text-align: right; }
th.middle         {                     vertical-align: middle; }
th.center-middle  { text-align: center; vertical-align: middle; }
th.top-align      {                     vertical-align: top; }

th.noborder { border: none; }

td {
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid;
  text-align: left;
  vertical-align: top;
  padding: 5px;
  margin: 5px;
}

td.center         { text-align: center; }
td.left           { text-align: left; }
td.right          { text-align: right; }
td.middle         {                     vertical-align: middle; }
td.center-middle  { text-align: center; vertical-align: middle; }
td.top-align      {                     vertical-align: top; }

td.noborder { border: none; }
td.button   { border: none; }

td.warning  { background-color: #ff3333; }

/**
 ** リスト
 **/
ul    { padding-left: 1.5em; padding-top: 0; }
ul li { line-height: 1.5; padding: 0; margin: 0; }

dt    { font-weight: bold; }

/**
 ** バルーンヘルプ
 **/
.balloon-help { position: relative; }
.balloon-help:hover .balloon { display: inline; }

.balloon {
  display: none;
  position: absolute;
  /*padding: 16px;*/
  /*border-radius: 8px;*/
  background: #333;
  color: #fff;
  width: 0;
  height: 0;
}

/*.balloon:after {*/
/*  position: absolute;*/
/*  margin-left: -10px;*/
/*  border: 10px solid rgba(51, 51, 51, 0);*/
/*  border-bottom-color: #333;*/
/*  pointer-events: none;*/
/*  content: " ";*/
/*}*/

abbr { text-decoration: unset; }
