/* 公式サイト（来場者向け・静的ページ）。app.css の部品を再利用する。 */
body.site {
    background: var(--paper);
}
.skip {
    position: absolute;
    left: -999px;
    top: 0;
    padding: 0.5rem 1rem;
    background: var(--ink);
    color: #fff;
    z-index: 10;
}
.skip:focus {
    left: 0;
}

.site-main,
.site-foot {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    padding-inline: 1.25rem;
}
.site-head {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.site-head,
.site-head * {
    box-sizing: border-box;
}
.site-head-inner,
.site-head:not(:has(.site-head-inner)) {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 20px 0.75rem 20px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
}
.site-head .brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.625rem !important;
    color: var(--ink) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    z-index: 2;
}
.site-head .brand .mark {
    border-radius: 0.5rem;
    display: block;
}

/* ハンバーガーボタン（PC時は非表示） */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    background: transparent;
    border: 1.5px solid var(--line);
    border-radius: 0.5rem;
    cursor: pointer;
    z-index: 101;
    flex-direction: column;
    justify-content: space-around;
}
.menu-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition:
        transform 0.2s,
        opacity 0.2s;
}
.menu-toggle[aria-expanded='true'] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded='true'] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-collapse {
    display: contents;
}

.site-head .site-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    z-index: 1;
}
.site-head .site-nav a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.375rem 0.625rem !important;
    border-radius: 0.5rem !important;
    color: var(--accent-deep) !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
.site-head .site-nav a:hover,
.site-head .site-nav a:focus-visible {
    background: var(--accent-soft) !important;
}

.demo-site-head .head-inner {
    position: relative;
    width: 100% !important;
    max-width: none !important;
}
.demo-site-head .demo-site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.demo-menu-toggle {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: initial;
    width: 42px;
    height: 42px;
    padding: 9px 7px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1005 !important;
}
.demo-menu-toggle span {
    position: absolute;
    display: block;
    left: 7px;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #151515;
    transition:
        transform 0.2s,
        opacity 0.2s;
}
.demo-menu-toggle span:nth-child(1) {
    top: 8px;
}
.demo-menu-toggle span:nth-child(2) {
    top: 19px;
}
.demo-menu-toggle span:nth-child(3) {
    top: 30px;
}
.demo-menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.demo-menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}
.demo-menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
.demo-menu-toggle[aria-expanded='true'] span {
    display: none;
}
.demo-menu-toggle[aria-expanded='true']::before {
    content: '×';
    color: #151515;
    font:
        50px/30px Arial,
        sans-serif;
}
.demo-header-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 1010;
    width: min(350px, 100vw);
    height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    border: 8px solid #003366;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.25);
}
.demo-header-menu[hidden] {
    display: none !important;
}
.demo-header-menu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 20px;
    background: #003366;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.demo-menu-close {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}
.demo-menu-close:hover {
    color: #ffcccc;
}
.demo-header-menu nav {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
}
.demo-header-menu nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-bottom: 1px solid #ccc;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2;
}
.demo-header-menu nav a span {
    font-size: 18px;
    line-height: 1;
    color: #999;
}
.demo-header-menu nav a:hover {
    background: #f5f5f5;
}

.nav-register-btn,
.site-head .btn.primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    height: 2.5rem !important;
    min-height: 2.5rem !important;
    margin: 0 !important;
    padding: 0.25rem 1rem !important;
    border-radius: var(--radius) !important;
    background: var(--accent) !important;
    color: #fff !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}
.nav-register-btn:hover,
.site-head .btn.primary:hover {
    background: var(--accent-deep) !important;
}

