html {
    scrollbar-gutter: stable;
}

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.dmap-control-menu {
    position: absolute;
    bottom: 29px;
    right: 18px;
    width: 50px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.dmap-control-menu button,
.dmap-control-menu div,
.dmap-control-menu img {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}
.dmap-control-menu span {
    color: #000;
    font-size: 10px;
    line-height: 1.5;
}
.dmap-control-menu p {
    color: #000;
    font-size: 10px;
    line-height: 1.5;
    margin: 0;
}
.dmap-control-menu #favoriteRouteButton,
.dmap-control-menu #debug-reset-btn {
    position: absolute;
    bottom: 1px;
    right: 2px;
}
#favoriteImportButton,
#debug-reset-btn,
#okiniiri-saikeisan-btn {
    color: white;
    border: none;
    padding: 0;
    border-radius: 5px;
    cursor: pointer;
}
.favorite-route {
    color: white;
    border: none;
    cursor: pointer;
    width: 80px;
    height: 50px;
    padding: 0;
}
#favoriteImportButton:hover,
#debug-reset-btn:hover,
#okiniiri-saikeisan-btn:hover,
.favorite-route:hover {
    transform: scale(1.05);
}
#goriyouhouhou {
    background-color: #ffff00;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
#goriyouhouhou:hover {
    background-color: #cccc00;
    color: #fff;
}
img#userUrlQrImage {
    border: 2px solid #ddd;
}
img#userUrlQrImage {
    width: 50px;
    height: auto;
}
#goriyouhouhou {
    width: 180px;
    background: #ffff00;
    padding: 6px;
    border: 4px solid #cccc00;
    border-radius: 15px;
    margin: 0;
    cursor: pointer;
    text-align: center;
    color: #000;
    font-size: 14px;
    transition:
        background 0.2s,
        color 0.2s,
        border 0.2s;
    box-sizing: border-box;
}
#goriyouhouhou:hover {
    background: #cccc00;
    color: #fff;
}
@media (max-width: 768px) {
    #favoriteImportButton,
    #goriyouhouhou {
        display: none;
    }
    img#userUrlQrImage {
        display: none;
    }
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 33%;
    max-width: 600px;
    height: calc(100% - 88px);
    max-height: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    overflow: auto;
    border-radius: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 20px;
    border: 10px solid rgb(6, 18, 177);
    box-sizing: border-box;
}
.modal:focus {
    outline: none;
}
.modal-close-button {
    position: fixed;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-color: #f44336;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
.modal-close-button:hover {
    background-color: #d32f2f;
}
.modal-content {
    max-height: calc(100%);
    overflow-y: auto;
    padding-top: 10px;
}
.exhibitor-details {
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    height: auto;
    overflow: auto;
}
.exhibitor-header {
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    display: flex;
}
/* .exhibitor-name { font-size: 20px; font-weight: bold; color: #333; margin: 0; } */
/* .exhibitor-name-en { font-size: 14px; color: #666; margin: 3px 0 0; } */
.exhibitor-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    background-color: #ffffff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0;
}
.info-item {
    width: 100%;
    font-size: 12px;
    color: #444;
    margin: 0;
}
.info-item strong {
    color: #000;
}
.exhibitor-actions {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    align-items: center;
    gap: 0 10px;
    width: 100%;
}
/* .exhibitor-fixed{position:absolute; bottom: 0; left:50%; transform: translateX(-50%); background-color: #fff; width: 100%;} */
.exhibitor-fixed {
    background-color: #fff;
    width: 100%;
}

