/*
Theme Name: Antek-Child
Theme URI: https://parkofideas.com/antek/
Text Domain: antek-child
Description: Construction And Heavy Equipment Rentals Wordpress Theme
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0
Template: antek
Author: ideapark
Author URI: https://ideapark.com/antek-documentation/
Tags: right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, theme-options, translation-ready
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

.widget_price_filter .ui-slider-handle, .c-filter-price__slider .ui-slider-handle {
  width: 12px;
  margin-left: -6px;
}
.widget_price_filter .ui-slider-handle:after, .c-filter-price__slider .ui-slider-handle:after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  background-color: #fff;
}

@media (max-width: 579px) {
  .c-ip-categories__list--image {
    margin: -15px -10px;
  }
  .c-ip-categories__title--image {
    min-height: 80px;
    font-size: 18px;
  }
}

@media (max-width: 579px) {
  .l-section--container-wide, .l-section__container-wide {
    padding-left: 10px;
    padding-right: 10px;
  }
  .c-catalog__list {
    margin: -15px 0 0 -10px;
  }
  .c-vehicle {
    margin: 15px 0 0 10px;
    width: calc((100% - 20px) / 2);
    padding: 10px;
    font-size: 14px;
  }
  .c-vehicle__thumb-inner:after {
    height: 40%;
  }
  .c-vehicle__thumb-buttons {
    bottom: 16px;
  }
  .c-vehicle__content-wrap {
    margin-top: 10px;
  }
  .c-vehicle__booking-wrap {
    margin-top: 0;
  }
  .c-vehicle__title {
    font-size: 16px;
  }
  .c-vehicle__prices {
    margin: 10px -20px 10px 0;
  }
  .c-vehicle__price:before {
    top: 0;
  }
  .c-vehicle__price:after {
    top: 5px;
  }
  .c-vehicle__detail-list {
    display: none;
  }
  .c-vehicle__total-title + .c-vehicle__total, .c-vehicle__total-tax + .c-vehicle__total {
    margin-top: 10px;
  }
  .c-vehicle__total-wrap {
    padding: 10px;
  }
  .c-vehicle__total {
    font-size: 20px;
  }
  .c-button--compact {
    padding: 10px 20px;
  }
  .c-vehicle__button {
    font-size: 14px;
  }
}

@media (max-width: 579px) {
  .l-section--container, .l-section__container, .l-section--container-wide, .l-section__container-wide {
    padding-left: 10px;
    padding-right: 10px;
  }
  ul.products:not(.c-ip-woocommerce-carousel__list) {
    margin: -15px 0 0 -10px;
  }
  ul.products:not(.c-ip-woocommerce-carousel__list) .product {
    margin: 15px 0 0 10px;
    width: calc((100% - 20px) / 2);
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .woocommerce-loop-category__title,
  .woocommerce-loop-product__title {
    font-size: 18px;
  }
  .product-price-wrap {
    flex-direction: column;
  }
  .product-price-wrap-col {
    display: flex;
    justify-content: space-between;
  }
  .product-price-wrap-col + .product-price-wrap-col {
    max-width: 100%;
    justify-content: flex-end;
  }
  .products .product .price {
    font-size: 24px;
  }
  .woocommerce-loop-product__excerpt {
    display: none;
  }
  .products .product .c-button, .products .product .wc-forward {
    padding: 10px;
  }
}

@media (max-width: 579px) {
  .c-ip-steps__icon {
    min-height: 80px;
    margin-bottom: 50px;
  }
  .c-ip-steps__icon:after {
    bottom: -23px;
  }
  .c-ip-steps__image, .c-ip-steps__svg {
    height: 80px !important;
  }
  .c-ip-steps__item:before {
    top: 100px;
  }
  .c-ip-steps__item--first .c-ip-steps__dot-left, .c-ip-steps__item--last .c-ip-steps__dot-right {
    top: 98px;
  }
  .c-ip-steps__number {
    font-size: 90px;
    right: calc(100% - 15px);
    top: -60px;
  }
  .c-ip-steps__text {
    font-size: 18px;
  }
}

@media (max-width: 579px) {
  .c-footer {
    font-size: 14px;
  }
  .c-footer .h-inline-form {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  .c-footer .wpcf7-form input[type=email] {
    padding: 10px 15px;
  }
  .c-footer .wpcf7-submit {
    width: auto;
    padding: 10px 15px;
  }
  .elementor-868 .elementor-element.elementor-element-81c9df5 {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .elementor-868 .elementor-element.elementor-element-81c9df5 > .elementor-widget-container {
    padding: 0 0 20px !important;
  }
  .elementor-868 .elementor-element.elementor-element-74e8bc8 > .elementor-widget-container {
    margin: 0 0 10px !important;
  }
  .elementor-868 .elementor-element.elementor-element-2d04f79 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child) {
    padding-bottom: 0 !important;
  }
}

.c-vehicle-book__dates-available {
    font-size: 15px;
  }
.c-vehicle__prices {

  }

.c-vehicle__thumb-inner:after {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    z-index: 2;
}


/* =TOP　*/

