.container {
  width: 1024px;
  margin: 0 auto;
  position: relative;
}
@media only screen and (max-width: 800px) {
  .container {
    width: 98%;
    margin: 0 auto;
  }
}

a {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
a:hover img {
  opacity: 0.7;
}

#header {
  background: url(../img/common/bg-head.gif);
  background-position: center 0;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
}
@media only screen and (max-width: 800px) {
  #header {
    background-size: 50% 50%;
  }
}

#main h2 {
  font-weight: bold;
  font-size: 18px;
  font-size: 1.8rem;
  margin-bottom: 15px;
}
#main h3 {
  font-weight: bold;
  font-size: 16px;
  font-size: 1.6rem;
  margin-bottom: 15px;
}
#main h4 {
  font-weight: bold;
  font-size: 16px;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
#main h5 {
  font-weight: bold;
  font-size: 15px;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
#main h6 {
  font-weight: bold;
  font-size: 14px;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
#main p {
  margin-bottom: 10px;
  line-height: 1.6;
}
#main ul {
  list-style: disc;
  list-style-position: outside;
  margin-left: 25px;
  margin-bottom: 15px;
}
#main ol {
  list-style: decimal;
  list-style-position: outside;
  margin-left: 25px;
  margin-bottom: 15px;
}
#main blockquote {
  background: #eee;
  color: #999;
  padding: 3%;
  font-style: italic;
  display: block;
  margin-bottom: 15px;
  border-radius: 5px;
}
#main blockquote p:last-child {
  margin-bottom: 0;
}
#main em, #main i {
  font-style: italic;
}
#main strong, #main b {
  font-weight: bold;
}
#main table {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  width: 100%;
}
#main table th, #main table td {
  padding: 10px;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
#main table th:first-child, #main table td:first-child {
  border-left: none;
}
#main table th {
  background: #999;
}

footer {
  position: relative;
}
footer #f-nav {
  position: absolute;
  bottom: 100%;
  width: 100%;
}
footer #f-nav .eros-foot {
  float: left;
  width: 225px;
}
@media only screen and (max-width: 800px) {
  footer #f-nav .eros-foot {
    float: none;
    width: auto;
    text-align: center;
  }
}
footer #f-nav ul {
  float: right;
  margin-top: 50px;
}
@media only screen and (max-width: 800px) {
  footer #f-nav ul {
    width: 94%;
    margin: 30px auto;
    float: none;
  }
}
@media only screen and (max-width: 599px) {
  footer #f-nav ul {
    margin-top: 20px;
  }
}
footer #f-nav ul li {
  float: left;
  margin-left: 20px;
}
@media only screen and (max-width: 800px) {
  footer #f-nav ul li {
    width: 49%;
    margin-left: 2%;
  }
}
footer #f-nav ul li:first-child {
  margin-left: 0;
}
footer #f-nav ul li img {
  width: 100%;
}
footer .curtain {
  background: url(../img/common/bg-foot.jpg) repeat-x;
  background-position: center 0;
  height: 167px;
}
@media only screen and (max-width: 800px) {
  footer .curtain {
    background-size: 50% auto;
  }
}
@media only screen and (max-width: 599px) {
  footer .curtain {
    height: 70px;
  }
}
footer #copy {
  padding: 10px 0;
  text-align: center;
}
