.title {
    grid-area: auto/1/auto/-1;
    font-size: 1.6em;
    margin: 30px 0 10px;
    text-align: center;
}

.title img {
    width: 100%;
}

.books,
.book_menu {
    grid-area: auto/1/auto/-1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1rem;

}


.link {
    grid-area: auto/1/auto/-1;
    text-align: right;
}

.book_menu {
    cursor: pointer;
}

.archive {
    /* position: absolute; */
    grid-area: auto/11/auto/span 2;
    text-align: end;
    background: #e1ccbe;
    padding: 5px 10px;
    cursor: pointer;
    list-style: none;
}


.item {
    grid-area: auto/auto/auto/span 4;
    text-align: center;
    margin: 5px;
    padding: 5px;
    padding-bottom: 20px;
    background: #fff;
    box-shadow: 0 4px 10px rgb(143 82 46 / 40%);
    position: relative;
}

.item:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    position: relative;
    top: 3px;
    left: 3px;
}

.info_title {
    font-size: 2rem;
    font-weight: bold;
    padding: 20px;
    text-align: center;
}

.marker {
    display: inline;
    line-height: 2rem;
    background-image: linear-gradient(transparent 50%, #fde08c 0%);
}

.marker span {
    display: inline;
}

.item img.thumImg {
    padding-top: 10px;
    width: 80%;
    margin: auto;
    height: 260px;
    object-fit: contain;
    cursor: pointer;
}

.item p {
    margin: 0 auto;
    text-align: center;
}

.company {
    text-align: center;
    position: relative;
    font-weight: bold;
    display: block;
    text-decoration: none;
    z-index: 1;
    padding: 5px;
}

.company:hover {
    background: #e1ccbe;
    color: #fff;
}

.present_info {
    background: unset;
    padding: 10px;
}

.item a {
    color: inherit;
    text-decoration: none;
    display: block;
    text-align: center;
}

.thisispresent {
    display: inline-block;
    overflow: hidden;
    padding: 10px 0;
    width: 80%;
    text-align: center;
    background: #ff96a9;
    color: #fff;
    opacity: 90%;
}

.thisispresent:before,
.thisispresent:after {
    position: absolute;
    content: "";
    border-top: 4px solid #b2751b;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    bottom: -4px;
}

.thisispresent:before {
    left: 14px;
}

.thisispresent:after {
    right: 18px;
}

.book_info {
    margin: 20px 0;
    padding: 10px;
    font-size: initial;
}

.bookprice,
.author {
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
}

.bookprice {
    color: #a8301a;
}

.pop {
    position: absolute;
    align-items: center;
    grid-area: auto/1/auto/-1;
    width: 100%;
    padding: 20px;
    background: #ffdcc399;
    z-index: 100;
}

.pop img {
    width: 100%;
}

.book_footer {
    grid-area: auto/1/auto/-1;
    margin-top: 10px;
}

.store_info {
    margin: 20px 0;
    border: dashed 5px #b4693c;
    padding: 15px 5px 5px;
    text-align: center;
    border-radius: 40px 40px 0 0;
    color: #804a17;
}

.book_footer .store_info span {
    font-size: 1.3rem;
    font-weight: bold;
}

.book_footer .store_info ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.book_footer .store_info li {
    margin: 5px;
    padding: 10px;
}

.click {
    text-align: center;
}

.click img {
    width: 40%;
    margin: 0 auto;
    cursor: pointer;
}


.button {
    grid-area: auto/2/auto/-2;
    margin: 20px auto;
    background: #ff96a9;
    box-shadow: 3px 3px 0px rgba(100, 100, 100, 0.4)
}

.button a {
    display: block;
    color: #fff;
    padding: 20px;
    font-weight: bold;
    text-decoration: none;
}

.button:hover {
    position: relative;
    top: 3px;
    left: 3px;
    box-shadow: 0 0px 0px rgba(100, 100, 100, 0.6)
}


.kirakira {
    /*キラッと光る基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    display: inline-block;
    text-decoration: none;
    outline: none;
    overflow: hidden;
}

.kirakira::before {
    content: '';
    /*絶対配置でキラッと光るの位置を決める*/
    position: absolute;
    top: 0;
    left: -75%;
    /*キラッと光る形状*/
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}

.kirakira:hover::before {
    animation: shine 0.7s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}


@media print,
screen and (max-width:745px) {

    .book_menu,
    .books {
        grid-template-columns: repeat(4, 1fr);
        padding: 0 10px;
    }

    .link,
    .archive,
    .item {
        grid-area: auto/auto/auto/span 4;
    }

    .item img.thumImg {
        width: 100%;
        max-height: 30rem;
    }

    .thisispresent {
        left: 30%;
        top: 6%;
    }

    .button {
        grid-area: auto/1/auto/-1;
    }

    .click img {
        width: 70%;
    }

}
