@charset "UTF-8";

:root {
    --cream: #f5f0e4;
    --ink: #141514;
    --orange: #ee761c;
    --water-shadow: 0 3px 5px rgb(0 0 0 / 20%);
    --font-en: "helvetica-lt-pro", "Helvetica LT", Helvetica, Arial;
    --department-content-width: 53.625%;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
html { background: var(--ink); }
body {
    color: var(--ink);
    background: var(--ink);
    font-family: var(--font-en), "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    -webkit-text-size-adjust: 100%;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: none; }
.font-en { font-family: var(--font-en), sans-serif; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.only-sp { display: none; }

.site-header { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
.site-logo {
    position: absolute;
    top: clamp(28px, 3.645833vw, 70px);
    right: 2.0833vw;
    width: clamp(48px, 6.25vw, 120px);
    pointer-events: auto;
}
.site-logo img, .department-logo img, .home-brand img, .main-instagram img { filter: drop-shadow(var(--water-shadow)); }
.site-controls {
    position: fixed;
    right: 2.0833vw;
    bottom: max(5.7vh, env(safe-area-inset-bottom));
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.scene-nav {
    display: flex;
    flex-direction: column;
    padding: 3px 0;
    border: 1px solid #ffffff12;
    border-radius: 30px;
    background: rgb(20 21 20 / 88%);
}
.scene-nav button {
    position: relative;
    min-width: 42px;
    min-height: 44px;
    color: #999b94;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
}
.scene-nav button + button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    border-top: 1px solid #ffffff0a;
}
.scene-nav button.is-active, .scene-nav button:hover, .scene-nav button:focus-visible { color: var(--cream); }
/* Keep identical font metrics when selected; thicken the strokes without moving the baseline. */
.scene-nav button.is-active { -webkit-text-stroke: .35px currentColor; text-shadow: var(--water-shadow); }
.main-instagram {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff14;
    border-radius: 50%;
    background: rgb(20 21 20 / 88%);
}
.main-instagram img { width: 21px; }

@media (max-width: 767px) {
    /* Content becomes clear as it moves above the fixed navigation. */
    body::after {
        content: "";
        position: fixed;
        inset: auto 0 0;
        height: calc(94px + env(safe-area-inset-bottom));
        z-index: 6;
        pointer-events: none;
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48%);
        mask-image: linear-gradient(to bottom, transparent, #000 48%);
        opacity: 1;
        transition: opacity .25s ease;
    }
    body.is-near-scroll-end::after { opacity: 0; }
    .only-sp { display: inline; }
    .only-pc { display: none; }
    .site-header { display: none; }
    .site-controls {
        right: 4.1667%;
        left: 4.1667%;
        bottom: calc(24px + env(safe-area-inset-bottom));
        flex-direction: row;
        justify-content: space-between;
        gap: 16px;
    }
    .scene-nav { flex-direction: row; padding: 0; width: 80%; max-width: 420px; }
    .scene-nav button { flex: 1; min-width: 0; font-size: clamp(16px, 4.17vw, 20px); }
    .scene-nav button + button::before {
        top: 25%;
        left: 0;
        height: 50%;
        width: auto;
        border-top: 0;
        border-left: 1px solid #ffffff12;
    }
    .main-instagram { flex: 0 0 44px; }
}

@media (max-width: 767px) and (max-height: 500px) {
    body::after { height: calc(82px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
    body::after { content: none; }
}
