/* デジタルブック用CSS */
.book {
    display: grid;
    margin: 0 auto;
    grid-template-columns: 50px auto 50px;
    padding: 0 2%;
}
.button_previous{
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}
.button_next{
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}
._singlePage .button_previous,
._singlePage .button_next {
    visibility: hidden;
}
.magazine{
    z-index: 10;
}
.arrow {
    display: flex;
}
.arrow:hover {
    background-color: rgba(132, 132, 132, 0.5);
    color: white;
}
.arrow_img {
    width: 50px;
    height: 50px;
}
/* アスペクト比 7:5 × ページ数（メニューによる） */
.page_1 {
    width: 100%;
    aspect-ratio: 7/5;
}
.page_2 {
    width: 100%;
    aspect-ratio: 11/4;
}
.page_3 {
    width: 100%;
    aspect-ratio: 33/8;
}
.page_4 {
    width: 100%;
    aspect-ratio: 11/2;
}
.page_5 {
    width: 100%;
    aspect-ratio: 48/7;
}
.page_7 {
    width: 100%;
    aspect-ratio: 49/5;
}
.menues{
    
    margin: 2%;
}
.menu {
    margin: 0 10%;
    width: auto;
    display: flex;
    justify-content: center;
}
.menu_list{
    width: 80%;
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px 0 20px;
}
.top_shelf{
    margin: 0 auto;
}
.bottom_shelf{
    margin: 0 auto;
    display: grid;
    grid-template-columns: 26% 75%;
    column-gap: 10%;
    justify-content: center;
}
.menu_shelf{
    display: inline-block;
    margin: 0 1%;
    width: auto;
    font-size: 20px;
}
.menu a{
    color: #8b4513;
    text-decoration: underline;
}

.d-none{
    display: none;
}

.link-overlay{
    position: absolute;
    top: 8.5%; /* 調整してください */
    right: 5%; /* 調整してください */
    width: 200px; /* 調整してください */
    height: 50px; /* 調整してください */
    background-color: rgba(0, 0, 0, 0); /* 透明 */
    cursor: pointer;
    z-index: 100;
}

/* 文字フォントの設定 */
* {
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}
@media only screen and (max-width: 767px){
    .book{
        grid-template-columns: 25px auto 25px;
    }
    .arrow_img{
        width: 25px;
        height: 25px;
    }
    /* .menu05 .page_1{
        aspect-ratio: 7/5;
    } */
     /* ページめくりの角のスタイルを隠す */

    /* .menu05 { */
        /* pointer-events: none; 画像上のクリックやドラッグを無効にする */
        /* z-index: -1; 画像をページの後ろに配置する */
    /* } */
    .page_1{
        aspect-ratio: 7/10;
    }
    .page_2{
        aspect-ratio: 11/8;
    }
    .page_3{
        aspect-ratio: 33/16;
    }
    .page_4{
        aspect-ratio: 11/4;
    }
    .page_5{
        aspect-ratio: 24/7;
    }
    .page_7 {
        aspect-ratio: 26/5;
    }
    .menu_list .menu_shelf{
        display: block;
        font-size: 18px;
        margin: 0;
    }
}
@media only screen and (max-width: 690px){
    .menu_list .menu_shelf{
        font-size: 16px;
    }
}
@media only screen and (min-width: 611px){
    #canvas .menues .menu .for_sp{
        display: none;
    }
}
@media only screen and (max-width: 610px){
    .menu_list{
        width:80%;
        min-width: 261px;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        line-height: 32px;
        text-align: left;
    }
}