html,
body {
    position: relative;
    font-family: 'Noto Serif JP', serif
}

/*animate style*/
.custom-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.custom-loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: custom-spin 1s linear infinite;
}

@keyframes custom-spin {
    to {
        transform: rotate(360deg);
    }
}




@keyframes kf-rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes kf-fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes kf-FadeInLoader {
    from {
        opacity: 0
    }

    to {
        opacity: .8
    }
}

.blockOverlay {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    animation: kf-FadeInLoader .6s ease forwards;
}

.blockOverlay:after {
    position: absolute;
    top: calc(50% - 13px);
    left: calc(50% - 13px);
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: #242424;
    border-radius: 50%;
    vertical-align: middle;
    animation: kf-rotate 450ms infinite linear
}

.loader-overlay {
    z-index: 340;
    animation: kf-fadeIn .6s ease both;
    background-color: rgba(255, 255, 255, 0.6);
}

.loader-overlay:not(.loading) {
    display: none;
}

.button-spinner {
    border: 0px solid #f3f3f3;
    border-top: 2px solid #dbdbdb;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.b-loading:after {
    position: absolute;
    top: calc(50% - 13px);
    left: calc(50% - 13px);
    content: "";
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: #242424;
    border-radius: 50%;
    vertical-align: middle;
    animation: kf-rotate 450ms infinite linear
}

.b-loading {
    position: relative;
    opacity: .6;
    cursor: default;
    pointer-events: none;
}



@keyframes progress-bar-stripes {
    0% {
        background-position-x: 1rem
    }
}

.progress,
.progress-stacked {
    --bs-progress-height: 1rem;
    --bs-progress-font-size: 0.75rem;
    --bs-progress-bg: var(--bs-secondary-bg);
    --bs-progress-border-radius: var(--bs-border-radius);
    --bs-progress-box-shadow: var(--bs-box-shadow-inset);
    --bs-progress-bar-color: #fff;
    --bs-progress-bar-bg: #0d6efd;
    --bs-progress-bar-transition: width 0.6s ease;
    display: flex;
    height: var(--bs-progress-height);
    overflow: hidden;
    font-size: var(--bs-progress-font-size);
    background-color: var(--bs-progress-bg);
    border-radius: var(--bs-progress-border-radius)
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--bs-progress-bar-color);
    text-align: center;
    white-space: nowrap;
    background-color: var(--bs-progress-bar-bg);
    transition: var(--bs-progress-bar-transition)
}

@media(prefers-reduced-motion: reduce) {
    .progress-bar {
        transition: none
    }
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: var(--bs-progress-height) var(--bs-progress-height)
}

.progress-stacked>.progress {
    overflow: visible
}

.progress-stacked>.progress>.progress-bar {
    width: 100%
}

.progress-bar-animated {
    animation: 1s linear infinite progress-bar-stripes
}

@media(prefers-reduced-motion: reduce) {
    .progress-bar-animated {
        animation: none
    }
}