@media (max-width: 768px) {
    .modal-close-button {
        top: 5px;
    }
    .exhibitor-header p:nth-of-type(2) {
        margin-top: 0.5rem;
    }
    /* .exhibitor-details { padding-bottom: 100px; } */
    .exhibitor-actions {
        width: 30%;
        padding: 0px 0;
    }
}
.visit-select:not(.interaction-select) {
    padding: 5px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0;
}
.favorite-button,
.visit-toggle-button,
.choose-start-position-button {
    padding: 0;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #fff;
    color: #333;
    margin: 0;
    line-height: 0.5;
}
.favorite-button img,
.visit-toggle-button img,
.choose-start-position-button img {
    width: 35px;
    height: auto;
}
.favorite-button span,
.visit-toggle-button span,
.choose-start-position-button span {
    font-size: 7px;
}
@media (max-width: 768px) {
    .favorite-button img,
    .visit-toggle-button img,
    .choose-start-position-button img {
        width: 40px;
    }
}
.favorite-button:hover {
    transform: scale(1.1);
}
.exhibitor-memo {
    margin: 10px auto;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    width: 90%;
}
.memo-textarea {
    width: 100%;
    height: 250px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    margin: 0;
    box-sizing: border-box;
    padding-right: 0 !important;
    line-height: 1.5;
    margin-right: auto;
}
/* .save-memo-button { margin-top: 5px; padding: 5px 5px; border-radius: 10px; cursor: pointer; position: absolute; top:68px; right:22px; border: none; background-color: unset;} */
.save-memo-button {
    margin-top: 5px;
    padding: 5px 5px;
    border-radius: 10px;
    cursor: pointer;
    position: sticky;
    top: 68px;
    right: 22px;
    border: none;
    background-color: unset;
}
.save-memo-button:hover {
    transform: scale(1.1);
}
/* .voice-input-button{margin-top: 5px; padding: 5px 5px; border-radius: 10px; cursor: pointer; position: absolute; top:32px; right:22px; border: none; background-color: unset;} */
@media (max-width: 768px) {
    .memo-textarea {
        width: 99%;
        height: 190px;
    }
    .save-memo-button {
        top: 56px;
        right: 11px;
    }
    /* .voice-input-button{top:14px; right:12px;} */
}
.contact-button {
    padding: 5px 10px;
    font-size: 12px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0;
}
.contact-button:hover {
    transform: scale(1.1);
}
.exhibitor-contact {
    display: none;
}
.recommended-header {
    background-color: #ff4500;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
.exhibitor-header2 {
    width: 100%;
    padding: 0 10px;
}
@media (max-width: 768px) {
    .modal {
        width: 100%;
        padding: 0;
        top: 0;
        transform: translate(-50%, 0%);
        height: 100%;
        max-height: 100%;
        z-index: 10000;
    }
    .modal-content {
        font-size: 12px;
        padding: 10px;
        overflow-y: auto;
        max-height: 75vh;
    }
    .exhibitor-header {
        /* position: fixed; */
        min-height: 0px;
        top: 0;
        left: 0;
        width: 100%;
        background-color: unset;
        display: flex;
        height: 25px;
    }
    .exhibitor-header2 {
        width: 100%;
        padding: 0 10px;
    }
    .exhibitor-header h3 {
        font-size: 18px;
        width: 30%;
    }
    .exhibitor-header p,
    .exhibitor-info p,
    .exhibitor-contact p,
    .exhibitor-description p {
        font-size: 14px;
        line-height: 1.6;
    }
    .voice-memo-modal {
        right: 0;
        transform: translate(0%, 0%);
        height: calc(100% - 85px);
    }
}
.choose-start-position-button:hover {
    transform: scale(1.1);
}
.alert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}
.alert-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 340px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.alert-modal-content p {
    width: 100%;
    text-align: left;
}
.alert-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}
.alert-modal-close-button,
.alert-modal-cancel-button {
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 0;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
    min-width: 100px;
}
.alert-modal-close-button {
    background-color: #007bff;
}
.alert-modal-cancel-button {
    background-color: #6c757d;
}
.alert-modal-close-button:hover,
.alert-modal-cancel-button:hover {
    transform: scale(1.05);
}
.alert-modal-close-button:hover {
    background-color: #0056b3;
}
.alert-modal-cancel-button:hover {
    background-color: #5a6268;
}
#debug-reset-btn:hover {
    transform: scale(1.1);
}
@media (max-width: 480px) {
    #debug-reset-btn {
        top: 50px; /* padding: 8px; */
        font-size: 16px;
        border-radius: 6px;
    }
}
#okiniiri-saikeisan-btn {
    background-color: #a72828;
}
#okiniiri-saikeisan-btn:hover {
    background-color: #882121;
}
@media (max-width: 480px) {
    #okiniiri-saikeisan-btn {
        top: 100px;
        padding: 8px;
        font-size: 16px;
        border-radius: 6px;
    }
}
.favorite-route-container {
    padding: 0px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border: none;
    width: 100%;
    text-align: right;
}
.favorite-route {
    font-size: 14px;
    padding: 8px;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background-color: #fff;
    padding: 0;
}
.favorite-route:hover {
    transform: scale(1.1);
}
.favorite-route[disabled]:hover {
    background-color: #ccc;
}
.favorite-route img {
    width: 50px;
    height: auto;
}
@media (max-width: 480px) {
    .favorite-route {
        width: 50px;
        line-height: 0.8;
        bottom: -19px !important;
    }
    .favorite-route-container {
        top: 50px;
    }
    .favorite-route img {
        width: 40px;
        height: auto;
    }
}
.favorite-Impor-container {
    position: fixed;
    top: 8px;
    right: 10px;
    z-index: 9999;
    padding: 0px;
    color: black;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.favorite-Impor {
    font-size: 14px;
    padding: 8px;
    background-color: #3fc6ff;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.favorite-Impor:hover {
    background-color: #2488b3;
}
@media (max-width: 480px) {
    .favorite-Impor-container {
        display: none;
    }
}
.prModal.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    background-color: #fff;
}
.prModal .modal-content {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}
.pr_button_container {
    position: fixed;
    bottom: 5px;
    left: 30px;
    right: 30px;
    z-index: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}
.pr_button_slot {
    width: 280px;
    height: 70px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: sans-serif;
    color: #333;
    border: 1px solid #ccc;
    box-sizing: border-box;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}
@media (max-width: 1350px) {
    .pr_button_slot {
        width: 195px;
    }
}
.pr_button_slot:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}
.info-image-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
}
.info-image {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}
.info-image:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.list-menu {
    /* position: absolute; top:55px; right:10px; background-color: #fff;  */
    display: flex;
    padding: 10px;
    border-radius: 5px;
    margin-left: auto;
}
@media only screen and (max-width: 600px) {
    .info-image-container {
        display: block;
    }
    .list-menu {
        position: absolute;
        top: 55px;
        right: unset;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
    }
}
@media only screen and (max-width: 1000px) {
    /* .dmap-control-menu { top:44px; } */
    .pr_button_container {
        position: fixed;
        top: 44px;
        left: 10px;
        z-index: 0;
        display: flex;
        flex-direction: column;
        transform: translate(0);
        gap: 1px;
    }
    .pr_button_slot {
        width: 100px;
        height: 27.8px;
    }
}
@media only screen and (max-width: 600px) {
    .pr_button_container {
        position: fixed;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        top: unset;
        height: 50px;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background-color: rgba(255, 255, 255, 0.9);
    }
    .pr_button_container::-webkit-scrollbar {
        display: none;
    }
    .pr_button_slot {
        margin-bottom: 0;
        height: 100%;
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}
.image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    position: relative;
}
.user_photo_delete-button {
    padding: 3px 6px;
    border-radius: 10px;
    background-color: rgba(223, 9, 9, 0.4);
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
}
.komabangou-span {
    background-color: #003366;
    color: #fff;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    width: 60px;
    display: block;
    text-align: center;
}
/* #photos-wrapper { max-height: 300px; overflow-y: auto; margin-bottom: 200px;}
.photo-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } */
/* #photos-wrapper { max-width: 100%; overflow-x: auto; padding-bottom: 15px; max-height: 300px;  margin-bottom: 240px; } */
#photos-wrapper {
    max-width: 100%;
    overflow-x: auto;
    max-height: 300px;
}
.photo-container {
    display: inline-grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(1, auto);
    gap: 10px;
}
.image-wrapper {
    width: auto;
    min-width: 70px;
    max-width: 70px;
}
.image-wrapper img {
    width: auto;
    height: 70px;
    display: block;
}

