/* ==========================================================================
   Access Page - Google Map
   ========================================================================== */

   .access-map {
    padding-top: 90px;
    padding-bottom: 80px;
}

/* マップのラッパー */
.access-map-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* iframe自体の設定 */
.access-map-wrapper iframe {
    width: 100% !important; 
    height: 450px;          
    vertical-align: bottom; 
    border: none;
}

@media screen and (max-width: 768px) {
    .access-map-wrapper iframe {
        height: 350px; 
    }
}

/* ==========================================================================
   Access Page - 車でお越しの方 (BY CAR)
   ========================================================================== */

/* セクションのパディング */
.access-car {
    padding-top: 80px;
    padding-bottom: 100px;
}

.access-car .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* section-title - チケットページ準拠のスタイル */
.access-car .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 74px;
}

.access-car .section-title .ja {
    font-size: 2.4rem;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    color: #282303;
}

.access-car .section-title::before,
.access-car .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #282303;
}

/* イラスト画像の調整 */
.access-car-illustration {
    text-align: center;
    margin-bottom: 64px;
}

.access-car-illustration img {
    max-width: 820px;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
.access-car .access-table-wrapper {
    padding-top: 40px;
    
}

.access-car .access-table th,.access-car .access-table td {
    font-size: 1.15rem;
}


/* 情報ボックスのレイアウト（PCでは横並び） */
.access-car-info {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
}

/* 各ボックス - 左ボーダーカードスタイル（背景なし） */
.access-route-box {
    flex: 1 1 calc(50% - 14px);
    border-left: 4px solid #997c22;
    padding: 0 28px 24px;
}

/* 関越自動車道 - 紺 */
.access-car-info .access-route-box:nth-child(1) {
    border-left-color: #002366;
}
.access-car-info .access-route-box:nth-child(1) .route-title {
    color: #002366;
}

/* 観光地から - ゴールド */
.access-car-info .access-route-box:nth-child(2) .route-title {
    color: #997c22;
}

/* ボックスのタイトル部分 */
.route-title {
    font-weight: 500;
    font-size: 1.2rem;
    color: #282303;
    margin: 0 0 16px 0;
    letter-spacing: 0.05em;
}

/* ボックスのリスト部分 */
.route-content {
    padding: 0;
}

.route-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.route-list li {
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 10px;
    color: #282303;
    font-size: 0.875rem;
    line-height: 1.7;
}

.route-list li:last-child {
    margin-bottom: 0;
}

/* 観光地からは2カラムグリッド */
.route-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 0;
}

.route-list-grid li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Access Page - 駐車場のご案内
   ========================================================================== */

.access-parking {
    padding-top: 80px;
    padding-bottom: 120px;
}

.access-parking .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.access-parking .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2.4rem;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
}

.access-parking .section-decoration {
    text-align: center;
    margin-bottom: 50px;
}

.access-parking .section-decoration img {
    width: 50px;
    height: auto;
}

.parking-map {
    text-align: center;
    margin-bottom: 30px;
}

.parking-map img {
    max-width: 620px;
    width: 100%;
    height: auto;
}

.parking-locations {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 50px;
    text-align: center;
}

.parking-location-item {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #282303;
}

.parking-location-item p {
    margin: 0;
}

/* 駐車場テーブル */
.access-table-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.access-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
    border-top: 1px solid #b29c6d;
}

.access-table tr {
    border-bottom: 1px solid #b29c6d;
}

.access-table th,
.access-table td {
    padding: 11px 24px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #282303;
}

.access-table th {
    background-color: #eeebe0;
    font-weight: 500;
    width: 35%;
}

.access-table td {
    font-weight: 400;
}

/* ==========================================================================
   Access Page - 電車でお越しの方
   ========================================================================== */

.access-train {
    padding-top: 80px;
    padding-bottom: 100px;
    background-color: #fff;
}

.access-train .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* section-title - 車でお越しの方と同スタイル */
.access-train .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 74px;
}

.access-train .section-title .ja {
    font-size: 2.4rem;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    color: #282303;
}

.access-train .section-title::before,
.access-train .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background-color: #282303;
}

