/***************************/
/* 共通設定                */
/***************************/
.pc { display:none; }
.sp { display:inline; }
@media (768px <= width) {
    .pc { display:inline; }
    .sp { display:none; } 
}

/* 個数選択ボックスの表示修正 */
.c-product_info__form__quantity__wrap {
    position: relative !important;
    margin-top: 10px;
    width: 100%;
    height: 40px;
    display: block !important; /* 確実に表示 */
}

.c-order_quantity {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 40px !important;
}

/* 入力フィールドの基本スタイル */
.input-quantity {
    width: 100% !important;
    height: 40px !important;
    text-align: center !important;
    padding: 0 45px !important; /* 左右にボタン分のスペース */
    border: 1px solid #cccccc !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    background-color: #fff !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}

/* ±ボタンの位置とスタイル修正 */
.btn-minus,
.btn-plus {
    position: absolute !important;
    top: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 18px !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #cccccc !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    z-index: 10 !important;
    margin: 0 !important;
    font-family: inherit !important;
}

.btn-minus {
    left: 0 !important;
    border-right: none !important;
}

.btn-plus {
    right: 0 !important;
    border-left: none !important;
}

/* アイコンのスタイル */
.u-icon--minus,
.u-icon--plus {
    font-size: 16px !important;
    line-height: 1 !important;
    pointer-events: none !important;
    display: block !important;
}

/* ホバー効果 */
.btn-minus:hover:not(:disabled),
.btn-plus:hover:not(:disabled) {
    background-color: #e8e8e8 !important;
    opacity: 1 !important;
}

/* 無効化状態 */
.btn-minus:disabled,
.btn-plus:disabled {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
    pointer-events: none !important;
    background-color: #f0f0f0 !important;
    color: #999 !important;
}

.input-quantity:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

/* 数字入力フィールドのスピンボタンを非表示 */
.input-quantity::-webkit-outer-spin-button,
.input-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.input-quantity[type=number] {
    -moz-appearance: textfield !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .c-product_info__form__quantity__wrap {
        height: 35px !important;
    }
    
    .c-order_quantity {
        height: 35px !important;
    }
    
    .btn-minus,
    .btn-plus {
        width: 35px !important;
        height: 35px !important;
        font-size: 16px !important;
    }
    
    .input-quantity {
        height: 35px !important;
        padding: 0 40px !important;
        font-size: 14px !important;
    }
    
    .u-icon--minus,
    .u-icon--plus {
        font-size: 14px !important;
    }
}

/* 個数選択ボタンの修正 - IDセレクタを上書き */
#btn-minus,
#btn-plus,
.btn-minus,
.btn-plus {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    position: absolute !important;
    top: 0 !important;
    background-color: #f8f8f8 !important;
    border: 1px solid #cccccc !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    z-index: 10 !important;
    margin: 0 !important;
}

#btn-minus,
.btn-minus {
    left: 0 !important;
    border-right: none !important;
}

#btn-plus,
.btn-plus {
    right: 0 !important;
    border-left: none !important;
}

/* ホバー効果 */
#btn-minus:hover:not(:disabled),
#btn-plus:hover:not(:disabled),
.btn-minus:hover:not(:disabled),
.btn-plus:hover:not(:disabled) {
    background-color: #e8e8e8 !important;
    opacity: 1 !important;
}

/* 無効化状態のスタイル */
#btn-minus:disabled,
#btn-plus:disabled,
.btn-minus:disabled,
.btn-plus:disabled {
    cursor: not-allowed !important;
    opacity: 0.4 !important;
    pointer-events: none !important;
    background-color: #f0f0f0 !important;
    color: #999 !important;
}

/* 個数選択コントロールの位置調整 */
.c-product_info__form__quantity__wrap {
    position: relative !important;
    margin-top: 10px;
    width: 100%;
    height: 40px;
}

.c-order_quantity {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 40px !important;
}

/* 入力フィールドのスタイル */
.input-quantity {
    width: 100% !important;
    height: 40px !important;
    text-align: center !important;
    padding: 0 45px !important;
    border: 1px solid #cccccc !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    background-color: #fff !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 数字入力フィールドのスピンボタンを非表示 */
.input-quantity::-webkit-outer-spin-button,
.input-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.input-quantity[type=number] {
    -moz-appearance: textfield !important;
}

.input-quantity:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

/* アイコンのスタイル調整 */
.u-icon--minus,
.u-icon--plus {
    font-size: 16px !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .c-product_info__form__quantity__wrap {
        height: 35px;
    }
    
    .c-order_quantity {
        height: 35px !important;
    }
    
    #btn-minus,
    #btn-plus,
    .btn-minus,
    .btn-plus {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }
    
    .input-quantity {
        height: 35px !important;
        padding: 0 40px !important;
        font-size: 14px !important;
    }
}


.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 15px;
    line-height: 1.42857143;
    border-radius: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.btn:hover,
.btn:focus,
.btn.focus {
    color: #ffffff;
    text-decoration: none;
}

.btn:active,
.btn.active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

a.btn.disabled,
fieldset[disabled] a.btn {
    pointer-events: none;
}

.btn-default {
    color: #ffffff;
    background-color: #222222;
    border-color: #222222;
}

.btn-default:focus,
.btn-default.focus {
    color: #ffffff;
    background-color: #090909;
    border-color: #000000;
}

.btn-default:hover {
    color: #ffffff;
    background-color: #090909;
    border-color: #040404;
}

.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    color: #ffffff;
    background-color: #090909;
    border-color: #040404;
}

.btn-default:active:hover,
.btn-default.active:hover,
.open>.dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open>.dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open>.dropdown-toggle.btn-default.focus {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
}

.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #222222;
    border-color: #222222;
}

.btn-default .badge {
    color: #222222;
    background-color: #ffffff;
}

.btn-sm,
.btn-group-sm>.btn {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 0;
}

.pull-right {
    float: right !important;
}

.col-xs-1,
.col-sm-1,
.col-md-1,
.col-lg-1,
.col-xs-2,
.col-sm-2,
.col-md-2,
.col-lg-2,
.col-xs-3,
.col-sm-3,
.col-md-3,
.col-lg-3,
.col-xs-4,
.col-sm-4,
.col-md-4,
.col-lg-4,
.col-xs-5,
.col-sm-5,
.col-md-5,
.col-lg-5,
.col-xs-6,
.col-sm-6,
.col-md-6,
.col-lg-6,
.col-xs-7,
.col-sm-7,
.col-md-7,
.col-lg-7,
.col-xs-8,
.col-sm-8,
.col-md-8,
.col-lg-8,
.col-xs-9,
.col-sm-9,
.col-md-9,
.col-lg-9,
.col-xs-10,
.col-sm-10,
.col-md-10,
.col-lg-10,
.col-xs-11,
.col-sm-11,
.col-md-11,
.col-lg-11,
.col-xs-12,
.col-sm-12,
.col-md-12,
.col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}


/***************************/
/* cafune共通設定          */
/***************************/