@media (max-width: 768px) {
    /*   #photos-wrapper { display: flex; max-width: 100%; overflow-x: auto; padding-bottom: 15px; margin-bottom: 30px; -webkit-overflow-scrolling: touch; height: 163px; } */
      #photos-wrapper {
        display: flex;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        height: 163px;
    }
      #photos-wrapper::-webkit-scrollbar {
        display: block !important;
        height: 5px !important;
        width: 5px !important;
    }
      #photos-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
    }
      #photos-wrapper::-webkit-scrollbar-thumb {
        background: #888 !important;
        border-radius: 2px !important;
    }
}
/* .zone-name{text-align: right; margin: 5px 0; margin-right: 50px;} */

.memo-control {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
}
.memo-control p:nth-of-type(1) {
    padding-top: 5px;
}
.voice-input-button {
    border: none;
}
@media (max-width: 768px) {
    .memo-control {
        gap: 20px;
        width: 100%;
        margin-bottom: 5px;
    }
}

/* プロモーション用領域 */
.qr-code-container {
    position: fixed;
    top: -2px;
    right: 10px;
    padding: 5px 5px 0;
    z-index: 1000;
}

img#userUrlQrImage {
    width: 40px;
    height: auto;
}

.bottom-left-container {
    display: none;
}

@media (max-width: 1000px) {
    .qr-code-container {
        display: none;
    }

    .bottom-left-container {
        display: block;
        position: fixed;
        bottom: 5px;
        left: 10px;
        display: none;
    }
    .bottom-left-container i {
        font-size: 36px;
    }
}
.roll-button-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
}
.roll-button-container img {
    width: 36px;
    height: 36px;
}
.info-image-container {
    position: fixed;
    bottom: 28px;
    left: 20px;
    background: white;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    line-height: 0.2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.info-image-container img.info-image {
    width: 46px;
    height: auto;
}
.info-image-container span {
    font-size: 10px;
}
@media (max-width: 1000px) {
    .info-image-container {
        width: 50px;
        height: 40px;
        background: unset;
        box-shadow: unset;
        bottom: 20px;
    }
    .info-image-container img.info-image {
        width: 40px;
        height: auto;
    }
}

.modal-back-button {
    /* background-color: #a7a7a7;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 6px;
  font-size: 12px;
  cursor: pointer;
  margin-top: 5px;
  margin-left: 5px;
  font-weight: bold;
  margin-bottom: 4px;
  position: absolute;
  top:3px;
  left:3px; */
    /* display: none; */
}
.modal-back-button {
    background-color: red;
    color: white;
    z-index: 10002;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 15px;
}

.modal-back-button:hover {
    background-color: #ddd;
}
.ex-naiyou-summary {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 280px;
}

.kana-selector {
    display: flex;
    margin: 10px;
}
.kana-selector a {
    margin-right: 10px;
}

/* SPA開発版 */
div#page_container {
    overflow: auto;
    height: 100%;
    margin-top: 50px;
}

.export-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
    display: none; /* 初期状態では非表示 */
    justify-content: center;
    align-items: center;
    z-index: 100000; /* 他の要素よりも前面に表示 */
    flex-direction: column;
}

.export-loading-spinner {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin-bottom: 10px;
}

.export-loading-message {
    color: white;
    font-size: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#alertModalText .keiro_point {
    color: #858585;
}
#alertModalText h3 {
    margin-bottom: 16px;
}

.search-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 10px;
}
.camera-btn img {
    width: 40px;
    height: auto;
}

/* CSSのみで動作するアコーディオン（!important適用） */
.custom-accordion-trigger-wrapper {
    width: 100% !important;
    text-align: center !important;
}
.custom-accordion-trigger {
    font-size: 0 !important;
    color: #007bff !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    display: inline-block !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}
.custom-accordion-trigger::before {
    font-size: 12px !important;
    content: '展示内容を見る▼' !important;
}
.custom-accordion-toggle-checkbox {
    display: none !important;
}
.custom-accordion-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease-out !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    margin-bottom: 50px;
}
.custom-accordion-toggle-checkbox:checked ~ .custom-accordion-content {
    max-height: 500px !important;
}
.custom-accordion-toggle-checkbox:checked
    ~ .custom-accordion-trigger-wrapper
    .custom-accordion-trigger::before {
    content: '展示内容を閉じる▲' !important;
}
.custom-accordion-trigger-wrapper {
    text-align: center;
}

/* 写真がある場合に「横にスクロールできます」を表示するCSS */
#photos-wrapper:has(.image-wrapper) + #scroll-message {
    display: block !important;
    text-align: center;
    font-size: 12px;
}

/* ボイスレコーダー */
.modal-body {
    display: flex;
    justify-content: center;
    min-height: 80vh;
}
.voice-memo_wrapper > div {
    text-align: center;
    margin: 10px 0;
}
.voice-memo_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.voice-memo-button {
    cursor: pointer;
    background-color: #fff;
    border: none;
}
.voice-memo-button img {
    width: 40px;
}
.voice-memo-button i {
    font-size: 2.2rem;
    color: #9f1818;
    padding: 0 4px;
    background-color: #fff;
}
.voice-memo_container span {
    font-size: 7px;
}
.voice-memo-item {
    font-size: 10px;
}
@media (max-width: 1000px) {
    .modal-body {
        display: flex;
        justify-content: center;
        min-height: 80vh;
        height: 100vh;
        max-height: 85vh;
    }
}

/* グループ機能 */
#groupJoinModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
#groupJoinModal > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

/* mode=maponly の場合の非表示スタイル (画像1～5の全ボタン・要素) */
body.mode-maponly #maptop,
body.mode-maponly #maptop-sp,
body.mode-maponly .logo-container,
body.mode-maponly #osusumeBtn,
body.mode-maponly #osusumeBtnSp,
body.mode-maponly #dmap_list_menu,
body.mode-maponly .sp-btn-block,
body.mode-maponly #exlistBtn,
body.mode-maponly #exlistBtnSp,
body.mode-maponly #mylistBtn,
body.mode-maponly #mylistBtnSp,
body.mode-maponly #hamburger_menu,
body.mode-maponly #hamburger_menu_sp,
body.mode-maponly .favorite-route-container,
body.mode-maponly #favoriteRouteButton,
body.mode-maponly .info-image-container,
body.mode-maponly .top-left-container,
body.mode-maponly .dmap-map-btn,
body.mode-maponly .pr_button_container,
body.mode-maponly div[id*='floorPlan'],
body.mode-maponly div[class*='floorPlan'],
body.mode-maponly .ptplugin {
    display: none !important;
}

