@charset "UTF-8";
/* 
html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/*
 * ブロック
 */
body {
  font-family: sans-serif;
  color: #333333;
  background: whitesmoke url("../img/agsquare.png");
  font-family: sans-serif;
  line-height: 1.7;
}

div#main-container {
  width: 600px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

form#input {
  text-align: center;
}

table#amount {
  margin-left: auto;
  margin-right: auto;
  font-size: 130%;
}
table#amount input {
  font-size: 100%;
  text-align: right;
}
table#amount th, table#amount td {
  width: 50%;
  padding-left: 1em;
  white-space: nowrap;
}
table#amount th:first-child, table#amount td:first-child {
  padding-left: 0;
}
table#amount th {
  font-weight: normal;
}

p#mode input {
  vertical-align: 0.125em;
}

table#result {
  width: 100%;
  border-collapse: collapse;
}
table#result th, table#result td {
  padding: 0.25em 0.5em;
  border: 1px solid #999999;
}
table#result th {
  width: 37.5%;
  text-align: left;
}
table#result td {
  text-align: right;
}

th.national {
  background-color: #eda184;
}

th.national-sub {
  background-color: #f9dfd5;
  text-indent: 1em;
}

th.local {
  background-color: #9be08b;
}

footer {
  border-top: 1px solid #cccccc;
  margin-top: 1em;
}

nav#links, p#copyright {
  text-align: center;
}

/*
 * 各タグ
 */
h1 {
  margin-top: 0;
  border-bottom: 1px solid #cccccc;
  font-size: 180%;
}
h1 small {
  color: #888888;
  font-size: 60%;
  font-weight: normal;
}
h1 span.year {
  margin-left: 0.125em;
  margin-right: 0.125em;
  font-size: 133.333333%;
}

h2 {
  margin: 1em 0 0.5em;
  padding-left: 10px;
  border-left: 5px solid #c60d13;
  font-size: 140%;
  line-height: 1.5;
}
h2 + p, h2 + table, h2 + dl {
  margin-top: 0.25em;
}

p, table, dl {
  margin: 1em 0;
}

ul {
  margin: 0.5em 0;
  padding-left: 2.25em;
}

dt {
  font-weight: bold;
}

p#logo {
  margin: 0;
}

a:link {
  color: #333333;
}
a:visited {
  color: #777777;
}
a:hover {
  color: #c60d13;
}

img {
  border: 0;
}

strong {
  color: #c60d13;
}

table#amount label {
  margin: 0.125em;
  padding: 0.125em;
}
