@charset "UTF-8";
/* top_sp.css */

@media screen and (max-width:600px) {

/*--------------------
1:#container
--------------------*/
#container {
  position: relative;
}
#container > * {
  width: 100%;
  height: 100vh;
}
section {
  padding: 40px 3vw;
}
h2 {
  color: #000;
  font-family: 'Passion One', cursive;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  text-align: center;
}

/*--------------------
2:#visual
--------------------*/
#visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
#visual h1 {
  transform: translateY(-48px);
  width: 90vw;
}

/*--------------------
3:#product
--------------------*/
#products .contents {
  display: flex;
  flex-wrap: wrap;
}
#products .contents .box {
  width: calc(50% - 2vw);
}
#products .contents .box:nth-child(even) {
  margin-left: 2vw;
}
#products .contents .box:nth-child(2) ~ .box {
  margin-top: 2vw;
}
#products .contents .box.btn {
  background-color: rgba(255,255,255,0.35);
  color: #6699cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  transition: background-color .4s ease, transform .4s ease;
}

/*--------------------
4:#contact
--------------------*/
#contact input {
  width: 100%;
}
#contact input + input { margin-top: 15px;}
#contact input + br { display: none;}
#contact textarea {
  margin-top: 15px;
  height: 40vh;
  width: 100%;
}

/*--------------------
5:#products-view
--------------------*/
#products-view {
  position: fixed;
  top: -100vh;
  left: 0;
  background-color: rgba(255,255,255,0.75);
  height: 100vh;
  overflow: auto;
  padding: 20px 0;
  width: 100%;
  z-index: 5;
  transition: all .5s ease;
}
#products-view.view {
  top: 0;
}
#products-view .content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 94vw;
}
.prod {
  width: 33.33%;
}
#close {
  border: 1px solid #6699cc;
  border-radius: 5px;
  bottom: 32px;
  cursor: pointer;
  line-height: 1;
  margin: 0 auto 16px;
  color: #6699cc;
  text-align: center;
  padding: 8px;
  width: 94vw;
}

}/* media */
