* {
    box-sizing: border-box;
}

:root {
    --primary-color: #E5F6F7;
    --font-family: "Noto Serif JP", Sans-serif;
}

.site-header .site-branding {
    display: none;
}

.page-header {
    display: none;
}

.copyright {
    display: none;
}


.textMessageBox {
    display: inline-block;
    text-align: left;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.textMessageBox div p {
    padding: 0 1em 0 0;
    line-height: 40px;
    letter-spacing: 0.5em;
}

@media screen and (max-width: 768px) {
    .textMessageBox div p {
        padding: 0 20px 0 0;
        line-height: 25px;
        letter-spacing: 0.2em;
    }
}

@media screen and (max-width: 600px) {
    .textMessageBox {
        writing-mode: inherit;
        -ms-writing-mode: inherit;
        -webkit-writing-mode: inherit;
    }

    .textMessageBox div p {
        margin: 0 0 1em 1.5em;
        line-height: 24px;
        letter-spacing: 3px;
        font-size: 16px;
        padding: 0;
    }
}

@media screen and (max-width: 430px) {
    .textMessageBox div p {
        margin: 0 0 1em 1.5em;
        line-height: 24px;
        letter-spacing: 3px;
        font-size: 16px;
        padding: 0;
    }
}


/* Start newsReleaseContainer */
.newsReleaseContainer {
    width: 100%;
    overflow: auto;
    box-sizing: border-box;
    margin: 0;
    font-family: var(--font-family);
}

.newsReleaseContainer .titleWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
}

.newsReleaseContainer .titleText {
    color: #9597A1;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    cursor: pointer;
    padding: 10px;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .newsReleaseContainer .titleWrapper {
        gap: 15px;
    }

    .newsReleaseContainer .titleText {
        font-size: 16px;
        line-height: 25px;
        padding: 6px;
    }
}

.newsReleaseContainer .titleText:hover {
    color: #363636;
    font-weight: 700;
    border-bottom: 2px solid #363636;
}

.newsReleaseContainer .titleTextActive {
    color: #363636;
    font-weight: 700;
    border-bottom: 2px solid #363636;
}

.newsReleaseContainer .newsList {
    width: 100%;
    display: flex;
    justify-content: center;
}

.newsReleaseContainer .newsList>ul {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
    gap: 24px;
    width: fit-content;
}

.newsReleaseContainer .newsRows {
    display: flex;
    align-items: baseline;
    gap: 16px;
    list-style: none;
}

.newsReleaseContainer .newsDateWrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsReleaseContainer .newsDate {
    color: #363636;
    font-size: 16px;
    line-height: 25px;
    margin: 0;
}

.newsReleaseContainer .newsCategory {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsReleaseContainer .iv_2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    padding: 4px 16px;
    min-width: 144px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.newsReleaseContainer .btn_1 {
    background: #363636;
    color: #FFFFFF;
}

.newsReleaseContainer .newsTitle {
    margin-block-end: 0;
    margin-block-start: 0;
    display: flex;
    align-items: center;
}

.newsReleaseContainer .newsTitle>a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #363636;
    text-decoration: none;
}


@media screen and (max-width: 768px) {
    .newsReleaseContainer .newsTitle>a {
        font-size: 14px;
        line-height: 20px;
    }

    .newsReleaseContainer .iv_2 {
        min-width: 100px;
    }
}

@media screen and (max-width: 410px) {
    .newsReleaseContainer .iv_2 {
        padding: 0 30px;
        min-width: 0;
    }

    .newsReleaseContainer .newsRows {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 8px;
    }
}

/* End newsReleaseContainer */

/* Start booksList */
.booksListContainer {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    font-family: var(--font-family);
}

@media screen and (max-width: 1140px) {
    .booksListContainer {
        width: 100%;
    }
}

.booksListContainer .booksList {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 0 40px;
}

.booksListContainer .booksItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    padding: .4rem 0;
    margin: 1rem 0;
}

