/* ページ全体の基本スタイル */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* サイドバーを非表示 */
.widget-area,
.sidebar,
.secondary,
#secondary,
aside[role="complementary"],
.blog-sidebar {
    display: none !important;
}

/* メインコンテンツエリアをフルワイドに */
.site-content,
.content-area,
#primary,
.main,
main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 検索ページ専用スタイル */
.pilates-search-page {
    background: white;
    min-height: 100vh;
    padding: 0;
}

.pilates-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* サイドバー - スクロール追従（スクロールバー非表示） */
.pilates-sidebar {
    background: white;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    /* スクロールバーを非表示 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.pilates-sidebar::-webkit-scrollbar {
    display: none; /* WebKit */
}

/* メインコンテンツ */
.pilates-main-content {
    background: var(--bg-white);
    padding: 0;
    min-height: 500px;
}

/* 検索条件表示 */
.search-condition-header {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.condition-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.condition-display {
    flex: 1;
}

.condition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-bottom: 10px;
}

.condition-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.results-count {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* 並べ替えボタン */
.sort-dropdown {
    position: relative;
    display: inline-block;
}

.sort-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: space-between;
}

.sort-button:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sort-button.active {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

.sort-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    color: var(--text-gray);
}

.sort-button.active .sort-icon {
    transform: rotate(180deg);
}

.sort-text {
    font-weight: 500;
}

.sort-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    margin-top: 4px;
    display: none;
    overflow: hidden;
}

.sort-dropdown-menu.show {
    display: block;
    animation: dropdownFadeIn 0.15s ease-out;
}

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

.sort-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    border: none;
    background: none;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.sort-option:last-child {
    border-bottom: none;
}

.sort-option:hover {
    background: var(--bg-light);
}

.sort-option.selected {
    color: var(--primary-color);
    font-weight: 600;
    background: #ffeef0;
}

.sort-option.selected::after {
    content: '✓';
    float: right;
    color: var(--primary-color);
}

/* スタジオ一覧エリア */
.studios-container {
    padding: 0;
    margin: 0;
}

.studios-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* No Results スタイル */
.no-results-container {
    text-align: center;
    padding: 60px 20px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 24px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results-description {
    color: #999;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-results-tips {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    text-align: left;
    max-width: 400px;
    border: 1px solid #e9ecef;
}

.no-results-tips h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.no-results-tips ul {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
    margin: 0;
}

.reset-btn {
    background: #FF6B6B;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.reset-btn:hover {
    background: #e55a5a;
}

/* ページネーション - 一番下に固定 */
.pagination-container {
    margin-top: 40px;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination-buttons {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    background: #fff5f5;
}

.page-btn.current {
    background: #FF6B6B;
    border-color: #FF6B6B;
    color: white;
}

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

/* 検索フォームスタイル */
.search-form-container {
    background: var(--bg-white);
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-header {
    padding: 20px;
    border-bottom: 1px solid #d0d0d0;
    margin-bottom: 0;
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
}

.search-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-filters {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: normal;
    cursor: pointer;
}

.clear-filters:hover {
    text-decoration: underline;
}

.search-form-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
    /* スクロールバーを非表示 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.search-form-content::-webkit-scrollbar {
    display: none; /* WebKit */
}

/* キーワード検索（常時表示） */
.keyword-search-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background: var(--bg-white);
    margin: 0 20px;
}

.keyword-search-section .form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 8px;
}

/* フィルターコンテナ */
.filters-container {
    padding: 0 20px;
}

/* アコーディオンセクション */
.filter-section {
    border-bottom: 1px solid #f0f0f0;
}

.filter-header {
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-white);
    transition: background-color 0.2s ease;
    user-select: none;
}

.filter-header:hover {
    background: var(--bg-light);
}

.filter-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.filter-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    color: var(--text-gray);
    pointer-events: none;
}

.filter-section.expanded .filter-arrow {
    transform: rotate(180deg);
}

.filter-content {
    padding: 0 0 20px 0;
    display: none;
    background: var(--bg-white);
    overflow: hidden;
}

.filter-section.expanded .filter-content {
    display: block !important;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 6px;
}

