@charset "utf-8";

h1 {
    font-family: 'Questrial', sans-serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding-left: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 72px;
}

h1::after {
    content: '';
    display: block;
    width: 250px;
    height: 2px;
    background-color: #00213B;
}

.ex-wrap {
    max-width: 1600px;
    width: 90%;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 72px;
}

.ex-title {
    display: flex;
}

.ex-title h2 {
    font-size: 18px;
    font-weight: 600;
}

.ex-title p {
    margin-left: 32px;
    font-size: 18px;
    font-weight: 600;
}

.ex-contents {
    margin-top: 72px;
}

.flier {
    display: flex;
    justify-content: center;
}

.flier img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    transition: 0.3s;
}

.flier li:first-child {
    margin-right: 72px;
}

.caption {
    margin-top: 72px;
    max-width: 672px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.caption img {
    width: 300px;
}

.ex-contents img:hover {
    filter: brightness(0.7);
}

.ex-info {
    max-width: 672px;
    width: 90%;
    margin-top: 72px;
}

.ex-info h3 {
    font-size: 16px;
    font-weight: 400;
}

.ex-info p{
    margin-top: 16px;
    margin-left: 8px;
    line-height: 28px;
}

.ex-info .place a{
    text-decoration: underline;
}

.photo {
    display: grid;
    grid-template-columns: repeat(auto-fit, 400px);
    justify-content: center;
    align-items: center;
    column-gap: 72px;
    row-gap: 72px;
    margin-top: 128px;
}

.photo li img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    transition: 0.3s;
}

.photo li img:hover {
    filter: brightness(0.7);
}

.footer {
    margin-top: 128px;
}

@media (max-width: 1440px) {
    .photo {
        display: grid;
        grid-template-columns: repeat(auto-fit, 266px);
        justify-content: center;
        align-items: center;
        column-gap: 48px;
        row-gap: 48px;
        margin-top: 128px;
    }

    .photo li img {
        width: 266px;
        height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 800px) {
    h1 {
        padding-top: 32px;
        font-size: 20px;
        padding-left: 20px;
    }

    h1::after {
        width: 138px;
        height: 1px;
    }

    .ex-wrap {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 48px;
    }

    .ex-title {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ex-title h2 {
        font-size: 16px;
        font-weight: 600;
    }

    .ex-title p {
        margin-left: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .flier {
        flex-direction: column;
    }


    .flier li:first-child {
        margin-right: 0px;
        margin-bottom: 24px;
    }

    .caption {
        margin-top: 48px;
        text-align: center;
    }

    .ex-info {
        margin-left: 0;
        margin-top: 48px;
        text-align: left;
    }

    .ex-contents {
        margin-top: 48px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ex-contents img {
        width: 260px;
        margin-right: 0px;
    }

    .ex-contents h3 {
        margin-top: 16px;
        font-size: 14px;
        font-weight: 400;
    }

    .ex-contents p{
        margin-top: 16px;
        line-height: 24px;
        font-size: 14px;
    }

    .photo {
        column-gap: 48px;
        row-gap: 48px;
        margin-top: 72px;
    }

    .footer {
        margin-top: 48px;
    }
}