@charset "utf-8";
/* 2025.07.25 書籍ページのスタイル */
/* 作成：2207071 デジタル部 柴田和希 */
/* 命名規則はnewsページに準拠 */

.bookList{
    display: grid;
    gap: 80px;
    padding-top: 100px;
}

.bookList .bookList__item{
    display: grid !important;
    grid-template-columns: 180px 1fr;
    gap: 8px 50px;
    list-style: none;

}

.bookList__item__thumb{
    grid-area: 1 / 1 / 3 / 2; 
}
.bookList__item__thumb img{
    border: 1px solid #dbdbdb;

}

.bookList__item__content{
    grid-area: 1 / 2 / 2 / 3; 
    gap: 12px;
    display: flex;
    flex-direction: column;
}
.bookList__item__content dt{
    font-weight: bold;

    font-size: 1.37rem;
}

.bookList__item__itemLink{
    grid-area: 2 / 2 / 3 / 3;
}
.bookList__item__itemLink .buttonPart{
    margin: 0;

}

/* 書籍の個別ページ */
.p-book-single{

}


.p-book-single .bookList__item__content{
    grid-area: 1 / 2 / 3 / 3; 
    justify-content: center;
}
.p-book-single .bookList{
    padding-top: 0;
    padding-bottom: 80px;
}
.bookIndex{
    display: grid;
    gap: 80px;
}
.bookIndex p+p{
    padding-top: 1rem;
}

/*==========================================================================================================
 SP Only
==========================================================================================================*/
@media screen and (max-width: 767px) {
    .bookList .bookList__item{
        grid-template-columns: 1fr;
        gap: 20px;
    }


    .bookList__item__thumb{
        background: #e9ecf0;
        grid-area: 1 / 1; 
        padding: 16px;
        border-radius: 8px;
    }
    .bookList__item__thumb img{
        display: block;
        max-width: 300px;
        width: 40%;
        min-width: 140px;
        
        margin: auto;
    }

    .bookList__item__content{
        grid-area: 2 / 1; 
        
    }

    .bookList__item__itemLink{
        grid-area: 3 / 1;
        text-align: right;
    }
    

    .p-book-single .bookList__item__content{
        grid-area: 2 / 1; 
    }
    .p-book-single .bookList{
        padding-top: 0;
        padding-bottom: 40px;
    }
    .bookIndex{
        gap: 40px;
    }

    
}

@media screen and (max-width: 375px) {

    
}