/* レイアウト */
.l-common-section {
    margin: 32px 0 0;
}

.l-common-text {
    margin: 24px 0 0;
}

.p-detail-wrap,
.p-info-wrap {
    padding: 40px 80px 20px;
    background-color: #fff;
    color: #000;
    filter: drop-shadow(0 3px 4px hsl(0deg 0% 60% / 33%));
}

.p-info-wrap {
    margin: 40px 0 0;
}

@media screen and (max-width: 767px) {
    .l-common-section {
        margin: 24px 0 0;
    }

    .l-common-text {
        margin: 16px 0 0;
    }

    .p-detail-wrap {
        margin: 32px 0 0;
        padding: 8px 16px;
        border: 1px solid #b5b5b6;
        filter: unset;
    }

    .p-info-wrap {
        margin: 32px 0 0;
        padding: 32px 16px 8px;
        border: 1px solid #b5b5b6;
        filter: unset;
    }
}

/* grid */
@media screen and (min-width: 768px) {
    .p-detail-grid {
        display: grid;
        grid-template-rows: auto 1fr;
        grid-template-columns: 43.6% 1fr;
        padding: 32px 0;
        border-bottom: 1px dashed #e60012;
    }

    .p-image-cell {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
        padding-right: 13.2%;
    }

    .p-title-cell {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }

    .p-desc-cell {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
    }
}

@media screen and (min-width: 1440px) {
    .p-detail-grid {
        grid-template-columns: minmax(0, 320px) 1fr;
    }
}



/* 見出し */
.c-heading {
    border-bottom: 2px solid #e60012;
    justify-content: flex-start;
}

.c-heading_sp {
    display: none;
}

.c-detail-heading_arrow {
    position: relative;
    padding: 0 0 0 20px;
    font-size: 18px;
    letter-spacing: 4px;
}

.c-detail-heading_arrow::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0px;
    border-left: 12px solid #e60012;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.c-detail-heading_down {
    position: relative;
    padding: 0 0 4px 20px;
    font-size: 18px;
    letter-spacing: 4px;
    border-bottom: 2px solid #e60012;
}

.c-detail-heading_down::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid #e60012;
}

.c-detail-heading_none {
    padding: 0 0 8px 0;
    font-size: 18px;
    letter-spacing: 4px;
    color: #e60012;
    border-bottom: 1px dashed #e60012;
}

.c-heading_brackets {
    font-size: 18px;
    letter-spacing: 4px;
    color: #e60012;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .c-heading_pc {
        display: none;
    }

    .c-heading_sp {
        display: flex;
        margin: 24px 0 0;
        padding: 0 16px 12px;
    }

    .c-detail-heading_arrow {
        padding: 0 0 4px 18px;
        font-size: 18px;
        border-bottom: 2px solid #e60012;
    }

    .c-detail-heading_arrow::before {
        top: 4px;
        left: 0px;
        border-left: 11px solid #e60012;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
    }

    .c-detail-heading_down {
        padding: 0 0 4px 18px;
        font-size: 18px;
    }

    .c-detail-heading_down-noborder {
        padding: 0 0 0 18px;
        border-bottom: none;
    }

    .c-detail-heading_down::before {
        top: 6px;
        left: 2px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 11px solid #e60012;
    }

    .c-detail-heading_none {
        font-size: 18px;
    }

    .c-event-heading {
        font-size: 16px;
    }

}

/* main */
/* レーベル・SNS・タイトル */
.p-text-links {
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 2;
}

.p-text-links a {
    color: #a5785d;
    text-decoration: underline;
}

.p-sns-list {
    display: flex;
    margin: 16px 0 0;
}

.p-sns-list.u-show_sp {
    display: none;
}

.p-sns-item {
    flex-basis: 58px;
    max-width: 58px;
}

.c-sns-fig {
    padding: 0 8px;
}

.c-heading-title {
    margin: 8px 0 0;
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1.5;
}

.c-sub-title-font-size{
    font-size: 18px;
}

.p-author-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.c-author-item {
    margin: 8px 16px 0 0;
}

.c-author-link {
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.5;
}

.c-author-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .p-detail-head {
        display: flex;
        justify-content: space-between;
    }

    .p-sns-list {
        margin: 8px 0 0;
    }

    .p-sns-list.u-show_sp {
        display: flex;
        flex-basis: 80px;
        max-width: 80px;
        margin: 8px 0 0;
    }

    .p-sns-list.u-show_pc {
        display: none;
    }

    .p-sns-item {
        flex-basis: 40px;
        max-width: 40px;
    }

    .c-sns-fig {
        padding: 0 0 0 8px;
    }

    .c-heading-title {
        margin: 8px 0 0;
        font-size: 20px;
        letter-spacing: 2px;
        line-height: 1.4;
    }

    .c-author-link {
        font-size: 14px;
        letter-spacing: 2px;
        line-height: 1.5;
    }
}

/* 画像 */
.c-hero-fig {
    margin: 8px 0;
}

.c-hero-fig img {
    border: 1px solid #000;
}

.p-capture-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 24px 0 0;
}

.p-capture-item {
    margin: 0 0 24px;
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
}

