/* 製品販売一覧ページ */

.p-products-box {
  margin-top: 60px;
}

.p-products-box__inner {
  width: min(75vw, 1080px);
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
}

@media (max-width: 1174px) {
  .p-products-box__inner {
    width: min(95vw, 1180px)!important;
  }
}

/* サイドバー */
.c-products-sidebar {
  max-width: 16.7rem;
  width: 100%;
}

.c-products-sidebar__searchBox:nth-child(n + 2) {
  margin-top: 20px;
}

.c-products-sidebar__searchBoxTitle {
  font-weight: bold;
  font-size: 1rem;
  line-height: calc(30 / 14);
  text-align: center;
}

.c-products-sidebar__searchBoxLists {
  margin-top: 0.5rem;
}

.c-products-sidebar__searchBoxList a{
  font-size: 14px;
  font-weight: bold;
  padding: 1.0625rem 2rem 1.0625rem 0.5rem;
  display: inline-block;
  width: 100%;
  border-bottom: 1px solid rgba(62, 62, 62, 1);
  position: relative;
}

.c-products-sidebar__searchBoxList a:after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: 0.5rem;
  width: 24px;
  height: 24px;
  background: url("./img/product/chevron-right.png");
  object-fit: cover;
  background-size: 100% 100%;
}

.c-products-sidebar__searchBoxList a:hover {
  background: rgba(244, 244, 244, 1);
}


/* 一覧表示 */

.p-products-box__mainTit {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: calc(30 / 24);
}

.p-products-box__mainItems {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.25rem 1.25rem;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  width: 100%;
}

.p-products-box__mainItem {
  max-width: 11.088125rem;
}

.p-products-box__mainItemTit {
  padding: 0.25rem 0.5rem;
}

.p-products-box__mainItemPrice {
  padding: 0.25rem 0.5rem;
}

.p-products-box__mainItemBtn {
  background :rgba(228, 247, 247, 1);
  border-radius: 25px;
  padding: 0.25rem 0.5rem 0.25rem 1.75rem;
  font-size: 10px;
  line-height: calc(12.26 / 9);
  border: 0.5px solid rgba(0, 0, 0, 1);
  display: inline-block;
  position: relative;
  transition: .3s;
}

.p-products-box__mainItemBtn:after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  left: 0.5rem;
  width: 16px;
  height: 16px;
  background: url("./img/product/mail.png");
  object-fit: cover;
  background-size: 100% 100%;
}



.p-products-box__mainItem a:hover .p-products-box__mainItemBtn{
  background: rgba(235, 235, 235, 1);
}

.p-products-box__mainItemImg {
  text-align: center;
}

.p-products-box__mainItem-img {
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 151.38;
  object-fit: cover;
  display: block;
}

.p-products-box__mainItemTit {
  white-space: nowrap; /* テキストを折り返さない */
  overflow: hidden; /* はみ出た部分を非表示 */
  text-overflow: ellipsis; /* 省略記号（…）を表示 */
}


/* おすすめ製品 */
.p-productsOsusume {
  margin-top: 96px;
  margin-bottom: 96px;
}

.p-productsOsusume__inner {
  width: min(75vw, 1080px);
  margin: 0 auto;
}

.p-productsOsusume__title {
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  line-height: calc(36 / 24);
}


.p-productsOsusume__sliderWrapper {
  position: relative;
  display: flex;
  align-items: center; /* 矢印を上下中央に配置 */
  justify-content: center;
  gap: 16px; /* 矢印の間隔を調整 */
  margin-top: 24px;
}

.p-productsOsusume__slider {
  width: calc(100% - 80px); /* 矢印分の余白を考慮 */
  overflow: hidden;
}

.p-productsOsusume__itemTit {
  white-space: nowrap; /* テキストを折り返さない */
  overflow: hidden; /* はみ出た部分を非表示 */
  text-overflow: ellipsis; /* 省略記号（…）を表示 */
}

.p-productsOsusume__item {
  max-width: 11.088125rem;
  width: 19%;
  flex-shrink: 0;
  min-width: 0;
  margin: 0 16px;
}

.p-productsOsusume__item a {
  transition: .3s;
}

.p-productsOsusume__item a:hover {
  opacity: 0.75;
}

.p-productsOsusume__itemImg img{
  max-width: unset!important;
  width: 100%;
}

