@charset "utf-8";

/* Page MV
----------------------------------------------------------------------------------------------------*/
.mv-page {
  position: relative;
  margin-top: 15rem;
}

.mv-page__bg {
  display: block;
  width: 100%;
}

.mv-title {
  position: absolute;
  top: 45%;
  left: 55%;
  display: flex;
  align-items: center;
  margin: 0 auto 3rem;
}

.mv-title__en {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  margin-left: 1.8rem;
  background: #60B867;
  color: #FFF;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 2.8rem;
  height: 4rem;
  /* 平行四辺形のための変形 */
  transform: skew(-20deg);
  /* 左上が上がる形に傾ける */
}

/* 中のテキストを逆に傾けてまっすぐにする */
.mv-title__en>* {
  transform: skew(20deg);
}

.mv-title__jp {
  color: #000;
  font-size: 3.9rem;
  font-weight: 700;
}

@media screen and (max-width: 1024px) {
  .mv-page {
    margin-top: 10rem;
  }

  .mv-title {
    top: 35%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .mv-title__en {
    padding: 0 1rem;
    margin-left: 0;
    font-size: 1.2rem;
    height: 2rem;
  }

  .mv-title__jp {
    margin-bottom: 0;
    font-size: 2rem;
  }
}

/* Common
----------------------------------------------------------------------------------------------------*/
.main {
  padding: 10rem 0;
}

@media screen and (max-width: 1367px) {
  .main {
    padding: 10rem 0;
  }
}

@media screen and (max-width: 767px) {
  .main {
    padding: 5rem 0;
  }
}

.page-copy {
  margin-bottom: 10rem;
  font-size: 3.5rem;
  font-weight: 600;
}

@media screen and (max-width: 1367px) {
  .page-copy {
    margin-bottom: 6rem;
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 767px) {
  .page-copy {
    margin-bottom: 6rem;
    font-size: 2rem;
  }
}

/* Main Contents
----------------------------------------------------------------------------------------------------*/
.product-section {
  width: min(90%, 1230px);
  margin: 0 auto 10rem;
}

.product-section h5 {
  font-size: 2.3rem;
  border-bottom: 1px solid #60B867;
  padding: 0 0 10px;
  margin: 0 0 4rem;
  text-wrap: unset;
}

.product-flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 4rem 3.6rem;
}

.product-box {
  display: block;
}

.box__img {
  border: solid 0.2rem #006cb8;
  margin-bottom: 1rem;
}

.product-box.box__title {
  font-size: 1.8rem;
  font-weight: 600;
}

@media screen and (max-width: 767px) {
  .product-flex {
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 2rem 1.8rem;
  }

  .box__img {
    margin-bottom: 0.8rem;
  }

}