/* CSS Document */
.product-details-wrapper {
    position: relative;
}

.main-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;

}

.wrapper {
    padding: 20px;
}

.detail-wrapper {
    margin-top: 30px;
    padding: 0 42px 0 24px;
}

.detail-number {
    font-size: 13px;
    color: #666;
}

.detail-name {
    width: 100%;
}

.detail-name {
    font-size: 21px;
    font-weight: bold;
}

.detail-price-box {
    font-size: 17px;
    color: #333;
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.detail-color {
    margin-right: 30px;
}

.detail-price-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

.detail-copy-text {
    margin-top: 12px;
    font-size: 15px;
    color: #333;
}

.scroll-to-fab-section {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 13px;
    margin-top: 6px;
}

#fabSectionBtn {
    color: var(--main-light);
    position: relative;
    padding-right: 13px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

#fabSectionBtn:after {
    position: absolute;
    content: '';
    background: url(/views/product/img/icon_arrow-right-main-light.svg) no-repeat;
    background-size: contain;
    width: 7px;
    height: 10px;
    display: inline-block;
    right: 0;
    margin: auto;
    transform: rotate(90deg);
}

.size-picker-wrapper {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 36px;
    border-top: 1px solid var(--mid-color1);
    padding: 12px;
    font-size: 12px;
    color: var(--mid-color3);
}

.size-picker-wrapper:before {
    content: 'サイズ';
    position: absolute;
    top: -24px;
    color: var(--mid-color1);

}

.size-picker-item {
    position: relative;
    min-width: 66px;
    padding: 6px;
}

.size-picker-item:not(.size-has-stock):hover:before {
    position: absolute;
    content: var(--before-content, 'Default');
    min-width: 90px;
    padding: 12px 6px;
    top: 0;
    left: 0;
    background: #FFFFFF;
    border: 1px solid var(--mid-color1);
    z-index: 1;
    transform: translateY(calc(-100% - 6.7px)) translateX(calc(-50% + 4px));
    text-align: center;
    color: var(--main-color);
}

.size-picker-item:not(.size-has-stock):hover:after {
    content: '';
    background: #FFFFFF;
    position: absolute;
    left: -2px;
    transform: rotate(-45deg);
    border-left: 1px solid var(--mid-color1);
    border-bottom: 1px solid var(--mid-color1);
    width: 18px;
    height: 18px;
    top: -16px;
    z-index: 2;
}

.size-picker-item span {
    position: relative;
}

.size-picker-item:hover {
    cursor: pointer;
}


.size-has-stock {
    color: var(--main-color);
    font-weight: 600;
}

.size-picker-item span {
    display: inline;
    white-space: nowrap;
}

.selected-size span:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    min-width: 18px;
    width: 100%;
    height: 3px;
    background: var(--main-color);
    z-index: 1;
}

.size-chart-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.size-chart-btn {
    font-size: 13px;
}

.size-chart-btn:hover {
    color: var(--main-light);
    text-decoration: none;
    cursor: pointer;
}

.size-chart-btn:before {
    background: url(../img/icon_size_chart.svg);
    background-size: cover;
    content: "";
    display: inline-block;
    width: 31px;
    height: 11px;
    margin-right: 10px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

/*Order Processing*/
.order-button-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding-top: 42px;
    position: relative;
}

.size-error:before {
    content: 'サイズを選択してください \f06a';
    font-family: 'Font Awesome 6 Free'; /* Ensure you use the correct font */
    font-weight: 700;
    color: var(--error-color);
    font-size: 13px;
    position: absolute;
    top: 0;
    transform: translateY(13px);
}

#order {
    width: 100%;
    height: 39px;
}

#ordResponse {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.add-cart-response-contents {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    font-size: 13px;
    color: var(--mid-color2);
}

.cart-response-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-close-btn {
    width: 12px;
    height: 12px;
    background: url(/views/product/img/delete_c5c52e64.svg);
    background-size: cover;
    cursor: pointer;
}

.response-product-image {
    width: 100px;
}

.response-product-image　img {
    width: 100px;
}

.response-product-image img {
    width: 100%;
}