.c-capture-fig {
    border: 8px solid #e1e1e1;
    cursor: pointer;
}

.c-capture-fig:hover {
    opacity: .6;
    transition: .4s;
}

.c-capture-text {
    position: relative;
    margin: 0 auto;
    width: fit-content;
    font-size: 15px;
    letter-spacing: 1px;
    color: #a5785d;
    cursor: pointer;
}

.c-capture-text::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 7px;
    width: 10px;
    height: 10px;
    border-top: solid 1px #a5785d;
    border-right: solid 1px #a5785d;
    transform: rotate(45deg);
}

.c-capture-text:hover {
    text-decoration: underline;
    opacity: .6;
    transition: .4s;
}

@media screen and (max-width: 767px) {
    .c-hero-fig {
        margin: 16px 10%;
    }

    .p-capture-list {
        margin: 16px 0 0;
        flex-wrap: nowrap;
    }

    .p-capture-item {
        flex-basis: calc((100% - 48px) / 4);
        max-width: calc((100% - 48px) / 4);
    }

    .c-capture-fig {
        border: 2px solid #e1e1e1;
    }

    .c-capture-text {
        font-size: 15px;
    }

    .c-capture-text::before {
        left: -16px;
        top: 7px;
        width: 10px;
        height: 10px;
    }
}

/* 詳細 */
.c-lead-text {
    margin: 24px 0 0;
}

.p-table-box {
    display: flex;
    justify-content: space-between;
}

.p-detail-table {
    display: table;
    margin: 32px 0 0;
    flex-basis: calc(100% - 144px);
    max-width: calc(100% - 144px);
}

.p-detail-table span {
    display: block;
}

.p-sns-list {
    margin: 32px 0 0;
    flex-basis: 116px;
    max-width: 116px;
}

.p-detail-table th {
    position: relative;
    width: 80px;
    letter-spacing: 2px;
    font-weight: normal;
    color: #a5785d;
}

.p-detail-table th::after {
    content:':';
    position: absolute;
    top: -2px;
    right: 4px;
    color: #000;
}

.p-label-list {
    margin: 32px 0 0;
}

.c-label-item {
    margin: 0 0 8px;
    padding: 2px 4px;
    width: fit-content;
    font-size: 13px;
    letter-spacing: 1px;
    color: #a5785d;
    border: 1px solid #a5785d;
}

.c-label-textbook {
    color: #3296D2;
    border: 1px solid #3296D2;
}

.p-grade-box {
    display: flex;
    margin: 32px 0 0;
}

.c-grade-title {
    margin: 0 0 8px;
    padding: 4px 16px;
    height: fit-content;
    font-size: 14px;
    letter-spacing: 2px;
    color: #fff;
    background-color: #a5785d;
    white-space: nowrap;
}

.p-grade-list {
    display: flex;
    flex-wrap: wrap;
}

.c-grade-item {
    margin: 0 0 8px 8px;
    padding: 4px 24px;
    font-size: 14px;
    letter-spacing: 4px;
    border: 1px solid #a5785d;
    border-radius: 8px;
}

.p-btn-list {
    display: flex;
    justify-content: space-between;
    margin: 32px 0 0;
}

.c-btn-item {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #e60012;
    border-radius: 12px;
}

.c-btn-item:hover {
    opacity: .6;
    transition: .4s;
}

.c-btn-item button {
    width: 100%;
    padding: 16px 0;
    letter-spacing: 4px;
}

.p-btn-imp {
    display: block;
    margin: 24px 0 0;
    padding: 4px 0 4px 18px;
    text-align: center;
    border: 2px solid #e60012;
    border-radius: 20px;
}

.c-btn-txt {
    position: relative;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 4px;
    color: #e60012;
}
.c-btn-txt::before {
    content: '';
    position: absolute;
    top: 4px;
    left: -18px;
    border-left: 11px solid #e60012;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* SP */
@media screen and (max-width: 767px) {
    .c-lead-text {
        margin: 16px 0 0;
        padding: 0 0 16px;
        border-bottom: 1px dashed #b5b5b6;
    }

    .p-detail-table {
        margin: 16px 0 0;
        flex-basis: 100%;
        max-width: 100%;
    }

    .p-detail-table th {
        color: #000;
    }

    .p-label-list {
        margin: 24px 0 0;
    }

    .c-label-item {
        font-size: 12px;
    }

    .p-grade-box {
        margin: 24px 0 0;
    }

    .c-grade-title {
        padding: 4px 16px;
        font-size: 12px;
    }

    .c-grade-item {
        padding: 4px 16px;
        font-size: 12px;
    }

    .p-btn-list {
        flex-direction: column;
        margin: 24px 10% 0;
    }

    .c-btn-item {
        flex-basis: 100%;
        max-width: 100%;
        margin: 0 0 8px;
    }

    .p-btn-imp {
        margin: 16px 0 0;
    }

}

/* SMALL SP */
@media screen and (max-width: 349px) {
    .c-btn-txt {
        font-size: 12px;
    }

    .c-btn-txt::before {
        top: 4px;
        left: -13px;
        border-left: 9px solid #e60012;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }
}

/* 内容紹介 */
@media screen and (max-width: 767px) {
    .p-content-section {
        margin: 40px 0 0;
    }
}

/* 著者紹介 */
.c-author-name {
    margin-bottom: -8px;
    font-size: 16px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .c-author-name {
        margin-bottom: -8px;
        font-size: 15px;
    }
}

/* 目次 */
.c-index-item {
    position: relative;
    margin: 0 0 4px 0;
    padding: 0 0 0 16px;
}

.c-index-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0px;
    width: 8px;
    height: 8px;
    border-top: solid 1px #e60012;
    border-right: solid 1px #e60012;
    transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
    .p-index-section {
        padding-bottom: 16px;
        border-bottom: 1px dashed #e60012;
    }
}

/* イベント */
.p-event-list .p-info-item:last-child {
    border-bottom: 1px dashed #e60012;
}

/* お知らせ */
.p-info-list {
    margin: 0;
}

.c-info-fig-image {
	flex-basis: 160px;
	max-width: 300px;
	padding: 8px 0 0 0;
}

.p-info-section .p-info-text {
    flex-basis: 100%;
    max-width: 100%;
}

/* おすすめ商品 */
.p-content-list {
    display: flex;
    justify-content: space-between;
}

.p-content-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-basis: calc((100% - 120px) / 4);
    max-width: calc((100% - 120px) / 4);
    text-align: center;
}