@media screen and (max-width: 1024px) {
    .booksListContainer .booksList {
        gap: 0 25px;
    }

    .booksListContainer .booksItem {
        flex: 0 0 calc(33% - 15px);
        max-width: calc(33% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .booksListContainer .bookImg:hover {
        transform: scale(1);
    }

    .booksListContainer .booksList {
        gap: 0 15px;
    }

    .booksListContainer .booksItem {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

.booksListContainer .booksItem>a {
    z-index: 1;
}

.booksListContainer .bookImg {
    width: 120px;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 22.5px 0px #00000029;
}

.booksListContainer .bookImg:hover {
    transform: scale(1.6);
}

.booksListContainer .bookBase {
    background: var(--primary-color);
    padding: 0px 16px 20px 16px;
    width: 100%;
    margin-top: -80px;
}

.booksListContainer .bookContent {
    margin-top: 112px;
}

.booksListContainer .bookTitle {
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    text-align: left;
    color: #363636;
    text-underline-position: from-font;
    border-top: 1px solid #B7C5C6;
    padding-top: 8px;
    margin-block-start: 0;
    margin-block-end: 0;
    min-height: 60px;
}

.booksListContainer .bookAuthors {
    margin-top: 8px;
    padding-bottom: 8px;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.booksListContainer .bookAuthor {
    color: #46464B;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    margin-block-start: 0;
    margin-block-end: 0;
}

.booksListContainer .bookDescriptionWrapper {
    display: flex;
    flex-direction: column;
    justify-content: end;
    text-align: right;
    margin-top: 8px;
}

.booksListContainer .bookDescription {
    color: #46464B;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: right;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-block-start: 0;
    margin-block-end: 0;
}

.booksListContainer .bookTags {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.booksListContainer .bookTag {
    color: #363636;
    font-size: 12px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 4px 8px;
    border: 1px solid #B7C5C6;
    border-radius: 100px;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .booksListContainer .bookImg:hover {
        transform: scale(1);
    }

}

@media screen and (max-width: 450px) {
    .booksListContainer .bookBase {
        padding: 0px 10px 20px 10px;
    }

    .booksListContainer .bookTags {
        margin-top: 24px;
    }

    .booksListContainer .booksItem {
        margin: .5rem 0;
    }
}

/* End booksList */

/* Start Pagination */
.navPagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 4.7em;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    gap: 1em;
    font-family: var(--font-family);
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}

@media screen and (max-width: 500px) {
    .navPagination {
        gap: .5em;
    }
}

.navPagination::before, .navPagination::after {
    content: '';
    flex-grow: 1;
    display: block;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.25);
}

.pageLink {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: inherit;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.navPagination .pageLink {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    min-width: 2.5em;
    height: 2.5em;
    margin: .1em;
    border: 1px solid #C7C9D7;
    border-radius: 100% !important;
    font-size: .875rem;
    text-decoration: none;
    transition: all .2s ease-out;
}

.navPagination .pageLink:hover {
    color: inherit;
    background-color: #e9ecef;
    cursor: pointer;
}

.navPagination .active {
    background-color: #ACB9B9;
    color: #fff;
}

.navPagination .disabledBtn:hover {
    cursor: default;
}

.navPagination .disabledIcon {
    color: #C7C9D7;
}

.navPagination .pageLinkPrev, .navPagination .pageLinkNext {
    margin: 0 .5em;
    border: none;
    background-color: transparent !important;
}

.navPagination .pageLinkPrev {
    transform: rotate(-180deg);
}

.navPagination .icon-shaft-arrow {
    position: relative;
    transition: all .1s ease-out;
    display: inline-flex;
    width: 1.3em;
    height: 2px;
    background-color: currentColor;
}

.navPagination .icon-shaft-arrow::before {
    transform-origin: top right;
    transform: rotate(40deg) translate(1.4px);
}

.navPagination .icon-shaft-arrow::before, .icon-shaft-arrow::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: .6em;
    height: 2px;
    background-color: currentColor;
}

.navPagination .icon-shaft-arrow::after {
    transform-origin: bottom right;
    transform: rotate(-40deg) translate(1.4px);
}

.navPagination .pageGuide {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #363636;

}

@media screen and (min-width: 1024px) {
    .navPagination {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .navPagination .pageGuide {
        top: 50%;
        right: auto;
        transform: translateY(-50%);
        padding-right: 1em;
        background-color: #fff;
    }
}

/* End Pagination */

/* Start Online Post */

@media screen and (max-width: 768px) {
    .online-shop-post .ecs-posts {
        display: flex;
        flex-direction: row;
        gap: 0 20px;
        overflow-x: scroll;
        overflow-y: hidden;
        padding-bottom: 20px;
    }

    .online-shop-post .elementor-post {
        flex-shrink: 0;
        width: 260px;
    }
}

/* End Online Post */