/* =======================================================
   Variables & Global Settings
======================================================= */
:root {
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --bg-black: #000000;
    --text-white: #f5f5f5;
    --text-gold: #BA925E;
    --font-mincho: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

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

body {
    font-family: var(--font-mincho);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 2.0;
    letter-spacing: 0.05em;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

a:hover {
    opacity: 0.7;
}

/* =======================================================
   Layout Containers
======================================================= */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

/* =======================================================
   Typography
======================================================= */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    font-size: 0.8rem;
    color: #888;
    margin-top: -2rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

/* =======================================================
   Animations
======================================================= */
.fade-up {
    opacity: 0 !important;
    transform: translateY(30px) !important;
    transition: opacity 1.6s ease-out, transform 1.6s ease-out;
}

.fade-up.is-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* =======================================================
   Header & Navigation
======================================================= */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent);
    transition: background-color 0.3s;
}

.site-header.is-active {
    background: #000;
}

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

.header-logo img {
    height: 60px;
    position: relative;
    z-index: 1001;
}

/* Desktop Navigation */
.global-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    font-size: 0.9rem;
    align-items: center;
}

.nav-instagram a {
    display: block;
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-instagram a:hover {
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    position: relative;
    z-index: 1001;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.4s;
}

.hamburger span:nth-of-type(1) {
    top: 0;
}

.hamburger span:nth-of-type(2) {
    top: 11px;
}

.hamburger span:nth-of-type(3) {
    bottom: 0;
}

.hamburger.is-active span:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-of-type(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* =======================================================
   Hero Section
======================================================= */
.hero {
    height: 100vh;
    width: 100%;
    background-image: url('../img/bg-main.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo-large img {
    width: 250px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

/* =======================================================
   About Section
======================================================= */
.section-about {
    background-color: var(--bg-black);
    color: #ffffff;
    padding: 0;
    overflow: hidden;
}

.about-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.about-img {
    flex: 1;
    min-width: 0;
    position: relative;
    background-color: #000;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.about-img-left img {
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.about-img-right img {
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.about-text {
    flex: 1.3;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
}

.section-about .section-title {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    margin-bottom: 4rem;
    letter-spacing: 0.15em;
    font-weight: normal;
}

.about-text p {
    font-size: 0.9rem;
    line-height: 2.4;
    margin-bottom: 2.5rem;
    color: #cccccc;
    letter-spacing: 0.08em;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* =======================================================
   Ozaki Beef Section
======================================================= */
.section-ozaki {
    background-image: url('./img/bg.png');
    padding: 100px 0;
}

.ozaki-content {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.ozaki-images {
    flex: 1;
    min-width: 300px;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 20px;
}

.slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Nav Buttons (Prev/Next) */
.slide-nav {

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gold);
    background: none;
    border: none;

    transition: opacity 0.3s;
    padding: 10px;
    cursor: pointer;
    font-size: 2rem;
    transition: color 0.2s, opacity 0.2s;
    z-index: 10;
}

.slide-nav:hover {
    transition: color 0.2s, opacity 0.2s;
    /* color: var(--text-white); */
    opacity: 1;
}

.slide-prev {
    left: 10px;
}

/* 左端からの距離 */
.slide-next {
    right: 10px;
}


.slide-prev {
    left: 0;
}

.slide-next {
    right: 0;
}

/* Indicators (Dots) */
.slide-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--text-gold);
    transform: scale(1.2);
}

/* Sub Images (Thumbnails) */
.sub-images {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.sub-images img {
    width: 32%;
    aspect-ratio: 3/2;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.sub-images img:hover,
.sub-images img.active {
    border-color: var(--text-gold);
    opacity: 1;
    transform: translateY(-3px);
}

.ozaki-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-block {
    margin-bottom: 30px;
}

.text-block h3 {
    color: var(--text-gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: normal;
}

.text-block p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* =======================================================
   Menu Section
======================================================= */
.section-menu {
    background-color: var(--bg-darker);
    padding: 100px 0;
}

.menu-banner {
    margin-bottom: 50px;
    text-align: center;
}

.menu-banner img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    filter: brightness(0.8);
}

.mt-large {
    margin-top: 80px;
}

/* Course List */
.course-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    margin-bottom: 20px;
}

.course-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg,
            rgba(186, 146, 94, 0) 0%,
            rgba(186, 146, 94, 0.6) 40%,
            rgba(186, 146, 94, 1) 50%,
            rgba(186, 146, 94, 0.6) 60%,
            rgba(186, 146, 94, 0) 100%);
    pointer-events: none;
}

.course-item:nth-child(3)::after {
    display: none;
}

.course-price {
    flex: 0 0 30%;
}

.course-price h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    font-weight: normal;
    border-left: 3px solid var(--text-gold);
    padding-left: 15px;
}

.course-details {
    flex: 0 0 40%;
}

.course-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 30px;
    margin: 0;
    font-size: 0.9rem;
}

.course-details dt {
    color: var(--text-gold);
    font-weight: bold;
}

.course-details dd {
    color: #ccc;
    margin: 0;
}

/* Drink List */
.drink-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    margin-bottom: 20px;
}

.drink-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg,
            rgba(186, 146, 94, 0) 0%,
            rgba(186, 146, 94, 0.6) 40%,
            rgba(186, 146, 94, 1) 50%,
            rgba(186, 146, 94, 0.6) 60%,
            rgba(186, 146, 94, 0) 100%);
    pointer-events: none;
}

