/* reset */
* {
margin: 0;
padding: 0;
}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
display: block;
}

body {
line-height: 1;
background: #f9ffff;
font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN',Meiryo, sans-serif;
color: #666;
font-size: 14px;
line-height: 18px;
}
	
/* layout */

#wrapper {
width: 980px;
margin: 0 auto;
margin-top: 10px;
margin-bottom: 10px;
}

nav {
width: 980px;
height: 50px;
margin: 0 auto;
background: #000;
}

header {
width: 980px;
height: 100px;
margin: 0 auto;
background: #f9ffff url(img/.jpg) no-repeat left top;
}

#main {
width: 980px;
margin: 0 auto;
background: #f9ffff;
overflow: hidden;
}

#content {
float: right;
width: 980px;
}

footer {
width: 980px;
margin: 0 auto;
clear: both;
}



/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: normal;
clear: both;
color: #000;
}

a:link {
color: #2ca9e1;
text-decoration: none;
}

a:hover, a:visited, a:active {
color: #028760;
text-decoration: underline;
}

p {
margin-bottom: 12px;
}

li {
padding-left: 5px;
}


/** HEADER */

header h1 {
margin-left: 20px;
line-height: normal;
padding-top: 5px;
}

header h1 { 	
font-size: 12px;
font-weight: normal;
color: #2ca9e1;
letter-spacing: 2px;
}

header p {
color: #2ca9e1;
font-size: 20px;
font-weight: bold;
text-align: right;
margin-top: 20px;
}


/** ARTICLES **/


article {
padding: 20px 30px 5px 40px;
letter-spacing: 2px;
}

article h2 {
font-size:1.3em;
font-weight: normal;
color:#666;
border-bottom: double 4px  #38b48b;
letter-spacing: 2px;
padding:5px 30px;
padding-left: 10px;
}

article img {
border: none;
border-radius: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
}

.img {
text-align: right;
}

img.alignright {
margin: 5px 0 0 10px; 
}


article dt {
color: #028760;
font-weight: normal;
margin-bottom: 10px;
margin-top: 30px;
}

article dd {
font-size: 14px;
margin: 10px;
}

.dl {
margin-bottom: 30px;
}

.dt {
font-size: 16px;
font-weight: normal;
margin-bottom: -10px;
color: #666;
}

.dd {
text-align: left;
font-size: 14px;
margin: 10px 10px 10px 10px;
color: #BDB76B;
}

.dd2 {
text-align: right;
font-size: 16px;
margin: 10px 10px 30px 10px;
}

#content h1, h2, h3, h4, h5, h6 {
color: #2cbae6;
line-height: 1.5em;
margin: 0 20px 20px 0;
}

#content h1, h2, h3 {
font-size:1.3em;
font-weight: normal;
color:#fff;
border-bottom: double 4px  #38b48b;
text-shadow:1px 1px 1px #;
letter-spacing: 2px;
padding:5px 30px;	
padding-left: 10px;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* inline blocks of images and captions */

.benefits {
display: inline-block;
vertical-align: top;
width: 260px;
text-align: left;
padding: .2em;
}

.benefits2 {
display: inline-block;
vertical-align: top;
width: 895px;
text-align: center;
padding: .2em;
background:  #554738;
color: #fff;
}

.benefits3 {
display: inline-block;
vertical-align: top;
width: 420px;
text-align: center;
padding: .2em;
}

.leftblock {
margin-right: 45px;
}

.middleblock {
margin-right: 45px;
}

.rightblock {
margin-right: 2px;
}

.benefits .thumbnail {
border: none;
}

.benefits .caption {
display: block;
font-size: 12px;
font-variant: small-caps;
line-height: 1.5em;
}

.benefits p {
margin-top: 5px;
text-align: justify;
}


/* footer widget blocks */

aside h3 {
font-size: 18px;
}

aside ul {
list-style: none;
margin-bottom: 20px;
margin-top: -15px;
}

aside li a {
text-decoration: none;
}

aside li a:hover {
text-decoration: underline;
}

#footer-area {
background: #2ca9e1;
color: #fff;
font-size: 90%;
margin: 10px 0;
padding: 18px 0;
overflow: hidden;
}

.footer-segment {
float: left;
width: 280px;
}

.first {
margin-right: 20px;
margin-left: 40px;
}

.second {
margin-right: 40px;
}

.third {
margin-top: 0px;
margin-right: 20px;
text-align: center;
}


footer aside h4 {
text-align: center;
color: #38b48b;
font-size: 16px;
line-height: 1.5em;
}

footer a:link {
color: #fff;
}

footer a:hover, a:visited, a:active { 
color: #c0c6c9;
}

footer p {
margin-top: 15px;
text-align: left;
color: #fff;
line-height: 2.0em;
}

.p {
margin-top: 5px;
text-align: center;
color: #666;
}

hr.hr {
border: 0;
height: 1px;
margin: 20px 0px 20px;
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}


#pagetop {
    position: fixed;
    bottom: 10px;
    right: 10px;


table.form {
    border: 1px solid #7777bb;
    border-collapse: collapse;
    margin-top: 1em;
}

table.form th,td {
    text-align: left;
    border: 1px solid #7777bb;
    padding: 8px;
    font-weight: normal;
}

table.form th {
    background: #cccce6;
}

table.form td {
background: #f0f0f0;
}

strong.ttl {
    text-align: left;
    border-left: solid 4px #cc0000;
    display: block;
    padding: 2px 5px;
    margin-top: 2em;
}