/*
 * Eventory header override
 * Based on tos2027-re/sass/_common.scss #header.
 * Load this stylesheet after the platform's default/Tailwind stylesheet.
 */

/* Tech Osaka Summit theme tokens */
html:root {
    --background: #fff;
    --foreground: #727272 !important;
    --card: #121212 !important;
    --card-foreground: #fff !important;
    --popover: #121212 !important;
    --popover-foreground: #fff !important;
    --primary: #0085e2 !important;
    --primary-foreground: #fff !important;
    --secondary: #26d4a9 !important;
    --secondary-foreground: #001a17 !important;
    --muted: #202020 !important;
    --muted-foreground: #c2c8dd !important;
    --accent: #ff9723 !important;
    --accent-foreground: #1a0b00 !important;
    --destructive: #e82e00 !important;
    --border: rgba(255, 255, 255, 0.8) !important;
    --input: #727272 !important;
    --ring: #00c8ff !important;
    --chart-1: #0085e2 !important;
    --chart-2: #00c8ff !important;
    --chart-3: #26d4a9 !important;
    --chart-4: #ff9723 !important;
    --chart-5: #e82e00 !important;
    --sidebar: #121212 !important;
    --sidebar-foreground: #fff !important;
    --sidebar-primary: #0085e2 !important;
    --sidebar-primary-foreground: #fff !important;
    --sidebar-accent: #202020 !important;
    --sidebar-accent-foreground: #fff !important;
    --sidebar-border: rgba(255, 255, 255, 0.2) !important;
    --sidebar-ring: #00c8ff !important;
    --success: #26d4a9 !important;
    --warning: #ff9723 !important;
    --info: #0085e2 !important;
    --color-black: #051f36 !important;
    --color-white: #fff !important;
}

