/* -----------------------------------------------------------------------------
**
** SP ヘッダー用CSS
**
----------------------------------------------------------------------------- */

body:has(.TOL-header-SP) {
    max-width: unset;
}

    body:has(.TOL-header-SP).no-scroll {
        overflow-y: hidden;
    }

.TOL-header-SP * {
    font-family: "roboto",Noto Sans JP,noto-sans-cjk-jp;
}

.TOL-header-SP {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: white;
}
/* マケプレのみ必要 */
.header-footer-area-sp24 {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: white;
}

.TOL-header-SP-title-contents * {
    box-sizing: content-box;
    vertical-align: middle;
}

.TOL-header-SP-inner {
    height: auto;
}

.TOL-header-SP-title-contents {
    display: flex;
    box-sizing: border-box;
    height: 49px;
    background: var(--tr-yellow);
    border-bottom: solid 1.5px var(--tr-red);
    position: relative;
}

.TOL-header-SP-menu-btn {
    width: 46px;
    padding: 13px 0px 0px 10px;
    transform: scale(1.1, 1.1);
}

    .TOL-header-SP-menu-btn button {
        color: var(--tr-red) !important;
    }

.TOL-header-SP-title {
    width: 200px;
    padding: 4px 0px 0px 0px;
    /* タイトルロゴ位置調整、エミュレータと実機で表示が異なる？ */
    margin-left: -18px;
    display: flex;
    align-items: center;
    margin-top: -2px;
}

    .TOL-header-SP-title a {
        display: inline-block;
    }

    .TOL-header-SP-title img {
        width: 155px;
        height: 23px;
        display: block;
    }

.TOL-header-SP-title-icon {
    width: 40px;
}

    .TOL-header-SP-title-icon a {
        display: inline-block;
    }

    .TOL-header-SP-title-icon img {
        height: 30px;
        width: auto;
        display: inline-block;
    }


/* ログイン前表示エリア */
.TOL-header-SP-login-before-area {
    width: 45%;
    height: auto;
    position: absolute;
    right: 0;
}

