.sp-Only {
  display: none;
  @media screen and (max-width: 768px) {
    display: block;
  }
}

.mt_container {
  width: 100%;
  margin-inline: auto;
  margin-top: 0;
  @media screen and (max-width: 768px) {
    width: calc(100% - 32px);
  }
}

/******  MV  ******/
.sw-Img_Eye-Type1 {
  /* PC・SP 共通の背景 */
  background-image: url("/products/gas/machinegun/531PR/images/mv_bkImg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: auto;

  padding-top: 1000px;
}

/* MV本体 */
.mv-movie {
  max-width: 1116px;
  margin: 0 auto;
}

.mv-movie iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;   /* 画面が小さくなっても比率を維持 */
  border: none;
}

/* SP用調整 */
@media screen and (max-width: 768px) {
  .mv-movie {
    max-width: 90%;
  }

  .sw-Img_Eye-Type1 {
    padding-top: 756px;
    padding-bottom: 0;
  }
}
@media screen and (max-width: 600px) {
  .sw-Img_Eye-Type1 {
    padding-top: 261px;
  }
}

/*  */
.content1 {
  padding-bottom: 400px;
  color: #000;
  text-align: center;

  @media screen and (max-width: 768px) {
    padding-bottom: 120px;
  }

  .ttl {
    font-size: 40px;
    font-weight: 500;
    margin-top: 66px;

    @media screen and (max-width: 768px) {
      font-size: 18px;
      margin-top: 40px;
    }
  }
  .ttl-sub {
    font-size: 24px;
    font-weight: 500;
    margin-top: 16px;
    color: #464646;

    @media screen and (max-width: 768px) {
      font-size: 16px;
      margin-top: 8px;
    }
  }
  .txt {
    width: 660px;
    color: #464646;
    text-align: left;
    font-size: 16px;
    margin-top: 32px;
    margin-inline: auto;
    color: #F0F0F0;

    @media screen and (max-width: 768px) {
      width: 100%;
      font-size: 12px;
      margin-top: 24px;
    }
  }
}


/* specArea */
.img02 {
  margin-top: 64px;
}

/* カードの縦方向の間隔を開ける */
.spec .specRow + .specRow {
  margin-top: 24px;
}
.spec {
  .specRow {
    display: flex;
    /* row-gap: 24px; */

    .imageArea, .txtArea {
      flex: 1 1 50%;
      max-width: 50%;
    }

    .imageArea img {
      display: block;
      width: 100%;
      height: auto;
    }

    .txtArea {
      display: flex;
      justify-content:flex-start;
      align-items: center;
      padding-left: 40px;

      .txt {
        font-size: 16px;
        font-weight: 400;
        color: #464646;

        .note {
          display: inline-block;
          font-size: 14px;
          font-weight: 400;
          color: #464646;
          margin-top: 16px;
        }
      }
    }
  }
  .specRow-reverse {
    flex-direction: row-reverse;

    .txtArea {
      padding-left: 0;
      padding-right: 40px;
    }
  }

  .specIntro {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    color: #000;

    @media screen and (max-width: 768px) {
      flex-direction: column;
      margin-bottom: 16px;
    }

    .ttl {
      flex-shrink: 0;
      margin-right: 32px;
      text-align: center;
      font-size: 48px;
      font-weight: 500;
      padding: 16px 72px;
      border: 1px solid #000;

      @media screen and (max-width: 768px) {
        margin-right: 0;
        margin-bottom: 16px;
        font-size: 24px;
        padding: 8px 24px;
      }
    }

    .txt {
      font-size: 24px;
      font-weight: 500;
      line-height: 1.25;

      @media screen and (max-width: 768px) {
        font-size: 16px;
      }
    }
  }

  .specFull {
    margin-bottom: 32px;

    @media screen and (max-width: 768px) {
      margin-bottom: 24px;
    }

    image {
      width: 100%;
      height: auto;
    }

    .txt {
      font-size: 16px;
      color: #464646;
      margin-top: 16px;

      @media screen and (max-width: 768px) {
        font-size: 12px;
      }
    }
    .note {
      font-size: 12px;
      font-weight: 400;
      margin-top: 8px;

      @media screen and (max-width: 768px) {
        font-size: 10px;
      }
    }
    .list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, auto);
      grid-auto-flow: column;
      gap: 0 24px;
      margin-top: 16px;
      padding: 0;
      list-style: none;

      @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 0;
      }

      .txt {
        margin-top: 0;
      }
    }
  }
}
/* SP（縦並び） */
@media screen and (max-width: 768px) {
  .img02 {
    margin-top: 40px;
  }
  .spec .specRow,
  .spec .specRow-reverse {
    flex-direction: column;
    display: block;
  }

  .spec .specRow .imageArea,
  .spec .specRow .txtArea,
  .spec .specRow-reverse .imageArea,
  .spec .specRow-reverse .txtArea {
    max-width: 100%;
    flex: none;
  }

  .spec .specRow .txtArea,
  .spec .specRow-reverse .txtArea {
    padding-left: 0;
    padding-right: 0;
    margin-top: 16px;
  }

  .spec .specRow .imageArea:first-of-type,
  .spec .specRow-reverse .imageArea {
    margin-top: 24px;
  }

  .spec .specRow .txtArea .txt{
    font-size: 12px;
  }
  .spec .specRow .txtArea .txt .note {
    font-size: 10px;
  }
  }

