@charset "utf-8";

.pro-container {
  background-color: #cacaca;
}

h2 {
  padding-top: 100px;
}

/*-------------------------------------------
title center
-------------------------------------------*/
.sec-title {
  text-align: center;
}

h3 {
  display: inline-block;
  font-size: 30px;
  font-weight: 500;
  border-bottom: 1px solid #333;
  position: relative;
  width: 150px;

  margin-bottom: 100px;
  line-height: 1.2;
  letter-spacing: 0.5rem;
}

.masashi-title {
  width: 300px;
}

h3::after {
  content: attr(ja-pro-title);
  font-size: 30px;
  font-family: "Hannari", "Hina Mincho", sans-serif;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

h4 {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid #333;
  position: relative;
  width: 150px;
  margin-bottom: 100px;
  letter-spacing: 0.5rem;
}

h4::after {
  content: attr(ja-pro-title);
  font-size: 16px;
  font-family: "Hannari", "Hina Mincho", sans-serif;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/*-------------------------------------------
hair items
-------------------------------------------*/
.h-item-container {
  max-width: 680px;
}

.items-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* .m-item-container {
  margin-bottom: 60px;
} */
.item-text {
  width: 300px;
  margin: 0 auto;
}

.item-card {
  width: 45%;
  margin-bottom: 100px;
}

.item-card .pic {
  background-color: #fff;
  padding: 20px 80px;

  width: 300px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
}

.milk {
  padding-top: 348px;
}

.en-name {
  margin-bottom: 10px;
  font-weight: 200;
  letter-spacing: 0.1rem;
}

/*-------------------------------------------
order-btn
-------------------------------------------*/
.h-order-btn {
  display: inline-block;
  color: var(--text);
  padding: 5px 60px;
  text-align: center;
  letter-spacing: 0.1rem;
  font-size: 18px;
  font-weight: 700;
  margin: 20px auto 60px auto;
  box-shadow: var(--box-shadow);
  border: var(--m-order-btn) 2px solid;
  /* border-radius: 50px; */
  background-color: #fff;
  color: #333;
  /*アニメーションの指定効いてない気がする*/
  transition: 0.4s;

  &:hover {
    background-color: var(--m-order-btn);
    font-weight: 500;
    color: #fff;
  }
}

/* storesonline-shopへのリンクのBTN */
.layout_image {
  transition: all 0.3s;
}

.layout_image:hover {
  max-width: 100%;
  cursor: pointer;
  opacity: 0.5;
}

/*-------------------------------------------
masashi item area
-------------------------------------------*/
.container-m {
  background-color: #fff;
  padding-top: 100px;
}

.masashi-msg {
  width: 80%;
  margin: 0 auto 100px auto;
  justify-content: center;
  align-items: center;
}

.masashi-msg p {
  width: 360px;
  line-height: 1.8;
}

.masashi-msg .pic img {
  width: 300px;
  border-radius: 30px;
  margin-right: 30px;
}

.m-item-container {
  gap: 10px;
}

/*-------------------------------------------
order-btn
-------------------------------------------*/
.m-item-card {
  width: 30%;
  margin-bottom: 60px;
}

.m-order-btn {
  display: inline-block;
  color: var(--text);
  padding: 5px 60px;
  text-align: center;
  letter-spacing: 0.1rem;
  font-size: 18px;
  font-weight: 300;
  margin: 20px auto 0px auto;
  box-shadow: var(--box-shadow);
  border-radius: 50px;
  background-color: var(--m-order-btn);

  color: #fff;
  /*アニメーションの指定効いてない気がする*/
  transition: 0.4s;

  &:hover {
    background-color: #fff;
    font-weight: 500;
    color: var(--text);
  }
}

.m-price {
  font-weight: 500;
}

.m-item-card .pic {
  margin: 0 0 10px 0;
}

/*-------------------------------------------
 sort-btn
-------------------------------------------*/
.category-notice {
  background-color: #f0f0f0;
  padding: 5px 10px;
  color: #333;
  font-weight: 400;
  margin-right: 20px;
}
.sort-btn-container {
  position: relative;
  max-width: 1350px;
  width: 100%;
  padding: 24px;
  margin: 56px auto;
}

.buttons {
  display: flex;
  align-items: center;
}

.button {
  padding: 8px 16px;
  /* border: none; */
  border-radius: 8px;
  cursor: pointer;
  margin-right: 8px;
  color: #fff;
  transition: all 0.3s;
}

.button.active {
  color: #333;
  background: #ffffff;
}

.sort-btn-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  background-color: #53752eab;
}

.m-item-card {
  width: 300px;
  height: 300px;
  background: #fff;
  padding: 4px;
}

.m-item-card.hide {
  display: none;
}

@media (max-width: 768px) {
  .products .content {
    width: 90%;
    margin: 0 auto;
  }

  .items-container {
    flex-direction: column;
  }

  .h-item-container .item-text {
    width: 90%;
  }

  .item-card {
    width: 100%;
    margin-bottom: 150px;
  }

  .item-card .pic {
    width: 60%;
  }

  .item-card .item-text {
    width: 80%;
  }
  .category-notice {
    margin-bottom: 30px;
  }
  .masashi-msg .pic img {
    margin: 0 0 40px 0;
  }

  .masashi-msg p,
  .m-item-card {
    width: 80%;
    margin: 0 auto 60px auto;
  }

  .item-text {
    width: 100%;
    margin: 0 auto;
  }

  .m-item-card {
    margin-bottom: 200px;
  }

  .milk {
    padding-top: 0px;
  }
  /*-------------------------------------------
 sort-btn
-------------------------------------------*/

  .sort-btn-container {
    width: 80%;
  }
  .buttons {
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 450px) {
  .item-card .pic {
    width: 90%;
  }
}
