/*
Theme Name: CSS.Design Sample
Theme URI: http://hp.css-designsample.com/
Description: CSS.Design Sample
Author: ozawa
Author URI: http://www.hp.css-designsample.com/
*/

* { margin: 0; padding: 0; }

a:link {
  text-decoration: underline;
  color: #00f;
}

a:visited {
  text-decoration: underline;
  color: #90f;
}

a:hover {
  text-decoration: underline;
  color: #f00;
}

img,img a,img a:hover {
  border: 0;
  text-decoration: none;
}

p {
  line-height: 1.5em;
  margin: 0 0 1em;
}

body {
  font-size: 90%;
  text-align: center;
  font-family: Meiryo, Geneva, Arial, Helvetica, sans-serif;
  padding:0;
  margin: 0;
  background: url(http://www.css-designsample.com/images/bg-body.jpg) repeat-x 0 100px;
}

#header {
  width: 900px;
  height: 130px;
  margin: 0 auto 10px;
}

#header-inner {
  width: 100%;
  height: 100%;
  position: relative;
  background: url(http://www.css-designsample.com/images/bg-header-top.jpg) no-repeat 0 0;
}

#wrapper {
  text-align: left;
  width: 900px;
  margin: 0 auto;
  padding-top: 20px;
}

#home #wrapper {
  padding-top: 240px;
  background: url(http://www.css-designsample.com/images/bg-wrapper-top.jpg) no-repeat 0 0;
}

#content {
  width: 600px;
  float: right;
}

.entry { margin: 0 0 50px; }

#sidebar {
  font-size: 85%;
  width: 250px;
  float: left;
}

#undernavi {
  clear: both;
  text-align: right;
}

#footer {
  text-align: center;
  background-color: #eee;
  padding: 25px 0 0;
}

#footer-inner {
  background-color: #cecece;
  padding: 5px 0;
}

/* ================================================== #header */
h1 {
  font-size: 100%;
  line-height: 1em;
  position: absolute;
  top: 2.5em;
  right: 0;
  color: #39c;
}

.logo {
  line-height: 1em;
  position: absolute;
  top: 1em;
  right: 0;
}

.logo a {
  text-decoration: none;
  color: #39c;
}

.logo a:hover {
  text-decoration: none;
  color: #f00;
}

/* ==================================================  */

#globalnavi {
  list-style-type: none;
  font-size: 90%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100px;
  left: 2px;
}

#globalnavi li {
  line-height: 30px;
  width: 10em;
  float: left;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#globalnavi a {
  text-decoration: none;
  text-align: center;
  display: block;
  width: 100%;
  float: left;
  background: url(http://www.css-designsample.com/images/bg-gnavi.jpg) no-repeat 100% 100%;
  color: #fff;
}

#globalnavi a:hover {
  text-decoration: none;
  background: url(http://www.css-designsample.com/images/bg-gnavi.jpg) no-repeat 0 100%;
  color: #9f0;
}

/* -------------------- */

p.form-mail {
  line-height: 1em;
  margin: 0;
  font-size: 110%;
  position: absolute;
  top: 70px;
  left: 0;
}

.form-mail a {
  text-decoration: none;
  color: #f00;
  padding-left: 5px;
  border-left: 5px solid #f00;
}

.form-mail a:hover {
  text-decoration: none;
  color: #09f;
  padding-left: 5px;
  border-left: 5px solid #09f;
}

/* ================================================== */

