


/*--------------------------------------------------- */
/* 商品詳細ページ
/*--------------------------------------------------- */
.products_detail_main form {
  margin-top: 32px
}

.products_detail_main form button {
    all: unset; /* デフォルトスタイルを全てリセット */
    display: inline-block; /* インラインブロック要素として扱う */
    cursor: pointer; /* ボタンらしいポインターを表示 */
    text-align: center; /* テキストを中央揃え */
    width: 100%;
    height: 100%;
    padding: 16px 32px;

}


/* .products_detail_main .button_submitのスタイル */
.products_detail_main .button_submit {
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
    border: 1px solid #73BC9B;
    background: #73BC9B;
    color: #fff;
    font-weight: 700;
    line-height: 1em;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.products_detail_main .button_submit:hover {
    background: #fff;
    color: #73BC9B;
}

.products_detail_main .button_submit:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.products_detail_main .button_submit:hover:after {
    border-color: #73BC9B;
}


.products_detail_main  .product-price {
line-height: 1.2em;
text-align: right;
display: flex;
justify-content: flex-end;
align-items: center;
font-weight: 700;
margin-bottom: 32px
}
.products_detail_main  .product-price .price{

font-size: 24px;

}

/*--------------------------------------------------- */
/* 商品詳細のスライダー
/*--------------------------------------------------- */

.products_detail_main .thumb-slider-outer {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 10px auto 0;
}

.products_detail_main .thumb-slider-container {
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.products_detail_main .slider-thumbs {
    overflow: hidden;
    margin: 0 auto;
}

.products_detail_main .thumbs-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.products_detail_main .thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
}

.products_detail_main .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid transparent;
}

.products_detail_main .thumb.active img {
    border-color: #008c8c;
}

.products_detail_main .thumb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products_detail_main .thumb-arrow.prev {
    left: -30px;
}

.products_detail_main .thumb-arrow.next {
    right: -30px;
}

.products_detail_main .slide {
    display: none;
}

.products_detail_main .slide.active {
    display: block;
}

.products_detail_main .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products_detail_main .slider-arrow.prev {
    left: 10px;
}

.products_detail_main .slider-arrow.next {
    right: 10px;
}

.products_detail_main .slider-main {
    position: relative;
}




/*--------------------------------------------------- */
/* オプションボタン
/*--------------------------------------------------- */
        .product-options {
            margin-bottom: 20px;
        }
        .option-group {
            margin-bottom: 15px;
        }
        .option-label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        .option-select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .required {
            color: red;
            margin-left: 3px;
        }
        .total-price-container {
            background: #f5f5f5;
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 20px;
        }
        .base-price, .option-price {
            margin-bottom: 5px;
        }
        .total-price {
            font-weight: bold;
            border-top: 1px solid #ddd;
            padding-top: 10px;
            margin-top: 10px;
        }
