/* Common */

.communityPage__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.56;
}

.communityPage__title {
    color: #000;
    font-family: "TT_Norms_regular", sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.34;
}

.communityPage__title .lg {
    font-family: "TT_Norms_regular", sans-serif;
    font-size: 68px;
    padding: 0;
}

.communityPage__title span {
    font-family: dnp-shuei-mgothic-std, "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", "メイリオ", "Meiryo", sans-serif;
    font-size: 22px;
    padding-left: 50px;
}

.communityPage__subtitle {
    color: #272727;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.66;
    margin-top: 40px;
}

.communityPage__wrapper {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 20px;
}

.communityPage__button {
    border: 1px solid #000;
    border-radius: 49px;
    color: #000;
    display: block;
    font-size: 16px;
    line-height: 1;
    margin: 40px auto 0;
    max-width: 680px;
    padding: 12px 120px;
    position: relative;
    text-align: center;
    width: fit-content;
}

.communityPage__button::before {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    height: 8px;
    position: absolute;
    right: 30px;
    top: 48%;
    transform: rotate(45deg) translateY(-50%);
    vertical-align: top;
    width: 8px;
}

.lifeMagazine .communityPage__title,
.communityMagazine .communityPage__title {
    font-size: 42px;
    font-weight: 600;
}

.communityMagazine {
    margin-bottom: 150px;
}

@media screen and (max-width: 767px) {
    .communityPage__text {
        font-size: 13px;
    }

    .communityPage__title {
        font-size: 40px;
    }

    .communityPage__title span {
        display: block;
        font-size: 14px;
        line-height: 2.5;
        padding-left: 0;
    }
}


.communityPage__top {
    margin-top: 50px;
    text-align: center;
}

.communityPage__logo {
    height: auto;
    max-width: 400px;
    width: 100%;
}

.communityPage__top .communityPage__title {
    font-size: 48px;
    font-weight: 600;
    margin-top: -40px;
}

.communityPage__newPosts .communityPage__wrapper {
    border-top: 1px solid #000;
    margin-top: 120px;
    padding-top: 100px;
}

.communityPage__heading {
    text-align: center;
}

.communityPage__heading .communityPage__title {
    font-weight: 600;
    line-height: 1;
}

.communityPage__heading .communityPage__subtitle {
    font-size: 22px;
    line-height: 1.9;
}

.communityPage__newPosts .swiper_magazine {
    margin-top: 60px;
}

.communityPage__posts--top {
    margin-top: 120px;
}

.communityPage__posts--top .communityPage__title {
    line-height: 1.1;
}

.communityPage__posts--list {
    column-gap: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 60px;
    row-gap: 60px;
}

.communityPage__posts--item .magazine__item--button {
    padding: 8px 35px 8px 20px;
}

.communityPage__posts--top .communityPage__text {
    margin-top: 30px;
}

.community__news {
    margin-top: 100px;
}

.community__news--link {
    align-items: center;
    border: 1px solid #000;
    border-radius: 999px;
    display: grid;
    gap: 20px;
    grid-template-columns: 100px auto;
    margin: 0 auto;
    max-width: 600px;
    padding: 12px 50px 12px 0;
    width: 100%;
}

.community__news--title {
    border-right: 1px solid #000;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    padding-right: 19px;
    text-align: right;
}

.community__news--text {
    font-size: 16px;
    font-weight: 400;
    position: relative;
    text-align: left;
}

.community__news--text::after {
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    height: 7px;
    position: absolute;
    right: -20px;
    top: 48%;
    transform: rotate(45deg) translateY(-50%);
    vertical-align: top;
    width: 7px;
}

@media screen and (max-width: 767px) {
    .communityPage__posts--list {
        grid-template-columns: 1fr 1fr;
        margin-top: 40px;
    }

    .communityPage__posts--top .communityPage__text {
        margin-top: 20px;
    }

    .communityPage__logo {
        margin-top: 20px;
        max-width: 250px;
    }

    .communityPage__top .communityPage__title {
        font-size: 26px;
    }

    .communityPage__newPosts .communityPage__wrapper {
        margin-top: 80px;
        padding-top: 80px;
    }

    .communityPage__heading .communityPage__subtitle {
        font-size: 16px;
    }

    .communityPage__newPosts .swiper_magazine {
        margin-top: 30px;
    }

    .communityPage__posts--top {
        margin-top: 80px;
    }

    .communityPage__posts--top {
        margin-top: 60px;
    }

    .lifeMagazine .communityPage__title,
    .communityMagazine .communityPage__title {
        font-size: 26px;
        line-height: .7;
    }

    .communityPage__title .lg {
        font-size: 42px;
        line-height: 1;
    }

    .community__news {
        margin-top: 60px;
    }

    .community__news--link {
        gap: 16px;
        grid-template-columns: 75px auto;
        padding: 12px 35px 12px 0;
    }

    .community__news--title {
        font-size: 14px;
        padding-right: 14px;
    }

    .community__news--text {
        font-size: 12px;
        line-height: 1.6;
    }

    .community__news--text::after {
        border-width: 1px 1px 0 0;
        height: 6px;
        right: -15px;
        width: 6px;
    }
}