/* cafune header */
.cafune.l-header {

    .l-header__inner__block__item {
        @media (width < 768px) {
            width: 20%;
        }

        @media (768px <= width) {
            width: 10%;
        }
    }

    .header-icons {
        width: 30%;
        @media (768px <= width) {
            width: 20%;
        }
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* メニュー全体 */
    .side-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100%;
        background: #fff;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 24px 20px;

        /* 上部アイコン */
        .menu-top {
            display: flex;
            justify-content: flex-end;
            gap: 20px;
            margin-bottom: 40px;

            img {
                width: 24px;
                height: 24px;
            }
        }

        /* メニューリンク */
        .menu-links {
            list-style: none;
            padding: 0;
            margin: 0;

            li {
                padding: 32px 0;
                text-align: left;
            }

            a {
                font-size: 24px;
                font-family: 'Georgia', serif;
                text-decoration: none;
                color: #000;
                letter-spacing: 4px;
                display: inline-block;
                width: 100%;
            }
        }

        .icon-close {
            border: none;
            background-color: transparent;
        }
    }

    /* 開いた状態 */
    .side-menu.active {
        right: 0;
    }
}

/* cafune footer */
.cafune.footer {
    background: #000;
    color: #fff;
    padding: 40px 20px;
    font-size: 13px;
    font-family: 'Yu Gothic', sans-serif;

    .footer-inner {
        max-width: 1024px;
        margin: 0 auto;
    }

    .footer-logo img {
        width: 100px;
        max-width: 100%;
        margin: 0 20px 32px;
        display: block;
    }

    .footer-columns {
        display: flex;
        justify-content: center;
        gap: 60px;
        flex-wrap: wrap;
        margin-bottom: 32px;
    }

    .footer-block {
        text-align: left;
        /* min-width: 140px; */

        h4 {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 16px;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 0 0 16px;
        }

        li {
            margin: 10px 0;
        }

        a {
            color: #fff;
            text-decoration: none;
            font-size: 13px;
        }

        a:hover {
            text-decoration: underline;
        }
    }

    .footer-copy {
        font-size: 11px;
        color: #ccc;
        margin-top: 24px;
        text-align: center;
    }
}


/***************************/
/* テーマ設定                */
/***************************/
/* 画面遷移エフェクト無効 */
.l-wrapper-none {
    line-height: 1.5;
    letter-spacing: 0.05em;
    overflow-wrap: break-word;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    overflow: hidden;
    opacity: 1;
    -webkit-transition: 1.6s;
    transition: 1.6s;
}

.l-wrapper-none.is-complete {
    opacity: 1;
}

.l-wrapper-none.is-remove {
    opacity: 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

/***************************/
/* LINE ID 連携（PC）       */
/***************************/
/* カート画面 */
.line_ec .button-container {
    width: 100%;
}

.line_ec .button-container .button {
    position: relative;
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    line-height: 50px;
    padding-left: 30px;
    height: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    overflow: hidden;
    text-decoration: none;
}

.line_ec .button-container .before-btn-line {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-size: 100%;
}

.line_ec .button-container .after-btn-line {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: inline-block;
    width: 50px;
    height: 100%;
    border-right-style: solid;
    border-right-width: 1px;
}

.line_ec .button-container .btn-line {
    background-color: #31ae36;
}

.line_ec .button-container .btn-line .after-btn-line {
    border-color: #70C053;
}

@media screen and (min-width: 480px) {
    .line_ec .button-container {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .line_ec .button-container .button {
        line-height: 40px;
        padding-left: 40px;
        height: 40px;
    }

    .line_ec .button-container .before-btn-line {
        width: 40px;
        height: 40px;
    }

    .line_ec .button-container .after-btn-line {
        width: 40px;
    }
}

/* 注文情報入力画面 */
.alert {
    text-align: left;
    padding-right: 55px;
    padding-left: 55px;
    margin: 40px 0;
}

.alert>div>p {
    margin-bottom: 10.5px;
}

.alert>div>p>strong {
    font-weight: bold;
}

.alert>div>ul {
    padding-inline-start: 40px;
}

.alert>div>ul>li {
    list-style: disc;
    margin-bottom: 10.5px;
}

#new-view img {
    pointer-events: auto;
}

.line_new_ec {
    margin: 0 auto;
    width: 60%;
}

.line_new_ec .button-container .button {
    position: relative;
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    line-height: 50px;
    padding-left: 30px;
    height: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    overflow: hidden;
    text-decoration: none;
}

.line_new_ec .button-container .before-btn-line {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-size: 100%;
}

.line_new_ec .button-container .after-btn-line {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    display: inline-block;
    width: 50px;
    height: 100%;
    border-right-style: solid;
    border-right-width: 1px;
}

.line_new_ec .button-container .btn-line {
    background-color: #31ae36;
}

.line_new_ec .button-container .btn-line .after-btn-line {
    border-color: #70C053;
}

@media screen and (min-width: 350px) {
    .line_new_ec .button-container {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .line_new_ec .button-container .button {
        line-height: 40px;
        padding-left: 40px;
        height: 40px;
    }

    .line_new_ec .button-container .before-btn-line {
        width: 40px;
        height: 40px;
    }

    .line_new_ec .button-container .after-btn-line {
        width: 40px;
    }
}

/***************************/
/* LINE ID 連携（SP）       */
/***************************/
/* カート画面 */
.line_sp_ec .button-container {
    width: 100%;
}

.line_sp_ec .button-container .button {
    position: relative;
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    line-height: 50px;
    padding-left: 30px;
    height: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    overflow: hidden;
    text-decoration: none;
}

.line_sp_ec .button-container .button .before-btn-line {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-size: 100%;
}

.line_sp_ec .button-container .button .after-btn-line {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    display: inline-block;
    width: 50px;
    height: 100%;
    border-right-style: solid;
    border-right-width: 1px;
}

.line_sp_ec .button-container .btn-line {
    background-color: #31ae36;
}

.line_sp_ec .button-container .btn-line .after-btn-line {
    border-color: #70C053;
}

@media screen and (min-width: 480px) {
    .line_sp_ec {
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .line_sp_ec .button-container {
        margin: 5px;
    }

    .line_sp_ec .button-container .button {
        line-height: 40px;
        padding-left: 40px;
        height: 40px;
    }

    .line_sp_ec .button-container .button .before-btn-line {
        width: 40px;
        height: 40px;
    }

    .line_sp_ec .button-container .button .after-btn-line {
        width: 40px;
    }
}

/**************/
/* Amazon Pay */
/**************/
#addressBookWidgetDiv {
    min-width: 300px;
    max-width: 600px;
    min-height: 228px;
    max-height: 400px;
}

#walletWidgetDiv {
    min-width: 300px;
    max-width: 600px;
    min-height: 228px;
    max-height: 400px;
    margin-bottom: 15px;
}

#consentWidgetDiv {
    min-width: 300px;
    max-width: 600px;
    min-height: 165px;
    max-height: 400px;
}

.consent_wrapper {
    margin-bottom: 10px;
}

/* Mobile optimized and small window */
#addressBookWidgetDiv {
    width: 100%;
    height: 228px;
}

#walletWidgetDiv {
    width: 100%;
    height: 228px;
}

#consentWidgetDiv {
    width: 100%;
    height: 165px;
}

/* Desktop and tablet */
@media only screen and (min-width: 768px) {
    #addressBookWidgetDiv {
        width: 400px;
        height: 228px;
    }

    #walletWidgetDiv {
        width: 400px;
        height: 228px;
    }

    #consentWidgetDiv {
        width: 400px;
        height: 165px;
    }
}

