* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    color: #aaa;
    font-size: 1.1rem;
}

.controls {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#searchInput {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

#searchInput::placeholder {
    color: #aaa;
}

#searchInput:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

#searchBtn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

#searchBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.filter-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.filter-row .filter-section {
    flex: 1;
    margin-bottom: 0;
}

.filter-row .ranking-section {
    flex: 0 0 300px;
    margin-bottom: 0;
}

.filter-section {
    margin-bottom: 15px;
}

.filter-section h3 {
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 10px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn, .region-btn {
    padding: 10px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn:hover, .region-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active, .region-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.content-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#map {
    flex: 0 0 50%;
    height: 700px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* 地図上のオーバーレイ */
.map-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    z-index: 500;
    color: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.map-overlay h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #667eea;
}

.map-overlay-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #aaa;
    transition: all 0.3s;
}

.map-overlay-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.map-stats {
    font-size: 0.9rem;
    line-height: 1.6;
}

.map-stats p {
    margin: 5px 0;
}

.map-legend {
    position: absolute;
    bottom: 20px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 10px 15px;
    z-index: 500;
    color: #fff;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    font-size: 0.85rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
}

.spot-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    max-height: 700px;
}

.placeholder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #888;
    padding: 40px;
}

.placeholder-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #aaa;
}

.placeholder-text p {
    font-size: 1rem;
    color: #666;
}

.spot-details.hidden {
    display: none;
}

.spot-image-container {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.spot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.spot-image-container img:hover {
    transform: scale(1.05);
}

.fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.fav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.fav-icon {
    font-size: 1.5rem;
}

.fav-btn.active .fav-icon {
    color: #ffd700;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.spot-details h2 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row p {
    margin: 0;
    color: #ddd;
}

.info-content strong {
    color: #fff;
}

.info-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

.section-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-content {
    color: #ddd;
    line-height: 1.7;
    font-size: 0.95rem;
}

#spotDanger {
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #fff;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    padding: 15px;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.line {
    background: #00B900;
}

.share-btn.copy {
    background: #667eea;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

footer p {
    margin: 10px 0;
    color: #aaa;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

footer .credit {
    font-size: 0.9rem;
    color: #666;
}

footer .footer-contact {
    font-size: 0.95rem;
    color: #aaa;
    margin: 10px 0;
}

footer .footer-contact a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s;
}

footer .footer-contact a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* カスタムマーカースタイル */
.custom-marker {
    background: none;
    border: none;
}

.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    animation: pulse 2s infinite;
}

.marker-pin::after {
    content: '👻';
    width: 20px;
    height: 20px;
    margin: 5px 0 0 5px;
    position: absolute;
    transform: rotate(45deg);
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8);
    }
}

/* モバイル用ハンバーガーメニュー */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 2001;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* フローティングアクションボタン */
.fab-container {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab:active {
    transform: scale(0.9);
}

.fab-primary {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
}

/* タッチ操作最適化 */
@media (hover: none) and (pointer: coarse) {
    /* タップ領域を拡大 */
    .filter-btn, .region-btn {
        padding: 14px 22px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .action-btn {
        padding: 16px 24px;
        min-height: 48px;
    }
    
    .fav-btn {
        width: 60px;
        height: 60px;
    }
    
    .spot-list li {
        padding: 16px 14px;
        min-height: 50px;
    }
    
    /* スクロールの慣性を追加 */
    .spot-info,
    .comments-list,
    .ranking-list,
    .dropdown-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    /* タップ時のハイライトを無効化 */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* ホバー効果をタッチ用に変更 */
    .filter-btn:active, .region-btn:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.98);
    }
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .filter-row {
        flex-direction: column;
    }
    
    .filter-row .ranking-section {
        flex: 1;
    }
    
    .content-wrapper {
        flex-direction: column;
    }
    
    #map {
        flex: none;
        width: 100%;
        height: 450px;
    }
    
    .spot-info {
        max-height: none;
    }
}