.access-train-illustration {
    text-align: center;
    margin-bottom: 64px;
}

.access-train-illustration img {
    max-width: 820px;
    width: 100%;
    height: auto;
}

/* JR 情報ボックス（japan-box スタイル準拠） */
.train-info-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 760px;
    margin: 0 auto;
}

.train-info-box {
    flex: 1;
    border: 1px solid #b29c6d;
    background-color: #fff;
}

.train-info-header {
    background-color: #997c22;
    padding: 10px;
    text-align: center;
}

.train-info-label {
    color: #fff;
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.train-info-content {
    padding: 1rem 1.25rem;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #282303;
    text-align: center;
}

/* ==========================================================================
   Access Page - バスのご案内
   ========================================================================== */

.access-bus {
    padding-top: 80px;
    padding-bottom: 120px;
    background-color: #fff;
}

.access-bus .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.access-bus .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #282303;
    font-size: 2.4rem;
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
}

.access-bus .section-decoration {
    text-align: center;
    margin-bottom: 40px;
}

.access-bus .section-decoration img {
    width: 50px;
    height: auto;
}

.bus-subtitle {
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.95rem;
    color: #282303;
    margin-bottom: 40px;
}

.bus-tables {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.bus-table-wrapper {
    flex: 1;
    max-width: 460px;
}

.bus-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.875rem;
    border: 1px solid #b29c6d;
}

.bus-table thead th {
    background-color: #002366;
    color: #fff;
    padding: 10px 12px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.bus-table tbody td {
    border: 1px solid #b29c6d;
    padding: 10px 12px;
    text-align: center;
    color: #282303;
    vertical-align: middle;
}

.bus-table .bus-stop {
    text-align: left;
    white-space: nowrap;
}

.bus-table .bus-row-arrival td {
    background-color: #f3f1e5;
}

.bus-table .bus-direction {
    font-weight: 500;
    color: #997c22;
    width: 2em;
    padding-left: 4px;
    padding-right: 4px;
}

.bus-note {
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.8;
}

.bus-note a {
    color: #997c22;
    text-decoration: underline;
}

.bus-note a:hover {
    color: #7d651b;
}

.sp-br {
    display: none;
}

/* ==========================================================================
   スマートフォン表示時の調整
   ========================================================================== */
@media screen and (max-width: 768px) {
    .access-car {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .access-car .section-title .ja {
        font-size: 1.8rem;
    }

    .access-car .section-title::before,
    .access-car .section-title::after {
        width: 30px;
    }

    .access-car-illustration img {
        max-width: calc(100% - 40px);
    }

    .access-car-info {
        flex-direction: column;
        gap: 20px;
        padding: 0 8px;
    }

    .access-route-box {
        flex: 1 1 100%;
    }

    .route-list-grid {
        grid-template-columns: 1fr;
    }

    .access-parking {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .access-parking .section-title {
        font-size: 1.8rem;
    }

    .parking-locations {
        flex-direction: column;
        gap: 20px;
    }

    .access-table th,
    .access-table td {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    .access-train {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .access-train .section-title .ja {
        font-size: 1.8rem;
    }

    .access-train .section-title::before,
    .access-train .section-title::after {
        width: 30px;
    }

    .access-train-illustration img {
        max-width: calc(100% - 40px);
    }

    .train-info-grid {
        flex-direction: column;
        gap: 20px;
        padding: 0 8px;
    }

    .access-bus {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .access-bus .section-title {
        font-size: 1.8rem;
    }

    .bus-tables {
        flex-direction: column;
        gap: 20px;
        padding: 0 8px;
    }

    .bus-table-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    .bus-table {
        table-layout: fixed;
        width: 100%;
    }

    .bus-table thead th {
        font-size: 0.78rem;
        padding: 8px 6px;
        letter-spacing: 0;
        word-break: break-all;
    }

    .bus-table tbody td {
        font-size: 0.8rem;
        padding: 8px 6px;
    }

    .bus-table .bus-stop {
        white-space: normal;
        word-break: break-all;
    }

    .bus-table .bus-direction {
        width: 1.8em;
        padding-left: 2px;
        padding-right: 2px;
    }

    .sp-br {
        display: inline;
    }
}