/* --- Variables --- */
:root {
    --primary-color: #5d2a8e; /* Rich Purple */
    --accent-color: #c5a059;  /* Gold Accent */
    --bg-color: #0a0a0a;      /* Deep Black */
    --text-color: #f5f5f5;
    --text-color-muted: #b0b0b0;
    --font-serif: 'Noto Serif JP', serif;
    --font-heading: 'Noto Serif JP', serif;
    --section-spacing: 120px;
    --section-spacing-mobile: 80px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    line-height: 1.8;
    overflow-x: hidden;
    user-select: none; /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: var(--section-spacing-mobile) 0;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
}

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

.text-center.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 80px;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__inner {
    max-width: 1600px;
    min-height: 80px;
    margin: 0 auto;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__left {
    display: flex;
    align-items: center;
}

.header__reservation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header__tel {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-color-muted);
}

.header__btns {
    display: flex;
    gap: 10px;
}

.btn-reservation {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #fff;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background: #fff;
    color: #000;
    text-transform: uppercase;
}

.btn-reservation:hover {
    background: transparent;
    color: #fff;
}

.header__logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__sns a {
    display: flex;
    align-items: center;
}

.header__sns svg {
    width: 20px;
    height: 20px;
}

.header__list {
    display: flex;
    gap: 40px;
}

.header__list li a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.header__list li a:hover {
    color: var(--primary-color);
}

/* --- Fixed Footer Buttons SP --- */
.sp-fixed-btns {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 2000;
    background: #000;
}

.sp-fixed-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.sp-fixed-btn--hp {
    background: #9f8350; /* Antique Gold */
}

.sp-fixed-btn--tabelog {
    background: #5c5246; /* Muted Brown */
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.header__hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1100; /* Ensure it stays above the side-menu */
}

.header__hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transition: 0.4s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; }
.header__hamburger span:nth-child(3) { bottom: 0; }

@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-color);
        padding-top: 100px;
        transition: 0.4s;
    }
    
    .header__nav.active {
        right: 0;
    }

    .header__list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .header__hamburger {
        display: block;
    }

    .header__hamburger.active span:nth-child(1) {
        transform: translateY(11.5px) rotate(45deg);
    }
    .header__hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .header__hamburger.active span:nth-child(3) {
        transform: translateY(-11.5px) rotate(-45deg);
    }
}

/* --- Hero --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: url('../img/FV.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(93, 42, 142, 0.1) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
}

.hero__sub {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    color: var(--accent-color);
    animation: fadeInUp 1s ease forwards;
}

.hero__title {
    font-size: 5rem;
    font-family: var(--font-serif);
    letter-spacing: 0.4em;
    margin-bottom: 30px;
    font-weight: 700;
    color: #fff;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 60px;
    background: var(--text-color);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}



.about {
    background: url('../img/aboutbackground.png') no-repeat center/cover fixed;
}

.container--about {
    display: flex;
    justify-content: center;
}

.about__text-box {
    writing-mode: vertical-rl;
    height: 500px; /* Reduced from 600px */
    color: #fff;
    margin: 80px auto 0;
}

.about__label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-left: 10px;
}

.about__text-box .section-title {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 0;
    margin-left: 20px;
}

.about__text-box .section-title::after {
    display: none;
}

.about__catch {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    margin-left: 30px;
    color: #fff;
}

.about__desc {
    font-size: 1.1rem;
    color: #fff;
    line-height: 2.5;
    margin-top: 40px; /* Lower only this */
}