/* スマホ表示時（768px未満）：ハンバーガーメニュー化 */
@media (max-width: 820px) {
    .menu-toggle {
        display: inline-flex !important;
    }
    .menu-collapse {
        display: none;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        bottom: 40px;
        background: var(--paper);
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        overflow-y: auto;
        z-index: 99;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .menu-collapse.is-open {
        display: flex !important;
    }
    .site-head .site-nav {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .site-head .site-nav a {
        padding: 0.75rem 1rem !important;
        font-size: 1.0625rem !important;
        border-bottom: 1px solid var(--line) !important;
        border-radius: 0 !important;
    }
    .nav-register-btn,
    .site-head .btn.primary {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 3.25rem !important;
        font-size: 1.0625rem !important;
        margin-top: 0.5rem !important;
    }
    html body {
        padding-bottom: 120px !important;
    }

    #overview.section.alt {
        padding-bottom: 54px !important;
    }
}

.footer-prelude {
    padding-bottom: 120px !important;
}
.footer-prelude .footer-exhibitor-cta {
    min-height: 88px;
    padding: 14px 28px;
}
.footer-prelude .footer-cta-icon {
    font-size: 40px;
}
.footer-prelude .footer-cta-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}
.footer-info-icon {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}
.footer-button-icon {
    width: 12px;
    height: 12px;
    vertical-align: -1px;
}
.footer-top-arrow img {
    width: 16px;
    height: 22px;
}
.footer-prelude .footer-cta-copy strong {
    font-size: 26px;
}
.footer-prelude .footer-cta-copy small {
    font-size: 14px;
}
.footer-prelude .footer-cta-button,
.footer-prelude .footer-access-button {
    font-size: 16px;
}
.footer-prelude .footer-overview {
    min-height: 88px;
    margin-top: 16px;
    padding: 12px 0;
    align-items: start;
}
.footer-prelude .footer-overview-item {
    padding-inline: 24px;
    font-size: 16px;
}
.footer-prelude .footer-overview-item strong {
    font-size: 14px;
}
.footer-prelude .footer-overview-item strong small,
.footer-prelude .footer-overview-item > small {
    font-size: 12px;
}
.footer-prelude .footer-overview-item span {
    font-size: 18px;
}

@media (max-width: 700px) {
    .footer-prelude .footer-exhibitor-cta {
        min-height: 76px;
        padding: 10px 14px;
    }
    .footer-prelude .footer-cta-copy strong {
        font-size: 18px;
    }
    .footer-prelude .footer-cta-copy small {
        font-size: 11px;
    }
    .footer-prelude .footer-overview-item span {
        font-size: 14px;
    }
    .footer-prelude .footer-overview-item {
        font-size: 13px;
    }
}

@media (min-width: 701px) and (max-width: 1000px) {
    .footer-prelude .footer-overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        row-gap: 12px;
    }
    .footer-prelude .footer-access-button {
        grid-column: 1 / -1;
        justify-self: center;
        margin: 0;
    }
}

.site-foot {
    height: 120px !important;
    min-height: 120px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.site-foot .footer-inner,
.site-foot .footer-bottom {
    height: 120px;
}

.site-foot .footer-bottom {
    padding: 14px 20px 8px;
}

.site-foot .footer-bottom .copyright {
    margin-top: 8px;
    padding-top: 6px;
}

.site-main {
    padding-block: 1.5rem 3rem;
    min-height: 60vh;
}

.hero {
    padding: 1rem 0 0.5rem;
}
.exhibition-hero {
    background-image: url('/assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
}
.cta-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}
.cta {
    display: grid;
    gap: 0.5rem;
    width: 100%;
    max-width: 24rem;
}
.cta .btn {
    margin-top: 0;
}
.qr-register-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    background: #fff;
    width: fit-content;
}
.qr-register-box .qr-img {
    width: 100px;
    height: 100px;
}
.qr-register-box .qr-img svg {
    width: 100%;
    height: 100%;
    display: block;
}
.qr-register-box .qr-caption {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.hero-registration-block .qr-panel {
    width: 120px;
    height: 130px;
    padding: 7px;
    box-sizing: border-box;
}
.hero-registration-block .qr-panel .qr-svg {
    width: 92px !important;
    height: 92px !important;
}
.hero-registration-block .qr-panel .qr-caption {
    font-size: 8px;
}
.facts {
    max-width: 36rem;
}
.prose {
    max-width: 42rem;
}
.prose h2 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}
.prose h3 {
    margin: 1.25rem 0 0.25rem;
    font-size: 1.0625rem;
}
.prose p,
.prose ul {
    margin: 0 0 0.875rem;
}
.prose a {
    color: var(--accent-deep);
}