/* ========================================================
   DMAP用 公式サイト統一 グローバルメニュー & カプセル要素（案3：淡いサックスブルー）
   ======================================================== */
#maptop {
    height: 66px !important;
    background: linear-gradient(
        135deg,
        #0a2544 0%,
        #103a6a 50%,
        #174b85 100%
    ) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 16px rgba(4, 20, 45, 0.18) !important;
}

#maptop #navigation > .d-flex {
    padding: 0 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

#maptop .logo-container,
#maptop .logo-container.d-flex {
    margin: 0 !important;
    padding: 0 !important;
}

/* PC版 ブランドロゴ（公式と完全同期：明朝体 28px・マーク 55x37px・余白ゼロ） */
.dmap-brand {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 0 !important;
}

.dmap-brand .header-logo-img {
    width: 55px !important;
    max-width: 55px !important;
    height: 37px !important;
    flex: none !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.dmap-brand-text {
    font-family:
        'Times New Roman', 'Yu Mincho', 'Hiragino Mincho ProN', 'MS PMincho',
        serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* PC版 ナビゲーションメニュー（画面完全中央配置・公式と完全同期） */
.dmap-site-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

.dmap-site-nav a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    padding: 6px 2px !important;
    transition:
        color 0.15s ease,
        border-color 0.15s ease !important;
    white-space: nowrap !important;
    border-bottom: 2px solid transparent !important;
}

.dmap-site-nav a:hover {
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.6) !important;
}

.dmap-site-nav a.active {
    color: #60a5fa !important;
    font-weight: 800 !important;
    border-bottom: 2px solid #60a5fa !important;
}

/* PC版 ハンバーガーメニューボタン（公式と完全同期：3本バー・右端余白24px統一） */
#hamburger_menu.hamburger-menu {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: initial !important;
    width: 42px !important;
    height: 42px !important;
    padding: 9px 7px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    z-index: 1005 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-sizing: border-box !important;
}

#hamburger_menu.hamburger-menu span {
    position: absolute !important;
    display: block !important;
    left: 7px !important;
    width: 28px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    transition:
        transform 0.2s,
        opacity 0.2s !important;
}

#hamburger_menu.hamburger-menu span:nth-child(1) {
    top: 8px !important;
}

#hamburger_menu.hamburger-menu span:nth-child(2) {
    top: 19px !important;
}

#hamburger_menu.hamburger-menu span:nth-child(3) {
    top: 30px !important;
}

/* ========================================================
   スマホ版（#maptop-sp）ヘッダーの完全同期（@media max-width: 1000px）
   ======================================================== */
@media (max-width: 1000px) {
    #maptop-sp {
        display: block !important;
        height: 66px !important;
        background: linear-gradient(
            135deg,
            #0a2544 0%,
            #103a6a 50%,
            #174b85 100%
        ) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
        box-shadow: 0 4px 16px rgba(4, 20, 45, 0.18) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
    }

    #maptop-sp #navigation {
        position: relative !important;
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto !important;
        height: 100% !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    #maptop-sp #navigation .logo-container,
    #maptop-sp .logo-container {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex: none !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        height: 100% !important;
    }

    #maptop-sp .dmap-brand {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        gap: 3px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    #maptop-sp .dmap-brand .header-logo-img {
        display: block !important;
        width: 36px !important;
        max-width: 36px !important;
        height: 25px !important;
        flex: none !important;
        object-fit: contain !important;
        margin: 0 !important;
    }

    #maptop-sp .dmap-brand .dmap-brand-text {
        font-family:
            'Times New Roman', 'Yu Mincho', 'Hiragino Mincho ProN', 'MS PMincho',
            serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        letter-spacing: -0.04em !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    #maptop-sp .sp-btn-block {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: auto !important;
        margin-right: 8px !important;
        flex-shrink: 0 !important;
    }

    #maptop-sp .sp-btn-block .g-manu-btn-new {
        width: 52px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    #maptop-sp .sp-btn-block .pickup-img,
    #maptop-sp .sp-btn-block .mylist-img {
        width: 28px !important;
        height: 28px !important;
        object-fit: contain !important;
        margin-bottom: 2px !important;
    }

    #maptop-sp .sp-fav-btn-txt {
        font-size: 9.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    #maptop-sp .pickup-txt {
        font-size: 9.5px !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    #maptop-sp #hamburger_menu_sp.hamburger-menu,
    #maptop-sp .hamburger-menu {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: initial !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        padding: 9px 7px !important;
        margin: 0 0 0 auto !important;
        border: 0 !important;
        background: transparent !important;
        cursor: pointer !important;
        z-index: 1005 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }

    #maptop-sp #hamburger_menu_sp.hamburger-menu span,
    #maptop-sp .hamburger-menu span {
        position: absolute !important;
        display: block !important;
        left: 7px !important;
        width: 28px !important;
        height: 3px !important;
        border-radius: 2px !important;
        background: #ffffff !important;
        transition:
            transform 0.2s,
            opacity 0.2s !important;
    }

    #maptop-sp #hamburger_menu_sp.hamburger-menu span:nth-child(1),
    #maptop-sp .hamburger-menu span:nth-child(1) {
        top: 8px !important;
    }
    #maptop-sp #hamburger_menu_sp.hamburger-menu span:nth-child(2),
    #maptop-sp .hamburger-menu span:nth-child(2) {
        top: 19px !important;
    }
    #maptop-sp #hamburger_menu_sp.hamburger-menu span:nth-child(3),
    #maptop-sp .hamburger-menu span:nth-child(3) {
        top: 30px !important;
    }

    #maptop-sp #hamburger_menu_sp.hamburger-menu.is-active span,
    #maptop-sp #hamburger_menu_sp.hamburger-menu[aria-expanded='true'] span {
        display: none !important;
    }
    #maptop-sp #hamburger_menu_sp.hamburger-menu.is-active::before,
    #maptop-sp #hamburger_menu_sp.hamburger-menu[aria-expanded='true']::before {
        content: '×' !important;
        color: #ffffff !important;
        font: 40px/42px Arial, sans-serif !important;
        display: block !important;
        text-align: center !important;
    }

    /* ========================================================
       スマホ表示（@media max-width: 1000px）：公式TOP完全同期
       ======================================================== */
    /* グローバルナビの出展者検索・お気に入りボタンおよびカプセル不要パーツの非表示 */
    #maptop-sp .sp-btn-block,
    .register-area::before,
    .pass-register-area::before,
    .pass-fav-container,
    .pass-share-qr-header,
    .code-claim-toggle,
    .header-code-claim {
        display: none !important;
        content: none !important;
    }

    /* 右上フローティング丸型ボタン（直径72px・公式TOP完全同一座標 top: 60px; right: 20px;） */
    #maptop-sp .register-area,
    #maptop .register-area,
    .register-area {
        position: fixed !important;
        top: 60px !important;
        right: 20px !important;
        bottom: auto !important;
        left: auto !important;
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        z-index: 10000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: auto !important;
    }

    #maptop-sp .register-link,
    #maptop .register-link,
    .register-link {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        height: 72px !important;
        min-height: 72px !important;
        max-height: 72px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-radius: 50% !important;
        border: 4px solid #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        text-decoration: none !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        transition:
            transform 0.15s ease,
            box-shadow 0.15s ease !important;
    }

    /* 登録前：ピンク・紫グラデーション「来場登録」 */
    .register-area:not(.pass-register-area) .register-link {
        background: radial-gradient(
            circle at 35% 25%,
            #ff4fc6 0%,
            #ed00a8 42%,
            #9b00d8 72%,
            #5f00b5 100%
        ) !important;
        box-shadow:
            0 0 0 2px #ffd933,
            0 0 16px #ffffff,
            0 6px 14px rgba(58, 25, 120, 0.4) !important;
        color: #ffffff !important;
    }

    .register-area:not(.pass-register-area) .register-link .register-sub-text {
        display: none !important;
    }

    .register-area:not(.pass-register-area) .register-link .register-main-text {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    /* 登録後：エメラルドグリーングラデーション「マイページ」 */
    .pass-register-area .register-link.is-pass {
        background: radial-gradient(
            circle at 35% 25%,
            #34d399 0%,
            #10b981 42%,
            #059669 72%,
            #047857 100%
        ) !important;
        box-shadow:
            0 0 0 2px #ffd933,
            0 0 16px #ffffff,
            0 6px 14px rgba(4, 120, 87, 0.4) !important;
        color: #ffffff !important;
    }

    .pass-register-area .register-link.is-pass .register-sub-text {
        display: none !important;
    }

    .pass-register-area .register-link.is-pass .register-main-text {
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
        letter-spacing: -0.03em !important;
        white-space: nowrap !important;
    }
}

