/* トップ */
.wadanote_container {
    max-width: 900px;
    margin: auto;
    font-size: 1.2rem;
}
.wadanote_container_title {
    text-align: center;
    position: relative;
}

.container_text {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}
@media screen and (max-width: 768px) {
    .container_text {
        text-align: left;
    }
}
.wadanote_post a {
    color: var(--text_color);
    text-decoration: none;
}
.wadanote_post {
    border-bottom: 2px var(--text_color) dotted;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
    padding-bottom: 1rem;
}
.wadanote_item_date {
    position: relative;
    font-size: 1rem;
}
.wadanote_item_date::after {
    content: "";
    position: absolute;
    background: url(../img/bookicon.svg) no-repeat center center;
    background-size: contain;
    width: 4.6rem;
    height: 2.5rem;
    top: -8px;
    right: -14px;
}
.wadanote_item_title {
    padding-left: 0.5rem;
}

.book_bk {
    position: relative;
}

.book_bk::before {
    position: absolute;
    content: "";
    top: -50px;
    left: 0;
    width: 100%;
    height: 90px;
    background-image: url("../img/bookheader.png");
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
    .book_bk::before {
        top: -4%;
    }
    .book_bk {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
@media screen and (max-width: 420px) {
    .book_bk::before {
        top: -2%;
    }
}

.wadanoteTitle {
    text-align: center;
}

.wadanote_btn_wrapper {
    text-align: right;
    padding-right: 1rem;
}
.wadanote_title h1 {
    position: relative;
}
@media screen and (max-width: 768px) {
    .wadanote_title h1 {
        line-height: 1;
    }
}
.wadanote_title h1::before {
    content: "";
    background-image: url("../img/title-top.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 55px;
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}
.wadanote_title h1::after {
    content: "";
    background-image: url("../img/title-down.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 150px;
    height: 30px;
    position: absolute;
    top: 145%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    /* background-color: rgba(0, 255, 255, 0.49); */
}

/* 下層ページタイトルヘッダー */
.wadanote_title {
    background-color: aliceblue;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 1rem;
    padding-bottom: 80px;
    padding-top: calc(100vh / 7 + 16px);
    background: url(../img/wadatitle.png) no-repeat center center;
    background-size: cover;
    margin-top: 90px;
}
.wadanote_title .wp-block-group__inner-container {
    max-width: var(--maxWh);
    margin: auto;
}

@media screen and (max-width: 900px) {
    .wadanote_title {
        margin-top: calc(60px - 6%);
    }
}

.wadanote_content h2 {
    background-color: #f5f5f5;
    text-align: left;
    padding-left: 10px;
}

.wadanote_content h2::before {
    content: "";
    background-color: var(--main_color);
    width: 5px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0%;
    transform: translateX(0%);
}

.wadanote_content h3 {
    position: relative;
    border-bottom: 3px solid var(--main_color);
    display: inline-block;
    padding: 0;
    margin-bottom: 1rem;
}

.wadanote_content h3::after {
    display: none;
}

.wadanote_wrapper {
    max-width: 900px;
    margin: auto;
    padding-top: 3rem;
}
.wadanote_item_text p {
    padding-top: 1rem;
}

.wadanote_inner .Content_wrapper {
    margin-bottom: 80px;
}

/* ページャー */
.pager_arrow {
    width: 30px;
    height: 30px;
}

.pager_arrow_left {
    transform: rotate(180deg);
}
.screen-reader-text {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.75rem;
    line-height: 0;
}
.pagination .page-numbers.current {
    background-color: unset;
    color: var(--main_color) !important;
}

/* 投稿ページ ページャー */
.post-navigation {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    /* padding: 2rem 0; */
}
.post-navigation a {
    text-decoration: none;
    color: var(--text_color);
}
@media screen and (max-width: 768px) {
    .post-navigation a {
        font-size: 3vw;
    }
}
.list-nav-next,
.list-nav-previous {
    display: flex;
    align-items: center;
    background-color: aliceblue;
    padding: 1rem 0.3rem;
    flex: 1;
    /* font-size: 1rem; */
    max-width: 400px;
}
.list-nav-next {
    border-right: double 7px var(--main_color);
    justify-content: flex-end;
    padding-left: 0.5rem;
}
.list-nav-previous {
    border-left: double 7px var(--main_color);
}

.list-nav-previous::before,
.list-nav-next::after {
    content: "";
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("../img/arrow_bl.svg");
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
}

.list-nav-previous::before {
    margin-right: 0.5rem;
    transform: rotate(180deg);
}
.list-nav-next::after {
    margin-left: 0.5rem;
}

.item_more {
    text-align: right;
}

/* 投稿プロフィール */
.writer_profile {
    margin-bottom: 2rem;
    /* border: solid 3px var(--main_color); */
    /* padding: 1rem; */
    /* border-radius: 8px; */
    text-align: right;
    background-color: var(--sub_color);
    padding: 0.3rem;
}
.writer_profile h2 {
    background-color: unset;
    padding-left: 0;
    background-color: var(--sub_color);
    padding: 0.3rem;
    position: relative;
    border-radius: 4px;
}
.writer_profile h2::before {
    display: none;
}
.writer_profile h2::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-top: 30px solid var(--sub_color);
    border-bottom: 0;
    top: 50px;
    left: 50px;
}
.writer_profile_inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.writer_profile_img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    overflow: hidden;
}
.writer_profile_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.writer_profile_pic {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.writer_profile_nickname {
    color: var(--main_color);
}

@media screen and (max-width: 768px) {
    .writer_profile_inner {
        flex-direction: column;
    }
    .writer_profile {
        text-align: left;
    }
}

/* アイキャッチ */
.wadanote_eye_catch img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.wadanote_mv_title {
    font-size: 1.75rem;
    font-weight: bold;
}
