﻿/* -----------------------------------------------------------------------------
**
** SPサイトトップ用CSS
**
----------------------------------------------------------------------------- */

.TOL-top-SP {
    font-family: "roboto",Noto Sans JP,noto-sans-cjk-jp;
}

/*共通で使用しているCSS*/
.common-slider {
    overflow-x: scroll;
}

    .common-slider .tr-item-block {
        min-height: 95%;
        margin-left: 10px;
    }

        .common-slider .tr-item-block:last-of-type {
            margin-right: 10px;
        }

        .common-slider .tr-item-block .tr-item-block-img {
            border-radius: 0 0 0 0;
        }

        .common-slider .tr-item-block .tr-item-block-info {
            border-radius: 0 0 0 0;
        }

/*バナー*/
.TOL-top-SP-banner .banner-group {
    padding-top: 10px;
    padding-bottom: 10px;
}

    .TOL-top-SP-banner .banner-group .banner-link .banner-image {
        margin: auto;
        display:block;
    }

/*お知らせ枠*/
.TOL-top-SP-information {
    min-height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 5px 10px 5px;
    border: 2px solid red;
}

.TOL-top-SP-information-item {
    display: block;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 5px;
}

    .TOL-top-SP-information a.is-text-red:link {
        color: var(--tr-red) !important;
    }

