/* Foundation */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Noto+Serif+JP:wght@200;400&display=swap');

:root {
    --bg-color: #111111;
    --text-color: #F5F5F0;
    --accent-color: #D4C3A3;
    --muted-color: #888888;
    --spacing-lg: 120px;
    --spacing-md: 60px;
    --spacing-sm: 30px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-jp: 'Noto Serif JP', serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-weight: 400;
}

.jp-thin {
    font-family: var(--font-jp);
    font-weight: 200;
}

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

/* Layout */
.l-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.l-section-padding {
    padding: var(--spacing-lg) 0;
}

.l-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
}

.l-nav__links {
    display: flex;
    gap: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
}

.l-mobile-nav {
    display: none;
}

.l-footer {
    padding: 100px 0 50px;
    border-top: 1px solid #333;
}

.l-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.l-footer__info h4 {
    font-family: var(--font-serif);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.l-footer__info p {
    font-size: 0.9rem;
    color: var(--muted-color);
    margin-bottom: 10px;
}

.l-footer__social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.l-footer__copyright {
    text-align: center;
    margin-top: 80px;
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Component */
.c-btn {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    backdrop-filter: blur(10px);
}

.c-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.c-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.c-section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.c-logo {
    display: flex;
    align-items: center;
}

.c-logo__img {
    height: 80px;
    width: auto;
    filter: invert(1) brightness(2);
    transition: height 0.3s ease;
}

/* Project */
.p-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.p-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.p-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.p-hero__content {
    width: 100%;
    max-width: 1200px;
    padding: 0 var(--spacing-sm);
}

.p-hero__title {
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.p-hero__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 25px;
    font-weight: 300;
}

.p-hero__description {
    font-size: 1.1rem;
    margin-bottom: 45px;
    opacity: 0.8;
}

.p-hero__cta {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.p-concept {
    display: flex;
    align-items: center;
    min-height: 90vh;
}

.p-concept__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 120px;
    align-items: center;
}

.p-concept__text h1, .p-concept__text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    line-height: 1.2;
}

.p-concept__text p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 300;
    opacity: 0.8;
}

.p-concept__image {
    position: relative;
    padding-left: 20px;
}

.p-concept__image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    z-index: -1;
    opacity: 0.2;
}

.p-concept__image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: brightness(0.9);
}

.p-menu {
    background-color: #1a1a1a;
}

.p-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.p-menu__item {
    text-align: center;
}

.p-menu__item:hover img {
    transform: scale(1.05);
}

.p-menu__item-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #111;
}

.p-menu__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.p-menu__item-image--coming-soon {
    position: relative;
}

.p-menu__item-image--coming-soon img {
    filter: grayscale(1) opacity(0.5);
}

.p-menu__item-image--coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border: 1px solid var(--accent-color);
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
}

.p-menu__item-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.p-menu__item-desc {
    font-size: 0.85rem;
    color: var(--muted-color);
    font-style: italic;
}

.p-wellness {
    background-color: var(--bg-color);
}

.p-wellness__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background-color: #2a2a2a;
    border: 1px solid #2a2a2a;
    margin-top: 60px;
}

.p-wellness__item {
    padding: 45px 30px;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease;
}

.p-wellness__item:hover {
    background-color: #1a1a1a;
}

.p-wellness__num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.25;
    margin-bottom: 20px;
    line-height: 1;
}

.p-wellness__title {
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.p-wellness__text {
    font-size: 0.85rem;
    color: var(--muted-color);
    line-height: 1.9;
}

.p-faq {
    background-color: var(--bg-color);
}

.p-faq__list {
    max-width: 800px;
    margin: 60px auto 0;
}

.p-faq__item {
    padding: 35px 0;
    border-bottom: 1px solid #2a2a2a;
}

.p-faq__q {
    font-family: var(--font-jp);
    font-weight: 200;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.p-faq__q::before {
    content: 'Q. ';
    font-family: var(--font-serif);
    font-style: italic;
}

.p-faq__a {
    font-size: 0.9rem;
    color: var(--muted-color);
    line-height: 2;
    padding-left: 1.5em;
}

.p-matsudai {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.p-matsudai__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 80%;
    z-index: -1;
    overflow: hidden;
}

.p-matsudai__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.6);
}

.p-matsudai__content {
    max-width: 500px;
}

.p-matsudai__content h2 {
    margin-bottom: 30px;
}

.p-access {
    background-color: #1a1a1a;
}

.p-access__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #333;
    border: 1px solid #333;
    margin-top: 60px;
}

.p-access__item {
    padding: 50px 40px;
    background-color: #1a1a1a;
}

.p-access__label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.p-access__main {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 12px;
}

.p-access__main strong {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    display: block;
    margin-top: 5px;
}

.p-access__sub {
    font-size: 0.8rem;
    color: var(--muted-color);
    line-height: 1.9;
}

.p-access__map-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-access__map-wrapper {
    margin-top: 60px;
    height: 450px;
    width: 100%;
    border: 1px solid #333;
    filter: grayscale(0.8) contrast(1.1) brightness(0.8);
}

/* Utility */
.u-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.u-reveal.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .l-nav {
        padding: 20px 30px;
    }
    
    .l-nav__links {
        display: none;
    }

    .l-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        height: 65px;
        background: rgba(26, 26, 26, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 40px;
        z-index: 2000;
        justify-content: space-around;
        align-items: center;
        padding: 0 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .l-mobile-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #F5F5F0;
        opacity: 0.6;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .l-mobile-nav__item:hover, .l-mobile-nav__item:active {
        opacity: 1;
        color: #D4C3A3;
    }

    .l-mobile-nav__item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
        stroke-width: 1.5;
    }

    .l-mobile-nav__item span {
        font-size: 0.55rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        font-weight: 300;
    }

    .c-logo__img {
        height: 60px;
    }

    .c-btn {
        width: 100%;
        max-width: 280px;
    }

    .p-hero__title {
        font-size: 2.8rem;
        word-break: break-word;
    }

    .p-hero__description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .p-hero__cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .p-concept__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .p-concept__image {
        padding-left: 0;
        order: -1;
    }

    .p-menu__grid {
        grid-template-columns: 1fr;
    }

    .p-wellness__grid, .p-access__grid, .l-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .p-wellness__item, .p-access__item {
        border-bottom: 1px solid #2a2a2a;
    }

    .p-wellness__item:last-child, .p-access__item:last-child {
        border-bottom: none;
    }

    .p-matsudai__bg {
        width: 100%;
        height: 50%;
        top: 0;
    }

    .p-matsudai__content {
        margin-top: 60%;
        padding: 0 20px;
    }

    .l-footer__social {
        justify-content: center;
    }

    .l-footer__copyright {
        padding-bottom: 100px;
    }
}