/*****************************/
/* チェックボックスバリデーション */
/*****************************/
.check_agree .formError {
    top: -20px !important;
    right: -20px !important;
}

.c-form_table__checkbox input {
    min-width: 20px;
}

/*******************************/
/* 郵便番号、電話番号バリデーション */
/*******************************/
.smart_phone .formError {
    top: -30px !important;
}

/*******************************/
/* shop/snippets/_product.html */
/*******************************/
.c-product_item {
    position: relative;
}

.c-product_item__inner {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
}

.c-product_item__inner__eyecatch__favorite {
    position: absolute;
    z-index: 99;
}

.product_description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (min-width: 720px) {

    .p-new_product [data-slides="1"] .product_description,
    .p-new_product [data-slides="2"] .product_description {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }
}

/**************************************/
/* shop/sections/_pickup_product.html */
/**************************************/
.p-pickup_product__inner {
    max-width: initial;
}

/**************************************/
/* shop/customer/invite_coupons.html */
/**************************************/
.p-invite_coupon__list {
    margin-top: 30px;
}

.invite_coupon__table {
    table-layout: fixed;
}

.w20 {
    width: 20%;
}

.w40 {
    width: 40%;
}

/**************************************/
/* shop/sections/category_panel.liquid */
/**************************************/
.p-category_panel__block--1 {
    height: 500px;
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media screen and (max-width: 720px) {
    .p-category_panel__block--1 {
        height: 0;
        padding-top: 60%;
    }
}

.p-category_panel__block--1:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(50%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

@media screen and (max-width: 720px) {
    .p-category_panel__block--1:before {
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(40%, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.6) 100%);
    }
}

.p-category_panel__block--1 {
    width: 100%;
}

/**************************************/
/* shop/sections/products_show_content.liquid */
/**************************************/
.c-product_img__slider__track__list__item__inner {
    background-size: contain !important;
}

.c-product_img__thumbnail__track__list__item__inner {
    background-size: contain !important;
}

/**************************************/
/* バグ解消するまで表示するメッセージ      */
/**************************************/
.customize_notice p {
    text-align: center;
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 3px;
    color: #999;
}

/**************************************/
/* shop/snippets/_preview_footer.html.liquid */
/**************************************/
.preview-nav {
    z-index: 10;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 10px;
    background-color: #eeeeee;
    opacity: 0.8;
    height: 50px;
    border-color: #fff;
    border-radius: 0;
    border: 1px solid transparent;
}

.preview-btn-col {
    text-align: right;
}

/**************************************/
/* shop/sections/new_product.liquid */
/* 2021/11/4: 暫定対応のため追加 */
/* 後ほどbundle.cssに反映してもらうためSwimmyさんに修正依頼すること */
/**************************************/
.temp-new_product_slider {
    flex-wrap: wrap;
    justify-content: initial;
}

/**************************************/
/* shop/sections/carts_show_content.liquid */
/**************************************/
.c-cart_submit .c-form_input {
    position: relative;
}

@media screen and (max-width: 720px) {
    .c-cart_submit .c-form_input .customer_emailformError {
        top: -33px !important;
    }

    .c-cart_submit .c-form_input .customer_passwordformError {
        top: -25px !important;
    }
}

/**************************************/
/* shop/contacts/draft.html.liquid */
/**************************************/
@media screen and (max-width: 720px) {
    #contacts-form-view .c-form_table__tel .contact_address_attributes_tel01formError {
        top: -33px !important;
    }

    #contacts-form-view .c-form_table__tel .contact_address_attributes_tel02formError {
        top: -33px !important;
    }

    #contacts-form-view .c-form_table__tel .contact_address_attributes_tel03formError {
        top: -33px !important;
    }

    #contacts-form-view .c-form_table .contact_customer_attributes_emailformError {
        top: -33px !important;
    }

    #contacts-form-view .c-form_table__newsletter .agreeformError {
        top: -44px !important;
    }
}

/**************************************/
/* shop/customers/registrations/new.html.liquid */
/**************************************/
@media screen and (max-width: 720px) {
    #customers-registrations-sign-up-view .c-form_table__name .customer_billing_address_attributes_kana01formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table__name .customer_billing_address_attributes_kana02formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table__postcode .customer_billing_address_attributes_zip01formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table__postcode .customer_billing_address_attributes_zip02formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table .customer_billing_address_attributes_tel01formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table .customer_billing_address_attributes_tel02formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table .customer_billing_address_attributes_tel03formError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table .customer_emailformError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table .customer_passwordformError {
        top: -33px !important;
    }

    #customers-registrations-sign-up-view .c-form_table__newsletter .agreeformError {
        top: 55px !important;
    }
}

/**************************************/
/* shop/customers/passwords/new.html.liquid */
/**************************************/
@media screen and (max-width: 720px) {
    #customers-password-new-view .p-account_form__inner .customer_emailformError {
        top: -33px !important;
    }
}

/**************************************/
/* shop/customers/passwords/edit.html.liquid */
/**************************************/
@media screen and (max-width: 720px) {
    #customers-password-edit-view .p-account_form__inner .passwordformError {
        top: -33px !important;
    }

    #customers-password-edit-view .p-account_form__inner .customer_password_confirmationformError {
        top: -33px !important;
    }
}

/**************************************/
/* 区切り線デザイン                      */
/**************************************/
.section_line {
    border: solid;
    border-width: 1px;
}

/************************************************************/
/* 関連商品デザイン                                            */
/* shop/sections/products_show_recommend.liquid             */
/* shop/sections/carts_show_recommend.liquid                */
/* 2021/11/17: 暫定対応のため追加                              */
/* 後ほどbundle.cssに反映してもらうためSwimmyさんに修正依頼すること */
/************************************************************/
.p-recommend_product__inner__list {
    justify-content: space-evenly;
}

/**************************************/
/* カートデザイン */
/* shop/sections/carts_show_content.liquid */
/**************************************/
.c-cart_item__action__delete>.hide {
    visibility: hidden;
}

/**************************************/
/* セット一覧デザイン */
/* shop/sets/index.html.liquid */
/**************************************/
.price>.origin {
    text-decoration: line-through;
    margin-right: 10px;
}

/**************************************/
/* セット選択画面、セット編集画面　SKUデザイン */
/* shop/sets/show.html.liquid　*/
/* shop/customer/subs_orders/sets/edit.html.liquid　*/
/**************************************/
.fieldset .option_template_basic_theme[style*='display: block'] {
    display: flex !important;
}

/***************************************************************/
/* ec_force/shop/customer/subs_orders/variants/show.html.liquid*/
/***************************************************************/
#btn-minus {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

#btn-minus:hover {
    opacity: 0.4;
}

#btn-plus {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 24px;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

#btn-plus:hover {
    opacity: 0.4;
}

