/*
Theme Name: 雨本洋輔 展示サイト
Description: 展示の入口と記事アーカイブのための Arkhe 子テーマ。
Template: arkhe
Version: 1.0.9
Text Domain: amemoto-exhibitions
*/

.amemoto-exhibition {
    --art-ink: #172d3a;
    --art-muted: #516570;
    --art-blue: #275976;
    --art-line: #dce5e9;
    --art-width: 73rem;
    margin: 0;
    background: #fff;
    color: var(--art-ink);
    font: 400 16px / 1.8 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.amemoto-exhibition--current {
    --art-ink: #1e2143;
    --art-muted: #52546c;
    --art-blue: #2e3091;
    --art-line: #e1e2ef;
}

.amemoto-exhibition *, .amemoto-exhibition *::before, .amemoto-exhibition *::after {
    box-sizing: border-box;
}

.amemoto-exhibition :is(h1, h2, p, figure, dl, dd, ul) {
    margin: 0;
}

.amemoto-exhibition a {
    color: inherit;
    text-underline-offset: .25em;
}

.amemoto-exhibition a:focus-visible, .amemoto-exhibition summary:focus-visible {
    outline: 2px solid var(--art-blue);
    outline-offset: 5px;
}

.art-wrap {
    width: min(var(--art-width), 100% - 6rem);
    margin-inline: auto;
}

.art-skip {
    position: absolute;
    z-index: 10;
    top: 1rem;
    left: 1rem;
    padding: .5rem 1rem;
    background: white;
    transform: translateY(-200%);
}

.art-skip:focus { transform: none; }

.art-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.1rem;
    border-bottom: 1px solid var(--art-line);
}

.amemoto-exhibition .art-name {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .8rem;
    font-size: 1.16rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-decoration: none;
}

.art-reading {
    color: var(--art-muted);
    font-size: .69rem;
    font-weight: 500;
    letter-spacing: .08em;
}

.amemoto-exhibition .art-nav-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    white-space: nowrap;
    font-size: .88rem;
    font-weight: 650;
    text-decoration: none;
}

.amemoto-exhibition .art-nav-link:hover,
.amemoto-exhibition .art-nav-link[aria-current="page"] {
    color: var(--art-blue);
    text-decoration: underline;
}

.art-hero {
    display: grid;
    grid-template:
        "art title" auto
        "art message" 1fr
        "art visit" auto
        / minmax(0, .96fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 5.5vw, 5rem);
    row-gap: clamp(.65rem, 1.4vw, 1.1rem);
    width: min(100%, 65rem);
    margin-inline: auto;
    padding-block: clamp(2.55rem, 4.6vw, 4.25rem) clamp(3rem, 5.8vw, 4.75rem);
}

.amemoto-exhibition .art-title {
    font-size: clamp(2.7rem, 5.3vw, 4.75rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.075em;
}

.art-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.art-poster-title {
    grid-area: title;
    position: relative;
    justify-self: end;
    width: min(100%, 29rem);
    aspect-ratio: 1.9;
    overflow: hidden;
}

.art-hero-art {
    grid-area: art;
    position: relative;
    align-self: center;
    justify-self: end;
    width: min(100%, 21.75rem);
    aspect-ratio: .56;
    overflow: hidden;
}

.amemoto-exhibition :is(.art-poster-title, .art-hero-art) > img {
    position: absolute;
    display: block;
    height: auto;
    max-width: none;
}

/* Show the original lettering and figure within the white space of their source images. */
.art-poster-title > img {
    top: -20%;
    left: -108%;
    width: 220%;
}

.art-hero-art > img {
    top: -14%;
    left: -14%;
    width: 218%;
}

.art-hero-message {
    grid-area: message;
    align-self: center;
    justify-self: center;
    padding-block: .3rem;
    color: var(--art-blue);
    font-size: clamp(1.08rem, 1.58vw, 1.32rem);
    font-weight: 780;
    letter-spacing: .08em;
    line-height: 1.35;
    writing-mode: vertical-rl;
}

.art-hero-copy {
    grid-area: visit;
    align-self: end;
    text-align: end;
    color: var(--art-blue);
}

.art-hero-date {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: .12em;
    font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(2.35rem, 4.35vw, 4rem);
    font-weight: 800;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -.054em;
    line-height: 1.1;
}

.art-hero-date time { white-space: nowrap; }

.amemoto-exhibition .art-hero-venue {
    margin-top: .55rem;
    font-size: clamp(.95rem, 1.52vw, 1.2rem);
    font-weight: 750;
    line-height: 1.55;
}

.art-hero-venue small { display: block; font-size: .78em; font-weight: 650; }

.amemoto-exhibition .art-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .38rem 1.05rem;
    border: 1px solid var(--art-blue);
    color: var(--art-blue);
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
}

