:root {
    --primary-color: #3d342b;
    /* Warm Dark Brown */
    --secondary-color: #f4ecd8;
    /* Warm Beige */
    --accent-color: #162447;
    /* Deep Navy */
    --wood-color: #8c6a4a;
    /* Wood Tone */
    --text-color: #4a4036;
    --text-muted: #7d7266;
    --bg-light: #ffffff;
    --bg-texture: #faf9f6;
    /* Off-white */
    --white: #ffffff;
    --container-width: 1100px;
    --font-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-en: 'Outfit', sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 5px 20px rgba(61, 52, 43, 0.05);
    --shadow-strong: 0 10px 30px rgba(61, 52, 43, 0.1);
}

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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: var(--bg-texture);
    background-image: url('assets/images/washi_texture.png');
    background-repeat: repeat;
    background-attachment: fixed;
    line-height: 1.8;
    overflow-x: hidden;
    /* Double safety */
    -webkit-font-smoothing: antialiased;
    word-break: auto-phrase;
    width: 100%;
    position: relative;
    /* Modern Japanese line breaking */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 140px 0;
}

/* --- Header --- */
/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    padding: 20px 0;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-soft);
    border-bottom: 2px solid var(--accent-color);
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo {
    font-family: 'Shippori Mincho', serif;
    /* Premium Wa-Modern Font */
    font-size: 1.6rem;
    /* Slightly larger for impact */
    font-weight: 500;
    /* Mincho doesn't need 700 usually */
    color: var(--primary-color);
    letter-spacing: 0.15em;
    transition: var(--transition-fast);
}

.nav ul li a {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    opacity: 0.9;
}

.nav ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.header-phone {
    font-family: var(--font-en);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    background-color: var(--secondary-color);
    padding: 8px 25px;
    border-radius: 50px;
    transition: var(--transition-fast);
    border: none;
}

.header-phone:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
}

/* --- Hero --- */
/* --- Hero Section Refined (Cinematic Modern Japanese) --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    /* Slight zoom start */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    to {
        transform: scale(1.15);
    }
}

/* Elegant Overlay - ensures text pop */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%);
    /* Balanced overlay */
    backdrop-filter: blur(0px);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    z-index: 2;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-text-wrap {
    opacity: 0;
    animation: fadeUp 1.2s ease-out forwards 0.5s;
    max-width: 900px;
    padding: 20px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-sub {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: block;
    opacity: 0.85;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    /* Reset */
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    line-height: 1.8;
    letter-spacing: 0.1em;
    margin-bottom: 35px;
    color: #fff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 4px 20px rgba(0, 0, 0, 0.7),
        0 8px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.title-phrase {
    display: inline-block;
    /* Keeps phrase together */
    white-space: nowrap;
    /* Never break inside a phrase */
    margin: 0 2px;
    /* Slight breathing room */
}

.pc-only {
    display: block;
    /* Force breaks on PC where needed */
}

.hero-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 2.0;
    font-weight: 500;
    margin-bottom: 40px;
    color: #fff;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.9),
        0 4px 15px rgba(0, 0, 0, 0.7),
        0 6px 30px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrap {
    margin-top: 20px;
}

.btn-primary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 15px 45px;
    font-size: 1rem;
    letter-spacing: 0.2em;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #fff;
    color: #333;
    border-color: #fff;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-bg::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
        /* Simpler darken on mobile */
    }

    .hero-title {
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.9;
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--white);
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    opacity: 0.7;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scrollLine 2.5s infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    40% {
        transform: scaleY(1);
        transform-origin: top;
    }

    40.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    80% {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.pc-br {
    display: block;
}

.no-break {
    display: inline-block;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.align-left {
    text-align: left;
}

.section-en {
    display: block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--accent-color);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    word-break: keep-all;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: var(--accent-color);
}

.section-header.align-left .section-title::after {
    left: 0;
    transform: none;
}

/* --- Menu --- */
.menu-section {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    border-top: 10px solid var(--accent-color);
    border-bottom: 10px solid var(--accent-color);
}

.menu-section .section-title {
    color: var(--primary-color);
}

.menu-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Horizontal gap on PC, Vertical on Mobile if 1 col */
    row-gap: 80px;
    /* Ensure vertical separation is huge */
    margin-top: 50px;
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
}

@media (max-width: 1024px) {
    .menu-modern-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.menu-category {
    position: relative;
}

.category-header {
    background-color: var(--accent-color);
    color: var(--white);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(22, 36, 71, 0.4);
}

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.menu-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 1.15rem;
    /* Increased from 1.1rem */
    position: relative;
    color: var(--text-color);
    padding: 8px 0;
    /* Added vertical padding */
}

.item-name {
    padding-left: 20px;
    padding-right: 15px;
    white-space: nowrap;
    font-weight: 600;
    /* Increased from 500 */
    font-size: 1.1rem;
    /* Added explicit size */
}

.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(61, 52, 43, 0.3);
    /* More visible */
    margin: 0 15px;
    height: 1px;
    min-width: 30px;
    /* Ensure dots are visible */
}

