@charset "UTF-8";

#works-history-top h1 {
    position: absolute;
    padding-top: 50px;
    font-family: var(--font-family-02);
    font-size: clamp(1.125rem, 0.912rem + 1.06vw, 2.188rem);
    font-weight: var(--font-weight-7);
    color: var(--base);
    text-shadow: 1px 2px 0px #00000029;
    z-index: 1;
}
.works-history-title h2 {
    font-family: var(--font-family-02);
    font-size: clamp(0.875rem, 0.75rem + 0.63vw, 1.5rem);
    font-weight: var(--font-weight-5);
    color: var(--reg-text);
    margin: clamp(1.25rem, 0.875rem + 1.88vw, 3.125rem) clamp(1.875rem, -1.313rem + 15.94vw, 17.813rem) clamp(0.625rem, 0.438rem + 0.94vw, 1.563rem);
}
.works-history-title h3 {
    font-family: var(--font-family-02);
    font-size: clamp(0.875rem, 0.75rem + 0.63vw, 1.5rem);
    font-weight: var(--font-weight-5);
    color: var(--reg-text);
    margin: clamp(1.25rem, 0.875rem + 1.88vw, 3.125rem) clamp(1.875rem, -1.313rem + 15.94vw, 17.813rem) clamp(0.625rem, 0.438rem + 0.94vw, 1.563rem);
}
.works-history-title hr {
    margin: 0 clamp(1.875rem, -1.313rem + 15.94vw, 17.813rem) clamp(0rem, -0.625rem + 3.13vw, 3.125rem);
}
#works-gallery {
    margin: 0 0 25px;
    justify-content: center;
    align-items: center;
}
.gallery {
    display: flex;
    flex-grow: 1;
}
.gallery-image {
    width: clamp(24.375rem, 11.304rem + 26.78vw, 43.438rem);
}
.gallery-image p {
    font-family: var(--font-family-02);
    font-size: var(--font-size-18);
    font-weight: var(--font-weight-5);
    color: var(--reg-text);
    padding: 50px 0 0 80px;
}
.gallery-image  .to-works {
    font-size: var(--font-size-18);
}
.gallery-image  a {
    color: var(--reg-text);
}
.gallery-image  a:hover {
    color: var(--yellow-01);
    transition: var(--transition-300e);
}
.gallery .wrapper {
    margin: 0 0 0 clamp(0.438rem, -1.405rem + 3.78vw, 3.125rem);
    max-width: 255px;
}
.gallery-image img {
    object-fit: contain;
    width: 100%;
    max-height: 520px;
    height: clamp(18.125rem, 7.411rem + 21.95vw, 33.75rem);
    border-radius: 5px;
}
.gallery-thumbnails {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    width: clamp(8.438rem, 3.081rem + 10.97vw, 16.25rem);
}
.gallery-thumbnails img {
    aspect-ratio: 4/4;
    object-fit: cover;
    cursor: pointer;
    max-width: 190px;
    width: 100%;
}
#works-history-content {
    margin-top: clamp(2.188rem, 0.473rem + 3.51vw, 4.688rem);
    margin-bottom: clamp(3.125rem, 0.982rem + 4.39vw, 6.25rem);
}
#works-history-content h3 {
    font-family: var(--font-family-02);
    font-size: clamp(0.813rem, 0.598rem + 0.44vw, 1.125rem);
    font-weight: var(--font-weight-7);
    color: var(--white);
    margin: 0 14% clamp(0.938rem, 0.509rem + 0.88vw, 1.563rem) 15%;
    padding: clamp(0.313rem, 0.098rem + 0.44vw, 0.625rem) 10px;
    background-color: var(--main-01);
}
#works-history-content h4 {
    font-family: var(--font-family-02);
    font-size: clamp(0.813rem, 0.598rem + 0.44vw, 1.125rem);
    font-weight: var(--font-weight-7);
    color: var(--main-01);
    margin: 0 14% 10px 16%;
}
#works-history-content p {
    font-family: var(--font-family-02);
    font-size: clamp(0.813rem, 0.598rem + 0.44vw, 1.125rem);
    font-weight: var(--font-weight-5);
    color: var(--reg-text);
    margin: 0 14% clamp(0.938rem, -0.562rem + 3.07vw, 3.125rem) 15%;
    padding-left: 25px;
}
#works-history-spec {
    margin-left: clamp(7.188rem, -7.169rem + 29.41vw, 28.125rem);
}
#works-history-spec p {
    font-family: var(--font-family-02);
    font-size: clamp(0.813rem, 0.598rem + 0.44vw, 1.125rem);
    font-weight: var(--font-weight-5);
    color: var(--reg-text);
}
#works-history-spec .to-works {
    color: var(--reg-text);
}
#works-history-spec .to-works:hover {
    color: var(--yellow-01);
    transition: var(--transition-300e);
}
.img-mask-thumbnails {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.img-mask-thumbnails .caption-before,
.img-mask-thumbnails .caption-after {
    display: inline;
}
.img-mask-thumbnails .caption-before span {
    position: absolute;
    display: inline-block;
    top: clamp(3.125rem, 0.639rem + 5.09vw, 6.75rem);
    right: clamp(1.875rem, -0.268rem + 4.39vw, 5rem);
    width: clamp(2.5rem, 1.857rem + 1.32vw, 3.438rem);
    padding: clamp(0.375rem, 0.246rem + 0.26vw, 0.563rem) 0 clamp(0.5rem, 0.414rem + 0.18vw, 0.625rem) 6px;
    background: var(--reg-text);
    color: var(--base);
    font-family: var(--font-family-osw);
    font-size: clamp(0.688rem, 0.516rem + 0.35vw, 0.938rem);
    font-weight: var(--font-weight-4);
    text-align: center;
}
.img-mask-thumbnails .caption-after span {
    position: absolute;
    display: inline-block;
    top: clamp(3.125rem, 0.639rem + 5.09vw, 6.75rem);
    right: clamp(2.188rem, 0.045rem + 4.39vw, 5.313rem);
    width: clamp(2.188rem, 1.545rem + 1.32vw, 3.125rem);
    padding: clamp(0.375rem, 0.246rem + 0.26vw, 0.563rem) 0 clamp(0.5rem, 0.414rem + 0.18vw, 0.625rem) 6px;
    background: var(--base);
    color: var(--reg-text);
    font-family: var(--font-family-osw);
    font-size: clamp(0.75rem, 0.579rem + 0.35vw, 1rem);
    font-weight: var(--font-weight-5);
    text-align: center;
}