.amemoto-exhibition .art-button:hover { background: var(--art-blue); color: #fff; }
.art-hero-copy .art-button { margin-top: .9rem; }

.art-details {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(2.5rem, 7vw, 7rem);
    padding-block: clamp(2.9rem, 6vw, 5.4rem);
    border-top: 1px solid var(--art-line);
}

.amemoto-exhibition .art-section-title {
    margin-bottom: 1.05rem;
    font-size: clamp(1.34rem, 2.6vw, 2rem);
    font-weight: 760;
    line-height: 1.4;
    letter-spacing: -.034em;
}

.art-brand-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3rem, 7.2vw, 5.25rem);
    margin-bottom: 1.35rem;
}

.art-brand-logos > img {
    display: block;
    width: 6.25rem;
    max-width: 44%;
    min-width: 0;
    height: auto;
}

.art-brand-logos > img + img { width: 7.5rem; }

.art-about p { max-width: 35em; line-height: 2.05; }
.art-about p + p { margin-top: .9em; }
.art-visit { scroll-margin-top: 1.5rem; }

.art-facts-row {
    display: grid;
    grid-template-columns: 4.8rem 1fr;
    gap: .625rem;
    padding-block: .45rem;
}

.art-facts dt { color: var(--art-muted); font-size: .88rem; }
.art-facts dd { font-weight: 650; }
.art-address { display: block; font-size: .88rem; font-style: normal; font-weight: 400; }
.art-map { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .4rem; font-size: .89rem; font-weight: 700; }

.art-subpage {
    padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem);
}

.art-subhead { max-width: 47rem; margin-bottom: clamp(1.6rem, 4vw, 2.7rem); }
.amemoto-exhibition .art-subhead .art-title { font-size: clamp(2.3rem, 5vw, 4.1rem); }
.art-subhead p { margin-top: .9rem; color: var(--art-muted); }
.amemoto-exhibition .art-photo { margin-bottom: clamp(1.75rem, 5vw, 3.25rem); }
.art-photo img { display: block; width: 100%; height: auto; }
.art-photo figcaption { padding-top: .65rem; color: var(--art-muted); font-size: .8rem; }
.art-past-meta { color: var(--art-muted); font-variant-numeric: lining-nums tabular-nums; }
.art-record { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5rem); margin-bottom: 2rem; }
.amemoto-exhibition .art-record .art-photo { margin-bottom: 0; }
.art-small-links { display: grid; list-style: none; padding: 0; }
.art-small-links li { border-top: 1px solid var(--art-line); }
.art-small-links a { display: flex; min-height: 2.75rem; align-items: center; padding-block: .35rem; }

.art-archive-index { max-width: 48rem; }
.art-archive-index > details { border-top: 1px solid var(--art-line); }
.art-archive-index > details:last-of-type { border-bottom: 1px solid var(--art-line); }
.art-archive-index summary { min-height: 3.8rem; padding: .85rem .4rem; cursor: pointer; font-weight: 740; }
.art-archive-index summary:hover { color: var(--art-blue); }
.art-archive-count { margin-inline-start: .65rem; color: var(--art-muted); font-size: .79rem; font-weight: 500; }
.art-archive-list { padding: 0 .4rem 1rem 1.35rem; list-style: none; }
.art-archive-list li + li { border-top: 1px solid var(--art-line); }
.art-archive-list a { display: grid; min-height: 2.75rem; grid-template-columns: 6.5rem 1fr; gap: .4rem 1rem; align-items: baseline; padding-block: .65rem; font-size: .93rem; text-decoration: none; }
.art-archive-list a:hover { text-decoration: underline; }
.art-archive-list time { color: var(--art-muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.art-archive-pages { margin-top: 2.7rem; }

.art-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem 1.25rem;
    padding-block: 1.05rem;
    border-top: 1px solid var(--art-line);
    color: var(--art-muted);
    font-size: .8rem;
}

.art-footer a { display: inline-flex; min-height: 2.75rem; align-items: center; }

@media (max-width: 49rem) {
    .art-wrap { width: min(var(--art-width), 100% - 2.5rem); }
    .art-header { min-height: 4.25rem; }
    .art-hero {
        grid-template:
            "title title" auto
            "art message" 1fr
            "art visit" auto
            / minmax(0, .92fr) minmax(0, 1.08fr);
        gap: .65rem .55rem;
        padding-block: 1.55rem 2.6rem;
    }
    .art-poster-title { width: min(83%, 24rem); }
    .art-hero-art { width: min(100%, 16rem); justify-self: center; }
    .art-hero-date { font-size: clamp(1.25rem, 5.6vw, 2.35rem); }
    .art-hero-message { font-size: clamp(1rem, 2.6vw, 1.24rem); }
    .amemoto-exhibition .art-hero-venue {
        font-size: clamp(.825rem, 3.85vw, 1.06rem);
        letter-spacing: -.02em;
    }
    .art-hero-copy .art-button { margin-top: .65rem; }
    .art-details, .art-record { grid-template-columns: 1fr; }
    .art-record { gap: 1.5rem; }
}

@media (max-width: 25rem) {
    .art-header .art-reading { display: none; }
    .amemoto-exhibition .art-button { padding-inline: .75rem; }
    .art-archive-list a { grid-template-columns: 1fr; gap: .1rem; }
}