.TOL-header-SP-login-before {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
/* 人型ボタン */
.TOL-header-SP-login {
    padding: 11px 12px 8px 3px;
}

    .TOL-header-SP-login img {
        height: 24px !important;
    }

/* ログイン後表示エリア */
.TOL-header-SP-login-after-area {
    width: 45%;
    position: absolute;
    right: 0;
}

.TOL-header-SP-login-after {
    width: 93%;
    height: 70%;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

    .TOL-header-SP-login-after img {
        height: 27.5px;
        width: 26.69px;
    }

.TOL-header-SP-user_icon {
    margin: 9px;
    margin-top: 11px;
}

.TOL-header-SP-bell_icon {
    position: relative;
    top: -3px;
    right: 0px;
    margin: 9px;
}

.TOL-header-SP-login-blank {
    width: 50px;
    height: 47.5px;
}

/* 共通のものを微修正 */
/* カート */
.TOL-header-SP-common-icon-cart {
    position: absolute;
    top: 10px;
    right: 18px;
}

    .TOL-header-SP-common-icon-cart img {
        width: 27.5px;
        height: 28.5px !important;
    }
/* カートの数字 */
.TOL-header-SP-common-icon-cart-num {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 4px;
    top: 2px;
    height:15px;
    width:15px;
    font-size: 11px !important;
    color: var(--tr-black) !important;
    font-weight: bold;
}

.TOL-header-SP-common-icon-cart-plus {
    display: flex;
    font-size: 8px;
    align-self: baseline;
    position: absolute;
    top: 0px;
    right: 2px;
    color: var(--tr-black) !important;
    font-weight: bold;
}

/* ポイント残高 */
.TOL-header-SP-point-area {
    width: 100%;
    background: var(--tr-yellow);
    border-bottom: solid 1.5px var(--tr-red);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

    .TOL-header-SP-point-area img {
        width: 8.5px;
        height: 8.5px;
        margin-right: 4px;
        margin-left: 4px;
    }

.TOL-header-SP-point,
.TOL-header-SP-wantlist {
    height: 20px;
    display: flex;
    align-items: center;
    margin-right: 8px;
    padding-top: .5px;
}

    .TOL-header-SP-point p {
        white-space: nowrap;
    }

    .TOL-header-SP-point a {
        text-decoration: none;
        color: var(--tr-black);
        display: flex;
        align-items: center;
    }

    .TOL-header-SP-point span {
        margin-right: 4px;
    }

.TOL-header-PC-point-color {
}

.TOL-header-PC-point-top {
    margin-top: -1px;
}

/* 検索エリア */
.TOL-header-SP-search-area {
    background: var(--tr-yellow);
    height: 61px;
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    /* border-bottom: solid 1.5px var(--tr-red); */
}

/* 詳細検索表示（１１月リリース） */
/* 検索ボックスエリア */
.TOL-header-SP-search-area-box {
        width: calc(100% - 80px);
        padding-left:15px;
        padding-right:15px;
    } 
.TOL-header-SP-search-area-detail-btn {
        width: auto;
        padding-left:10px;
        padding-top: 1px;
        padding-right:10px;
    }

/* デザイン崩れ対応 */
.TOL-header-SP-search-area-box .search-holder {
    background: unset;
    padding: unset;
    margin: unset;
}

/* 検索ボックス（共通のデザインを微調整） */
.TOL-header-SP-header-search-box {
    position: relative;
    width: 100%;
}

    .TOL-header-SP-header-search-box ::placeholder {
        color: var(--tr-deep-gray);
        font-size: 12px;
        font-family: Noto Sans JP,"noto-sans-cjk-jp";
        opacity: 0.7;
    }

.TOL-header-SP-header-search-box-input {
    border: none;
    border-radius: 50px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 16px 20px;
}

.header-search-box-input {
    /*outline:none;*/
}

.TOL-header-SP-header-search-box-button {
    position: absolute;
    width: 45px;
    height: 45px;
    right: 2px;
    top: -5px;
    padding: 10px;
    transform: scale(0.8, 0.8);
    opacity: 0.7;
}
/* 詳細検索ボタン */
.TOL-header-SP-search-detail-btn img {
    width: 40px;
}

.TOL-header-SP-search-detail-btn {
    position: relative;
    width: 45px;
    margin-right:10px;
}

    .TOL-header-SP-search-detail-btn::before {
        position: absolute;
        content: "詳細検索";
        font-size: 9px;
        bottom: 7px;
        right: 4px;
        color: var(--tr-black);
        margin: 0 auto;
    }
/* 詳細検索✕ボタン */
.TOL-header-SP-search-area-detail-close {
    width: 68px;
    height: 70px;
    padding-left: 25px;
    padding-top: 13px;
}

    .TOL-header-SP-search-area-detail-close span {
        color: var(--tr-black);
        font-size: 27px;
        font-weight: bold;
    }
/* バナーエリア */
.TOL-header-SP-search-area-bunner {
    background: var(--tr-gray);
    padding: 8px 16px 8px 16px;
    display: flex;
    justify-content: center;
    height: auto;
    box-sizing: border-box;
}

    .TOL-header-SP-search-area-bunner img {
        width: 100%;
        height: auto;
    }

.TOL-header-SP-search-area-bunner-flex {
    display: flex;
}


/* ハンバーガーメニュー */
.TOL-header-SP-main-menu * {
    font-family: "roboto",Noto Sans JP,noto-sans-cjk-jp;
}

.TOL-header-SP-main-menu {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0%;
    background-color: white;
    overflow: auto;
    z-index: 1005;
    /* 初期表示時に一瞬映るの防止のためのインラインスタイル上書き */
    display: block !important;
    /* メニュー開閉用実装 */
    transform: translateX(-100%);
    transition: transform .5s;
}
    /* メニュー開閉用実装 */
    .TOL-header-SP-main-menu.active {
        transform: translateX(0);
        transition: transform .5s;
    }
    /* メニュー下幅 */
    .TOL-header-SP-main-menu ul {
        margin-bottom: 40px;
    }

        .TOL-header-SP-main-menu ul li span {
            position: absolute;
            right: 18px;
            top: 50%;
            transform: translate(-0%, -50%);
        }

        .TOL-header-SP-main-menu ul li {
            list-style: none;
            display: flex;
            position: relative;
        }

            .TOL-header-SP-main-menu ul li a {
                display: block;
                width: 100%;
                font-size: 14px;
                box-sizing: border-box;
                color: #000000;
                text-decoration: none;
                padding: 18px 66px 18px 30px;
            }

/* ×ボタンエリア */
.TOL-header-SP-ham-close {
    height: 65px;
    width: 100%;
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: white;
}

    .TOL-header-SP-ham-close button {
        line-height: 65px;
        padding-left: 20px;
        font-size: 30px;
        width: 50px;
    }
/* TOP */
.TOL-header-SP-ham-top {
    width: 100%;
    position: relative;
    margin-left: -16px;
    font-size: 18px;
}

    .TOL-header-SP-ham-top img {
        height: 20px !important;
        width: auto;
    }

    .TOL-header-SP-ham-top a {
        line-height: 53px;
        padding-left: 20px;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }
/* メニュー項目 */
.TOL-header-SP-ham-category {
    height: 48px;
    width: 100%;
    background-color: #ebebeb;
}

    .TOL-header-SP-ham-category p {
        line-height: 48px;
        padding-left: 15px;
    }

/* 矢印調整用 */
.TOL-header-SP-main-menu .hr-item .icon:before {
    right: 20px;
    top: 23px;
    height: 17px;
    width: 14px;
    transform: scale(0.8);
}

.TOL-header-SP-main-menu .hr-item:has(.pc) .icon:before {
    background-image: url(/item/img/pc_icon.png);
    background-size: 17px;
    background-position: unset;
}

.TOL-header-SP-main-menu .hr-item:not(:has(.pc)) .icon:before {
    background-image: url(/item/img/arrow-red-right_icon.svg);
    background-size: unset;
    background-position: unset;
}
/* ラベル用 */
.TOL-header-SP-main-menu .hr-item:has(.TOL-header-SP-ham-nolink) a {
    pointer-events: none;
}

    .TOL-header-SP-main-menu .hr-item:has(.TOL-header-SP-ham-nolink) a:before {
        display: none;
    }

.TOL-header-SP-ham-nolink {
    font-weight: bold;
    line-height: 13px;
    margin-left: -16px;
}

.TOL-header-SP-ham-TOP-menu {
    font-weight: bold;
    margin-left: -16px;
    font-size: 14px;
}





/* 未ログインメニュー 吹き出し*/
.TOL-header-SP-login-before-menu * {
    font-family: "roboto",Noto Sans JP,noto-sans-cjk-jp;
}

.TOL-header-SP-login-before-menu {
    position: absolute;
    /* 初期表示時に一瞬映るの防止のためのインラインスタイル上書き */
    display: inline-block !important;
    margin: 1.5em 0;
    width: 287px;
    height: 157px;
    color: #555;
    font-size: 16px;
    background: white;
    right: 7px;
    top: 24px;
    z-index: 1000;
    border-radius: 3px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    /* メニュー開閉用実装 */
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: transform 0.15s, opacity 0.15s, visibility 0s 0.15s;
}

    .TOL-header-SP-login-before-menu:before {
        content: "";
        position: absolute;
        top: -26px;
        right: 50px;
        border: 15px solid transparent;
        border-bottom: 15px solid #ffffff;
    }
    /* メニュー開閉用実装 */
    .TOL-header-SP-login-before-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        transition: transform 0.15s, opacity 0.15s, visibility 0s;
    }

.TOL-header-SP-login-before-btn-area {
    display: grid;
    justify-items: center;
    padding-top: 18px;
}

    .TOL-header-SP-login-before-btn-area button {
        margin: 7px;
        width: 85%;
        height: 46px;
        border: 2px;
    }

        .TOL-header-SP-login-before-btn-area button img {
            height: 18px;
            width: 18px;
            margin-right: 8px;
        }

/* ログイン後メニュー */
.TOL-header-SP-login-after-menu * {
    font-family: "roboto",Noto Sans JP,noto-sans-cjk-jp;
}

.TOL-header-SP-login-after-menu {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0%;
    z-index: 80;
    background-color: white;
    overflow: auto;
    z-index: 1005;
    /* 初期表示時に一瞬映るの防止のためのインラインスタイル上書き */
    display: block !important;
    /* メニュー開閉用実装 */
    transform: translateX(100%);
    transition: transform 0.5s;
}
    /* メニュー開閉用実装 */
    .TOL-header-SP-login-after-menu.active {
        transform: translateX(0);
    }

.TOL-header-SP-login-after-close {
    height: 10%;
    text-align: right;
    padding-right: 20px;
}

    .TOL-header-SP-login-after-close button {
        line-height: 62px;
        font-size: 30px;
    }
/* マイページ */
.TOL-header-SP-ham-mypage {
    height: 48px;
    width: 100%;
    background-color: #ebebeb;
}

    .TOL-header-SP-ham-mypage p {
        line-height: 48px;
        padding-left: 15px;
    }
/* 三角 */
.TOL-header-SP-login-after-menu ul li img {
    height: 12px;
    width: 14px;
    margin-left: auto;
}

.TOL-header-SP-login-after-menu ul li {
    list-style: none;
    display: flex;
    text-decoration: none;
    position: relative;
}

.TOL-header-SP-login-after-menu li a {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 14px;
    box-sizing: border-box;
    color: #000000;
    text-decoration: none;
    position: relative;
    padding: 20px 15px 20px 30px;
}

.TOL-header-SP-login-after-menu-li.isleft {
    padding: 20px 15px 20px 15px;
}

.TOL-header-SP-login-after-menu-li.is-main {
    font-size: 15px;
}
/* ボタンエリア */
.TOL-header-SP-login-after-btn-area {
    display: grid;
    justify-items: center;
    padding-top: 35px;
}

    .TOL-header-SP-login-after-btn-area button {
        margin: 15px;
        width: 70%;
        height: 46px;
    }


/* ログイン前後メニューボタン */
.TOL-header-SP-common-main-button {
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    width: 100%;
}

    .TOL-header-SP-common-main-button.is-light-red {
        background: white;
        border: 1.5px solid var(--tr-red)
    }

    .TOL-header-SP-common-main-button.is-black {
        background: white;
        border: 1.5px solid var(--tr-black)
    }

    .TOL-header-SP-common-main-button.is-multi-lines {
        flex-direction: column;
        padding: 7px 14px;
        white-space: nowrap;
    }

/* メニュー表示時の背景マスク */
.TOL-header-SP-mask {
    display: none;
}

    .TOL-header-SP-mask.active {
        background: rgba(0, 0, 0, 0.2);
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        z-index: 1000;
        display: block;
    }


.TOL-search-detail-SP * {
    font-family: Noto Sans JP,noto-sans-cjk-jp, Noto Sans JP, Roboto,"acumin-pro-extra-condensed";
}

.TOL-search-detail-SP-wrapper {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background: white;
    right: 0;
    top: -11px;
    overscroll-behavior-y: contain;
}

/* SPヘッダーカスタマイズエリア */
#headerCustomArea01 {
    display: flex;
}

#headerCustomArea01SP img {
    max-width: max-content;
}

/* 商品詳細ヘッダーのみ対応が必要(現在はJSで対応)
.TOL-header-SP-ham-top img[src="/img24/home_icon.svg"] {
    content: url('/item/img/home_icon.svg');
    height: 20px !important;
    width: 20px;
} */