/* 全体の設定 */
body {
    font-family: Arial, sans-serif;
}

/* カードビューのスタイリング */
.store-card {
    display: flex;  /* ←変更点 */
    align-items: center;  /* ←新規追加 */
    width: calc(33.333% - 20px);
    margin: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .3s ease;
}

.store-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.store-card a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
}

.store-card img {
    width: 80px;  /* ←変更点 */
    height: 80px;  /* ←変更点 */
    object-fit: cover;
    margin-right: 15px;
}

.store-card h2 {
    font-weight: bold; /* 太文字にする */
    font-size: 1.0em;  /* ←変更点 */
    margin: 10px 0;
}

.store-card p {
    margin: 5px 0;
}

.store-card .address {
    height: 2.4em;
    line-height: 1.2em;
    overflow: hidden;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .store-card {
        width: calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .store-card {
        width: 100%;
        margin: 10px 0;
    }
}

/* プルダウンメニューのスタイリング */
.select-wrapper {
    width: 200px;
    margin: 20px;
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
}

.select-wrapper:after {
    content: '\25BC';
    position: absolute;
    top: 50%;
    right: 15px;
    pointer-events: none;
    transform: translateY(-50%);
}
/* 店舗情報のテキストエリアのスタイリング */
.store-card .store-info {  /* ←新規追加 */
    flex-grow: 1;  /* ←新規追加 */
    display: flex;  /* ←新規追加 */
    flex-direction: column;  /* ←新規追加 */
    justify-content: center;  /* ←新規追加 */
}
.custom-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .spinner-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top-color: blue;
    border-radius: 50%;
    animation: spin 1s infinite linear;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(209, 208, 208, 0.5);
    z-index: 1000;
  }
  
  .custom-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
  }
  
  .spinner-element {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid transparent;
    border-top-color: blue;
    border-radius: 50%;
    animation: spin 1s infinite linear;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  #loadMoreButton {
    border: 2px solid rgb(167, 167, 168);
    background-color: transparent;
    color: rgb(73, 72, 72);
    padding: 15px 30px;
    margin: 50px auto; /* 上下のマージンを50px、左右は自動（中央配置） */
    display: block; /* ブロック要素として扱う（中央配置のため） */
    cursor: pointer;
    font-size: 16px;
  }
  .store-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 中央揃え */
}
  
  
  
  