.exhibitors-hero,
.seminars-hero {
    height: 330px !important;
    min-height: 330px !important;
    background: url('/assets/img/subhero-bg.webp') center / cover no-repeat !important;
}

.seminars-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(3, 35, 75, 0.72), rgba(3, 35, 75, 0.2)),
        url('/assets/img/subhero-bg.webp') !important;
}

.seminars-hero > .section-inner {
    position: relative;
    z-index: 1;
}

.seminars-hero .eyebrow,
.seminars-hero h1,
.seminars-hero .seminars-lead {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.seminars-hero .seminar-status-banner {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #07549b !important;
    text-shadow: none;
}

.seminars-hero .seminar-status-banner strong {
    color: #07549b !important;
    font-weight: 800 !important;
}

.exhibitors-hero {
    position: relative;
    background-image:
        linear-gradient(90deg, rgba(3, 35, 75, 0.72), rgba(3, 35, 75, 0.2)),
        url('/assets/img/subhero-bg.webp') !important;
}

.exhibitors-hero > .section-inner {
    position: relative;
    z-index: 1;
}

.exhibitors-hero .eyebrow,
.exhibitors-hero h1,
.exhibitors-hero .exhibitors-lead {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.exhibitors-hero .seminar-status-banner {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #07549b !important;
    text-shadow: none;
}

.exhibitors-hero .seminar-status-banner strong {
    color: #07549b !important;
    font-weight: 800 !important;
}

.privacy-banner {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.feature-icon {
    overflow: visible;
}

.feature-icon img {
    display: block;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
}

.feature-tag:nth-child(4) .feature-icon img {
    width: 18px !important;
    height: 18px !important;
}

.pass-bottom-section .ticket-actions {
    width: 100% !important;
    justify-content: center !important;
    margin-inline: 0 !important;
}

.feature-gear {
    display: block;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;
}

.privacy-banner {
    overflow: visible !important;
}

.privacy-banner .privacy-shield {
    z-index: 1;
    width: 140px !important;
    height: 150px !important;
    left: 8px !important;
}

.privacy-banner .privacy-banner-copy {
    position: relative;
    z-index: 2;
    padding-left: 52px;
}

html,
body {
    overflow-x: clip;
}

body:has(.facts) > main.info-page {
    padding-top: 0 !important;
}

body:has(.facts) > main::before {
    content: '';
    display: block;
    width: 100vw;
    height: 330px;
    margin: 0 calc(50% - 50vw) 2rem;
    background: url('/assets/img/subhero-bg.webp') center / cover no-repeat !important;
}

/* 図に合わせたコンテンツメニューと固定フッター分の余白 */
.demo-header-menu {
    top: 0px !important;
    right: 0px !important;
    bottom: auto !important;
    left: auto !important;
    width: min(350px, calc(100vw - 24px)) !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
}

@media (min-width: 701px) {
    html body,
    html body.site {
        padding-bottom: 60px !important;
    }
}

@media (max-width: 700px) {
    html body,
    html body.site {
        padding-bottom: 60px !important;
    }
}
.back {
    margin: 0 0 0.5rem;
}

/* 出展者の一覧・検索 */
.filters {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: #f7f9fc;
}
@media (min-width: 40rem) {
    .filters {
        grid-template-columns: 2fr 1fr auto;
        align-items: end;
    }
}
.filters label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 0.875rem;
}
.filters input[type='search'],
.filters select {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.5rem 0.875rem;
    border: 1.5px solid var(--muted);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.filters .check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    margin: 0;
    font-weight: 600;
}
.filters input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.count {
    margin: 0.5rem 0 0;
    font-weight: 700;
}
.none {
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 0.75rem;
    color: var(--muted);
}
.ex-list {
    display: grid;
    gap: 0.875rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 40rem) {
    .ex-list {
        grid-template-columns: 1fr 1fr;
    }
}
.ex-card {
    position: relative;
    padding: 1rem 1rem 3.5rem;
    border: 1px solid var(--line);
    border-radius: 0.875rem;
    background: #fff;
}
.ex-card[hidden] {
    display: none;
}
.ex-card h2 {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    line-height: 1.5;
}
.ex-card h2 a {
    color: var(--ink);
    text-decoration: none;
}
.ex-card h2 a:hover {
    text-decoration: underline;
}
.meta {
    margin: 0 0 0.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}
.snippet {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}
.fav {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2.5rem;
    margin-top: 0.75rem;
    padding: 0.25rem 0.875rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}
.ex-card .fav {
    position: absolute;
    left: 1rem;
    bottom: 0.875rem;
    margin: 0;
}
.fav::before {
    content: '\2606';
    font-size: 1.125rem;
    line-height: 1;
}
.fav[aria-pressed='true'] {
    border-color: #c47a00;
    background: var(--warn-bg);
    color: var(--warn-ink);
}
.fav[aria-pressed='true']::before {
    content: '\2605';
}
.fav:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* 出展者の詳細・中間画面 */
.ex-detail h2 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.125rem;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tags li {
    padding: 0.125rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: 0.875rem;
    font-weight: 700;
}
.links {
    margin: 0;
    padding-left: 1.25rem;
}
.links a {
    color: var(--accent-deep);
    font-weight: 700;
}
.ext {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--muted);
}
.contact {
    display: block;
    max-width: 100%;
    height: auto;
    padding: 0.375rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: #fff;
}
.out {
    max-width: 36rem;
}
.dest {
    overflow-wrap: anywhere;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}

.site-foot {
    padding-block: 1.5rem calc(2.5rem + 40px);
    border-top: 1px solid var(--line);
}
.notice-line {
    margin: 0 0 0.75rem;
    padding: 0.625rem 0.875rem;
    border-left: 4px solid var(--accent);
    background: var(--accent-soft);
    font-size: 0.875rem;
    font-weight: 600;
}
.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

/* 最下部固定コピーライトフッター */
.fixed-copyright-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    height: 40px;
    background-color: #003366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-align: center;
    box-sizing: border-box;
    padding-inline: 1rem;
}