/************************************************************/
/* ecforce_paymentsデザイン
/* shop/orders/_view_payment_information.html.liquid
/* shop/customer/cards/index.html.liquid
/* font系のstyleはカード名義のみ適用で、他はiframeで表示されているため適用されません
/************************************************************/
.ecforce-payment-card-number,
.ecforce-payment-card-expiry,
.ecforce-payment-card-name,
.ecforce-payment-card-cvv {
    height: 40px !important;
    padding: 10px 20px !important;
    color: #9A9A9A !important;
    font-size: 13px !important;
    font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
    background: #FFFFFF !important;
    border-color: #BDC1C2 !important;
    border: 1px solid #cccccc !important;
    width: 100%;
}

/************************************************************/
/* 注文情報確認画面(shop/order/confirm), [カスタマイズ]注文情報確認画面(admin/themes/:id/customize?screen=order_confirmation)
/* shop/sections/order_confirmation_button.liquid
/************************************************************/
section[data-section-id="order_confirmation_button"] {
    text-align: center;
}

section[data-section-id="order_confirmation_button"] .p-checkout_confirm__inner__list__block--bottom {
    margin-bottom: 20px;
}

@media screen and (max-width: 718px) {
    .p-checkout_confirm__inner__list__block--bottom.float_checked {
        display: none;
    }
}

/* 注意喚起文 */
.p-checkout_confirm__caution__block {
    margin: 0 auto 40px;
    padding: 18px 20px 19px;
    border: thin solid #D8DDDF;
}

.p-checkout_confirm__caution__pc {
    display: block;
}

.p-checkout_confirm__caution__sp {
    display: none;
}

@media screen and (max-width: 720px) {
    .p-checkout_confirm__caution__block {
        padding: 18px 15px 20px;
    }

    .p-checkout_confirm__caution__pc {
        display: none;
    }

    .p-checkout_confirm__caution__sp {
        display: block;
    }
}


/************************************************************/
/* ecforceチャットボタン位置調整
/************************************************************/
/* #tm_chat_iframe {
    bottom: 50px !important;
} */

/************************************************************/
/* amazonpay 決済方法選択
/************************************************************/
.ap_img {
    width: 80%;
    margin: 40px auto 0;
}

/************************************************************/
/* cafuneトップページ
/************************************************************/

.l-container:has(#cafune_top) {
    padding: 70px 0 !important;
    background: #fdfaf5;

    .u-margin__top--60 {
        margin-top: 0;
    }

    .p-page_content {
        padding-right: 0;
        padding-left: 0;
    }
}

