@charset"utf-8";
body {
  font-family: メイリオ, Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', sans-serif;
  background: url("http://www.hahonico-happylife.com/img/header/block01.jpg") top center repeat-x;
}
#wrap {
  width: 1040px;
  margin: 0 auto;
  padding-top: 30px;
}

/*header*/

h1+img {
  width: 125%;
  position: relative;
  top: 0;
  right: 12.5%;
}
#header_menu {
  width: 100%;
  border-top: solid 2px #000;
  border-bottom: solid 2px #000;
}
#header_menu a {
  float: right;
}
#header_menu a:first-child {
  float: left;
}
#header_menu a:first-child img {
  margin-left: 50px;
}
#header_menu a:first-child:hover {
  float: left;
}

/*footer*/

.footnavi {
  height: auto;
}
.footnavi a {
  color: #635452;
  padding: 0 10px;
  margin: 5px 0;
  border-right: solid 1px;
  display: inline-block;
}
.footnavi a:hover {
  color: #777;
}
.footnavi a:last-child {
  border-right: 0;
}

/*********************************************/


/*********************************************/

@media screen and (max-width:640px) {
  body {
    background: #fff;
    margin: 0 auto;
    padding: 0;
  }
  #wrap {
    width: 100%;
  }
  h1+img {
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
    margin-right:0;
  }
  #header_ie {
    width: 100%;
  }
  #header_ie>img {
    width: 100%;
  }
  #header_ie img {
    float: none;
  }
  #header_ie img+div a:first-child {
    display: inline-block;
    width: 36px;
    height: 36px;
    overflow: hidden;
  }
  #header_ie img+div a:first-child img {
    position: relative;
    bottom: 15px;
    right: 5px;
  }
  #header_ie img+div a:nth-child(2) {
    display: inline-block;
    width: 36px;
    height: 36px;
    overflow: hidden;
  }
  #header_ie img+div a:nth-child(2) img {
    display: inline-block;
    position: relative;
    bottom: 13px;
    right: 10px;
  }
  #header_menu {
    height: 35px;
    overflow: hidden;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    transition: all 1s ease 0s;
  }
  #header_menu:hover {
    height: 195px;
  }
  #header_menu:before {
    content: "MENU";
    width: 100%;
    font-weight: bold;
    font-size: 1.3em;
    margin: 10px 0;
    color: #635452;
  }
  #header_menu a, #header_menu a:hover {
    float: none!important;
  }
  #header_menu a:first-child img {
    margin-left: 0;
  }
  #header_ie .SNS_icon {
    width: 17%;
  }
  .SNS_icon {
    margin: 0 5px 0;
  }
  .footnavi {
    margin: 30px auto;
    max-width: 340px;
  }
  .footnavi a {
    width: 95%;
    border: 1px solid;
    padding: 7px 0;
    margin: 3px auto;
  }
  .footnavi a:last-child {
    border-right: 1px solid;
  }
  .footnavi a:hover {
    text-decoration: none;
    font-weight: bold;
    background-color: #777;
    color: #fff;
  }
  #copyright {
    width: 100%;
  }
}
