:root {
    --black: #080608;
    --white: #f0ece6;
    --gold: #c9a96e;
    --gold-dark: #a68b5a;
    --teal: #1fa2a8;
    /* イラストのビル照明色 */
    --orange: #e67e22;
    /* イラストの夕焼け色 */
    --gray: #6b6560;
    --card-bg: #110f0d;
    --text-primary: var(--white);
    --text-secondary: rgba(240, 236, 230, 0.75);
    --text-muted: rgba(240, 236, 230, 0.5);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    font-size: 16px;
}

body {
    background: var(--black);
    color: var(--text-secondary);
    font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
    font-weight: 300;
    /* デスクトップ用 */
    overflow-x: hidden;
    line-height: 1.75;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    /* 黒背景での視認性向上 */
}

button {
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(8, 6, 8, 0.9), transparent);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.nav-logo {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--white);
    border-left: 2px solid var(--teal);
    padding-left: 0.8rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-btn {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-btn:hover {
    color: var(--gold);
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(to bottom,
            rgba(230, 126, 34, 0.3) 0%,
            rgba(31, 162, 168, 0.1) 40%,
            var(--black) 100%),
        radial-gradient(circle at 50% 120%, rgba(31, 162, 168, 0.4), transparent 70%);
}

/* .hero::after removed as per user request */

.hero-night-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 80%;
    z-index: 1;
    opacity: 1;
    /* Make it clearer since it's the main image now */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

.hero-eyebrow {
    position: absolute;
    top: 14%;
    /* Positioned in the night sky area above the building */
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 0.7rem;
    letter-spacing: 0.5em;
    color: var(--gold);
    text-align: center;
    text-transform: uppercase;
    z-index: 5;
    font-weight: bold;
    /* ← ★この1行を追加します！ */
}

.hero-title {
    position: absolute;
    top: 32%;
    /* Roughly 1/3 down the image, moved up slightly */
    left: 0;
    right: 0;
    margin: 0 auto;
    font-family: 'Cormorant Garamond', 'Yu Mincho', 'Noto Serif JP', serif;
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.2;
    text-align: center;
    z-index: 5;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Added slight shadow for readability */
}

.hero-title span {
    color: var(--teal);
}

.hero-subtitle {
    position: absolute;
    top: 60%;
    /* Centered vertically relative to the image center */
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: 1.125rem;
    letter-spacing: 0.25em;
    color: var(--orange);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    text-align: center;
    line-height: 1.7;
    z-index: 5;
    font-weight: 500;
    font-weight: bold;
}

.hero-floors {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    bottom: 3vh;
    /* Slightly above edge to match reference */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    /* Add safety to small screens */
    max-width: 600px;
    z-index: 5;
}

.floor-btn {
    padding: 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    background: rgba(8, 6, 8, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floor-btn:hover {
    background: rgba(201, 169, 110, 0.08);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.fnum {
    font-size: 1.5rem;
    /* Matches guide */
    font-weight: 400;
    color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 5;
}

.hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--teal), transparent);
}

/* ABOUT */
.about {
    padding: 9rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: center;
}

.section-label {
    font-size: .6rem;
    letter-spacing: .4em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.about-title {
    font-family: 'Cormorant Garamond', 'Yu Mincho', 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.2;
}

.about-body {
    font-size: 1.125rem;
    /* 18px equivalent */
    line-height: 1.7;
    color: rgba(240, 236, 230, .6);
    margin-top: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat {
    padding: 1.75rem;
    border: 1px solid rgba(201, 169, 110, .18);
    position: relative;
}

.stat::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--gold);
}

.stat-label {
    font-size: .68rem;
    letter-spacing: .12em;
    color: var(--gray);
    margin-top: .4rem;
}

/* FLOOR SECTIONS */
.floors {
    padding: 2rem 0 8rem;
}

.floor-section {
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.floor-izakaya {
    background: linear-gradient(135deg, rgba(139, 32, 32, .1) 0%, transparent 60%);
}

.floor-snack {
    background: linear-gradient(135deg, rgba(61, 31, 78, .1) 0%, transparent 60%);
}

.floor-bar {
    background: linear-gradient(135deg, rgba(13, 27, 42, .18) 0%, transparent 60%);
}

.floor-num-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 7rem;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    right: 3rem;
    top: 3rem;
    opacity: .04;
}

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

.floor-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(201, 169, 110, .1);
}

