@charset "utf-8";
/* CSS Document */ h1 {color:#F5090D;font-size: 50px;
  margin-top: 20px;
}
h2 {color: #F4080C;font-size: 20px; margin-top: 10px;}
h3 {font-size: 18px;}
h4 {font-size: 25px; color: #000000;}
h5 {font-size: 20px; color: #000000;}

h6 {
  color: #FB0D11;
  font-size: 25px;
  margin-top: 20px;
  text-align: center
}
  p {
    color: #070707;
    font-size: 15px;
    margin-top: 20px;
  }
  img.float_right {
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 20px;
    float: left;
  }
  body {
    font-family: "メイリオ", sans-serif;
  }
  ul#nav {
    width: 756px;
    margin: 20px auto;
    overflow: hidden;
  }
  ul#nav li {
    width: 150px;
    border: #777 1px solid;
    border-right: none;
    text-align: center;
    float: left;
    background: #fef;
  }
  ul#nav li:last-child {
    border-right: #777 1px solid;
  }
  ul#nav li a {
    display: block;
    height: 100px; /*heightとline-heightを合わせると内包させるテキストが領域高の真ん中に揃う*/
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
    color: #900;
    text-decoration: none;
  }
  ul#nav li a:hover {
    opacity: 0.6;
  }
figure  :hover{opacity: 0.8;}

  body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-image: url(../img/bg_body.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
  #wrapper {
    background-color: rgba(0, 0, 51, 0.4);
  }
  #contents {
    background-color: rgba(255, 255, 255, 0.7);
    width: 930px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 10px;
  }
  #contents h1 {
    font-size: 48px;
    font-weight: bold;
    color: #4015F0; /*リッチブラック使用*/
    margin: 30px 0 30px 10px;
  }
  #contents p {
    line-height: 1.6;
  }
  #contents > p {
    margin-bottom: 30px;
    margin-left: 10px;
  }
  figure {
    float: left;
    width: 280px;
    margin-right: 15px;
    margin-bottom: 25px;
    padding: 10px;
  }
  figure:nth-of-type(3n) { /*親要素内の３の倍数ごとに兄弟要素を指定*/
    margin-right: 0;
  }
  figure:nth-of-type(n+4) { /*親要素内の４番目以降の兄弟要素を指定*/
    margin-bottom: 0;
  }
  figure img {
    margin-bottom: 10px;
    text-align: center;
  }
  figure figcaption {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: -0.05em; /*テキストの詰めを調整*/
    color: #0B0000; /*リッチブラック使用*/
  }
a:hover {
  color:red;
}
#content {
  width: 200px;
  height: 50px;
}
#box {
  border: 10px ridge #2007F9;
  width: 200px;
  box-sizing: border-box;
  padding-left: 30px;
  padding-bottom: 20px;margin-left: 200px;
}