@charset "UTF-8";
/*-------------------------------------------
共通クラス
-------------------------------------------*/
body {
  font-family: "Hiragino Mincho Pro", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, HGS明朝E, メイリオ, Meiryo, serif;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a:hover {
  opacity: 0.85;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.body {
  background: #353535;
}

.main {
  position: relative;
}

/*-------------------------------------------
共通パーツの指定
-------------------------------------------*/
.u-wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 900px) {
  .u-wrapper {
    padding: 0px 15px;
  }
}

/* ここから記述します。 */
.header {
  margin-top: 30px;
  padding: 0px;
}
@media screen and (max-width: 900px) {
  .header {
    margin: 30px 0 0;
  }
}

.header-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

/*-------------------------------------------
hamburgerNavの中
-------------------------------------------*/
.header-sitelogo {
  width: 150px;
  padding-bottom: 20px;
}

.header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
}

/*-------------------------------------------
hamburgerNavの中　終わり
-------------------------------------------*/
.site-logo {
  width: 160px;
}

/*-------------------------------------------
hamburger-menuクラスにactiveクラスが付与されたら、三→×に変化するようにする
-------------------------------------------*/
.hamburgerMenu {
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 15;
}

.header__mask {
  display: none;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.header__mask.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: 10;
  cursor: pointer;
}

.hamburgerMenu-line {
  position: absolute;
  display: block;
  width: 30px;
  background-color: #fff;
  height: 2px;
  -webkit-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
}

.hamburgerMenu-line:nth-child(1) {
  top: 0px;
}

.hamburgerMenu-line:nth-child(2) {
  top: 10px;
}

.hamburgerMenu-line:nth-child(3) {
  top: 20px;
}

/* 1本目の線を-45度回転 */
.hamburgerMenu.active span:nth-child(1) {
  top: 10px;
  left: 0px;
  background: #fff;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

/* 2本目と3本目は重ねて45度回転 */
.hamburgerMenu.active span:nth-child(2),
.hamburgerMenu.active span:nth-child(3) {
  top: 10px;
  background: #fff;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

/*-------------------------------------------
hamburger-navigationIDにactiveクラスが付与されたら、
ナビゲーションメニューを表示させる。
-------------------------------------------*/
/*　opacityを0→1にすることで、ナビゲーションメニューを非表示→表示というふうに実装する　*/
#hamburger-navigation.active {
  left: 0;
  opacity: 1;
  visibility: visible;
}

.hamburger-navigation {
  text-align: left;
  padding: 60px 25px;
  width: 250px;
  height: 100vh;
  background-color: #fff;
  color: #000;
  position: fixed;
  top: 0;
  left: -250px;
  z-index: 20;
  opacity: 0;
  -webkit-transition: left 0.15s ease, opacity 0.8s ease, visibility 0.8s ease;
  transition: left 0.15s ease, opacity 0.8s ease, visibility 0.8s ease;
  visibility: hidden;
}

.hamburger-navigation.active {
  left: 0px;
}

.main {
  margin-top: 20px;
  position: relative;
}

.footer {
  background-color: #fff;
  padding: 30px 0;
}

.footer-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 900px) {
  .footer-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.footer-logo {
  width: 160px;
}

.footer-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
@media screen and (max-width: 900px) {
  .footer-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 25px;
  }
}

.footer-right {
  font-size: 0.8rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 900px) {
  .footer-right {
    margin: 30px 0 25px;
  }
}

/*-------------------------------------------
TOP gridレイアウト
-------------------------------------------*/
/* ここから記述します。 */
.grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr); /* 4列 */
  grid-template-areas: "A B C D" "A E F G";
  gap: 35px;
  padding: 5px 0px;
}
@media screen and (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "A A" "B C" "D E" "F G";
    gap: 28px 8px;
    padding: 0;
  }
}

.grid-item:nth-child(1) {
  grid-area: A;
}

.grid-item:nth-child(1) .grid-img {
  height: calc(100% - 50.78px);
  -o-object-position: right;
     object-position: right;
  -o-object-fit: cover;
     object-fit: cover; /* 余白を埋めたいなら */
}

.grid-title {
  font-size: 1rem;
  color: #fff;
  padding-top: 5px;
}

