@charset "utf-8";

/* highlight-item（みどころ各ブロック） -------------------- */

.highlight-item {
    margin-bottom: 4em;

    &:last-child {
        margin-bottom: 0;
    }

    &:has(.flex-txt) {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    & .flex-fig {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    & figcaption {
        padding-bottom: 8px;
        /*text-align: right;*/
    }

    & img {
        width: 100%;
        border-radius: 4px;
    }

    & .flex-txt {
        width: 100%;
        margin-bottom: 2em;
    }
}

.chapter-title--full {
    width: 100%;
}

.chapter-title {
    font-size: 1.4em;
    margin-bottom: 1em;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 1em;
    border-bottom: 3px dotted rgba(0,0,0,0.15);
}

.innerttl {
    padding: 8px 10px;
    border-radius: 3px;
    display: inline-block;
    text-align: center;
    line-height: 1;
    font-weight: 500;
    font-size: 1.2rem;
    background-color: #333;
    color: #fff;
}

/* quote -------------------- */

.exhi-quote {
    margin: 2em 0;
    padding: 1.5em 2em;
    background-color: rgba(0,0,0,0.025);
    border-radius: 0 4px 4px 0;
}

#basic-info .quote-txt,
#basic-info .quote-source {
    font-size: 1.35rem;
}

#basic-info .quote-source {
    text-align: right;
    margin-bottom: 0;
}

/* indent -------------------- */

.indent {
    margin-top: 1em;
    padding-left: 1em;
}

/* みどころ1 グリッドレイアウト -------------------- */

.highlight-item--m1 {
    & figure {
        width: 100%;
        margin-bottom: 1.5em;

        & img {
            width: 100%;
            border-radius: 4px;
        }
    }

    & .flex-txt {
        width: 100%;
    }
}

/* highlight-artist（みどころ2 各作家） -------------------- */

.highlight-intro {
    width: 100%;
    margin-bottom: 1.5em;
}

.highlight-closing {
    width: 100%;
    margin-top: 1em;
}

.highlight-artist {
    display: flex;
    gap: 1.5em;
    margin-bottom: 2em;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;

    & .highlight-artist-txt {
        width: 100%;
    }

    & figure {
        width: 100%;

        & img {
            width: 100%;
            border-radius: 4px;
        }
    }
}

/* 出品作家略歴 -------------------- */

#artist {
    & .profile-wrap {
        margin-bottom: 2em;
    }

    & .profile-txt {
        margin-bottom: 2em;

        &:last-child {
            margin-bottom: 0;
        }

        & h4 {
            margin-bottom: 0;
            text-align: center;
        }
    }

}

.italic {
    font-style: italic;
}

/* ============================================================================================== */
/* Media query                                                                                    */
/* ============================================================================================== */

@media screen and (min-width: 768px) {
    #basic-info .quote-txt,
    #basic-info .quote-source {
        font-size: 1.45rem;
    }

    .highlight-item:has(.flex-txt) {
        flex-direction: row-reverse;
        gap: 1.5em;
    }

    .highlight-item {
        & .flex-txt {
            flex: 1;
            min-width: 0;
            width: auto;
            margin-bottom: 0;
        }

        & .flex-fig,
        & .flex-fig--double {
            width: 35%;
            flex-shrink: 0;
            margin: 0;
        }
    }

    .highlight-item.highlight-item--m1 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5em;
    }

    .highlight-item.highlight-item--m1 .chapter-title--full { grid-column: 1 / -1; }
    .highlight-item.highlight-item--m1 .fig-m1-placard      { grid-column: 1; grid-row: 2; margin-bottom: 0; }
    .highlight-item.highlight-item--m1 .flex-txt            { grid-column: 2; grid-row: 2; width: auto; margin-bottom: 0; }
    .highlight-item.highlight-item--m1 .fig-m1-taiban       { grid-column: 1; grid-row: 3; margin-bottom: 0; }
    .highlight-item.highlight-item--m1 .fig-m1-tabe         { grid-column: 2; grid-row: 3; margin-bottom: 0; }

    .chapter-title {
        text-align: left;
        justify-content: flex-start;
        flex-direction: row;
        padding-bottom: .65em;
        gap: 15px;
    }

    .highlight-artist {
        flex-direction: row-reverse;

        & .highlight-artist-txt {
            flex: 1;
            min-width: 0;
            width: auto;
        }

        & figure {
            width: 35%;
            flex-shrink: 0;
        }
    }

    #artist {
        & .profile-wrap {
            display: flex;
            flex-direction: row-reverse;
            gap: 1.5em;
            align-items: flex-start;
        }

        & .profile-txt {
            flex: 1;
            min-width: 0;
            width: auto;
            margin-left: 0;

            & h4 {
                text-align: left;
            }
        }

        & figure {
            width: 25%;
            flex-shrink: 0;
        }

    }

}

@media screen and (min-width: 960px) {
    #basic-info .quote-txt,
    #basic-info .quote-source {
        font-size: 1.45rem;
    }

}
