@charset "UTF-8";
/*! ========================================
※※※※※※※※※※※※※※※※※※※※※※※※※※※
  このCSSファイルはSassから生成されていますので、
  編集しないようご注意ください。 by Kenta
※※※※※※※※※※※※※※※※※※※※※※※※※※※
========================================= */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

*, *:before, *:after {
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

ol, ul, li {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: bottom;
}

div#page {
  width: 1600px;
  margin: 0 auto;
}
div#page div.bgBox {
  position: relative;
}
div#page div.bgBox img.bg {
  text-align: center;
  width: 100%;
  height: auto;
}
div#page div.bgBox img.sbg, div#page div.bgBox p.inner {
  display: none;
}
div#page div.bgBox a {
  position: absolute;
  z-index: 1000;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
div#page div.bgBox a.bg1 {
  bottom: 5%;
}
div#page div.bgBox a.bg2 {
  bottom: 23%;
}
div#page div.bgBox a.bg3 {
  bottom: 1%;
}
div#page div.bgBox a.bg4 {
  bottom: 5%;
}

@media only screen and (min-width: 960px) and (max-width: 1600px) {
  /*pc用のcssを記述*/
  div#page {
    width: 100%;
  }
  div#page a[class^="bg"] {
    width: 31.25%;
    height: auto;
  }
  div#page a[class^="bg"] img {
    width: 100%;
    height: auto;
  }
}
@media only screen and (max-width: 959px) {
  /*sp用のcssを記述*/
  div#page {
    width: 100%;
  }
  div#page img.bg {
    display: none;
  }
  div#page img.sbg {
    display: block !important;
    text-align: center;
    width: 100%;
    height: auto;
  }
  div#page img.midashi {
    width: 75% !important;
    height: auto;
    margin: 0 auto 20px;
  }
  div#page a[class^="bg"] {
    width: 50%;
    height: auto;
  }
  div#page a[class^="bg"] img {
    width: 100%;
    height: auto;
  }
  div#page .bgBox {
    background: url(../image/sb4-2.jpg);
    background-repeat: repeat-y;
    background-size: contain;
  }
  div#page a.bg2 {
    bottom: 22% !important;
  }
  div#page a.bg4 {
    bottom: 2% !important;
  }
  div#page p.inner {
    display: block !important;
    overflow: scroll;
    margin: 0 auto;
    line-height: 1.4;
    font-size: 13px;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 40px;
    color: #444;
  }
  div#page p.inner span {
    font-weight: bold;
    font-size: 15px;
  }
  div#page p.result {
    width: 75%;
    height: 250px;
  }
  div#page p.kiyaku {
    width: 75%;
    height: 500px;
  }
}
