@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Oswald:wght@200..700&display=swap');

/* 解説ページへ */
#guides {
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.guide_link {
    display: block;
    width: 292px;
    background: #f5f4f0;
    box-shadow: -4px 14px 11px #3333337d;
    text-decoration: none;
}

.guide_link div {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.guide_img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 103%;
    transform: translateX(-50%) translateY(-50%);
    transition: transform 0.3s;
}

.guide_img.big {
    transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.guide_link p {
    font-size: 16px;
    font-weight: 400;
    line-height: 175%;
    letter-spacing: 0.01em;
    padding: 0 16px 4px;
    color: #333333;
}

/* イベント */
#event {
    width: 100%;
    margin-top: 80px;
    position: relative;
    background: #582a1c;
    padding: 80px 0 100px;
    margin-bottom: -100px;
}

#event_container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
}

.section_title#section_title_event {
    color: #f5f4f0;
}

.section_title#section_title_event span {
    color: #f5f4f0;
}

.section_title#section_title_event span:before {
    background: #f5f4f0;
}

.section_title#section_title_event span:after {
    background: #f5f4f0;
}

#event_link {
    display: block;
    margin-top: 64px;
    width: 379px;
    height: 379px;
    transition: opacity 0.3s;
}

#event_link:hover {
    opacity: 0.6;
}

#event_link img {
    width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    /* 解説ページへ */
    #guides {
        max-width: none;
        width: 100%;
        margin: 80px auto 0;
        padding: 0 8vw;
        display: block;
        flex-wrap: initial;
        gap: 0;
    }

    .guide_link {
        width: auto;
        max-width: 292px;
        margin: 0 auto;
    }

    .guide_link + .guide_link {
        margin-top: 72px;
    }

    .guide_link div {
        position: relative;
        width: 100%;
        height: auto;
        padding-top: 75.3%;
        overflow: hidden;
    }

    .guide_link p {
        padding: 0 16px 20px;
    }

    /* イベント */
    #event {
        margin-top: 100px;
        padding: 96px 0 120px;
        margin-bottom: -120px;
    }

    #event_container {
        max-width: none;
        width: 100%;
        margin: 0 auto;
        padding: 0 8vw;
    }

    #event_link {
        margin-top: 108px;
        width: 100%;
        height: auto;
        transition: opacity 0s;
    }

    #event_link:hover {
        opacity: 1;
    }
}