html, body {
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
    background: #0C0C0C;
    color: #FFF;
    line-height: 1.5;
}

a:link, a:visited {
    color: #FFF;
    text-decoration: none;
}
a:active {
    color: #FFF;
    text-decoration: underline;
}
/* PC(Pointerつきデバイス)だけホバー */
@media (hover: hover) and (pointer: fine) {
    a:hover {
        color: #FFF;
        text-decoration: underline;
    }
}

a.linkButton {
    display: block;
    padding: 8px;
    text-align: center;
    border: 1px solid #FFF;
}

abbr {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/*
header
*/

header > h1 {
    line-height: 64px;
    margin: 0 16px;
    padding: 0;
    background: #0C0C0C;
}

/*
navigation menu
*/

nav > .closebutton {
    background: no-repeat center url("images/close.svg") !important;
}

nav > #menubutton {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    width: 64px;
    height: 64px;
    background: no-repeat center url("images/menu.svg");
    transition: all 0.1s ease;
    color: rgba(255,255,255,0);
    /* border: 1px solid #555; */
    border: 0;
    border-radius: 50%;
    z-index: 100;
}

nav > #menubutton:active {
    opacity: 0.3;
}
/* PC(Pointerつきデバイス)だけホバー */
@media (hover: hover) and (pointer: fine) {
    nav > #menubutton:hover {
        opacity: 0.3;
    }
}

nav > ul#menu {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow: scroll;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    z-index: 80;
    background: rgba(0,0,0,0.9);
    transition: height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, -webkit-backdrop-filter 0.3s linear;
}
@supports (backdrop-filter: none) {
    nav > ul#menu {
        background: rgba(0,0,0,0.05);
        backdrop-filter: blur(32px);
    }
}

nav > ul#menu ol {
    padding-left: 0;
}

nav > ul#menu[aria-hidden=true] {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    height: 0%;
}

nav > #menu::-webkit-scrollbar {
    display: none;
}

nav > ul#menu > li {
    min-height: 64px;
    list-style: none;
    font-weight: bold;
}
nav > ul#menu ul {
    padding: 0;
}
nav > ul#menu ul > li {
    list-style: none;
    font-weight: normal;
    font-size: 0.8em;
}

nav > ul#menu > li > a, nav > ul#menu > li > span {
    padding-left: 24px;
    height: 64px;
    line-height: 64px;
}
nav > ul#menu li > a, nav > ul#menu > li > span {
    display: block;
    transition: background 0.2s linear;
}
nav > ul#menu ul a {
    display: block;
    padding-left: 28px;
    padding-top: 12px;
    padding-bottom: 12px;
}

nav > ul#menu > li > span.lang > .selected {
    color: #999;
}

nav > ul#menu a:active {
    background: rgba(255,255,255,0.1);
}
/* PC(Pointerつきデバイス)だけホバー */
@media (hover: hover) and (pointer: fine) {
    nav > ul#menu a:hover {
        background: rgba(255,255,255,0.1);
    }
}

/*
sections
*/

section:not(#news) h1 {
    font-size: 26pt;
    padding-bottom: 32px;
}
section h2 {
    font-size: 20pt;
    padding-bottom: 8px;
}
section p, section dl, section h1, section h2, section ul {
    margin: 16px;
}
section dl a {
    color:#FFF !important;
}
section dt {
    font-weight: bold;
}
section dd + dt {
    padding-top: 16px;
}
section#social dd a {
    white-space: nowrap;
}
section:not(#keyvisual) + section {
    margin-top: 80px;
}

/*
keyvisual section
*/

section#keyvisual {
    margin-top: -64px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    background-color: #0C0C0C;
}

section#keyvisual #top_video {
    position: absolute;
    width: 100%;
}

section#keyvisual > div {
    /* background-image: url('images/keyvisual_bg.jpg');
    background-image: image-set(url('images/keyvisual_bg.jpg') 1x, url('images/keyvisual_bg@2x.jpg') 2x);
    background-image: -webkit-image-set(url('images/keyvisual_bg.jpg') 1x, url('images/keyvisual_bg@2x.jpg') 2x);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; */
    box-shadow: 0 -16px 16px -8px #0C0C0C inset;
}

#keyvisual img {
    width: 100%;
    vertical-align: top;
    position: relative;
}

/*
news section
*/

section#news dd + dt {
    padding-top: 48px;
}

/*
case section
*/

#case01 > h1, #case02 > h1, #case03 > h1 {
    display: flex;
    gap: 0 8px;
}
.casebox {
    /* vertical-align: text-top; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28pt;
    height: 28pt;
    line-height: 1;
    border: 1px solid #FFF;
    margin-top: 5px;
}
.casebox > .upper {
    font-size: 8pt;
}
.casebox > .lower {
    font-size: 16pt;
}
.casetitle {
    flex: 1;
}

/*
members section
*/

section#members > ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-left: 0;
}
section#members > ul > li {
    flex: 1;
    list-style: none;
}
#logo_dentsulabtokyo {
    width: calc( (221.1146/900) * min(100vw, 900px) );
}
#logo_ntt {
    width: calc( (236.9047/900) * min(100vw, 900px) );
}
#logo_withals {
    /* width: calc( (297.0619/900) * min(100vw, 900px) ); */
    width: calc( (313.2941/900) * min(100vw, 900px) );
}

/*
exhibition section
*/

section#exhibition, section#newperformers {
    margin-bottom: -60px;
}

section#exhibition h1, section#newperformers h1 {
    padding-bottom: 0;
}

.exhibition-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 0 0;
}

.exhibition-flex > * {
    width: 100%;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.exhibition-flex img.aspect16_9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}


/*
PC MODE
*/

@media screen and (min-width: 801px) {
    nav {
        float: right;
        width: 180px;
        height: 100vh !important;
    }

    nav > #menubutton {
        display: none;
    }
    nav > ul#menu {
        position: static;
    }
    nav > ul#menu > li#menutop {
        display: none;
    }
    body > article {
        margin-right: 180px;
    }
    
    nav > ul#menu[aria-hidden=true] {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }

    section:not(#keyvisual) {
        max-width: 900px;
        margin: 80px auto;
    }
    section#exhibition, section#newperformers {
        margin-bottom: -60px;
    }
    
    section:not(#news) h1 {
        font-size: 48pt;
    }
    .casebox {
        width: 50pt;
        height: 50pt;
        margin-top: 12px;
    }
    .casebox > .upper {
        font-size: 16pt;
    }
    .casebox > .lower {
        font-size: 28pt;
    }
    header > h1 {
        text-align: center;
    }

    .exhibition-flex > * {
        width: 50%;
    }
}


/*
Animation
*/

.sectionAnimationBeforeStart {
    opacity: 0;
}
.sectionAnimation {
    animation: SlideIn 0.8s ease-out;
}

@keyframes SlideIn {
    0% {
        transform: translatey(1ex);
        opacity: 0;
    }
    100% {
        transform: translatey(0);
        opacity: 1;
    }
}