/* --- Service --- */
.service {
    background: url('../img/background.png') no-repeat center/cover fixed;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.img-title {
    max-width: 60px; /* User reverted to this size */
    height: auto;
    display: block;
    margin: 0 auto;
}

.voice .img-title {
    max-width: 45px; /* Stay small for voice */
}

.mb-100 {
    margin-bottom: 100px;
}

.service__item {
    display: flex;
    align-items: center;
    margin-bottom: 200px;
    width: 100%;
}

.service__item:nth-child(even) {
    flex-direction: row-reverse;
}

.service__img {
    flex: 0 0 60%;
    height: 60vh;
    margin-bottom: 0;
}

.service__item:nth-child(odd) .service__img {
    margin-left: auto; /* Push to right */
}

.service__item:nth-child(even) .service__img {
    margin-right: auto; /* Push to left */
}

.service__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service__content {
    flex: 0 0 40%;
    text-align: left;
    padding: 0 4%;
    z-index: 2;
}

.service__item:nth-child(even) .service__content {
    text-align: left;
}

.service__num {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: -20px;
}

.service__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service__desc {
    font-size: 1rem;
    line-height: 2;
}

@media (max-width: 1024px) {
    .service__img {
        flex: 0 0 85%;
    }
    .service__content {
        flex: 0 0 50%;
        margin-left: -20%;
    }
    .service__item:nth-child(even) .service__content {
        margin-right: -20%;
    }
}

/* --- Spacer --- */
.spacer {
    height: 60vh;
    width: 100%;
}

.spacer--service-menu {
    background: url('../img/service_menu.png') no-repeat center/cover fixed;
}

/* --- Menu --- */
.menu {
    background: url('../img/background.png') no-repeat center/cover fixed;
}

.menu__layout {
    max-width: 1200px;
    margin: 0 auto;
}

.menu__featured {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    gap: 0;
    position: relative;
    padding-bottom: 60px;
}

.menu__slider {
    flex: 1.5;
    height: 700px; /* Increased from 600px */
    overflow: hidden;
    position: relative;
    z-index: 20; /* Bring to front */
    background: transparent;
    transform: translateX(-120px); /* Reverted to -120px */
}

.menu__slider-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.menu__slider-inner img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto; /* Height auto for no trimming */
    max-height: 100%;
    object-fit: contain;
    background: transparent;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: fadeShow 15s infinite ease-in-out;
}

.menu__slider-inner img:nth-child(1) { animation-delay: 0s; }
.menu__slider-inner img:nth-child(2) { animation-delay: 5s; }
.menu__slider-inner img:nth-child(3) { animation-delay: 10s; }

@keyframes fadeShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    33% { opacity: 1; }
    38% { opacity: 0; }
    100% { opacity: 0; }
}

.menu__featured {
    display: flex;
    align-items: center;
    margin-bottom: 150px;
    gap: 0;
    position: relative;
    padding: 60px 0;
}

/* Square Texture behind */


.menu__featured-content {
    flex: 1;
    padding: 100px 60px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #444; /* Darker text for readability on beige */
    background: url('../img/osusume.png') no-repeat center/cover !important;
    margin-left: -100px; /* Overlap the slider slightly as in mockup */
    position: relative;
    z-index: 10;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.3);
}

.menu__featured-content .menu__cat-title {
    color: #222;
    margin-bottom: 30px;
}

.menu__featured-content .menu__item-main {
    border-color: rgba(0,0,0,0.1);
}

.menu__featured-content .menu__name,
.menu__featured-content .menu__price {
    color: #333;
}

.menu__featured-content .menu__item-desc {
    color: #666;
}

@media (max-width: 1024px) {
    .menu__featured::before {
        width: 100%;
        height: 100%;
    }
}

.menu__featured-content .menu__cat-title {
    color: #000;
}

.menu__featured-content .menu__cat-title::after {
    background: #000;
}

.menu__featured-content .menu__name,
.menu__featured-content .menu__price,
.menu__featured-content .menu__item-desc {
    color: #333;
}

.menu__featured-content .menu__item-main {
    border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
}

.menu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 60px;
}

.menu__item-detail {
    margin-bottom: 30px;
}

.menu__item-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.menu__name {
    font-size: 1.1rem;
    font-weight: 700;
}

.menu__price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
}

.menu__item-desc {
    font-size: 0.9rem;
    color: var(--text-color-muted);
}

.menu__btn-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.voice__btn-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- Buttons --- */
.btn-menu {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1rem;
    letter-spacing: 0.2em;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    background: transparent;
}

.btn-menu:hover {
    background: var(--accent-color);
    color: #fff;
}

/* --- Voice --- */
.voice {
    background: url('../img/aboutbackground.png') no-repeat center/cover fixed;
}

.container--narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4%;
}

.voice__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.voice__item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
}

.voice__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.voice__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.voice__stars {
    color: var(--accent-color);
    letter-spacing: 0.2em;
}