#cafune_top {

    .concept-section {
        background: #fdfaf5;
        padding: 40px 20px;

        .concept-inner {
            max-width: 720px;
            margin: 0 auto;
            position: relative;

            .concept-heading {
                font-size: 1.8rem;
                text-align: center;
                margin-bottom: 16px;
                font-weight: bold;
            }

            .concept-subcopy {
                font-weight: bold;
                font-size: 1.1rem;
                font-family: serif;
                text-align: left;
                margin: 32px 0;
                line-height: 1.5;
                position: relative;
                z-index: 10;
            }

            .concept-image-main img {
                position: absolute;
                width: 60%;
                right: -6%;
                top: 110px;
                border-radius: 4px;
                margin-bottom: 24px;
            }

            .concept-body-text {
                margin-top: 50px;
                font-size: 0.8rem;
                line-height: 2;
                color: #333;
                margin-bottom: 24px;
                position: relative;
                z-index: 10;
            }

            .concept-image-row {
                display: flex;
                gap: 12px;
                width: 80%;
                margin: -50px auto 0;
                margin-top: -50px;

                img {
                    width: 100%;
                    border-radius: 4px;
                    object-fit: cover;
                }
            }

        }
    }

    .producer-section {
        background-color: #fff;
        padding: 40px 0;
        .border {
            background-color: #cccccc;
            height: 3px;
            width: 80%;
        }
        .border-top {
            margin: 0 auto 40px;
        }
        .border-bottom {
            margin: 40px auto 0;
        }
        img {
            width: 90%;
            @media (768px <= width) {
                width: 40%;
            }
            margin: 0 auto;
        }
        .producer-subheading {
            text-align: center;
            font-size: 1.1rem;
            font-family: serif;
            margin-top: 25px;
        }
        .producer-description {
            text-align: center;
            font-size: 0.7rem;
        }
        .producer-news {
            img {
                margin-top: 30px;
                width: 90%;
            }
        }
    }

    .product-section {
        background: #fdfaf5;
        padding: 40px 20px;

        .product-heading {
            font-size: 20px;
            font-weight: bold;
            text-align: left;
            margin-bottom: 32px;
        }

        .product-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            max-width: 960px;
            margin: 0 auto;

            @media (width < 768px) {
                gap: 32px 16px;
            }

            @media (768px <= width) {
                gap: 64px 128px;
            }

            .product-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-decoration: none;
                color: inherit;
                width: 45%;
                max-width: 180px;
                text-align: center;
                transition: opacity 0.3s;

                img {
                    width: 100%;
                    aspect-ratio: 1 / 1;
                    object-fit: contain;
                    margin-bottom: 12px;
                    display: block;
                }

                .product-name {
                    font-size: 14px;
                    margin-bottom: 4px;

                    .product-name-jp {
                        font-size: 0.7rem;
                        margin-top: 0;
                    }
                }

                .product-price {
                    font-size: 14px;
                    color: #444;
                }

                .tax {
                    font-size: 12px;
                    color: #888;
                }
                .go-to-product-button {
                    background-color: #000;
                    color: #fff;
                    padding: 10px 30px;
                    margin-top: 5px;
                    width: 100%;
                }
            }

            .product-item:hover {
                opacity: 0.8;
            }
        }
    }

    .membership-section {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 30px 20px;
        @media (768px <= width) {
            padding: 60px 20px;
        }

        .membership-label {
            font-size: 14px;
            letter-spacing: 2px;
            margin-bottom: 12px;
            color: #ccc;
        }

        .membership-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .membership-description {
            font-size: 14px;
            line-height: 2;
            margin-bottom: 32px;
        }

        .membership-button {
            display: inline-block;
            padding: 12px 32px;
            border-top: 1px solid #fff;
            border-bottom: 1px solid #fff;
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: background-color 0.3s, color 0.3s;
        }

        .membership-button:hover {
            background-color: #fff;
            color: #000;
        }
    }

    .about-section {
        padding: 40px 20px;
        position: relative;
        font-size: 0.8rem;
        line-height: 2;

        .about-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;

            sup {
                font-size: 0.5rem;
                position: absolute;
            }

            .about-text {
                z-index: 2;
                width: 100%;
                margin-top: 30%;

                .about-title {
                    font-size: 1.5rem;
                    margin-bottom: 12px;
                }

                .about-heading {
                    font-size: 1.8rem;
                    font-weight: bold;
                    margin-bottom: 20px;
                    position: relative;
                    z-index: 10;
                }

                .about-description {
                    font-size: 14px;
                    line-height: 2;
                    margin-top: 10%;
                }
            }

            .about-image-top {
                background: url('https://d2w53g1q050m78.cloudfront.net/pbeautyjp/uploads/cafune_shop/img/top/アセット 45@2x.png') no-repeat center/contain;
                width: 60%;
                position: absolute;
                right: 0;
                top: 0;

                @media (width < 768px) {
                    height: 300px;
                }

                @media (768px <= width) {
                    height: 400px;
                }
            }
        }

        .about-points {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
            margin: 32px auto;

            @media (width < 768px) {
                max-width: 350px;
            }

            @media (768px <= width) {
                max-width: 420px;
            }

            .point {
                border: 1px solid #000;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                text-align: center;
                white-space: nowrap;
                font-family: serif;
                font-size: 0.9rem;
                font-weight: bold;

                @media (width < 768px) {
                    width: 90px;
                    height: 90px;
                }

                @media (768px <= width) {
                    width: 120px;
                    height: 120px;
                }

            }

            .point2 {
                padding-top: 20px;
                padding-bottom: 20px;
                line-height: 25px;
                box-sizing: border-box;
                position: relative;

                sup {
                    position: absolute;
                    top: 30px;
                    right: 5px;
                    font-size: 0.5rem;
                }

            }
        }

        .about-note {
            font-size: 11px;
            color: #555;
            margin-bottom: 32px;
        }

        .about-bottom {
            display: flex;
            position: relative;

            @media (width < 768px) {
                height: 400px;
            }

            @media (768px <= width) {
                height: 450px;
            }

            .bottom-text {
                z-index: 2;
                position: relative;
                max-width: 500px;
                width: 100%;

                .material-button {
                    border: 1px solid #000;
                    padding: 10px 20px;
                    background-color: transparent;
                    width: 40%;
                    margin: 120px 30% 30px;
                }
            }

            .about-image-bottom {
                background: url('https://d2w53g1q050m78.cloudfront.net/pbeautyjp/uploads/cafune_shop/img/top/アセット 52@2x.png') no-repeat center / contain;
                width: 100%;
                height: 300px;
                margin-top: 20px;
                position: absolute;
                top: -10%;

                @media (width < 768px) {
                    right: -20%;
                }

                @media (768px <= width) {
                    right: -30%;
                }
            }

        }

        .material-button {
            border: 1px solid #000;
            padding: 10px 20px;
            background-color: transparent;
            width: 40%;
            margin: 120px 30% 30px;
            position: absolute;
            bottom: 0;
            z-index: 3;
        }


        /* モーダル全体のレイヤー */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            display: none;
            /* JSで display: flex に切り替える */
            justify-content: center;
            align-items: center;
            z-index: 999999999;

            .modal-content {
                background: #fff;
                width: 90%;
                max-width: 500px;
                max-height: 90vh;
                /* 高さを画面の90%に制限 */
                overflow-y: auto;
                /* 内容が長ければスクロール */
                padding: 32px 20px 24px;
                border-radius: 12px;
                position: relative;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                font-family: "Yu Gothic", "ヒラギノ角ゴ ProN", sans-serif;
                text-align: center;

                /* 閉じるボタン */
                .modal-close {
                    position: absolute;
                    top: 0;
                    right: 10px;
                    font-size: 40px;
                    font-family: 'Noto Sans JP';
                    font-weight: 100;
                    background: none;
                    border: none;
                    cursor: pointer;
                    color: #444;
                }

                /* ヘッダー部 */
                .modal-head {
                    h3 {
                        font-size: 18px;
                        font-weight: bold;
                        margin-bottom: 16px;
                        line-height: 1.6;
                    }

                    .modal-subtext {
                        font-size: 0.7rem;
                        line-height: 2;
                        margin-bottom: 32px;
                        color: #000;
                    }
                }

                /* 注釈 */
                sup {
                    font-size: 0.5rem;
                }

                /* グリッド（4分割） */
                .modal-grid {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    margin-bottom: 24px;

                    .modal-item {
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        font-size: 13px;
                        line-height: 1.5;
                        color: #000;
                        font-family: serif;
                        padding: 7.5%;

                        /* 丸いイメージ */
                        img {
                            width: 110px;
                            height: 110px;
                            border-radius: 50%;
                            object-fit: cover;
                            margin: 8px 0;
                        }

                        /* ラベル */
                        .label-en {
                            font-size: 0.7rem;
                            font-weight: bold;
                            color: #444;
                            margin: 0;
                        }

                        .label-ja {
                            font-size: 1rem;
                            font-weight: normal;
                            margin: 0;
                        }

                        /* キャプション */
                        .caption {
                            font-size: 1rem;
                            color: #444;
                            line-height: 1.5;
                        }
                    }

                    .modal-item:nth-child(1) {
                        border: #111 solid;
                        border-width: 0 1px 1px 0;
                        margin-bottom: -1px;
                        margin-right: -1px;
                    }

                    .modal-item:nth-child(2) {
                        border: #111 solid;
                        border-width: 0 0 1px 1px;
                        margin-bottom: -1px;
                    }

                    .modal-item:nth-child(3) {
                        border: #111 solid;
                        border-width: 1px 1px 0 0;
                        margin-right: -1px;
                    }

                    .modal-item:nth-child(4) {
                        border: #111 solid;
                        border-width: 1px 0 0 1px;
                    }
                }

                /* 脚注 */
                .modal-footnote {
                    color: #000;
                    text-align: left;
                    margin-top: 24px;

                    p {
                        font-size: 0.5rem !important;
                        line-height: 0.3 !important;
                    }
                }
            }
        }
    }

    .news-section {
        background: #fdfaf5;
        padding: 40px 20px;
        overflow: hidden;

        .news-heading {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .news-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            padding-bottom: 12px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;

            .news-card {
                flex: 0 0 350px;
                /* 固定幅 */
                scroll-snap-align: start;
                background: #fff;
                border: 1px solid #ccc;
                padding: 20px;
                box-sizing: border-box;
                border-radius: 4px;
                min-height: 180px;
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                .news-date {
                    font-size: 13px;
                    color: #888;
                    margin-bottom: 8px;
                }

                .news-text {
                    font-size: 14px;
                    line-height: 1.8;
                    margin-bottom: 16px;
                    color: #333;
                }

                .news-link {
                    font-size: 13px;
                    text-align: right;
                    color: #111;
                    text-decoration: none;
                    border-top: 1px solid #ccc;
                    padding-top: 8px;
                    display: block;
                }
            }
        }
    }



}

.start-logo {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999999998;

    p {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: none;
        z-index: 999999999;
        width: 200px;
    }
}


/************************************************************/
/* 商品詳細画面
/* shop/products/show.html.liquid
/************************************************************/
.c-product_img__slider--thumbnail .c-product_img__item img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

#product-name {
    font-size: 1.1rem;
    @media (768px <= width) {
        font-size: 1.4rem;
    }
}

#product-images {
    @media (768px <= width) {
        width: 50%;
        margin-right: auto;
        margin-left: auto;
    }
}

/* スライダードット */
.slick-dots {
    bottom: 25px !important;
}

#co-selling-recurring {
    display: block !important;
}

#product-show-view {
    background-color: #f3f3ee;
    padding-bottom: 14.285714%;
    margin-top: 70px;
}

#product-detail-area {
    padding-top: 14.285714%;
    padding-bottom: 14.285714%;
    padding-right: 7.142857%;
    padding-left: 7.142857%;

    @media (768px <= width) {
        width: 40%;
        margin-right: auto;
        margin-left: auto;
        padding: 3.5%;
    }
}

.co-selling-list {
    width: 47%;
    border: solid 1px #000;
    margin-top: 25px;
}

