/* Access Page Styles */

/* アクセス情報セクション */
.access-info {
    /* 共通スタイルは .content-section を使用 */
}

.access-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.access-details {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.access-building-image {
    width: 100%;
    height: auto;
    max-width: 540px;
    flex-shrink: 0;
}

.access-text {
    flex: 1;
    width: 100%;
}

/* 寺院情報のスタイル */
.temple-info {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.temple-info td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.temple-info tr:last-child td {
    border-bottom: none;
}

.temple-info .label {
    font-weight: bold;
    width: 120px;
    text-align: right;
    vertical-align: top;
}

.temple-info .value {
    vertical-align: top;
}

.temple-info a {
    color: #333;
    text-decoration: none;
}

.temple-info a:hover {
    color: #666;
    text-decoration: underline;
}

/* 地図セクション */
.map-section {
    text-align: center;
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
}

/* 電車アクセスセクション */
.train-access {
    margin-bottom: 40px;
}

.train-access h2 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* アクセスルートのスタイル */
.access-route {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-route li {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.access-route li:last-child {
    border-bottom: none;
}

.line-name,
.bus-number {
    font-weight: bold;
    margin-right: 10px;
}

.station-name,
.bus-destination {
    font-weight: bold;
    margin-right: 10px;
}

.exit,
.bus-stop {
    font-weight: bold;
    margin-right: 10px;
}

.walking-time {
    font-weight: bold;
}

/* バスアクセスセクション */
.bus-access {
    /* 共通スタイルは .content-section を使用 */
}

.bus-access h2 {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    
    .access-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .access-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .access-building-image {
        max-width: 100%;
        order: 1;
    }
    
    .access-text {
        order: 2;
    }
    
    .temple-info {
        font-size: 14px;
    }
    
    .temple-info .label {
        width: 100px;
    }
    
    .temple-info td {
        padding: 10px 12px;
    }
    
    .access-route li {
        font-size: 14px;
    }
    
    .train-access h2,
    .bus-access h2 {
        font-size: 18px;
    }
    
    .access-route li {
        font-size: 14px;
    }
    
    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    
    .temple-info {
        font-size: 13px;
    }
    
    .temple-info .label {
        width: 80px;
    }
    
    .temple-info td {
        padding: 8px 10px;
    }
    
    .access-route li {
        font-size: 13px;
    }
    
    .train-access h2,
    .bus-access h2 {
        font-size: 16px;
    }
    
    .access-route li {
        font-size: 13px;
    }
    
    .map-section iframe {
        height: 250px;
    }
}
