* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.contact-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* 検索セクション */
.search-section {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.search-btn {
    padding: 12px 25px;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background: #1e4080;
}

.filter-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: bold;
    color: #555;
    white-space: nowrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 120px;
}

/* 店舗リスト */
.store-list {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.list-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: bold;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.area-section {
    border-bottom: 1px solid #e0e0e0;
}

.area-section:last-child {
    border-bottom: none;
}

.area-header {
    background: #f0f4f8;
    padding: 15px 20px;
    font-weight: bold;
    color: #2c5aa0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.area-header:hover {
    background: #e8f0f8;
}

.area-header::after {
    content: "▼";
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.area-header.collapsed::after {
    transform: rotate(-90deg);
}

.area-content {
    display: block;
    transition: all 0.3s ease-out;
}

.area-content.collapsed {
    display: none;
}

/* テーブルスタイル - デスクトップ */
.store-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
}

.store-table th {
    background: #f8f9fa;
    padding: 12px 8px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    color: #555;
}

.store-table td {
    padding: 12px 8px;
    border: 1px solid #ccc;
    vertical-align: middle;
    text-align: center;
}

.store-table tbody tr:hover {
    background: #f8f9fa;
}

.store-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.store-table tbody tr:nth-child(even):hover {
    background: #f0f0f0;
}

/* 各列の幅とスタイル - デスクトップ（調整済み） */
.store-table th:nth-child(1),
.store-table td:nth-child(1) {
    width: 28%;
    min-width: 200px;
    text-align: left;
}

.store-table th:nth-child(2),
.store-table td:nth-child(2) {
    width: 17%;
    min-width: 130px;
}

.store-table th:nth-child(3),
.store-table td:nth-child(3) {
    width: 20%;
    min-width: 120px;
}

.store-table th:nth-child(4),
.store-table td:nth-child(4) {
    width: 20%;
    min-width: 120px;
}

.store-table th:nth-child(5),
.store-table td:nth-child(5) {
    width: 15%;
    min-width: 100px;
}

.store-name {
    font-weight: bold;
    color: #333;
}

.store-phone {
    color: #666;
    font-family: monospace;
}

.store-category {
    color: #555;
}

.ticket-type {
    color: #2c5aa0;
    font-weight: bold;
}

/* フッター */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info {
        padding: 15px;
        margin: 15px auto;
    }
    
    .contact-info h3 {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    .search-section {
        padding: 18px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-input {
        min-width: auto;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .search-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-group label {
        font-size: 0.9rem;
    }
    
    .filter-select {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .list-header {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .area-header {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    /* タブレット用テーブル調整 */
    .store-table {
        font-size: 0.85rem;
    }
    
    .store-table th,
    .store-table td {
        padding: 10px 6px;
    }
    
    .store-table th {
        font-size: 0.85rem;
    }
    
    /* 各列の幅調整 - タブレット */
    .store-table th:nth-child(1),
    .store-table td:nth-child(1) {
        width: 28%;
        min-width: 120px;
    }
    
    .store-table th:nth-child(2),
    .store-table td:nth-child(2) {
        width: 18%;
        min-width: 80px;
    }
    
    .store-table th:nth-child(3),
    .store-table td:nth-child(3) {
        width: 18%;
        min-width: 80px;
    }
    
    .store-table th:nth-child(4),
    .store-table td:nth-child(4) {
        width: 20%;
        min-width: 80px;
    }
    
    .store-table th:nth-child(5),
    .store-table td:nth-child(5) {
        width: 16%;
        min-width: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .note {
        font-size: 0.85rem;
    }
    
    .contact-info {
        padding: 12px;
        margin: 12px auto;
    }
    
    .contact-info h3 {
        font-size: 0.95rem;
    }
    
    .contact-info p {
        font-size: 0.85rem;
    }
    
    .search-section {
        padding: 15px;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .filter-group label {
        font-size: 0.85rem;
    }
    
    .filter-select {
        font-size: 0.75rem;
        padding: 6px 10px;
        min-width: 100px;
    }
    
    .list-header {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .area-header {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* スマホ用テーブル - 文字サイズ大きめ */
    .store-table {
        font-size: 0.75rem;
        width: 100%;
        table-layout: fixed;
    }
    
    .store-table th,
    .store-table td {
        padding: 8px 3px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .store-table th {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* スマホ用列幅 - 調整済み */
    .store-table th:nth-child(1),
    .store-table td:nth-child(1) {
        width: 30%;
        text-align: left;
    }
    
    .store-table th:nth-child(2),
    .store-table td:nth-child(2) {
        width: 15%;
        font-size: 0.6rem;
    }
    
    .store-table th:nth-child(3),
    .store-table td:nth-child(3) {
        width: 20%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(4),
    .store-table td:nth-child(4) {
        width: 20%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(5),
    .store-table td:nth-child(5) {
        width: 15%;
        font-size: 0.5rem;
    }
    
    /* スマホ用個別要素調整 */
    .store-name {
        font-size: 0.75rem;
        line-height: 1.3;
        font-weight: bold;
    }
    
    .store-phone {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .store-category {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .ticket-type {
        font-size: 0.7rem;
        line-height: 1.3;
        font-weight: bold;
    }
}

@media (max-width: 360px) {
    /* 極小スマホ対応 */
    .container {
        padding: 0 5px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .store-table {
        font-size: 0.7rem;
    }
    
    .store-table th,
    .store-table td {
        padding: 6px 2px;
    }
    
    .store-table th {
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(1),
    .store-table td:nth-child(1) {
        width: 30%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(2),
    .store-table td:nth-child(2) {
        width: 15%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(3),
    .store-table td:nth-child(3) {
        width: 20%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(4),
    .store-table td:nth-child(4) {
        width: 20%;
        font-size: 0.7rem;
    }
    
    .store-table th:nth-child(5),
    .store-table td:nth-child(5) {
        width: 15%;
        font-size: 0.7rem;
    }
    
    .store-name {
        font-size: 0.7rem;
    }
    
    .store-phone {
        font-size: 0.7rem;
    }
    
    .store-category {
        font-size: 0.7rem;
    }
    
    .ticket-type {
        font-size: 0.7rem;
    }
}

/* 検索フィルター用の非表示クラス */
.hidden-by-filter {
    display: none !important;
}

.pc {
	display: block!important;
}
.sp {
	display: none!important;
}

@media (max-width: 768px) {
	.pc {
	display: none!important;
}
.sp {
	display: block!important;
}
}
.tel a {
    pointer-events: none;
    text-decoration: none;
    color: #FFFFFF;
 }
