/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}

/* サイト共通ヘッダー */
.site-header {
    background-color: #333; /* 背景色 */
    background-image: url('images/hacaranda_texture.png'); /* 背景画像 */
    background-size: cover; /* 全体をカバーしつつ中央を表示 */
    background-position: center 40%; /* 水平中央、垂直を少し上(40%)に */
    /* background-repeat: repeat; は cover と併用しないことが多い */

    padding: 0.8rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky; 
    top: 0;
    z-index: 100; /* z-index を戻す */
    /* overflow: hidden; を削除 */
}

/* ヘッダー背景画像用スタイル - 削除 */
/*
.header-texture-img {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
    object-fit: cover; 
    object-position: center center; 
    z-index: -1; 
    opacity: 0.8; 
}
*/

.site-header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem; /* アイコンとロゴの間隔 */
}

/* --- ハンバーガーメニュー --- */
.hamburger-menu {
    position: relative; /* ナビゲーションの位置基準 */
}

.hamburger-icon {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem; /* アイコンサイズ */
    cursor: pointer;
    padding: 5px; /* クリック範囲 */
    display: flex; /* アイコンを中央揃え */
    align-items: center;
    justify-content: center;
}

.hamburger-icon:hover {
    color: #ddd;
}

.main-nav {
    display: none; /* 初期状態では非表示 */
    position: absolute;
    top: 100%; /* アイコンの真下に表示 */
    left: 0;
    background-color: #444; /* メニューの背景色 */
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0; /* 上下のパディング */
    min-width: 180px; /* メニューの最小幅 */
    z-index: 110; /* 他の要素より手前に */
}

.hamburger-menu:hover .main-nav {
    display: block; /* ホバー時に表示 */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav li {
    /* display: block; は不要 */
}

.main-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1.5rem; /* リンクのパディング */
    font-size: 0.95rem;
    white-space: nowrap; /* 折り返さない */
    transition: background-color 0.2s;
}

.main-nav a:hover {
    background-color: #555; /* ホバー時の背景色 */
    color: #fff;
}

.main-nav a.active {
    background-color: #666; /* アクティブなページのリンク */
    font-weight: bold;
}
/* --- ハンバーガーメニューここまで --- */

.site-logo {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    /* text-shadow を追加して読みやすくする */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.site-logo:hover {
    color: #eee;
}

/* Search page styles */
.search-page {
    min-height: calc(100vh - 60px);
    background-color: #fafafa; /* 背景色をオフホワイトに戻す */
}

.search-container {
    padding: 2rem; /* パディングを元に戻す */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex; /* flexbox レイアウトを戻す */
    flex-direction: column;
    align-items: center;
}

/* 見出しと検索フォームエリアのスタイル - 削除 */
/*
.search-intro-area {
    background-color: #f8f9fa; 
    padding: 2rem 2rem 1.5rem; 
    margin: 0 -2rem; 
    text-align: center; 
}
*/

/* h1 スタイルの調整 */
h1 { /* セレクタを h1 に戻す (旧 .search-intro-area h1) */
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem; /* または元の 2rem に戻すか確認 */
    color: #333; /* または元の red に戻すか確認 (現状は #333) */
    text-align: center; 
}

.search-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto; 
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.area-select {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    min-width: 120px;
}

#search-input {
    flex: 1;
    max-width: 300px;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

#search-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.location-button {
    padding: 0.75rem 1.5rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.location-button:hover {
    background-color: #357abd;
}

.location-button i {
    font-size: 1.2rem;
}

/* 情報ウィンドウのスタイル */
.info-window {
    padding: 1rem;
    max-width: 300px;
}

.info-window h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.info-window p {
    margin: 0.25rem 0;
    color: #666;
}

.info-window a {
    color: #4a90e2;
    text-decoration: none;
}

.info-window a:hover {
    text-decoration: underline;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .search-container {
        padding: 1rem;
    }

    .search-input-group {
        flex-wrap: wrap;
    }

    .area-select, #search-input, .location-button {
        width: 100%;
        max-width: none;
    }
}

/* Results section styles */
.results-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 2rem 0; /* 上下のパディングを維持 */
    height: 600px; 
    width: 100%; 
    background-color: #fafafa; /* 背景色をオフホワイトに戻す */
}

/* 左側のエリア（リスト + リンク） */
.list-area {
    width: 300px; /* 固定幅 */
    flex-shrink: 0; /* 縮まないように */
    display: flex; /* 中身を縦に並べるため */
    flex-direction: column;
}