/*other style*/
.layui-layer-dialog {
    min-width: 200px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
    padding: .55rem 1rem;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:active {
    background-color: #f7f7f7;
}

.list-m li a {
    display: block;
    padding: .35rem 0rem;
}

#quickBuyLabel {
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-logo {
    box-shadow: 1px 1px 2px 2px #eee;
    padding: 5px;
    transition: box-shadow 0.3s ease-in-out;
    -moz-transition: box-shadow 0.3s ease-in-out;
    -webkit-transition: box-shadow 0.3s ease-in-out;
    -o-transition: box-shadow 0.3s ease-in-out;
}

.brand-logo:hover {
    box-shadow: 1px 1px 4px 3px #ddd;
}

.main-account table.table tr>* {
    vertical-align: middle;
}

form .text-danger {
    color: red;
    margin-top: 5px;
}

.main-product .section-product-tabs div>div {
    max-width: 100% !important;
}

/*.main-index a.btn.btn-main-color-outline:hover{
    color: #fd306a;
}
.main-index a.btn.btn-main-color-outline:active{
    background-color: rgba(0, 0, 0, 0);
}*/
.breadcrumb .breadcrumb-item span {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: .875rem;
    text-decoration: none;
    line-height: 1.5;
}

@media (min-width: 1200px) {
    .breadcrumb>.breadcrumb-item>span {
        font-size: 1rem;
    }

    .navbar .dropdown-menu {
        border-width: 0;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    }

    /*.navbar .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s cubic-bezier(0.19, 1, 0.22, 1),visibility 0.4s cubic-bezier(0.19, 1, 0.22, 1),transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    }
    .navbar .dropdown-menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }*/
}

.reviews-item .header .right .status .user:before {
    background-image: url(../../_assets/img/flag-japan.gif);
}

img[data-orig-src] {
    background: #cccccc;
}

.disabled-option {
    pointer-events: none;
}

/* .product-options dl.disabled-option dd .option-item:before,
.product-options dl dd .option-item.disabled-option:before {
    aspect-ratio: 1 / 1;
} */

.product-options dl.disabled-option dd .option-item.option-text-item .option-text-label:before,
.product-options dl dd .option-item.option-text-item.disabled-option .option-text-label:before {
    aspect-ratio: 0;
    font-size: .47rem !important;
}

.product-options dl.disabled-option dd .option-item.option-text-item .option-text-label:before,
.product-options dl dd .option-item.option-text-item.disabled-option .option-text-label:before,

.product-options dl.disabled-option dd .option-item .option-image:before,
.product-options dl dd .disabled-option .option-image:before {
    content: '選択中のオプションと併用不可';
    z-index: 10;
    position: absolute;
    inset: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    background-color: rgba(230, 0, 100, 0.45);
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, .9);
    border-radius: 3px;
    padding: 5px;
    font-size: .675rem;
    font-weight: 600
}

.section-product-detail .product-options dl dd .out-stock .option-image:before{
    inset: 0px;
    border-radius: 3px; 
}

.product-options dl dd .disabled-option.max .option-image:before {
    content: '選択できる上限を超えています';
}


.product-options dl.disabled-option dd .option-item .zoom,
.product-options dl dd .option-item.disabled-option .zoom {
    z-index: 0;
}

.salepropremark_param_remark {
    padding: 12px 10px;
    box-shadow: 0 1px 6px 1px #e4e4e4;
    margin-top: 10px;
    overflow-wrap: break-word;
    transition: opacity 0.5s ease-in;
}

.salepropremark_param_remark video {
    width: 100%;
}

ol.breadcrumb {
    align-items: center;
}

.sticky-add2cart .product-info {
    align-items: center;
}

