body {
  background-color: #FDF7EE;
  font-family: 'YuGothic','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ','Meiryo','ＭＳ Ｐゴシック',sans-serif;
  color: #535352;
}

#header {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -13px;
  height: 100px;
  overflow: hidden;
}

#header_left {
  float: left;
  display: block;
  font-size: 13px;
  width: 220px;
  height: 100px;
}

#header_left p {
  font-size: 35px;
  margin-top: 15px;
  margin-bottom: 0px;
}

#header_left a {
  text-decoration: none;
  color: #535352;
}

#header_right {
  float: right;
  width: 100px;
  height: 100px;
  text-align: center;
}

#header_right {
  text-decoration: none;
}

#header_right img {
  width: 20px;
  margin-top: 40px;
}


#midashi {
  clear: both;
  background-color: #848484;
  height: 50px;
  text-align: center;
  line-height: 50px;
  margin-top: 0px;
  color: #FDF7EE;
}

#midashi h1 {
  font-size: 20px;
}

#setsumei {
  margin-bottom: 50px;
}

#return {
    background-color: #848484;
    height: 50px;
    margin-top: 15px;
    margin-bottom: 50px;
    text-align: center;
    line-height: 50px;
    clear: both;
}

#return a{
  text-decoration: none;
  color: white;
  font-size: 15px;
  display: block;
}

#main {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}


#main h4 {
  background-color: #C7C3BE;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 0px;
  margin-top: 0px;
  clear: both;
}

#sub a {
  text-decoration: none;
  text-align: center;
  line-height: 50px;
  color: black;
  background-color: #C7C3BE;
  display: block;
  height: 50px;
  width: 80px;
  margin-top: 50px;
  margin-right: 10px;
  border-radius: 25px;
  float: left;
  /* 下記はフワッとした遷移を実装するための設定*/
  -webkit-transition: -webkit-transform 0.1s ease;
  -moz-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all  0.1s ease;
  /* --------------------------------------*/
}

#sub a:last-child{
  margin-right: 0px;
}

#sub a:hover {
  background-color: #ff7d7d;
}

#sub {
  width: 350px;
  height: 150px;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (min-width: 832px) {

  #header {
    width: 832px;
  }

  #setsumei {
    width: 832px;
    margin-right: auto;
    margin-left: auto;
  }

  #main {
    width: 832px;
  }

  #main h4 {
    width: 832px;
    margin-left: auto;
    margin-right: auto;
  }

  #sub a {
    margin-right: 40px;
    width: 100px;
  }

  #sub a:last-child{
    margin-right: 0px;
  }

  #sub a:hover {
    background-color: #ff7d7d;

  }

  #sub {
    width: 520px;
  }



}
