@charset "utf-8";

/*==============================================================================
  タイトル: デフォルトスタイル
  著者    : Original Coding by Fumito Arakawa as Phize (http://phize.net/)  Accessibility Modifid by Masuko koeda as みるく(http://white-stage.com/)
  説明    : デフォルトのスタイルです。
            このCSSファイルは、ユーザーエージェントのデフォルトスタイルの差異を吸収するためのみに使用されます。
            全てのスタイルのベースとなりますので、必要がない限りは変更しないようにしてください。
            サイト全体や各部のスタイルは、「common.css」やその他のCSSファイルでスタイルを上書きして変更します。
  適用先  : 全て
==============================================================================*/



/*--------------------------------------
 initialize Selector
---------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
 {
  margin: 0;
  padding: 0;
}



/*--------------------------------------
 Structure Module
---------------------------------------*/

html {
  display: block;
}

head, meta, script, style, title, param {
  display: none;
}

body {
  display: block;
  margin: 8px;
}



/*--------------------------------------
 Text Module
---------------------------------------*/

h1 {
  display: block;
  margin: 0.67em 0;
  font-size: 2em;
  font-weight: bolder;
}

h2 {
  display: block;
  margin: 0.75em 0;
  font-size: 1.5em;
  font-weight: bolder;
}

h3 {
  display: block;
  margin: 0.83em 0;
  font-size: 1.17em;
  font-weight: bolder;
}

h4 {
  display: block;
  margin: 1.12em 0;
  font-size: 1em;
  font-weight: bolder;
}

h5 {
  display: block;
  margin: 1.5em 0;
  font-size: 0.83em;
  font-weight: bolder;
}

h6 {
  display: block;
  margin: 1.67em 0;
  font-size: 0.75em;
  font-weight: bolder;
}

address {
  display: block;
  font-style: italic;
}

p {
  display: block;
  margin: 1.12em 0;
}

pre {
  display: block;
  margin: 1em 0 1em 10px;
  padding: 0 8px 8px;
  border: 1px solid #C4C4C4;
  font-family: monospace;
  white-space: pre;
}

blockquote {
  display: block;
  margin: 1.12em 0 1.12em 20px;
  padding: 0 8px;
  border: 6px dotted #D8D8D8;
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

cite {
  font-style: italic;
}

em {
  font-style: italic;
}

strong {
  font-weight: bolder;
}

var {
  font-style: italic;
}

dfn {
  font-style: italic;
}

code {
  font-family: monospace;
}

samp {
  font-family: monospace;
}

kbd {
  font-family: monospace;
}

abbr[title], acronym[title] {
  border-bottom: 1px dotted;
}



/*--------------------------------------
  Hypertext Module
---------------------------------------*/

a:link, a:visited {
  text-decoration: underline;
}

a:focus  {
  outline: thin dotted invert;
}

a:hover,
a:focus,
a:active {
  background: #ffff40;
  color: #000000;
}

img a:hover,
img a:focus,
img a:active {
  background: transparent;
}

input.text:focus {
  background: #ffffa0;
}

textarea:focus {
  background: #ffffa0;
}



/*--------------------------------------
  List Module
---------------------------------------*/

ul {
  list-style-type: disc;
  display: block;
  margin: 1.12em 0;
  padding-left: 2.5em;
}

ol {
  list-style-type: decimal;
  display: block;
  margin: 1.12em 0;
  padding-left: 40px;
}

li {
  display: list-item;
}

ul ul,
ul ol,
ul dl,
ol ul,
ol ol,
ol dl,
dl ul,
dl ol,
dl dl {
  margin-top: 0;
  margin-bottom: 0;
}

ol ul,
ul ul {
  list-style-type: circle;
}

ol ol ul,
ol ul ul,
ul ol ul,
ul ul ul {
  list-style-type: square;
}

dl {
  display: block;
  margin: 1.12em 0;
}

dt {
  display: block;
}

dd {
  display: block;
  margin-left: 2.45em;
}



/*--------------------------------------
  Edit Module
---------------------------------------*/

ins {
  text-decoration: underline;
}

del {
  text-decoration: line-through;
}



/*--------------------------------------
  Forms Module
---------------------------------------*/

form {
  display: block;
  margin: 1.12em 0;
}

fieldset{
  display: block;
  margin: 1.12em 0;
}

button {
  display: inline-block;
}

textarea {
  display: inline-block;
}

input {
  display: inline-block;
}

select {
  display: inline-block;
}



/*--------------------------------------
  Tables Module
---------------------------------------*/

table {
  display: table;
  margin-top: 0;
  margin-bottom: 0;
  border-spacing: 2px;
  border-collapse: separate;
  text-indent: 0;
}

table[align="left"] {
  margin-right: auto;
}

table[align="center"] {
  margin-left: auto;
  margin-right: auto;
}

table[align="right"] {
  margin-left: auto;
}

caption {
  display: table-caption;
  text-align: center;
}

thead {
  display: table-header-group;
  vertical-align: middle;
}

tbody {
  display: table-row-group;
  vertical-align: middle;
}

tfoot {
  display: table-footer-group;
  vertical-align: middle;
}

tr {
  display: table-row;
  vertical-align: inherit;
}

col {
  display: table-column;
}

colgroup {
  display: table-column-group;
}

table>tr {
  vertical-align: middle;
}

th,
td {
  vertical-align: top;
}

th {
  display: table-cell;
  font-weight: bolder;
  text-align: center;
}

td { 
  display: table-cell;
  padding: 2px;
  text-align: inherit; 
}

tr[align="left"],
th[align="left"],
td[align="left"] {
  text-align: left;
}

td[align="left"]>table,
td[align="left"]>table,
td[align="left"]>table {
  margin-right: auto;
}

tr[align="center"],
th[align="center"],
td[align="center"] {
  text-align: center;
}

td[align="center"]>table,
td[align="center"]>table,
td[align="center"]>table {
  margin-left: auto;
  margin-right: auto;
}

tr[align="right"],
th[align="right"],
td[align="right"] {
  text-align: right;
}

td[align="right"]>table,
td[align="right"]>table,
td[align="right"]>table {
  margin-left: auto;
}

tr[valign="top"],
th[valign="top"],
td[valign="top"] {
  vertical-align: top;
}

tr[valign="middle"],
th[valign="middle"],
td[valign="middle"] {
  vertical-align: middle;
}

tr[align="bottom"],
th[align="bottom"],
td[align="bottom"] {
  vertical-align: bottom;
}



/*--------------------------------------
  Image Module
---------------------------------------*/

a img {
  border: 2px solid;
}



/*--------------------------------------
Presentation Module
---------------------------------------*/

hr {
  display: block;
  height: 2px;
  border: 1px inset;
  margin: 0.5em auto;
}

sub {
  vertical-align: sub;
  font-size: 0.83em;
  line-height: normal;
}

sup {
  vertical-align: super;
  font-size: 0.83em;
  line-height: normal;
}
