
/* mainvw */
.article__header {
    width: 100vw;
    height: 100vh; /* ←画面高さいっぱいにする */
    overflow: visible; /* ←画像やテキストがはみ出てもOKに */
    position: relative;
  }

.mainvw {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

.mainvw img {
    margin-left: auto;
    margin-right: 0;
    width: 100vw;
    height: 100%;
    /* display: block; */
    object-fit: cover;
    object-position: 0px -30px;
    
  }

  .mainvw_txt {
    position: absolute;
    top:27%;
    left: 5%;
  }

  .mainvw_txt-1 {
    color: #333;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap; /* 1行に収めてはみ出しやすく */
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }

.mainvw_txt-2 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    margin-top: 12px;
  }

  .mainvw_span {
    font-size: 3vw;
  }

  .section__category--txt {
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.27px;
    word-wrap: break-word;
    display: flex;
    justify-content: center;
    margin: 80px 6.5%;
    line-height: 1.5;
  }

  .spec-table {
    width: 60%;
    border-collapse: collapse;
    margin: 0 auto;
  }

  .spec-table th,
  .spec-table td {
    font-size: 1.4rem;
  }

  .spec-table th,
  .spec-table td {
    border: 1px solid #000000;
    padding: 10px;
    text-align: left;
  }

  .spec-table th {
    background-color: #f0f0f0;
    width: 90px;
  }

  /* サムネイルスライダーの全体 */
  .sliderArea {
    max-width: 800px;
    width: 70%;
    margin: 0 auto;
    position: relative;
  }

  .slider_thumb img {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
    margin: 50px auto 10px;
  }

  .thumb {
    max-width: 800px;
    margin: 10px auto;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow: visible;
  }

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

  .thumb .slick-track {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

  .thumb .slick-slide {
    opacity: 0.5;
    cursor: pointer;
    height: auto !important;
  }

  .thumb .slick-current {
    opacity: 1;
  }

  /* --- 両スライダーの矢印共通スタイル --- */
  .slick-arrow {
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    opacity: 1;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  /* サムネイル矢印 */
  .thumb .slick-prev {
    left: -50px;
  }
  .thumb .slick-next {
    right: -50px;
  }

  ホバー時
  .slick-arrow:hover {
    background-color: #555;
  }

  .slider_thumb .slick-arrow {
    display: none !important;
  }

  /* サムネイルスライダーの矢印表示 */
  .thumb .slick-prev::before {
    content: '←';
    font-size: 24px;
    color: #000;
  }

  .thumb .slick-next::before {
    content: '→';
    font-size: 24px;
    color: #000;
  }

  /* ホバー時：矢印文字の色も変える */
  .thumb .slick-arrow:hover::before {
    color: #d9d9d9;
  }

  /* 背景の色変化は既にこれでOK */
  .slick-arrow:hover {
    background-color: #555;
  }

  .foodProcessing__btn {
    text-align: center;
    margin-bottom: 115px;
  }

@media screen and (max-width:1210px) {

    .mainvw-txt {
        width: 265px;
    }

    .mainvw_txt-2 {
    font-size: 1.8rem;
  }
  }

@media screen and (max-width: 768px) {

  .mainvw img {
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .mainvw-txt {
    width: 174px;
  }

  .mainvw_txt-1 {
    font-size: 3.2rem;
    width: 100%;
  }

  .mainvw_txt-2 {
    font-size: 1.6rem;
    margin-top: 12px;
  }

  .sp-none {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .spec-table {
    width: 90%;
}

  .slider_thumb img {
    width: 67vw;
    height: 40vh;
}

  .thumb .slick-next {
    right: -30px;
}

  .thumb .slick-prev {
    left: -30px;
}

  .thumb .slick-next::before {
    font-size: 18px;
}

  .thumb .slick-prev::before {
    font-size: 18px;
}
}

/* お気軽にお問い合わせください */
  .category__txt p {
    width: 100%;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.27px;
    word-wrap: break-word
}

  .category__txt {
    text-align: center;
    margin: 80px 6.4% 0;
}

  .category__txt p {
    line-height: 2.5rem;
    text-align: left;
    align-items: center;
    display: flex;
    flex-direction: column;
}

  .inquiry__btn {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
    padding: 80px 0 105px;
}

  .foodProcessing-inquiry {
    padding: 15.5px 50px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background-color:#d0e7ff;
    color: #000000;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
}

  .foodProcessing-inquiry:hover {
    background-color: #0077c2;
    color: #ffffff;
    transition: 0.3s ease;
}

@media screen and (max-width: 600px) {
  .section__category {
    padding: 0;
  }  
  
    .category__txt p:first-of-type {
      font-size: 1.8rem;
}

    .category__item--txt2 {
      text-align: left;
}
}