@media (max-width: 768px) {
    /* モバイルメニュー表示 */
    .mobile-menu-toggle {
        display: block;
    }
    
    .fab-container {
        display: flex;
    }
    
    /* コントロールパネルをモバイル用に調整 */
    .controls {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        max-height: 100vh;
        z-index: 2000;
        overflow-y: scroll !important;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        transition: left 0.3s ease;
        padding: 70px 15px 80px 15px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
        overscroll-behavior: contain;
    }
    
    .controls.mobile-open {
        left: 0;
        overflow-y: scroll !important;
    }
    
    /* オーバーレイ */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1999;
        backdrop-filter: blur(3px);
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    .controls header {
        padding: 15px 10px;
        margin-bottom: 15px;
        position: relative;
    }
    
    header h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 0.85rem;
    }
    
    .search-box {
        flex-direction: column;
        gap: 8px;
    }
    
    #searchInput {
        width: 100%;
    }
    
    #searchBtn {
        width: 100%;
    }
    
    #map {
        height: 50vh;
        min-height: 300px;
        border-radius: 10px;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .filter-btn, .region-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: calc(50% - 5px);
        text-align: center;
    }
    
    .spot-image-container {
        height: 250px;
    }
    
    .spot-details h2 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    /* 地図の凡例を小さく */
    .map-legend {
        font-size: 0.75rem;
        padding: 8px 10px;
        bottom: 10px;
        left: 10px;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
    
    /* オーバーレイ統計を調整 */
    .map-overlay {
        font-size: 0.85rem;
        padding: 12px;
        min-width: 160px;
    }
    
    .map-overlay h3 {
        font-size: 0.9rem;
    }
    
    /* モーダルを全画面に */
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 10px;
    }
    
    /* ランキングをコンパクトに */
    .ranking-list {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .ranking-list li {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    /* ドロップダウンメニュー */
    .dropdown-menu {
        max-height: 250px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0;
    }
    
    header h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .controls {
        width: 90%;
        max-width: 280px;
    }
    
    .filter-btn, .region-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
    
    .spot-details h2 {
        font-size: 1.3rem;
    }
    
    .info-section {
        padding: 15px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .section-content {
        font-size: 0.9rem;
    }
    
    /* フッターを調整 */
    footer {
        padding: 15px 10px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links a {
        margin: 0;
    }
    
    /* FABを少し小さく */
    .fab-container {
        bottom: 15px;
        right: 15px;
    }
    
    .fab {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .fab-primary {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* ランドスケープモード対応 */
@media (max-width: 768px) and (orientation: landscape) {
    #map {
        height: 70vh;
    }
    
    .controls {
        height: 100vh;
    }
}

/* コメントセクションのスタイル */
.comments-container {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid #764ba2;
}

.comments-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.comment-item {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #ddd;
    font-size: 0.9rem;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#commentInput {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    outline: none;
    resize: none;
    height: 60px;
}

#commentInput:focus {
    border-color: #9b4dca;
    box-shadow: 0 0 5px rgba(155, 77, 202, 0.3);
}

#commentInput::placeholder {
    color: #666;
    opacity: 1;
}

/* 全てのテキストエリアのplaceholderを濃く */
textarea::placeholder {
    color: #666;
    opacity: 1;
}

#submitComment {
    align-self: flex-end;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

#submitComment:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ランキングセクションのスタイル */
.ranking-section {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid #ffd700;
}

.ranking-section h3 {
    font-size: 1rem;
    color: #ffd700;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.ranking-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    transition: margin 0.3s ease;
}

.ranking-list:not(.hidden) {
    margin-top: 5px;
}

.ranking-list li {
    margin-bottom: 4px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #ddd;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.3;
}

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

.ranking-list li span {
    font-weight: bold;
    color: #fff;
}

/* 折りたたみ可能なランキングセクションのスタイル */
.ranking-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
}

.ranking-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    color: #ffd700;
    transition: transform 0.3s;
    margin-left: 10px;
}

.ranking-toggle.collapsed::after {
    transform: rotate(-90deg);
}

.ranking-list.hidden {
    display: none;
    margin: 0;
    padding: 0;
    height: 0;
    overflow: hidden;
}

/* ドロップダウンメニューのスタイル */
.dropdown-menu {
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    max-height: 300px;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.hidden {
    display: none;
}

.dropdown-menu h4 {
    margin: 0 0 10px 0;
    color: #667eea;
    font-size: 1rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.3);
    padding-bottom: 8px;
}

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

.spot-list li {
    padding: 10px 12px;
    margin-bottom: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.spot-list li:hover {
    background: rgba(102, 126, 234, 0.2);
    border-left-color: #667eea;
    transform: translateX(5px);
    color: #fff;
}

/* 新しい情報リストのスタイル */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid rgba(102, 126, 234, 0.5);
    line-height: 1.6;
    color: #ddd;
    position: relative;
    transition: all 0.3s;
}

.info-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #667eea;
    transform: translateX(3px);
}

/* 証言リストのスタイル */
.testimony-list li {
    border-left-color: rgba(255, 193, 7, 0.5);
    font-style: italic;
}

.testimony-list li:hover {
    border-left-color: #ffc107;
}

.testimony-list li::before {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 193, 7, 0.3);
    position: absolute;
    left: 5px;
    top: -5px;
    line-height: 1;
}

/* ニュースリストのスタイル */
.news-list li {
    border-left-color: rgba(76, 175, 80, 0.5);
}

.news-list li:hover {
    border-left-color: #4caf50;
}

/* メディアリストのスタイル */
.media-list li {
    border-left-color: rgba(233, 30, 99, 0.5);
}

.media-list li:hover {
    border-left-color: #e91e63;
}

/* セクションタイトルのアイコン対応 */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ストリートビューコンテナ */
.street-view-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.street-view {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.street-view-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    z-index: 10;
}

.street-view-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.05);
}

/* アクションボタンのスタイル調整 */
.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.action-btn span {
    font-size: 1.1rem;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .street-view {
        height: 300px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        min-width: auto;
    }
}

/* Amazonアフィリエイトセクション */
.affiliate-section {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.affiliate-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.affiliate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.5);
}

.affiliate-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.affiliate-item h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}

.affiliate-item .price {
    font-size: 1.1rem;
    color: #ffa500;
    font-weight: bold;
    margin-bottom: 10px;
}

.affiliate-item a {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.affiliate-item a:hover {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    transform: scale(1.05);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .affiliate-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .affiliate-item {
        padding: 10px;
    }
    
    .affiliate-item img {
        height: 150px;
    }
    
    .affiliate-item h4 {
        font-size: 0.8rem;
        min-height: 35px;
    }
}

@media (max-width: 480px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
    }
    
    .affiliate-item img {
        height: 200px;
    }
}