/* フォームコントロール - 基本スタイル */
.form-control {
    width: 100%;
    padding: 16px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-control:hover {
    border-color: #aaa;
}

.form-control:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

/* セレクトボックス専用スタイル */
select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding: 12px 16px;
    background-size: 16px;
    padding-right: 44px;
    cursor: pointer;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

select.form-control:disabled {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    cursor: not-allowed;
}

/* optgroupのスタイル */
select.form-control optgroup {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-style: normal;
}

select.form-control optgroup option {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-dark);
    background-color: white;
    padding: 8px 12px 8px 24px;
}

/* 路線セレクトボックス特別スタイル */
.railway-line {
    font-family: inherit;
}

.railway-line optgroup {
    font-weight: 600;
    color: #555;
    background-color: #f0f2f5;
    font-style: normal;
    border-bottom: 1px solid #e0e0e0;
}

.railway-line optgroup option {
    font-weight: 400;
    color: var(--text-dark);
    background-color: white;
    padding-left: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.railway-line optgroup option:hover {
    background-color: #f8f9fa;
}

/* 階層セレクト */
.hierarchical-select {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hierarchical-select .form-control:not(:first-child) {
    margin-top: 0;
}

/* チェックボックスとラジオボタン */
.checkbox-group, .radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item, .radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 4px 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover, .radio-item:hover {
    background-color: #f8f9fa;
    padding-left: 4px;
    padding-right: 4px;
}

.checkbox-item input[type="checkbox"], .radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    background: var(--bg-white);
    cursor: pointer;
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.radio-item input[type="radio"] {
    border-radius: 50%;
}

.checkbox-item input[type="checkbox"]:checked, .radio-item input[type="radio"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.checkbox-item input[type="checkbox"]:hover, .radio-item input[type="radio"]:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.checkbox-item label, .radio-item label {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0;
    cursor: pointer;
    flex: 1;
    line-height: 1.4;
}

/* 価格範囲 */
.price-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-range input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.price-range input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.price-range input:hover {
    border-color: #aaa;
}

.price-range input[type="number"]::-webkit-outer-spin-button,
.price-range input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-range input[type="number"] {
    -moz-appearance: textfield;
}

.price-range input::placeholder {
    color: var(--text-lighter);
    font-size: 13px;
}

.price-range input:focus::placeholder {
    opacity: 0.5;
}

.price-separator {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

/* 検索アクション */
.search-actions {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: var(--bg-white);
    position: sticky;
    bottom: 0;
    margin-top: auto;
    flex-shrink: 0;
}

.search-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.search-btn:hover {
    background: #e55a5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

.reset-btn {
    width: 100%;
    background: var(--bg-white);
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 12px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.reset-btn:hover {
    background: var(--bg-light);
    border-color: #aaa;
    color: var(--text-dark);
}

/* 選択状態の表示 */
.filter-selected {
    background: #E8F8F5 !important;
}

.filter-selected .filter-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .pilates-search-container {
        grid-template-columns: 250px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .pilates-search-container {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 15px;
    }
    
    .pilates-sidebar {
        order: 2;
        position: static;
        max-height: 60vh;
        overflow-y: auto;
        /* モバイルでもスクロールバー非表示 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .pilates-sidebar::-webkit-scrollbar {
        display: none;
    }
    
    .pilates-main-content {
        order: 1;
        padding: 20px;
    }
    
    .search-condition-header {
        padding: 15px;
        margin-bottom: 0;
        position: static;
    }
    
    .condition-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .results-count {
        font-size: 18px;
    }
    
    .pagination-container {
        position: static;
        background: white;
    }
    
    /* モバイルでのフォーム要素調整 */
    .form-control {
        padding: 18px 16px;
        font-size: 16px; /* iOS Safariでのズーム防止 */
    }
    
    select.form-control {
        padding-right: 48px;
        background-size: 18px;
    }
}

@media (max-width: 480px) {
    .pilates-search-container {
        padding: 10px;
    }
    
    .pilates-main-content {
        padding: 15px;
    }
    
    .search-condition-header {
        padding: 12px;
    }
    
    .pilates-sidebar {
        max-height: 50vh;
    }
    
    .price-range {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-separator {
        order: -1;
        align-self: center;
    }
}

/* テーマ固有のスタイルをオーバーライド */
.container,
.row,
.col {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Twenty Twenty Four などのテーマ対応 */
.wp-site-blocks,
.wp-block-group {
    padding: 0 !important;
}

/* スタジオカードスタイル */
/* フレキシブルカード：タグ量に応じてサイズ調整 */
.pilates-studio-card-flexible {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
}

/* タグ量による高さ調整 */
.pilates-studio-card-flexible.has-few-tags {
    min-height: 220px;
}

.pilates-studio-card-flexible.has-medium-tags {
    min-height: 240px;
}

.pilates-studio-card-flexible.has-many-tags {
    min-height: 260px;
}

.pilates-studio-card-flexible:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-color: #FF6B6B;
}

/* 左側：フレキシブル画像エリア */
.studio-image-flexible {
    flex: 0 0 280px;
    min-height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    align-self: stretch;
}

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

.pilates-studio-card-flexible:hover .studio-image-flexible img {
    transform: scale(1.05);
}

/* 右側：フレキシブルテキストエリア */
.studio-text-area-flexible {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    box-sizing: border-box;
}

/* 各セクションの定義 */
.studio-title-section {
    flex: 0 0 auto;
    margin-bottom: 8px;
}

.studio-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 47px;
}

.pilates-studio-card-flexible:hover .studio-title {
    color: #FF6B6B;
}

.studio-access-section {
    flex: 0 0 auto;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 18px;
}

.access-more {
    font-size: 12px;
    color: #999;
}

.studio-price-section {
    flex: 0 0 auto;
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 20px;
}

.price-item {
    font-size: 15px;
    font-weight: 700;
    color: #FF6B6B;
    display: block;
    margin-bottom: 2px;
}

.entrance-fee {
    font-size: 11px;
    color: #666;
}

/* タグセクション：フレキシブル（重要） */
.studio-tags-section {
    flex: 1;
    margin-bottom: 12px;
    min-height: 60px;
    overflow: visible;
}

.studio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
    width: 100%;
    height: auto;
}

.feature-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #bbdefb;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 2px;
}

.facility-tag {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 3px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #ce93d8;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 2px;
}

.trial-tag {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 3px 7px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #c8e6c9;
    white-space: nowrap;
    display: inline-block;
    margin-bottom: 2px;
}

/* ボタンセクション：固定 */
.studio-buttons-section {
    flex: 0 0 auto;
    margin-top: auto;
}

.studio-buttons {
    display: flex;
    gap: 8px;
    height: 35px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    z-index: 10;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-detail {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-detail:hover {
    background: #e9ecef;
    border-color: #aaa;
}

.btn-official {
    background: #FF6B6B;
    color: white;
}

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

/* ホバー時のクリック可能エフェクト */
.pilates-studio-card-flexible::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    transition: background 0.2s ease;
}

.pilates-studio-card-flexible:hover::after {
    background: rgba(255, 107, 107, 0.02);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .pilates-studio-card-flexible {
        flex-direction: column;
        min-height: auto;
    }
    
    .studio-image-flexible {
        flex: none;
        height: 180px;
        width: 100%;
        align-self: auto;
    }
    
    .studio-text-area-flexible {
        padding: 15px 18px;
        min-height: auto;
    }
    
    .studio-title {
        font-size: 16px;
        -webkit-line-clamp: 1;
        max-height: 24px;
    }
    
    .studio-tags-section {
        min-height: 40px;
    }
    
    .btn {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .studio-image-flexible {
        height: 160px;
    }
    
    .studio-text-area-flexible {
        padding: 12px 15px;
    }
    
    .studio-title {
        font-size: 15px;
    }
    
    .price-item {
        font-size: 14px;
    }
    
    .studio-access-section {
        font-size: 12px;
    }
    
    .studio-buttons {
        flex-direction: column;
        gap: 6px;
        height: auto;
    }
    
    .btn {
        padding: 8px 12px;
    }
}
