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

@media screen and (min-width:601px), print {


/*--------------------
1:#container
--------------------*/
#container {
  position: relative;
  display: flex;
  height: 100vh;
  min-height: 600px;
  width: 100%;
}
#container > * {
  width: 100%;
  height: 100vh;
}
section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
h2 {
  position: absolute;
  top: 56px;
  left: 56px;
  color: #000;
  font-family: 'Passion One', cursive;
  font-size: 40px;
  font-weight: normal;
  letter-spacing: 0.05em;
}


/*--------------------
2:#visual
--------------------*/
#visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
#visual h1 {
  transform: translateY(-32px);
}

/*--------------------
3:#products
--------------------*/
#products {
  padding: 56px;
}
#products .contents {
  display: flex;
  justify-content: center;
  width: 100%;
}
#products .contents .box {
  height: 240px;
  width: 240px;
}
#products .contents .box + .box {
  margin-left: 24px;
}
#products .contents .box.btn {
  background-color: rgba(255,255,255,0.35);
  color: #6699cc;
  cursor: pointer;
  font-size: 24px;
  line-height: 240px;
  text-align: center;
  transition: background-color .4s ease, transform .4s ease;
}
#products .contents .box.btn:hover {
  background-color: rgba(255,255,255,0.8);
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transform: scale(1.2, 1.2);
}
#products .contents .box img {
  height: auto;
  width: 100%;
  transition: transform .4s ease;
}
#products .contents .box:hover img {
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transform: scale(1.2, 1.2);
}

/*--------------------
4:#contact
--------------------*/
input[type=text] {
  width: 400px;
}
input + input {
  margin-left: 24px;
}
textarea {
  margin-top: 24px;
  height: 112px;
  width: 824px;
}

/*--------------------
5:#product-view
--------------------*/
#products-view {
  background-color: rgba(255,255,255,0.8);
  position: absolute;
  top: 10vh;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: auto;
  padding: 40px 0;
  height: 80vh;
  width: 0;
  transition: all .5s ease;
}
#products-view.view {
  width: 80vw;
}
#products-view .content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  width: calc(100% - 80px);
}
.prod {
  margin-bottom: 16px;
  width: 15%;
}
.prod:not(:nth-child(6n)) {
  margin-right: 2%;
}
.prod img {
  height: auto;
  width: 100%;
  transition: transform .4s ease;
}
.prod:hover img {
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transform: scale(1.2, 1.2);
}
#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: 320px;
  transition: background-color .5s ease;
}
#close:hover {
  background-color: #6699cc;
  color: #fff;
}

}/* media */