@media screen and (max-width: 500px) {
    .communityPage__posts--list {
        grid-template-columns: 1fr;
    }
}

/* Community Archive Page */

.communityArchive .communityPage__top {
    margin-top: 180px;
}

.communityArchive__categories {
    background: #d9d9d9;
    margin-top: 80px;
    padding: 20px 0 80px;
}

.communityPage__navi {
    background: #fff;
    margin: 80px auto 0;
    max-width: 660px;
    padding: 30px 80px;
    width: fit-content;
}


@media screen and (max-width: 767px) {
    .communityPage__navi .wp-pagenavi a {
        margin-left: 20px !important;
    }
}

/* Days Display */

.days__display--container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.days__display--column {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    width: 100%;
}

.days__display--column img,
.days__display--row img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.days__display--column.column1 {
    grid-template-rows: 49% 34% 17%;
}

.days__display--column.column2 {
    grid-template-rows: 31% 34% 35%;
}

.days__display--column.column3 {
    grid-template-rows: 34% 44% 22%;
}

.days__display--row {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 140px;
    height: 140px;
}

.days__display--wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

@media screen and (max-width: 767px) {
    .days__display--container {
        height: 530px;
    }

    .days__display--row {
        grid-template-rows: 116px;
        height: 116px;
    }
}

/* Days Page */

.daysPage__top {
    margin-top: 120px;
}

.daysPage__top .communityPage__title {
    font-weight: 700;
}

.daysPage__top .communityPage__subtitle {
    font-size: 26px;
}

.daysPage__display--container {
    margin-top: 80px;
}

.daysPageBlog {
    background: #3e3e3e;
    margin-top: 100px;
    padding: 100px 0;
}

.daysPageBlog__title--container {
    display: flex;
}

.daysPageBlog__title--container .communityPage__title {
    color: #fff;
    font-weight: 700;
    padding-right: 40px;
}

.daysPageBlog__line {
    align-self: center;
    border-top: 1px solid #fff;
    flex: 1;
    height: fit-content;
    margin-top: -10px;
    width: 100%;
}

.daysPageBlog__list {
    display: grid;
    grid-template-columns: 31% 31% 31%;
    grid-template-rows: 1fr;
    justify-content: space-between;
    margin-top: 80px;
    row-gap: 60px;
}

.daysPageBlog__item a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.daysPageBlog__img {
    height: 100%;
    max-height: 211px;
    overflow: hidden;
    width: 100%;
}

.daysPageBlog__img img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.daysPageBlog__textArea {
    display: grid;
    flex: 1;
    grid-template-columns: auto 52px;
    height: 100%;
    margin-top: 15px;
}

.daysPageBlog__title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.daysPageBlog__text {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 16px;
}

.daysPageBlog__textArea--right {
    align-self: end;
}

.daysPageBlog__textArea--right span {
    border: 1px solid #fff;
    border-radius: 10px;
    display: block;
    height: 47px;
    position: relative;
    width: 100%;
}

.daysPageBlog__textArea--right span::before {
    border-color: #fff;
    border-style: solid;
    border-width: 2px 2px 0 0;
    content: "";
    height: 8px;
    left: 34%;
    position: absolute;
    top: 54%;
    transform: rotate(45deg) translate(-50%, -50%);
    vertical-align: top;
    width: 8px;
}

.daysPageBlog__navi {
    background: #fff;
    margin: 80px auto 0;
    max-width: 660px;
    padding: 30px 80px;
    width: fit-content;
}


@media screen and (max-width: 767px) {
    .daysPage__top .communityPage__subtitle {
        font-size: 16px;
        margin-top: 20px;
    }

    .daysPageBlog__line {
        display: none;
    }

    .daysPageBlog__title--container {
        justify-content: center;
    }

    .daysPageBlog__list {
        grid-template-columns: 1fr;
    }

    .daysPageBlog {
        margin-top: 0;
        padding: 80px 0;
    }

    .daysPageBlog__list {
        margin-top: 50px;
    }

    .daysPageBlog__textArea .daysPageBlog__title {
        font-size: 16px;
    }

    .daysPageBlog__textArea .daysPageBlog__text {
        font-size: 12px;
    }

    .daysPageBlog__textArea {
        grid-template-columns: auto 45px;
    }

    .daysPageBlog__textArea--right span {
        height: 38px;
    }

    .daysPageBlog__navi {
        margin: 50px auto 0;
        padding: 20px;
    }
}
