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

body {
    font-family: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2e2e2e 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ヒーローセクション */
.hero-section {
    height: 60vh;
    /* 背景にグラデーションと画像を重ねる
       rgba(255, 0, 0, 0.3) は赤色で透明度30%
       url(...) はあなたの背景画像
    */
    background: linear-gradient(rgb(11, 10, 10), rgba(37, 31, 31, 0.687)),
                url('/photo/a3a9637f-5e37-45ab-845a-50c18de28d61_min.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平方向の中央揃え */
    justify-content: center; /* 垂直方向の中央揃え */
    text-align: center;
}

/* ロゴのスタイル */
.hero-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 0.1rem; /* ロゴの下の余白をさらに小さくする */
}

/* 文言のスタイル */
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 0.1rem; /* 文言の上の余白をさらに小さくする */
}

/* 検索・フィルターセクション */
.search-section {
    background: white;
    padding: 2rem;
    margin: -3rem 2rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-label {
    font-weight: bold;
    color: #555;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.filter-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.prefecture-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

#prefectureFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prefecture-btn {
    background: #f8f9ff;
    border-color: #667eea;
}

.count {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.filter-btn.active .count {
    background: rgba(255,255,255,0.3);
}

/* メインコンテンツ */
.main-content {
    padding: 2rem;
}

/* 人気スライダーセクション */
.popular-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    white-space: nowrap;      /* テキストの折り返しを禁止する */
    overflow: hidden;         /* はみ出したテキストを非表示にする */
    text-overflow: ellipsis;  /* はみ出した部分を「...」で表示する */
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #764ba2;
}

/* スライダー */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.facility-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;

    /* 追加 */
    display: flex;
    flex-direction: column;
}

