
:root {
	--menu-height: 80;
}

html {
	scroll-padding-top: calc(var(--header-height) * 1px) !important;
}

/*
*****************************************************************************************

バーチャル展示 詳細

*****************************************************************************************
*/

.exhibitor-full-img-text,
.exhibitor-col-text,
.exhibitor-sub-content-item-text {
    p + p {
        margin-top: 1em;
    }
}

.exhibitor-hero {
    margin: 0 0 88px;
    img {
        display: block;
        width: 100%;
    }
}

.exhibitor-intro {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 0 80px;
    margin-bottom: 48px;
}

@media (width < 1024px){
        
    .exhibitor-intro {
        display: block;
    }

    .exhibitor-intro-img {
        margin-bottom: 24px;
        width: 100%;
        
        img {
            width: 100%;
        }
    }

}

@media (width <= 768px){

    .exhibitor-hero {
        margin: 0 0 min(88px, calc(28 / 375 * 100vw));
    }

}

:where(.exhibitor-intro) {

    .exhibitor-intro-content {
        flex: 1 1 0;
    }

    .exhibitor-intro-header {
        margin: 0 0 36px;
    }

    .exhibitor-intro-h2 {
        font-size: var(--font-size-4xl);
        font-weight: bold;
        color: var(--blue);
        margin: 0 0 20px;
    }

    .exhibitor-intro-h3 {
        font-size: var(--font-size-lg);
        font-weight: bold;
        color: var(--blue);
        margin: 0 0 16px;
    }

    .exhibitor-intro-text {
        font-weight: 500;
        font-size: var(--font-size-ms);
    }

    @media (width <= 768px){

        .exhibitor-intro-h3 {
            margin: 0 0 12px;
        }

    }

}

.exhibitor-body-wrapper {
    position: relative;
}

.exhibitor-nav-label {
    margin: 0 0 8px;
    width: 100%;
}

.exhibitor-intro-label {
    font-size: var(--font-size-md);
    font-weight: bold;
    color: var(--blue-label);
}

.exhibitor-nav {
    padding: 10px 0 0;
    background: #fff;
    position: sticky;
    top: calc(var(--header-height) * 1px);
    z-index: 11;
}

.exhibitor-nav:has( + .exhibitor-intro-other-links) {
    padding-bottom: 10px;
}

.exhibitor-nav-inner {
    overflow: visible;
}

@media (width <= 768px){

    .exhibitor-intro {
        margin-bottom: min(48px, calc(16 / 375 * 100vw));
    }

    .exhibitor-nav-label {
        margin: 0 0 4px;
    }

}

.exhibitor-menu {
    background: var(--blue-bg-light);
    border-radius: var(--border-radius-sm);
    max-height: 100dvh;
    overflow-y: auto;
    padding: 12px 0;
}

.exhibitor-menu-link {
    display: flex;
    align-items: center;
    /* color: var(--blue); */
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-md);
    font-weight: bold;
    min-height: 46px;
    padding: 8px 1.5em;
    padding-left: 56px;
    text-decoration: none;
    position: relative;
}

.exhibitor-menu-link:hover {
    opacity: .75;
}

.exhibitor-menu-item {
    display: none;
}

/* :where(.exhibitor-menu-item) + .exhibitor-menu-item {
    margin-top: 8px;
} */

.exhibitor-menu-item:has( [aria-current]) {
    display: block;
}

.exhibitor-menu-link[aria-current]::before {
    content: '\e5e1';
    font-family: 'Material Symbols Outlined';
    text-decoration: none;
    position: absolute;
    top: 50%;
    left: 28px;
    translate: 0px -50%;
    display: block;
    font-size: 1em;
    margin-top: 1px;
    font-weight: normal;
}

:where(.exhibitor-menu-item:first-child) {
    .exhibitor-menu-link {
        padding-left: 1.75em;
    }
    .exhibitor-menu-link[aria-current]::before {
        content: none;
    }
}

@media (any-hover: hover) {

    .exhibitor-nav:hover .exhibitor-menu {
        box-shadow: 0 0 10px 4px rgba(154, 161, 177, 0.05), 0 4px 40px -8px rgba(36, 40, 47, 0.15), 0 4px 4px -2px rgba(91, 94, 105, 0.05);
    }

    .exhibitor-nav:hover .exhibitor-nav-inner {
        height: 70px;
        overflow: visible;
    }

    .exhibitor-nav:hover .exhibitor-menu-item {
        display: block;
    }

}