@media (max-width: 400px) {
    .c-ip-product-carousel__wrap {
        display: flex;
        flex-wrap: wrap;
        margin: -30px 15px; /* 親要素のマージン調整 */
        position: relative;
    }
    .c-ip-product-carousel__wrap > * {
        width: calc(50% - 30px); /* 子要素の幅を調整 */
        box-sizing: border-box;
        padding: 0 15px; /* 左右のパディングを設定 */
        margin-bottom: 30px; /* 下マージンを設定 */
    }
}

.c-vehicle-vert__title {
    font-size: 15px; 
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.c-vehicle-vert__total-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
    flex-wrap: wrap;
}

.c-vehicle-vert__total {
    font-size: 28px;
    text-align: center; /* テキストを中央揃えにする */
}

.c-vehicle-vert__total-tax {
    font-size: 14px;
    text-align: right; /* テキストを右寄せにする */
}

-------------------------------------------------------------- */


/* =関連商品
-------------------------------------------------------------- */
  .c-vehicle-vet {
    margin: 15px 0 0 10px;
    width: calc((100% - 20px) / 2);
    padding: 10px;
    font-size: 14px;
  }

.c-vehicle-vert__detail-list {
  display: none;
}


.c-vehicle-vert__thumb-inner:after {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

/* =カート,購入画面
-------------------------------------------------------------- */

.c-cart__shop-td--product-var-list {
    line-height: 1.5; /* この値を調整して行間隔を変更できます */
}

.c-cart__shipping-methods, .c-cart__payment-methods {
    margin-bottom: 40px;
}



/* =商品詳細ページ
-------------------------------------------------------------- */

.c-vehicle-details__subheader {
    font-size: 26px;
}
.c-vehicle-book__dates-not-available {
    font-size: 15px;
  }

.c-vehicle__prices {
    font-weight: bold; /* 文字を太くする */
}


/* =マイアカウント
-------------------------------------------------------------- */

.c-account__navigation-link[href="https://rentabase.jp/my-account/"] {
    display: none;
}



/* =商品購入詳細ページ
-------------------------------------------------------------- */

.c-product .product_title {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    position: relative;
    margin-bottom: 40px
}

.stock.in-stock {
    color: #009900;
}

.c-product__share {
    margin-top: 38px;
    display: none;
}


/* =catalog
-------------------------------------------------------------- */
.c-vehicle__total-title {
    font-size: 26px;
    font-weight: 700;
}

/* =catalog2
-------------------------------------------------------------- */


/*20240522 トップページ商品を購入する箇所*/
.products .product {
  width: 220px;
  margin: 30px 5px;
}
@media (max-width: 400px){
  .products .product {
      width: 290px;
      flex: 0 0 290px;
  }
}
.product-content-wrap {
  padding: 35px 15px 30px;
}
.woocommerce-loop-product__title {
  position: relative;
  margin: 0;
  font-size: 16px;
}
.product-price-total-title {
  font-size: 12px;
  font-weight: 700;
}
.product-price-total-tax {
  font-size: 12px;
}
.products .product .price {
  font-size: 31px;
}
.products .product .c-button {
  font-size: 15px;
  padding: 10px 5px;
  margin: 30px 10px 35px;
}
/*20240522 商品詳細の追加オプション部分 */
.c-vehicle-book__extra-price-per {
  display: inline-block !important;
}
.c-vehicle-book__extra-price-per::before {
  display: inline-block;
  content:"/";
}
/*20240522 カレンダー箇所*/
.month_big{
  font-size: 16px;
}
.drp-selected::before{
  display: inline-block;
  content: "選択レンタル期間：";
  margin-right: 14px;
  font-size: 12px;
  font-weight: bold;
}
@media (max-width: 563px){
  .daterangepicker .drp-selected {
    max-width: 280px;
    display: block;
    text-align: center;
    padding: 5px 0 10px;
    font-size: 16px !important;
  }
  .drp-selected::before{
    content: "選択レンタル期間";
    margin-right: 0;
    display: block;
    padding: 5px 0;
    text-align: center;
    font-size: 15px !important;
  }
  .daterangepicker .drp-buttons .btn {
    font-size: 17px;
    padding: 9px 8px;
  }
}

html > body > div:nth-child(3) > div:nth-child(3) > div > div:nth-child(2) > div > div > div:nth-child(2) > form > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(1) > span:nth-child(2) > span > bdi > span::after {
    content: " (税込)";
    font-size: 0.5em;
    margin-left: 0.2em;
}


/*カート*/
.woocommerce-mini-cart__total .woocommerce-Price-amount.amount::after {
    content: " (税込)";
    font-size: 0.5em; /* 小さめのフォントサイズに調整 */
    margin-left: 0.2em; /* 余白で調整 */
}
