html {
  font-size: 16px;
}

body {
  font-family: sans-serif;
  color: #665C5C;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

a {
  color: #B70B0B;
}

a:hover {
  text-decoration: none;
}

a.btn {
  background-color: #1f8cd1;
  color: white;
  display: block;
  width: 150px;
  padding: 6px 0;
  text-align: center;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid #1f8cd1;
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  text-decoration: none;
  pointer-events: none;
  opacity: .2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}

a.btn:hover {
  background-color: white;
  color: #1f8cd1;
}

#container {
  overflow: hidden;
}

#logo {
  width: 25%;
  max-width: 500px;
  min-width: 300px;
  margin: 0 auto;
  padding: 100px 0;
}

#logo img {
  width: 100%;
}

h1 {
  font-family: 'Oswald', sans-serif;
  text-align: center;
  color: #665C5C;
  font-size: 70px;
  letter-spacing: 1px;
  font-weight: 100;
  margin: 50px 0;
}

#p1 {
  text-align: center;
  color: #665C5C;
  line-height: 1.8;
  margin-bottom: 100px;
}

#box {
  position: relative;
  width: 25%;
  max-width: 500px;
  min-width: 300px;
  margin: 0 auto;
}

#box img {
  width: 100%;
}

#box img#box_img {
  -webkit-transform: translateY(-300px);
          transform: translateY(-300px);
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition-timing-function: cubic-bezier(1, 0.045, 0.695, 1.47);
          transition-timing-function: cubic-bezier(1, 0.045, 0.695, 1.47);
  position: relative;
  z-index: 10;
}

#box img#shadow {
  position: absolute;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(1, 0.045, 0.695, 1.47);
          transition-timing-function: cubic-bezier(1, 0.045, 0.695, 1.47);
  bottom: -10px;
  left: 0;
  right: 0;
  z-index: 2;
}

#box.active img#box_img {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#box.active img#shadow {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#price {
  text-align: center;
  margin: 16px auto 20px auto;
  margin: 1rem auto 20px auto;
  color: #665C5C;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}

#price .name {
  font-size: 20px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-delay: .5s;
          transition-delay: .5s;
  -webkit-transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
          transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

#price .price {
  font-size: 30px;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transform: translateY(-20px);
          transform: translateY(-20px);
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
  -webkit-transition-delay: .5s;
          transition-delay: .5s;
}

#price .price span {
  font-size: 50%;
  margin: 0 4px;
}

#price.active .name {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#price.active .price {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#price.active .price span {
  font-size: 50%;
  margin: 0 4px;
}

#btn_area {
  text-align: center;
  font-size: 11px;
}

#btn_area a {
  font-size: 15px;
  margin-bottom: 10px;
}

#btn_area .soldout {
  color: crimson;
  font-size: 32px;
  font-size: 2rem;
  font-family: 'Oswald', sans-serif;
}

#items {
  margin: 50px auto 100px auto;
  border: 1px dotted #EEE;
  max-width: 800px;
  padding: 16px;
  padding: 1rem;
  background-color: #FCFCFC;
  box-sizing: border-box;
}

#items ul {
  text-align: left;
}

#items li {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #665C5C;
  background-color: white;
  border: 1px solid #EEE;
  display: inline-block;
  padding: 6px 15px;
  margin-bottom: 8px;
  margin-bottom: .5rem;
  border-radius: 4px;
}

#items li a {
  text-decoration: none;
}

#items h3 {
  font-size: 14px;
  text-align: center;
}

#items #set {
  margin: 16px auto 0 auto;
  margin: 1rem auto 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

#items #set .con {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

#items #set .con p {
  font-size: 13px;
  line-height: 2;
  margin: 16px auto 0 6px;
  margin: 1rem auto 0 6px;
}

#items #set .con p span {
  font-size: 75%;
  vertical-align: middle;
}

#items #set .img {
  width: 210px;
  position: relative;
  font-size: 12px;
  text-align: center;
}

#items #set .img img {
  width: 100%;
  display: block;
  margin-bottom: 5px;
  border-radius: 10px;
}

#tokuten {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 200px auto;
}

#tokuten h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #E50012;
  margin-bottom: 64px;
  margin-bottom: 4rem;
}

#tokuten h2 div {
  font-size: 18px;
  padding: 0 16px;
  padding: 0 1rem;
  line-height: 1;
}

#tokuten h2:before, #tokuten h2:after {
  content: "";
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border-bottom: 1px solid #E50012;
}

#tokuten h3 {
  font-size: 27px;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal;
  letter-spacing: 1px;
}

#tokuten h3 span {
  line-height: 1;
  vertical-align: middle;
  color: #E50012;
  margin-right: 22.4px;
  margin-right: 1.4rem;
  font-size: 70px;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}

#tokuten p {
  font-size: 13px;
  margin-top: 30px;
}

#tokuten .notice {
  text-align: center;
  color: #817474;
  font-size: 12px;
  margin: 16px 0;
  margin: 1rem 0;
}

#tokuten ul#nenga {
  margin: 32px auto 100px auto;
  margin: 2rem auto 100px auto;
}