.exhibitor-nav.hover .exhibitor-menu {
    box-shadow: 0 0 10px 4px rgba(154, 161, 177, 0.05), 0 4px 40px -8px rgba(36, 40, 47, 0.15), 0 4px 4px -2px rgba(91, 94, 105, 0.05);
}

.exhibitor-nav.hover .exhibitor-nav-inner {
    height: 70px;
    overflow: visible;
}

.exhibitor-nav.hover .exhibitor-menu-item {
    display: block;
}

.exhibitor-nav-contact {
    display: none;
}

.exhibitor-intro-other-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

@media (width <= 768px){

    .exhibitor-menu {
        padding: 8px 0;
    }

    .exhibitor-menu-link {
        min-height: 36px;
        padding: 8px 1.5em;
        padding-left: min(56px, calc(36 / 375 * 100vw));
    }

    .exhibitor-menu-link[aria-current]::before {
        left: min(28px, calc(16 / 375 * 100vw));
        font-size: 1em;
        margin-top: 0;
    }

    :where(.exhibitor-menu-item:first-child) {
        .exhibitor-menu-link {
            padding-left: 1.75em;
        }
    }

}

/* exhibitor-intro */

.exhibitor-body {
    margin: 56px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid var(--blue-border);
}

:where(.exhibitor-item) + .exhibitor-item {
    margin-top: 88px;
    border-top: 1px solid var(--blue-border);
}

@media (width <= 768px){

    .exhibitor-body {
        /* margin: min(40px, calc(40 / 375 * 100vw)) 0 0; */
        padding: 0;
    }

    :where(.exhibitor-item) + .exhibitor-item {
        margin-top: min(88px, calc(24 / 375 * 100vw));
    }

}

