@charset "UTF-8";

/* =========================================
   Variables & Reset
   ========================================= */
:root {
    --c-base: #f9f6f0;       /* 温かみのあるアイボリー（背景） */
    --c-main: #3a5c39;       /* 深緑・しとやかな和の緑 */
    --c-accent: #b89569;     /* くすんだ金や真鍮色・上質感を演出 */
    --c-text: #2c2c2c;       /* 墨色 */
    --c-text-light: #ffffff; /* 白 */
    --font-base: 'Noto Serif JP', '游明朝', YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
    --z-loader: 9999;
    --z-header: 1000;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--c-text);
    background-color: var(--c-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title.text-left {
    text-align: left;
}

.section-title .en {
    display: block;
    font-size: 0.9rem;
    color: var(--c-accent);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title .jp {
    font-size: 2.5rem;
    font-weight: 500;
}

.btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.btn-wrap.left {
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.4s ease;
    border: 1px solid var(--c-main);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-outline {
    color: var(--c-main);
    background: transparent;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--c-main);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-outline:hover {
    color: var(--c-text-light);
}

.btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-fill {
    color: var(--c-text-light);
    background: var(--c-main);
}

.btn-fill:hover {
    background: var(--c-text);
    border-color: var(--c-text);
}

/* =========================================
   Loading Screen
   ========================================= */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--c-base);
    z-index: var(--z-loader);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.is-loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-size: 2rem;
    color: var(--c-main);
    opacity: 0;
    animation: loaderFade 2s ease forwards;
}

@keyframes loaderFade {
    0% { opacity: 0; transform: translateY(20px); }
    50% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Header
   ========================================= */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: var(--z-header);
    padding: 20px 4%;
    transition: all 0.4s ease;
}

.header.is-scrolled {
    background-color: rgba(249, 246, 240, 0.95);
    padding: 15px 4%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 500;
}

.header-logo a {
    color: var(--c-text-light); /* 初期状態は白（画像に乗るため） */
}

.header.is-scrolled .header-logo a {
    color: var(--c-main);
}

.global-nav ul {
    display: flex;
    gap: 40px;
}

.global-nav a {
    color: var(--c-text-light);
    font-size: 0.95rem;
    position: relative;
}

.header.is-scrolled .global-nav a {
    color: var(--c-text);
}

.global-nav a:hover {
    color: var(--c-accent);
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: calc(var(--z-header) + 1);
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--c-text-light);
    transition: all 0.3s ease;
}

.header.is-scrolled .hamburger span {
    background-color: var(--c-main);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background-color: var(--c-main);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    background-color: var(--c-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; height: 100vh;
    background-color: var(--c-base);
    z-index: var(--z-header);
    transition: right 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 30px;
}

.mobile-nav a {
    font-size: 1.5rem;
    color: var(--c-main);
}

@media (max-width: 768px) {
    .global-nav { display: none; }
    .hamburger { display: block; }
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero.is-loaded .hero-bg {
    transform: scale(1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--c-text-light);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    line-height: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.5s ease 0.5s, transform 1.5s ease 0.5s;
}

.hero.is-loaded .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.scroll-down {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--c-text-light);
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.scroll-down::after {
    content: '';
    position: absolute;
    top: 25px; left: 50%;
    width: 1px; height: 50px;
    background-color: var(--c-text-light);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================
   Concept Section
   ========================================= */
.concept-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.concept-text p {
    font-size: 1.1rem;
    margin-bottom: 2em;
}

/* =========================================
   Menu Section
   ========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .menu-grid { grid-template-columns: 1fr; }
}

.menu-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.menu-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.menu-img {
    overflow: hidden;
    position: relative;
    padding-top: 66%; /* 3:2 ratio */
}

.menu-img img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-img img {
    transform: scale(1.05);
}

.menu-info {
    padding: 30px;
}

.menu-info h3 {
    font-size: 1.5rem;
    color: var(--c-main);
    margin-bottom: 15px;
}

.menu-info .price {
    font-size: 1.25rem;
    color: var(--c-accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.menu-info .tax {
    font-size: 0.8rem;
    color: var(--c-text);
}

/* =========================================
   Space Section
   ========================================= */
.space {
    position: relative;
    padding: 160px 0;
    color: var(--c-text-light);
}

.space-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--c-main);
    z-index: -2;
}

.space-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.space-text {
    flex: 1;
}

.space-img-wrap {
    flex: 1.2;
    position: relative;
}

.space-img {
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
    .space-inner {
        flex-direction: column;
    }
}

/* =========================================
   Access Section
   ========================================= */
.info-grid {
    display: flex;
    gap: 60px;
}

.info-details {
    flex: 1;
}

.info-map {
    flex: 1;
}

.info-list {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.info-list dt, .info-list dd {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.info-list dt {
    width: 30%;
    font-weight: 500;
    color: var(--c-main);
}

.info-list dd {
    width: 70%;
}

.info-list .note {
    font-size: 0.8rem;
    color: #666;
}

.dummy-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 1.5rem;
    background-image: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc), linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%, #ccc);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

@media (max-width: 768px) {
    .info-grid { flex-direction: column; }
    .info-list dt { width: 100%; border-bottom: none; padding-bottom: 5px; }
    .info-list dd { width: 100%; padding-top: 5px; }
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: var(--c-text-light);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-inner {
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--c-main);
    letter-spacing: 0.2em;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--c-main);
}

.footer-bottom {
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* =========================================
   Animations (Intersection Observer)
   ========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js-fade-up.is-inview {
    opacity: 1;
    transform: translateY(0);
}