.co-selling-list.soldOut {
    pointer-events: none;
    cursor: auto;
    color: #757575;
    .co_selling_product_name:after {
        content: '在庫なし';
        border-radius: 20px;
        padding: 3px;
        text-align: center;
        font-size: 11px;
        color: #fff;
        font-weight: bold;
        background-color: #757575;
        margin: 10px 0 -20px;
        display: block;
    }
}

.co_selling_product_box {
    padding: 5%;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.co_selling_product_name {
    font-size: 0.7rem;
    margin-top: 14.285714%;
}

.co-sales_price_include_tax {
    margin-top: 14.285714%;
    display: block;
}

#co-selling-product-view>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#co-selling-product-view {
    .novelty-image {
        margin-bottom: 30px;
    }
    .caution-text {
        font-size: 0.8rem;
        font-weight: bold;
    }
}

.products-area {
    @media (768px <= width) {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}

.co-selling-product-note {
    font-size: 0.6rem;
    margin-top: 14.285714%;
    a {
        color: #0061ff;
    }
}

.co_selling_product_type {
    font-size: 0.9rem;
}

.recurring_label {
    padding: 1px 8px;
    background: #000;
    color: #fff;
}

.co-add-shop-cart-form {
    width: 100%;
    margin-top: 25px;
}

button.co-btn-add-async {
    width: 100%;
    text-align: center;
    background: #000;
    color: #fff;
    font-size: 1.2rem;
    padding: 13px;
}

#precaution-list {
    font-size: 0.9rem;
    margin-top: 25px;

    li+li {
        margin-top: 0.6em;
    }

    li:before {
        content: '・';
    }
}

.product-selected {
    box-shadow: 0 0 0 10px #000;
}

.disable-button {
    pointer-events: none;
    background-color: #ddd !important;
}

#product-amount {
    letter-spacing: 0.3em;
    font-size: 0.7rem;
}

#product-copy {
    margin: 30px 0;
    @media (768px <= width) {
        width: 80%;
        margin: 50px auto;
    }

    img+img {
        margin-top: 30px;
    }

    .note {
        font-size: 0.5rem;
        margin-top: 7.5%;
    }
}


#recurring-explanation {
    margin-top: 14.285714%;
    @media (768px <= width) {
        margin-top: 7.142857%;;
    }

    #price-explanation {
        text-align: center;

        .title {
            font-family: serif;
            font-weight: bold;
            margin-bottom: 7.142857%;
            font-size: 1.2rem;
        }

        .explanation {
            border: 1px solid #000;
            padding: 2%;
            margin-bottom: 7.142857%;
            font-size: 1rem;
            letter-spacing: 0;
        }

        img {
            margin-bottom: 7.142857%;
            @media (768px <= width) {
                width: 80%;
                margin-right: auto;
                margin-left: auto;
            }
        }
    }

    #content-mix-explanation {
        text-align: center;
        margin-top: 14.285714%;
        @media (768px <= width) {
            width: 80%;
            margin-right: auto;
            margin-left: auto;
        }

        .title {
            margin-bottom: 7.142857%;
            font-size: 1.2rem;
            font-family: serif;
            font-weight: bold;
        }

        .explanation {
            margin-bottom: 7.142857%;
            font-size: 0.8rem;
            line-height: 2;
        }

        img {
            margin-bottom: 7.142857%;
        }
    }
}

.product-points {
    padding: 3.5714285%;

    @media (768px <= width) {
        width: 40%;
        margin-right: auto;
        margin-left: auto;
    }

    .accordion-content {
        display: none;
    }

    .product-point-item {
        background-color: #fff;
        padding: 3.5714285% 3.5714285% 10%;
        position: relative;

        .headline {
            font-size: 1.5rem;
            font-weight: bold;
            line-height: 1.7;
            font-family: serif;
        }

        .copy-writing {
            font-size: 1rem;
            font-weight: bold;
            line-height: 1.7;
            margin-top: 3.5714285%;
            font-family: serif;
        }

        .sub-copy {
            font-size: 1rem;
            line-height: 1.7;
            margin-top: 7.142857%;
            font-weight: 600;
        }

        .point-description {
            width: 65%;
            font-size: 0.8rem;
            line-height: 1.7;
            letter-spacing: 0.2em;
            margin-top: 3.5714285%;
            position: relative;
            z-index: 20;
            font-weight: 300;
        }

        .note {
            font-size: 0.7rem;
            font-family: 'Noto Sans JP';
            font-weight: 300;
        }

        sup {
            font-size: 0.7rem;
        }

        .point-close {
            width: 23px;
            height: 20px;
            background-image: url(https://d2w53g1q050m78.cloudfront.net/pbeautyjp/uploads/cafune_shop/img/global/triangle@2x.png);
            background-size: contain;
            position: absolute;
            right: 3.5714285%;
            bottom: 3.5714285%;
            cursor: pointer;
            z-index: 100;
            transform: rotate(0deg);
        }

        .point-close.open {
            transform: rotate(-180deg);
            transition: transform 0.3s;
        }

    }

    .product-point-item+.product-point-item {
        margin-top: 7.142857%;
    }

    .point-1 {

        .point-description {
            width: 100%;
            position: relative;

            p {
                position: absolute;
                z-index: 20;
                width: 70%;
                top: 0;
            }

            .background-image {
                position: absolute;
                width: 40%;
                @media (768px <= width) {
                    width: 25%;
                }
                right: 3.5714285%;
                top: 5%;
                z-index: 10;
            }
        }

        .point-description:before {
            content: "";
            display: block;
            padding-top: 60%;
            @media (768px <= width) {
                padding-top: 30%;
            }
        }

    }

    .point-2 {

        .point-description {
            width: 100%;
            position: relative;

            p {
                position: absolute;
                width: 70%;
                right: 3.5714285%;
                top: 0;
                z-index: 20;
                /* line-height: 2; */
            }

            .background-image {
                position: absolute;
                width: 40%;
                @media (768px <= width) {
                    width: 25%;
                }
                left: 0;
                top: 10%;
                z-index: 10;
            }
        }

        .point-description:before {
            content: "";
            display: block;
            padding-top: 80%;
        }
    }

    .point-3 {
        .point-description {
            width: 100%;
            letter-spacing: 0.3em;
            line-height: 2;

            img {
                width: 30%;
                float: right;
            }
        }
    }

    .point-4 {
        .point-description {
            width: 100%;

            .item-list {
                width: 100%;
                display: flex;
                justify-content: space-between;
                font-size: 0.7rem;
                @media (768px <= width) {
                    font-size: 0.8rem;
                    width: 90%;
                    margin: 0 auto;
                }

                li:before {
                    content: "・";
                }

                li+li {
                    margin-top: 0.8em;
                }

                .item-list-1 {}

                .item-list-2 {}
            }

            .image-list {
                display: flex;
                margin-top: 3.5714285%;

                img {
                    width: 16%;
                }

                img+img {
                    margin-left: 3%;
                }
            }
        }

    }

    .point-5 {
        .point-description {
            width: 100%;
            letter-spacing: 0.3em;
            line-height: 2.2;
        }

        img {
            margin-top: 3.5714285%;
            width: 80%;
        }
    }

    .point-6 {
        .point-description {
            width: 100%;

            .set {
                position: relative;
                height: 250px;

                .first-description {
                    width: 70%;
                    position: absolute;
                    z-index: 20;
                    line-height: 2.4;
                }

                img {
                    width: 70%;
                    @media (768px <= width) {
                        width: 40%;
                    }
                    position: absolute;
                    z-index: 10;
                    right: 0;
                    top: 20%;
                }

            }

            .second-description {
                line-height: 2.4;
                position: relative;
                z-index: 30;
            }
        }
    }

    .clearfix:after {
        content: "";
        display: block;
        clear: both;
    }
}

#product-sh-tr-points {
    .point-2 {
        .point-description:before {
            @media (768px <= width) {
                padding-top: 45%;
            }
        }
    }
    .point-4 {
        .point-description {
            .note {
                position: absolute;
                right: 20px;
                bottom: 20px;
            }
        }
    }
}


