

@charset "utf-8";

/*各商品ページ専用*/
.wrapper{
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}
.gallery{
columns: 4;/*段組みの数*/
padding:0 15px;/*ギャラリー左右に余白をつける*/
}
.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
    display: inline-block;
    width: 25%;
}
.gallery img{
  width:90%;
  height:auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/
  margin-bottom: 5px;
}

@media only screen and (max-width: 900px) {
  .gallery{
  columns:3;
  } 
}

@media only screen and (max-width: 768px) {
  .gallery{
  columns: 2;
  } 
  .gallery li {
    width: 50%;
}
}

/* 各商品ページレイアウト用 */
ul{
  margin:0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
a{
  color: #2c2c2c;
}
a:hover,
a:active{
  text-decoration: none;
}
h1 {
    text-align: center;
    font-size: 1.5em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 20px auto;
    color: #2c2c2c;
}
p{
  margin: 10px;
  word-wrap : break-word;
}

/* お餅 概要装飾 */
.menubox_1{
    position: relative;
    background: #fdfaec;
    box-shadow: 0px 0px 0px 3px #d7bc7e;
    padding: 0.2em 0.5em;
    color: #2c2c2c;
    font-weight: bold;
    line-height: 25px;
    margin: 0 auto;
    width: 50%;
    margin-bottom: 30px;
}
.menubox_1:after{
    position: absolute;
    content: '';
    right: -4px;
    top: -4px;
    border-width: 0 25px 25px 0;
    border-style: solid;
    border-color: #b7964a #fff #b7964a;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

/* 各商品 説明文字装飾 */
.item_txt1 {
    color: #2c2c2c;
    font-size: 1em;
    font-weight: bold;
    padding-left: 5px;
    width: 80%;
  }
.item_txt2 {
    color: #2c2c2c;
    font-size: 0.8em;
    padding: 2px 5px 5px 5px;
    border-bottom: 1px solid #a37813;
    width: 80%;
  }
.pick {
  color: #e76b00;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
h1 {
width: 95%;
}
.menubox_1{
    width: 85%;
}
}

/*画像を出現させるアニメーション*/
.flipLeft{
animation-name: flipLeft;
animation-duration:0.5s;
animation-fill-mode:forwards;
perspective-origin: left center;
opacity: 0;
}

@keyframes flipLeft{
  from {
   transform: perspective(600px) translate3d(0, 0, 0) rotateY(30deg);
  opacity: 0;
  }

  to {
  transform: perspective(600px) translate3d(0, 0, 0) rotateY(0deg);
  opacity: 1;
  }
}