.voice__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-color);
}

/* --- Access --- */
.access {
    background: #000;
}

.access__layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.access__info {
    flex: 1;
    padding: 40px; /* Increased padding into the box */
    background: rgba(255, 255, 255, 0.02); /* Slight background to separate */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.access__list {
    margin-bottom: 40px;
}

.access__row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.access__row dt {
    width: 140px;
    font-weight: 700;
    color: var(--primary-color);
}

.access__row dd {
    flex: 1;
}

.access__map {
    flex: 1.2;
}

.access__map iframe {
    width: 100%;
    height: 450px;
    /* Removed filter to keep it color */
}



/* --- Footer --- */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-color-muted);
    letter-spacing: 0.1em;
}

/* --- Pagetop --- */
.pagetop {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
}

.pagetop.is-show {
    opacity: 1;
    visibility: visible;
}

.pagetop__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pagetop__line {
    width: 1px;
    height: 40px;
    background-color: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.pagetop__line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    animation: pagetopLine 2s infinite ease-in-out;
}

@keyframes pagetopLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

.pagetop__text {
    font-size: 0.7rem;
    letter-spacing: 0.2rem;
    color: var(--accent-color);
    writing-mode: vertical-rl;
}

.pagetop:hover {
    transform: translateY(-5px);
}

.pagetop:hover .pagetop__text {
    color: #fff;
}

@media (max-width: 768px) {
    /* Header */
    .header__left {
        display: none;
    }

    .header__logo {
        position: static;
        transform: none;
        font-size: 1.1rem;
        margin-left: 0;
    }
    
    .sp-fixed-btns {
        display: flex;
    }

    .header__hamburger {
        display: block;
    }

    /* Hero */
    .hero__title {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }

    /* About */
    .about__text-box {
        writing-mode: horizontal-tb;
        height: auto;
        padding: 40px 0;
        margin-top: 40px;
        text-align: left;
    }

    .about__text-box .section-title {
        writing-mode: horizontal-tb;
        text-align: left;
        height: auto;
        margin: 0 0 20px 0 !important; /* Resetting PC margins */
    }

    .about__catch {
        writing-mode: horizontal-tb;
        text-align: left;
        margin: 0 0 10px 0 !important;
        font-size: 1.4rem;
    }
    
    .about__desc {
        text-align: left;
        margin-top: 20px;
        padding-left: 0;
    }

    /* Service/Commitment */
    .service__grid {
        grid-template-columns: 1fr;
    }

    .service__item {
        display: flex !important;
        flex-direction: column !important; 
        margin-bottom: 40px !important; /* Narrower gap between 01/02/03 */
    }

    .service__content {
        order: 1; /* Title and Text first */
        padding: 20px 6% !important; /* Added horizontal padding */
        margin: 0 !important;
        width: 100%;
        flex: none;
    }

    .service__num {
        font-size: 3rem;
        margin-bottom: 0;
    }

    .service__img {
        order: 2; /* Image last */
        width: 100% !important;
        flex: none;
        height: auto;
        min-height: 300px;
    }

    /* Menu Featured */
    .menu__featured {
        flex-direction: column;
        padding: 0;
        margin-bottom: 60px;
        display: flex;
    }

    .menu__slider {
        display: block !important;
        width: 100% !important;
        height: 300px !important; /* Force height on SP */
        margin: 0 0 30px 0 !important;
        transform: none !important;
        z-index: 30;
        position: relative !important;
        flex: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .menu__slider-inner {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
    }

    .menu__slider-inner img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Make sure it fills the 300px box */
    }

    .menu__featured-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0; /* Stacked below instead of pulling up, or tiny overlap */
        padding: 40px 6%;
        min-height: auto;
        z-index: 10;
        box-shadow: none; /* Simplify for SP */
    }

    /* Menu Grid */
    .menu__grid {
        grid-template-columns: 1fr;
    }

    /* Voice */
    .voice__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Access */
    .access__layout {
        flex-direction: column;
    }

    .access__info {
        padding: 30px 20px;
    }

    .access__row dt {
        width: 100px;
    }

    /* Pagetop */
    .pagetop {
        right: 20px;
        bottom: 110px !important; /* Move above fixed footer */
    }
}