:where(.exhibitor-body) {

    .exhibitor-description-section {
        margin: 72px 0 0;
    }

    .exhibitor-topics-section {
        margin: 72px 0 0;
    }

    .exhibitor-doc-section {
        margin: 64px 0 0;
    }

    /* layout */

    .exhibitor-full-img-row {
        margin: 28px 0 0;
    }

    .exhibitor-full-img {
        margin: 0 0 36px;
        img {
            display: block;
            width: 100%;
        }
    }

    @media (width < 1024px){

        .exhibitor-full-img-text {
            font-weight: 500;
            font-size: calc(var(--font-size-md) + 0.1rem);
        }

    }

    @media (width <= 768px){

        .exhibitor-description-section {
            margin: min(72px, calc(48 / 375 * 100vw)) 0 0;
        }

        .exhibitor-topics-section {
            margin: min(72px, calc(48 / 375 * 100vw)) 0 0;
        }

        .exhibitor-doc-section {
            margin: min(64px, calc(40 / 375 * 100vw)) 0 0;
        }

        .exhibitor-full-img-text {
            font-weight: normal;
            font-size: inherit;
        }

        .exhibitor-full-img-row {
            margin: min(28px, calc(20 / 375 * 100vw)) 0 0;
        }

    }

    .exhibitor-row { 
        margin: 32px 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    :where(.exhibitor-row) + .exhibitor-row {
        margin: 56px 0 0;
    }

    .exhibitor-col-img {
        flex: 0 1 auto;
        width: 42%;
        img {
            display: block;
            width: 100%;
        }
    }

    .exhibitor-col-text {
        flex: 1 1 0;
    }

    @media (width < 1024px){

        .exhibitor-row {
            margin: min(34px, calc(20 / 375 * 100vw)) 0 0;
            display: flex;
            gap: min(40px, calc(20 / 375 * 100vw));
        }

        :where(.exhibitor-row) + .exhibitor-row {
            margin: min(48px, calc(56 / 375 * 100vw)) 0 0;
        }

        .exhibitor-col-img {
            width: 100%;
            img {
                width: 100%;
            }
        }

        .exhibitor-col-text {
            width: 100%;
            flex-basis: auto;
        }

    }

    .exhibitor-sub-content-list {
        margin: 24px 0 0;
        padding: 56px 56px;
        background: var(--blue-bg-light);
    }

    .exhibitor-sub-content-list-inner {
        display: flex;
        /* flex-wrap: wrap; */
        gap: 48px;
        justify-content: space-evenly;
    }

    .exhibitor-sub-content-item {
        flex: 1 1 0;
        max-width: 36%;
        display: flex;
    }

    .exhibitor-sub-content-item-link {
        flex: 1 1 0;
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
    }

    @media (any-hover: hover) {
        .exhibitor-sub-content-item-link:any-link:hover {
            opacity: .7;
        }
    }

    .exhibitor-sub-content-item-link:any-link:focus-visible {
        opacity: .7;
    }

    .exhibitor-sub-content-item-link iframe {
        pointer-events: none;
    }

    .exhibitor-sub-content-item-img {
        margin: 0 0 24px;
        position: relative;
        background: #e7e5ef;

        img {
            display: block;
            aspect-ratio: 16 / 9;
            width: 100%;
            object-fit: contain;
        }
    }

    :where(a[href^="https://www.youtube.com"]) .exhibitor-sub-content-item-img::after {
        content: '';
        display: block;
        aspect-ratio: 176 / 124;
        background: url(../images/common/youtube.svg);
        width: 20%;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }

    :where(a[href^="https://www.youtube.com"]) .exhibitor-sub-content-item-img img {
        object-fit: cover;
    }

    .exhibitor-sub-content-item-link[href$=".mp4"] .exhibitor-sub-content-item-img::after {
        content: '';
        display: block;
        aspect-ratio: 1;
        background: url(../images/common/play.svg);
        width: 16%;
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }

    .exhibitor-sub-content-item-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        margin: 0 0 8px;
    }

    .exhibitor-sub-content-item-text {
        flex: 1;
        font-size: var(--font-size-ms);
        line-height: var(--line-height-md);
    }

    .exhibitor-sub-content-item-text + .exhibitor-sub-content-item-btn-area {
        margin: 32px 0 0;
    }

    .exhibitor-sub-content-item-btn-area .btn {
        width: 100%;
    }

    @media (width >= 1024px){

        /* .swiper-slide:only-child {
            max-width: none;
            width: 100%;
        }

        :where(.swiper-slide:only-child) {

            .exhibitor-sub-content-item {
                max-width: none;
                width: 100%;
            }

            .exhibitor-sub-content-item-link {
                display: flex;
                gap: 48px;
                align-items: center;
                flex-direction: row;
            }

            .exhibitor-sub-content-item-img {
                margin: 0;
                width: 32%;
                flex: 0 1 auto;
                align-self: flex-start;
            }

            .exhibitor-sub-content-item-content {
                margin: 0;
                align-items: flex-start;
            }

            .exhibitor-sub-content-item-text {
                margin-bottom: 0;
                flex: 1 1 0;
            }

            .exhibitor-sub-content-item-text + .exhibitor-sub-content-item-btn-area {
                margin: 24px 0 0;
            }

        } */

        :where(.exhibitor-sub-content-list) {

            .swiper-block,
            .swiper,
            .swiper-wrapper,
            .swiper-slide {
                display: contents !important;
            }

            .swiper-controler,
            .swiper-pagination,
            .swiper-button-prev,
            .swiper-button-next {
                display: none !important;
            }

        }

    }

    @media (width < 1024px){

        .exhibitor-sub-content-list {
            margin: min(24px, calc(20 / 375 * 100vw)) 0 0;
            padding: min(32px, calc(28 / 375 * 100vw)) 0
        }

        .exhibitor-sub-content-list-inner {
            /* gap: 36px; */
            display: block;
        }

        .exhibitor-sub-content-item {
            flex: 1 1 auto;
            width: 100%;
            max-width: 100%;
            display: flex;
            gap: 32px;
            /* padding: min(32px, calc(40 / 375 * 100vw));
            background: var(--blue-bg-light);
            border-radius: var(--border-radius-sm); */
        }

        .exhibitor-sub-content-item-link {
            width: 100%;
        }

        .exhibitor-sub-content-item-img {
            margin: 0 0 20px;
            flex: 0 1 auto;
            width: 100%;
            max-width: 100%;
        }

        .exhibitor-sub-content-item-text {
            font-size: var(--font-size-ms);
            line-height: inherit;
            margin: 0;
            flex: 1 1 0;
        }

        .swiper-slide {
            display: flex;
            height: auto;
            /* padding: 0 4%; */
            padding: 0;
        }

        .swiper-slide {
            opacity: .1;
            transition: opacity .3s ease-in-out;
        }

        .swiper-slide.swiper-slide-active {
            opacity: 1;
        }

        .swiper-controler {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 24px auto 0;
            width: 84%;
        }

        .swiper-controler:has( > .swiper-pagination > .swiper-pagination-bullet:only-child ) {
            display: none;
        }

        .swiper-button-prev,
        .swiper-button-next {
            position: static;
            margin: 0;
        }
    }

    .exhibitor-box-link-list {
        --gap-y: 32px;
        margin: 24px 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 32px;
    }

    .exhibitor-box-link-item {
        flex: 0 1 auto;
        width: calc((100% - var(--gap-y)) / 2);
    }

    .exhibitor-box-link-item:only-child {
        flex: 1 1 0;
    }

    .exhibitor-box-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        background: var(--blue-bg-light);
        min-height: 64px;
        padding: 16px 24px;
        padding-left: 62px;
        position: relative;
        line-height: var(--line-height-sm);
    }

    .exhibitor-box-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 28px;
        translate: 0px -50%;
        display: block;
        width: 18px;
        height: 24px;
        background: url(/assets/images/icon/file.svg) no-repeat center center;
        background-size: contain;
    }

    @media (width < 1024px){
        .exhibitor-box-link-item {
            width: 100%;
        }
    }

    @media (width <= 768px){
        .exhibitor-box-link-list {
            --gap-y: 8px;
            margin: min(24px, calc(20 / 375 * 100vw)) 0 0;
            gap: 8px 8px;
        }
    }

    /* heading */

    .exhibitor-h2 {
        font-size: var(--font-size-3xl);
        font-weight: bold;
        color: var(--blue);
        position: relative;
        margin: 0 0 72px;
        padding-top: 80px;
    }

    .exhibitor-h2::after {
        content: '';
        display: block;
        width: 136px;
        max-width: 100%;
        height: 2px;
        background: var(--blue);
        border-right: 10px solid var(--red);
        margin: 32px 0 0;
    }

    .exhibitor-h2:empty {
        display: none;
    }

    @media (width <= 768px){

        .exhibitor-h2 {
            margin-bottom: min(64px, calc(64 / 375 * 100vw));
            padding-top: min(64px, calc(88 / 375 * 100vw));
        }

        .exhibitor-h2::after {
            width: 88px;
            margin: 24px 0 0;
        }
    }

    .exhibitor-h3 {
        font-size: var(--font-size-2xl);
        font-weight: bold;
        color: var(--blue);
        position: relative;
        padding-left: 24px;
        margin: 28px 0;
    }

    .exhibitor-h3::before {
        content: '';
        display: block;
        width: .25em;
        border-top: .5em solid var(--blue);
        border-bottom: .5em solid var(--red);
        position: absolute;
        left: 0;
        top: 0.85em;
        translate: 0 -50%;
    }

    .exhibitor-h3:empty {
        display: none;
    }

    @media (width <= 768px){

        .exhibitor-h3 {
            padding-left: 20px;
        }

    }

    .exhibitor-h4 {
        font-size: var(--font-size-xl);
        font-weight: bold;
        color: var(--blue);
        position: relative;
        padding-left: 28px;
        margin: 20px 0;
    }

    .exhibitor-h4::before,
    .exhibitor-h4::after {
        content: '';
        display: block;
        width: 9px;
        aspect-ratio: 1;
        position: absolute;
        top: 0.9em;
    }

    .exhibitor-h4::before {
        background: var(--red);
        left: 4px;
        translate: 0 -4px;
    }

    .exhibitor-h4::after {
        background: var(--blue);
        left: 0;
        translate: 0 -7px;
    }

    .exhibitor-h4:empty {
        display: none;
    }

    @media (width <= 768px){

        .exhibitor-h4 {
            padding-left: 24px;
        }
        
    }

    .exhibitor-h5 {
        font-size: var(--font-size-lg);
        font-weight: bold;
        color: var(--blue);
        position: relative;
        padding-left: 24px;
        margin: 28px 0;
    }

    .exhibitor-h5::before {
        content: '';
        display: block;
        width: 12px;
        height: 4px;
        background: var(--red);
        position: absolute;
        left: 0;
        top: 0.85em;
        translate: 0 -50%;
    }

    .exhibitor-h5:empty {
        display: none;
    }

    @media (width <= 768px){

        .exhibitor-h5 {
            padding-left: 20px;
        }

        .exhibitor-h5::before {
            height: 3px;
        }
        
    }

}

