@charset "UTF-8";

body {

    background-color: var(--main-color-w);

}

/*===================
mv
===================*/
.pc-news_mv {

    width: 100%;
    height: 35vh;
    max-height: 1040px;
    top: 0;
    left: 0;
    margin-bottom: var(--section-gutter);

}

.pc-news-mv_img {
    width: auto;
    height: 35vh;
    max-height: 1040px;
    position: relativ;

    background-image: url(../../images/news/mv_news.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    box-shadow: inset 0 -10px 60px 10px var(--text-color);
    animation: fadeIn 1s forwards;


}



/*===============
news（お知らせ・イベント）
===============*/

.news {
    /* background-color: aquamarine; */
    margin-bottom: var(--section-gutter);
    padding-bottom: var(--contents-gutter);
    background-color: rgba(30, 28, 80, 0.1);

}

.news_inner {
    padding: 0 var(--side-gutter);
}

.news_box_wrap {
    display: grid;
    resize: vertical;
}

.news_box {
    overflow: auto;

    background-color: var(--main-color-w);
    margin-top: 0.6rem;
    filter: drop-shadow(1px 2px 2px #aaa);
    padding-bottom: 1em;

}



.news_box p {

    width: 80%;
    font-family: var(--font-sans);
    /* height: 154px; */
    text-align: left;
    margin-left: auto;
    margin-right: auto;

}



.news_box .day {
    border-bottom: solid var(--main-color-o);

    margin-top: 1em;
    margin-bottom: 1em;
}

.news_box .news_title {
    font-weight: bold;
}

.news_box .news_text {
    height: 80px;
    margin-bottom: 1em;

}

.news_box h3 {
    padding: 0.5em;
}

.txt_p::before {
    content: "➤";
    margin-right: 1em;
    color: var(--main-color-o)
}

.c43D3DE::before {
    color: #43D3DE
}

.cF8E23B::before {
    color: #F8E23B
}

.c8997ED::before {
    color: #8997ED
}

.c42DF4C::before {
    color: #42DF4C
}

.cDE4386::before {
    color: #DE4386;
}

/* =================
pop
=================== */

input {
    display: none;
}

/* ポップアップwindow部分 */
#overlay {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;


}

/* オーバーレイの背景部分 */
#bg_gray {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10001;
}

/* ウィンドウ部分 */
#pop-window {
    width: 60%;
    padding: 20px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--main-color-w);
    border-radius: 10px;
    box-shadow: 0px 0px 20px -6px rgba(0, 0, 0, 0.6);
    z-index: 10002;
    opacity: 0;
}

#calender {
    background-color: #fff;
}

#calender h2 {
    color: var(--main-color-o);
}

#calender img {
    height: 60vh;
    margin: auto;

}

/* 閉じるボタン */
#btn_cloth {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color-o);
    border-radius: 5px;
    z-index: 10003;
    cursor: pointer;
}

#btn_cloth:hover {
    opacity: 0.7;
}

#btn_cloth span,
#btn_cloth span::before {
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
}

#btn_cloth span {
    transform: rotate(45deg);
}

#btn_cloth span::before {
    content: "";
    position: absolute;
    bottom: 0;
    transform: rotate(-90deg);
}


/* クリックで表示 */
#popup:checked~#overlay {
    visibility: visible;
}

#popup:checked~#overlay #pop-window {
    animation: fadein 500ms forwards;
    animation-timing-function: ease-in-out;
}

@keyframes fadein {
    100% {
        opacity: 1;
    }
}


/* コンテンツ部分のスタイル */


#txt_label {
    text-decoration: underline;
    cursor: pointer;
}

#txt_label:hover {
    opacity: 0.7;
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
メディアクエリ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media screen and (max-width:767px) {
    .pc-news-mv_img {
        background-position: 75%;

    }
}

/*========max-width:767px========*/

@media screen and (max-width:960px) {

    /* pop */
    #pop-window {
        width: 60%;
    }

    #calender img {
        height: 100%;

    }
}

/*========max-width:960px========*/


@media screen and (max-width:767px) {
    #pop-window {
        width: 80%;
    }

    #calender img {
        height: 100%;

    }
}

/*========max-width:767px========*/

@media screen and (max-width:520px) {
    #pop-window {
        width: 90%;
    }

    #calender img {
        width: 100%;

    }
}

/*========max-width:520px========*/