@charset "utf-8";
/* Default CSS STYLE **********************************************

* Copyright TAKAYA COMMUNICATIONS.inc
**************************************************************/

@font-face {
    font-family: '夏蝉丸ゴシック';
    src: url('../font/Natsuzemi_Maru.ttf') format('truetype');
}


body {
    color: #333;
    background: #ecd8bf;
    padding: 50px 70px 100px;
}
#wrapper {
    /* min-width: 924px; */
    background: #f3ebe0;
    border-radius: 20px;
    box-shadow: 0px 0px 15px rgba(72, 72, 72, 0.2);
    padding: 50px 0px 100px;
}
#wrapper h1 {
    text-align: center;
    font-size: clamp( 14px, 3vw, 30px );
    color: #fff;
    letter-spacing: -2px;
    padding: 0.4em 0;
    font-family: '夏蝉丸ゴシック';
    font-size: clamp( 15px, 4vw, 40px);
    color: #4c3414;
    font-weight: bold;
    position: relative;
}

/* NEWS ボタン設置 ******/
.newsBn {
    cursor: pointer;
}
.newsBn.pc {
    display: block;
    width: clamp( 80px, 15%, 120px );
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(295%) translateY(-50%)
}
.newsBn.sp {
    display: block;
    width: clamp( 40px, 6%, 65px );
    position: fixed;
    top: 80px;
    right: 0px;
}
.newsBn.pc img,
.newsBn.sp img {
    width: 100%;
}
.newsBn.sp {
    display: none;
}
@media screen and (max-width: 1130px) {
    .newsBn.pc {
        display: none;
    }
    .newsBn.sp {
        display: block;
    }
}



/* ======
    本棚のCSSスタイル
==============================================*/

#bookshelfBox {
    width: 100%;
    height: 100%;
    background-image: var(--book_bg_center);
    background-repeat: repeat; 
}
.grid {
    width: 100%;
}
.grid::before {
    content: "";
    background: var(--book_bg_left) repeat-y;
    width: var(--book_bg_width);
    height: 100%;
    position: absolute;
    left: -37px;
    bottom: 0px;
    z-index: 1;
}
.grid::after {
    content: "";
    background: var(--book_bg_right) repeat-y;
    width: var(--book_bg_width);
    height: 100%;
    position: absolute;
    right: -39px;
    bottom: 0px;
    z-index: 1;
}
.item-content a {
    cursor: default;
}
.item-content a.csP {
    cursor: pointer !important;
}

/* == ボタンスタイル ===============*/
.btn a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 160px;
    padding: 0.6em 1em;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #AEAEB2;
    overflow: hidden;
    display: block;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.8em;
    text-align: center;
}
.btn a:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 200%;
    height: 500%;
    content: "";
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translateX(-120%) translateY(-25%) rotate(45deg);
    transform: translateX(-120%) translateY(-25%) rotate(45deg);
    background: #2b2b2b;
    opacity: 0.9;
}
.btn a.csP:hover:before {
    -webkit-transform: translateX(-20%) translateY(-25%) rotate(45deg);
    transform: translateX(-20%) translateY(-25%) rotate(45deg);
}
@media screen and (max-width: 540px) {
    .btn a:before {
        -webkit-transform: translateX(-250%) translateY(-25%) rotate(45deg);
        transform: translateX(-250%) translateY(-25%) rotate(45deg);
    }
}
/* リンク無効ボタン ***/
.btn a.noLink {
    cursor: default !important;
    opacity: 0.2;
}
.btn a.noLink:hover:before {
    -webkit-transform: translateX(-120%) translateY(-25%) rotate(45deg);
    transform: translateX(-120%) translateY(-25%) rotate(45deg);
}
.btn a.noLink
/* 全ページボタン ***/
.btn.default a {
    background: #727171;
}
.btn.default a:before {
    background: #2b2b2b;
}
/* スマデ知ボタン ***/
.btn.smart_d a {
    background: #158CCE;
}
.btn.smart_d a:before {
    background: #086090;
}

.noLink {
    cursor: default;
}



/* ======
    ローディング画面のスタイル
==============================================*/
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #333;
    z-index: 9999;
}
/* ローディング画面を非表示にするクラス */
.hidden {
    display: none;
}
/* HTML: <div class="loader"></div> */
.loader {
    --d:22px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    color: #ffffff;
    box-shadow: 
      calc(1*var(--d))      calc(0*var(--d))     0 0,
      calc(0.707*var(--d))  calc(0.707*var(--d)) 0 1px,
      calc(0*var(--d))      calc(1*var(--d))     0 2px,
      calc(-0.707*var(--d)) calc(0.707*var(--d)) 0 3px,
      calc(-1*var(--d))     calc(0*var(--d))     0 4px,
      calc(-0.707*var(--d)) calc(-0.707*var(--d))0 5px,
      calc(0*var(--d))      calc(-1*var(--d))    0 6px;
    animation: l27 1s infinite steps(8);
}
@keyframes l27 {
    100% {transform: rotate(1turn)}
}



/* ======
    共通のスタイル
==============================================*/
.dpN {
    display: none !important;
}



/*
=====================================================================================================
    レスポンシブ記述
=====================================================================================================
=====================================================================================================
*/

/* pc */
@media screen and (min-width: 961px) { /* ※961px以上 */
}

/* tablet  */
@media only screen and (min-width: 641px) and (max-width: 960px) { /* ※641～960pxの間 */
}

/* smartPhone */
@media screen and (max-width: 640px) { /* ※640pxまで */
    body {
        padding: 20px 10% 100px;
    }
    #wrapper {
        padding: 30px 0;
    }
}

/* tablet & smartPhone  */
@media screen and (max-width: 960px) { /* ※960pxまで */
}
@media screen and (max-width: 768px) { /* ※768pxまで */
    #bookshelfBox {
        background-image: var(--sp_book_bg_center);
    }
    .grid::before {
        background: var(--sp_book_bg_left) repeat-y;
    }
    .grid::after {
        background: var(--sp_book_bg_right) repeat-y;
    }
}