@media (min-width: 821px) {
    body {
        padding-bottom: 40px;
    }

    .site-foot {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10000;
        width: 100%;
        max-width: none;
        margin: 0;
        height: 40px;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eef5f8;
        border-top: 0;
        color: var(--ink);
    }

    .site-foot .copyright {
        margin: 0;
        color: inherit;
        font-size: 0.6875rem;
        text-align: center;
    }
}

@media (min-width: 1001px) {
    .register-area {
        position: relative;
        display: inline-flex;
    }
    .header-code-claim {
        position: absolute;
        top: 378px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        z-index: 1002;
        width: 114px;
        padding: 9px;
        border: 1px solid #d5e0e8;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 3px 12px rgba(20, 60, 90, 0.12);
    }
    .header-code-claim h3 {
        margin: 0 0 6px;
        font-size: 11px;
        line-height: 1.35;
    }
    .header-code-claim p {
        margin: 0 0 8px;
        font-size: 10px;
        line-height: 1.45;
    }
    .header-code-claim-button {
        width: 100%;
        padding: 7px 4px;
        border: 0;
        border-radius: 18px;
        background: #05b887;
        color: #fff;
        font-size: 11px;
        line-height: 1.3;
        cursor: pointer;
    }
    .code-claim-container {
        position: absolute;
        left: -9999px;
        width: 1px;
        margin: 0;
    }

    .code-claim-card {
        padding: 9px;
        border-radius: 8px;
    }

    .code-claim-header h3 {
        font-size: 11px;
        line-height: 1.35;
    }

    .code-claim-header p {
        font-size: 11px;
        line-height: 1.45;
    }

    .optical-scan-action-area {
        margin-top: 8px;
    }

    .btn-start-optical-scan {
        width: 100%;
        min-height: 34px;
        padding: 7px 5px;
        border: 0;
        border-radius: 18px !important;
        background: #05b887 !important;
        color: #fff !important;
        font-size: 10px;
        line-height: 1.3;
        white-space: normal;
    }
}