.grid-price {
  font-size: 1rem;
  color: #fff;
}

.viewMore {
  border: 1px solid #fff;
  padding: 10px 30px;
  text-align: center;
  width: 220px;
  margin: 80px auto;
}

.viewMore-link {
  color: #fff;
}

.side-text {
  position: absolute;
  color: rgba(255, 255, 255, 0.3568627451);
  left: -76px;
  top: 35%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}
@media screen and (max-width: 900px) {
  .side-text {
    display: none;
  }
}
.side-text::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  left: -65px;
  margin-right: 15px;
  background-color: rgba(255, 255, 255, 0.3568627451);
}

/*-------------------------------------------
aboutページ / about.html
-------------------------------------------*/
/* ここから記述します。 */
.about {
  margin-bottom: 80px;
}

.about-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 50px;
  color: #fff;
}
@media screen and (max-width: 900px) {
  .about-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.about-inneritem:nth-child(2) {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.about-title {
  font-size: 1.8rem;
}
@media screen and (max-width: 900px) {
  .about-title {
    font-size: 1.3rem;
  }
}

.about-text {
  margin: 20px 0;
  line-height: 2;
}

/*-------------------------------------------
companyページ / company.html
-------------------------------------------*/
/* ここから記述します。 */
.company {
  padding-bottom: 130px;
}

.compnay-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  gap: 70px;
}
@media screen and (max-width: 900px) {
  .compnay-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 50px;
  }
}

@media screen and (max-width: 900px) {
  iframe {
    width: 100%;
    height: 300px;
  }
}

.company_about {
  display: grid;
  width: 50%;
  margin: 100px 0;
}
@media screen and (max-width: 900px) {
  .company_about {
    margin: 0;
    width: 100%;
  }
}

.company_about-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  padding: 20px;
  border-bottom: 1px solid #fff;
}
@media screen and (max-width: 900px) {
  .company_about-item {
    font-size: 0.9rem;
  }
}
.company_about-item:last-child {
  border-bottom: none;
}

dt {
  width: 20%;
}

/*-------------------------------------------
itemページ / item*.html
-------------------------------------------*/
/* ここから記述します。 */
.item__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  padding: 30px 0 90px;
}
@media screen and (max-width: 900px) {
  .item__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.item {
  width: 100%;
}

.item-title {
  font-size: 2.2rem;
  color: #fff;
  padding: 30px 0;
}
@media screen and (max-width: 900px) {
  .item-title {
    font-size: 1.5rem;
    padding: 20px 0;
  }
}

.item-price {
  font-size: 1.5rem;
  color: #fff;
  padding-bottom: 10px;
}
@media screen and (max-width: 900px) {
  .item-price {
    font-size: 1.2rem;
  }
}

.product-action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 10px;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

input[type=number] {
  width: 160px;
  height: 40px;
  padding: 6px;
  background-color: #fff;
}

.numberInput {
  color: #fff;
}
@media screen and (max-width: 900px) {
  .numberInput {
    font-size: 0.8rem;
  }
}

.addCart {
  padding: 15px;
  background-color: #c12a2a;
  color: #fff;
  margin-bottom: 10px;
}

.fa-cart-shopping::before {
  content: "\f07a";
}

.item-introduction {
  padding-top: 15px;
  color: #fff;
  line-height: 2;
}

/*-------------------------------------------
productsページ / products.html
-------------------------------------------*/
/* ここから記述します。 */
.heading {
  color: #fff;
  font-size: 2rem;
  position: relative;
  padding-left: 60px;
  margin: 60px 0 30px;
}
@media screen and (max-width: 900px) {
  .heading {
    font-size: 1.5rem;
  }
}
.heading::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 1px;
  top: 50%;
  left: 0;
  background-color: #fff;
}

.products__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr); /* 4列 */
  gap: 35px;
  padding: 5px 0px;
  margin-bottom: 100px;
}
@media screen and (max-width: 900px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 8px;
    padding: 0;
  }
}

.popular__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 35px;
  padding: 5px 0px;
  margin-bottom: 100px;
}
@media screen and (max-width: 900px) {
  .popular__grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 28px 8px;
    padding: 0;
  }
}