.TOL-top-SP-information a::before {
    content: "";
    background-image: url(https://cdfront.tower.jp/img24/attention_icon_red.svg);
    background-repeat: no-repeat; 
    display: inline-block;
    width: 13px;
    height: 13px;
    background-position: bottom;
    margin-right: 2px;
}

/*キービジュアル*/

.TOL-top-SP-keyvisual {
    background-color: #333333; /*タワー作成のデザインでは明るめの黒だが、共通CSSにないので直接指定*/
    padding-bottom: 25px;
}

.TOL-top-SP-keyvisual .TOL-top-SP-keyvisual-inner {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

        .TOL-top-SP-keyvisual .TOL-top-SP-keyvisual-inner .keyvisual-contents .keyvisual-link {
            display: block;
        }

            .TOL-top-SP-keyvisual .TOL-top-SP-keyvisual-inner .keyvisual-contents .keyvisual-link .jacket-image {
                width: 100%;
                aspect-ratio: 7 / 5;
                margin: auto;
                display: block;                
                object-fit: contain;
            }

            .TOL-top-SP-keyvisual .TOL-top-SP-keyvisual-inner .keyvisual-contents .keyvisual-link .non-jacket-image {
                width: 100%;
                margin: auto;
            }

            .TOL-top-SP-keyvisual .TOL-top-SP-keyvisual-inner .keyvisual-contents .keyvisual-link .keyvisual-explanation {
                width: 85%;
                margin: auto;
                padding-top: 12px;
                padding-bottom: 12px;
                min-height: calc(3em + 24px);
            }

.keyvisual-jacket-menu {
    width: 90%;
    display: flex;
    justify-content: center;
    padding: 0px 5%;
}

.select-jacket-image {
    width: calc(20% - 15px);
    aspect-ratio: 1 / 1;
    margin-right: 15px;
    object-fit: contain;
    background: var(--tr-black);
}
.select-jacket-image:last-child {
    margin-right: 0;
}


.keyvisual-jacket-menu .select-jacket-image.is-selected {
    outline: 3px solid var(--tr-yellow);
}

.jacket-image.is-show  {
    animation: fadein .1s ease-in-out .1s 1 normal forwards;
}
@keyframes fadein {
    from {
      opacity: 0;
    }
  
    to {
      opacity: 100;
    }
  }

/*注目キーワード*/
.TOL-top-SP-keyword {
    width: 95%;
    margin: 10px auto 10px auto;
}

    .TOL-top-SP-keyword .keyword-title {
        padding: 10px;
    }

    .TOL-top-SP-keyword .keyword-contents {
        width: 99%;
        margin: auto;
        text-align: center;
    }

        .TOL-top-SP-keyword .keyword-contents a {
            display: inline-block;
            margin-bottom: 4px;
            white-space: nowrap;
            margin-left: 7px;
            margin-right: 7px;
        }

/*タワーレコードオンラインニュース遷移リンク*/
.TOL-top-SP-news .common-square-button {
    width: 90%;
    margin: 10px auto 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: var(--tr-dark-gray);
}

    .TOL-top-SP-news .common-square-button .news-icon {
        width: 18px;
        height: 18px;
    }

    .TOL-top-SP-news .common-square-button .text-size-12 {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        text-align: right;
    }

        .TOL-top-SP-news .common-square-button .text-size-12 > * {
            margin: 5px;
        }

        .TOL-top-SP-news .common-square-button .text-size-12 .material-symbols-outlined {
            position: relative;
            left: 15px;
            line-height: .5;
            font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 24;
            transform: rotate(-90deg);
        }

/*店舗スタッフのオススメ*/
.TOL-top-SP-master-choice {
    padding-bottom: 15px;
}

    .TOL-top-SP-master-choice .master-choice-background-image {
        width: 100%;
    }

        .TOL-top-SP-master-choice .master-choice-background-image .background-image {
            width: 100%;
            height: 235px;
            object-fit: cover;
            background-size: cover;
        }

    .TOL-top-SP-master-choice .master-choice-contents {
        margin-top: -135px;
    }

        .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre {
            width: 85%;
            margin: auto;
            display: flex;
            flex-direction: column;
            background-color: var(--tr-white);
            padding-left: 10px;
            padding-right: 10px;
            border-radius: 5px;
            position: relative;
        }

            .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .section-lead-title-container {
                padding-top: 5px;
                padding-left: 15px;
            }

                .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .section-lead-title-container .section-title-main {
                    display: flex;
                    flex-direction: column;
                    margin-bottom: -5px;
                }

                    .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .section-lead-title-container .section-title-main .text-size-16 {
                        margin-top: -5px;
                    }

            .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .master-choice-explanation {
                margin-top: 10px;
                margin-left: 15px;
                width: 52.7%;
            }

            .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .check-by-genre-button {
                width: 65%;
                margin: auto;
                margin-top: 10px;
                margin-bottom: 5px;
                position: relative;
            }

.TOL-top-SP-masters-choice-genre-pulldown-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.TOL-top-SP-masters-choice-genre-pulldown-header {
    border-radius: 4px;
    border: 1.5px solid var(--tr-red);
    padding: 4px 0 4px calc(50% - 52px);
    display: flex;
    align-items: center;
}

    .TOL-top-SP-masters-choice-genre-pulldown-header:active {
        background: var(--tr-red-light-hover);
    }

    .TOL-top-SP-masters-choice-genre-pulldown-header::after {
        font-family: 'Material Symbols Outlined';
        content: '\e69b';
        font-size: 20px;
        color: var(--tr-red);
        font-variation-settings: 'wght' 300;
        margin-left: auto;
        margin-right: 4px;
        transition: .5s;
    }

.TOL-top-SP-masters-choice-genre-pulldown-container.is-open .TOL-masters-choice-SP-genre-pulldown-header::after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.TOL-top-SP-masters-choice-genre-pulldown-inner {
    border-radius: 4px;
    border: 1.5px solid var(--tr-dark-gray);
    text-align: left;
    background-color: white;
    box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.25);
    position: absolute;
    top: calc( 36px - 50% );
    width: calc(100% - 2px);
    visibility: hidden;
    opacity: 0;
    transition: .5s;
    z-index: 11;
}

.TOL-top-SP-masters-choice-genre-pulldown-container.is-open .TOL-top-SP-masters-choice-genre-pulldown-inner {
    visibility: visible;
    opacity: 1;
    transition: .5s;
    top: 36px;
}

.TOL-top-SP-masters-choice-genre-pulldown-item {
    border-bottom: 1px solid var(--tr-gray);
    padding: 6px 0 6px 8px;
    display: flex;
}

    .TOL-top-SP-masters-choice-genre-pulldown-item::after {
        font-family: 'Material Symbols Outlined';
        content: '\e5cc';
        font-size: 20px;
        color: var(--tr-red);
        font-variation-settings: 'wght' 300;
        margin-left: auto;
    }

    .TOL-top-SP-masters-choice-genre-pulldown-item:active {
        background: var(--tr-yellow-hover);
    }

            .TOL-top-SP-master-choice .master-choice-contents .master-choice-genre .master-icon {
                height: 95px;
                margin: 5px;
                position: absolute;
                right: 23px;
                top: 32%;
                transform: translateY(-50%)
            }


        .TOL-top-SP-master-choice .master-choice-contents .master-choice-item {
            margin-top: 10px;
            margin-left: 3px;
            margin-bottom: 1px;
            z-index: 1;
        }

            .common-slider {
                /*スクロールバー非表示（IE・Edge）*/
                -ms-overflow-style: none;
                /*スクロールバー非表示（Firefox）*/
                scrollbar-width: none;
            }

                .common-slider::-webkit-scrollbar {
                    display: none;
                }

.tr-tab-list {
    /*スクロールバー非表示（IE・Edge）*/
    -ms-overflow-style: none;
    /*スクロールバー非表示（Firefox）*/
    scrollbar-width: none;
}

    .tr-tab-list::-webkit-scrollbar {
        display: none;
    }


                .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-img {
                    border-radius: 0 0 0 0;
                }

            .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info {
                padding: 4px 8px 8px;
            }

                .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .common-tag-group {
                    padding-bottom: 3px;
                    border-bottom: 1px solid lightgray;
                    margin-bottom: 10px;
                }

                .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .staff-info {
                    display: flex;
                }

                    .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .staff-info .staff-image {
                        width: 50px;
                        height: 50px;
                    }

                        .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .staff-info .staff-image .staff-icon {
                            width: 48px;
                            height: 48px;
                            object-fit: cover;
                            border-radius: 50%;
                        }

                        .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .staff-info .staff-image .towerrecommend-icon {
                            width: 80px;
                            height: 23px;
                        }

                    .TOL-top-SP-master-choice .master-choice-contents .master-choice-item .common-slider .tr-item-block .tr-item-block-info .staff-info .staff-name {
                        display: flex;
                        flex-direction: column;
                        padding: 6px;
                    }

/*ランキング*/
.TOL-top-SP-ranking {
    margin-bottom: 20px;
    padding-bottom: 15px;
    background-color: var(--tr-yellow);
}

    .TOL-top-SP-ranking .ranking-title-main {
        height: 75px;
    }

        .TOL-top-SP-ranking .ranking-title-main .section-lead-title-container {
            margin: 0 15px 15px 15px;
            padding-top: 10px;
        }

            .TOL-top-SP-ranking .ranking-title-main .section-lead-title-container .section-title-sub {
                margin-top: -12px;
            }

    .TOL-top-SP-ranking .pre-order-ranking {
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }

        .TOL-top-SP-ranking .pre-order-ranking:not(:last-of-type):after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 2.5%;
            width: 95%;
            border-bottom: 1px solid var(--tr-white);
        }

    .TOL-top-SP-ranking .ranking-title-sub {
        position: relative;
    }

        .TOL-top-SP-ranking .ranking-title-sub .section-lead-title-container {
            height: 32px;
            display: flex;
            justify-content: space-between;
        }

            .TOL-top-SP-ranking .ranking-title-sub .section-lead-title-container .section-title-main {
                margin-left: 17px;
                display: flex;
                align-items: center;
            }

                .TOL-top-SP-ranking .ranking-title-sub .section-lead-title-container .section-title-main .ranking-title-size-eng {
                    margin-right: 5px;
                    font-size: 20px;
                }

                .TOL-top-SP-ranking .ranking-title-sub .section-lead-title-container .section-title-main .ranking-title-size-jp {
                    margin-left: 5px;
                    font-size: 14px;
                }

            .TOL-top-SP-ranking .ranking-title-sub .section-lead-title-container .update-date {
                height: auto;
                position: absolute;
                right: 10px;
                top: 50%;
                transform: translateY(-50%);
            }

    .TOL-top-SP-ranking .ranking-genre-tablist {
        height: 44px;
        background-color: var(--tr-white);
        margin-left: 13px;
        margin-bottom: 5px;
    }

