/**
 * SAITO BARBER Landing Page Styles for Cocoon
 * Cocoonテーマ専用カスタムCSS（モノトーン×高級感デザイン）
 */

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

/* =====================================================
   LP専用のベーススタイル
===================================================== */
#saito-lp-wrap {
    font-family: 'Noto Sans JP', sans-serif;
    color: #1A1A1A;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#saito-lp-wrap * {
    box-sizing: border-box;
}

#saito-lp-wrap img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Cocoonのデフォルトスタイルをリセット */
#saito-lp-wrap h1,
#saito-lp-wrap h2,
#saito-lp-wrap h3,
#saito-lp-wrap h4 {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

#saito-lp-wrap p {
    margin: 0;
}

#saito-lp-wrap a {
    text-decoration: none;
}

/* =====================================================
   Utility Classes
===================================================== */
.saito-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.saito-section {
    padding: 120px 0;
}

.saito-section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 16px;
    text-align: center;
}

.saito-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
    color: #1A1A1A;
}

/* Grid System */
.saito-grid {
    display: grid;
    gap: 40px;
}

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

.saito-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.saito-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Buttons */
.saito-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 48px;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
}

.saito-btn-dark {
    background: #1A1A1A;
    color: #FFFFFF;
}

.saito-btn-dark:hover {
    background: #333333;
    transform: translateY(-2px);
    color: #FFFFFF;
}

.saito-btn-light {
    background: #FFFFFF;
    color: #1A1A1A;
}

.saito-btn-light:hover {
    background: #F5F5F5;
    color: #1A1A1A;
}

.saito-btn-outline {
    background: transparent;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
}

.saito-btn-outline:hover {
    background: #1A1A1A;
    color: #FFFFFF;
}

/* Fade-in Animation */
.saito-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.saito-fade-in.saito-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Hero Section
===================================================== */
.saito-hero {
    min-height: 100vh;
    background: #0A0A0A;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: -80px; /* Cocoonヘッダー分を相殺 */
    padding: 120px 40px 80px;
}

.saito-hero-content {
    max-width: 900px;
    z-index: 1;
}

.saito-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.saito-hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

.saito-hero-scroll {
    position: absolute;
    bottom: 40px;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    opacity: 0.6;
    animation: saito-float 2s ease-in-out infinite;
}

@keyframes saito-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* =====================================================
   About Section
===================================================== */
.saito-about {
    background: #FFFFFF;
}

.saito-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.saito-about-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.saito-about-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.saito-about-meta {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.8;
}

.saito-about-description {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

/* =====================================================
   Philosophy Section
===================================================== */
.saito-philosophy {
    background: #F5F5F5;
}

.saito-card {
    background: #FFFFFF;
    padding: 48px 32px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.saito-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.saito-card-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #1A1A1A;
}

.saito-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.saito-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* =====================================================
   Works Section
===================================================== */
.saito-works {
    background: #FFFFFF;
}

.saito-work-card {
    text-align: left;
    transition: transform 0.3s ease;
}

.saito-work-card:hover {
    transform: translateY(-5px);
}

.saito-work-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 24px;
}

.saito-work-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.saito-work-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* =====================================================
   Menu Section
===================================================== */
.saito-menu {
    background: #F5F5F5;
}

.saito-menu-list {
    max-width: 700px;
    margin: 0 auto;
}

.saito-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #DEDEDE;
    font-size: 1.05rem;
}

.saito-menu-item:first-child {
    border-top: 1px solid #DEDEDE;
}

.saito-menu-name {
    font-weight: 500;
}

.saito-menu-price {
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
}

.saito-menu-note {
    margin-top: 32px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* =====================================================
   Feature Section
===================================================== */
.saito-feature {
    background: #FFFFFF;
}

.saito-feature-card {
    padding: 40px 32px;
    text-align: center;
}

.saito-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.saito-feature-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

/* =====================================================
   Instagram Section
===================================================== */
.saito-instagram {
    background: #F5F5F5;
    text-align: center;
}

.saito-instagram-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.saito-instagram-placeholder {
    max-width: 900px;
    margin: 0 auto 40px;
    background: #E8E8E8;
    padding: 80px 40px;
    border-radius: 8px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

.saito-icon-instagram {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* =====================================================
   Flow Section
===================================================== */
.saito-flow {
    background: #FFFFFF;
}

.saito-flow-step {
    text-align: center;
}

.saito-flow-number {
    width: 60px;
    height: 60px;
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 24px;
}

.saito-flow-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.saito-flow-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
}

/* =====================================================
   Blog Section
===================================================== */
.saito-blog {
    background: #F5F5F5;
    text-align: center;
}

.saito-blog-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   CTA Section
===================================================== */
.saito-cta {
    background: #0A0A0A;
    color: #FFFFFF;
    text-align: center;
}

.saito-cta-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
    color: #FFFFFF;
}

.saito-cta-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 48px;
}

/* =====================================================
   Cocoon Compatibility
===================================================== */
/* Cocoonのコンテンツエリア幅制限を解除 */
.saito-lp-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Cocoonのサイドバーを非表示 */
body.page-template-page-lp-saito #sidebar {
    display: none;
}

body.page-template-page-lp-saito #content {
    width: 100%;
}

body.page-template-page-lp-saito .content {
    padding: 0;
}

body.page-template-page-lp-saito .entry-content {
    padding: 0;
}

/* =====================================================
   Responsive Design
===================================================== */
@media (max-width: 768px) {
    /* Inner Container */
    .saito-inner {
        padding: 0 16px;
    }
    
    /* Sections */
    .saito-section {
        padding: 60px 0;
    }
    
    .saito-section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 40px;
    }
    
    /* Hero */
    .saito-hero {
        min-height: 600px;
        margin-top: -60px;
        padding: 100px 16px 60px;
    }
    
    .saito-hero-title {
        font-size: clamp(2.2rem, 9vw, 4rem);
    }
    
    .saito-hero-subtitle {
        font-size: 0.95rem;
    }
    
    /* Grid System */
    .saito-grid-2,
    .saito-grid-3,
    .saito-grid-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* About */
    .saito-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .saito-about-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Flow */
    .saito-flow-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    /* Buttons */
    .saito-btn {
        padding: 16px 32px;
        font-size: 14px;
        width: 100%;
        max-width: 320px;
    }
    
    /* Instagram */
    .saito-instagram-placeholder {
        padding: 60px 24px;
        font-size: 0.9rem;
    }
}