:root {
    --purchase-btn: #FF6F00;
    --ac-col: #FF6F00;
}

.item-hero {
    width: 100%;
    object-fit: cover;
}

.img-carousel {
    overflow: hidden;
    position: relative;
}

.img-carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 1px 1px 5px #333;
    z-index: 100;
}

#img-prev {
    left: 10px;
}

#img-next {
    right: 10px;
}

.img-carousel-wrapper {
    display: flex;

}

.img-carousel-item {
    min-width: 100%;
    position: relative;

}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px;
    font-size: small;
}

.img-indicators {
    display: flex;
    gap: 10px;
    overflow: hidden;
}

.img-indicators .indi {
    width: 15%;
    height: auto;
    overflow: hidden;
    border-radius: 0;
    border: none;
    position: relative;

}

.img-indicators img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-indicators .active {
    background-color: #fff;
}

.img-indicators .active .overlay {
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.item-header {
    padding: 20px 0;
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text-color);
}

.item-header .stars,
.item-r-carousel .stars {
    height: 15px;

}

.item-r-carousel .stars img,
.item-header img {
    height: 15px;
}

.item-review {
    display: flex;
    gap: 10px;
    align-items: baseline;

}

.item-r-count {
    color: #666;
    font-size: small;
    font-family: "futura-pt", sans-serif;
}

.item-name-2 {
    font-size: 1.2rem;

    flex: 1;
    font-family: "futura-pt", sans-serif;
    font-weight: 300;
    font-style: normal;
}


.price-ct {
    text-align: end;
    font-family: 'Noto Sans JP', sans-serif;
}

.item-price-2 {

    font-size: 1rem;
    font-weight: 400;
}

.taxin {
    font-size: x-small;
    text-align: end;
}

.item-price-dis2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--red);
}

.less-stock {
    font-size: small;

    margin: 2px 0;

}

.discount-ct {
    display: flex;
    flex-direction: column;
    align-items: end;

}

.purchase-btn-ct {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 20px 0;
    gap: 5px;
}

.purchase-btn-ct button {
    padding: 15px 0px;

}

.purchase-now2 {
    background-color: var(--ac-col);
    color: #fff;
}

/*商品説明*/
.description-ct {
    padding: 20px 0;
    background-color: #ffffff;
    margin: 10px 0;

}

.description-ct .desc {
    white-space: pre-wrap;
}

/*商品ごとのレビュー*/
.item-r-carousel {
    overflow: hidden;
    position: relative;
}

.item-r-carousel-wp {
    display: flex;
}

.item-r-carousel-item {
    width: 100%;
    flex-shrink: 0;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.452);
    border-radius: 4px;
}

/**/

.add-cart2,
.purchase-now2 {
    display: block;
    width: 100%;
}

.add-cart2 {
    border: #333 solid 1px;
}

.fixed-window {
    position: fixed;
    bottom: 0;
    
    width: 100%;
    left: 0;
    background-color: #fff;
    padding: 10px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-window .container {
    display: flex;
    height: 50px;
    gap: 10px;
    
    
}

.fixed-window .btn-ct {
    flex: 1;
    display: block;

}

.fixed-window button {
    height: 100%;

}

.p-methods-s {
    display: flex;
    justify-content: center;
    background-color: var(--ac-col);
    padding: 10px;
    margin: 10px 0;
}

.p-methods-s img {
    width: 90%;
}

/*磁気ネックレス用*/
.mag-icon-ct {

    display: flex;
    gap: 4px;
}

.mag-icon {
    padding: 3px 10px;
    border: solid #666 1px;
    display: inline;
    font-size: small;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
}

.mag-header {
    font-size: small;
    font-weight: bold;
    padding-bottom: 10px;
}

.mag-desc img {
    width: 100%;
    object-fit: contain;
    object-position: center;
}

.futura-l {
    font-family: "futura-pt", sans-serif;
    font-weight: 300;
}

.futura-n {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
}

.futura-h {
    font-family: "futura-pt", sans-serif;
    font-weight: 700;
}

.mag-title {
    padding: 20px 0;
    border-bottom: #333 1px solid;
    text-align: center;
    width: 50%;
    margin: auto;
    margin-bottom: 15px;
}

.mag-desc .mag-header {
    text-align: center;
    color: green;
    font-size: 1rem;
    padding: 10px 0;
    background-color: rgb(243, 247, 243);
}

.mag-sub {
    position: relative;
    margin-left: 40px;
    font-weight: 500;
    font-size: 1rem;
    padding: 20px 0;
}

.mag-sub::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    width: 30px;
    background-color: #333;
    height: 1px;
}

.mag-text {
    font-size: small;
    line-height: 1.5rem;
    padding: 0 10px;
}

.disclaimer {
    font-size: x-small;
    color: gray;
    text-align: end;
    padding-top: 10px;
}

.scroll-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 80px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    border: solid var(--text-color) 1px;
    opacity: 0.8;
}