
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600&family=Zen+Kurenaido&display=swap');

:root {
    --color-bg: #f8f6f0;
    --color-surface: #f0ebe1;
    --color-text-main: #3a3836;
    --color-text-muted: #6b665f;
    --color-accent: #8c7a6b;
    --color-dark: #2c2a29;
    --color-border: #e3ddd3;
    
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Zen Kurenaido', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 2;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-xs { font-size: 0.875rem; }
.text-sm { font-size: 1rem; }
.text-md { font-size: 1.125rem; }
.text-lg { font-size: 1.5rem; }
.text-xl { font-size: 2.5rem; }
.text-xxl { font-size: clamp(3rem, 5vw, 5rem); }

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }
.section-lg { padding: var(--space-xxl) 0; }

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md) 0;
    z-index: 100;
    transition: all 0.4s ease;
}
.header.scrolled {
    background-color: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.logo svg { width: 32px; height: 32px; stroke: var(--color-dark); }
.logo-text { font-family: var(--font-heading); font-size: 1.25rem; letter-spacing: 0.1em; }

.nav-links { display: flex; gap: var(--space-lg); }
.nav-links a {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-dark);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--color-accent); }
.nav-links a.active::after { width: 100%; background-color: var(--color-accent); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--color-dark); margin-bottom: 6px; transition: all 0.3s; }
.menu-toggle span:last-child { margin-bottom: 0; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--space-xl);
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(248, 246, 240, 0.9) 0%, rgba(248, 246, 240, 0.4) 100%);
    z-index: -1;
}
.hero-content {
    max-width: 600px;
}
.hero-title {
    font-size: var(--text-xxl);
    margin-bottom: var(--space-md);
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}
.hero-text {
    font-size: var(--text-md);
    margin-bottom: var(--space-lg);
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
    color: var(--color-text-muted);
}
.hero-btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-dark);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    animation: fadeUp 1s ease 0.6s forwards;
    opacity: 0;
}
.hero-btn:hover {
    background: var(--color-dark);
    color: var(--color-bg);
}

.page-header {
    padding: var(--space-xxl) 0 var(--space-lg);
    text-align: center;
    background: var(--color-surface);
}
.page-header h1 {
    font-size: var(--text-xxl);
    margin-bottom: var(--space-md);
}
.page-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--text-md);
    color: var(--color-text-muted);
}

.split-block {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}
.split-block.reverse { flex-direction: row-reverse; }
.split-content { flex: 1; padding: var(--space-lg); }
.split-image { flex: 1; position: relative; }
.split-image img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    border-radius: 2px;
}
.split-content h2 { font-size: var(--text-xl); margin-bottom: var(--space-md); }
.split-content p { margin-bottom: var(--space-md); }

.ws-card {
    background: var(--color-surface);
    padding: var(--space-lg);
    border-radius: 2px;
    transition: transform 0.4s ease;
    display: block;
    color: inherit;
}
.ws-card:hover {
    transform: translateY(-5px);
}
.ws-card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: var(--space-md);
}
.ws-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-sm); border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-xs); }

.value-list { display: flex; flex-direction: column; gap: var(--space-lg); }
.value-item { border-left: 1px solid var(--color-accent); padding-left: var(--space-md); }
.value-item h3 { font-size: var(--text-lg); color: var(--color-accent); margin-bottom: var(--space-sm); }

.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
}
.gallery-item { position: relative; overflow: hidden; }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 8; height: 60vh; }
.g-tall { grid-column: span 4; grid-row: span 2; height: 120vh; }
.g-box { grid-column: span 4; height: 60vh; }
.g-full { grid-column: span 12; height: 80vh; }

.faq-wrap { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); padding: var(--space-md) 0; }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--color-text-muted);
}
.faq-item.active .faq-a { max-height: 300px; padding-top: var(--space-sm); }
.faq-icon { transition: transform 0.4s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.footer {
    background: var(--color-dark);
    color: var(--color-surface);
    padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: var(--space-sm); color: var(--color-bg); }
.footer-desc { color: #a09d98; max-width: 400px; }
.footer h4 { color: var(--color-bg); margin-bottom: var(--space-md); font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: var(--space-sm); }
.footer ul a { color: #a09d98; }
.footer ul a:hover { color: var(--color-bg); }
.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a09d98;
    font-size: 0.9rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-section {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1; transform: translateY(0);
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery { display: flex; flex-direction: column; }
    .gallery-item { height: 50vh !important; }
}
@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-xxl: 6rem;
        --text-xxl: 2.5rem;
        --text-xl: 1.8rem;
    }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: block; position: relative; z-index: 101; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .hero-overlay { background: rgba(248, 246, 240, 0.7); }
    .split-block, .split-block.reverse { flex-direction: column; gap: var(--space-md); }
    .split-image img { height: 50vh; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
    .footer-desc { margin: 0 auto; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .page-header { padding: 6rem 0 3rem; }
}