.slick-prev2,
.slick-next2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 244, 244, 1);
  color: black;
  border: none;
  width: 24px;
  height: 50%;
  font-size: 14px;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 左矢印 */
.slick-prev2 {
  left: 0;
}

/* 右矢印 */
.slick-next2 {
  right: 0px;
}
/* 余計なズレを防ぐ */
.slick-track {
  display: flex !important;
  gap: 0px !important;
}


@media (max-width: 768px) {
  .p-productsOsusume__inner {
    width: min(95vw, 1080px);
    margin: 0 auto;
  }
  .p-productsOsusume__item {
    margin: 0 8px;
  }
}

@media (max-width: 380px) {
  .p-productsOsusume__itemEn {
    font-size: 14px!important;
  }
}




.p-products-margin-top-news {
  margin-top: 96px!important;
}




.under-service__title-products {
  padding-top: 247px;
  width: 100%!important;
  margin-top: 0!important;
  margin-bottom: 0!important;
}

.under-service__title-products #breadcrumbs {
  background: rgba(1, 183, 205, 1);
  color: #FFF;
  padding-left: 12%;
  padding-top: 12px;
  padding-bottom: 12px;
}

.under-service__title-products #breadcrumbs a {
  color: #FFF;
}



.p-products-spOnly  {
  display: none;
}

.p-productsFlowSpOnly{
  display: none;
}



@media (max-width: 768px) {
  .p-products-pcOnly {
    display: none;
  }

  .under-service__title-products {
    padding-top: 97px;
  }

  .p-products-box {
    margin-top: 0;
    margin-bottom: 60px;
  }

  .p-products-box__mainItem {
    width: 46%;
  }

  .p-products-box__mainItems {
    justify-content: center;
  }

  .under-service__title-products #breadcrumbs {
    padding-left: 3%;
  }

  .p-products-spOnly {
    display: block;
  }

  .p-products-contactSec {
    margin-top: 60px!important;
  }

  .p-productsFlowSpOnly {
    display: block;
  }

  .p-productsFlowSpOnly__title {
    font-size: 60px;
    font-weight: bold;
    color: rgba(0, 72, 157, 1);
  }

  .p-productsFlowSpOnly__titleItems {
    padding: 60px 27px 48px 27px;
  }

  .p-productsFlowSpOnly__subTitle {
    margin-top: 10px;
    font-weight: bold;
    font-size: 18px;
  }

  .p-productsFlowSpOnly__blueBox {
    padding: 34px 27px;
    background: rgba(228, 247, 247, 1);
  }


  .p-productsFlowSpOnly__blueBoxItems {
    max-width: 370px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 21px 70px ;
    flex-wrap: wrap;
  }

  .p-productsFlowSpOnly__blueBoxItem {
    width: 36%;
    text-align: center;
  }
  .p-productsFlowSpOnly__blueBoxItemText {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 20px;
  }

  .p-productsFlowSpOnly__blueBoxItem:nth-child(even) {
    position: relative;
  }

  .p-productsFlowSpOnly__blueBoxItem:nth-child(even):after {
    position: absolute;
    content: "";
    top: 50%;
    left: -36px;
    transform: translate(-50%);
    width: 34px;
    height: 34px;
    background: url("./img/product/chevron-right.png");
    object-fit: cover;
    background-size: 100% 100%;
  }

  .header-navigation__item:hover {
    border-bottom: unset!important;
  }
}


/* 検索ボタンcss */
#form-search {
  border: 1px solid rgba(0, 0, 0, 1);
  border-radius: 4px;
  max-width: 248px;
  margin: 0 auto;
}
#s-btn-area {
  width: 24px;
  height: 24px;
  text-align: right;
  margin-left: auto;
}

#s-btn-area:hover {
  opacity: 0.7;
}

#s-box {
  padding: 8px 18px 8px 12px;
  line-height: 2.5;
  outline: none;
}

.c-products-sidebar__keywordTitle {
  font-weight: bold;
  font-size: 1rem;
  line-height: calc(30 / 14);
  text-align: center;
}

.c-products-sidebar__keywordBtn {
  margin-top: 16px;
}

/* ページネーション */
.p-products-box__pagenation {
  margin-top: 42px;
  text-align: center;
}

.p-products-box__pagenation .prev {
  margin-right: 24px;
}

.p-products-box__pagenation .next {
  margin-left: 24px;
}

.p-products-box__main {
  width: 100%;
}



/* spサイズの際のサイドバー */

