/* -----------------------------------------------------------------------------
**
** SPマスチョ一覧 CSS
**
----------------------------------------------------------------------------- */
.TOL-masters-choice-SP {
    font-family: Noto sans jp, "roboto";
    width: 100%;
    min-width: 325px;
    overflow-wrap: anywhere;
}

.TOL-masters-choice-SP-background-image {
    background-image: url(../img/masters_choice_background.JPG);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.TOL-masters-choice-SP.is-genre .TOL-masters-choice-SP-background-image {
    height: 180px;
}

.TOL-masters-choice-SP.is-master .TOL-masters-choice-SP-background-image {
    height: 120px;
}

/*ヘッダー部分*/
.TOL-masters-choice-SP-header-container {
    max-width: 85%;
    margin: 0 auto;
    background-color: white;
    border-radius: 6px 6px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.TOL-masters-choice-SP.is-genre .TOL-masters-choice-SP-header-container {
    margin-top: -120px;
}

.TOL-masters-choice-SP.is-master .TOL-masters-choice-SP-header-container {
    margin-top: -80px;
}

/*タイトル部分*/
.TOL-masters-choice-SP-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px;
    gap: 18px;
}

.TOL-masters-choice-SP-title-icon img {
    width: 42px;
}

/*エラーメッセージ*/
.TOL-masters-choice-SP-error-message {
    max-width: 80%;
    margin: 0 auto;
    padding: 36px 36px;
    text-align: center;
}

/*初回ローディング*/
.TOL-masters-choice-SP-loading {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*ジャンルプルダウン部分*/

.TOL-masters-choice-SP-genre-container {
    max-width: 85%;
    margin: 0 auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:-1px;
}

.TOL-masters-choice-SP-genre-pulldown-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 24px;
    width: 60%;
    position: relative;
}

.TOL-masters-choice-SP-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-masters-choice-SP-genre-pulldown-header:active {
        background: var(--tr-red-light-hover);
    }

    .TOL-masters-choice-SP-genre-pulldown-header::after {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        background-image: url('/https/cdfront.tower.jp/item/img/arrow-bottom_icon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-left: auto;
        margin-right: 4px;
        transition: .5s;
    }

.TOL-masters-choice-SP-genre-pulldown-container.is-open .TOL-masters-choice-SP-genre-pulldown-header::after {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.TOL-masters-choice-SP-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;
}

.TOL-masters-choice-SP-genre-pulldown-container.is-open .TOL-masters-choice-SP-genre-pulldown-inner {
    visibility: visible;
    opacity: 1;
    transition: .5s;
    top: 36px;
}

.TOL-masters-choice-SP-genre-pulldown-item {
    border-bottom: 1px solid var(--tr-gray);
    padding: 6px 0 6px 8px;
    display: flex;
}

    .TOL-masters-choice-SP-genre-pulldown-item::after {
        content: '';
        display: inline-block;
        width: 9px;
        height: 9px;
        margin-left: auto;
        margin-right: 6px;
        margin-top: 4px;
        background-image: url('/https/cdfront.tower.jp/item/img/arrow-red-right_icon_medium.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }

    .TOL-masters-choice-SP-genre-pulldown-item:active {
        background: var(--tr-yellow-hover);
    }

    .TOL-masters-choice-SP-genre-pulldown-item.is-active {
        background: var(--tr-yellow);
    }

/*スタッフプロフィール部分*/
.TOL-masters-choice-SP-staff-profile-container {
    background-color: var(--tr-gray);
    width: 96%;
    box-sizing: border-box;
    padding: 18px 32px;
    border-radius: 6px;
    margin: 18px auto 36px auto;
}

.TOL-masters-choice-SP-staff-profile-top-container {
    display: flex;
    align-items: center;
}

.TOL-masters-choice-SP-staff-profile-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.TOL-masters-choice-SP-staff-profile-name {
    margin: 0 24px;
}

.TOL-masters-choice-SP-staff-profile-border {
    border-bottom: 2px solid var(--tr-dark-gray);
    margin: 16px 0;
}

.TOL-masters-choice-SP-staff-profile-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.TOL-masters-choice-SP-staff-profile-info-container {
}

.TOL-masters-choice-SP-staff-profile-info-item {
    margin-bottom: 6px;
}

.TOL-masters-choice-SP-staff-profile-info-content {
}


.TOL-masters-choice-SP-staff-profile-nmnl-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    list-style: none;
    width: 100%;
}

.TOL-masters-choice-SP-staff-profile-nmnl-img {
    aspect-ratio: 1 / 1;
    width: 100%;
}

    .TOL-masters-choice-SP-staff-profile-nmnl-img a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .TOL-masters-choice-SP-staff-profile-nmnl-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border: 1px solid var(--tr-dark-gray);
        background-color: white;
    }

/*記事一覧部分*/
.TOL-masters-choice-SP-article-list-container {
    width: 96%;
    margin: 0 auto;
}

.TOL-masters-choice-SP-article-list-title {
    margin: 6px 8px;
}

.TOL-masters-choice-SP-article-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.TOL-masters-choice-SP-article-list-item-container {
    border: 1px solid var(--tr-dark-gray);
    border-radius: 6px;
    flex-wrap: wrap;
    padding: 12px 18px 12px 18px;
    min-height: 250px;
}

.TOL-masters-choice-SP-article-list-item-loading-container {
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.TOL-masters-choice-SP-article-list-item-text {
    width: 100%;
    margin-bottom: 16px;
    text-align: justify;
}

.TOL-masters-choice-SP-article-list-item-img-info-container {
    display: flex;
    align-items:flex-start;
}

.TOL-masters-choice-SP-article-list-item-img {
    width: 100px;
    height: 100px;
    border: 1px solid var(--tr-dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

    .TOL-masters-choice-SP-article-list-item-img a {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .TOL-masters-choice-SP-article-list-item-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.TOL-masters-choice-SP-article-list-item-info-container {
    margin-left: 12px;
}

.TOL-masters-choice-SP-article-list-item-info-genre.common-tag {
    border: 1.3px solid var(--tr-black);
    padding: 0 12px;
    margin-bottom: 4px;
}

.TOL-masters-choice-SP-article-list-item-info-title {
}

.TOL-masters-choice-SP-article-list-item-info-artist {
}

.TOL-masters-choice-SP-article-list-item-info-link {
    margin-top: 8px;
}

    .TOL-masters-choice-SP-article-list-item-info-link img {
        padding-left: 6px;
        height: 9px;
    }

.TOL-masters-choice-SP-article-list-item-footer {
    text-align: right;
    width: 100%;
}


/*ページネーション部分*/
.TOL-masters-choice-SP-pagination-container {
    width: 95%;
    margin: 0 auto;
    padding: 30px 0;
}

.common-pagination-button.is-large {
    width: 35px;
    height: 35px;
}

.TOL-masters-choice-SP-pagination-container .common-pagination-prev img,
.TOL-masters-choice-SP-pagination-container .common-pagination-next img {
    height: 9px;
    padding-right: 10px;
    padding-left: 10px;
}

.TOL-masters-choice-SP-pagination-container .common-pagination-prev.is-inactive img,
.TOL-masters-choice-SP-pagination-container .common-pagination-next.is-inactive img {
    filter: brightness(0) saturate(100%) invert(70%);
}

/*blazorで接続が切れたときのエラー表示を非表示に*/
#components-reconnect-modal {
    display: none !important;
}