.card-info {
    /* 追加 */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    /* 追加 */
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.rank-1 { background: linear-gradient(45deg, #FFD700, #FFA500); }
.rank-2 { background: linear-gradient(45deg, #C0C0C0, #A0A0A0); }
.rank-3 { background: linear-gradient(45deg, #CD7F32, #B8860B); }
.rank-4 { background: linear-gradient(45deg, #32CD32, #228B22); }
.rank-5 { background: linear-gradient(45deg, #4169E1, #1E90FF); }

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.facility-card:hover .card-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.card-info {
    padding: 1.5rem;
    text-align: center; /* テキストを中央揃えにする */
}

/* 施設名やその他のテキストも中央揃えになるように調整 */
.facility-name,
.facility-location,
.facility-price,
.facility-features {
    text-align: center;
}

.facility-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.facility-location {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.facility-price {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.facility-features {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap; /* ボタンを強制的に横並びにする */
    justify-content: space-between; /* ボタン間のスペースを均等にする */
    align-items: center;
}


.action-btn {
    flex: 1; /* ボタンが等しい幅になるようにする */
    white-space: nowrap; /* ボタン内のテキストが折り返さないようにする */
    /* その他のスタイルは維持 */
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center; /* ボタン内のテキストを中央揃えにする */

}
/* レスポンシブデザインの調整 */
@media (max-width: 480px) {
    .action-btn {
        font-size: 0.7rem; /* 小さな画面ではフォントサイズを小さくする */
        padding: 0.6rem 0.8rem;
    }
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #007bff;
    color: white;
}

.btn-secondary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-map {
    background: #fd7e14;
    color: white;
}

.btn-map:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.btn-disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* スライダーナビゲーション */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #667eea;
    color: white;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #667eea;
}

/* 施設一覧セクション */
.facilities-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.facilities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.facilities-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: bold;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

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

body {
    font-family: 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #2e2e2e 0%, #764ba2 100%);
    min-height: 100vh;
}

/* ヒーローセクション */
.hero-section {
    height: 60vh;
    /* 背景にグラデーションと画像を重ねる
       rgba(255, 0, 0, 0.3) は赤色で透明度30%
       url(...) はあなたの背景画像
    */
    background: linear-gradient(rgb(11, 10, 10), rgba(37, 31, 31, 0.687)),
                url('/photo/a3a9637f-5e37-45ab-845a-50c18de28d61_min.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平方向の中央揃え */
    justify-content: center; /* 垂直方向の中央揃え */
    text-align: center;
}

/* ロゴのスタイル */
.hero-logo {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 0.1rem; /* ロゴの下の余白をさらに小さくする */
}

/* 文言のスタイル */
.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 0.1rem; /* 文言の上の余白をさらに小さくする */
}

/* 検索・フィルターセクション */
.search-section {
    background: white;
    padding: 2rem;
    margin: -3rem 2rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-label {
    font-weight: bold;
    color: #555;
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.filter-btn.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
}

.prefecture-section {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

#prefectureFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prefecture-btn {
    background: #f8f9ff;
    border-color: #667eea;
}

.count {
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.filter-btn.active .count {
    background: rgba(255,255,255,0.3);
}

/* メインコンテンツ */
.main-content {
    padding: 2rem;
}

/* 人気スライダーセクション */
.popular-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    white-space: nowrap;      /* テキストの折り返しを禁止する */
    overflow: hidden;         /* はみ出したテキストを非表示にする */
    text-overflow: ellipsis;  /* はみ出した部分を「...」で表示する */
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #764ba2;
}

/* スライダー */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.facility-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;

    /* 追加 */
    display: flex;
    flex-direction: column;
}

.card-info {
    /* 追加 */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-actions {
    /* 追加 */
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.rank-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.rank-1 { background: linear-gradient(45deg, #FFD700, #FFA500); }
.rank-2 { background: linear-gradient(45deg, #C0C0C0, #A0A0A0); }
.rank-3 { background: linear-gradient(45deg, #CD7F32, #B8860B); }
.rank-4 { background: linear-gradient(45deg, #32CD32, #228B22); }
.rank-5 { background: linear-gradient(45deg, #4169E1, #1E90FF); }

.card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.facility-card:hover .card-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.card-info {
    padding: 1.5rem;
    text-align: center; /* テキストを中央揃えにする */
}

/* 施設名やその他のテキストも中央揃えになるように調整 */
.facility-name,
.facility-location,
.facility-price,
.facility-features {
    text-align: center;
}

.facility-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.facility-location {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.facility-price {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.facility-features {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap; /* ボタンを強制的に横並びにする */
    justify-content: space-between; /* ボタン間のスペースを均等にする */
    align-items: center;
}


.action-btn {
    flex: 1; /* ボタンが等しい幅になるようにする */
    white-space: nowrap; /* ボタン内のテキストが折り返さないようにする */
    /* その他のスタイルは維持 */
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center; /* ボタン内のテキストを中央揃えにする */

}
/* レスポンシブデザインの調整 */
@media (max-width: 480px) {
    .action-btn {
        font-size: 0.7rem; /* 小さな画面ではフォントサイズを小さくする */
        padding: 0.6rem 0.8rem;
    }
}

.btn-primary {
    background: #28a745;
    color: white;
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #007bff;
    color: white;
}

.btn-secondary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-map {
    background: #fd7e14;
    color: white;
}

.btn-map:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.btn-disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* スライダーナビゲーション */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #667eea;
    color: white;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #667eea;
}

/* 施設一覧セクション */
.facilities-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.facilities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.facilities-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: bold;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.facility-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

.facility-item:hover .facility-image img {
    transform: scale(1.05);
}

.facility-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.facility-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    font-size: 0.9rem;
    color: #666;
}

.facility-description {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.facility-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .search-section {
        margin: -2rem 1rem 1rem;
        padding: 1.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .main-content {
        padding: 1rem;
    }

    .facility-card {
        min-width: 280px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facilities-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }
}
/* トップへ戻るボタンのスタイル */
.scroll-to-top-btn {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面に固定する */
    bottom: 2rem; /* 下からの位置 */
    right: 2rem; /* 右からの位置 */
    z-index: 100; /* 他の要素より手前に表示 */
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top-btn.show {
    display: block; /* .showクラスが付いたら表示 */
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .facility-card {
        min-width: 250px;
    }

    .slider-wrapper {
        gap: 1rem;
    }
}
.site-footer {
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
  color: #555;
  text-align: center;
  padding: 10px;
}

.site-footer a {
  color: #555;
  text-decoration: none;
  margin: 0 4px;
}

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


.facility-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

.facility-item:hover .facility-image img {
    transform: scale(1.05);
}

.facility-info {
    padding: 1.5rem;
}

.facility-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.facility-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    font-size: 0.9rem;
    color: #666;
}

.facility-description {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.facility-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .search-section {
        margin: -2rem 1rem 1rem;
        padding: 1.5rem;
    }

    .search-box {
        flex-direction: column;
    }

    .main-content {
        padding: 1rem;
    }

    .facility-card {
        min-width: 280px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facilities-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }
}
/* トップへ戻るボタンのスタイル */
.scroll-to-top-btn {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面に固定する */
    bottom: 2rem; /* 下からの位置 */
    right: 2rem; /* 右からの位置 */
    z-index: 100; /* 他の要素より手前に表示 */
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-to-top-btn.show {
    display: block; /* .showクラスが付いたら表示 */
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .facility-card {
        min-width: 250px;
    }

    .slider-wrapper {
        gap: 1rem;
    }
}
.site-footer {
  background: #f8f8f8;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
  color: #555;
  text-align: center;
  padding: 10px;
}

.site-footer a {
  color: #555;
  text-decoration: none;
  margin: 0 4px;
}

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