#js-menu {
  display: none;
}
.p-product-footer-fixed {
  display: none;
}

@media (max-width: 768px)  {
  .p-product-footer-fixed {
    display: block;
  }

  /* メニューの初期状態（非表示） */
  #js-menu {
    display: none;
    position: fixed;
    top: 0; /* 画像の上に表示 */
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* メニューを表示するクラス */
  #js-menu.active {
    display: block;
  }


  .p-product-footer-fixed {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFF;
  }
  .p-product-footer-fixed__item {
    text-align: center;
  }

  .p-product-footer-fixed__item img{
    max-width: 420px;
    width: 100%;
  }



  .c-products-sidebarSp {
    max-width: unset;
    max-height: 100%;
    overflow-y: auto;
  }

  .c-products-sidebar__keywordBtn {
    position: relative;
  }

  #form-search {
    max-width: unset;
  }

  #s-btn-area {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }


  .p-product-sidebar__closeBtnBox {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .c-products-sidebar__closeBtn {
    position: relative;
    padding : 8px 36px 8px 12px;
    background: rgba(210, 210, 210, 1);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 1);
    width: 116px;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .c-products-sidebar__closeBtn::after {
    content: "×";
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
  }

}



/* 商品詳細ページ */

.p-productsSingle__items {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.p-productsSingle__mainItems {
  width: 58.583106267%;
}

.p-productsSingle__imgItem {
  width: 35.9673024523%;
}

.p-productsSingle__imgItem img {
  width: 100%;
}

.p-productsSingle__title {
  font-size: 20px;
  font-weight: 500;
  line-height: calc(27.24 / 20);
}

.p-productsSingle__price {
  font-size: 26px;
  font-weight: 500;
  line-height: 2;
  text-align: right;
}

.p-productsSingle__price span {
  font-size: 14px;
}

.p-productsSingle__text {
  font-size: 16px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(164, 164, 164, 1);
}

.p-productsSingle__textBox {
  margin-top: 8px;
  line-height: calc(27 / 16);
}

.p-productsSingle__btn {
  margin-top: 32px;
  width: 100%;
}

.p-productsSingle__btn a {
  display: inline-block;
  padding: 13.5px 13.5px 13.5px 51.5px;
  color: #FFF;
  background: rgba(1, 183, 205, 1);
  width: 100%;
  text-align: center;
}

.p-productsSingle__btn a span {
  position: relative;
}
.p-productsSingle__btn a span:after {
  position: absolute;
  content: "";
  top: 57%;
  transform: translateY(-50%);
  left: -38px;
  width: 24px;
  height: 24px;
  background: url("./img/product/mail-white.png");
  object-fit: cover;
  background-size: 100% 100%;
}

.p-productsSingle__btn a:hover {
  opacity: 0.7;
}

.product-detail__thumbnail {
  aspect-ratio: 264 / 250;
  object-fit: contain;
  width: 100%;
  max-height: 250px;
}

@media (max-width: 768px) {
  .p-productsSingle__items {
    display: block;
  }
  
  .p-productsSingle__mainItems {
    width: 100%;
    margin-top: 60px;
    max-width: 335px;
    margin-right: auto;
    margin-left: auto;
  }
  
  .p-productsSingle__imgItem {
    width: 100%;
    max-width: 355px;
    margin: 0 auto;
  }

  .product-detail__thumbnail {
    max-height: 200px;
  }
}






/* ここから sales2 */

.p-sales2__works {
  margin-top: 50px!important;
}

.p-sales2__bnr{
  text-align: center;
  background: rgba(1, 183, 205, 1);
  color: #FFF;
  padding: 12px 20px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .p-sales2__works {
    display: none;
  }
  .p-sales2__bnr{
    line-height: calc( 24/ 13);
    font-size: 0.8125rem;
  }
}


.p-sales2-type {
  margin-top: 50px;
}

.p-sales2-type__inner {
  max-width: 865px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
}


.p-sales2-type__items {
  margin-top: 34px;
  display: flex;
  gap : 24px 45px;
  flex-wrap: wrap;
}

.p-sales2-type__item {
  width: 46.9%;
  height: 96px;
}

@media (max-width: 768px) {
  .p-sales2-type__item {
    width: 100%;
  }
}

.p-sales2-type__item a {
  padding : 21px 39px 21px 15px;
  display: inline-block;
  border: 1.5px solid rgba(0, 0, 0, 1);
  width: 100%;
  height: 96px;
  position: relative;
}

.p-sales2-type__item a:after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 24px;
  height: 24px;
  background: url("./img/product/chevron-right.png");
  object-fit: cover;
  background-size: 100% 100%;
}

