/* ==============================
   カラー変数定義
   ============================== */
:root {
    --primary-color: #d4a373;
    --secondary-color: #8b6f47;
    --accent-color: #f5e6d3;
    --dark-color: #333;
    --light-bg: #fafafa;
    --white: #ffffff;
    --text-muted: #666;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ==============================
   基本スタイル
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 
                 'Meiryo', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==============================
   ナビゲーションバー
   ============================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

/* ==============================
   ヒーローセクション
   ============================== */
.hero-section {
    background: linear-gradient(135deg, var(--accent-color), var(--white));
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 111, 71, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1.2s ease;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* ==============================
   セクション共通スタイル
   ============================== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ==============================
   スタッフカード
   ============================== */
.staff-card {
    background: var(--white);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.staff-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.staff-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.staff-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.staff-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.staff-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.staff-name-row .staff-name {
    margin-bottom: 0;
}

.staff-photo-thumb {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(139, 111, 71, 0.28);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    background-color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.staff-photo-thumb:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.staff-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-photo-modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
}

.staff-photo-preview-image {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
}

.staff-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1rem;
}

.rating i {
    margin-right: 2px;
}

.rating-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 8px;
}

.staff-specialty {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.specialty-badge {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.specialty-badge:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.staff-experience {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.staff-experience i {
    color: var(--primary-color);
    margin-right: 5px;
}

.staff-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-book {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

.btn-book:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
    color: var(--white);
}

.btn-book i {
    margin-right: 8px;
}

/* ==============================
   メニューセクション
   ============================== */
.menu-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.menu-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.menu-category {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.menu-category i {
    color: var(--primary-color);
    margin-right: 10px;
}

.menu-item {
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    transition: var(--transition);
}

.menu-item:hover {
    background-color: var(--accent-color);
    transform: translateX(5px);
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.menu-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.menu-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==============================
   お問い合わせセクション
   ============================== */
.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-card h5 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-card p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-card i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 20px;
}

.contact-card ul {
    padding-left: 20px;
}

.contact-card ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* ==============================
   モーダル
   ============================== */
.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-bottom: none;
    padding: 20px 30px;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px;
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-label i {
    color: var(--primary-color);
    margin-right: 5px;
}

.form-label .text-danger {
    font-size: 0.9rem;
    margin-left: 3px;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 163, 115, 0.25);
    outline: none;
}

.alert-info {
    background-color: rgba(212, 163, 115, 0.1);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 10px;
}

.alert-info i {
    margin-right: 8px;
}

/* ==============================
   フッター
   ============================== */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer h5,
.footer h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer h5 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer p,
.footer .small {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==============================
   アニメーション
   ============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==============================
   レスポンシブデザイン
   ============================== */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 15px;
    }
    
    .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .staff-image {
        height: 220px;
        font-size: 70px;
    }
    
    .menu-section,
    .contact-card {
        margin-bottom: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .staff-name {
        font-size: 1.3rem;
    }
    
    .menu-name {
        font-size: 1rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
}

/* ==============================
   ユーティリティクラス
   ============================== */
.bg-light {
    background-color: var(--light-bg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* ==============================
   スクロールバーカスタマイズ
   ============================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}