@media (min-width: 1001px) {
    #dmap_list_menu {
        align-self: flex-start !important;
        height: 50px !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    #dmap_list_menu .register-area,
    #navigation .register-area {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: 0 !important;
        width: 154px !important;
        margin: 0 !important;
        transform: translateY(54px) !important;
        z-index: 1001 !important;
        pointer-events: none !important;
    }

    /* 未登録時：親要素（公式TOP完全同一：幅154px・高さ154px固定・ブロックコンテナ） */
    #dmap_list_menu .register-area:not(.pass-register-area),
    #navigation .register-area:not(.pass-register-area) {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: 0 !important;
        width: 154px !important;
        height: 154px !important;
        display: block !important;
        margin: 0 !important;
        transform: translateY(54px) !important;
        z-index: 1001 !important;
        pointer-events: none !important;
    }

    /* 未登録時カプセル背景（通常時：公式TOP完全同期：全高394px） */
    #dmap_list_menu .register-area:not(.pass-register-area)::before,
    #navigation .register-area:not(.pass-register-area)::before {
        content: '' !important;
        position: absolute !important;
        z-index: -1 !important;
        top: 40px !important;
        right: -14px !important;
        bottom: -280px !important;
        left: -14px !important;
        border: 2px solid #3158b8 !important;
        border-radius: 110px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 28px rgba(20, 60, 90, 0.18) !important;
        pointer-events: none !important;
        transition: bottom 0.2s ease !important;
    }

    /* 未登録時カプセル背景（アコーディオン展開時：公式TOP完全同期：全高544px） */
    #dmap_list_menu
        .register-area.is-code-claim-open:not(.pass-register-area)::before,
    #navigation
        .register-area.is-code-claim-open:not(.pass-register-area)::before {
        bottom: -430px !important;
    }

    /* 未登録時：丸ボタン（公式TOP完全同一：絶対配置 top: 54px, left: 0） */
    #dmap_list_menu .register-area:not(.pass-register-area) .register-link,
    #navigation .register-area:not(.pass-register-area) .register-link {
        position: absolute !important;
        top: 54px !important;
        left: 0 !important;
        width: 154px !important;
        height: 154px !important;
        pointer-events: auto !important;
    }

    /* 登録後カプセル背景（公式TOPと同一の垂直オフセット・お気に入りリスト下まで綺麗に包み込む） */
    #dmap_list_menu .pass-register-area,
    #navigation .pass-register-area {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: -44.5px !important;
        width: 154px !important;
        transform: translateY(54px) !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        pointer-events: none !important;
        z-index: 10005 !important;
    }

    /* カプセル内部の操作要素はクリックを有効化 */
    #dmap_list_menu .register-area > *,
    #navigation .register-area > * {
        pointer-events: auto !important;
    }

    #dmap_list_menu .pass-register-area::before,
    #navigation .pass-register-area::before {
        content: '' !important;
        position: absolute !important;
        z-index: -1 !important;
        top: 40px !important;
        right: -14px !important;
        height: var(
            --pass-dome-height,
            calc(460px + var(--favorite-extra-height, 0px))
        ) !important;
        max-height: calc(100vh - 120px) !important;
        bottom: auto !important;
        left: -14px !important;
        border: 2px solid #3158b8 !important;
        border-radius: 110px !important;
        background: #ffffff !important;
        /* box-shadow: 0 10px 28px rgba(20, 60, 90, 0.18) !important; */
        pointer-events: none !important;
    }

    /* 丸型ボタン（公式TOP完全同一：外径154px・真円・白枠5px・外周ゴールド装飾） */
    #dmap_list_menu .register-link,
    #navigation .register-link {
        position: relative !important;
        top: 54px !important;
        z-index: 1002 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 154px !important;
        min-width: 154px !important;
        max-width: 154px !important;
        height: 154px !important;
        min-height: 154px !important;
        max-height: 154px !important;
        aspect-ratio: 1 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 5px solid #ffffff !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 #ffffff,
            0 8px 18px rgba(58, 25, 120, 0.4) !important;
        color: #ffffff !important;
        text-align: center !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition:
            transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
            box-shadow 0.18s ease !important;
    }

    #dmap_list_menu .register-link:hover {
        transform: scale(1.04) !important;
        box-shadow:
            0 0 0 4px #ffd933,
            0 0 32px #ffffff,
            0 12px 24px rgba(58, 25, 120, 0.5) !important;
    }

    /* 未登録時：ボタン内文言（個人情報レスで / 来場登録：公式TOP完全同期） */
    #dmap_list_menu .register-link .register-sub-text {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.2 !important;
        text-shadow: none !important;
    }

    #dmap_list_menu .register-link .register-main-text {
        display: block !important;
        font-size: 24px !important;
        font-weight: 500 !important;
        color: #ffffff !important;
        line-height: 1.15 !important;
        letter-spacing: 0 !important;
        text-shadow: none !important;
    }

    /* 登録後：エメラルドグリーン背景・マイページ */
    #dmap_list_menu .pass-register-area .register-link.is-pass {
        background: radial-gradient(
            circle at 35% 25%,
            #34d399 0%,
            #10b981 42%,
            #059669 72%,
            #047857 100%
        ) !important;
        box-shadow:
            0 0 0 3px #ffd933,
            0 0 24px #ffffff,
            0 8px 18px rgba(4, 120, 87, 0.4) !important;
    }

    #dmap_list_menu .pass-register-area .register-link.is-pass:hover {
        box-shadow:
            0 0 0 4px #ffd933,
            0 0 32px #ffffff,
            0 12px 24px rgba(4, 120, 87, 0.5) !important;
    }

    #dmap_list_menu
        .pass-register-area
        .register-link.is-pass
        .register-sub-text {
        display: none !important;
    }

    #dmap_list_menu
        .pass-register-area
        .register-link.is-pass
        .register-main-text {
        font-size: 22px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
    }

    /* 未登録時：スマートフォンで来場登録QRパネル（公式TOP完全同期） */
    #dmap_list_menu .unreg-qr-panel {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 132px !important;
        height: 150px !important;
        box-sizing: border-box !important;
        padding: 8px 6px 8px !important;
        border-radius: 10px !important;
        background: transparent !important;
        /* box-shadow: 0 6px 22px rgba(36, 78, 102, 0.2) !important; */
    }

    #dmap_list_menu .unreg-qr-panel .qr-svg {
        display: block !important;
        width: 106px !important;
        height: 106px !important;
        margin: 0 auto !important;
    }

    #dmap_list_menu .unreg-qr-panel .qr-caption {
        margin: 6px 0 0 !important;
        color: #123d70 !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* 未登録時：QRパネルコンテナ（公式TOP完全同一配置：絶対配置 top: 218px） */
    #dmap_list_menu
        .register-area:not(.pass-register-area)
        .pass-fav-container.unreg-container,
    #navigation
        .register-area:not(.pass-register-area)
        .pass-fav-container.unreg-container {
        position: absolute !important;
        top: 218px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 132px !important;
        height: 150px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1002 !important;
        pointer-events: auto !important;
    }

    /* コンテナ（登録後：丸ボタン下部に自然に配置） */
    #dmap_list_menu .pass-register-area .pass-fav-container,
    #navigation .pass-register-area .pass-fav-container {
        position: relative !important;
        top: 66px !important;
        z-index: 10006 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* お気に入りボタン（DMAPマイリストモーダル連動・公式TOPと同配色・横幅144px） */
    #dmap_list_menu .btn-fav-nav {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 144px !important;
        box-sizing: border-box !important;
        padding: 6px 8px !important;
        border-radius: 4px !important;
        border: 1.5px solid #f59e0b !important;
        background: #fffbeb !important;
        color: #b45309 !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        text-decoration: none !important;
        cursor: default !important;
        user-select: none !important;
        box-shadow: 0 3px 10px rgba(245, 158, 11, 0.22) !important;
        white-space: nowrap !important;
    }

    #dmap_list_menu .btn-fav-nav:hover {
        background: #fffbeb !important;
        border-color: #f59e0b !important;
        transform: none !important;
        box-shadow: 0 3px 10px rgba(245, 158, 11, 0.22) !important;
    }

    #dmap_list_menu .btn-fav-nav .fav-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 5px !important;
        border-radius: 9999px !important;
        background: #d97706 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    /* 露出したお気に入り出展社リスト（動的伸長＋スクロール：フッター手前を上限） */
    #dmap_list_menu .pass-fav-names {
        display: flex !important;
        width: 144px !important;
        height: auto !important;
        max-height: calc(100vh - 430px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: thin !important;
        scrollbar-color: #94a3b8 transparent !important;
        margin: 0 !important;
        padding: 2px 4px 6px 2px !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px !important;
        list-style: none !important;
        color: #475569 !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    #dmap_list_menu .pass-fav-names::-webkit-scrollbar {
        width: 4px;
    }

    #dmap_list_menu .pass-fav-names::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    #dmap_list_menu .pass-fav-names li {
        width: 100% !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    #dmap_list_menu .pass-fav-names .fav-num {
        flex-shrink: 0 !important;
        min-width: 16px !important;
        font-weight: 700 !important;
        color: #64748b !important;
        text-align: right !important;
    }

    #dmap_list_menu .pass-fav-names .fav-name {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-align: left !important;
    }

    /* 出展者検索ボタン：常時非表示 */
    #dmap_list_menu .btn-search-nav {
        display: none !important;
    }

    #dmap_list_menu .unreg-container .btn-search-nav,
    #dmap_list_menu .register-area:not(.pass-register-area) .btn-search-nav {
        display: none !important;
    }

    #dmap_list_menu .btn-search-nav:hover {
        background: #f1f5f9 !important;
        border-color: #07549b !important;
        color: #07549b !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 10px rgba(7, 84, 155, 0.12) !important;
    }

    /* 登録後：スマホ共有QRコード（丸ボタン直下に未登録時QRパネルと同サイズで配置） */
    #dmap_list_menu .pass-share-qr-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 132px !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 6px 6px 6px !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        /* box-shadow: 0 6px 22px rgba(36, 78, 102, 0.2) !important; */
        color: #07549b !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    #dmap_list_menu .pass-share-qr-header span {
        margin-bottom: 3px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #07549b !important;
        line-height: 1 !important;
    }

    #dmap_list_menu .pass-share-qr-header svg {
        display: block !important;
        width: 102px !important;
        height: 102px !important;
    }

    /* 未登録時：スマホ連携トグル（QRパネル直下に配置・公式サイト完全同期） */
    #dmap_list_menu .code-claim-toggle {
        position: absolute !important;
        top: 370px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 1003 !important;
        width: 30px !important;
        height: 24px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        color: #3158b8 !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
        transition: color 0.2s ease !important;
    }

    #dmap_list_menu .code-claim-toggle:hover {
        background: #ffffff !important;
        color: #07549b !important;
        border: none !important;
    }

    #dmap_list_menu .header-code-claim {
        display: none !important;
        position: absolute !important;
        top: 398px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 1004 !important;
        width: 114px !important;
        box-sizing: border-box !important;
        padding: 9px !important;
        border: 1px solid #d5e0e8 !important;
        border-radius: 28px !important;
        background: #ffffff !important;
        box-shadow: none !important;
        text-align: center !important;
    }

    #dmap_list_menu .register-area.is-code-claim-open .header-code-claim {
        display: block !important;
        top: 398px !important;
    }

    /* スマホ連携：展開時（▲）とカードパネル（スマートフォンで登録済みの方）の重なり解消（公式TOP完全同期） */
    #dmap_list_menu .register-area.is-code-claim-open .code-claim-toggle,
    #navigation .register-area.is-code-claim-open .code-claim-toggle {
        top: 366px !important;
    }

    #dmap_list_menu .header-code-claim h3 {
        margin: 0 0 6px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        line-height: 1.35 !important;
    }

    #dmap_list_menu .header-code-claim p {
        margin: 0 0 8px !important;
        font-size: 10px !important;
        font-weight: 400 !important;
        color: #333333 !important;
        line-height: 1.45 !important;
    }

    #dmap_list_menu .header-code-claim-button {
        width: 100% !important;
        padding: 7px 4px !important;
        border: 0 !important;
        border-radius: 18px !important;
        background: #05b887 !important;
        color: #ffffff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        cursor: pointer !important;
    }
}

