/* タワレコ風 - グラデーションと複雑な装飾を削除 */
.location-section {
    /* グラデーションと複雑な背景色を削除し、シンプルな白っぽい色に */
    background: #FFFDE7;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* タワレコのキーカラーである赤と黄色（金）で上下を強調 */
    border-top: 8px solid var(--tawareco-red); /* 強調された赤 */
    border-bottom: 8px solid var(--tawareco-yellow); /* 濃い黄色（金） */
}

.location-title {
    font-size: 4em;
    font-family: 'Luckiest Guy', 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    color: var(--tawareco-red); /* 赤 */
    letter-spacing: 4px; /* より強調 */
    text-transform: uppercase;
    /* タワレコ風のツートンカラーの影 */
    text-shadow: 
        4px 4px 0px var(--tawareco-yellow), /* 黄色/金 */
        8px 8px 0px var(--tawareco-black); /* 黒 */
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    letter-spacing: 0.15em;
}

.location-card {
    /* グラデーションを削除し、シンプルな白背景に */
    background: var(--tawareco-white);
    /* 左のボーダーはタワレコカラーの赤で太く */
    border-left: 8px solid var(--tawareco-red);
    border-radius: 8px; /* 角をシンプルに */
    /* シンプルな影に変更 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    transition: none; /* ホバーアニメーションを削除 */
}

.location-card:hover {
    /* ホバーアニメーションと複雑な影を削除し、シンプルな強調のみ */
    transform: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.location-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.location-label {
    /* タワレコカラー（赤）を使い、強調 */
    display: inline-block;
    min-width: 80px;
    background-color: var(--tawareco-red); /* 赤 */
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem; /* やや大きく */
    text-align: center;
    border-radius: 4px; /* シンプルな角丸 */
    padding: 5px 8px;
    margin-right: 15px; /* マージンを少し広く */
    /* ラベルに黄色いボーダーを追加し、タワレコ感を出す */
    border: 2px solid var(--tawareco-yellow);
}

.location-value {
    font-size: 1rem; /* 少し大きく、読みやすく */
    line-height: 1.6;
    word-break: break-word;
    font-family: "Yusei Magic", sans-serif; /* シンプルなフォントに */
}

.location-value a {
    color: var(--tawareco-red); /* 赤 */
    font-weight: 700;
    text-decoration: underline;
}

.location-map-wrapper {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 8px;
    /* シンプルな影に変更 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* 地図の枠にも赤のボーダーを追加 */
    border: 2px solid var(--tawareco-red);
    position: relative;
}

.location-map-wrapper .access-map-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.location-map-wrapper .access-map-image:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.location-map-wrapper .access-map-image:active {
    transform: scale(0.98);
}

.map-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--tawareco-red);
    margin-top: 8px;
    font-weight: 600;
    font-family: "Yusei Magic", sans-serif;
}

/* アクセスマップ拡大モーダル */
.map-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-modal-overlay.active {
    display: block;
    opacity: 1;
}

.map-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 95vw;
    max-height: 95vh;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.map-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.map-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--tawareco-red);
    color: white;
    border: 2px solid var(--tawareco-yellow);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.map-modal-close:hover {
    background: var(--tawareco-yellow);
    color: var(--tawareco-red);
    transform: rotate(90deg);
}

#map-modal-image {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .location-section {
        padding: 50px 15px;
    }

    .location-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .location-card {
        padding: 20px 15px;
        border-left-width: 6px;
    }

    .location-info-row {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .location-label {
        min-width: auto;
        width: fit-content;
        margin-bottom: 6px;
        margin-right: 0;
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .location-value {
        font-size: 0.95rem;
        padding-left: 0;
    }
}