.p-sales2-type__item:nth-child(2) a {
  padding : 12px 39px 12px 15px;
}
.p-sales2-type__item:nth-child(3) a {
  padding : 15px 39px 15px 15px;
}

.p-sales2-type__item a:hover {
  background: rgba(228, 247, 247, 1);
}

.p-sales2-type__itemBox {
  display: flex;
  align-items: center;
}

.p-sales2-type__itemImg {
  width: 77px;
}

.p-sales2-type__itemImg img {
  width: 100%;
}

.p-sales2-type__itemTit {
  font-weight: bold;
}

.p-sales2-type__title {
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
}

.p-sales2-type__subTit {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: rgba(0, 72, 157, 1);
  line-height: calc(30 / 16);
}


.p-sales2-type__prdoductLink {
  margin-top: 50px;
  text-align: center;
}

.p-sales2-type__prdoductLink a {
  color :#FFF;
  font-size: 1rem;
  background: rgba(1, 183, 205, 1);
  padding: 16px 64px 16px 24px;
  font-weight: bold;
  display: inline-block;
  border-radius: 4px;
  position: relative;
}

.p-sales2-type__prdoductLink a:hover {
  opacity: 0.7;
}

.p-sales2-type__prdoductLink a:after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 24px;
  height: 24px;
  background: url("./img/product/play.png");
  object-fit: cover;
  background-size: 100% 100%;
}

@media (max-width: 768px) {
  .p-sales2-type__prdoductLink a {
    font-size: 14px;
  }
  .p-sales2-type__prdoductLink a:hover {
    opacity: 1;
  }
}

.p-sales2-maker .p-sales2-type__item a {
  padding : 25.5px 63px ;
  display: inline-block;
  border: 1.5px solid rgba(0, 0, 0, 1);
  width: 100%;
  height: 96px;
  position: relative;
  line-height: calc(45 / 18);
}

@media (max-width: 768px) {
  .p-sales2-maker .p-sales2-type__item a {
    padding-left: 15px;
  }
}


.p-sales2-search {
  background: rgba(228, 247, 247, 1);
  padding: 40px 20px;
}

.p-sales2-search__inner {
  max-width: 796px;
  margin-right: auto;
  margin-left: auto;
}

.p-sales2-search__title {
  text-align: center;
  font-weight: 600;
  font-size: 26px;
  line-height: calc(39 / 26);
}


.p-sales2-search #form-search{
  max-width: unset;
  background: #FFF;
}

.p-sales2-search #s-box {
  width: 95%;
}

.p-sales2-slick {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px 0 50px 0;
}

.p-sales2-slick__items {
  width: 100%;
  margin: 0 auto;
}

.p-sales2-slick__item {
  width: 75%!important;
  margin: 0 12px;
  background-color: #ddd;
  height: 400px; /* 高さ適当 */
}

.slick-dots {
  text-align: center;
  margin-top: 16px;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #FFF;
  border: none;
  font-size: 0;
  cursor: pointer;
  border: 1px solid rgba(0, 72, 157, 1);
}

.slick-dots li.slick-active button {
  background-color: rgba(0, 72, 157, 1);
}


.p-sales2-slick__item1 {
  background: rgba(228, 247, 247, 1);
  border: 9px solid rgba(1, 183, 205, 1);
  padding: 30px;
}

.p-sales2-slick__item1 .p-mentenance01__titBox {
  margin-top: 50px;
  max-width: 1206px;
  margin-right: auto;
  margin-left: auto;
}

.p-sales2-slick__item1 .p-ctaAo__contactBtn{
  text-align: center;
  max-width: 876px;
  margin-right: auto;
  margin-left: auto;
}


@media (max-width: 768px) {
  .p-sales2-slick__item {
    width: 95.743%!important;
    margin: 0 4px;
    height: 200px;
  }
  .p-sales2-slick__item1 {
    padding: 0;
    border: unset;
    background-color: #ddd;
  }
  .p-sales2-slick__item .p-mentenance01__titBox {
    display: none;
  }
  .p-sales2-slick__item .p-ctaAo__contactBtn {
    display: none;
  }
  .p-sales2-search__title {
    font-size: 20px;
  }
}