.shop-list {
    /* width: 300px; を削除 (親の .list-area で指定) */
    /* flex-shrink: 0; を削除 */
    flex-grow: 1; /* 高さを可能な限り伸ばす */
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
    margin-bottom: 10px; /* 下のリンクとの間にマージンを追加 */
}

/* 工房掲載案内のリンク */
.add-shop-link {
    margin-top: 10px; /* リストとの間隔 */
    text-align: center;
    font-size: 0.9em;
}

.add-shop-link a {
    color: #4a90e2;
    text-decoration: none;
}

.add-shop-link a:hover {
    text-decoration: underline;
}

/* リストのプレースホルダー */
.shop-list-placeholder {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
    font-size: 0.95em;
    line-height: 1.6;
}

.map {
    flex-grow: 1; /* 残りの幅を取る */
    height: 100%; /* 親の高さ(600px)を継承 */
    min-height: 400px; /* 念のため最小高さを確保 */
    border-radius: 8px;
    overflow: hidden;
}

/* --- shop-item スタイル変更 --- */
.shop-item {
    display: flex; /* Flexbox を使用 */
    align-items: flex-start; /* 上揃えにする */
    gap: 15px; /* 要素間のスペース */
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
    /* position: relative; は不要に */
}

.shop-item:hover {
    background-color: #f5f5f5;
}

.shop-item-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* 丸形 */
    object-fit: cover;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    flex-shrink: 0; /* ロゴが縮まないように */
}

.shop-item-content {
    display: flex;
    flex-direction: column; /* 名前、評価、口コミを縦に並べる */
    flex-grow: 1; /* 残りのスペースを取る */
    gap: 5px; /* 縦方向のスペース */
}

.shop-item-name { /* h3 要素 */
    margin: 0;
    color: #333;
    font-size: 1.1em; /* 少し大きく */
    font-weight: 600;
}

.shop-item-rating {
    display: flex;
    align-items: center;
    gap: 3px; /* アイコンとテキストの間隔 */
    font-size: 0.9em;
    color: #666;
}

.shop-item-rating i.fa-guitar {
    font-size: 1em; /* アイコンサイズ調整 */
}

.rating-filled {
    color: #f39c12; /* 塗りつぶしアイコンの色 (オレンジ系) */
}

.rating-empty {
    color: #ddd; /* 空アイコンの色 */
}

.rating-value {
    margin-left: 5px;
    font-size: 0.9em;
    color: #888;
}

/* 口コミ関連スタイル削除 */
/*
.shop-item-reviews {
    margin-top: 5px;
}

.review-link {
    font-size: 0.85em;
    color: #4a90e2;
    text-decoration: none;
}

.review-link:hover {
    text-decoration: underline;
}
*/

/* --- shop-item 関連の古いスタイル (tooltip) は不要なら削除 --- */
/*
.shop-item .tooltip {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 10px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    z-index: 1000;
}

.shop-item:hover .tooltip {
    display: block;
}

.tooltip p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9em;
}

.tooltip .address {
    color: #888;
}

.tooltip .phone {
    color: #007bff;
}
*/

@media (max-width: 768px) {
    .results-container {
        flex-direction: column;
        height: auto;
    }

    .shop-list {
        width: 100%;
        height: 200px;
        flex-shrink: 1; /* モバイルでは縮むことを許可 */
    }

    .map {
        flex-grow: 0; /* 伸縮しない */
        width: 100%; 
        height: 400px; 
        min-height: 300px;
    }

    /* 古い tooltip のレスポンシブスタイルは削除 */
    /*
    .shop-item .tooltip {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    */
}

/* Footer styles */
footer {
    /* background-color: #f9f9f9; を削除 */
    background-color: #333; /* ヘッダーと同じ背景色 */
    background-image: url('images/hacaranda_texture.png'); /* 背景画像 */
    background-size: cover; /* 全体をカバー */
    background-position: center 90%; /* 垂直位置を下にずらす */
    padding: 2rem 0; 
    margin-top: auto;
    /* border-top: 1px solid #eee; を削除 (暗い背景なので不要) */
    color: #ccc; /* デフォルトの文字色を明るいグレーに */
    font-size: 0.9rem; 
    position: relative; /* テキストが見えるように */
    z-index: 1; /* ヘッダーよりは後ろでOK */
}

.footer-container {
    max-width: 1100px; /* ヘッダーに合わせる */
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center; 
    position: relative; /* テキストが見えるように */
    z-index: 2; /* 背景画像より手前に */
}

/* フッター内のpタグのスタイル */
.footer-container p {
    margin-bottom: 0.5rem; 
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* 影をつけて読みやすく */
}

/* フッター内のリンクスタイル */
.footer-container a {
    color: #fff; /* リンク色を白に */
    text-decoration: none;
}

