@charset "UTF-8";

.main {
    overflow: hidden;
}

.section--cpnews {
    padding: 64px 4.2% 72px;
    background-color: #E0EBE2;
    z-index: 1;
}

.title {
    position: relative;
    text-align: left;
}

.section--cpnews .title::after {
    content: 'NEWS';
    font-family: 'Wittgenstein';
    position: absolute;
    top: -18px;
    left: -7%;
    color: #f5f5f5;
    opacity: 40%;
    font-size: 6.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.03em;
    z-index: -10;
}


.news__txt {
    padding: 40px 8px;
    margin: 40px auto 0;
    background-color: #f5f5f5;
    border-radius: 25px;
}

.news__item {
    margin-top: 40px;
    font-size: 1.6rem;
    line-height: 1.5;
}

.day,
.place,
.start,
.pay__group,
.address,
.tel,
.host,
.hp,
.mail,
.blog {
    margin-top: 12px;
}

.news__item::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E0EBE2;
    margin-top: 40px;
}

.news__item:last-of-type::after {
    display: none;
}

.news__item:first-of-type {
    margin-top: 0;
}

.new {
    background-color: #4E9C6F;
    color: #f5f5f5;
    border-radius: 4px;
    font-size: 1.4rem;
    padding: 0 8px 1px;
    margin-left: 4px;
}

.newsItem__txt {
    margin-bottom: 8px;
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-top: 4px;
}

.newsItem_day,
.newsItem__day {
    font-size: 1.4rem;
}

.news__message {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 500;
}

.place p:first-of-type {
    white-space: nowrap;
}

.day,
.place,
.start,
.pay__group,
.hostPlayer,
.address,
.host,
.player {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.tel {
    display: flex;
    gap: 22px;
}

.player {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.hostPlayer p {
    margin-top: 0;
}

.pay,
.address__title,
.start p:first-of-type,
.player p:first-of-type{
    white-space: nowrap;
}

.host__player {
    margin-left: 48px;
}

.hp p:last-of-type,
.hp p:last-of-type a,
.mail p:last-of-type {
    overflow-wrap: break-word;
}

.hp p:first-of-type,
.mail p:first-of-type,
.tel p:first-of-type {
    white-space: nowrap;
}

.hp__address,
.mail__address,
.blog__address {
    overflow-wrap: break-word;
    transition: 0.4s;
    cursor: pointer;
}

.newsItem__click {
    transition: 0.4s;
    cursor: pointer;
}

.hp__address:hover,
.mail__address:hover,
.blog__address:hover,
.newsItem__click:hover {
    color: #4E9C6F;
} 

.memo {
    margin-top: 12px;
}

.memo a {
    transition: 0.4s;
    cursor: pointer;
}

.memo a:hover {
    color: #4E9C6f;
}

.wp-pagenavi {
    margin-top: 56px;
    text-align: center;
    font-size: 1.6rem;
}

.wp-pagenavi span,
.wp-pagenavi a {
    margin: 10px;
}

.current {
    font-size: 2rem;
    font-weight: 700;
}

.wp-pagenavi a:hover {
    color: #4E9C6F;
}

/* news ~320px */
@media screen and (max-width: 320px) {
    .news__message {
        font-size: 1.8rem;
    }
}
/* news ~320px */

/* news tablet 600px~ */
@media screen and (min-width: 600px) {
    .section--cpnews {
        padding:  112px 9.7% 56px;
        position: relative;
    }

    .section--cpnews .title::after {
        top: -18px;
        left: -13%;
    }

    .newsItem__content {
        margin-left: 20px;
    }
    
    .news__txt {
        margin: 56px auto 0;
        padding: 56px 40px 64px;
        max-width: 1160px;
    }

    .host__group {
        display: flex;
        align-items: baseline;
        gap: 16px;
    }

    .host__player {
        margin-left: 0;
    }

    .hp,
    .mail,
    .blog {
        display: flex;
        gap: 16px;
    }

    .hp p:last-of-type {
        margin-left: 0;
    }

    .tel {
        display: flex;
        gap: 20px;
    }

    .wp-pagenavi span,
    .wp-pagenavi a {
        margin: 16px;
    }
}
/* news 600px~ */

/* news pc 1024px */
@media screen and (min-width: 1024px) {
    .section--cpnews {
        padding: 120px 9.7% 160px;
    }

    .section--cpnews .title::after {
        font-size: 9.6rem;
        top: -30px;
        left: -13%;
    }

    .news__item {
        letter-spacing: 0.08em;
        line-height: 1.6;
    }

    .news__txt {
        margin: 80px auto 0;
        padding: 80px 32px;
        max-width: 1160px;
    }

    .news__sp {
        display: none;
    }

    .day
    .place,
    .start,
    .pay__group,
    .address,
    .tel,
    .host,
    .hp,
    .news__message {
        margin-top: 16px;
    }
    
    .pay__group,
    .host__group {
        display: flex;
        align-items: baseline;
        gap: 16px;
    }

    .pay__group {
        gap: 16px;
    }

    .address__content {
        display: flex;
        gap: 16px;
    }

    .wp-pagenavi {
        margin-top: 96px;
    }

    .thumbnailandcontent {
        display: flex;
    }

    .newsItem_day,
    .newsItem__day,
    .newsItem__txt,
    .thumbnailandcontent {
        margin-left: 40px;
    }

    .thumbnail img {
        margin-right: 20px;
        margin-top: 4px;
        width: 280px;
        height: auto;
    }

    .newsItem__content div:first-of-type {
        margin-top: 0;
    }
}
/* news 1024px */


/* news pc 1440px */
@media screen and (min-width: 1440px) {
    .news__txt {
        padding: 80px;
    }

    .newsItem_day,
    .newsItem__txt,
    .thumbnailandcontent {
        margin-left: 104px;
    }
}

/* news pc 1800px */
@media screen and (min-width: 1800px) {
    .section--cpnews {
        padding: 200px 9.7% 240px;
    }

    .section--cpnews .title {
        text-align: center;
    }

    .section--cpnews .title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* fotter */
.footer::before {
    background-image: url(../img/cp-footer-sp.svg);
    top: -4%;
}

@media screen and (min-width: 1024px) {
    .footer::before {
        background-image: url(../img/cp-footer-pc2.svg);
        top: -24%;
    }

    .footer__group {
        padding: 80px 9.7%;
    }
}

/* footer pc 1800px */
@media screen and (min-width: 1800px) {
    .footer::before {
        top: -50%;
    }
}