.item-price {
    font-family: var(--font-en);
    font-weight: 700;
    padding-left: 10px;
    padding-right: 10px;
    /* Added right padding */
    color: var(--primary-color);
    font-size: 1.3rem;
    /* Increased from 1.2rem */
    white-space: nowrap;
}

.item-price.highlight {
    color: #d00000;
}

.price-unit {
    font-size: 0.8rem;
    margin-left: 4px;
    opacity: 0.8;
}

/* Category Images */
/* Category Images Redesign */
.category-visuals {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    margin-bottom: 30px;
    /* Safety spacing for next item */
    width: 100%;
    position: relative;
    z-index: 1;
}

.category-photo-circle {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 30px;
    /* Soft modern radius */
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 40px rgba(60, 40, 20, 0.15);
    /* Elegant warm shadow */
    transform: rotate(-1deg);
    /* Subtle playful angle */
    transition: transform 0.5s ease;
    background-color: #fff;
    /* Clean canvas */
}

.category-photo-circle:hover {
    transform: rotate(0deg) scale(1.02);
}

.category-photo-circle img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.category-illustration {
    width: 100px;
    opacity: 0.6;
}

.category-illustration img {
    width: 100%;
}

/* Adjustments for the right column (Maki) */
.maki-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.maki-group {
    margin-bottom: 30px;
}

.maki-price-header {
    font-family: var(--font-en);
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.maki-price-header::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(to right, var(--accent-color), transparent);
    margin-left: 15px;
}

/* --- Special Menu --- */
.special-menu {
    margin-top: 80px;
}

.special-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(201, 168, 106, 0.2);
}

.special-img {
    height: 400px;
    overflow: hidden;
}

.special-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.special-card:hover .special-img img {
    transform: scale(1.05);
}

.special-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.special-content h3 {
    font-size: 1.6rem;
    /* Reduced from 2rem */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    word-break: keep-all;
    /* Prevent breaking within words */
    line-height: 1.5;
}

.special-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}



.special-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.seasonal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

@media (max-width: 768px) {
    .special-card {
        grid-template-columns: 1fr;
    }

    .special-img {
        height: 300px;
    }

    .special-content {
        padding: 40px 30px;
    }
}

/* --- About & History --- */
.about-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -40px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    z-index: 0;
}

.about-img-wrap img {
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-strong);
    filter: sepia(20%) contrast(105%);
}

.about-content p {
    margin-bottom: 30px;
    color: var(--text-color);
    font-size: 1.05rem;
}

/* --- Signature Gallery --- */
.gallery-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.gallery-section .section-title {
    color: var(--white);
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    opacity: 0.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 450px;
    box-shadow: var(--shadow-strong);
}

.gallery-item.large {
    height: 450px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption span {
    display: block;
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Access --- */
.access-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

/* --- Drinks --- */
.drinks-section {
    margin-top: 80px;
    padding: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 4px;
    box-shadow: var(--shadow-strong);
    border: 1px dashed var(--accent-color);
}

.drinks-header {
    text-align: center;
    margin-bottom: 40px;
}

.drinks-header h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    font-weight: 700;
}

.drinks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 80px;
    max-width: 800px;
    margin: 0 auto;
}

