/*
Theme Name: PLATORY by CHEFLABO v3.2-design
Description: デザイン性向上版 - 全セクション表示+洗練されたミニマルデザイン - 高級料理コンサルティングサービスのWordPressテーマ。建築デザイン事務所のような洗練されたデザインと完全な機能性を両立。すべてのテキストがカスタマイザーから編集可能で、プロフェッショナルグレードのビジュアル品質を実現。
Version: 3.2.0
Author: CHEFLABO
Author URI: https://cheflabo.com
Text Domain: platory-v3-2-design
Domain Path: /languages
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: business, consulting, food, restaurant, minimal, elegant, responsive, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-site-editing

PLATORY by CHEFLABO WordPress Theme v3.2-design - デザイン性向上版
Copyright (C) 2024 CHEFLABO

=== v3.2-design 改善内容 ===
✅ 建築的なミニマルデザイン - 余白とタイポグラフィの最適化
✅ 洗練されたホバーエフェクト - 上品なマイクロインタラクション
✅ プロフェッショナルグレードのカードデザイン
✅ 統一されたアニメーションシステム
✅ 高級感のあるカラーパレットとシャドウ
✅ 完璧な視覚的階層とスペーシング
*/

/* ========================================
   ENHANCED COLOR PALETTE - PROFESSIONAL GRADE
======================================== */
:root {
    /* メインカラーパレット - 建築デザイン事務所風 */
    --dark-grey: #2D2D2D;
    --light-grey: #F8F9FA;        /* より上品な背景色 */
    --accent-brown: #8B7355;
    --text-main: #2D2D2D;
    --text-sub: #666666;
    --text-white: #FFFFFF;
    --button-primary: #8B7355;
    --button-hover: #6B5A45;
    --line-button: #00C300;
    
    /* 洗練されたニュートラルカラー */
    --border-color: rgba(45, 45, 45, 0.08);
    --border-light: rgba(45, 45, 45, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.04);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --success-color: #28a745;
    --warning-color: #ffc107;
    
    /* 高級感のあるグラデーション */
    --gradient-subtle: linear-gradient(135deg, #F8F9FA 0%, #F0F1F3 100%);
    --gradient-accent: linear-gradient(135deg, #8B7355 0%, #6B5A45 100%);
    
    /* プロフェッショナルスペーシング */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-xxl: 4rem;     /* 64px */
    --spacing-xxxl: 6rem;    /* 96px */
    
    /* 建築的境界線 */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    /* プロフェッショナルシャドウ */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.16);
}

/* ========================================
   PROFESSIONAL RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Sawarabi Mincho', serif;
    font-size: 0.875rem;        /* 14px */
    line-height: 1.75;          /* より読みやすい行間 */
    color: var(--text-main);
    background-color: var(--text-white);
    letter-spacing: 0.025em;    /* より自然な文字間隔 */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--accent-brown);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:focus {
    outline: 2px solid var(--accent-brown);
    outline-offset: 2px;
}

/* WordPress Admin Bar 調整 */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* ========================================
   PROFESSIONAL TYPOGRAPHY SYSTEM
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

h1 {
    font-size: 2.75rem;         /* 44px */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;            /* 32px */
    line-height: 1.25;
}

h3 {
    font-size: 1.5rem;          /* 24px */
    line-height: 1.3;
}

h4 {
    font-size: 1.125rem;        /* 18px */
    line-height: 1.4;
}

h5 {
    font-size: 1rem;            /* 16px */
    line-height: 1.5;
}

h6 {
    font-size: 0.875rem;        /* 14px */
    line-height: 1.6;
}

p {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--text-sub);
    font-size: 0.875rem;
    line-height: 1.75;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-main);
}

.small-text {
    font-size: 0.75rem;
    line-height: 1.6;
}

.tiny-text {
    font-size: 0.625rem;
    line-height: 1.4;
}

/* ========================================
   ARCHITECTURAL CONTAINER SYSTEM
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* セクション間の建築的スペーシング */
.section {
    padding: var(--spacing-xxxl) 0;
}