#tokuten ul#nenga li {
  display: inline-block;
  width: 16%;
  margin: 0 1%;
}

#tokuten ul#nenga li img {
  width: 100%;
  box-shadow: 0 0 12px #DDD;
  -webkit-transition-duration: .4s;
          transition-duration: .4s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
          transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transform: scale(2);
          transform: scale(2);
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#tokuten ul#nenga li:nth-child(2) img {
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}

#tokuten ul#nenga li:nth-child(3) img {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}

#tokuten ul#nenga li:nth-child(4) img {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}

#tokuten ul#nenga li:nth-child(5) img {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}

#tokuten ul#nenga.active li img {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#tokuten img#cheki {
  -webkit-transform: translateY(-100px);
          transform: translateY(-100px);
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  margin-top: 50px;
}

#tokuten img#cheki.active {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}

#tokuten #q {
  color: #E50012;
  font-size: 60px;
  -webkit-transform: scale(1) translateY(-130px);
          transform: scale(1) translateY(-130px);
  -webkit-transition-duration: 1s;
          transition-duration: 1s;
  -webkit-transition-delay: .5s;
          transition-delay: .5s;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

#tokuten #q.active {
  -webkit-transform: scale(2) translateY(-40px);
          transform: scale(2) translateY(-40px);
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#buy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 500px;
  margin: 0 auto 120px auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #DDD;
  padding: 32px 48px;
  padding: 2rem 3rem;
}

#buy .photo {
  width: 150px;
  margin-right: 40px;
}

#buy .photo img {
  width: 100%;
}

#buy .btn_area {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 12px;
}

#buy .btn_area .name {
  font-size: 30px;
  margin-bottom: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}

#buy .btn_area a {
  margin-bottom: 10px;
  margin-left: 0;
}

#buy .btn_area .soldout {
  color: crimson;
  font-size: 20.8px;
  font-size: 1.3rem;
  font-family: 'Oswald', sans-serif;
}

#notice {
  border: 0px solid #E50012;
  border-width: 3px 0;
  padding: 20px 0;
  max-width: 600px;
  margin: 0 auto 100px auto;
}

#notice h2 {
  color: #E50012;
  font-size: 16px;
  text-align: center;
}

#notice h2 i {
  margin-right: 8px;
  margin-right: .5rem;
}

#notice p {
  padding: 16px;
  padding: 1rem;
  line-height: 2;
  font-size: 13px;
}

footer {
  padding: 100px 0 30px 0;
  color: #EEE;
  background-color: black;
}

footer h2 {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  vertical-align: middle;
  max-width: 400px;
  margin: 0 auto 60px auto;
}

footer img#f_logo {
  margin-right: 30px;
  width: 100px;
}

footer #copyrights {
  text-align: center;
  font-size: 12px;
  color: #EEE;
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  letter-spacing: 1px;
}

.sp_il, .sp_bl, .sp_ib, .tb_il, .tb_ib, .tb_bl {
  display: none;
}

@media screen and (max-width: 640px) {
  html {
    font-size: 12px;
  }
  #logo {
    padding: 20px 0;
    width: 50%;
    min-width: 0;
  }
  h1 {
    font-size: 34px;
    margin: 10px 0;
  }
  #p1 {
    margin: 0 auto 50px auto;
    width: 90%;
  }
  #box {
    width: 60%;
    margin-top: 0;
    min-width: 0;
  }
  #box img#box_img {
    margin: 0 auto;
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
  #box img#shadow {
    bottom: -5px;
  }
  #items #set {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #items #set .img {
    width: 100%;
    padding-top: 20px;
  }
  #tokuten {
    margin-bottom: 40px;
  }
  #tokuten h3 {
    font-size: 16px;
    line-height: 1;
  }
  #tokuten h3 span {
    font-size: 40px;
  }
  #tokuten img#cheki {
    width: 80%;
  }
  #tokuten p {
    margin: 20px auto 0 auto;
    width: 90%;
    font-size: 12px;
  }
  #tokuten #q {
    font-size: 40px;
    width: 90%;
    margin: 0 auto;
  }
  #buy {
    padding: .5rem;
    width: 90%;
    margin: 0 auto 50px auto;
  }
  #buy .photo {
    width: 90px;
    margin-right: 10px;
  }
  #buy .btn_area {
    font-size: 10px;
  }
  #buy .btn_area .name {
    font-size: 22px;
    margin-bottom: 0;
  }
  #buy .btn_area a {
    width: 90px;
  }
  #notice {
    width: 90%;
    padding: 10px 0;
    margin-bottom: 50px;
  }
  #notice p {
    font-size: 11px;
  }
  footer {
    padding: 40px 0 30px 0;
  }
  footer h2 {
    text-align: center;
    display: block;
    margin-bottom: 20px;
  }
  footer h2 img#f_logo {
    vertical-align: middle;
    -webkit-transform: translateY(-7px);
            transform: translateY(-7px);
    margin-right: 20px;
    width: 50px;
  }
  footer #copyrights {
    font-size: 8px;
  }
  .sp_il {
    display: inline;
  }
  .sp_ib {
    display: inline-block;
  }
  .sp_bl {
    display: block;
  }
}
