* {
    margin: 0;
    padding: 0;
    font-family: serif;
}
p {
    line-height: 230%;
}

td {
    line-height: 150%;
}

img {
    border-width: 0;
}

body {
    text-align: center;
    background-image: url(./images/SideBG.gif);
}

#canvas {
    margin-left:auto;
    margin-right:auto;
    font-size: medium;
    top: 0px;
    padding-top: 0.5em;
}

#canvas h1 {
    font-size: large;
    text-align: center;
    font-family: serif;
    color: #FFFFFF;
    font-weight: bold;
}

#panel{
    margin-left:auto;
    margin-right:auto;
    margin-top: 0.5em;
    background-image: url(./images/PanelBG3.jpg);
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 2px;
    text-align:left;
    width: 805px;
    height: 342px;
}

#panel h2 {
   font-size: 12px;
   color: #000000;
}

#opening {
    position: relative;
    top: 10px;
    float: left;
    width: 196px; 
    height: 144px; 
    border-style: inset; 
    border-width: 4px;
    border-color: #CC0000;
    margin-right: 10px;
}

#opening img {
    border-width: 2px;
    vertical-align: text-bottom;
}

#panel h2 {
    margin-top: 12px;
    color: #000000;
    line-height: 130%;
    font-size: 12px;
}

#panel p {
    font-size: 10px;
    color: #550917;
    line-height: 150%;
    font-weight: bold;
}

#panel span.star {
    color: #FFFF02;
    font-size: 10px;
}

#panel span {
    line-height: 80%;
    color: white;
    font-size: 16px;
}

#menu {
    margin-left:auto;
    margin-right:auto;
    background-image: url(./images/ContentsBG.gif);
    padding-top: 10px;
    padding-left: 10px;
    width: 810px;
    height: 23px;
    word-spacing: 8px;
    text-align: left;
}

#menu a {
    text-decoration: underline;
    color: #111111;
}

#menu a.selected {
    color: #555555;
}

#menu a:hover {
    color: #c40000;
}

#menu span.major a {
    font-weight: bold;
}

#menu span.minor a {
    font-size: small;
}

#footer {
    text-align: center;
    padding-top: 10px;
    width: 760px;
    height: 33px;
    word-spacing: 5px;
    line-height: 150%;
}

#footer a {
    text-decoration: underline;
    color: #111111;
    font-weight: bold;
    font-size: small;
}

#footer a.selected {
    color: #555555;
}

#footer a:hover {
    color: #c40000;
}

#mainframe {
    margin-left:auto;
    margin-right:auto;
    background-image: url(./images/ContentsBG.gif);
    padding: 10px 30px;
    padding-left: 30px;
    text-align: left;
    width: 760px;
    font-family: sans-serif;
    font-size: medium;
}

#contents {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: #000000;
}

#contents strong {
    color: red;
    font-weight: bold;
}

#contents h1 {
    text-align: center;
    color: #FF0F0F;
    font-family: serif;
}

#contents p {
    line-height: 230%;
}

#contents div.aida {
    font-weight: bold;
    text-align: center;
    float: right;
}

#contents div.aida img {
    margin-bottom: 1em;
    border-width: 5px;
    border-style: ridge;
    margin-left: 1em;
}

#contents *.bquote {
    color: #FF8000;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
    margin-left: 2em; 
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 150%;
}

#contents *.quote {
    color: #804000;
    font-weight: bold;
}

#contents *.you {
    color: #FF8000;
    font-weight: bold;
    font-size: 120%;
}

#contents *.bbudy {
    color: #000040;
    font-size: 120%;
    font-weight: bold;
    margin-left: 2em; 
    margin-right: 2em;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 150%;
}

#contents *.budy {
    color: #000040;
    font-weight: bold;
}

#contents em {
    color: red;
    font-weight: bold;
    font-style: normal;
    font-size: 120%;
}

#contents strong {
    color: #FF8000;
    font-weight: bold;
    font-style: normal;
    font-size: 120%;
}

#contents *.golf {
    color: green;
    font-weight: bold;
}

#contents ul {
    list-style-image: url("./images/checkmark.gif");
    margin-left: 4em;
}

#contents ul.check {
    list-style-image: none;
    list-style-type: none;
    margin-left: 3em;
}

#contents ul li {
    padding-left: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    text-decoration: underline;    
}

#contents ul.minor {
    list-style-image: none;
    list-style-type: none;
    margin-left: 4em;
}

#contents ul.minor li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #000040;
}

#contents ol {
    margin-left: 5em;
}

#contents ol li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#contents h2 {
    color: red;
    font-size: large;
    font-weight: bold;
    margin-top: 1.5em;
}

#contents h3 {
    background-image: url(./images/YakusokuBG.gif);
    background-repeat: no-repeat;
    padding-top: 5px;
    padding-left: 15px;
    height: 30px;
    color: #000000;
    font-weight: bold;
    margin-top: 1.5em;
}

#contents h4 {
    color: #000040;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 1em;
}

#contents p.intro {
    text-align: center;
    font-size: xx-large;
}

#contents span.st1 {
    color: #FF0000;
    font-weight: bold;
    text-decoration: underline;
    font-size: 120%;
}

#contents span.st2 {
    background-color: #FFFF00;
    font-weight: bold;
    text-decoration: underline;
}

#contents span.st3 {
    color: #0000FF;
    font-weight: bold;
}

#contents span.st4 {
    color: #FF0000;
    font-weight: bold;
    font-size: 180%;
}

#contents span.st5 {
    font-weight: bold;
    font-size: 150%;
}

#contents span.st6 {
    font-weight: bold;
    text-decoration: underline;
}

#contents div.flowchart {
    text-align: center;
    font-weight: bold;
    line-height: 150%;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-right: 4em;
    padding-left: 4em;
}

#contents div.apply {
    text-align: center;
    font-weight: bold;
    line-height: 150%;
    margin-top: 1em;
    margin-bottom: 1em;
}

#contents div.caution {
    background-color: #FFFF97;
    color: #FF0000;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
    line-height: 150%;
    border-width: 5px;
    border-style: ridge;
    font-size: xx-large;
}

#contents span.icon {
    color: #000000;
}

#contents div.display {
    background-color: #FFFFFF;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
    font-family: sans-serif;
    line-height: 150%;
    border-width: 5px;
    border-style: ridge;
}

#contents div.ps {
    margin-top: 2em;
    font-family: serif;
}

#contents div.ps p.signature {
    padding-top: 3em;
    text-align: right;
}

div.testimonybox2 {
    width: 500px;
    background-color: #FFCC99;
    margin-top: 1em;
    margin-left: 2em;
    margin-bottom: 2em;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
    border-width: 3px;
    border-style: solid;
    border-color: #000000;
    line-height: 180%;
}

div.from2 {
    background-image: url(./images/LetterP.gif);
    background-repeat: no-repeat;
    padding-left: 35px;
    margin-bottom: 1em;
    color: #800040;
    font-weight: bold;
}

div.kurushimu {
    text-align: center;
    background-color: #B3FFB3;
    padding: 1em;
    border-width: 3px;
    border-style: solid;
    border-color: #000000;
    margin-bottom: 2em;
}
