/*
Theme Name: SOUTHBeauty
Theme URI: https://south-b.com
Description: 南大阪の美容室ポータルサイト専用テーマ（ACF Pro対応）
Version: 2.12
Author: SOUTHBeauty
Author URI: https://south-b.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: southbeauty
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;600&display=swap');

:root {
    --rose-gold: #c9a38a;
    --rose-gold-light: #daa58c;
    --beige-light: #f5f1ed;
    --beige: #e8e0d5;
    --beige-dark: #d4c4b0;
    --text-primary: #4a3933;
    --text-secondary: #8b7355;
    --white: #ffffff;
    --shadow: rgba(201, 163, 138, 0.2);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--white) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 163, 138, 0.1);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-gold), var(--rose-gold-light));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 85px;
    padding-top: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--beige-light) 0%, rgba(255, 255, 255, 0.9) 50%, var(--beige) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 163, 138, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(218, 165, 140, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--rose-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-photos {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    animation: fadeInUp 1s ease-out 0.5s both;
    background: transparent;
}

.hero-photos-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(74, 57, 51, 0.15);
}

.search-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.search-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--rose-gold);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sub-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.3s ease-out;
}

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

.search-item {
    padding: 1rem;
    background: var(--beige-light);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-item:hover {
    background: var(--beige);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 163, 138, 0.2);
}

.search-item.active {
    background: var(--rose-gold);
    color: white;
    border-color: var(--rose-gold-light);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.service-tag {
    padding: 0.6rem 1.2rem;
    background: var(--beige-light);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-tag:hover {
    background: var(--beige);
}

.service-tag.active {
    background: var(--rose-gold);
    color: white;
    border-color: var(--rose-gold-light);
}

.search-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 163, 138, 0.4);
}

/* Areas Section */
.areas-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--rose-gold);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.area-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 163, 138, 0.3);
}

.area-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.area-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Featured Section */
.featured-section {
    background: var(--beige-light);
    padding: 5rem 2rem;
}

.featured-container {
    max-width: 1400px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.salon-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.salon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 163, 138, 0.3);
}

.salon-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.salon-content {
    padding: 1.5rem;
}

.salon-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.salon-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.salon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    background: var(--beige-light);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.salon-price {
    font-size: 1.1rem;
    color: var(--rose-gold);
    font-weight: 600;
}

/* List Page */
.page-content {
    margin-top: 90px;
    padding: 3rem 2rem;
    min-height: 100vh;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--rose-gold);
    text-align: center;
}

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

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.stars {
    color: #FFB800;
    font-size: 1rem;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 1rem 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.75rem;
    }
    
    .hero-logo {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-photos {
        margin-bottom: 2rem;
    }

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

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

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

/* ============================================
   店舗詳細ページ
   ============================================ */

.salon-detail {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

/* ギャラリー */
.salon-gallery {
    margin-bottom: 3rem;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.gallery-main-image {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main-image.active {
    display: block;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
}

.thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--rose-gold);
}

.thumbnail.active {
    border-color: var(--rose-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* サロンヘッダー */
.salon-header {
    margin-bottom: 2rem;
}

.salon-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.salon-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.salon-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-badge {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.salon-area {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.salon-conditions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.condition-tag {
    color: var(--rose-gold);
    font-size: 0.9rem;
}

/* 予約ボタン */
.reservation-section {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-reservation {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-line {
    background: #06C755;
    color: white;
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    background: #05b04a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.4);
}

.btn-line:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(6, 199, 85, 0.3);
}

.line-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-web {
    background: var(--rose-gold);
    color: white;
}

.btn-web:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

.btn-phone {
    background: var(--text-primary);
    color: white;
}

.btn-phone:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

/* セクション */
.salon-description,
.salon-menu,
.salon-info,
.salon-blog-section,
.salon-reviews {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--rose-gold);
    padding-bottom: 0.5rem;
}

.description-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

/* メニューリスト */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--beige-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: var(--beige);
    transform: translateX(5px);
}

.menu-info h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.menu-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rose-gold);
}

/* 店舗情報テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid var(--beige);
}

.info-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    width: 150px;
    vertical-align: top;
}

.info-table td {
    padding: 1rem;
    color: var(--text-secondary);
}

/* ブロググリッド */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.blog-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-type-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blog-type-campaign {
    background: #ff6b6b;
    color: white;
}

.blog-type-new_service {
    background: #4ecdc4;
    color: white;
}

.blog-type-event {
    background: #ffd93d;
    color: var(--text-primary);
}

.blog-type-before_after {
    background: var(--rose-gold);
    color: white;
}

.blog-type-hairstyle {
    background: var(--rose-gold);
    color: white;
}

.blog-type-other {
    background: var(--beige-dark);
    color: white;
}

.blog-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.blog-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hair-length-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hair-length-tag {
    background: var(--beige);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text-primary);
}

/* ============================================
   一覧・検索ページ
   ============================================ */

.archive-salon {
    margin-top: 100px;
}

.search-filter {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 5px 20px var(--shadow);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.filter-form {
    background: var(--beige-light);
    padding: 2rem;
    border-radius: 20px;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-filter-submit,
.btn-filter-reset {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
}

.btn-filter-submit {
    background: var(--rose-gold);
    color: white;
}

.btn-filter-submit:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

.btn-filter-reset {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--beige-dark);
}

.btn-filter-reset:hover {
    background: var(--beige-light);
}

/* サロン一覧 */
.salon-list {
    padding: 3rem 0;
}

.result-count {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.count-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rose-gold);
}

.salon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.salon-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.salon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.salon-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.salon-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.salon-card:hover .salon-card-image img {
    transform: scale(1.1);
}

.no-image {
    width: 100%;
    height: 100%;
    background: var(--beige-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--beige-dark);
}

.badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.salon-card-content {
    padding: 1.5rem;
}

.salon-card-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.salon-card-area {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.salon-card-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--beige);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.salon-card-conditions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.salon-card-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--rose-gold);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-results p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 0.8rem 1.2rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--rose-gold);
    color: white;
}

