/* 商品詳細ページ：画像切り替え */
.single-product .main .woocommerce-product-gallery__image:first-child a:hover {
  opacity: 1;
}

.single-product .main .woocommerce-product-gallery__image:nth-child(n + 2) a:hover {
  cursor: pointer;
}

.woocommerce ul#shipping_method .amount {
  font-weight: 400;
}

@media screen and (max-width: 758px) {
  .page-order-confirmation .main .contents .item__info {
    padding-top: 0;
  }
}

.header-logo {
  width: 275px;
}

@media screen and (max-width: 1199px) {
  .header-logo {
    width: 220px;
  }
}

@media screen and (max-width: 758px) {
  .header-logo {
    width: 180px;
    margin-left: -6px;
  }
}

/* ===================================

  2025/06/10 修正

====================================== */
.home .c-block p {
  line-height: 2;
}

/* ===================================

  2025/09/30 修正

====================================== */

@media screen and (max-width: 1199px) {
  .home .c-block > .wp-block-columns .wp-block-column {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 758px) {
  .home .c-block > .wp-block-columns .wp-block-column {
    margin-bottom: 15px;
  }
}

/* ===================================

  2025.10.22 追加

====================================== */
/* ---------------------------------
  商品詳細：商品メーカー名
----------------------------------- */
.single-product .main .entry__meta {
  margin-top: 0.75em;
}
.single-product .main .entry__cates.brands {
  margin-top: 0;
}
.single-product .main .entry__cates.brands span {
  padding: 0.3em 0.5em;
}

/* ---------------------------------
  ヘッダー周り
----------------------------------- */
@media screen and (max-width: 1199px) {
  .drawer-top .links .link.signup {
    background-image: url(../img/ico/ico-const.svg);
    background-size: 20px 20px;
  }
}


/* ---------------------------------
  VK Blocks スライダー設定
----------------------------------- */
.wp-block-vk-blocks-slider {
  overflow: hidden;
  margin: 3em -12px 0;
}

.vk_slider_item .wp-block-image {
  display: block;
  padding: 0 12px;
}

@media screen and (max-width: 758px) {
  .wp-block-vk-blocks-slider {
    margin: 2em 0 0 0;
  }

  .vk_slider_item .wp-block-image {
    padding: 0 10px;
  }
}

/* ---------------------------------
  工事実績一覧
----------------------------------- */
.post-type-archive-works .main .tabs,
.tax-works-category .main .tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.post-type-archive-works .main .tab,
.tax-works-category .main .tab {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px 10px 0;
  padding: 7px 5px;
  min-width: 180px;
}
.post-type-archive-works .main .tab.active,
.tax-works-category .main .tab.active {
  background-color: #dcf9f3;
  border: 1px solid #00ab8b;
}
.post-type-archive-works .main .tab:hover,
.tax-works-category .main .tab:hover {
  background-color: #dcf9f3;
  opacity: 1;
}

.post-type-archive-works .main .entries,
.tax-works-category .main .entries {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 55px;
}
.post-type-archive-works .main .entries::after,
.tax-works-category .main .entries::after {
  content: "";
  display: block;
  width: calc((100% - 60px) / 3);
}
.post-type-archive-works .main .entry,
.tax-works-category .main .entry {
  width: calc((100% - 60px) / 3);
}
.post-type-archive-works .main .entry:nth-child(n + 4),
.tax-works-category .main .entry:nth-child(n + 4) {
  margin-top: 36px;
}
.post-type-archive-works .main .entry__link,
.tax-works-category .main .entry__link {
  display: block;
  width: 100%;
}
.post-type-archive-works .main .entry__thumb,
.tax-works-category .main .entry__thumb {
  width: 100%;
  overflow: hidden;
}
.post-type-archive-works .main .entry__thumb-img,
.tax-works-category .main .entry__thumb-img {
  width: 100%;
  padding-top: 75%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: all 0.5s;
}
.post-type-archive-works .main .entry__body,
.tax-works-category .main .entry__body {
  padding-top: 12px;
  word-break: break-all;
}
.post-type-archive-works .main .entry__cates,
.tax-works-category .main .entry__cates {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.post-type-archive-works .main .entry__cate,
.tax-works-category .main .entry__cate {
  position: relative;
  margin: 0 5px 5px 0;
  padding: 4px 12px;
  background-color: #00ab8b;
  font-size: 14px;
  color: #fff;
  border-radius: 9999px;
  z-index: 1;
}
.post-type-archive-works .main .entry__title,
.tax-works-category .main .entry__title {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

@media screen and (max-width: 1199px) {
  .post-type-archive-works .main .tab,
  .tax-works-category .main .tab {
    margin: 0 8px 8px 0;
    padding: 6px 5px;
    min-width: 165px;
  }
  .post-type-archive-works .main .tab:hover,
  .tax-works-category .main .tab:hover {
    background-color: #fff;
  }
  .post-type-archive-works .main .entries,
  .tax-works-category .main .entries {
    margin-top: 40px;
  }
  .post-type-archive-works .main .entries::after,
  .tax-works-category .main .entries::after {
    width: calc((100% - 40px) / 3);
  }
  .post-type-archive-works .main .entry,
  .tax-works-category .main .entry {
    width: calc((100% - 40px) / 3);
  }
  .post-type-archive-works .main .entry:nth-child(n + 4),
  .tax-works-category .main .entry:nth-child(n + 4) {
    margin-top: 25px;
  }
  .post-type-archive-works .main .entry__body,
  .tax-works-category .main .entry__body {
    padding-top: 10px;
  }
  .post-type-archive-works .main .entry__cate,
  .tax-works-category .main .entry__cate {
    padding: 3px 10px;
    font-size: 13px;
  }
  .post-type-archive-works .main .entry__title,
  .tax-works-category .main .entry__title {
    margin-top: 5px;
    font-size: 16px;
  }
}

@media screen and (max-width: 758px) {
  .post-type-archive-works .main .tab,
  .tax-works-category .main .tab {
    margin: 0 8px 8px 0;
    padding: 7px 5px;
    width: calc((100% - 8px) / 2);
    min-width: 0;
  }
  .post-type-archive-works .main .tab:nth-child(2n),
  .tax-works-category .main .tab:nth-child(2n) {
    margin-right: 0;
  }
  .post-type-archive-works .main .entries,
  .tax-works-category .main .entries {
    display: block;
    margin-top: 30px;
  }
  .post-type-archive-works .main .entries::after,
  .tax-works-category .main .entries::after {
    display: none;
  }
  .post-type-archive-works .main .entry,
  .tax-works-category .main .entry {
    width: 100%;
  }
  .post-type-archive-works .main .entry:nth-child(n + 2),
  .tax-works-category .main .entry:nth-child(n + 2) {
    margin-top: 40px;
  }
  .post-type-archive-works .main .entry__body,
  .tax-works-category .main .entry__body {
    padding-top: 15px;
    font-size: 12px;
  }
  .post-type-archive-works .main .entry__cate,
  .tax-works-category .main .entry__cate {
    font-size: 12px;
  }
  .post-type-archive-works .main .entry__title,
  .tax-works-category .main .entry__title {
    font-size: 15px;
  }
}