.c-content-fig {
    flex-grow: 1;
}

.c-content-author {
    margin: 0 0 4px;
}


@media screen and (max-width: 767px) {
    .p-content-list {
        flex-wrap: wrap;
    }

    .p-content-item {
        flex-basis: calc((100% - 32px) / 2);
        max-width: calc((100% - 32px) / 2);
        margin: 0 0 24px;
    }

}

/* モーダル ストア */
.p-modal-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    z-index: 20;
}

.p-modal-content {
    position: relative;
    margin: 80px 20% 0;
    width: 60%;
    animation-name: modalopen;
    animation-duration: 1s;
}

.c-modal-close {
    position: absolute;
    top: -40px;
    right: -10%;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.c-modal-close::before,
.c-modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 30px;
    background: #fff;
}

.c-modal-close::before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.c-modal-close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.p-store-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
}

.p-store-item {
    flex-basis: calc((100% - 40px) / 2);
    max-width: calc((100% - 40px) / 2);
    margin: 0 0 32px;
    text-align: center;
}

.p-store-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 15px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #fff;
    background-color: #e60012;
    border-radius: 12px;
}

.p-store-link.audiobook {
    background-color: #3296D2;
}

.p-store-link span {
    display: block;
    padding: 16px 40px 16px 4px;
}

.p-store-link::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 20px;
    height: 20px;
    background-image: url(../../images/common/img/main/icon-link_outside.png);
    background-size: contain;
    transform: translateY(-50%);
}

.c-store-fig {
    padding: 16px;
    border: 1px solid #000;
    background-color: #fff;
}


@media screen and (max-width: 767px) {
    .p-modal-content {
        margin: 80px 10% 0;
        width: 80%;
    }

    .c-modal-close {
        top: -48px;
        right: -8%;
    }

    .p-store-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}


/* モーダル画像 */
.p-modal-wrap_img {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    z-index: 20;
}

.p-modal-content_img {
    position: relative;
    margin: 80px auto 0;
    width: 80%;
    max-width: 1260px;
    background-color: #fff;
    animation-name: modalopen;
    animation-duration: 1s;
}

.p-modal-wrap_img .c-modal-close {
    right: 0;
}

.p-img-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.c-img-fig {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    max-height: 720px;
    padding: 32px 16px;
}

.c-img-fig img {
    width: auto;
    max-height: 640px;
    max-width: 80%;
}

@media screen and (max-width: 767px) {
    .c-img-fig {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-height: 720px;
        padding: 32px 16px;
    }

    .c-img-fig img {
        width: 50%;
    }
}

.p-thumbs-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-basis: 20%;
    max-width: 280px;
    min-width: 160px;
    padding: 32px 16px;
}

.c-thumbs-fig {
    flex-basis: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
    margin: 0 0 16px 0;
    cursor: pointer;
}

.c-thumbs-fig:hover {
    opacity: .6;
    transition: .4s;
}

.c-thumbs-fig.is-active {
    border: 4px solid #e60012;
    cursor: inherit;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .p-modal-content_img {
        margin: 80px auto 0;
        width: 90%;
    }

    .p-img-box {
        flex-direction: column;
    }

    .p-thumbs-box {
        flex-wrap: nowrap;
        flex-basis: 100%;
        max-width: 100%;
        padding: 0 16px 32px;
    }

    .c-thumbs-fig {
        flex-basis: calc((100% - 24px) / 4);
        max-width: calc((100% - 24px) / 4);
        margin: 0 0 8px 0;
    }

}

.l-common-inner_book_detail {
    position: relative;
}

.l-common-inner_narrow_book_detail {
    width: 100%;
}

.c-content-btn {
    bottom: -106px;
}

@media screen and (max-width: 767px) {
    .c-content-btn {
        bottom: -92px;
    }
}