.pagination .current {
    background: var(--rose-gold);
    color: white;
}

/* ============================================
   フロントエンド編集フォーム
   ============================================ */

.salon-edit-page,
.salon-blog-page {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.edit-actions {
    margin-bottom: 2rem;
}

.btn-preview {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--rose-gold);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

.salon-edit-form,
.blog-post-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.form-section {
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.required {
    color: #ff6b6b;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--beige);
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose-gold);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.btn-submit {
    padding: 1rem 3rem;
    background: var(--rose-gold);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

.help-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--beige-light);
    border-radius: 15px;
}

.help-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.help-section ul {
    list-style-position: inside;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ビフォーアフターギャラリー */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.before-after-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.before-after-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.before-image,
.after-image {
    position: relative;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.before-image .label,
.after-image .label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.hair-length-badge {
    padding: 0.5rem 1rem;
    text-align: center;
    background: var(--beige);
    color: var(--text-primary);
    font-weight: 600;
}

.salon-name-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ブログ投稿リスト */
.my-blogs-section {
    margin-top: 3rem;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-list-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 10px var(--shadow);
}

.blog-list-item .blog-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-list-item .blog-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* ============================================
   ヘアギャラリー（トップページ）
   ============================================ */

.hair-length-filter {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: white;
    border: 2px solid var(--beige-dark);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: var(--beige-light);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--rose-gold);
    border-color: var(--rose-gold);
    color: white;
}

.hair-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hair-gallery-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.hair-gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow);
}

.hair-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

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

.hair-gallery-card:hover .hair-image img {
    transform: scale(1.1);
}

.hair-length-badge-small {
    padding: 0.5rem 1rem;
    text-align: center;
    background: var(--beige);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   ブログ投稿ページ（管理画面誘導版）
   ============================================ */

.blog-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 3rem;
}

.blog-info-box h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-info-box > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-new-post {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.btn-new-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow);
}

.blog-guide,
.blog-tips {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--beige-light);
    border-radius: 15px;
}

.blog-guide h3,
.blog-tips h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-guide ol {
    padding-left: 1.5rem;
    line-height: 2;
    color: var(--text-secondary);
}

.blog-guide ol li ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.blog-tips ul {
    list-style-position: inside;
    line-height: 2;
    color: var(--text-secondary);
}

.blog-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.btn-edit-small {
    padding: 0.4rem 1rem;
    background: var(--rose-gold);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-edit-small:hover {
    background: var(--rose-gold-light);
    transform: translateY(-2px);
}

.gallery-info {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: var(--beige-light);
    border-radius: 15px;
}

.no-posts p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    line-height: 1.8;
}


