/* 背景#A9B1C4 */
/* 白#F2F2F2 */
/* 紺#17184B */

body {
    background-color: #A9B1C4;
}

a {
    text-decoration: none;
    color: #17184B;
}

p {
    font-size: 0.9rem;
}

ul li {
    list-style-type: none;
}

h2 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #17184B;
}

p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.red {
    color: #930330;
}

.futura {
    font-family: "futura-pt", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.futura-book {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.noto {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


.in1 {
    opacity: 0;
    animation: in1 0.3s ease forwards;
    animation-delay: 0.5s;
}


@keyframes in1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.in2 {
    opacity: 0;
    animation: in2 0.3s ease forwards;
    animation-delay: 0.8s;
}


@keyframes in2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.in3 {
    opacity: 0;
    animation: in3 0.3s ease forwards;
    animation-delay: 1.1s;
}


@keyframes in3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.in4 {
    opacity: 0;
    animation: in3 0.3s ease forwards;
    animation-delay: 1.4s;
}


@keyframes in4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fadein.show {
    opacity: 1;
    transform: translateY(0);
}


.left-contents {
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

.books-hyousi-left {
    position: fixed;
    height: 95%;
    bottom: 0;
    right: 50%;
    width: 45%;
    background-color: #17184B;
}

.books-left {
    position: fixed;
    bottom: 0;
    right: 50%;
    width: 43%;
    height: 92%;
    background-image: url(img/paper.jpg);
    background-repeat: repeat;
}

.books-left h1 {
    font-size: clamp(1rem, 0.949rem + 0.25vw, 1.25rem);
    text-align: right;
    display: inline-block;

}

.title {
    text-align: center;
}

.title_big {
    font-size: clamp(1rem, 0.696rem + 1.52vw, 2.5rem);
    font-family: "futura-pt", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.title-small {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;

}

.left_menu_block ul {
    padding: 0;
}

.left_menu_block {
    width: 86%;
    height: 50vh;
    text-align: center;
    position: absolute;
    bottom: 0;
    right: 0;
}

.select_menu img {
    width: 90px;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.select_menu ul {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
}

.select_menu .select-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.select-menu-main {
    position: relative;
    display: inline-block;
}

.select-menu-main::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #17184B;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.select-menu-main:hover::after {
    transform: scaleX(1);
    background: linear-gradient(to right, #17184B, #cad1e2);

}

.select_title {
    font-size: 1.2rem;
    color: #17184B;
}


@media screen and (min-width: 768px) and (max-width: 1024px) {
    .books-hyousi-left {
        height: 92% !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .books-left {
        height: 96%;
        width: 96%;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .left_menu_block {
        width: 86%;
        height: 60%;
        bottom: 0;
        right: 0;
    }
}

footer {
    display: none;
}

.leader-line {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #17184B;
    transition: 0.3s;
    position: relative;
}


.main-block-2 li {
    list-style-type: none;
}

.dots {
    flex-grow: 1;
    margin: 0 10px;
    height: 10px;
    background-image: radial-gradient(circle, #17184B 1px, transparent 1px);
    background-size: 8px 100%;
    background-position: center;
    background-repeat: repeat-x;
}



.leader-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #17184B;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.leader-line:hover::after {
    transform: scaleX(1);
    background: linear-gradient(to right, #17184B, #cad1e2);

}

.right-contents {
    width: 50%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
}

.books-hyousi-right {
    position: fixed;
    height: 95%;
    bottom: 0;
    left: 50%;
    width: 45%;
    background-color: #17184B;
}

.books-right {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 43%;
    height: 92%;
    background-image: url(img/paper.jpg);
    background-repeat: repeat;
    display: flex;
    align-items: center;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .books-hyousi-right {
        height: 92% !important;
        top: 50%;
        transform: translateY(-50%);
    }

    .books-right {
        height: 96%;
        width: 96%;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
}

.main-box {
    background-color: #ffffff;
    border-radius: 20px;
    width: 70%;
    max-width: 350px;
    height: 85%;
    margin: auto;
    padding: 20px;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 1px 1px 5px #b2b2b2;;
}

.main-box::-webkit-scrollbar {
    display: none;
}

.main-block-2,
.main-block-3 {
    margin: 4rem 0;
}

.scroll {
    width: 100%;
    text-align: center;
    animation: scroll 3s linear infinite;
}

.scroll img {
    width: 15%;
}

@keyframes scroll {
    0% {
        transform: translateY(-5px);
    }

    4% {
        transform: translateY(0);
    }

    94% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}