.floor-tag-pill {
    display: inline-block;
    padding: .4rem 1.2rem;
    border: 1px solid;
    font-size: .6rem;
    letter-spacing: .3em;
    margin-bottom: 1rem;
}

.izakaya-pill {
    border-color: #e07b54;
    color: #e07b54;
}

.snack-pill {
    border-color: #6b3fa0;
    color: #6b3fa0;
}

.bar-pill {
    border-color: #1e3a5f;
    color: #1e3a5f;
}

.floor-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
}

.floor-target {
    font-size: .75rem;
    color: var(--gray);
    letter-spacing: .1em;
    margin-top: .5rem;
}

.floor-count {
    font-size: .7rem;
    color: var(--gray);
    letter-spacing: .15em;
}

/* STORE CARDS */
.store-grid {
    display: grid;
    gap: 1.5px;
    background: rgba(201, 169, 110, .07);
}

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

.sg-2 {
    grid-template-columns: 1fr 1fr;
}

.sg-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background .4s;
}

.card:hover {
    background: #1a1512;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.ai {
    background: linear-gradient(to right, #8b2020, transparent);
}

.as {
    background: linear-gradient(to right, #6b3fa0, transparent);
}

.ab {
    background: linear-gradient(to right, #1e3a5f, transparent);
}

.card-floor {
    font-size: .58rem;
    letter-spacing: .3em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.card-name {
    font-family: 'Cormorant Garamond', 'Yu Mincho', 'Noto Serif JP', serif;
    font-size: 1.25rem;
    /* Matches guide suggest for detail/desc but kept slightly prominent */
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: .4rem;
}

.card-tagline {
    font-size: .76rem;
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.4rem;
}

.card-desc {
    font-size: 1rem;
    /* 16px equivalent */
    line-height: 1.7;
    color: rgba(240, 236, 230, .48);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 169, 110, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: var(--gold);
    transition: background .3s;
}

.card:hover .card-arrow {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ACCESS */
.access {
    padding: 8rem 3rem;
    border-top: 1px solid rgba(201, 169, 110, .1);
}

.access-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.access-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 3rem;
}

.access-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: 0.875rem;
    /* 14px equivalent as per guide */
}

.access-row-label {
    color: var(--gold);
    min-width: 90px;
    font-size: .7rem;
    letter-spacing: .1em;
    padding-top: .1rem;
}

.access-row-val {
    color: rgba(240, 236, 230, .65);
    line-height: 1.8;
}

.map-box {
    background: #0d0b0d;
    border: 1px solid rgba(201, 169, 110, .12);
    height: 400px;
    overflow: hidden;
    position: relative;
}

/* ピンのみクリック可能にする透明なリンク */
.map-pin-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    /* ピンとその周辺をカバー */
    height: 80px;
    z-index: 20;
    cursor: pointer;
    background: transparent;
    border-radius: 50%;
    /* 視覚的には見えないが丸いクリック範囲に */
}

/* 地図のクリッピング：左上の情報欄を隠す */
.map-box iframe {
    position: absolute;
    top: -150px;
    /* 上部を150pxクリップ */
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 300px);
    /* 下部も余裕を持たせてセンターを維持 */
    pointer-events: auto;
}

/* FOOTER */
.footer-wrap {
    border-top: 1px solid rgba(201, 169, 110, .1);
    padding: 3rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: .2em;
}

.footer-copy {
    font-size: .7rem;
    color: var(--gray);
    letter-spacing: .1em;
}

/* STORE DETAIL PAGE */
#store-page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.store-hero {
    height: 45vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
    overflow: hidden;
}

.store-hero-bg {
    position: absolute;
    inset: 0;
}

.store-hero-num {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 14rem;
    font-weight: 300;
    line-height: 1;
    opacity: .04;
}

.store-hero-content {
    position: relative;
    z-index: 1;
}

.store-back {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .7rem;
    letter-spacing: .2em;
    color: var(--gold);
    margin-bottom: 2rem;
}

.store-floor-tag {
    display: inline-block;
    padding: .3rem 1rem;
    border: 1px solid;
    font-size: .58rem;
    letter-spacing: .3em;
    margin-bottom: 1.2rem;
}

.store-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: .6rem;
}