/* 公式サイトでのページトップボタン位置（最下部20px、右20px） */
body.site .btn-scroll-top {
    bottom: 20px !important;
    right: 20px !important;
    z-index: 10001 !important;
}

@media (min-width: 821px) {
    .demo-site-head.is-pass .demo-site-nav .btn-fav-nav {
        position: relative !important;
        top: 0;
        right: auto;
        z-index: 1004;
        transform: none !important;
        display: inline-flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 118px !important;
        max-width: none !important;
        box-sizing: border-box !important;
        gap: 4px !important;
        overflow: visible !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 6px 12px !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        writing-mode: horizontal-tb !important;
        transform: none !important;
    }
    .demo-site-nav .register-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 9.5rem;
        padding: 0.75rem 1.25rem;
        border-radius: 0.5rem;
        background: var(--accent);
        color: #fff;
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.3;
        box-shadow: 0 0.25rem 0.75rem rgba(0, 70, 120, 0.2);
    }

    .demo-site-nav .register-link:hover,
    .demo-site-nav .register-link:focus-visible {
        background: var(--accent-deep);
        color: #fff;
    }
}
/* トップページ共通の背景色 */
body.site,
.site-head,
.site-foot,
.fixed-copyright-bar {
    background: #800000;
}

.site-head {
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.site-head .brand,
.site-head .site-nav a {
    color: #fff !important;
}

.menu-toggle {
    border-color: rgba(255, 255, 255, 0.6);
}

.menu-toggle .bar {
    background: #fff;
}

.site-foot {
    border-top-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* demo-app.css のフッター指定より優先して、ヘッダーの青系配色に揃える */
.site-foot {
    background: #07549b !important;
}

.site-foot .copyright,
.site-foot .foot-brand,
.site-foot .foot-nav a {
    color: #fff;
}

.site-foot .copyright {
    border-top-color: rgba(255, 255, 255, 0.35);
}

.site-foot .foot-nav a:hover {
    color: #c7f1df;
}

.registration-section > .section-inner > .section-heading,
.registration-section .less-banner,
.registration-section .registration-intro,
.registration-section .registration-panel,
.registration-section .registration-note {
    display: none;
}

/* フッターのレイアウト・背景はこの外部CSSで一元管理する */
.site-foot {
    position: static !important;
    clear: both;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px 20px 0 !important;
    background: #fff !important;
}
.footer-prelude {
    max-width: 1000px;
    margin: 0 auto;
    padding: 18px 20px 0;
}
.footer-prelude .footer-overview {
    color: #07549b;
}
.footer-prelude .footer-overview-item,
.footer-prelude .footer-overview-item strong,
.footer-prelude .footer-overview-item span {
    color: #07549b;
}

#overview.section.alt {
    padding-bottom: 320px !important;
}

.footer-bottom {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 110px;
    background-image:
        url('/assets/img/footer_bg.webp'), url('/assets/img/hero-bg.webp') !important;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.footer-overview {
    color: #07549b;
}

.footer-overview-item,
.footer-overview-item strong,
.footer-overview-item span {
    color: #07549b;
}

.footer-access-button {
    border-color: #07549b;
    color: #07549b;
}

/* フッター領域は画面下部に固定 */
@media (min-width: 701px) {
    body.site {
        padding-bottom: 195px !important;
    }

    body.site .site-foot {
        position: fixed !important;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 700px) {
    body.site {
        padding-bottom: 260px !important;
    }

    body.site .site-foot {
        position: fixed !important;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (min-width: 701px) {
    body {
        padding-bottom: 195px !important;
    }

    .site-foot {
        position: fixed !important;
        top: auto !important;
        right: 0;
        bottom: 0;
        left: 0;
        inset-block-start: auto !important;
        inset-block-end: 0 !important;
        z-index: 10000 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (max-width: 700px) {
    body {
        padding-bottom: 260px !important;
    }

    .site-foot {
        position: fixed !important;
        top: auto !important;
        right: 0;
        bottom: 0;
        left: 0;
        inset-block-start: auto !important;
        inset-block-end: 0 !important;
        z-index: 10000 !important;
        width: 100% !important;
        max-width: none !important;
    }
}

@media (min-width: 701px) {
    html body .site-foot {
        position: fixed !important;
        top: auto !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        inset: auto 0 0 0 !important;
        z-index: 2147483000 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    html body {
        padding-bottom: 120px !important;
    }

    #overview.section.alt {
        padding-bottom: 76px !important;
    }
}

@media (max-width: 700px) {
    #overview.section.alt {
        padding-bottom: 48px !important;
    }

    .demo-header-menu {
        z-index: 2147483001 !important;
        top: 8px !important;
        right: 12px !important;
        left: auto !important;
        bottom: auto !important;
        width: calc(100vw - 24px) !important;
        max-width: 360px !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: calc(100dvh - 20px) !important;
        border-width: 4px !important;
        border-radius: 16px !important;
        overflow-y: auto !important;
    }

    .demo-header-menu-title {
        padding: 10px 16px !important;
        font-size: 16px !important;
    }

    .demo-header-menu .demo-menu-stamp {
        padding: 8px 14px !important;
        font-size: 14px !important;
    }

    .demo-header-menu nav {
        padding: 4px 12px 10px !important;
    }

    .demo-header-menu nav a {
        padding: 9px 10px !important;
        font-size: 14px !important;
    }

    .demo-header-menu nav a span {
        font-size: 18px !important;
    }

    .demo-header-menu .demo-menu-company {
        padding: 10px 14px 12px !important;
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }
}

.pass-page .modal-window {
    position: relative;
}

.pass-page .modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #dc2626 !important;
    color: #fff !important;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.register-modal-window {
    position: relative !important;
    overflow: visible !important;
}

.register-modal-header {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 2147483646 !important;
    height: 58px !important;
    padding: 0 !important;
    background: transparent !important;
    pointer-events: none !important;
}

.register-modal-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 2147483647 !important;
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: #d71920 !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    pointer-events: auto !important;
}

@media (max-width: 700px) {
    .register-modal-close {
        top: 6px !important;
        right: 6px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 24px !important;
    }

    body.pass-page .pass-tab-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
    }

    body.pass-page .pass-tab-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding-right: 3px;
        padding-left: 3px;
        font-size: 10px;
        white-space: nowrap;
    }

    body.pass-page .pass-tab-title {
        font-size: 10px;
        white-space: nowrap;
    }

    html body:has(.embed-register) {
        padding-bottom: 0 !important;
    }
}

@media (min-width: 1001px) {
    .demo-site-head:not(.is-pass) .register-link {
        width: 154px !important;
        min-width: 154px !important;
        height: 154px !important;
        min-height: 154px !important;
        border: 5px solid #fff !important;
        border-radius: 50% !important;
        background: radial-gradient(
            circle at 35% 25%,
            #ff4fc6 0%,
            #ed00a8 42%,
            #9b00d8 72%,
            #5f00b5 100%
        ) !important;
        box-shadow:
            0 0 0 3px #ffd933,
            0 0 24px #fff,
            0 8px 18px #3a197866 !important;
        text-decoration: none;
    }

    .demo-header-menu .demo-mobile-global-link {
        display: none !important;
    }
}