h2 {
  clear: both;
  font-size: 100%;
  line-height: 80px;
  margin: 0 0 10px;
  padding: 0 0 0 80px;
  background: url(http://www.css-designsample.com/images/bg-h2.jpg) no-repeat 0 0;
  color: #036;
}

h3,h4,h5,h6 {
  clear: both;
  font-size: 100%;
  line-height: 40px;
  margin: 0 0 20px;
  padding: 0 0 0 15px;
}

h3 { background: url(http://www.css-designsample.com/images/bg-h02.jpg) no-repeat 0 0; }

h4,h5,h6 { background: url(http://www.css-designsample.com/images/bg-h01.jpg) no-repeat 0 0; }

/* -------------------- */

p.breadcrumb {
  height: 40px;
  line-height: 1em;
  margin: 0;
}

.page-top {
  text-align: right;
  line-height: 1em;
  margin: 1em 0 2em;
  clear: both;
}

hr {
  margin-bottom: 2em;
  clear: both;
}

/* -------------------- */

ul { margin: 1em 0 1em 2em; }

ol { margin: 1em 0 1em 2em; }

li { margin-bottom: 0.5em; }

dl { margin: 1em 0 2em; }

dt {
  margin-bottom: 0.5em;
  border-bottom: 1px solid #a1a1a1;
}

dd { margin-bottom: 2em; }

/* ================================================== #sidebar */

dl.localnavi,
dl.afilli { margin: 0 0 20px; }

.localnavi dt,
.afilli dt {
  font-weight: bold;
  line-height: 40px;
  margin: 0;
  padding: 0 0 0 1em;
  background: #fff url(http://www.css-designsample.com/images/bg-side-title.jpg) no-repeat 0 0;
  color: #336699;
  border-bottom: none;
}

.localnavi dd,
.afilli dd {
  margin: 0;
  padding: 0;
}

.localnavi ul {
  list-style-type: none;
  margin: 0;
  color: #ccc;
}

.localnavi li {
  margin: 0;
  padding: 0;
}

ul.children {
  list-style-type: none;
  margin: 0;
}

.localnavi li {
  margin: 0;
  padding: 4px 0 5px;
  border-top: 1px dotted #999;
}

.localnavi a {
  text-decoration: none;
  color: #036;
  padding-left: 12px;
  background: url(http://www.css-designsample.com/images/mark-01.gif) no-repeat 0 50%;
}

.localnavi a:hover {
  text-decoration: underline;
  color: #f00;
  padding-left: 12px;
  background: url(http://www.css-designsample.com/images/mark-02.gif) no-repeat 0 50%;
}

/* -------------------- */

.afilli dd { margin-bottom: 20px; }

.afilli dd p {
  line-height: 1em;
  margin-bottom: 5px;
}

.afilli a { text-decoration: none; }

.afilli a:hover {
  text-decoration: underline;
  color: #f00;
}

.tag-cloud {
  margin: 0 0 2em;
  padding: 10px 9px 10px;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: url(image/bg-side.jpg);
}

/* ================================================== #footer */
address {
  text-align: center;
  font-style: normal;
  margin-bottom: 10px;
}

#footer-inner ul {
  list-style-type: none;
  text-align: right;
  font-size: 85%;
  margin: 0 0 0.5em;
  padding-right: 1em;
}

#footer-inner li {
  display: inline;
  padding-left: 0.5em;
}

#footer-inner p.since {
  text-align: right;
  line-height: 1em;
  margin: 0;
  padding-right: 1em;
}

#footer-inner,
#footer-inner a,
#footer-inner a:hover {
  text-decoration: none;
  color: #000;
}

/*----------------------------------------------------------
------------------------------------------------------------
                                                  INDEX --*/

dl.top-character { margin: 0 0 50px; }

.top-character dt {
  font-size: 100%;
  line-height: 40px;
  margin: 0;
  padding: 0 0 0 15px;
  background: url(http://www.css-designsample.com/images/bg-h01.jpg) no-repeat 0 0;
  border-bottom: none;
}

.top-character dd {
  margin: 0;
  padding: 0;
  background: url(http://hp.css-designsample.com/wp-content/themes/css-designsample/image/bg-top-character.jpg) no-repeat 0 0;
}

.top-character dd ol {
  list-style-type: none;
  margin: 0 0 0 240px;
}

.top-character dd li {
  text-indent: -9999px;
  width: 360px;
  height: 40px;
  margin: 0;
  padding: 0;
  background-image: url(http://hp.css-designsample.com/wp-content/themes/css-designsample/image/bg-top-character-li.gif);
  background-repeat: no-repeat;
}

.character01 { background-position: 0 0; }
.character02 { background-position: 0 -40px; }
.character03 { background-position: 0 -80px; }
.character04 { background-position: 0 -120px; }
.character05 { background-position: 0 -160px; }

/* -------------------- */

#home h3 { margin: 0; }

div.top-info { margin: 0; }

.top-info ul {
  list-style-type: none;
  margin: 0;
}

.top-info li {
  margin: 0;
  padding: 4px 0 5px 40px;
  background: url(http://hp.css-designsample.com/wp-content/themes/css-designsample/image/bg-top-info-li.gif) no-repeat 0 50%;
  border-top: 1px dotted #eee;
}

.top-info li a {
  text-decoration: none;
  background-color: #fff;
  color: #000;
}

.top-info li a:hover {
  text-decoration: underline;
  background-color: #fff;
  color: #f00;
}

/* ==================================================  SINGLE PAGE */

/* SIMPLE TAG */
.h3_st_related_posts { margin: 0 0 5px; }

.st-related-posts {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.st-related-posts li {
  margin: 0;
  padding: 5px 0 4px 12px;
  border-bottom: 1px solid #eee;
  background: url(http://www.css-designsample.com/images/mark-01.gif) no-repeat 0 50%;
}

.postmeta {
  text-align: right;
  margin-bottom: 20px;
}

.tag-text {
  margin-bottom: 20px;
  padding-left: 5px;
  border-left: 5px solid #036;
}

/**/
dl.tag-cloud {
  width: 598px;
  margin: 0;
  padding: 0;
  border: 1px solid #036;
  overflow: hidden;
}

.tag-cloud dt {
  margin: 0;
  padding: 5px 10px;
  border: none;
}

.tag-cloud dd {
  margin: 0;
  padding: 0;
}

.tag-cloud dd p {
  line-height: 1.8em;
  margin: 0 1em 1em;
}

/**/
ul.page-navi {
  list-style-type: none;
  margin: 0 0 1em;
}

.page-navi li {
  margin: 0 0 0.5em;
  padding-left: 5px;
  border-left: 5px solid #036;
}

.tb {
  text-align: right;
  line-height: 1.2em;
  margin-bottom: 2em;
}

.content-ad{ margin: 0 0 1em; }

/* ================================================== COMMENT */
.p-comment-title {
 font-size: 100%;
  line-height: 40px;
  margin: 0 0 1.5em;
  padding: 0 0 0 15px;
  background: url(http://www.css-designsample.com/images/bg-h02.jpg) no-repeat 0 0; 
}

#commentform p {
  line-height: 1.2em;
  margin-bottom: 5px;
}

#commentform label { display: block; }

#commentform input { padding: 2px; }

/* ================================================== ARCHIVE PAGE CATEGORY PAGE */
p.page-category-title,
p.p-archive-title {
  clear: both;
  line-height: 40px;
  margin: 0 0 10px;
  padding: 0 0 0 15px;
  background: url(http://www.css-designsample.com/images/bg-h01.jpg) no-repeat 0 0;
}

p.page-category-title a,
p.p-archive-title a { text-decoration: none; }

/* ==================================================  PAGE */

/*---------- PLAN ----------*/

.dl-plan { margin: 20px 0 20px; }

.dl-plan dt {
  text-indent: -9999px;
  height: 40px;
  margin: 0 0 0.5em;
  background-image: url(image/bg-plan.jpg);
  background-repeat: no-repeat;
}

#plan-a-1 { background-position: 0 0; }
#plan-a-2 { background-position: 0 -40px; }
#plan-b-1 { background-position: 0 -80px; }
#plan-b-2 { background-position: 0 -120px; }
#plan-c-1 { background-position: 0 -160px; }
#plan-c-2 { background-position: 0 -200px; }

#plan-original { background-position: 0 -240px; }

.dl-plan dd { margin: 0 0 80px; }

.dl-plan dd p { margin-bottom: 5px; }

.dl-plan dd ul {
  margin: 0.5em 0 0.5em 20px;
  color: #000033;
}

.dl-plan dd li { margin: 0 0 0.5em; }

/**/
.dl-plan .plan-ex {
  list-style-type: square;
  margin: 2em 0 0.5em 40px;
  color: #006699;
}

.plan-ex p { color: #000000; }

/*---------- PRICE ----------*/
table.table-price {
  text-align: left;
  font-size: 120%;
  margin: 0 0 50px;
}

caption {
  text-align: left;
  height: 40px;
  margin: 0;
  padding: 0 0 0 30px;
  background: url(image/bg-h02.gif) no-repeat 0 0;
}

.table-price th {
  font-weight: normal;
  width: 445px;
  padding: 10px 0 10px 5px;
}

.table-price td {
  text-align: right;
  width: 150px;
  padding: 10px 5px 10px 0;
}

.td-color {
  background-color: #eee;
  color: #000;
}

.table-price span {
  font-size: 85%;
  padding-right: 1em;
}

span.td-color {
  background-color: #eee;
  color: #f00;
}

.dl-price dt {
  background-color: #fff;
  color: #f00;
  border-bottom: 1px dotted #666;
}

/*---------- FLOW ----------*/

.dl-flow dt {
  text-indent: -9999px;
  height: 40px;
  margin: 0;
  background-image: url(image/bg-flow.jpg);
  background-repeat: no-repeat;
  border-bottom: none;
}

#step01 { background-position: 0 0; }
#step02 { background-position: 0 -40px; }
#step03 { background-position: 0 -80px; }
#step04 { background-position: 0 -120px; }
#step05 { background-position: 0 -160px; }
#step06 { background-position: 0 -200px; }

.dl-flow dd {
  margin: 0 0 40px;
  padding-left: 40px;
}

/*---------- PORICY ----------*/

.table-information {
  margin: 0 0 2em;
  padding: 0;
}

.table-information caption {
  font-size: 0.8em;
  text-align: right;
}

.table-information th,
.table-information td {
  padding: 0.7em 0 0.3em;
  font-weight: normal;
  border-bottom: 1px solid #666;
}

.table-information th {
  text-align: left;
  width: 150px;
}

.table-information td {
  text-align: left;
  width: 400px;
}

/*---------- FAQ ----------*/

.dl-faq { margin: 0 0 2em; }

.dl-faq dt {
  margin: 0 0 0.5em;
  border-bottom: 1px solid #666;
}

.dl-faq dd { margin: 0 0 0.2em; }

.dl-answer { margin: 2em 0 0; }

.dl-answer dt {
  margin: 0 0 0.2em;
  color: #0066cc;
  background-color: #eee;
  border-bottom: 1px solid #666;
}

.dl-answer dd { margin: 0 0 2em; }

.dl-answer dd p {
  margin: 0 0 0.5em;
  line-height: 1.2em
}

ul.sitemap {
  margin: 0 0 2em;
  padding: 0;
}

ul.sitemap ul {
  margin: 0 0 2em;
  padding: 0;
}

/*---------- TEMPLATE ----------*/

.ul-sample {
  width: 600px;
  list-style-type: none;
  margin: 0;
}

.ul-sample li {
  width: 300px;
  float: left;
  margin: 0 0 40px;
}

.ul-sample img {
  display: block;
  margin: 0 0 10px;
  padding: 0;
}

.ul-sample p {
  text-align: center;
  line-height: 1em;
  margin: 0 0 5px;
}

/* ================================================== SITEMAP */
#sitemap .ddsg-wrapper h2 {
  font-size: 100%;
  line-height: 40px;
  margin: 0;
  padding: 0 0 0 15px;
  background: url(http://www.css-designsample.com/images/bg-h01.jpg) no-repeat 0 0;
}

#sitemap .ddsg-wrapper ul {
  list-style-position: inside;
  margin: 0 0 2em;
  padding: 0;
}

#sitemap .ddsg-wrapper ul ul {
  list-style-position: inside;
  margin: 0.5em 0 1em 6em;
  padding: 0;
}

#sitemap .ddsg-wrapper li {
  margin: 0 0 0.5em;
  padding: 0;
}