.footer-container a:hover {
    text-decoration: underline;
}

/* Search preview styles */
.search-preview {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    z-index: 10;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.preview-item:hover {
    background-color: #f5f5f5;
}

.preview-item i {
    color: #666;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-title {
    font-weight: 500;
    color: #333;
}

.preview-area {
    font-size: 0.9rem;
    color: #666;
}

/* Loading and error states */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.error {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.results-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* 詳細情報表示エリアのスタイル - 削除 */
/*
.shop-details-area {
    width: 400px; 
    flex-shrink: 0;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9; 
    margin-left: 20px; 
    height: 600px; 
}

.shop-details-area h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.shop-details-area h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 1.1em;
}

.shop-details-area ul {
    list-style: none;
    padding-left: 15px;
    margin-bottom: 15px;
}

.shop-details-area li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.shop-details-area strong {
    color: #e67e22; 
}

.shop-details-area p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.shop-details-area a {
    color: #4a90e2;
}
*/

/* 詳細ページ (details.html) 用のスタイル */

/* 全体 */
.details-page {
    background-color: #fafafa; /* 背景色をオフホワイトに戻す */
    padding-bottom: 3rem; /* フッターとのスペース */
}

.details-page-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.details-header {
    display: flex;
    align-items: center; /* 上下中央揃え */
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.details-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0; /* 画像読み込み中の背景 */
}

.details-header-text {
    flex-grow: 1;
}

.details-header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 名前とボタンを両端に */
    margin-bottom: 5px;
}

#details-shop-name {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

/* --- お気に入りボタンのスタイル --- */
.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5em; /* アイコンサイズ調整 */
    color: #ccc; /* デフォルトの色 (グレー) */
    padding: 5px; /* クリック範囲を少し広げる */
    line-height: 1; /* アイコンの縦位置調整 */
}

.favorite-btn:hover {
    color: #f0ad4e; /* ホバー時の色 (オレンジ系) */
}

.favorite-btn.active {
    color: #f0ad4e; /* アクティブ時の色 (オレンジ系) */
}

.shop-item .favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2em; /* リストアイテム内では少し小さく */
}
/* --- お気に入りボタンスタイルここまで --- */

.rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer; /* レビューモーダルを開くため */
}

/* 戻るリンク */
.back-link-container {
    margin-bottom: 1.5rem;
}

.back-link-container a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.95rem;
}

.back-link-container a:hover {
    text-decoration: underline;
}

/* ヘッダー: ロゴと店名 */
.details-main-header {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* ロゴと店名の間隔 */
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.shop-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* 丸形にする */
    object-fit: cover; /* 画像のアスペクト比を保ちつつトリミング */
    border: 2px solid #ddd; /* 枠線を少し濃くする */
    background-color: #f0f0f0; /* 画像がない場合の背景 */
    display: block; /* レイアウト崩れを防ぐ */
}

#details-shop-name {
    font-size: 2rem; /* 店名のサイズ調整 */
    font-weight: 700;
    color: #333;
    margin: 0;
    margin-bottom: 0.25rem; /* 評価との間隔 */
}

/* 詳細ページの評価表示エリア */
.shop-rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer; /* クリック可能に */
    color: #555;
}

.shop-rating-display i.fa-guitar {
    font-size: 1.1em; /* アイコンサイズ */
}

.shop-rating-display .rating-value {
    font-size: 0.9em;
    color: #777;
    margin-left: 3px;
}

.rating-link-text {
    margin-left: 10px;
    font-size: 0.9em;
    color: #4a90e2;
    text-decoration: underline;
}

/* メインコンテンツエリア (2カラムレイアウト) */
.details-main-content {
    display: flex;
    gap: 2.5rem; /* カラム間のスペース */
}

.details-left-column {
    flex: 2; /* 左カラムの幅 (右カラムの2倍) */
    min-width: 0; /* flexアイテムの縮小問題を回避 */
}

.details-right-column {
    flex: 1; /* 右カラムの幅 */
    min-width: 0;
}

/* ギャラリー */
.details-gallery-section h2,
.details-contact-section h2,
.details-map-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #444;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #ddd;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* レスポンシブなグリッド */
    gap: 1rem;
    margin-bottom: 2rem;
}

.photo-gallery img {
    width: 100%;
    height: 150px; /* 高さを固定 */
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer; /* クリック可能に見せる (将来的に拡大表示など) */
    transition: transform 0.2s ease;
    background-color: #f0f0f0;
    border: 1px solid #ccc; /* 四角い枠線を追加 */
}

