@charset "UTF-8";
:root {
    --white: #fff;
    --black: #121212;
    --brown:#6C3D18;
    --green:#7FBF27;

    --font-normal: "Noto Sans JP", sans-serif;
}

/* おすすめ */
.js-scrollable {
    width: 100%;
}
.l-content.recommend {
    background: #FAF0B8;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px;
    line-height: normal;
    margin: 0;
    border: none;
    border-radius: unset;
    box-sizing: border-box;
}
.l-content.recommend p {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: "メイリオ", Meiryo ,sans-serif;
}
.recommend .l-content-inner {
    width: 100%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 70px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}
.recommend h2 {
    color: var(--brown);
    font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
    position: relative;
    font-size: 30px;
    margin-bottom: 50px;
    background: none;
    border-bottom: none;
    font-weight: bold;
}
.recommend h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 6px;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -16px;
    background: var(--brown);
    border: none;
}
.recommend .l-content-inner {
    background: transparent;
    padding: 0;
}
.recommend ul {
    display: flex;
    font-size: 16px;
    font-family: var(--font-normal);
    font-weight: 500;
    gap: 20px;
}
.recommend ul li {
    width: calc(100% / 3);
    max-width: 300px;
    background: var(--white);
    border: 1px solid #aea6a6;
    margin: 0 auto;
}
.recommend ul li a {
    width: auto;
    padding: 25px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    color: var(--black);
    text-decoration: none;
}
.recommend ul li a:hover {
    opacity: 0.7;
}
.recommend ul li img {
    width: auto;
    height: 260px;
    border: 1px solid #BDBDBD;
}
.recommend-book-text {
    display: flex;
    align-items: flex-end;
    height: 100%;
    font-size: 14px;
}
.recommend-book-title {
    min-height: 48px;
    font-size: 16px;
    text-align: center!important;
    word-break: keep-all;
}

.purchase-button {
    width: 80px;
    height: 130px;
    padding: 5px 30px 5px 20px;
    background:var(--green);
    color: var(--white);
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "M PLUS Rounded 1c", sans-serif;
    right: -30px;
    margin: auto;
    bottom: 0;
    top: 20px;
    border-radius: 30px;
    position: fixed;
    z-index: 200;
}
.purchase-button,
.purchase-button-recommend {
    width: 80px;
    height: 130px;
    padding: 5px 30px 5px 5px;
    background:var(--green);
    color: var(--white);
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "M PLUS Rounded 1c", sans-serif;
    right: -30px;
    margin: auto;
    bottom: 0;
    top: 20px;
    border-radius: 30px;
    position: fixed;
    z-index: 200;
    box-sizing: border-box;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .purchase-button,
    .purchase-button-recommend {
        width: 110px;
        height: 40px;
        font-size: 14px;
        top: inherit;
        right: inherit;
        left: -20px;
        bottom: 30px;
        padding: 0 15px 0 30px;
        writing-mode: inherit;
    }
    .purchase-button:hover,
    .purchase-button-recommend:hover {
        opacity: 1;
    }
}

@media screen and (max-width: 1000px) {
    .recommend ul {
        width: 100%;
    }
    .recommend ul li {
        min-width: 280px;
        width: 100%;
    }
    .recommend ul li a {
        padding: 15px;
    }
    .recommend ul li img {
        width: auto;
        height: 180px;
    }
}

.kyokashowork .pagetop {
    bottom: 5.5rem;
    height: 3rem;
    padding: 0;
    position: fixed;
    /* left: 0.75rem; */
    left: inherit;
    right: 1.3rem;
    width: 3rem;
    z-index: 90;
}