/* ========================================================
   来場登録モーダル（VRマップ上オーバーレイ）
   ======================================================== */
.register-modal.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.register-modal[hidden] {
    display: none !important;
}

.register-modal-window.modal-window {
    position: relative !important;
    width: 100% !important;
    max-width: 840px !important;
    height: 90vh !important;
    max-height: 720px !important;
    background: #ffffff !important;
    border: 5px solid #07549b !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 64px rgba(7, 84, 155, 0.35) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: regModalScale 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes regModalScale {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.register-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    z-index: 10 !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.15s ease !important;
}

.register-modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
    transform: rotate(90deg) !important;
}

.register-modal-frame {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    flex-grow: 1 !important;
}

/* ========================================================
   全画面「✨ AIに聞く」モーダル & ボタン スタイル (DMAP)
   ======================================================== */

/* 「✨ AIに聞く」ボタン（カプセル型領域内・縦2段組大型カード・上アバター／下テキスト） */
#dmap_list_menu .btn-ai-ask,
#navigation .btn-ai-ask {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 144px !important;
    min-height: 96px !important;
    box-sizing: border-box !important;
    margin: 4px 0 2px !important;
    padding: 8px 6px 8px 6px !important;
    border-radius: 20px !important;
    border: 2px solid rgba(255, 255, 255, 0.85) !important;
    background: linear-gradient(
        135deg,
        #4f46e5 0%,
        #7c3aed 50%,
        #c026d3 100%
    ) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow:
        0 6px 20px rgba(79, 70, 229, 0.45),
        0 0 14px rgba(192, 38, 211, 0.35) !important;
    transition:
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s ease !important;
    white-space: nowrap !important;
    overflow: visible !important;
    z-index: 10010 !important;
}