.product-component {
    margin-top: 15%;
    position: relative;

    @media (768px <= width) {
        width: 35%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 7.142857%;
    }

    .product-component-container {
        overflow: hidden;
        /* height: 150px; */
        position: relative;

        .product-component-title {
            font-size: 1.4rem;
            font-weight: bold;
            font-family: serif;
        }

        img {
            position: absolute;
            top: 0;
            width: 40%;
            
            @media (768px <= width) {
                width: 40%;
            }
        }

        .content-list {
            padding: 0 7.5%;
            /* position: absolute; */
            top: 0;
            clear: both;
            height: 100%;

            .content-item {
                padding: 10px;
                width: 90%;
                background-color: #fff;
                box-shadow: 1px 2px 3px 1px #b1b1b1;
                opacity: 0.8;

                .title {
                    font-size: 1rem;
                    letter-spacing: 0;
                }

                .text {
                    margin-top: 2%;
                    font-weight: 300;
                    font-size: 0.8rem;
                    line-height: 1.7;
                    letter-spacing: 0.03rem;
                    @media (768px <= width) {
                        font-size: 1rem;
                        line-height: 2;
                        letter-spacing: normal;
                    }
                }
            }

            .content-item+.content-item {
                margin-top: 5%;
            }
        }
    }

    /* .product-component-container.open {
        overflow: normal;
        height: 100%;
    }

    .product-component-container:before {
        content: "";
        display: block;
        padding-top: 130%;
        @media (768px <= width) {
            padding-top: 90%;
        }
    }

    .product-component-container:after {
        content: "";
        position: absolute;
        border-style: none;
        left: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        height: 220px;
        background: linear-gradient(rgba(255, 255, 255, 0) 0, #f3f3ee 200px);
    }

    .product-component-container.open:after {
        display: none;
    } */

    .toggle-button {
        font-size: 1rem;
        width: 30%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 100;
    }

    .toggle-button:after {
        content: "";
        width: 23px;
        height: 20px;
        background-image: url(https://d2w53g1q050m78.cloudfront.net/pbeautyjp/uploads/cafune_shop/img/global/triangle@2x.png);
        background-size: contain;
        position: absolute;
        margin-left: 40px;
        top: 8px;
        cursor: pointer;
        z-index: 100;
        transform: rotate(0deg);
        transition: transform 0.5s ease-in-out;
    }

    .toggle-button.open:after {
        transform: rotate(-180deg);
    }
}

#product-shampoo {
    .content-list {
        padding: 0 0 0 7.5%;
        margin-top: 30px;
        .content-item {
            float: right;
            border-radius: 20px 0 0 0;
        }
    }
    .product-component-title {
        float: right;
        position: absolute;
        left: 180px;
    }
}

#product-treatment {
    img {
        right: 0;
    }

    .content-list {
        padding: 0 7.5% 0 0;
        .content-item {
            float: left;
            border-radius: 0 20px 0 0;
        }
    }
    .product-component-title {
        margin-left: 20px;
    }
    
    /* .product-component-container::before {
        padding-top: 160%;
        @media (768px <= width) {
            padding-top: 110%;
        }
    } */
}

#product-milk {
    .product-component-container:before {
        padding-top: 110%;
        @media (768px <= width) {
            padding-top: 90%;
        }
    }

    .content-list {
        padding: 0 0 0 7.5%;
        .content-item {
            float: right;
            border-radius: 20px 0 0 0;
            padding: 20px;

            .title {
                sup {
                    font-size: 0.6rem;
                }
            }

            .note {
                font-size: 0.5rem;
                margin-top: 7.5%;
                @media (768px <= width) {
                    margin-top: 3.5%;
                }
            }
        }
    }
    .content-list:after {
        content: "";
        display: block;
        clear: both;
    }

    .product-component-title {
        float: right;
        margin-right: 20px;
    }

    .unlisted-content-item {
        padding: 20px 10px;
        width: 90%;
        border-radius: 10px 20px;
        margin: 10px auto;
        background-color: #fff;
        box-shadow: 1px 2px 3px 1px #b1b1b1;
        opacity: 0.8;

        p {
            margin: 0 7.5%;
        }

        .title {
            font-size: 1rem;
            margin: 0 0 0 10px;
            font-family: serif;
            font-weight: bold;
        }

        img {
            width: 95%;
            @media (768px <= width) {
                width: 70%;
            }
            margin: 3.5% auto;
            display: block;
            position: static;
        }
        img.item-check-list {
            @media (768px <= width) {
                width: 60%;
            }
        }
    }

    .unlisted-content-item.center-text {
        text-align: center;

        .title {
            font-size: 1rem;
            font-family: sans-serif;
        }

        .text {
            font-weight: 300;
            margin: 3.5% 0 7.5%;
            font-size: 0.8rem;
        }
    }
}

#product-milk-points {
    margin-top: 14.285714%;
    
    @media (768px <= width) {
        margin-top: 7.142857%;
    }

    .point-1 {
        .point-description::before {
            content: "";
            display: block;
            padding-top: 0;
        }
    }

    .point-2 {
        .point-description {
            p {
                left: 0;
            }
        }

        .point-description::before {
            content: "";
            display: block;
            padding-top: 0;
        }

        .background-image {
            left: auto;
            right: 0;
        }
    }

    .point-3 {
        .point-item:first-child {
            .point-description:before {
                content: "";
                display: block;
                padding-top: 80%;
                @media (768px <= width) {
                    padding-top: 50%;
                }
            }

            .point-description-text {
                position: absolute;
                width: 60%;
                top: 0;
                z-index: 20;
            }

            .background-image {
                position: absolute;
                right: 0;
                top: 0;
                width: 40%;
                @media (768px <= width) {
                    width: 30%;
                }
                z-index: 10;
            }

            .note {
                font-size: 0.5rem;
            }
        }
    }

    .point-4 {
        .point-item {
            .point-description:before {
                content: "";
                display: block;
                padding-top: 50%;
            }

            .point-description-text {
                position: absolute;
                width: 60%;
                top: 0;
                z-index: 20;
            }

            .background-image {
                position: absolute;
                right: 0;
                bottom: 0;
                width: 70%;
                z-index: 10;
            }
        }
    }

    .point-5 {
        .point-item {
            .point-description:after {
                content: "";
                display: block;
                clear: both;
            }

            .point-description-text {
                float: left;
                width: 65%;
                letter-spacing: normal;
                line-height: normal;
            }

            .background-image {
                float: right;
                width: 30%;
            }
        }
    }
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.static {
    position: static !important;
}