body {
    padding-top: 100px !important;
    background: linear-gradient(180deg, #020209 0%, #003d69 100%) !important;
}

/* Apply the event gradient only to the portal top page. */
.event-module-layout.bg-white:has(.event-digest) {
    background: linear-gradient(180deg, #020209 0%, #003d69 100%) !important;
}

.booth-widget-card-item {
    background: #fff !important;
}

.event-html-widget {
    margin-top: 0 !important;
}

.event-header {
    position: fixed !important;
    top: 0;
    left: 50%;
    z-index: 99 !important;
    width: 97.2% !important;
    height: 80px !important;
    padding: 10px 30px !important;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 20px rgba(0, 37, 80, 0.12) !important;
    transition:
        background-color 0.5s ease-out,
        box-shadow 0.5s ease-out;
}

.event-header__inner {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
}

.event-header__logo-wrap {
    flex: 0 0 auto;
}

.event-header__logo {
    display: flex !important;
    align-items: center;
    height: 60px;
    padding: 0 !important;
    transition: opacity 0.3s ease;
}

.event-header__logo:hover {
    opacity: 0.72;
}

.event-header__logo-pc {
    width: 250px !important;
    background-position: left center;
    background-size: cover;
    background-repeat: no-repeat;
}

.event-header__tab-bar {
    height: 100%;
}

.event-header__nav {
    height: 100%;
    gap: 30px;
}

.event-header__tab,
.event-header__menu-trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: auto;
    max-width: none !important;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent;
    color: #2f2725 !important;
    font: inherit;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1;
    letter-spacing: 0.05em;
    cursor: pointer;
    overflow: visible;
    transition: opacity 0.3s ease;
}

.event-header__tab-label {
    color: inherit !important;
}

.event-header__tab:hover,
.event-header__menu-trigger:hover {
    background: linear-gradient(270deg, #00c7d0 0%, #0085e2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
}

.event-header__tab:nth-child(1) {
    display: none !important;
}

.event-header__tab:nth-child(2) {
    order: 2;
}

.event-header__tab:nth-child(3) {
    order: 3;
}

.event-header__tab:nth-child(4) {
    order: 1;
}

.event-header__tab[aria-current="page"]::after {
    display: none;
}

.event-header__menu-trigger svg {
    width: 12px;
    height: 12px;
    margin-left: 5px;
}

/* Header menu (Radix portal) */
[data-radix-popper-content-wrapper]:has([role="menu"]) {
    z-index: 120 !important;
    max-width: calc(100vw - 24px);
}

[data-radix-popper-content-wrapper] [role="menu"] {
    width: min(280px, calc(100vw - 24px));
    min-width: 240px;
    padding: 10px !important;
    border: 1px solid rgba(0, 133, 226, 0.2) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 18px 50px rgba(0, 37, 80, 0.2) !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Menu icons are decorative; keep only the labels. */
[data-radix-popper-content-wrapper] [role="menu"] img,
[data-radix-popper-content-wrapper] [role="menu"] svg {
    display: none !important;
}

.event-header__mobile-nav > .event-header__mobile-nav-item:first-child {
    display: none !important;
}

.event-header__mobile-nav {
    display: flex !important;
    flex-direction: column;
}

.event-header__mobile-nav > .event-header__mobile-nav-item[href*="/module/booth/472429"] {
    order: 1;
}

.event-header__mobile-nav > .event-header__mobile-nav-item[href*="/module/booth/476768"] {
    order: 2;
}

.event-header__mobile-nav > .event-header__mobile-nav-item:nth-child(2) {
    order: 3;
}

.event-header__mobile-nav > .event-header__mobile-nav-item:nth-child(3) {
    order: 4;
}

.event-header__mobile-nav > a.event-header__mobile-nav-item,
.event-header__mobile-nav > a.event-header__mobile-nav-item .event-header__mobile-nav-item-label {
    color: #000 !important;
}

[data-radix-popper-content-wrapper] [role="menuitem"],
[data-radix-popper-content-wrapper] [role="menuitemradio"],
[data-radix-popper-content-wrapper] [role="menuitemcheckbox"] {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #051f36 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    outline: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

[data-radix-popper-content-wrapper] [role^="menuitem"]:is(:hover, :focus-visible, [data-highlighted]) {
    background: linear-gradient(90deg, rgba(0, 200, 255, 0.13), rgba(0, 133, 226, 0.1)) !important;
    color: #0085e2 !important;
}

[data-radix-popper-content-wrapper] [role^="menuitem"][data-disabled] {
    opacity: 0.42;
    cursor: not-allowed;
}

[data-radix-popper-content-wrapper] [role="separator"] {
    height: 1px;
    margin: 7px 10px;
    background: rgba(0, 133, 226, 0.14) !important;
}

.route-event-top__sr-heading {
    display: none !important;
}

.event-portal-top-link--top {
    display: none !important;
}

.event-portal-top-link--bottom {
    display: none !important;
}

/*
 * Digest section heading
 * Recreates the Tech Osaka Summit 2027 heading style without changing
 * the CMS-generated markup or relying on heading-specific text.
 */
.event-digest-widget-title {
    box-sizing: border-box;
    margin: 100px auto 60px !important;
    padding: 0 !important;
}

.event-digest-widget-title__row {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 32px;
}

.event-digest-widget-title__group {
    display: block !important;
    min-width: 0;
}

.event-digest-widget-title__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.1em;
    text-align: left !important;
    overflow-wrap: anywhere;
}

/*
 * English titles in CMS display order.
 * Each title belongs to a separate section, so count only titled sections
 * directly under `.event-digest`. Edit only the quoted strings.
 */
.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) {
    --digest-title-en: "15-Minute Quick Connect";
}

/* .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) {
    --digest-title-en: "Talk Session";
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(3 of .event-digest-widget-section[aria-labelledby]) {
    --digest-title-en: "Pitch Contest";
} */

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(1 of .event-digest-widget-section[aria-labelledby]) {
    --digest-title-en: "Exhibition";
}

.event-digest-widget-title__heading::before {
    content: var(--digest-title-en, "");
    display: block;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(56px, 6.25vw, 80px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Content detail heading: same hierarchy as the digest headings. */
.contents_original_title {
    margin: 0 !important;
    padding: 0 !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(45px, 5vw, 64px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

.contents_original_label_title {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.1em;
    overflow-wrap: anywhere;
}

.contents_title_btm {
    max-width: 980px;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    letter-spacing: 0.05em;
}

/* Exhibition reservation steps */
.exhibition_box_inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 40px auto 56px;
    padding: 0;
    border: 0;
    background: transparent;
}

.exhibition_box_inner > .f_label {
    margin: 0 !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.08em;
}

.exhibition_box_inner .schedule_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 34px;
    margin: 15px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: exhibition-step;
}

.exhibition_box_inner .schedule_list > li {
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    min-height: 190px;
    padding: 22px 24px 24px;
    border: 1px solid rgba(0, 133, 226, 0.16);
    border-radius: 14px;
    background: #f5f9fc;
    color: #051f36;
    counter-increment: exhibition-step;
}

.exhibition_box_inner .schedule_list > li::before {
    content: "STEP " counter(exhibition-step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    color: #0085e2;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
}

.exhibition_box_inner .schedule_list > li::after {
    content: "\25B6";
    position: absolute;
    top: 50%;
    right: -25px;
    color: #00aeea;
    font-size: 15px;
    line-height: 1;
    transform: translateY(-50%);
}

.exhibition_box_inner .schedule_list > li:last-child::after {
    display: none;
}

.exhibition_box_inner .schedule_list h5 {
    margin: 0 0 12px !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.04em;
}

.exhibition_box_inner .schedule_list .f_text {
    margin: 0 !important;
    color: #40566a !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    letter-spacing: 0.03em;
}

.exhibition_box_inner .schedule_list .f_note {
    margin: 10px 0 0 !important;
    color: #647888 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    letter-spacing: 0.02em;
}

/* The parent design has no solid title underline. */
.event-digest-widget-title__bar,
.event-digest-widget-title__border {
    display: none !important;
}

.event-digest-widget-title__see-more {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 48px !important;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: transparent;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px !important;
    letter-spacing: 0.08em;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        opacity 0.25s ease;
}

.event-digest-widget-title__see-more:hover {
    border-color: #00c8ff;
    background: rgba(0, 133, 226, 0.2);
    opacity: 1 !important;
}

.event-digest-widget-title__see-more svg {
    width: 18px;
    height: 18px;
    margin-left: 8px !important;
}

/* =========================
 * My Page
 * ========================= */
.event-digest-widget-section:has(.event-mypage-widget) > .event-digest-widget-section__content {
    box-sizing: border-box;
    margin: 0 auto !important;
    padding: 0 !important;
}

.event-mypage-widget {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    width: 100%;
    margin: 70px auto 20px !important;
    padding: 48px 56px !important;
    border: 1px solid rgba(255, 255, 255, 0.38) !important;
    border-radius: 40px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.07) 58%, rgba(0, 200, 255, 0.1)), radial-gradient(circle at 90% 5%, rgba(0, 200, 255, 0.22), transparent 38%) !important;
    box-shadow:
        0 24px 60px rgba(0, 12, 30, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.event-mypage-widget__main {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.event-mypage-widget__title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

.event-mypage-widget__title::before {
    content: "My Page";
    display: block;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.event-mypage-widget__qr-area--pc,
.event-mypage-widget__qr-area--sp {
    flex: 0 0 auto;
}

.event-mypage-widget .event-mypage-qr-area {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 224px !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(0, 200, 255, 0.1)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 12px 30px rgba(0, 21, 48, 0.2);
}

.event-mypage-widget .event-mypage-code-group__qr-clickable {
    border: 0;
    border-radius: 10px !important;
    background: #fff !important;
    cursor: zoom-in;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.event-mypage-widget .event-mypage-code-group__qr-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 37, 80, 0.12);
}

.event-mypage-code-group__enlarge-text {
    color: rgba(5, 31, 54, 0.62) !important;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.05em;
}

/* My Page: logged-out state */
.event-mypage-widget--not-login {
    display: block !important;
}

.event-mypage-widget--not-login .event-mypage-widget__not-login-btn-area {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px !important;
    width: min(100%, 620px) !important;
    margin: 40px auto 0 !important;
}

.event-mypage-widget--not-login .event-mypage-widget__register-btn,
.event-mypage-widget--not-login .event-mypage-widget__login-btn {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 56px;
    margin: 0 !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none !important;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        opacity 0.25s ease;
}

.event-mypage-widget--not-login .event-mypage-widget__register-btn {
    border: 1px solid transparent !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #fff !important;
}

.event-mypage-widget--not-login .event-mypage-widget__login-btn {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.event-mypage-widget--not-login .event-mypage-widget__register-btn:hover,
.event-mypage-widget--not-login .event-mypage-widget__login-btn:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}

.event-mypage-widget--not-login .event-mypage-widget__login-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.event-mypage-widget--not-login .event-mypage-widget__register-btn:focus-visible,
.event-mypage-widget--not-login .event-mypage-widget__login-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* =========================
 * Talk Session list
 * The talk-session widget is the second titled section in `.event-digest`.
 * ========================= */
.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) > .event-digest-widget-section__content {
    box-sizing: border-box;
    margin: 0 auto !important;
    padding: 0 !important;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .event-booth-widget-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .event-booth-widget-list__item {
    box-sizing: border-box;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item {
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    min-height: 126px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 133, 226, 0.2);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 37, 80, 0.12);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item:hover {
    transform: translateY(-3px);
    border-color: #00a7ed;
    box-shadow: 0 14px 30px rgba(0, 87, 151, 0.2);
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__image {
    width: 140px !important;
    height: 98px !important;
    margin-right: 18px !important;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(145deg, #eafaff, #e9f2ff);
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
    object-fit: cover;
    opacity: 1 !important;
    transition: transform 0.35s ease;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item:hover .booth-widget-list-item__img {
    transform: scale(1.04);
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__title {
    margin: 0 !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.55;
    letter-spacing: 0.04em;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-favorite-button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-favorite-button:hover {
    background: rgba(219, 206, 79, 0.14);
    transform: scale(1.06);
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-favorite-button svg {
    width: 24px;
    height: 24px;
    fill: #dbce4f !important;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-favorite-button svg path {
    fill: #dbce4f !important;
}

.event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .event-digest-see-more-button__link {
    border-radius: 999px !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
}

/* =========================
 * Content pages
 * ========================= */
.module-content-layout {
    min-height: calc(100vh - 80px);
    padding-bottom: 80px;
    background: transparent !important;
}

.module-content-layout__back-link {
    display: none !important;
}

.module-content-layout .event-booth-page-content {
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: 1185px !important;
    padding: 0 !important;
}

/* Hide the CMS heading; the custom heading below is the visible title. */
.module-content-layout .module-section-header__bar {
    display: none !important;
}

.module-content-layout .event-booth-page-content__header {
    justify-content: flex-end;
    min-height: 44px !important;
    margin: 24px 0 8px !important;
}

.module-content-layout .booth-display-toggle {
    gap: 8px !important;
}

.module-content-layout .booth-display-toggle__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.64) !important;
}

.module-content-layout .booth-display-toggle__button[aria-pressed="true"] {
    border-color: #00c8ff;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.28), rgba(0, 133, 226, 0.22));
    color: #fff !important;
}

.module-content-layout .event-booth-page-content__list-text {
    margin: 0 0 36px !important;
}

.module-content-layout .event-booth-search-panel {
    margin-top: 0 !important;
}

.module-content-layout .event-booth-search-panel__toggle {
    min-height: 52px;
    height: auto !important;
    padding: 12px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.module-content-layout .event-booth-search-panel__toggle-icon {
    flex: 0 0 auto;
    color: #0085e2 !important;
}

.module-content-layout .event-booth-search-panel__content {
    margin-top: 14px !important;
    padding: 22px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 16px 40px rgba(0, 22, 50, 0.22);
}

.module-content-layout .event-booth-search-panel__keyword-label {
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700 !important;
}

.module-content-layout .event-booth-search-panel__keyword-field input {
    border-color: rgba(0, 133, 226, 0.28) !important;
    background: #fff;
    color: #051f36;
}

.module-content-layout .event-booth-search-panel__keyword-field input:focus {
    border-color: #0085e2 !important;
    box-shadow: 0 0 0 3px rgba(0, 133, 226, 0.14);
}

.module-content-layout .event-booth-search-panel__filter-buttons-inner {
    gap: 12px !important;
}

.module-content-layout .event-booth-search-panel__filter-button {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(5, 31, 54, 0.12);
    border-radius: 999px;
    background: #f5f9fc;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.module-content-layout .event-booth-search-panel__filter-button[aria-pressed="true"] {
    border-color: #0085e2;
    background: rgba(0, 133, 226, 0.1);
}

.module-content-layout .event-booth-search-panel__actions .button {
    min-height: 44px;
    border-radius: 999px !important;
    font-weight: 700;
}

.module-content-layout .event-booth-search-panel__actions .button[type="submit"] {
    border-color: #0085e2 !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #fff !important;
}

.module-content-layout .event-booth-search-panel__actions .button[type="button"]:hover {
    border-color: #d7dce1 !important;
    background: #f2f4f6 !important;
    color: #40566a !important;
}

.module-content-layout .event-booth-results__list {
    display: grid;
    align-items: start !important;
    gap: 14px;
    margin-top: 28px !important;
    padding: 0 !important;
    background: transparent !important;
}

.module-content-layout .booth-list-item {
    padding: 16px !important;
    overflow: hidden;
    border: 1px solid rgba(0, 133, 226, 0.18) !important;
    border-radius: 14px !important;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 37, 80, 0.12) !important;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.module-content-layout .booth-list-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 133, 226, 0.18) !important;
    box-shadow: 0 14px 32px rgba(0, 87, 151, 0.2) !important;
}

.module-content-layout .booth-list-item__inner {
    align-items: center;
    gap: 20px !important;
}

.module-content-layout .booth-list-item__image {
    width: 180px !important;
}

.module-content-layout .booth-image {
    border-radius: 6px !important;
    background: #fff;
}

.module-content-layout .booth-list-item .booth-image {
    border: 1px solid rgba(79, 131, 168, 0.18);
}

.module-content-layout .booth-card-item .booth-image {
    border: none !important;
}

.module-content-layout .booth-image__img {
    box-sizing: border-box;
    padding: 24px;
    object-fit: contain !important;
    transition: transform 0.35s ease;
}

.module-content-layout .booth-list-item .booth-image__img {
    padding: 12px;
}

.module-content-layout .booth-list-item:hover .booth-image__img {
    transform: scale(1.04);
}

.module-content-layout .booth-list-item__title {
    margin: 0 !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 18px !important;
    line-height: 1.55;
    letter-spacing: 0.04em;
}

.module-content-layout .booth-list-item__description {
    color: #808080 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.module-content-layout .booth-list-item .booth-favorite-button svg,
.module-content-layout .booth-list-item .booth-favorite-button svg path {
    fill: #ffb100 !important;
}

.module-content-layout .booth-list-item .booth-category-badges {
    gap: 0 !important;
}

.module-content-layout .booth-list-item .booth-category-badges__chip {
    padding-right: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
}

.module-content-layout .booth-list-item .booth-category-badges__text {
    color: #00a0ff !important;
}

/* Card grid */
.module-content-layout .booth-card-item {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 133, 226, 0.18) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 37, 80, 0.12) !important;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.module-content-layout .booth-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 133, 226, 0.18) !important;
    box-shadow: 0 14px 32px rgba(0, 87, 151, 0.2) !important;
}

.module-content-layout .booth-card-item__image {
    flex: 0 0 auto;
}

.module-content-layout .booth-card-item__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px !important;
}

.module-content-layout .booth-card-item__title {
    margin: 0 !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    line-height: 1.55 !important;
    letter-spacing: 0.03em;
}

.module-content-layout .booth-card-item__description {
    color: #808080 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.module-content-layout .booth-card-item .booth-favorite-button svg,
.module-content-layout .booth-card-item .booth-favorite-button svg path {
    fill: #ffb100 !important;
}

.module-content-layout .booth-card-item .booth-category-badges {
    gap: 0 !important;
}

.module-content-layout .booth-card-item .booth-category-badges__chip {
    padding-right: 0 !important;
    padding-left: 0 !important;
    background: transparent !important;
}

.module-content-layout .booth-card-item .booth-category-badges__text {
    color: #00a0ff !important;
}

.module-content-layout .booth-card-item__appointment {
    margin-top: auto !important;
    padding-top: 14px;
}

.module-content-layout .booth-card-item__appointment-button,
.module-content-layout .booth-list-item__appointment {
    min-height: 46px;
    padding: 10px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ffb13b 0%, #ff7a1a 100%) !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.module-content-layout .booth-card-item__appointment-button:hover,
.module-content-layout .booth-list-item__appointment:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.module-content-layout .booth-card-item__appointment-button:focus-visible,
.module-content-layout .booth-list-item__appointment:focus-visible {
    outline: 3px solid rgba(255, 151, 35, 0.3);
    outline-offset: 2px;
}

.module-content-layout .booth-card-item__appointment-button img,
.module-content-layout .booth-list-item__appointment img {
    width: 18px !important;
    height: 18px !important;
    filter: brightness(0) invert(1);
}

.module-content-layout .booth-favorite-button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.module-content-layout .booth-favorite-button:hover {
    background: rgba(219, 206, 79, 0.14);
}

.module-content-layout .event-booth-results__pagination {
    margin: 40px 0 0 !important;
}

.module-content-layout .pagination__list {
    gap: 8px !important;
}

.module-content-layout .pagination__prev,
.module-content-layout .pagination__page,
.module-content-layout .pagination__next {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
}

.module-content-layout .pagination__page[aria-current="page"] {
    border-color: transparent !important;
    background: linear-gradient(135deg, #00c8ff 0%, #0085e2 100%) !important;
}

/* =========================
 * Booth detail page
 * ========================= */
.module-content-layout:has(.event-booth-detail-content) .module-content-layout__title-wrap {
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 1085px;
    margin: 0 auto;
    text-align: left !important;
}

.module-content-layout:has(.event-booth-detail-content) .module-underline-title {
    display: block !important;
    width: fit-content;
    min-height: 0 !important;
    margin: 64px 0 36px !important;
}

.module-content-layout:has(.event-booth-detail-content) .module-underline-title__text {
    margin: 0 !important;
    padding: 0 0 12px !important;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: clamp(30px, 3.6vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.06em;
    text-align: left !important;
}

.module-content-layout:has(.event-booth-detail-content) .module-underline-title__underline {
    width: 100%;
    height: 5px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.28);
}

.module-content-layout .event-booth-detail-content {
    box-sizing: border-box;
    width: calc(100% - 40px) !important;
    max-width: 1085px !important;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px) !important;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 64px rgba(0, 22, 50, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.module-content-layout .event-booth-detail-content__image-block {
    max-width: 960px;
    margin: 0 auto;
}

.module-content-layout .event-booth-detail-content__image {
    box-sizing: border-box;
    margin-bottom: 30px !important;
    padding: 50px;
    border: 1px solid rgba(0, 133, 226, 0.14);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 37, 80, 0.12);
}

.module-content-layout .event-booth-detail-content__image img {
    display: block;
    width: 100%;
    border-radius: inherit;
}

.module-content-layout .event-booth-detail-content__title-block {
    margin-bottom: 30px;
    padding: 0 0 24px !important;
    border-bottom: 1px solid rgba(0, 133, 226, 0.16);
}

.module-content-layout .event-booth-detail-content__title-row {
    align-items: center !important;
    gap: 20px !important;
    padding: 0 !important;
}

.module-content-layout .event-booth-detail-content__title {
    margin: 0 !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: clamp(24px, 3vw, 34px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: 0.04em;
}

.module-content-layout .event-booth-detail-content__title-row .booth-favorite-button {
    width: 44px;
    height: 44px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.module-content-layout .event-booth-detail-content__title-row .booth-favorite-button:hover {
    transform: scale(1.06);
}

.module-content-layout .event-booth-detail-content__title-row .booth-favorite-button svg,
.module-content-layout .event-booth-detail-content__title-row .booth-favorite-button svg path {
    fill: #ffb100 !important;
}

.module-content-layout .event-booth-detail-content > .booth-block__item:empty {
    display: none;
}

.module-content-layout .event-booth-detail-content > .booth-block__item:not(:empty) {
    margin: 0 0 32px;
}

.module-content-layout .event-booth-detail-content .booth-category-section + .booth-block__item {
    margin-top: 24px;
}

.module-content-layout .event-booth-detail-content .booth-block-description {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #40566a !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
    letter-spacing: 0.03em !important;
    overflow-wrap: anywhere;
}

.module-content-layout .event-booth-detail-content .booth-block-description :where(p, div, span, li, mark) {
    background: transparent !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

.module-content-layout .event-booth-detail-content .booth-block-description :where(p, ul, ol, table, img) {
    margin-top: 0;
    margin-bottom: 1em;
}

.module-content-layout .event-booth-detail-content .booth-block-description > :last-child {
    margin-bottom: 0;
}

.module-content-layout .event-booth-detail-content .booth-block-description a {
    color: #007fc5 !important;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.module-content-layout .event-booth-detail-content .booth-block-text-link {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.module-content-layout .event-booth-detail-content .booth-block__label {
    margin: 0 0 10px !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid rgba(5, 31, 54, 0.14);
    background: transparent !important;
    color: #40566a !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.04em;
    text-align: left !important;
}

.module-content-layout .booth-business-appointment-section {
    margin-top: 30px;
}

.module-content-layout .booth-business-appointment-section .section-label {
    margin: 0 0 18px !important;
}

.module-content-layout .booth-business-appointment-section .section-label__text {
    margin: 0 !important;
    color: #051f36 !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 20px !important;
    letter-spacing: 0.06em;
}

.module-content-layout .booth-business-appointment-section .section-label__underline {
    height: 3px !important;
    margin-top: 7px !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
}

.module-content-layout .booth-business-appointment-section__panel {
    overflow: hidden;
    border: 1px solid rgba(0, 133, 226, 0.18) !important;
    border-radius: 16px !important;
    background: #f5f9fc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.module-content-layout .booth-business-appointment-section__selection {
    padding: 24px !important;
}

.booth-business-appointment-dialog__panel {
    padding: 30px !important;
}

.module-content-layout .business-appointment-mode-selector {
    padding: 0 !important;
}

.module-content-layout .business-appointment-mode-selector__tabs {
    gap: 8px !important;
    padding: 5px;
    border: 1px solid rgba(0, 133, 226, 0.14);
    border-radius: 12px;
    background: #fff;
}

.module-content-layout .business-appointment-mode-selector__tab {
    min-height: 42px;
    border-color: transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #4d6172 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.module-content-layout .business-appointment-mode-selector__tab[aria-selected="true"] {
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #fff !important;
}

.module-content-layout .business-appointment-selection-panel {
    padding: 24px 0 0 !important;
}

.module-content-layout .business-appointment-date-selector__label,
.module-content-layout .business-appointment-time-selector__label {
    color: #40566a !important;
    font-weight: 700;
}

.module-content-layout .business-appointment-date-selector__nav {
    width: 36px !important;
    height: 36px !important;
    border-color: rgba(0, 133, 226, 0.24) !important;
    background: #fff;
    color: #0085e2 !important;
}

.module-content-layout .business-appointment-date-selector__chip {
    border: 1px solid rgba(0, 133, 226, 0.16);
    background: #fff !important;
    color: #40566a !important;
}

.module-content-layout .business-appointment-date-selector__chip[aria-pressed="true"] {
    border-color: transparent;
    background: linear-gradient(135deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #fff !important;
}

.module-content-layout .business-appointment-time-selector__grid {
    gap: 10px !important;
}

.module-content-layout .business-appointment-time-selector__chip {
    min-height: 40px;
    border-color: rgba(0, 133, 226, 0.2) !important;
    background: #fff !important;
    color: #40566a !important;
    font-weight: 600;
}

.module-content-layout .business-appointment-time-selector__chip:is(:hover, [aria-pressed="true"]) {
    border-color: #0085e2 !important;
    background: rgba(0, 133, 226, 0.1) !important;
    color: #006db9 !important;
}

/* Keep gradient controls crisp and flat. */
.event-mypage-widget--not-login .event-mypage-widget__register-btn,
.event-digest-see-more-button__link,
.module-content-layout .event-booth-search-panel__toggle,
.module-content-layout .event-booth-search-panel__actions .button[type="submit"],
.module-content-layout .booth-card-item__appointment-button,
.module-content-layout .booth-list-item__appointment,
.module-content-layout .pagination__page[aria-current="page"],
.module-content-layout .business-appointment-mode-selector__tab[aria-selected="true"],
.module-content-layout .business-appointment-date-selector__chip[aria-pressed="true"] {
    border: none !important;
    box-shadow: none !important;
}

/* =========================
 * Login page
 * ========================= */
body:has(.login-layout) {
    padding-top: 0 !important;
    background: #051f36 !important;
}

.login-layout {
    background: transparent !important;
}

.event-module-layout {
    background: transparent !important;
}

/* =========================
 * Responsive: desktop
 * ========================= */
@media screen and (min-width: 781px) {
    .event-header__menu-trigger svg {
        display: none;
    }

    .event-header__logo-wrap {
        display: flex;
        align-items: center;
        gap: 20px;
        max-width: max-content !important;
    }

    .event-header__logo-wrap::after {
        content: "商談申し込み";
        display: inline-block;
        color: #000;
        font-family: "Noto Sans JP", sans-serif !important;
        font-size: 18px;
    }

}

/* =========================
 * Responsive: tablet
 * ========================= */
@media screen and (max-width: 800px) {
    .event-mypage-widget--not-login .event-mypage-widget__not-login-btn-area {
        grid-template-columns: 1fr;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 28px !important;
    }

    .event-mypage-widget--not-login .event-mypage-widget__register-btn,
    .event-mypage-widget--not-login .event-mypage-widget__login-btn {
        min-height: 52px;
        font-size: 14px !important;
    }
}

/* =========================
 * Responsive: mobile
 * ========================= */
@media screen and (max-width: 780px) {
    body {
        padding-top: 70px !important;
    }

    /* Header */
    .event-header {
        width: calc(100% - 20px) !important;
        height: 60px !important;
        padding: 0 !important;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 16px rgba(0, 37, 80, 0.12) !important;
    }

    .event-header__inner {
        position: relative;
        justify-content: center !important;
    }

    .event-header__logo-wrap {
        margin: 0 auto !important;
    }

    .event-header__logo {
        height: 60px;
        padding: 0 54px !important;
    }

    .event-header__logo-sp {
        display: block !important;
        width: auto !important;
        max-width: 150px !important;
        height: 35px !important;
        object-fit: contain;
    }

    .event-header__tab-bar {
        display: none !important;
    }

    .event-header__mobile-menu {
        display: block !important;
    }

    .event-header__hamburger {
        position: absolute !important;
        top: 19px !important;
        right: 20px !important;
        display: flex !important;
        width: 30px !important;
        height: 22px !important;
        padding: 0;
        border: 0;
        background:
            linear-gradient(270deg, #00c7d0 0%, #0085e2 100%) top / 100% 2px no-repeat,
            linear-gradient(270deg, #00c7d0 0%, #0085e2 100%) center / 100% 2px no-repeat,
            linear-gradient(270deg, #00c7d0 0%, #0085e2 100%) bottom / 100% 2px no-repeat;
        cursor: pointer;
    }

    .event-header__hamburger img {
        display: none;
    }

    /* Headings */
    .event-digest-widget-title {
        margin: 60px auto 40px !important;
        padding: 0 20px !important;
    }

    .event-digest-widget-title__row {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .event-digest-widget-title__heading {
        gap: 7px;
        font-size: clamp(14px, 3.5897435897vw, 18px) !important;
    }

    .event-digest-widget-title__heading::before {
        font-size: clamp(42px, 12.8205128205vw, 64px);
        white-space: normal;
    }

    .contents_original_title {
        font-size: clamp(34px, 10.25vw, 51px) !important;
        line-height: 1.05 !important;
    }

    .contents_original_label_title {
        margin-top: 7px !important;
        font-size: clamp(14px, 3.5897435897vw, 18px) !important;
    }

    .contents_title_btm {
        margin-top: 18px !important;
        font-size: 14px !important;
        line-height: 1.85 !important;
        letter-spacing: 0.03em;
    }

    .exhibition_box_inner {
        width: 100%;
        margin: 32px auto 40px;
        padding: 0;
    }

    .exhibition_box_inner > .f_label {
        font-size: 18px !important;
    }

    .exhibition_box_inner .schedule_list {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 15px !important;
    }

    .exhibition_box_inner .schedule_list > li {
        min-height: 0;
        padding: 20px;
        border-radius: 12px;
    }

    .exhibition_box_inner .schedule_list > li::after {
        top: auto;
        right: 50%;
        bottom: -21px;
        transform: translateX(50%) rotate(90deg);
    }

    .exhibition_box_inner .schedule_list h5 {
        font-size: 17px !important;
    }

    .exhibition_box_inner .schedule_list .f_text {
        font-size: 14px !important;
    }

    .event-digest-widget-title__see-more {
        display: none !important;
    }

    /* My Page */
    .event-digest-widget-section:has(.event-mypage-widget) > .event-digest-widget-section__content,
    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) > .event-digest-widget-section__content {
        width: 100% !important;
        padding: 0 20px !important;
    }

    .event-mypage-widget {
        display: block !important;
        margin-top: 40px !important;
        padding: 32px 20px !important;
        border-radius: 20px !important;
    }

    .event-mypage-widget__main {
        display: block !important;
    }

    .event-mypage-widget__title {
        gap: 6px;
        font-size: 14px !important;
    }

    .event-mypage-widget__title::before {
        font-size: clamp(42px, 12.8205128205vw, 56px);
    }

    .event-mypage-widget__qr-area--sp {
        margin-top: 28px !important;
    }

    .event-mypage-widget .event-mypage-qr-area {
        width: min(100%, 260px) !important;
        margin: 0 auto;
    }

    /* Talk Session */
    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .event-booth-widget-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item {
        min-height: 104px;
        padding: 12px;
        border-radius: 12px;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__image {
        width: 110px !important;
        height: 78px !important;
        margin-right: 12px !important;
        border-radius: 8px;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__img {
        border-radius: 8px !important;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__title {
        font-size: 15px !important;
        line-height: 1.45;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-favorite-button {
        width: 30px;
        height: 30px;
    }

    /* Content pages */
    .module-content-layout {
        min-height: calc(100vh - 60px);
        padding-bottom: 56px;
    }

    .module-content-layout .event-booth-page-content {
        width: 100% !important;
        padding: 0 20px !important;
    }

    .module-content-layout .event-booth-page-content__header {
        min-height: 40px !important;
        margin: 16px 0 8px !important;
    }

    .module-content-layout .booth-display-toggle__button {
        width: 38px;
        height: 38px;
    }

    .module-content-layout .event-booth-page-content__list-text {
        margin-bottom: 28px !important;
    }

    .module-content-layout .event-booth-search-panel__toggle {
        min-height: 48px;
        padding: 10px 14px !important;
    }

    .module-content-layout .event-booth-search-panel__content {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .module-content-layout .event-booth-search-panel__filter-button {
        min-height: 40px;
        padding: 7px 10px;
    }

    .module-content-layout .event-booth-search-panel__actions {
        gap: 10px !important;
    }

    .module-content-layout .event-booth-search-panel__actions .button {
        width: 50% !important;
    }

    .module-content-layout .event-booth-results__list {
        gap: 12px;
        margin-top: 22px !important;
    }

    .module-content-layout .booth-list-item {
        padding: 12px !important;
        border: 1px solid rgba(0, 133, 226, 0.18) !important;
        border-radius: 12px !important;
        box-shadow: 0 6px 18px rgba(0, 37, 80, 0.1) !important;
    }

    .module-content-layout .booth-list-item__inner {
        gap: 12px !important;
    }

    .module-content-layout .booth-list-item__image {
        width: 110px !important;
    }

    .module-content-layout .booth-image {
        border-radius: 8px !important;
    }

    .module-content-layout .booth-image__img {
        padding: 16px;
    }

    .module-content-layout .booth-list-item .booth-image__img {
        padding: 8px;
    }

    .module-content-layout .booth-list-item__title {
        font-size: 15px !important;
        line-height: 1.45;
    }

    .module-content-layout .booth-card-item__description,
    .module-content-layout .booth-list-item__description {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .module-content-layout .event-booth-results__pagination {
        margin-top: 32px !important;
    }

    .module-content-layout .pagination__prev,
    .module-content-layout .pagination__page,
    .module-content-layout .pagination__next {
        width: 38px !important;
        height: 38px !important;
    }

    /* Booth detail page */
    .module-content-layout:has(.event-booth-detail-content) .module-content-layout__title-wrap {
        width: calc(100% - 40px);
    }

    .module-content-layout:has(.event-booth-detail-content) .module-underline-title {
        margin: 42px 0 26px !important;
    }

    .module-content-layout:has(.event-booth-detail-content) .module-underline-title__text {
        padding-bottom: 9px !important;
        font-size: clamp(25px, 8vw, 34px) !important;
        letter-spacing: 0.04em;
    }

    .module-content-layout .event-booth-detail-content {
        width: calc(100% - 24px) !important;
        padding: 20px 16px 28px !important;
        border-radius: 18px;
    }

    .module-content-layout .event-booth-detail-content__image {
        margin-bottom: 22px !important;
        padding: 20px;
        border-radius: 12px;
    }

    .module-content-layout .event-booth-detail-content__title-block {
        margin-bottom: 24px;
        padding-bottom: 18px !important;
    }

    .module-content-layout .event-booth-detail-content__title-row {
        gap: 12px !important;
    }

    .module-content-layout .event-booth-detail-content__title {
        font-size: 22px !important;
    }

    .module-content-layout .event-booth-detail-content__title-row .booth-favorite-button {
        width: 38px;
        height: 38px;
    }

    .module-content-layout .event-booth-detail-content > .booth-block__item:not(:empty) {
        margin-bottom: 24px;
    }

    .module-content-layout .event-booth-detail-content .booth-category-section + .booth-block__item {
        margin-top: 18px;
    }

    .module-content-layout .event-booth-detail-content .booth-block-description {
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    .module-content-layout .event-booth-detail-content .booth-block__label {
        margin-bottom: 8px !important;
        padding-bottom: 7px !important;
        font-size: 15px !important;
    }

    .module-content-layout .booth-business-appointment-section .section-label__text {
        font-size: 18px !important;
    }

    .module-content-layout .booth-business-appointment-section {
        margin-top: 20px;
    }

    .module-content-layout .booth-business-appointment-section__selection {
        padding: 16px !important;
    }

    .booth-business-appointment-dialog__panel {
        padding: 20px !important;
    }

    .module-content-layout .business-appointment-mode-selector__tab {
        min-height: 40px;
        padding: 7px 6px !important;
        font-size: 12px !important;
    }

    .module-content-layout .business-appointment-selection-panel {
        padding-top: 20px !important;
    }

    .module-content-layout .business-appointment-date-selector__inner {
        gap: 6px !important;
    }

    .module-content-layout .business-appointment-date-selector__dates {
        gap: 8px !important;
    }

    .module-content-layout .business-appointment-date-selector__chip {
        width: 60px !important;
        height: 60px !important;
    }

    .module-content-layout .business-appointment-time-selector__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .module-content-layout .business-appointment-time-selector__chip {
        padding: 7px 5px !important;
        font-size: 11px !important;
    }
}

/* =========================
 * Responsive: small mobile
 * ========================= */
@media screen and (max-width: 420px) {
    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__image {
        width: 92px !important;
        height: 66px !important;
    }

    .event-digest > .event-digest-widget-section[aria-labelledby]:nth-child(2 of .event-digest-widget-section[aria-labelledby]) .booth-widget-list-item__title {
        font-size: 14px !important;
    }
}

/* =========================
 * Top page booth cards: match the exhibition listing
 * ========================= */
.event-digest .event-booth-widget-card__item {
    min-width: 0;
}

.event-digest .booth-widget-card-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 133, 226, 0.18) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 37, 80, 0.12) !important;
    font-family: "Noto Sans JP", sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-digest .booth-widget-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 87, 151, 0.2) !important;
}

.event-digest .booth-widget-card-item__image {
    flex: 0 0 auto;
}

.event-digest .booth-widget-card-item__image-wrapper {
    border-radius: 6px !important;
    background: #fff;
}

.event-digest .booth-widget-card-item__img {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 100%;
    padding: 24px;
    object-fit: contain !important;
}

.event-digest .booth-widget-card-item__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 16px !important;
}

.event-digest .booth-widget-card-item__title-row {
    gap: 8px;
}

.event-digest .booth-widget-card-item__title {
    min-width: 0;
    height: 3.1em !important;
    margin: 0 !important;
    color: #051f36 !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.55 !important;
    letter-spacing: 0.03em;
}

.event-digest .booth-widget-card-item__category-row {
    margin-top: 10px !important;
}

.event-digest .booth-widget-card-item__category {
    height: auto !important;
    min-height: 3.2em;
    margin: 0;
    color: #007fc5 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    -webkit-line-clamp: 2;
}

.event-digest .booth-widget-card-item .booth-favorite-button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.event-digest .booth-widget-card-item .booth-favorite-button:hover {
    background: rgba(255, 177, 0, 0.14);
}

/* Preserve the platform's outlined/filled star shapes for each state. */
.event-digest .booth-widget-card-item .booth-favorite-button svg,
.event-digest .booth-widget-card-item .booth-favorite-button svg path {
    fill: #ffb100 !important;
}

.event-digest .booth-widget-card-item:focus-visible,
.event-digest .booth-widget-card-item .booth-favorite-button:focus-visible {
    outline: 3px solid #0085e2 !important;
    outline-offset: 3px;
}

@media screen and (max-width: 767px) {
    .event-digest .booth-widget-card-item__img {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .event-digest .booth-widget-card-item {
        transition: none;
    }

    .event-digest .booth-widget-card-item:hover {
        transform: none;
    }
}

/* =========================
 * Login page: TOS 2027 registration theme
 * Keep these overrides after the shared responsive rules.
 * ========================= */
body:has(.login-layout) {
    padding-top: 0 !important;
    background: radial-gradient(circle at 85% 15%, rgba(0, 200, 255, 0.2), transparent 34%),
        linear-gradient(180deg, #020209 0%, #003d69 100%) !important;
}

.login-layout {
    box-sizing: border-box;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    padding: 48px 24px !important;
    background: transparent !important;
    color: #051f36;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
}

.login-layout .login-layout__card {
    position: relative;
    width: 100% !important;
    max-width: 1080px !important;
    min-height: 600px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(0, 20, 48, 0.32) !important;
}

.login-layout .login-layout__left {
    position: relative;
    overflow: hidden;
    padding: 48px !important;
    background: radial-gradient(circle at 15% 15%, rgba(0, 200, 255, 0.28), transparent 38%),
        linear-gradient(145deg, #020209 0%, #003d69 100%) !important;
    color: #fff;
}

.login-layout__left::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(0, 200, 255, 0.24);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(0, 200, 255, 0.035), 0 0 0 100px rgba(0, 133, 226, 0.025);
    pointer-events: none;
}

.login-layout__left-inner {
    position: relative;
    z-index: 1;
    min-width: 0;
}

/* CMS-managed text title, matching the TOS 2027 heading style. */
.login-layout .login-title__heading {
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: none;
    -webkit-text-fill-color: #fff;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.02em;
    text-align: left;
    word-break: normal;
    overflow-wrap: anywhere;
}

.login-layout .login-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 22px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%);
}

.login-layout .login-page-content__description {
    margin-top: 28px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.9 !important;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
}

.login-layout .login-layout__form {
    min-width: 0;
    padding: 48px !important;
    background: #fff !important;
}

.login-layout .login-layout__form-inner {
    width: 100%;
    max-width: 420px !important;
    margin-inline: auto;
}

.login-layout .form__label {
    display: block;
    color: #051f36 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    letter-spacing: 0.03em;
}

.login-layout input.input {
    box-sizing: border-box;
    height: 52px !important;
    border: 1px solid #ccd8e2 !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    color: #051f36 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500;
    box-shadow: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.login-layout input.input::placeholder {
    color: #647888 !important;
    opacity: 1;
}

.login-layout input.input:hover {
    border-color: #91aabd !important;
}

.login-layout input.input:focus-visible {
    outline: 2px solid #0085e2 !important;
    outline-offset: 2px;
    border-color: #0085e2 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.login-layout input.input[aria-invalid="true"] {
    border-color: #d72b00 !important;
}

.login-layout input.input:-webkit-autofill {
    -webkit-text-fill-color: #051f36 !important;
    box-shadow: 0 0 0 1000px #f8fafc inset !important;
}

.login-layout .password-field__input-wrap input.input {
    padding-right: 52px !important;
}

.login-layout .password-field__input-wrap .button {
    width: 48px !important;
    border-radius: 0 9px 9px 0 !important;
    color: #647888 !important;
}

.login-layout .password-field__input-wrap .button:hover {
    background: rgba(0, 133, 226, 0.08) !important;
    color: #007fc5 !important;
}

.login-layout .login-form__links {
    flex-wrap: wrap;
    gap: 12px;
}

.login-layout .login-form__links a {
    color: #007fc5 !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.7;
    text-underline-offset: 3px;
}

.login-layout .login-form__links a:hover {
    color: #005f99 !important;
}

.login-layout .login-form__submit,
.login-layout .login-form__register {
    min-height: 54px !important;
    height: auto !important;
    padding: 14px 24px !important;
    border-radius: 9px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.6;
    letter-spacing: 0.08em;
    white-space: normal;
    transition: filter 0.2s ease, background-color 0.2s ease !important;
}

.login-layout .login-form__submit {
    border: 0 !important;
    background: linear-gradient(90deg, #00c8ff 0%, #0085e2 100%) !important;
    color: #051f36 !important;
    box-shadow: none !important;
}

.login-layout .login-form__submit:not(:disabled):hover {
    filter: brightness(1.06);
}

.login-layout .login-form__register {
    border: 1px solid #0085e2 !important;
    background: #fff !important;
    color: #0070b5 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.login-layout .login-form__register:hover {
    background: #edf8ff !important;
}

.login-layout .button:focus-visible,
.login-layout a:focus-visible {
    outline: 2px solid #0085e2 !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

.login-layout .password-field__input-wrap .button:focus-visible {
    outline-offset: -4px;
}

.login-layout .login-form__submit:disabled,
.login-layout input.input:disabled {
    border: 1px solid #d7dfe5 !important;
    background: #edf1f4 !important;
    color: #647888 !important;
    box-shadow: none !important;
    cursor: not-allowed;
    filter: none;
}

.login-layout .form__message {
    color: #d72b00 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
    .login-layout .login-layout__left,
    .login-layout .login-layout__form {
        flex: 0 0 50% !important;
        width: 50% !important;
    }
}

@media screen and (max-width: 767px) {
    .login-layout {
        padding: 0 !important;
        background: #fff !important;
    }

    .login-layout .login-layout__card {
        min-height: 100vh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .login-layout .login-layout__left {
        padding: 42px 24px 38px !important;
    }

    .login-layout .login-title__heading {
        font-size: 32px !important;
    }

    .login-layout .login-title::after {
        width: 56px;
        height: 3px;
        margin-top: 16px;
    }

    .login-layout .login-page-content__description {
        margin-top: 20px !important;
        font-size: 14px !important;
    }

    .login-layout .login-layout__form {
        padding: 32px 24px 42px !important;
    }
}

@media screen and (max-width: 380px) {
    .login-layout .login-layout__left,
    .login-layout .login-layout__form {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-layout input.input,
    .login-layout .login-form__submit,
    .login-layout .login-form__register {
        transition: none !important;
    }
}