.photo-gallery img:hover {
    transform: scale(1.03);
}

.no-images {
    color: #888;
    font-style: italic;
}

/* 詳細テキスト */
.details-text-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* 詳細テキストの見出し (h2) スタイル */
.details-text-section h2 {
    margin-top: 2rem; /* 上マージン */
    margin-bottom: 1.2rem; /* 下マージン */
    color: #333;
    font-size: 1.4em;
    padding-left: 1.4em; /* マーカー分のインデント */
    position: relative;
    line-height: 1.4;
}

.details-text-section h2::before {
    content: ""; 
    position: absolute;
    left: 0;
    top: 0.1em; 
    width: 5px; /* 線の太さ */
    height: 1.2em; 
    background-color: #4fc3f7; /* 線の色 (ターコイズ系) */
}

/* 詳細テキストの見出し (h3) スタイル - 縦棒マーカー削除 */
.details-text-section h3 {
    margin-top: 1.8rem;
    margin-bottom: 1rem; 
    color: #444; 
    font-size: 1.3em; 
    /* padding-left: 1.2em; - 削除 */
    /* position: relative; - 削除 */
    line-height: 1.4;
}

/* h3::before スタイル削除 */
/* 
.details-text-section h3::before {
    ...
}
*/

/* 詳細テキストの箇条書きスタイル (大きめターコイズドット) */
.details-text-section ul {
    list-style: none; /* デフォルトマーカー削除 */
    padding-left: 0;   /* デフォルトパディング削除 */
    margin-bottom: 1.5rem;
}

.details-text-section li {
    margin-bottom: 0.8rem; /* 間隔 */
    padding-left: 1.8em;  /* ドットマーカー分のインデント */
    position: relative;
    line-height: 1.6;
}

.details-text-section li::before {
    content: ""; 
    position: absolute;
    left: 0.5em; /* 左端からの位置 */
    top: 0.4em; /* 上からの位置調整 (line-heightに合わせて調整) */
    width: 8px;  /* ドットの直径 */
    height: 8px; /* ドットの直径 */
    background-color: #4fc3f7; /* ドットの色 (ターコイズ系) */
    border-radius: 50%; /* 円形にする */
    display: inline-block; 
}

/* li::before (古い縦棒スタイル) は削除済み */

.details-text-section strong {
    color: #e67e22;
}

/* コンタクト情報 */
.details-contact-section {
    margin-bottom: 2rem;
}

.contact-icons {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.contact-icons a {
    color: #555;
    font-size: 1.8rem; /* アイコンサイズ */
    transition: color 0.2s ease;
}

.contact-icons a:hover {
    color: #4a90e2;
}

.details-contact-section p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: #666;
}

.details-contact-section p strong {
    color: #444;
    margin-right: 5px;
}

/* マップ */
.details-map-container {
    width: 100%;
    height: 300px; /* 地図の高さを設定 */
    border-radius: 6px;
    overflow: hidden; /* 地図がコンテナからはみ出ないように */
    border: 1px solid #ddd;
    background-color: #eee; /* 地図読み込み中の背景 */
}

/* --- レビューモーダル用スタイル --- */
.modal-overlay {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* 半透明の黒背景 */
    display: flex; /* flexboxで中央揃え */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 最前面に表示 */
}

.modal-content {
    background-color: #fff;
    padding: 2rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 700px; /* モーダルの最大幅 */
    max-height: 85vh; /* モーダルの最大高さ */
    overflow-y: auto; /* 内容が多い場合にスクロール */
    position: relative; /* 閉じるボタンの位置基準 */
}

.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-modal-btn:hover {
    color: #333;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

#review-summary {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

/* (統計バーやレビューリストの個別スタイルは後で追加) */ 

/* --- お気に入りページ (favorites.html) 用スタイル --- */
.favorites-page .search-container { /* .search-container をお気に入りページでも使うようにしたので調整 */
    max-width: 900px; /* リスト表示に合わせた幅 */
    padding: 2rem 1rem; /* 左右のパディングを少し減らす */
}

.favorites-page h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* お気に入りリストのコンテナスタイル */
.favorites-list-container {
    /* width, flex-shrink, overflow-y など .shop-list の基本スタイルを継承 */
    /* 地図がないので高さ制限は不要 */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    /* margin: 0 auto; で中央寄せにする場合は max-width が必要 */
    max-width: 700px; /* リストの最大幅 */
    margin: 0 auto; /* 中央寄せ */
}

/* お気に入りリスト内の .shop-item は既存のスタイルが適用される */
.favorites-list-container .shop-item:last-child {
    border-bottom: none; /* 最後のアイテムの下線を消す */
} 