body {
  background-image: url(../img/bg.png);
  background-repeat: repeat;
  font-family: Yu Gothic, Meiryo UI, Meiryo, HiraKakuProN-W6, sans-serif;
}

h1 {
  background-size: contain;
  background-image: url(../img/title.png);
  background-repeat: no-repeat;
  text-indent: -9999px;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  h1 {
    height: 130px;
    background-position: center center;
  }
}

@media only screen and (min-width: 768px) {
  h1 {
    height: 185px;
    margin: 30px auto 50px auto;
  }
}

h2 {
  text-indent: -9999px;
  background-size: contain;
  background-repeat: no-repeat;
  height: 55px;
  width: 100%;
}

@media only screen and (max-width: 767px) {
  h2 {
    background-position: center;
  }
}

.h_kaitori {
  background-image: url(../img/h_kaitori.gif);
}

.h_sale {
  background-image: url(../img/h_sale.gif);
}

.h_comi {
  background-image: url(../img/h_comi.gif);
}

.wrap {
  margin: 0 auto;
  background: none;
}

@media only screen and (max-width: 767px) {
  .wrap {
    max-width: 767px;
    min-width: 320px;
  }
  .wrap ul {
    margin-bottom: 50px;
    padding: 0;
    list-style-image: url(../img/list_style.png);
    list-style-position: inside;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .wrap ul li {
    border-bottom: 5px solid #000;
    padding: 10px 5px 0 10px;
    margin: 0 10px;
  }
  .wrap ul li a {
    font-size: 18px;
    vertical-align: super;
  }
}

@media only screen and (min-width: 768px) {
  .wrap {
    max-width: 1080px;
  }
  .wrap ul {
    padding: 0 10px 10px 10px;
    margin-bottom: 50px;
    list-style-image: url(../img/list_style.png);
    list-style-position: inside;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .wrap ul li {
    border-bottom: 5px solid #000;
    padding: 10px 5px 0 10px;
  }
  .wrap ul li a {
    font-size: 18px;
    vertical-align: super;
  }
}

@media only screen and (max-width: 767px) {
  section {
    margin-bottom: 50px;
    -webkit-display: flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
  }
  section a {
    display: block;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    width: 298px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.8);
  }
  section a img {
    max-width: calc(100% - 10px);
    max-height: calc(100% - 10px);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  section a .spacer {
    padding-bottom: 100%;
  }
}

@media only screen and (min-width: 768px) {
  section {
    margin-bottom: 50px;
    -webkit-display: flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  section a {
    display: block;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    width: calc(25% - 12px);
    margin: 5px;
    background-color: rgba(255, 255, 255, 0.8);
  }
  section a img {
    max-width: calc(100% - 10px);
    max-height: calc(100% - 10px);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  section a .spacer {
    padding-bottom: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .white-popup {
    position: relative;
    background: #FFF;
    padding: 10px 10px 20px 10px;
    max-width: 400px;
    width: auto;
    margin: 20px auto;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
  .white-popup .modal_block {
    margin-top: 15px;
  }
  .white-popup .modal_block:first-child {
    margin-top: 0;
  }
  .white-popup .modal_block figure {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .white-popup .modal_block figure img {
    width: 100%;
  }
  .white-popup .modal_block .modal_box {
    width: 280px;
    margin: 0 auto;
  }
  .white-popup .modal_block .modal_box h3 {
    font-size: 18px;
    margin-top: 10px;
  }
  .white-popup .modal_block .modal_box h4 {
    margin: 20px 0 0 0;
  }
  .white-popup .modal_block .modal_box p {
    margin: 5px 0 0 10px;
    padding: 0;
  }
  .white-popup .modal_block .modal_box dl {
    -webkit-display: flex;
    display: flex;
    margin-left: 15px;
  }
  .white-popup .modal_block .modal_box dl dd {
    margin: 0 0 0 5px;
  }
  .white-popup .mfp-dismiss {
    font-size: 20px;
    font-weight: 900;
    position: absolute;
    bottom: 7px;
    right: 7px;
    text-decoration: none;
  }
}

@media only screen and (min-width: 768px) {
  .white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    max-width: 600px;
    width: auto;
    margin: 20px auto;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }
  .white-popup .modal_block {
    -webkit-display: flex;
    display: flex;
    margin-top: 10px;
  }
  .white-popup .modal_block:first-child {
    margin-top: 0;
  }
  .white-popup .modal_block figure {
    width: 300px;
    margin: 0;
    padding: 0;
  }
  .white-popup .modal_block figure img {
    width: 100%;
  }
  .white-popup .modal_block .modal_box {
    margin: 0 0 0 20px;
    width: calc(100% - 320px);
  }
  .white-popup .modal_block .modal_box h3 {
    font-size: 18px;
    margin-top: 10px;
  }
  .white-popup .modal_block .modal_box h4 {
    margin: 20px 0 0 0;
  }
  .white-popup .modal_block .modal_box p {
    margin: 5px 0 0 10px;
    padding: 0;
  }
  .white-popup .modal_block .modal_box dl {
    -webkit-display: flex;
    display: flex;
    margin-left: 15px;
  }
  .white-popup .modal_block .modal_box dl dd {
    margin: 0 0 0 5px;
  }
  .white-popup .mfp-dismiss {
    font-size: 20px;
    font-weight: 900;
    position: absolute;
    top: 7px;
    right: 7px;
    text-decoration: none;
  }
}