.relative {
    position: relative !important;
}

.w-55 {
    width: 55% !important;
}

.w-56 {
    width: 56% !important;
}

.w-100 {
    width: 100% !important;
}

.z-20 {
    z-index: 20 !important;
}


#product-oil {
    .product-component-container:before {
        padding-top: 110%;
        @media (768px <= width) {
            padding-top: 90%;
        }
    }

    .background-image {
        right: 0;
    }

    .content-list {
        padding: 0 7.5% 0 0;
        .content-item {
            float: left;
            border-radius: 0 20px 0 0;
            padding: 20px;

            .note {
                font-size: 0.5rem;
                margin-top: 7.5%;
                @media (768px <= width) {
                    margin-top: 3.5%;
                }
            }
        }
    }
    .content-list:after {
        content: "";
        display: block;
        clear: both;
    }

    .product-component-title {
        margin-left: 20px;
    }

    .unlisted-content-item {
        padding: 20px 10px;
        width: 90%;
        border-radius: 10px 20px;
        margin: 10px auto;
        background-color: #fff;
        box-shadow: 1px 2px 3px 1px #b1b1b1;
        opacity: 0.8;

        p {
            margin: 0 7.5%;
        }

        .title {
            font-size: 1.1rem;
            font-family: serif;
            font-weight: bold;
        }

        img {
            width: 95%;
            @media (768px <= width) {
                width: 70%;
            }
            margin: 3.5% auto;
            display: block;
            position: static;
        }
        img.item-check-list {
            @media (768px <= width) {
                width: 60%;
            }
        }
    }

    .unlisted-content-item.center-text {
        text-align: center;

        .title {
            font-size: 1rem;
            font-family: sans-serif;
        }

        .text {
            font-weight: 300;
            margin: 3.5% 0 7.5%;
            font-size: 0.8rem;
        }
    }
}


#product-oil-points {
    margin-top: 14.285714%;
    
    @media (768px <= width) {
        margin-top: 7.142857%;
    }

    .point-1 {
        .point-description::before {
            content: "";
            display: block;
            padding-top: 0;
        }
    }

    .point-2 {
        .point-description {
            p {
                left: 0;
            }
        }

        .point-description::before {
            content: "";
            display: block;
            padding-top: 0;
        }

        .background-image {
            left: auto;
            right: 0;
            width: 50%;
        }
    }

    .point-3 {
        .point-item {
            .point-description {
                letter-spacing: normal;
                line-height: normal;
            }

            .point-description:before {
                content: "";
                display: block;
                padding-top: 50%;
            }

            .point-description-text {
                position: absolute;
                width: 60%;
                top: 0;
                z-index: 20;
            }

            .background-image {
                position: absolute;
                right: 0;
                bottom: 0;
                width: 70%;
                z-index: 10;
            }
        }
    }

    .point-4 {
        .point-item {
            .point-description:after {
                content: "";
                display: block;
                clear: both;
            }

            .point-description-text {
                float: left;
                width: 65%;
            }

            .background-image {
                float: right;
                width: 30%;
            }
        }
    }
}

#product-how-to-use {
    margin-top: 14.285714%;

    @media (768px <= width) {
        width: 40%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 7.142857%;
    }

    .copy-writing {
        padding: 7.142857%;
        font-family: serif;

        .title {
            font-size: 2rem;
            font-weight: bold;
        }

        .text {
            margin-top: 3.5714285%;
            font-size: 1.1rem;
        }

    }

    .product-how-to-use-container {
        position: relative;
        overflow: hidden;
        height: 200px;

        .how-to-use-item {
            display: flex;
            margin-bottom: 14.285714%;
            padding-right: 7.142857%;

            .left-content {
                width: 40%;

                img {}
            }

            .right-content {
                width: 50%;
                margin-left: 7.142857%;

                .item-title {
                    font-size: 1.3rem;
                    font-weight: bold;
                    font-family: serif;
                }

                .item-text {
                    margin-top: 3.5714285%;
                    font-size: 0.8rem;
                    line-height: 1.7;
                    font-weight: 300;
                }
            }
        }
    }

    .product-how-to-use-container.open {
        overflow: normal;
        height: 100%;
    }

    .product-how-to-use-container:after {
        content: "";
        position: absolute;
        border-style: none;
        left: 0;
        bottom: 0;
        z-index: 2;
        width: 100%;
        height: 220px;
        background: linear-gradient(rgba(255, 255, 255, 0) 0, #f3f3ee 200px);
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
    }

    .product-how-to-use-container.open:after {
        visibility: hidden;
        opacity: 0;
    }


    .toggle-button {
        font-size: 1rem;
        width: 30%;
        margin: 0 auto;
        text-align: center;
        position: relative;
        z-index: 100;
    }

    .toggle-button:after {
        content: "";
        width: 23px;
        height: 20px;
        background-image: url(https://d2w53g1q050m78.cloudfront.net/pbeautyjp/uploads/cafune_shop/img/global/triangle@2x.png);
        background-size: contain;
        position: absolute;
        margin-left: 40px;
        top: 8px;
        cursor: pointer;
        z-index: 100;
        transform: rotate(0deg);
        transition: transform 0.5s ease-in-out;
    }

    .toggle-button.open:after {
        transform: rotate(-180deg);
    }
}

/************************************************************/
/* ショップフォーム設定 > 都道府県と住所1の入力不可設定=>有効
/* shop/customers/registrations/new.html.liquid
/* shop/customer/shipping_addresses/_form.html.liquid
/* shop/customer/subs_orders/shipping_addresses/edit.html.liquid
/* shop/customer/orders/shipping_addresses/edit.html.liquid
/* shop/customer/base/edit.html.liquid
/* shop/orders/_view_billing_information.html.liquid
/* shop/orders/_view_shipping_information.html.liquid
/************************************************************/
.disabled-input-shop {
    pointer-events: none;
}

select.disabled-input-shop {
    background-color: #ccc !important;
}

input.disabled-input-shop {
    background-color: #ccc !important;
}


/************************************************************/
/* マイページ 商品サイクル変更
/************************************************************/
.p-delivery-cycle-note {
    margin-top: 3%;
    color: #555;
}
.p-delivery-cycle-note__head {
    font-size: 0.9rem;
    font-weight: bold;
    color: #ce0202;
}
.p-delivery-cycle-note__highlight {
    font-weight: bold;
    color: #ce0202;
}

/************************************************************/
/* マイページ クレジットカード情報
/************************************************************/
.p-account__inner__content__lead_box {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e71616;
    border: 1px solid #e71616;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: -20px;
    .lead-note {
        margin-top: 20px;
        margin-bottom: 20px;
        text-decoration: solid underline;
    }
    .p-account__inner__content__lead {
        margin-top: 0;
    }
}
.font-alert {
    color: #e71616;
    font-weight: bold;
}
.p-account__inner__content__small {
    font-family: '游ゴシック体', 'Yu Gothic', YuGothic, 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
    color: #323131 !important;
    font-size: 11px !important;
    margin: 30px 20px;
}