@charset "UTF-8";

/* トップ画像---------------------------------------------------- */
#top-image img {
    pointer-events: none;
    display: block;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: relative;
}

#scroll-down-btn {
    display: block;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#scroll-down {
    pointer-events: none;
    width: 150px;
}

#scroll-down-btn:hover {
    opacity: 0.5;
}

@media screen and (max-width:840px) {
    #scroll-down {
        width: 18vw;
    }
}

@media screen and (max-width: 480px) {
    #scroll-down {
        width: 25vw;
    }
}

/* 更新情報------------------------------------------------------ */
div.update{
    padding: 0 40px;
}
div.update-data{
    display: flex;
    margin: 10px 0;
}
div.update-data-date{
    width: 6.5em;
    padding-right: 4px;
    border-right: 2px solid var(--gray_color);
}
div.update-data-description{
    padding: 0 0 0 1em;
}

/* クイックメニュー --------------------------------------------- */
.quickmenu {
    display: flex;
    justify-content: space-between;
    padding: 0 calc(30vw - 350px);
}

.quickmenu_btn {
    display: inline-block;
    transition-duration: .3s;
    position: relative;
}

.quickmenu_btn:hover {
    text-decoration: none;
    transform: scale(1.1);
}

.quickmenu_btn img {
    pointer-events: none;
    display: block;
    height: 60%;
    z-index: 3;
    margin-bottom: 3px;
}

.quickmenu_btn span {
    z-index: 3;
}

.quickmenu_btn div  {
    font-size: 1em;
    font-weight: bold;
    color: var(--main_color);
    background-color: var(--main_color);
    width: max(220px, min(320px, 25vw));
    height: 200px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.quickmenu_btn div.quickmenu_btn-wrapper {
    box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.4);
}

.quickmenu_btn div.quickmenu_btn-background-white {
    position: absolute;
    background-color: white;
    width: max(210px, min(310px, calc(25vw - 10px)));
    height: 190px;
    border-radius: 7px;
    z-index: 1;
}

/* 投票期間外 */
.quickmenu_btn.close {
    pointer-events: none;
    position: relative;
}

.quickmenu_btn.close:hover {
    transform: none;
}

.quickmenu_btn .close_overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quickmenu_btn.close .close_overlay {
    opacity: 1;
}

.close_text {
    font-size: 1.2em;
}

.close_sub {
    font-size: 0.8em;
    margin-top: 4px;
}

@media screen and (max-width:840px) {
    .quickmenu {
        padding: 0 calc(42vw - 250px);
    }
}

@media screen and (max-width:480px) {
    .quickmenu {
        flex-direction: column;
        align-items: center;
    }

    .quickmenu_btn div  {
        width: 70vw;
        height: 180px;
    }
    
    .quickmenu_btn div.quickmenu_btn-background-white {
        width: calc(70vw - 10px);
        height: 170px;
    }

    .quickmenu_btn {
        margin-bottom: 30px;
    }

    .quickmenu_btn:last-child {
        margin-bottom: 0;
    }

}

/* 各種リンク------------------------------------------------------ */
div.article{
    margin: 0 0 0 0;
}
div.article-piece{
    display: flex;
    /* justify-content: space-between; */
    justify-content: center;
    margin: 2em 0;
}
img.article-piece-photo{
    width: min(330px, calc(100vw * 0.6 - 440px));
    /* width: 330px; */
    height: calc(330px * 3 / 4);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.article-piece-main {
    margin-right: 4em;
}
@media screen and (max-width:480px) {
    .article-piece-main {
        margin-right: 0;
    }
}
ul.article-piece-main-content{
    margin: 1em 1.5em;
    padding: 0.2em 0 0.2em 1em;
    list-style: none;
    border-left: 1px solid var(--gray_color);
}


/* レスポンシブ------------------------------------------------------ */
/* タブレット対応 */
@media screen and (max-width:840px) {
    img.article-piece-photo{
        width: min(250px, calc(100vw * 0.84 - 375px));
        height: calc(250px * 3 / 4);
    }
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
    div.fes-info{
        width: calc(100% - 20px);
    }
    div.fes-info-head{
        font-size: 1.1em;
    }
    span.fes-info-content{
        font-size: 1.2em;
    }
    span.fes-info-remark{
        font-size: 0.9em;
    }
    div.update{
        padding: 0;
        font-size: 0.95em;
    }
    div.update-data-date{
        width: 7.5em;
        border-right: 2px solid var(--gray_color);
    }
    div.update-data-description{
        padding: 0 0 0 0.8em;
    }
    img.article-piece-photo{
        display: none;
    }
}