.share-item.affiliate {
    background: #333;
    padding: 3px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.product-affiliate-modal .layui-layer-title {
    background-color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: .5rem;
    border-bottom: 0;
}

.layui-layer-setwin .layui-layer-close2:hover {
    background-position: -149px -31px !important;
}

a[data-lightbox]:hover {
    cursor: zoom-in;
}

.shopping-guide .guide-item .title {
    font-size: 15px;
}

.product-options .options-list .file-box {
    padding: 0 !important;
    border-width: 0 !important;
}

.product-options .options-list .file-box .upload {
    overflow: hidden;
}

.product-options .options-list .file-box .upload .content .tips {
    color: #303f60 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-options .options-list .file-box .upload .file-input {
    font-size: 0;
}

.product-options .options-list .file-box .upload .content button {
    min-width: 24px;
}

.product-options .options-list .file-box .upload .img img {
    height: auto;
}

.product-options .options-list dt span.required {
    color: #fd306a;
    margin-right: 4px;
}

.product-options dl dd .option-item del.price-addon {
    color: #989898;
}

.product-options .options-list .file-box .upload .content .path {
    width: calc(100% - 20px);
    line-height: 1.2;
}

.product-options dl dd .out-of-stock ,
.product-options dl dd .out-stock {
    pointer-events: none;
}

.product-options dl dd .out-of-stock:before ,
.product-options dl dd .out-stock:before {
    z-index: 11;
}

.layui-layer-content .info {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.layui-layer-content .info svg {
    width: 25px;
    height: auto;
}

#cartTips .heading {
    font-size: 0.88rem;
}

.mail-test .item-header:after {
    content: none;
}

.bg-black {
    background-color: #000000;
}

.product-info ul li {
    word-break: break-all;
}

.player-close {
    position: absolute;
    top: 10px;
    right: 10px;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #202020;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    color: #FFF;
    display: none;
    text-transform: uppercase;
}

.player-close svg {
    fill: #fff;
    height: 30px;
    width: 12px;
    display: inline-block;
}

.video-play {
    display: none;
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: auto;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    z-index: 200;
    cursor: pointer;
}

/*
.section-product-tabs img{
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 100% !important;
}*/
.section-product-detail-modal .product-price .countdown> :not([hidden])~ :not([hidden]),
.section-product-detail .product-price .countdown> :not([hidden])~ :not([hidden]) {
    margin-bottom: 10px;
}

.section-product-tabs .category-logo {
    text-align: center;
}

.section-product-tabs .category-logo img {
    width: auto;
    display: inline-block;
}

.section-product-tabs span[data-video] {
    display: flex;
    align-items: center;
    color: #fd306a;
    cursor: pointer;
    word-break: break-all;
}

.section-product-tabs span[data-video]::after {
    content: '';
    display: inline-block;
    min-width: 16px;
    width: 16px;
    height: 16px;
    margin-left: 6px;

    background-image: url(../../_assets/img/play-circle-fill.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.video-dialog .layui-layer-setwin {
    right: 0;
    top: 0;
}

.video-dialog .layui-layer-setwin .layui-layer-close2 {
    right: 5px;
    top: 5px;
}

[data-viewImage]:hover {
    cursor: zoom-in;
}

.form-input,
.form-textarea,
.form-select,
.form-multiselect {
    transition: .3s ease-in-out;
}

.account-order-list a {
    color: rgb(53, 152, 219);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* 基础提示框样式 */
.custom-alert {
    position: relative;
    padding: 1rem;
    padding-right: 1rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.custom-alert .alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-alert .alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-alert .alert-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.custom-alert .alert-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
}

.custom-alert .alert-message {
    font-size: 13px;
    opacity: 0.9;
}

.custom-alert .btn-close {
    filter: brightness(0) saturate(100%) invert(35%) sepia(82%) saturate(500%) hue-rotate(85deg);
    opacity: 0.6;
    position: unset;
    margin-top: 0;
}


.custom-alert-success {
    background: linear-gradient(145deg, #e6f7e6 0%, #d4edda 100%);
    border-left: 4px solid #4caf50;
}

.custom-alert-success .alert-icon {
    background: #4caf50;
}

.custom-alert-success .alert-icon svg path {
    stroke: white;
}

.custom-alert-success .alert-title,
.custom-alert-success .alert-message {
    color: #155724;
}

.custom-alert-success .btn-close {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(95deg);
}


.custom-alert-error {
    background: linear-gradient(145deg, #fee2e2 0%, #f8d7da 100%);
    border-left: 4px solid #f44336;
}

.custom-alert-error .alert-icon {
    background: #f44336;
}

.custom-alert-error .alert-icon svg path {
    stroke: white;
}

.custom-alert-error .alert-title,
.custom-alert-error .alert-message {
    color: #721c24;
}

.custom-alert-error .btn-close {
    filter: brightness(0) saturate(100%) invert(16%) sepia(96%) saturate(3457%) hue-rotate(348deg);
}


.custom-alert-warning {
    background: linear-gradient(145deg, #fff3e0 0%, #fff3cd 100%);
    border-left: 4px solid #ff9800;
}

.custom-alert-warning .alert-icon {
    background: #ff9800;
}

.custom-alert-warning .alert-icon svg path {
    stroke: white;
}

.custom-alert-warning .alert-title,
.custom-alert-warning .alert-message {
    color: #856404;
}

.custom-alert-warning .btn-close {
    filter: brightness(0) saturate(100%) invert(41%) sepia(93%) saturate(1244%) hue-rotate(5deg);
}

.custom-alert-info {
    background: linear-gradient(145deg, #e3f2fd 0%, #d1ecf1 100%);
    border-left: 4px solid #2196f3;
}

.custom-alert-info .alert-icon {
    background: #2196f3;
}

.custom-alert-info .alert-title,
.custom-alert-info .alert-message {
    color: #0c5460;
}


.section-product-detail .product-options dl dt.summary{
    word-break: break-all;
}

.table-responsive{
    overflow-x: auto !important;
}
.table-sm>:not(caption)>*>* {
    padding: .25rem .25rem !important;
}

.table-responsive::-webkit-scrollbar {
    width: 1px;
    height: 7px
}
.table-responsive::-webkit-scrollbar-thumb{
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #ff6a94
}
.table-responsive::-webkit-scrollbar-thumb:hover{
    background: #fd306a
}
.table-responsive::-webkit-scrollbar-track{
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background: #ededed
}