.container {
  margin: 0;
  padding: 0;
  max-width: 100vw;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(-30px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.mv {
  height: 100vh;
}

.mv .flex_area {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 20px;
}

.mv .flex_area .left_area {
  width: 30%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mv .flex_area .left_area .top_area {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 300px;
  margin: auto;
}

.mv .flex_area .left_area .top_area img {
  width: 300px;
  max-width: 90%;
  z-index: 1;
  margin: auto;
}

.mv .flex_area .left_area .top_area img:nth-child(2) {
  width: 300px;
  z-index: 1;
}

.mv .flex_area .left_area .bottom_area {
  display: flex;
  justify-content: center;
}

.mv .flex_area .left_area .bottom_area img {
  width: 100%;
  max-width: 250px;
}

.mv .flex_area .right_area {
  width: calc(70% - 20px);
  height: 100%;
}

.mv .flex_area .right_area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.product h2 {
  text-align: center;
  margin: 80px auto 5px;
  font-size: 1.3rem;
  width: 90%;
}

.product .en {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.8rem;
  width: 90%;
}

.product .en.under {
  margin: 130px auto;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.product .en.under:before {
  position: absolute;
  content: "";
  width: 0.1px;
  height: 50px;
  background: #7f7f7f;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
}

.product .en.under:after {
  position: absolute;
  content: "";
  width: 0.1px;
  height: 50px;
  background: #7f7f7f;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
}

.product .main_img {
  width: 100%;
  height: 600px;
  position: relative;
}

.product .box4 {
  width: 100%;
  margin: 2em auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.product .box4 img {
  width: 100%;
}

.product .main_img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: bottom;
}

.product .main_img p {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  color: #fff;
  text-align: left;
  background: #3b3b3b7d;
  width: auto;
}

.product .img_area {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin: auto;
}

.product .img_area img {
  width: 90%;
  max-width: 550px;
}

.product p {
  text-align: center;
  margin: 15px auto;
  width: 90%;
}

.heritage-prod-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 90%;
  margin: auto;
}

.heritage-prod-btn span {
  padding: 5px 10px;
  background: #fff;
  position: relative;
}

.heritage-prod-btn img {
  position: relative;
  left: -20px;
  z-index: -1;
  transition: left 0.6s ease; /* ←ここに移動 */
}

.heritage-prod-btn:hover img {
  left: 0;
}

.product-specs {
  max-width: 1000px;
  width: 90%;
  margin: 2em auto;
}
.product-specs h2 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.3rem;
  border-bottom: 2px solid #333;
  display: inline-block;
  padding-bottom: .3em;
}
.product-specs h3 {
  text-align: center;
  margin-bottom: 1em;
  font-size: 1.2rem;
  display: inline-block;
  font-weight: 500;
  margin-bottom: 5px;
}
.product-specs p {
  font-size: 0.9rem;
}
.product-specs table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 0.8rem;
}
.product-specs th,
.product-specs td {
  border: 1px solid #ccc;
  padding: 0.6em 0.8em;
  text-align: left;
  font-size: 0.8rem;
}
.product-specs th {
  background: #f5f5f5;
  width: 20%;
  font-weight: 600;
}
.product-specs td {
  background: #fff;
}
.product-specs .notes {
  font-size: 0.7rem;
  color: #555;
  font-weight: 500;
}

.product-specs .flex_area {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.product-specs .flex_area img {
  width: 80px;
  object-fit: contain;
}

.support_cnt {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.support_cnt span {
  background: #ddd;
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
}

.ifSp {
  display: none;
}

@media (max-width: 1400px) {
  .product .box4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .product .box4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .mv {
    height: 100vh;
  }

  .mv .flex_area .left_area .bottom_area {
    display: none;
  }
}

@media (max-width: 768px) {
  .product .box4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .ifSp {
    display: block;
  }

  .mv .flex_area {
    width: 100%;
    position: relative;
  }

  .mv .flex_area .right_area {
    position: absolute;
    width: 100%;
  }

  .mv .flex_area .left_area {
    position: absolute;
    top: 80px;
    width: 100%;
  }

  .mv .flex_area .left_area .top_area {
    background: #fff;
  }
  
  .mv .flex_area .left_area .top_area img:nth-child(2) {
    width: 250px;
  }

  .product-specs tr {
    margin-bottom: 0;
  }

  .product-specs th {
    display: block;
    width: 100%;
  }
}