.store-tagline {
    font-size: .88rem;
    color: rgba(240, 236, 230, .5);
    font-style: italic;
}

.store-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
}

.sdl {
    font-size: .6rem;
    letter-spacing: .4em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.sdt {
    font-size: 1.125rem;
    /* 18px equivalent */
    line-height: 1.7;
    color: rgba(240, 236, 230, .65);
}

.target-box {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-left: 2px solid var(--gold);
    background: rgba(201, 169, 110, .04);
}

.target-label {
    font-size: .58rem;
    letter-spacing: .3em;
    color: var(--gold);
    margin-bottom: .75rem;
}

.target-text {
    font-size: .82rem;
    line-height: 1.8;
    color: rgba(240, 236, 230, .55);
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    margin-top: 3rem;
}

.gallery-item {
    background: transparent;
    border: 1px solid rgba(201, 169, 110, .06);
    overflow: hidden;
}

.gallery-item.landscape {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.gallery-item.landscape.main-photo {
    grid-column: span 2;
    aspect-ratio: 16/7;
}

.gallery-item.portrait {
    grid-column: span 1;
    aspect-ratio: 3/4;
}

.info-card {
    border: 1px solid rgba(201, 169, 110, .15);
    padding: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--teal);
}

.info-title {
    font-size: .58rem;
    letter-spacing: .3em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 1rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-key {
    font-size: .63rem;
    color: var(--gray);
    letter-spacing: .1em;
}

.info-val {
    font-size: 1rem;
    /* 16px equivalent */
    line-height: 1.7;
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

/* MOBILE */
@media(max-width:768px) {
    body {
        font-size: 16px;
        font-weight: 400;
    }

    nav {
        padding: 1rem 1.2rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links {
        display: flex;
        gap: 0;
    }

    .nav-links .nav-btn:not(:last-child) {
        display: none;
    }

    .nav-links .nav-btn:last-child {
        padding: 0;
        font-size: 0.8rem;
    }

    .hero {
        padding: 0 1.5rem;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        top: 14%;
        /* Inherits font-weight: bold from PC side */
    }

    .hero-title {
        font-size: clamp(3.2rem, 12vw, 4.5rem);
        top: 28%;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 2;
        top: 54%;
        color: var(--orange);
        /* Match new red/orange color from PC side */
        font-weight: bold;
        /* Match new bold styling from PC side */
    }

    .hero-floors {
        bottom: 2vh;
        gap: 0.8rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }

    .floor-btn {
        padding: 1.2rem 0.5rem;
    }

    .fnum {
        font-size: 1.5rem;
        /* 24px equivalent, matching guide */
    }

    .flabel {
        font-size: 0.6rem;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 6rem 1.5rem;
    }

    .floor-section {
        padding: 5rem 1.2rem;
    }

    .floor-num-big {
        font-size: 5rem;
        right: 1.2rem;
    }

    .floor-title {
        font-size: 1.8rem;
        word-break: keep-all;
    }

    .card {
        padding: 2.5rem 1.8rem;
    }

    .card-name {
        font-size: 1.125rem;
        /* Scaling down for mobile and guide consistency */
    }

    .card-tagline {
        font-size: 0.85rem;
    }

    .card-desc {
        font-size: 1rem;
        line-height: 1.8;
        font-weight: 400;
    }

    .access {
        padding: 5rem 1.5rem;
    }

    .access-title {
        font-size: 2.4rem;
    }

    .access-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .access-inner>div:first-child {
        order: 1;
    }

    .map-box {
        order: 2;
        height: 300px;
        /* スマホ向けに少し高さを抑える */
    }

    .access-row {
        font-size: 0.95rem;
    }

    .store-hero {
        padding: 3rem 1.5rem;
    }

    .store-name {
        font-size: 2.8rem;
    }

    .store-body {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        padding: 4rem 1.5rem;
    }

    .sdt {
        font-size: 1.05rem;
        font-weight: 400;
    }

    .info-val {
        font-size: 1rem;
    }

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

    .gallery-item.landscape {
        grid-column: span 2;
    }

    .gallery-item.portrait {
        grid-column: span 1;
    }

    /* 店舗一覧をスマホ時はすべて1列に */
    .sg-2,
    .sg-3 {
        grid-template-columns: 1fr;
    }
}