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

:root {
    --bg: #faf9f6;
    --surface: #ffffff;
    --dark: #2a2a2a;
    --dark-brown: #3e3328;
    --gold: #d4af37;
    --gold-light: #f3e6b8;
    --gray: #8c8c8c;
    --border: #e6dfd1;
    
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
    --font-eng: 'Cormorant Garamond', serif;
    
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.8;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s var(--ease); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; color: var(--dark-brown); }

/* --- LAYOUT PIPELINE --- */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* --- VERTICAL NAV RAIL --- */
.nav-rail {
    flex: 0 0 280px;
    height: 100vh;
    position: sticky;
    top: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
    z-index: 100;
}

.brand-logo {
    text-align: center;
    margin-bottom: 80px;
}
.brand-logo h1 {
    font-size: 32px;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}
.brand-logo span {
    font-family: var(--font-eng);
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--gold);
    display: block;
}

.rail-menu {
    list-style: none;
    flex: 1;
}
.rail-menu li {
    margin-bottom: 25px;
}
.rail-menu a {
    font-size: 15px;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 20px;
}
.rail-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    transition: 0.3s;
}
.rail-menu a:hover,
.rail-menu a.active {
    color: var(--gold);
}
.rail-menu a:hover::before,
.rail-menu a.active::before {
    opacity: 1;
}

.rail-footer {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 0.05em;
}

/* --- MAIN CONTENT AREA --- */
.main-content {
    flex: 1;
    position: relative;
}

/* --- SHARED SECTIONS --- */
.section {
    padding: 120px 80px;
    border-bottom: 1px solid var(--border);
}
.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-eng {
    font-family: var(--font-eng);
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}
.section-title {
    font-size: 2.2rem;
    letter-spacing: 0.05em;
}

/* --- HERO --- */
.hero-sec {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    position: relative;
    border-bottom: none;
}
.hero-img {
    position: absolute;
    top: 40px; right: 40px; bottom: 40px;
    width: 55%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1;
}
.hero-img img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.9);
}
.hero-text {
    position: relative;
    z-index: 2;
    background: rgba(250,249,246,0.9);
    padding: 60px;
    max-width: 600px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
}
.hero-text p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 40px;
}

/* --- BUTTONS --- */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 18px 40px;
    font-family: var(--font-serif);
    font-size: 16px;
    letter-spacing: 0.1em;
    border: 1px solid var(--gold);
    transition: 0.4s var(--ease);
}
.btn-gold:hover {
    background: var(--dark-brown);
    border-color: var(--dark-brown);
}
.btn-line {
    display: inline-block;
    padding: 16px 40px;
    font-family: var(--font-serif);
    font-size: 16px;
    border: 1px solid var(--dark-brown);
    background: transparent;
    transition: 0.4s;
    cursor: pointer;
}
.btn-line:hover {
    background: var(--dark-brown);
    color: #fff;
}

/* --- SERVICES LIST --- */
.svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.svc-item {
    border: 1px solid var(--border);
    background: var(--surface);
    padding: 40px;
    transition: 0.4s;
}
.svc-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}
.svc-img {
    height: 240px;
    margin-bottom: 30px;
    overflow: hidden;
}
.svc-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.6s transform;
}
.svc-item:hover .svc-img img { transform: scale(1.05); }
.svc-meta {
    font-family: var(--font-eng);
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.svc-item h3 { font-size: 1.5rem; margin-bottom: 15px; }
.svc-item p { font-size: 0.95rem; color: var(--gray); margin-bottom: 20px; }
.svc-price { font-family: var(--font-serif); font-size: 1.2rem; color: var(--dark-brown); border-top: 1px solid var(--border); padding-top: 15px; }

/* --- RESERVATION FORM --- */
.contact-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    padding: 60px;
    border: 1px solid var(--border);
}
.f-group { margin-bottom: 30px; }
.f-group label {
    display: block; font-family: var(--font-serif);
    margin-bottom: 10px; color: var(--dark-brown);
}
.f-input, .f-select, .f-area {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: 0.3s;
}
.f-input:focus, .f-select:focus, .f-area:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-light);
}

/* --- BLOG GRID --- */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.blog-card img { width: 100%; height: 260px; object-fit: cover; margin-bottom: 20px; }
.blog-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.blog-card p { font-size: 14px; color: var(--gray); }

/* --- INFO & MAP --- */
.info-flex { display: flex; gap: 60px; align-items: center; }
.info-text { flex: 1; }
.info-text h3 { font-size: 1.8rem; margin-bottom: 20px; }
.info-text p { margin-bottom: 10px; color: var(--dark); font-size: 1.1rem; }
.info-map { flex: 1; height: 350px; }
.info-map iframe { width: 100%; height: 100%; border: 1px solid var(--border); }

/* --- CONTENT PAGE --- */
.c-page { padding: 120px 80px; max-width: 900px; margin: 0 auto; }
.c-page h1 { font-size: 2.5rem; margin-bottom: 40px; text-align: center; }
.c-text { font-size: 1.1rem; line-height: 2; margin-bottom: 30px; }

/* --- FOOTER --- */
.m-footer {
    padding: 60px 80px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.f-links { display: flex; gap: 30px; list-style: none; font-size: 13px; }

/* --- MOBILE RESPONSIVE --- */
.mobile-nav-btn { display: none; }
@media (max-width: 1024px) {
    .app-container { flex-direction: column; }
    .nav-rail {
        flex: none; height: auto; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        transform: translateY(-100%); transition: 0.5s var(--ease); z-index: 1000;
    }
    .nav-rail.open { transform: translateY(0); }
    .mobile-nav-btn {
        display: block; position: fixed; top: 20px; right: 20px; z-index: 1001;
        background: var(--dark); color: #fff; border: none; padding: 12px 20px;
        font-family: var(--font-eng); letter-spacing: 0.1em;
    }
    .hero-sec { padding: 40px 20px; border-bottom: 1px solid var(--border); }
    .hero-img { position: relative; width: 100%; height: 40vh; inset: auto; margin-bottom: -50px; }
    .hero-text { padding: 40px 20px; }
    .hero-text h2 { font-size: 2.2rem; }
    .section, .c-page, .m-footer { padding: 60px 20px; }
    .svc-list, .blog-grid, .info-flex { grid-template-columns: 1fr; flex-direction: column; }
    .contact-wrap { padding: 30px 20px; }
    .m-footer { flex-direction: column; gap: 20px; text-align: center; }
    .f-links { flex-direction: column; gap: 15px; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }
