/*
Theme Name: Cocoon Child - Nail Salon
Template: cocoon-master
Version: 2.0
*/

/* ============================================
   ホットペッパービューティー風 デザインシステム
   ============================================ */

:root {
    --hp-primary: #ff6b6b;
    --hp-primary-hover: #ff5252;
    --hp-secondary: #f8f8f8;
    --hp-border: #e0e0e0;
    --hp-text: #333;
    --hp-text-light: #666;
    --hp-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --hp-shadow-hover: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* ============================================
   共通コンテナ
   ============================================ */
.salon-detail-container,
.area-page-container,
.lp-gas-archive {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ============================================
   パンくずリスト
   ============================================ */
.salon-breadcrumb,
.breadcrumb-wrap {
    background: var(--hp-secondary);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.salon-breadcrumb a,
.breadcrumb-wrap a {
    color: var(--hp-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.salon-breadcrumb a:hover,
.breadcrumb-wrap a:hover {
    text-decoration: underline;
}

.salon-breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* ============================================
   トップページ（archive-company.php）
   ============================================ */
.lp-gas-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8a80 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.lp-gas-kicker {
    font-size: 16px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.lp-gas-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lp-gas-lead {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

.lp-gas-section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--hp-text);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid var(--hp-primary);
    padding-bottom: 10px;
}

.lp-gas-area-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
}

.lp-gas-area-link {
    display: block;
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--hp-text);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--hp-shadow);
}

.lp-gas-area-link:hover {
    border-color: var(--hp-primary);
    box-shadow: var(--hp-shadow-hover);
    transform: translateY(-2px);
    color: var(--hp-primary);
}

/* ============================================
   店舗一覧（archive & taxonomy）
   ============================================ */
.lp-gas-company-list {
    display: grid;
    gap: 20px;
}

.lp-gas-company-card {
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    box-shadow: var(--hp-shadow);
}

.lp-gas-company-card:hover {
    border-color: var(--hp-primary);
    box-shadow: var(--hp-shadow-hover);
    transform: translateY(-2px);
}

.lp-gas-company-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.lp-gas-company-title a {
    color: var(--hp-primary);
    text-decoration: none;
}

.lp-gas-company-title a:hover {
    text-decoration: underline;
}

.lp-gas-company-row {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
}

.lp-gas-company-label {
    background: var(--hp-secondary);
    color: var(--hp-text-light);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.lp-gas-company-value {
    flex: 1;
    color: var(--hp-text);
}

.lp-gas-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
}

.lp-gas-btn.-outline {
    background: white;
    color: var(--hp-primary);
    border: 2px solid var(--hp-primary);
}

.lp-gas-btn.-outline:hover {
    background: var(--hp-primary);
    color: white;
}

/* ============================================
   店舗詳細ページ
   ============================================ */
.salon-header {
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--hp-shadow);
    border-top: 5px solid var(--hp-primary);
}

.salon-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--hp-text);
    margin-bottom: 20px;
    line-height: 1.4;
}

.salon-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.salon-info-table th,
.salon-info-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    vertical-align: top;
}

.salon-info-table th {
    background: var(--hp-secondary);
    font-weight: bold;
    width: 150px;
    color: var(--hp-text-light);
}

.salon-info-table td {
    color: var(--hp-text);
}

/* 電話番号ボタン */
.phone-link {
    display: inline-block;
    background: var(--hp-primary);
    color: white !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.phone-link:hover {
    background: var(--hp-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.phone-link::before {
    content: "📞 ";
    margin-right: 8px;
}

/* 地図セクション */
.salon-map-section {
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--hp-shadow);
}

.salon-map-section h2 {
    font-size: 22px;
    font-weight: bold;
    color: var(--hp-text);
    margin-bottom: 20px;
    border-left: 5px solid var(--hp-primary);
    padding-left: 15px;
}

.salon-map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.salon-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   エリア一覧ページ（taxonomy）
   ============================================ */
.area-page-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--hp-text);
    margin-bottom: 30px;
    text-align: center;
}

.area-page-subtitle {
    text-align: center;
    color: var(--hp-text-light);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.area-card {
    background: white;
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--hp-text);
    box-shadow: var(--hp-shadow);
}

.area-card:hover {
    border-color: var(--hp-primary);
    box-shadow: var(--hp-shadow-hover);
    transform: translateY(-2px);
}

.area-card-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--hp-text);
    margin-bottom: 10px;
}

.area-card-count {
    font-size: 24px;
    font-weight: bold;
    color: var(--hp-primary);
}

.area-card-count::after {
    content: " 件";
    font-size: 14px;
    color: #999;
}

/* ============================================
   ページネーション
   ============================================ */
.lp-gas-pagination,
.pagination {
    text-align: center;
    margin-top: 40px;
}

.lp-gas-pagination a,
.pagination a,
.lp-gas-pagination span,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--hp-border);
    border-radius: 5px;
    color: var(--hp-text);
    text-decoration: none;
    transition: all 0.2s;
}

.lp-gas-pagination a:hover,
.pagination a:hover {
    background: var(--hp-primary);
    color: white;
    border-color: var(--hp-primary);
}

.lp-gas-pagination .current,
.pagination .current {
    background: var(--hp-primary);
    color: white;
    border-color: var(--hp-primary);
}

/* ============================================
   レスポンシブ対応
   ============================================ */
@media (max-width: 768px) {
    .salon-detail-container,
    .area-page-container,
    .lp-gas-archive {
        padding: 0 15px;
    }
    
    .lp-gas-title {
        font-size: 28px;
    }
    
    .salon-title,
    .area-page-title {
        font-size: 22px;
    }
    
    .salon-info-table th {
        width: 100px;
        font-size: 13px;
        padding: 10px;
    }
    
    .salon-info-table td {
        font-size: 14px;
        padding: 10px;
    }
    
    .phone-link {
        display: block;
        text-align: center;
        font-size: 16px;
        margin: 20px 0;
    }
    
    .salon-map-wrapper {
        height: 300px;
    }
    
    .lp-gas-area-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .area-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .area-card {
        padding: 15px;
    }
    
    .area-card-name {
        font-size: 16px;
    }
}