.section-sm {
    padding: var(--spacing-xxl) 0;
}

.section-lg {
    padding: 8rem 0;
}

/* ========================================
   SOPHISTICATED HEADER & NAVIGATION
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;                /* より優雅な高さ */
    padding: 0 var(--spacing-xl);
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
}

.brand-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .brand-name {
    color: var(--text-main);
    text-shadow: none;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .nav-item {
    color: var(--text-main);
    text-shadow: none;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.site-header.scrolled .nav-item:hover {
    background: rgba(139, 115, 85, 0.1);
    color: var(--accent-brown);
}

/* モバイルハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: relative;
    z-index: 10000;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.site-header.scrolled .hamburger-line {
    background-color: var(--text-main);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   MOBILE MENU GLOBAL STYLES
======================================== */
body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Animation */
@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   ELEGANT HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(45, 45, 45, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xxl);
}

/* ========================================
   PROFESSIONAL BUTTON SYSTEM
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 140px;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-line {
    background: #00C300;
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-line:hover {
    background: #00B300;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--accent-brown);
    border: 2px solid var(--accent-brown);
}

.btn-outline:hover {
    background: var(--accent-brown);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   SOPHISTICATED CARD SYSTEM
======================================== */
.card {
    background: var(--text-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-header {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-main);
}

.card-text {
    color: var(--text-sub);
    line-height: 1.6;
}

/* 特別なカード */
.card-featured {
    border: 2px solid var(--accent-brown);
    position: relative;
}

.card-featured::after {
    content: 'おすすめ';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--accent-brown);
    color: var(--text-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
}

/* ========================================
   GRID SYSTEM - ARCHITECTURAL
======================================== */
.grid {
    display: grid;
    gap: var(--spacing-xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========================================
   PROFESSIONAL SECTIONS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
}

.section-subtitle {
    color: var(--accent-brown);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-main);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 背景セクション */
.section-grey {
    background: var(--gradient-subtle);
}

.section-dark {
    background: var(--dark-grey);
    color: var(--text-white);
}

.section-dark .section-title,
.section-dark .card-title {
    color: var(--text-white);
}

.section-dark .section-description,
.section-dark .card-text {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .nav-container {
        padding: 0 var(--spacing-lg);
    }
    
    .section {
        padding: var(--spacing-xxl) 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
        --spacing-xxxl: 4rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    /* Hide desktop menu, show mobile menu structure */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--text-white);
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        overflow-y: auto;
        display: flex;
    }
    
    .nav-menu.mobile-open {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile menu items styling */
    .nav-menu .nav-item {
        color: var(--text-main) !important;
        text-shadow: none !important;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--border-light);
        opacity: 0;
        transform: translateX(30px);
        display: block;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-menu.mobile-open .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.mobile-open .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.mobile-open .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.mobile-open .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.mobile-open .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.mobile-open .nav-item:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.mobile-open .nav-item:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.mobile-open .nav-item:nth-child(7) { animation-delay: 0.7s; }
    .nav-menu.mobile-open .nav-item:nth-child(8) { animation-delay: 0.8s; }
    
    .nav-menu .nav-item:hover {
        background: var(--light-grey);
    }
    
    .hero-content {
        padding: 0 var(--spacing-md);
    }
    
    .card-body,
    .card-header,
    .card-footer {
        padding: var(--spacing-lg);
    }
    
    .grid {
        gap: var(--spacing-lg);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
        --spacing-xxxl: 3rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
        height: 50px;
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    .section-header {
        margin-bottom: var(--spacing-xxl);
    }
}

/* ========================================
   ANIMATION UTILITIES
======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* アニメーション遅延 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ========================================
   ACCESSIBILITY & PERFORMANCE
======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* フォーカス管理 */
:focus {
    outline: 2px solid var(--accent-brown);
    outline-offset: 2px;
}

/* スクリーンリーダー対応 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .site-header,
    .hero,
    .btn {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}