@charset "UTF-8";
/* PC */
body {
  background-color: #eee3e4;
  margin: 0;
  padding: 0;
}
.product-section {
  position: relative;
  height: 50vh;
  background-color: #eee3e4;
  display: flex;
  align-items: flex-start;
  padding: 0;
  margin: 10% 0;
  background-image: linear-gradient(to right, #eee3e4 30%, transparent 30%), url("../img/product/product1.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.product-text {
  z-index: 2;
  padding-top: 5vh;
  padding-left: 5%;
  padding-right: 5%;
  width: 70%;
}
.product-sub {
  font-size: 2rem;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 10px;
}
.h1-product {
  font-size: 7rem;
  color: #fff;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  margin: 0;
  line-height: 1.1;
}
.video-section {
  background-color: #eee3e4;
  padding: 5% 0;
}
.video-title {
  font-size: 2rem;
  padding-left: 5%;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 30px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  width: 70%;
  margin: 0 auto;
}
.video-thumbnail {
  width: 100%;
  height: auto;
  cursor: pointer;
  border: 1px solid #ccc;
  /* transition: transform 0.2s ease; 削除 */
}
/* .video-thumbnail:hover は削除か無効化 */
/* モーダルスタイル */
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.video-modal-content {
  position: relative;
  background: #fff;
  padding: 20px;
  max-width: 800px;
  width: 90%;
}
.video-close {
  position: absolute;
  z-index: 1000000;
  top: 10px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}
.video-placeholder {
  width: 100%;
  height: auto;
}
/* タブレット対応（画面幅1024px以下） */
@media screen and (max-width: 1024px) {
  .product-section {
    position: relative;
    height: 27vh;
    background-color: #eee3e4;
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 10% 0;
    background-image: linear-gradient(to right, transparent 30%, transparent 30%), url("../img/product/product1.png");
    background-size: 660px;
    background-position: right;
    background-repeat: no-repeat;
  }
  .h1-product {
    font-size: 6rem;
    color: #fff;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    margin: 0;
    line-height: 1.1;
  }
}
/* タブレット対応（画面幅768px以下） */
@media screen and (max-width: 768px) {
  .product-section {
    position: relative;
    height: 27vh;
    background-color: #eee3e4;
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 10% 0;
    background-image: linear-gradient(to right, transparent 30%, transparent 30%), url("../img/product/product1.png");
    background-size: 535px;
    background-position: right;
    background-repeat: no-repeat;
  }
}
/* スマホ対応（画面幅480px以下） */
@media screen and (max-width: 480px) {
  .product-section {
    position: relative;
    height: 23vh;
    background-color: #eee3e4;
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 10% 0;
    background-image: linear-gradient(to right, transparent 30%, transparent 30%), url("../img/product/product1.png");
    background-size: 270px;
    background-position: right center;
    background-repeat: no-repeat;
  }
  .product-text {
    z-index: 2;
    padding-top: 2%;
    text-align: left;
    padding-left: 3%;
  }
  .product-sub {
    font-size: 1rem;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 10px;
  }
  .h1-product {
    font-size: 3rem;
    color: #fff;
    font-weight: bold;
    font-family: "Roboto", sans-serif;
    margin: 0;
    line-height: 1.1;
  }
  .video-title {
    font-size: 1.5rem;
    padding-left: 5%;
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 30px;
  }
  .video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 85%;
    margin: 0 auto;
  }
}