@charset "UTF-8";

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

:root {
    --bg-color: #fcf9f2;
    /* Light beige background */
    --text-color: #4a4a4a;
    /* Dark grey text */
    --accent-color: #dfa656;
    /* Golden brown for accents */
    --font-heading: 'Zen Kurenaido', sans-serif;
    --font-body: 'Zen Kurenaido', sans-serif;
    /* Applied everywhere as requested */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding: 20px;
}

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

/* Layout Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Hero Section (Left Column in Desktop) */
.hero-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #e8e8e8;
    /* Greyish placeholder bg matching wireframe */
}

.hero-image-wrapper {
    width: 100%;
    height: 400px;
    /* Mobile height */
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    padding: 30px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Vertical Text */
.vertical-text {
    writing-mode: vertical-rl;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    position: absolute;
    right: 15px;
    top: 20px;
    /* Show on top of image in mobile */
    height: auto;
    color: #333;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px 5px;
    z-index: 5;
}

.sub-copy-box {
    margin-top: 20px;
}

.sub-copy-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.sub-copy-title .accent {
    font-weight: bold;
}

.sub-copy-title .plus-one {
    font-size: 1.8rem;
    color: var(--accent-color);
}

/* Menu Section (Right Column in Desktop) */
.menu-section {
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
}

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

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
    /* Removed overflow: hidden so number is visible outside/on edge */
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Make image round */
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Number floating near image (Design style) */
.item-image .item-number {
    position: absolute;
    bottom: 0;
    right: -5px;
    /* Float on edge */
    font-size: 1.2rem;
    background: #fff;
    /* Restored white background */
    padding: 2px 8px;
    /* Restored padding */
    border-radius: 10px;
    /* Restored radius */
    font-style: italic;
    /* Restored italic */
    color: var(--accent-color);
    /* Restored color */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Added subtle shadow for depth */
    z-index: 10;
}

.item-text h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.item-text .jp-name {
    font-size: 1rem;
    color: #555;
    font-weight: normal;
}

/* Small inline number for layout variation */
.item-number-inline {
    display: none;
    border: 1px solid #777;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

/* Info Box / Recipe */
.info-box-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.info-box {
    background-color: #fff;
    border: 2px solid var(--accent-color);
    padding: 20px;
    position: relative;
    width: 100%;
    border-radius: 8px;
}

.ribbon {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--accent-color);
    color: #fff;
    padding: 2px 15px;
    font-size: 0.9rem;
    transform: rotate(-3deg);
}

.info-content h4 {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.info-content h4 .en {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.shop-info-container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    /* Auto wrap on small screens */
}

.shop-address {
    flex: 1;
    min-width: 200px;
}

.shop-address h5 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.shop-address p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.shop-map {
    flex: 1;
    min-width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* Instagram Button */
.insta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: opacity 0.3s;
}

.insta-btn:hover {
    opacity: 0.9;
}

.insta-btn i {
    margin-right: 5px;
    font-size: 1.1rem;
}

/* =========================================
   Desktop Layout (Min-width: 768px)
   ========================================= */
@media (min-width: 768px) {
    .container {
        flex-wrap: nowrap;
        /* Side by side */
        align-items: stretch;
    }

    /* Left Column: Hero */
    .hero-section {
        width: 35%;
        /* About 1/3 */
        flex-shrink: 0;
    }

    .hero-image-wrapper {
        height: 100%;
        position: absolute;
        /* Fill the column */
        top: 0;
        left: 0;
        z-index: 0;
    }

    .hero-text {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 40px 20px;
        background: linear-gradient(to top, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0));
        z-index: 1;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .vertical-text {
        display: block;
        /* Show vertical text on side */
        right: 10%;
        /* Adjust horizontal position */
        top: 15%;
        /* Start from higher up */
        background: transparent;
        text-shadow: 2px 2px 0 #fff;
        height: auto;
        color: #333;
        /* Ensure visibility */
        font-size: 2.2rem;
        /* Make it slightly larger for impact */
        z-index: 10;
    }

    /* Right Column: Menu */
    .menu-section {
        width: 65%;
        padding: 0;
        /* padding handled in grid or inner */
    }

    .menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Row 1: Images Area (Top half), Rows 2+: Text Area */
        grid-template-rows: 450px auto auto auto;
        gap: 0 40px;
        background-color: #f9f9f9;
        /* Base beige bottom */
        position: relative;
        /* Anchor for pattern */
        padding: 0 40px 40px;
    }

    /* Cute Grid Pattern for Top Half */
    .menu-grid::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 450px;
        background-color: #f4ebca;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.8) 2px, transparent 2px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
        background-size: 40px 40px;
        z-index: 1;
        /* Sit behind images (z-index 2) */
    }

    .menu-item {
        display: contents;
        /* Flattens the hierarchy for Grid */
    }

    /* --- Images Area (Row 1) --- */
    .item-image {
        grid-row: 1;
        width: 140px;
        height: 140px;
        z-index: 2;
    }

    /* Left Side Images (1-3) */
    .menu-item:nth-child(1) .item-image {
        grid-column: 1;
        justify-self: start;
        align-self: start;
        margin: 20px 0 0 20px;
    }

    .menu-item:nth-child(2) .item-image {
        grid-column: 1;
        justify-self: end;
        align-self: center;
        margin-right: 40px;
    }

    .menu-item:nth-child(3) .item-image {
        grid-column: 1;
        justify-self: center;
        align-self: end;
        margin-right: 80px;
    }

    /* Right Side Images (4-6) */
    .menu-item:nth-child(4) .item-image {
        grid-column: 2;
        justify-self: start;
        align-self: center;
        margin-left: 20px;
    }

    .menu-item:nth-child(5) .item-image {
        grid-column: 2;
        justify-self: end;
        align-self: start;
        margin-top: 30px;
        margin-right: 20px;
    }

    .menu-item:nth-child(6) .item-image {
        grid-column: 2;
        justify-self: center;
        align-self: end;
        margin-left: 80px;
    }

    /* --- Text Area (Rows 2+) --- */
    .item-text {
        text-align: left;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    /* Text Column 1 (Left) */
    .menu-item:nth-child(1) .item-text {
        grid-column: 1;
        grid-row: 2;
        margin-top: 20px;
    }

    .menu-item:nth-child(2) .item-text {
        grid-column: 1;
        grid-row: 3;
    }

    .menu-item:nth-child(3) .item-text {
        grid-column: 1;
        grid-row: 4;
    }

    /* Text Column 2 (Right) */
    .menu-item:nth-child(4) .item-text {
        grid-column: 2;
        grid-row: 2;
        margin-top: 20px;
    }

    .menu-item:nth-child(5) .item-text {
        grid-column: 2;
        grid-row: 3;
    }

    .menu-item:nth-child(6) .item-text {
        grid-column: 2;
        grid-row: 4;
    }

    /* Decoration: Numbers next to text */
    .item-number-inline {
        display: inline-block;
        margin-right: 5px;
        border: 2px solid #ccc;
        color: #777;
    }

    /* Alternate: Adjust overlapping if text is long? 
       Grid handles height automatically. */

    /* Info Box Position */
    .info-box-wrapper {
        position: relative;

        /* Overlap effect */
        z-index: 10;
        padding: 20px;
    }

    .info-box {
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    }
}