#dmap_list_menu .btn-ai-ask:hover,
#navigation .btn-ai-ask:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow:
        0 8px 26px rgba(79, 70, 229, 0.6),
        0 0 20px rgba(192, 38, 211, 0.5) !important;
}

/* 上段：円形アバターアイコン（高精細バストアップ・Retina対応） */
#dmap_list_menu .btn-ai-ask .ai-ask-stacked-avatar,
#navigation .btn-ai-ask .ai-ask-stacked-avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 5px !important;
    pointer-events: none !important;
    z-index: 10012 !important;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

#dmap_list_menu .btn-ai-ask:hover .ai-ask-stacked-avatar,
#navigation .btn-ai-ask:hover .ai-ask-stacked-avatar {
    transform: scale(1.08) !important;
}

#dmap_list_menu .btn-ai-ask .ai-ask-stacked-img,
#navigation .btn-ai-ask .ai-ask-stacked-img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    image-rendering: auto !important;
}

/* 下段：ボタンテキスト（2段構成） */
#dmap_list_menu .btn-ai-ask .ai-ask-stacked-content,
#navigation .btn-ai-ask .ai-ask-stacked-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1.15 !important;
    pointer-events: none !important;
}

#dmap_list_menu .btn-ai-ask .ai-ask-stacked-sub,
#navigation .btn-ai-ask .ai-ask-stacked-sub {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fbcfe8 !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 1px !important;
}

#dmap_list_menu .btn-ai-ask .ai-ask-stacked-main,
#navigation .btn-ai-ask .ai-ask-stacked-main {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* カプセル内お気に入り：ステータス表示化（クリック不可・デザイン維持・四角化4px） */
#dmap_list_menu .btn-fav-nav,
#navigation .btn-fav-nav {
    display: inline-flex !important;
    border-radius: 4px !important;
    cursor: default !important;
    pointer-events: none !important;
    user-select: none !important;
}