.exhibitor-profile {
    margin: 96px auto 80px;
    border-top: 1px solid var(--blue-border);
    padding: 64px 0 0;
    font-size: var(--font-size-sm);
}

.exhibitor-profile-top {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 0 80px;
}

.exhibitor-profile-content {
    flex: 1 1 0;
}

.exhibitor-profile-pic {
    flex: 0 1 auto;
    width: 400px;
    max-width: 43%;
}

.exhibitor-profile-logo {
    border: 1px solid var(--blue-border);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px;
    img {
        width: 300px;
        max-width: 100%;
        aspect-ratio: 300 / 180;
        object-fit: contain;
    }
}

.exhibitor-profile-bottom {
    width: 100%;
}

@media (width <= 768px){

    .exhibitor-profile {
        margin: min(80px, calc(56 / 375 * 100vw)) auto min(80px, calc(56 / 375 * 100vw));
        padding-top: min(56px, calc(40 / 375 * 100vw));
        font-size: inherit;
    }

    .exhibitor-profile-top {
        display: block;
    }
}

:where(.exhibitor-profile) {

    .exhibitor-profile-h2 {
        font-size: var(--font-size-md);
        font-weight: bold;
        color: var(--blue);
        margin: 0 0 4px;
    }

    .exhibitor-profile-name {
        font-size: var(--font-size-2xl);
        font-weight: bold;
    }

    .exhibitor-profile-detail {
        margin: 24px 0 0;
    }

    :where(.exhibitor-profile-item) + .exhibitor-profile-item {
        margin: 24px 0 0;
    }

    .exhibitor-profile-item-label {
        font-size: var(--font-size-xs);
        font-weight: bold;
        color: var(--blue-label);
        margin: 0px 0 8px;
    }

    .exhibitor-profile-item-content {
        line-height: var(--line-height-sm);
    }

    .exhibitor-profile-link-list {
        margin: 64px 0 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        font-size: var(--font-size-ms);

        li {
            flex: 0 1 0;
            min-width: calc((100% - (6px * 2)) / 3);
            display: flex;
        }

        li:only-child {
            flex: 1 1 0;
        }

        a {
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            font-weight: bold;
            text-decoration: none;
            padding: calc(16 / var(--font-size-md-ununit) * 1em) calc(24 / var(--font-size-md-ununit) * 1em);
            background: var(--blue-bg-light);
            line-height: var(--line-height-sm);
            min-height: calc(64 / var(--font-size-md-ununit) * 1em);
            width: 100%;
            padding-inline: calc(48 / var(--font-size-md-ununit) * 1em);
        }

        a::before {
            content: '\e5e1';
            font-family: 'Material Symbols Outlined';
            text-decoration: none;
            position: absolute;
            top: 50%;
            left: calc(22 / 14 * 1em);
            translate: 0px -50%;
            display: block;
            font-size: .9em;
            font-weight: normal;
        }

        @media (any-hover: hover) {
            a:any-link:hover {
                color: var(--blue-hover);
            }
        }
    }

    @media (width > 768px){

        /* 4つまでの時 */
        .exhibitor-profile-link-list:not(:has(li:nth-child(5))){
            li {
                min-width: calc((100% - (6px * 1)) / 2);
            }
        }

        /* 3つまでの時 */
        .exhibitor-profile-link-list:not(:has(li:nth-child(4))){
            li {
                min-width: calc((100% - (6px * 2)) / 3);
            }
        }

        /* 2つまでの時 */
        .exhibitor-profile-link-list:not(:has(li:nth-child(3))){
            li {
                min-width: calc((100% - (6px * 1)) / 2);
            }
        }

    }

    @media (width <= 768px){

        .exhibitor-profile-pic {
            margin: min(40px, calc(24 / 375 * 100vw)) 0 min(40px, calc(28 / 375 * 100vw));
            width: 100%;
            max-width: 100%;
        }

        .exhibitor-profile-detail {
            margin: 0;
        }

        :where(.exhibitor-profile-item) + .exhibitor-profile-item {
            margin: calc(16 / var(--font-size-md-ununit) * 1em) 0 0;
        }

        .exhibitor-profile-item-content {
            line-height: inherit;
        }

        .exhibitor-profile-link-list {
            margin-top: min(56px, calc(40 / 375 * 100vw));
            font-size: inherit;

            li {
                /* width: calc((100% - (6px * 1)) / 2); */
                width: 100%;
                flex: 1 0 auto;
            }

            a {
                min-height: calc(48/ var(--font-size-md-ununit) * 1em);
            }
        }
    }

}