.drink-item:nth-child(3)::after {
    display: none;
}

.drink-name {
    font-size: 1.1rem;
    color: var(--text-white);
}

.drink-price {
    text-align: right;
    color: var(--text-white);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* =======================================================
   Access Section
======================================================= */
.section-access {
    background: url(./img/bg.png);
    padding: 100px 0 0 0;
}

.access-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.access-img {
    flex: 0 0 30%;
}

.access-img img {
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.access-img:first-child img {
    -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
    mask-image: linear-gradient(to right, black 50%, transparent 100%);
}

.access-img:last-child img {
    -webkit-mask-image: linear-gradient(to left, black 50%, transparent 100%);
    mask-image: linear-gradient(to left, black 50%, transparent 100%);
}

.access-info {
    text-align: center;
    flex: 0 0 34%;
    padding: 0 20px;
}

.shop-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.tel-large {
    font-size: 1.8rem;
    color: var(--text-gold);
    font-family: serif;
    margin: 20px 0;
}

.address,
.hours,
.holidays {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.8;
}

.access-map iframe {
    display: block;
}

/* =======================================================
   Footer
======================================================= */
.site-footer {
    background-color: #000;
    padding: 80px 0 30px;
    color: var(--text-white);
    border-top: 1px solid #333;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-white);
    letter-spacing: 0.2em;
}

.tel-footer {
    font-size: 2.5rem;
    font-family: serif;
    margin-bottom: 10px;
    color: var(--text-white);
}

.tel-note {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 60px;
}

.copyright {
    text-align: center;
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.1em;
}

/* =======================================================
   Responsive - Mobile (max-width: 768px)
======================================================= */
@media (max-width: 768px) {

    /* Typography */
    .section-subtitle {
        font-size: 0.7rem;
    }

    .about-text p {
        font-size: 0.7rem;
    }

    .about-text p:last-child {
        margin-bottom: 2rem;
    }

    .tel-footer {
        font-size: 2rem;
    }

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

    /* Header & Navigation */
    .header-inner {
        padding: 0;
        width: 100%;
        justify-content: flex-end;
    }

    .header-logo {
        display: none;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 2000;
        margin-left: auto;
        margin-right: 15px;
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0;
    }

    .global-nav ul li a {
        color: #fff;
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    .nav-instagram a {
        font-size: 30px;
    }

    /* About Section */
    .about-grid {
        flex-direction: column;
    }

    .about-img {
        width: 100%;
        height: 300px;
        flex: none;
    }

    .about-text {
        width: 100%;
        padding: 0;
        flex: none;
        order: 2;
        /* テキストを真ん中に */
    }

    .about-img-left,
    .about-img-right {
        display: none;
        /* スマホでは画像1枚のみ表示するため、左右画像を非表示に */
    }

    /* Ozaki Section */
    .ozaki-content {
        flex-direction: column;
        gap: 40px;
    }

    .section-ozaki .section-title {
        text-align: center;
    }

    /* Menu Section */
    .course-item {
        flex-direction: column;
        gap: 20px;
    }

    .course-price h3 {
        border-left: none;
        border-bottom: 2px solid var(--text-gold);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }

    .course-details dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .course-details dt {
        margin-top: 10px;
    }

    /* Access Section */
    .access-content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .access-img {
        width: 100%;
        order: 1;
    }

    .access-img:first-child img {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .access-info {
        width: 100%;
        order: 2;
        padding: 0;
    }

    .access-content .access-img:last-child {
        display: none;
        order: 3;
    }

    /* Slideshow Styles */
    .slide-nav {
        padding: 10px 15px;
        font-size: 14px;
    }

    .slide-indicators {
        bottom: 10px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* ローディングオーバーレイ */
#loading {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;

    /* 初期は見える状態 -> loaded でフェードアウト */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;

    /* フェードアウト済み */
    &.loaded {
        opacity: 0;
        visibility: hidden;
    }

    /* 中央のスピナー */
    .spinner {
        width: 48px;
        height: 48px;
        border: 5px solid rgba(0, 0, 0, 0.08);
        /* 薄い外枠 */
        border-top-color: var(--text-gold);
        /* 指定カラー */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        box-shadow: 0 4px 12px rgba(33, 33, 33, 0.08);
        transform-origin: 50% 50%;
    }
}

/* 回転アニメーション */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* アクセシビリティ: 動きが苦手なユーザーへ配慮 */
@media (prefers-reduced-motion: reduce) {
    #loading {
        transition: none !important;
    }

    #loading .spinner {
        animation: none !important;
    }
}

/* optional: 小さい画面でスピナーを少し小さくする */
@media (max-width: 480px) {
    #loading .spinner {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }
}

.nav-instagram a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

/* デスクトップでのベースサイズ */
.nav-instagram i {
    font-size: 18px;
    line-height: 1;
}

/* モバイルで大きく */
@media (max-width: 768px) {
    .nav-instagram i {
        font-size: 28px;
    }
}

/* 404ページ用のスタイル */
.not-found-page {
    padding: 100px 20px;
    text-align: center;
    min-height: 80vh;
    /* フッターが浮かないように最低高さを確保 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found__title {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

.not-found__text {
    margin-bottom: 30px;
    line-height: 1.8;
}

.not-found__link {
    color: #b59257;
    /* サイトのテーマカラーに合わせて変更してください */
    text-decoration: underline;
    font-weight: bold;
}

.not-found__link:hover {
    text-decoration: none;
    opacity: 0.8;
}