/* CSP完全準拠：お気に入り件数に応じた追加高さ（外部CSS定義） */
.pass-register-area {
    --favorite-extra-height: 0px;
}
.pass-register-area.fav-items-1 {
    --favorite-extra-height: 18px;
}
.pass-register-area.fav-items-2 {
    --favorite-extra-height: 36px;
}
.pass-register-area.fav-items-3 {
    --favorite-extra-height: 54px;
}
.pass-register-area.fav-items-4 {
    --favorite-extra-height: 72px;
}
.pass-register-area.fav-items-5 {
    --favorite-extra-height: 90px;
}
.pass-register-area.fav-items-6 {
    --favorite-extra-height: 108px;
}
.pass-register-area.fav-items-7 {
    --favorite-extra-height: 126px;
}
.pass-register-area.fav-items-8 {
    --favorite-extra-height: 144px;
}
.pass-register-area.fav-items-9 {
    --favorite-extra-height: 162px;
}
.pass-register-area.fav-items-10 {
    --favorite-extra-height: 180px;
}
.pass-register-area.fav-items-11 {
    --favorite-extra-height: 198px;
}
.pass-register-area.fav-items-12 {
    --favorite-extra-height: 216px;
}
.pass-register-area.fav-items-13 {
    --favorite-extra-height: 234px;
}
.pass-register-area.fav-items-14 {
    --favorite-extra-height: 252px;
}
.pass-register-area.fav-items-15 {
    --favorite-extra-height: 270px;
}

/* 全画面モーダル オーバーレイ（固定フッター等を含む全要素より最前面保証） */
.ai-ask-modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483647 !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: contain !important;
    touch-action: none !important;
}

.ai-ask-modal-overlay[hidden] {
    display: none !important;
}

/* AIコンシェルジュ モーダル ウィンドウ（上下左右2.5%余白・幅95%×高さ95%・他モーダル共通太枠10px） */
.ai-ask-modal-window {
    position: fixed !important;
    top: 2.5% !important;
    left: 2.5% !important;
    right: 2.5% !important;
    bottom: 2.5% !important;
    width: 95% !important;
    height: 95% !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 10px solid #07549b !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow:
        0 24px 60px rgba(7, 84, 155, 0.28),
        0 12px 28px rgba(15, 23, 42, 0.22) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

@media (max-width: 700px) {
    .ai-ask-modal-window {
        border-width: 4px !important;
    }
}

/* 共通スタイルの右上丸型「×」閉じるボタン */
.ai-ask-modal-close {
    position: absolute !important;
    top: 16px !important;
    right: 20px !important;
    z-index: 2147483647 !important;
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: rgba(15, 23, 42, 0.65) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    font-size: 24px !important;
    line-height: 1 !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    transition:
        background 0.15s ease,
        transform 0.15s ease,
        color 0.15s ease !important;
}

.ai-ask-modal-close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* 全画面モーダル ボディ & iframe */
.ai-ask-modal-body {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.ai-ask-modal-frame {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

/* ローディングスピナー */
.ai-ask-modal-loading {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    z-index: 50 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #4f46e5 !important;
}

.ai-ask-modal-loading[hidden] {
    display: none !important;
}

.ai-ask-spinner {
    width: 40px !important;
    height: 40px !important;
    border: 3.5px solid #e0e7ff !important;
    border-top-color: #6366f1 !important;
    border-radius: 50% !important;
    animation: aiAskSpin 0.8s linear infinite !important;
}

/* ========================================================
   ハンバーガーメニュー刷新（公式TOP完全同期）
   ======================================================== */
#menu-content.demo-header-menu,
.demo-header-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    z-index: 100000 !important;
    width: min(350px, 100vw) !important;
    max-width: 350px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 8px solid #003366 !important;
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    transition: right 0.35s ease-in-out !important;
}

#menu-content.demo-header-menu.show {
    right: 0 !important;
}

/* タイトルバー */
#menu-content .demo-header-menu-title {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 20px !important;
    background: #003366 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: bold !important;
    box-sizing: border-box !important;
}

#menu-content .demo-header-menu-title strong {
    font-weight: bold !important;
    letter-spacing: 0.05em !important;
    color: #ffffff !important;
}

/* 閉じるボタン */
#menu-content .demo-menu-close,
#menu-content .close-menu-btn {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 30px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

#menu-content .demo-menu-close:hover,
#menu-content .close-menu-btn:hover {
    color: #ffcccc !important;
}

/* 上部ボタングループ（スタンプラリー / クーポン） */
#menu-content .demo-menu-stamp-coupon-group {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 15px 4px !important;
    gap: 0 !important;
}

#menu-content .demo-menu-stamp-coupon-group .demo-menu-btn-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease !important;
    line-height: 2 !important;
}

#menu-content .demo-menu-stamp-coupon-group .demo-menu-btn-top:hover {
    background-color: #f5f5f5 !important;
}

#menu-content .demo-menu-stamp-coupon-group .demo-menu-btn-top span {
    font-size: 18px !important;
    color: #999999 !important;
}

/* ナビゲーションリンク一覧 */
#menu-content nav {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 15px !important;
    margin: 0 !important;
}

#menu-content nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #ccc !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    background: #ffffff !important;
    line-height: 2 !important;
    transition: background-color 0.15s ease !important;
    box-sizing: border-box !important;
}

#menu-content nav a:hover {
    background: #f5f5f5 !important;
}

#menu-content nav a span {
    font-size: 18px !important;
    line-height: 1 !important;
    color: #999999 !important;
}

/* 運営会社情報 */
#menu-content address.demo-menu-company {
    padding: 15px 20px 24px !important;
    margin-top: 15px !important;
    font-size: 13px !important;
    color: #333333 !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    border-top: 1px solid #eee !important;
}

#menu-content address.demo-menu-company .company-heading {
    font-weight: bold !important;
    margin: 0 0 4px 0 !important;
    color: #111111 !important;
}

#menu-content address.demo-menu-company p {
    margin: 0 !important;
}

/* 旧アイコンや余計なFontAwesomeの非表示 */
#menu-content .dmap-menu-btn::after,
#menu-content .menu-item::after {
    display: none !important;
}