@media screen and (min-width:768px) { 
    .TOL-top-SP-ranking .ranking-genre-tablist {
        margin-right: 13px;
    }
}

.TOL-top-SP-ranking .ranking-genre-tablist .tr-tab-list {
    display: flex;
    overflow-x: scroll;
}

    .TOL-top-SP-ranking .ranking-genre-tablist .tr-tab-list .tr-tab-list-inner {
        display: flex;
        justify-content: space-between;
    }

        .TOL-top-SP-ranking .ranking-genre-tablist .tr-tab-list .tr-tab-list-inner .tr-tab-list-item {
            padding: 10px 22.5px;
            flex: 1;
        }

        .TOL-top-SP-ranking .ranking-genre-tablist .tr-tab-list .tr-tab-list-inner .tr-tab-list-item span {
            font-weight:bold;
        }


.TOL-top-SP-ranking .ranking-item-list {
    margin-left: 3px;
    margin-bottom: 20px;
}

.TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block {
    background-color: var(--tr-white);
}
    .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-ranking {
        padding: 3px 5px 2px;
        top: -22px;
    }

        .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-ranking .tr-item-block-ranking-no .tr-item-block-ranking-num {
            font-size: 20px;
        }

        .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-info .tr-item-block-info-price {
            margin-top: 0px;
        }

    .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-img {
        border-radius: 0 0 0 0;
    }

    .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-info.is-text-black a:link {
        color: var(--tr-black) !important;
    }

    .TOL-top-SP-ranking .ranking-item-list .common-slider .tr-item-block .tr-item-block-info.is-text-black a {
        color: var(--tr-black) !important;
    }

