@charset "utf-8";
/* CSS Document */
/* 基本スタイル */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa; /* ページの背景色 */
    margin: 0;
    padding: 20px 0; /* 上下の余白 */
}

.store-selection-page {
    /* 特に指定なし */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* コンテナ左右の余白 */
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.4em; /* メインタイトルのサイズ */
    color: #2c3e50; /* メインタイトルの色 */
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1em;
    color: #555;
}

/* 店舗リストのスタイル */
.store-list {
    display: flex;
    flex-wrap: wrap; /* 幅が足りない場合に折り返す */
    gap: 30px;       /* 店舗カード間の隙間 */
    justify-content: center; /* カードが1行に収まらない場合に中央揃え */
}

/* 店舗カードのスタイル */
.store-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    /* Flexboxの子要素として、幅の割合を指定 */
    flex: 1 1 calc(33.333% - 20px); /* 3列均等 (gapを考慮) */
    min-width: 280px; /* カードの最小幅 */
    max-width: 380px; /* カードの最大幅 (任意) */
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* カード内の要素を縦に並べる */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.store-name {
    font-size: 1.9em;
    color: #007bff; /* 店舗名のテーマカラー (例: 青系) */
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}

.store-details {
    margin-bottom: 30px;
    flex-grow: 1; /* この要素が可能な限りスペースを埋める */
}

.store-details p {
    font-size: 1em;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start; /* アイコンとテキストの上端を揃える */
}

.store-details p i.fas { /* Font Awesome アイコンのスタイル */
    margin-right: 10px;
    color: #666;
    width: 20px; /* アイコンの幅を固定して揃える */
    text-align: center;
    flex-shrink: 0; /* アイコンが縮まないように */
    padding-top: 3px; /* テキストとの垂直位置微調整 */
}

.store-details p span { /* 住所などのテキスト部分 */
    flex: 1;
}


.store-details a { /* 電話番号リンク */
    color: #444;
    text-decoration: none;
}

.store-details a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* 予約ボタンのスタイル */
.btn.btn-reserve {
    display: block;
    background-color: #28a745; /* 予約ボタンのテーマカラー (例: 緑系) */
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* カード下部にボタンを配置 */
}

.btn.btn-reserve:hover {
    background-color: #218838; /* ホバー時の色を少し濃く */
    transform: translateY(-2px);
}

.btn.btn-reserve i.fas { /* ボタン内のアイコン */
    margin-left: 8px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) { /* タブレットサイズなど (2列表示) */
    .store-card {
        flex-basis: calc(50% - 15px); /* 2列均等 (gapを考慮) */
        max-width: calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) { /* スマートフォンサイズなど (1列表示) */
    .page-header h1 {
        font-size: 2em;
    }
    .store-card {
        flex-basis: 100%;
        max-width: 100%;
        min-width: unset;
        padding: 25px;
    }
    .store-name {
        font-size: 1.7em;
    }
}