.drink-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dotted rgba(61, 52, 43, 0.2);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.drink-price {
    font-family: var(--font-en);
    color: var(--primary-color);
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

@media (max-width: 768px) {
    .drinks-grid {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }

    .drinks-section {
        padding: 30px 15px;
        /* Tighter padding consistent with food menu */
        width: 100%;
        box-sizing: border-box;
    }

    .drink-item {
        font-size: 1rem;
        /* Slightly smaller for mobile fit */
        align-items: flex-end;
        /* Align bottom to match nice visual */
    }

    .drink-item span:first-child {
        flex: 1;
        min-width: 0;
        /* Allow shrinking */
        white-space: normal;
        margin-right: 10px;
        word-break: break-all;
        /* Force wrap long names like Asahi */
    }

    .drink-price {
        flex-shrink: 0;
        /* Keep price rigid */
        min-width: auto;
        /* Let it be natural width */
    }
}

.access-lead p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    padding: 25px 0;
    width: 130px;
    border-bottom: 1px solid #eee;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.info-table td {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

@media (max-width: 768px) {

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 15px 0;
    }

    .info-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    /* Mobile Menu Fixes */
    .menu-modern-grid {
        display: block;
        /* Reset grid on mobile to avoid layout quirks */
        padding: 25px 10px;
        /* Minimal side padding */
        gap: 30px;
        margin-top: 30px;
        width: 100%;
        /* Fill container */
        max-width: 100%;
        /* Never exceed container */
        box-sizing: border-box;
    }

    .category-header {
        font-size: 1rem;
        padding: 8px 20px;
        margin-bottom: 20px;
        max-width: 100%;
        /* Prevent header popping width */
        white-space: normal;
        /* Allow header text to wrap */
        line-height: 1.4;
        text-align: center;
    }

    .menu-item-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        /* Align bottom to match baselineish feel with dotted line */
        width: 100%;
        font-size: 0.9rem;
        border-bottom: 1px dotted rgba(60, 50, 40, 0.2);
        /* Connecting line at bottom */
        padding-bottom: 5px;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .item-name {
        flex: 1;
        /* Take available space */
        min-width: 0;
        /* Allow shrinking below content size to force wrap */
        white-space: normal;
        margin-right: 8px;
        /* Gap between name and price */
        text-align: left;
        word-break: break-all;
        /* Force break if necessary */
    }

    .item-price {
        flex-shrink: 0;
        /* Never shrink price */
        white-space: nowrap;
        font-size: 0.95rem;
        text-align: right;
        margin-bottom: -2px;
        /* Visual alignment with border */
    }

    .item-dots {
        display: none !important;
        /* Hide the middle filler dots on mobile */
    }

    .menu-items-list {
        gap: 0;
        /* Gaps handled by row margin */
    }

    .special-content {
        padding: 25px 20px;
    }

    .highlight-marker {
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .about-text h3 {
        line-height: 1.6;
        font-size: 1.3rem;
    }

    .menu-notes {
        padding: 15px !important;
    }

    .menu-notes ul {
        padding-left: 15px !important;
    }
}

.access-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

/* --- Footer --- */
/* --- Footer --- */
.footer {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 80px 0 40px;
    border-top: 2px solid var(--accent-color);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Center alignment better for simple footer */
    flex-direction: column;
    /* Default to column for safety, then row on PC? No, PC is row. */
    margin-bottom: 50px;
    text-align: center;
}

@media (min-width: 769px) {
    .footer-inner {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

.footer-info {
    max-width: 100%;
    margin-bottom: 40px;
    /* Separation on mobile */
}

@media (min-width: 769px) {
    .footer-info {
        max-width: 400px;
        margin-bottom: 0;
    }
}

.footer-logo {
    font-family: 'Shippori Mincho', serif;
    /* Consistency */
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    /* Wider spacing for elegance */
    margin-bottom: 20px;
    color: var(--accent-color);
    display: inline-block;
}

.footer-nav ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li a {
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-nav ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 10px;
}

.copyright {
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    letter-spacing: 0.1em;
}

/* --- Mobile --- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
        /* Wider content area */
    }

    .section {
        padding: 80px 0;
    }

    .hero-content {
        padding: 75px 15px 0;
        /* Reduced top gap, tighter fit */
        text-align: center;
        width: 100%;
    }

    .hero-text {
        width: 100%;
        margin: 0 auto 40px auto;
        padding: 0;
        font-size: 1rem;
        /* Larger readable text */
        line-height: 2.0;
    }

    .scroll-down {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    /* Mobile Nav Overlay */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: var(--transition-slow);
        z-index: 2000;
        padding-top: 60px;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        display: flex;
    }

    .nav ul li a {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2001;
        position: relative;
    }

    .mobile-menu-btn span {
        width: 30px;
        height: 1px;
        background-color: var(--primary-color);
        transition: var(--transition-fast);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .header-phone {
        display: block;
        font-size: 0.85rem;
        padding: 6px 15px;
        position: relative;
        /* Ensure specific mobile styling if needed */
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    /* Better Footer Mobile */
    .footer-inner {
        gap: 30px;
    }

    .footer-nav ul {
        flex-direction: row;
        /* Horizontal on mobile for compactness */
        flex-wrap: wrap;
        gap: 15px 25px;
        /* Row Gap / Col Gap */
        justify-content: center;
        max-width: 300px;
        /* Prevent too wide spread */
        margin: 0 auto;
    }

    .footer-nav ul li a {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }
}

/* --- Mobile Action Bar --- */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    z-index: 1100;
    grid-template-columns: 1fr 1fr;
    background-color: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-content {
        padding: 75px 15px 0;
        /* consistent with above */
        justify-content: center;
    }

    .hero-sub {
        font-size: 0.75rem;
        /* Slightly larger */
        margin-bottom: 20px;
        letter-spacing: 0.2em;
    }

    .hero-bg::after {
        background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 90%) !important;
    }

    .hero-title {
        /* Mobile: Refined Poetic Look */
        font-size: 1.25rem !important;
        /* Fixed elegant size, not huge */
        line-height: 2.2;
        /* Looser line height for "Oshare" feel */
        letter-spacing: 0.1em;
        margin-bottom: 30px;
    }

    .pc-only {
        display: none;
        /* Let phrases flow naturally on mobile */
    }

    /* Force line break if phrases sitting side-by-side looks crowded */
    .title-phrase {
        display: block;
        /* Stack perfectly on small mobile */
        margin-bottom: 5px;
        /* Tiny gap between lines */
    }

}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 6px;
    color: var(--white);
    letter-spacing: 0.1em;
}


.action-item.phone {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
}

.action-item .icon {
    font-size: 1.3rem;
}

/* Smartphone-only line breaks */
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-br {
        display: block;
    }

    /* Reduce heading sizes on mobile to prevent awkward breaks */
    .section-title {
        font-size: 1.6rem !important;
    }

    .special-content h3 {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 600px) {
    .mobile-action-bar {
        display: none;
    }
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(22, 36, 71, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 36, 71, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 90px;
        /* Above mobile action bar */
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}