@charset "UTF-8";
/* CSS Document */
/* Common */
html {
  overflow-y: scroll;
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  font: normal 95%/175% "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #000000;
}

.fontsmall {
  font-size: 83.3%;
  line-height: 130%;
}

.fontbig {
  font-size: 116.7%;
  line-height: 180%;
}

* html table {
  font-size: 100%;
  line-height: 150%;
}

form, dl, dt, dd, ul {
  margin: 0;
  padding: 0;
}

input, select, textarea {
  color: #444;
  font: normal 100%/166.7% "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

ul li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6, h7 {
  font-size: 100%;
  font-weight: normal;
  padding: 0;
  margin: 0;
}

p {
  margin: 0;
  padding: 0 0 0;
}

img {
  border: none;
  vertical-align: top;
}

.bold {
  font-weight: bold;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-table;
  zoom: 1;
}

* html .clearfix {
  height: 1px;
  zoom: 1;
}

.clearfix {
  display: block;
}

* {
  margin: 0;
  padding: 0;
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
}

.sp {
  display: none;
}

body.fix {
  position: fixed;
  top: 0;
}

header {
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: url(../images/bg_header.jpg) 50% 0 no-repeat;
  background-size: cover;
  overflow: hidden;
  height: 200px;
}
header .header_top {
  overflow: hidden;
  padding-top: 15px;
}
header .header_top h1 {
  float: left;
  margin-left: 20px;
  width: 250px;
}
header .header_top h1 a:hover {
  opacity: 0.9;
}
header .header_top .right {
  float: right;
}
header .header_top .right form {
  overflow: hidden;
  width: 250px;
}
header .header_top .right form input[type="text"] {
  width: 170px;
  height: 40px;
  font-size: 18px;
  border-radius: 5px;
  margin: 0 5px 0 0;
  padding: 0 5px;
  border: none;
}
header .header_top .right form input[type="submit"] {
  background: url(../images/btn_search.gif) 0 0 no-repeat;
  background-size: 100%;
  width: 50px;
  height: 40px;
  border-width: 0px;
}
header h2 {
  background: url(../images/header_text.png) 0 0 no-repeat;
  background-size: 100%;
  width: 767px;
  margin: 30px auto 0;
  height: 46px;
  text-indent: -9999px;
}

#wrap {
  margin: 200px auto 0;
  width: 100%;
}

footer {
  padding: 50px 0;
  background: #f4f5f7;
}
footer p {
  text-align: center;
  line-height: 2em;
  font-size: 90%;
}
footer p.pagetop {
  background: url(../images/footer_border.gif) 0 50% repeat-x;
  width: 50%;
  margin: 0 auto 30px;
}
footer p.bnr {
  margin: 30px 0;
}
footer p.bnr a:hover {
  opacity: 0.7;
}

@media screen and (max-width: 1024px) {
  header {
    height: 180px;
  }
  header .header_top .right {
    width: 250px;
  }
  header .header_top .right p {
    margin: 0 10px 10px 0;
  }
  header .header_top .right ul.textbtn li {
    margin: 0 5px;
  }
  header .header_top .right form ul {
    float: none;
  }
  header h2 {
    margin: 25px auto 0;
    width: 75%;
  }

  #wrap {
    margin: 180px auto 0;
  }
}
@media screen and (max-width: 560px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  header {
    background: url(../images/bg_header.jpg) 72% 0 no-repeat;
    background-size: cover;
    height: 140px;
    overflow: hidden;
  }
  header .header_inner {
    position: relative;
  }
  header .header_top {
    overflow: hidden;
  }
  header .header_top h1 {
    margin-left: 0;
    padding: 0 10px;
    width: 60%;
  }
  header .header_top .searchBtn {
    width: 10%;
    float: right;
    margin-right: 2%;
  }
  header .header_top .searchBtn img {
    width: 100%;
  }
  header .header_top .right {
    position: absolute;
    top: 0;
    display: none;
    width: 100%;
    background-color: #4874ed;
    padding: 20px 10px;
  }
  header .header_top .right form {
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
  }
  header .header_top .right form input[type="text"] {
    width: 65%;
    font-size: 18px;
    border-radius: 5px;
    margin: 0 5px 0 0;
    padding: 0 5px;
    border: none;
  }
  header .header_top .right form input[type="submit"] {
    background: url(../images/btn_search.gif) 0 0 no-repeat;
    background-size: 100%;
    margin-top: 10px;
    width: 14%;
    border-width: 0px;
    vertical-align: middle;
  }
  header .header_top .right p {
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    width: 28px;
    height: 28px;
    text-align: center;
    display: block;
    background-color: #fff;
    position: absolute;
    right: 20px;
    top: 75px;
  }
  header h2 {
    margin: 30px auto 0;
  }

  #wrap {
    margin: 140px auto 0;
  }
}
