@charset "UTF-8";

/*初期設定
----------------------------------------------------*/
body {
  min-width: 320px;
  background: #eee;
  line-height: 1.5;
  color: #333;
}
img {
  max-width: 100%;
  height: auto;
}
.ie8 img{
  width: auto;
}
/*clearfix*/
.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/*layout
----------------------------------------------------*/
nav {
  border-bottom: 1px solid #8F54BE;
  background: #8F54BE;
  box-shadow: 0 1px 1px #9676B0;
  text-align: center;
}
nav ul {
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  width: 25%;
  font-family: 'Marcellus SC', serif;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
}
.ie7 nav ul li{
  width: 24.84375%;
}
nav ul li a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
}
header h1 {
  font-size: 2.8em;
  margin: 1.5em 0 0.15em 0;
  line-height: 0.6;
  color: #B9A2CC;
  font-weight: normal;
  font-family: 'Marcellus SC', serif;
  text-align: center;
}
header p{
  text-align: center;
  margin: 1px;
  font-size: 0.85em;
  font-family: 'Marcellus SC', serif;
  color: #B9A2CC;
}
header #mainImage {
  text-align: center;
  padding-top:20px; 
}
#content ul{
  font-size: 0.8em;
}
article {
  padding: 0 20px;
}
article h2 ,article ul, article p {
  color: #7A7A7A; 
}
article h2 {
  padding: 0 0 0 10px;
  border-left: 3px solid #7A7A7A;
  line-height: 1.1;
  font-size: 1.2em;
  font-weight: normal;
  margin-bottom: 40px;
}
article h3{
  font-size: 0.85em;
  color: #7A7A7A;
  margin-top: 3em; 
}
article p, article ul {
  font-size: 0.8em;
}
section {
  margin-bottom: 3em;
}
.name {
  border-bottom: 1px solid #aaa; 
}
.name b{
    font-size: 1em;
    color: #7A7A7A;
}
footer {
  padding: 30px 0;
  background: #767676;
  color: #fff;
  text-align: center;
}

/*media Queries
----------------------------------------------------*/
@media only screen and (min-width: 768px) {
  #content{
    margin: 0 20px;
  }
  header h1 {
    font-size: 3em;
  }
  article{
    padding: 0;
  }
}
@media only screen and (min-width: 840px) {
  nav ul,
  #content{
    width: 800px;
    margin: 0 auto;
  }
}