.cart-response-body {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.cart-response-header {
    padding: 0 0 24px 0;
}

.response-product-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cart-response-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

button.btn.btn-white {
    border: 1px solid var(--main-color);
    background: #FFFFFF;
    font-size: 13px;
    padding: 4px;
}

button.btn.btn-white:hover {
    background: var(--mid-color4);
}

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

.qty-select-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.qty-select {
    width: 96px;
    text-align: right;
    padding-right: 24px;
    border-width: 0 0 1px 0;
    border-color: var(--mid-color2);
    border-radius: 0;
}

.special-order-terms,
.special-order-terms p {
    width: 100%;
    color: var(--mid-color2) !important;
    font-size: 13px;
}

.special-order-terms-header {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--mid-color2);
    margin-bottom: 6px;
}

.special-order-term {
    padding-left: 24px;
    position: relative;
}

.special-order-term:before {
    content: '';
    position: absolute;
    background: url(/views/product/img/icon_arrow-right.svg) no-repeat;
    width: 7px;
    height: 10px;
    top: 4px;
    left: 12px;
}

#inventoryStatus {
    padding: 12px;
    width: 100%;
    border-radius: var(--radius);
    background: #FFFFFF;
}

.inventory-status-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    gap: 12px;
    background: #FFFFFF;
}

.inventory-status-column {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--mid-color1);
}

.current-inventory-status-header {
    width: 100%;
    padding: 6px;
    border-bottom: 1px solid var(--mid-color1);
}

.current-inventory-status-row {
    width: 100%;
    padding: 6px;
    color: var(--mid-color1);
}

.replenishment-status-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3px 6px 0;
    color: var(--mid-color3);
    font-size: 12px;
}

.replenishment-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3px 6px;
}

.on-order-status-header,
.on-order-status-row {
    display: flex;
    flex-direction: row;
}

.on-order-status-header {
    font-size: 12px;
    color: var(--mid-color3);
    padding: 3px 6px 0;
}

.on-order-status-row {
    padding: 3px 6px;
    cursor: pointer;
}

.on-order-status-header div:nth-child(1),
.on-order-status-row div:nth-child(1) {
    width: 90px;
}

.on-order-status-header div:nth-child(2),
.on-order-status-row div:nth-child(2) {
    margin-left: auto;
    text-align: right;
}

.shop-lookup {
    width: 100%;
}

.thumbnails-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 30px;
}

.detail-thumbnails {
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.thumb-item {
    box-sizing: border-box;
    border-bottom: 3px solid transparent;
}

.thumb-item img {
    width: 55px;
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.variations {
    margin-top: 60px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.variation-item {
    width: 70px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.variation-item a {
    background-color: transparent !important;
}

.variation-item a img {
    width: 70px;
    background-color: transparent !important;
}

.supporting-row {
    background-color: white;
}

.supporting-img img {
    width: 100%;
}

.supporting-text {
    width: 60%;
    color: #333;
}

.supporting-text h3 {
    font-size: 22px;
    color: #333;
}

.supporting-text p {
    font-size: 14px;
    color: #333;
}

.white-row {
    background-color: white;
}

.features {
    margin-top: 50px;
}

.feature-header {
    text-align: center;
    padding: 30px;
    border-bottom: thin solid #D3D0D0;
}

.feature-col-1 {
    padding: 50px 50px 0 50px !important;

}

.feature-col-1 img {
    width: 100%;
}

.feature-col-2 {
    padding: 20px;
}

.feature-table {
    font-size: 14px;
    color: #333;
    width: 100%;
    margin-top: 25px;
}

.feature-table td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: thin solid #D3D0D0;
}

.feature-table td:nth-child(1) {
    width: 30%;
}

.features-2 {
    padding: 0px 50px;
}

.features-2 h5 {
    font-size: 14px;
}

.feature-list p {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.feature-list ul {
    font-size: 14px;

}

.section1-col {
    font-size: 14px;
    padding: 50px 75px 0px 75px !important;
}

.section1-col h2 {
    font-size: 24px;
}

/*Size Table CSS*/
.inv-by-size {
    font-size: 1em;
}

@media (max-width: 991px) {

    .detail-wrapper {
        background-color: white;
        margin-top: 0;
        padding: 20px;
    }

    .supporting-text {
        padding-top: 30px;
    }

    .section1-col {
        padding-top: 0px;
    }

}