/*カテゴリ別・テーマ別のオススメ*/
.TOL-top-SP-osusume {
    background-color: var(--tr-gray);
    width: 95%;
    margin: 35px auto auto auto;
    height: auto;
    padding: 10px 0 20px 0;
    border-radius: 5px;
}

    .TOL-top-SP-osusume .osusume-is-category-title {
        margin: 10px;
    }

    .TOL-top-SP-osusume .TOL-top-SP-navigation-menu .TOL-top-SP-navigation-menu-button-group {
        padding: 5px 10px 15px 10px;
    }

        .TOL-top-SP-osusume .TOL-top-SP-navigation-menu .TOL-top-SP-navigation-menu-button-group .TOL-top-SP-navigation-menu-button{
            display:flex;
            align-items:center;
            justify-content:center;
            text-align:center;
        }

            .TOL-top-SP-osusume .TOL-top-SP-navigation-menu .TOL-top-SP-navigation-menu-button-group .TOL-top-SP-navigation-menu-button span{
                line-height:1.3;
            }

            .TOL-top-SP-osusume .osusume-is-theme-title {
                margin: 10px;
            }

        .TOL-top-SP-osusume .osusume-is-theme-button .common-square-button {
            width: 94.5%;
            margin: auto;
            margin-bottom: 5px;
            border: none;
            display: flex;
            justify-content: space-between;
            box-sizing:border-box;
        }
.TOL-top-SP-osusume .osusume-is-theme-button img {
    width: 6px;
    height: 12px;
    margin: 0 15px;
}
@media screen and (min-width:768px) {
    .TOL-top-SP-osusume .osusume-is-theme-button .common-square-button {
        width: 97%
    }
}

.TOL-top-SP-osusume .osusume-is-theme-button .common-square-button .text-size-14 {
    margin: 5px 15px 5px 15px;
}

.TOL-top-SP-osusume .osusume-is-theme-button .common-square-button .material-symbols-outlined {
    margin-right: 5px;
    transform: rotate(-90deg);
}

/*PICK UP*/
.TOL-top-SP-pick-up {
    background-color: var(--tr-yellow);
    margin-top: 10px;
    padding: 10px;
}

    .TOL-top-SP-pick-up .pick-up-contents {
        width: 95%;
        height: 80px;
        display: flex;
        margin: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--tr-white);
    }

        .TOL-top-SP-pick-up .pick-up-contents:last-of-type {
            border-bottom: none;
        }

    .TOL-top-SP-pick-up .section-lead-title-container .section-title-main {
        margin-left: 10px;
    }

        .TOL-top-SP-pick-up .section-lead-title-container .section-title-main .text-size-36 {
            margin-right: 10px;
        }

        .TOL-top-SP-pick-up .section-lead-title-container .section-title-main .text-size-16 {
            position: relative;
            bottom: 3px;
            margin-left: 5px;
        }

    .TOL-top-SP-pick-up .pick-up-contents .contents-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        background-color: white;
    }

        .TOL-top-SP-pick-up .pick-up-contents .contents-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .TOL-top-SP-pick-up .pick-up-contents .pick-up-contents-info {
        padding-left: 10px;
        padding-right: 10px;
    }
    
.TOL-top-SP-pick-up-read-more .common-read-more-link {
    justify-content: center;
}
.TOL-top-SP-pick-up-read-more  .common-read-more-link img {
    width: 6px;
    margin: 0 8px;
}
.TOL-top-SP-recommend-frame{
    padding-top:20px;
    padding-bottom:20px;
    height:auto;
    margin:auto;
}
.TOL-top-SP-online-banner-list {
    width: 90%;
    margin: 15px auto;
    text-align: center;
}
.TOL-top-SP-online-banner-list img{
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 3px 0px;
}
.TOL-top-SP-general-purpose {
    width: 95%;
    margin: auto;
}
.TOL-top-SP-general-purpose-inner {
    text-align: left;
}
.TOL-top-SP-general-purpose img {
    max-width: 100%;
    width: 100%
}
