#map .map__title{
    font-size: 1.5rem;
    letter-spacing: 0.35em;
    color: #8c7a6f;
    margin: 150px auto 0;
    font-weight: 400;
    font-family: "Cinzel", serif;
    max-width: 1200px;
    text-align: center;
}
#map #info a{
    color: #8c7a6f;
    display: block;
    text-align: center;
    padding-top: 30px;
    text-decoration: underline;
}
#map #info p{
    padding-top: 15px;
    color: #8c7a6f;
    font-size: 1rem;
    line-height: 30px;
}
@media screen and (max-width:767px) {

    #map .map__title{
        margin: 130px auto 0;
    }
    #map #info p{
        font-size: 0.8rem;
    }
}

/* =========================================================
   ACCESS STATION
========================================================= */

.access-station-section {
    width: 100%;
    padding: 35px 20px;
    background-color: #ffffff;
    color: #8c7a6f;
    font-family: 'Noto Serif JP', serif;
    box-sizing: border-box;
}

.access-station-section * {
    box-sizing: border-box;
}

.access-station-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* 各行 */

.access-station-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.access-station-row + .access-station-row {
    margin-top: 10px;
}

/* 駅情報 */

.access-station-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-weight: 400;
}

/* 路線名 */

.access-station-line {
    font-size: 18px;
    letter-spacing: 0.02em;
}

/* 駅名 */

.access-station-name {
    font-size: 28px;
    letter-spacing: 0.02em;
}

/* 徒歩分数 */

.access-station-minute {
    font-size: 52px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.05em;
}

/* 分 */

.access-station-unit {
    font-size: 28px;
    line-height: 1.4;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1024px) {

    .access-station-row {
        gap: 20px;
    }

    .access-station-line {
        font-size: 15px;
    }

    .access-station-name,
    .access-station-unit {
        font-size: 23px;
    }

    .access-station-minute {
        font-size: 45px;
    }

}

/* =========================================================
   SP
========================================================= */

@media screen and (max-width: 767px) {

    .access-station-section {
        padding: 30px 15px;
    }

    .access-station-row {
        flex-direction: column;
        gap: 15px;
    }

    .access-station-row + .access-station-row {
        margin-top: 15px;
    }

    .access-station-line {
        font-size: 12px;
    }

    .access-station-name,
    .access-station-unit {
        font-size: 19px;
    }

    .access-station-minute {
        font-size: 38px;
    }

}

@media screen and (max-width: 375px) {

    .access-station-line {
        font-size: 11px;
    }

    .access-station-name,
    .access-station-unit {
        font-size: 17px;
    }

    .access-station-minute {
        font-size: 34px;
    }

}

/* =========================================================
   MAP MODAL
========================================================= */

/* 地図クリック */

.zk-map-modal-trigger {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.3s;
}
.zk-map-modal-trigger:hover{
    opacity: 0.7;
}

/* モーダル全体 */

.zk-map-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    box-sizing: border-box;
}

.zk-map-modal .map__title{
    margin: 0 auto 30px!important;
}

.zk-map-modal.is-open {
    display: flex;
}

/* 背景 */

.zk-map-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

/* モーダル本体 */

.zk-map-modal-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    max-height: calc(100vh - 60px);
    padding: 35px 40px 30px;
    background-color: #ffffff;
    overflow-y: auto;
    box-sizing: border-box;
}

/* コンテンツ */

.zk-map-modal-content {
    width: 100%;
    margin: 0 auto;
}

/* 地図 */

.zk-map-modal-map {
    width: 100%;
    text-align: center;
}

.zk-map-modal-map img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* アクセス情報 */

.zk-map-modal-content .access-station-section {
    padding: 25px 0 10px;
}

.zk-map-modal-content .access-station-inner {
    max-width: 100%;
}

/* =========================================================
   BUTTONS
========================================================= */

.zk-map-modal-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    margin-top: 35px;
}

/* ボタン共通 */

.zk-map-modal-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: #807b78;
    color: #ffffff;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.zk-map-modal-buttons button:hover {
    opacity: 0.7;
}

/* =========================================================
   SP
========================================================= */

@media screen and (max-width: 767px) {

    .zk-map-modal {
        padding: 15px;
    }

    .zk-map-modal-container {
        max-height: calc(100vh - 30px);
        padding: 20px 15px;
    }

    .zk-map-modal-content .access-station-section {
        padding: 20px 0 5px;
    }

    .zk-map-modal-buttons {
        gap: 15px;
        margin-top: 25px;
    }

    .zk-map-modal-buttons button {
        width: 110px;
        height: 36px;
        font-size: 13px;
    }

}

/* =========================================================
   PRINT
========================================================= */

@media print {

    @page {
        size: A4;
        margin: 12mm;
    }

    /* ページ全体を非表示（レイアウトは維持） */
    body * {
        visibility: hidden !important;
    }

    /* 印刷対象だけ表示 */
    #zkMapModal,
    #zkMapModal .zk-map-modal-container,
    #zkMapModal .zk-map-modal-content,
    #zkMapModal .zk-map-modal-content * {
        visibility: visible !important;
    }

    /* モーダルを印刷用レイアウトに変更 */
    #zkMapModal {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #ffffff !important;
        overflow: visible !important;
    }

    /* 背景を非表示 */
    #zkMapModal .zk-map-modal-overlay {
        display: none !important;
    }

    /* モーダル本体 */
    #zkMapModal .zk-map-modal-container {
        position: static !important;

        width: 100% !important;
        max-width: none !important;
        max-height: none !important;

        padding: 0 !important;
        margin: 0 !important;

        overflow: visible !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    /* 印刷内容 */
    #zkMapModal .zk-map-modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* 地図 */
    #zkMapModal .zk-map-modal-map img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* アクセス情報 */
    #zkMapModal .access-station-section {
        padding: 20px 0 0 !important;
    }

    /* PRINT・CLOSEボタンは印刷しない */
    #zkMapModal .zk-map-modal-buttons {
        display: none !important;
    }

}
