html {
  font-size: 13px;
}

body {
  font-family: sans-serif;
}

header {
  padding: 78px 0;
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

header h1 {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

header h1 img {
  width: 100%;
}

header .bg {
  background: url("../images/bg.png");
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: 2;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
}

header .bg.active {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#container {
  text-align: center;
}

#container h2 {
  color: white;
  background-color: #DB378C;
  font-weight: 100;
  line-height: 1;
  padding: 10px 20px;
  font-size: 26px;
  font-size: 2rem;
  margin: 117px auto;
  margin: 9rem auto;
  border-radius: 6px;
  padding-bottom: 7.8px;
  padding-bottom: 0.6rem;
  max-width: 820px;
  box-sizing: border-box;
}

#container h2 span {
  font-size: 90%;
  color: #333;
  margin-left: 6.5px;
  margin-left: .5rem;
  font-family: sans-serif;
}

#container ul#list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 90%;
  max-width: 820px;
  margin: 0 auto 100px auto;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#container ul#list li {
  color: #555;
  text-align: center;
  box-sizing: border-box;
  display: block;
  width: 45%;
  margin-bottom: 3.2%;
}

#container ul#list li .thumb {
  margin-bottom: 19.5px;
  margin-bottom: 1.5rem;
}

#container ul#list li .thumb a {
  display: block;
}

#container ul#list li .thumb img {
  width: 100%;
  border-radius: 12px;
}

#container ul#list li .info {
  font-family: 'Yellowtail', sans-serif;
  font-size: 39px;
  font-size: 3rem;
  font-weight: 300;
  color: #1CA7C1;
  letter-spacing: 1px;
}

#container ul#list li .info .price {
  display: inline-block;
  font-weight: 300;
  margin-left: 13px;
  margin-left: 1rem;
}

#container ul#list li .info .price span {
  font-size: 66%;
}

#container ul#list li p {
  color: #DB378C;
  font-family: sans-serif;
  margin-top: 13px;
  margin-top: 1rem;
  line-height: 1.5;
  font-size: 11px;
}

#container #notice {
  background-color: #F5CE45;
  padding: 80px 0 80px 0;
}

#container #notice p {
  text-align: left;
  margin-left: 18px;
}

#container #notice .nbox {
  width: 860px;
  margin: 0 auto 100px auto;
  line-height: 1.8;
}

#container #notice .nbox:nth-child(2) p {
  font-size: 90%;
  margin-bottom: 13px;
  margin-bottom: 1rem;
}

#container #notice #area h4 {
  font-size: 18.2px;
  font-size: 1.4rem;
}

#container #notice #area #np1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#container #notice #area #np1 div {
  width: 31%;
  padding-bottom: 13px;
  padding-bottom: 1rem;
}

#container #notice #area #np1 div p {
  font-size: 80%;
  margin-top: 13px;
  margin-top: 1rem;
}

#container #notice h3 {
  font-size: 15.6px;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: normal;
  margin-bottom: 39px;
  margin-bottom: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#container #notice h3:before, #container #notice h3:after {
  content: "";
  border-bottom: 1px solid #000;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

#container #notice h3:before {
  margin-right: 26px;
  margin-right: 2rem;
}

#container #notice h3:after {
  margin-left: 26px;
  margin-left: 2rem;
}

#container #notice #caution h4 {
  text-align: left;
  margin-bottom: 13px;
  margin-bottom: 1rem;
}

#container #notice #caution h4:nth-child(2) {
  margin-bottom: 2.6px;
  margin-bottom: 0.2rem;
}

#container #notice #caution h4:before {
  content: "!";
  display: inline-block;
  width: 12px;
  height: 12px;
  line-height: 12px;
  background-color: black;
  color: white;
  border-radius: 12px;
  margin-right: 5px;
  text-align: center;
  font-size: 10px;
  vertical-align: baseline;
}

#container #notice #caution #num_notice {
  border: 1px solid black;
  margin: 39px 0 13px 0;
  margin: 3rem 0 1rem 0;
  padding: 6.5px 0;
  padding: .5rem 0;
}

#container #notice #caution p.nn {
  margin: 0 0 6.5px 0;
  margin: 0 0 .5rem 0;
}

.owl-pagination {
  margin-top: 26px;
  margin-top: 2rem;
}

.owl-pagination div {
  display: inline-block;
  margin: 0 5.2px;
  margin: 0 .4rem;
  width: 12px;
  height: 12px;
  border-radius: 12px;
  background-color: #DDD;
}

.owl-pagination div.active {
  background-color: #555;
}

@media screen and (min-width: 960px) {
  #container ul#list li .thumb {
    overflow: hidden;
  }
  #container ul#list li .thumb a img {
    -webkit-transition-duration: 0.3s;
            transition-duration: 0.3s;
  }
}

/*iPad*/
@media screen and (max-width: 1040px) {
  #container #notice .nbox {
    width: 94%;
  }
}

/*iPad*/
@media screen and (max-width: 960px) {
  #container ul#list li {
    margin-bottom: 3rem;
  }
}

/*iPhone*/
@media screen and (max-width: 640px) {
  header {
    padding: 20px 0;
  }
  header h1 {
    width: 100%;
  }
  .sp_hide {
    display: none;
  }
  #container h2 {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 3rem  auto;
    width: 90%;
  }
  #container #slide {
    width: 90%;
    margin: 0 auto 5rem auto;
    height: 260px;
  }
  #container #slide ul {
    width: 100%;
  }
  #container #slide ul li {
    width: 100%;
  }
  #container ul#list {
    width: 90%;
    margin-bottom: 0px;
  }
  #container ul#list li {
    width: 47%;
  }
  #container ul#list li .thumb {
    margin-bottom: .5rem;
  }
  #container ul#list li .info {
    line-height: 1.2;
  }
  #container ul#list li .info .price {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    color: #DB378C;
    margin: -2px 0 0 0;
  }
  #container ul#list li .info .comment {
    font-size: 1rem;
  }
  #container ul#list li .info p {
    color: black;
    display: block;
    font-size: 1rem;
    margin-top: 5px;
  }
  #container #notice {
    padding: 30px 0;
  }
  #container #notice .nbox {
    margin-bottom: 20px;
  }
  #container #notice h4 {
    font-size: 12px;
    width: 90%;
    margin: 0 auto;
  }
  #container #notice p {
    font-size: 11px;
    margin-bottom: 1rem;
  }
  #container #notice #area #np1 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 5rem;
  }
  #container #notice #area #np1 div {
    width: 100%;
    padding: 1rem 0 2rem 0;
    border-bottom: 1px solid #BBB;
  }
  #container #notice #area #np1 div:nth-child(1) {
    border-top: 1px solid #BBB;
  }
  .owl-pagination {
    margin-top: 1rem;
  }
  .owl-pagination div {
    margin: 0 .3rem;
    width: 10px;
    height: 10px;
    border-radius: 10px;
  }
}