/* spec-bgImage */
.bgImage {
  padding: 64px 0;
  background-image: url("/products/gas/machinegun/531PR/images/bgImg_01.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;

  @media screen and (max-width: 768px) {
    padding: 40px 0;
    background-size: contain;
  }
}

/* spec-bgImage02 */
.bgImage02 {
  padding: 64px 0;
  background-color: #fff;
  background-image: url("/products/gas/machinegun/531PR/images/bgImg_02.webp");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;

  @media screen and (max-width: 768px) {
    padding: 40px 0;
    background-size: contain;
  }
}

/* spec-bgGray */
.bgGray {
  background-color: #F0F0F0;
  padding: 64px 0;
  @media screen and (max-width: 768px) {
    padding: 40px 0;
  }
}

/* spec-bgBorderKhaki */
.bgBorderKhaki {
  padding: 64px 0;
  background-color: #86847C;
  background-image: url("/products/gas/machinegun/531PR/images/BKIMG_border.svg");
  background-repeat: repeat;
  background-size: auto;
  background-position: center top;

  @media screen and (max-width: 768px) {
    padding: 40px 0;
  }

  .spec {
    .specIntro {
      color: #fff;
      .ttl {
        border: 1px solid #fff;
      }
    }
    .specRow {
      .txtArea .txt {
        color: #fff;
      }
    }
  }
}

/* spec-bgKhakiImg */
.bgKhakiImg {
  background-color: #86847C;
  background-image: url("/products/gas/machinegun/531PR/images/image_01.webp");
  background-size: auto 17.4%;
  background-position: bottom center;
  background-repeat: no-repeat;

  @media screen and (max-width: 768px) {
    background-size: auto 13%;
  }
}

/* spec-bgKhaki */
.bgKhaki {
  background-color: #86847C;
  padding: 64px 0;
  @media screen and (max-width: 768px) {
    padding: 40px 0;
  }

  .spec {
    .specIntro {
      color: #fff;
      .ttl {
        border: 1px solid #fff;
      }
    }
    .specRow {
      .txtArea .txt {
        color: #fff;
      }
    }
  }
  .specFull {
    .txt {
      color: #fff;
    }
  }
}

/* spec-bgWhite */
.bgWhite {
  background-color: #FFFFFF;
  padding-bottom: 120px;
  @media screen and (max-width: 768px) {
    padding-bottom: 100px;
  }
}
.bgWhite.mt64 {
  margin-top: 64px;
  @media screen and (max-width: 768px) {
    margin-top: 40px;
  }
}

/* detailInfo */
.detailInfo {
  display: flex;
  justify-content: space-between; /* 両端に配置 */
  align-items: center;            /* 縦方向は中央揃え */
}

/* 画像側：558px */
.detailInfo .imgArea {
  flex: 0 0 558px;                /* 幅固定 */
}
.detailInfo .imgArea img {
  display: block;
  width: 100%;
  height: auto;
}

/* テキスト側：440px */
.detailInfo .txtArea {
  flex: 0 0 440px;                /* 幅固定 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.detailInfo .txtArea .ttl {
  font-size: 40px;
  font-weight: 500;
  color: #000;
}
.detailInfo .txtArea .txt {
  font-size: 24px;
  font-weight: 400;
  color: #464646;
  margin-top: 16px;
}
.detailInfo .txtArea .txt span {
  font-size: 16px;
  font-weight: 400;
  color: #464646;
}

/* 仕様・スペックボタン */
.detailInfo .txtArea .specBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;

  padding: 12px 98px;
  margin: 24px auto 0;

  background-color: #0054a6;        /* 青ベタ */
  border: 2px solid #0054a6;        /* 外枠 */
  border-radius: 4px;

  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;

  max-width: 340px;
}

/* 矢印 */
.detailInfo .txtArea .specBtn::after {
  content: ">";
  margin-left: 12px;
  font-size: 12px;
}

/* hover時：白背景＋青枠＋青文字＋内側の枠表示 */
.detailInfo .txtArea .specBtn:hover {
  background-color: #fff;
  color: #0054a6;
}

/* SP のときは縦並びにする */
@media screen and (max-width: 768px) {
  .detailInfo {
    flex-direction: column;      /* 画像 → テキストの縦並び */
    align-items: center;         /* 中央寄せ */
  }

  .detailInfo .imgArea {
    flex: none;
    max-width: 77%;
    width: 77%;
  }

  .detailInfo .txtArea {
    margin-top: 24px;            /* 画像とテキストの間隔 */
    padding: 0 16px;             /* 横に少し余白 */
    flex: 0 0 auto;
  }

  .detailInfo .txtArea .ttl {
    font-size: 24px;
    font-weight: 500;
  }
  .detailInfo .txtArea .txt {
    font-size: 14px;
    font-weight: 500;
  }
  .detailInfo .txtArea .txt span {
    font-size: 10px;
    font-weight: 400;
  }
  .detailInfo .txtArea .specBtn {
    padding: 10px 90px;
  }
}

.mt24 {
  margin-top: 24px;
  @media screen and (max-width: 768px) {
    margin-top: 16px;
  }
}

@media screen and (max-width: 768px) {
  .mt40 {
    margin-top: 40px;
  }
}
