﻿@charset "UTF-8";
.btn-close, .btn-close:hover, .footer-fixed, .grid-item, .header-fixed, .modal, body {
    background: var(--red)
}
.btn-buy, .btn-buy:hover, .btn-close, .btn-close:hover, .contact-content h2, .copyright, .logo, .logo-contact, .logo-modal, body {
    color: var(--text)
}
body, html {
    overflow-x: hidden;
    width: 100%
}
.main-grid, html {
    -webkit-overflow-scrolling: touch
}
.modal-content, body.modal-open {
    overflow: hidden
}
.footer-fixed, .grid-item {
    border-top: 1px solid var(--red)
}
.btn-buy, .btn-close, .contact-link, .grid-item {
    cursor: pointer
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
button, input[type=button], input[type=submit] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0
}
:root {
    --bg: #ed1c24;
    --text: #f7f7f7;
    --red: #ed1c24;
    --border: #121212;
    --font-body: 'Courier New', Courier, monospace;
    --font-logo: 'futura-pt', sans-serif;
    --header-height: 50px;
    --footer-height: 60px;
    --gap: 0px
}
body {
    position: relative;
    max-width: 100vw;
    margin: 0 auto;
    font-family: var(--font-body);
    font-weight: 100;
    font-size: 14px;
    line-height: 1.4;
    touch-action: pan-y pinch-zoom
}
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none
}
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    border-bottom: 1px solid var(--red);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px
}
.logo, .logo-contact, .logo-modal {
    position: absolute;
    left: 0;
    font-family: var(--font-logo);
    font-weight: 600;
    font-style: italic;
    font-size: 22px;
    z-index: 1001;
    background: var(--red);
    top: 0
}
.btn-buy, .contact-content h2, .description-left, .description-right {
    font-family: var(--font-body)
}
.grid-item, .number-circle {
    align-items: center;
    transition: .15s linear
}
.logo {
    padding: 0
}
.logo-contact, .logo-modal {
    padding: 9.3px 20px
}
.logo-header {
    position: static
}
.header-location, .header-time {
    font-size: 14px
}
.main-grid {
    margin-top: var(--header-height);
    margin-bottom: var(--footer-height);
    padding: 0;
    min-height: calc(100vh - var(--header-height) - var(--footer-height))
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gap);
    border-right: 1px solid var(--red)
}
.grid-item {
    pointer-events: auto;
    aspect-ratio: 1/1;
    border-left: 1px solid var(--red);
    display: flex;
    justify-content: center;
    font-size: 13px;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}
.number-circle {
    display: inline-flex;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none
}
.footer-fixed, .modal {
    position: fixed;
    left: 0;
    width: 100%
}
.number-circle:hover {
    background-color: var(--text)
}
.footer-fixed {
    bottom: 0;
    height: var(--footer-height);
    z-index: 10
}
.footer-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 11px
}
.contact-link {
    flex: 1;
    text-align: left;
    font-size: 14px;
    transition: color .15s linear
}
.btn-buy, .btn-close, .popup-soldout {
    transition: .15s linear
}
.contact-content a, .contact-link:hover {
    color: var(--text);
    text-decoration: underline
}
.visit-day {
    flex: 1;
    text-align: center;
    font-size: 14px
}
.copyright {
    font-size: 14px;
    flex: 1;
    text-align: right
}
.modal {
    top: 0;
    height: 100vh;
    z-index: 100;
    display: none;
    flex-direction: column
}
.access-denied-overlay, .btn-buy {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.modal-contact.active, .modal.active {
    display: flex
}
.btn-close {
    position: absolute;
    margin-top: 0;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    z-index: 1000
}
.modal-content {
    height: calc(100vh - var(--header-height) - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}
.modal-content canvas, .modal-content img {
    max-width: 600px;
    max-height: auto;
    width: 450px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1/1;
    transform: scale(1.05);
    animation: 2s fadeInBlur
}
@keyframes fadeInBlur {
    0% {
        -webkit-filter: blur(20px)
    }
    50% {
        -webkit-filter: blur(10px)
    }
    100% {
        -webkit-filter: blur(0)
    }
}
.modal-content canvas.loaded, .modal-content img.loaded {
    transform: scale(1)
}
.modal-footer {
    position: relative;
    width: 100%;
    height: 60px;
    border-top: 1px solid var(--red);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    bottom: -30px
}
.description-left {
    font-size: 14px;
    text-align: left;
    flex: 1
}
.description-right {
    font-size: 14px;
    text-align: right;
    flex: 1
}
.btn-buy {
    position: absolute;
    width: 120px;
    height: 40px;
    line-height: 40px;
    background: 0 0;
    font-size: 14px;
    border: 0;
    z-index: 10
}
.access-denied-overlay, .popup-content {
    padding: 10px 10px;
    color: var(--red);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    border: 1px solid var(--text)
}
@keyframes shake {
    0%, 100% {
        transform: translate(-50%, -50%)
    }
    25% {
        transform: translate(-48%, -50%)
    }
    75% {
        transform: translate(-52%, -50%)
    }
}
.blur-permanent {
    filter: blur(20px) !important;
    animation: none !important
}
.access-denied-overlay {
    position: absolute;
    font-weight: 200;
    background: var(--text);
    z-index: 1000;
    pointer-events: none
}
.modal-contact {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center
}
.modal-contact .btn-close {
    position: absolute;
    margin-top: 0;
    right: 10px;
    top: 0;
    text-align: right
}
.contact-content {
    max-width: 600px;
    width: 100%;
    text-align: left;
    font-weight: 100
}
.contact-content h2 {
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center
}
.contact-content h3 {
    font-size: 14px;
    margin-top: 20px;
    font-weight: 100;
    margin-bottom: 10px;
    text-transform: uppercase
}
.contact-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 100;
    font-size: 18px;
    font-variant: small-caps
}
.popup-soldout {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 10000;
    opacity: 0
}
.popup-soldout.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
}
.popup-content {
    background: var(--text);
    font-weight: 200
}
@media (max-width:479px) {
    .grid {
        grid-template-columns: repeat(9, 1fr)
    }
    .header-fixed {
        padding: 0 10px
    }
    .header-location, .header-time {
        font-size: 12px
    }
    .modal-content {
        padding: 10px
    }
    .modal-content canvas, .modal-content img {
        max-width: 380px
    }
    .contact-content {
        padding: 20px
    }
}
@media (min-width:480px) and (max-width:767px) {
    .grid {
        grid-template-columns: repeat(12, 1fr)
    }
    .modal-content canvas, .modal-content img {
        max-width: 350px
    }
}
@media (min-height:375px) and (max-height:414px) {
    .grid {
        grid-template-columns: repeat(14, 1fr)
    }
    .modal-content canvas, .modal-content img {
        max-width: 280px
    }
}
@media (min-width:768px) and (max-height:1023px) {
    .grid {
        grid-template-columns: repeat(14, 1fr)
    }
    .modal-content canvas, .modal-content img {
        max-width: 280px
    }
}
@media (min-width:1024px) {
    .grid {
        grid-template-columns: repeat(14, 1fr)
    }
    .modal-content canvas, .modal-content img {
        max-width: 400px
    }
}
@media (min-width:1366px) {
    .grid {
        grid-template-columns: repeat(14, 1fr)
    }
    .modal-content canvas, .modal-content img {
        max-width: 600px
    }
}