/* General Styling */
body {
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    /* Dark background */
    color: #f0f0f0;
    /* Light text */
    line-height: 1.6;
    scroll-behavior: smooth;
    /* スムーズスクロール */
}

a {
    color: #c0a060;
    /* Accent color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e0d0a0;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    /* Elegant font for logo */
    font-size: 2.2rem;
    color: #c0a060;
    /* Gold-like accent */
    font-weight: bold;
    letter-spacing: 2px;
}

/* Navigation */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #c0a060;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger-menu span {
    height: 2px;
    width: 25px;
    background-color: #f0f0f0;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* When menu is open */
.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Visual */
.main-visual {
    position: relative;
    height: 100vh;
    width: 100%;
    background-image: url('../images/bar_bg.png');
    /* Replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    /* Prevent text from overflowing */
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 1;
}

.main-visual-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.main-visual-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: #c0a060;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.main-visual-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 30px;
    background-color: #fff;
    margin-top: 10px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections */
.section-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 40px 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c0a060;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #c0a060;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* Shop About Section */
#about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

#about h3 {
    font-size: 1.8rem;
    color: #c0a060;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

#about ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 30px;
}

#about ul li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

#about ul li::before {
    content: '•';
    color: #c0a060;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -3px;
}

#about img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Menu Section */
/* メニューカテゴリボタン */
.menu-categories {
    margin-bottom: 30px;
    text-align: center;
    white-space: nowrap;
    /* ボタンが改行しないように */
    overflow-x: auto;
    /* 横スクロールを可能に */
    padding-bottom: 10px;
    /* スクロールバーのための余白 */
    -webkit-overflow-scrolling: touch;
    /* iOSでのスムーズなスクロール */
}

.menu-category-button {
    background-color: #444;
    color: #f0f0f0;
    border: 1px solid #c0a060;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    /* ボタンが縮まないように */
}

.menu-category-button:hover {
    background-color: #555;
}

.menu-category-button.active {
    background-color: #c0a060;
    color: #1a1a1a;
    font-weight: bold;
}

/* メニューカルーセル */
.menu-carousel-wrapper {
    width: 100%;
    overflow-x: scroll;
    /* 横スクロールを可能にする */
    -webkit-overflow-scrolling: touch;
    /* iOSでのスムーズなスクロール */
    padding-bottom: 20px;
    /* スクロールバーのための余白 */
    position: relative;
}

.menu-carousel {
    display: flex;
    /* 子要素を横並びにする */
    gap: 30px;
    /* アイテム間の余白 */
    padding: 0 10px;
    /* 端の余白 */
    justify-content: flex-start;
    /* 左寄せ */
    min-width: max-content;
    /* コンテンツに合わせて幅を広げる */
}

.menu-item {
    flex-shrink: 0;
    /* アイテムが縮まないように */
    width: 280px;
    /* 各アイテムの固定幅 */
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.2s ease;
}

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

.menu-item-image {
    width: 100%;
    height: 180px;
    /* 画像の高さ固定 */
    background-size: cover;
    /* 画像をカバー表示 */
    background-position: center;
    background-color: #3a3a3a;
    /* 画像がない場合の背景色 */
    margin-bottom: 15px;
}

.menu-item-name {
    font-size: 1.4rem;
    color: #c0a060;
    margin-bottom: 5px;
    padding: 0 15px;
}

.menu-item-price {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 10px;
    font-weight: bold;
}

.menu-item-description {
    font-size: 0.95rem;
    color: #ccc;
    padding: 0 15px;
    margin-bottom: 10px;
    height: 90px;
    /* 説明文の高さ制限 */
    overflow: hidden;
    /* 超えたら隠す */
    text-overflow: ellipsis;
    /* 省略記号 */
    display: -webkit-box;
    /* -webkit-line-clamp: 3; */
    /* 3行で省略 */
    -webkit-box-orient: vertical;
}

/* 隠すアイテム */
.menu-item.hidden {
    display: none;
}


/* Notice Section */
#notice .notice-scroll-area {
    /* 新しく追加するスクロールエリアのスタイル */
    max-height: 400px;
    /* 適当な高さに設定。必要に応じて調整してください */
    overflow-y: scroll;
    /* 縦スクロールを有効にする */
    padding-right: 15px;
    /* スクロールバーとの間に余白を設ける */
    box-sizing: border-box;
    /* パディングを含めて高さを計算 */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #c0a060 #444;
    /* Firefox */
}

/* Chrome, Safari */
#notice .notice-scroll-area::-webkit-scrollbar {
    width: 8px;
}

#notice .notice-scroll-area::-webkit-scrollbar-track {
    background: #444;
    border-radius: 10px;
}

#notice .notice-scroll-area::-webkit-scrollbar-thumb {
    background-color: #c0a060;
    border-radius: 10px;
    border: 2px solid #444;
}

.notice-item {
    background-color: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notice-item:last-child {
    margin-bottom: 0;
    /* 最後のアイテムの下マージンを削除 */
}

.notice-date {
    font-size: 0.9rem;
    color: #c0a060;
    margin-bottom: 8px;
    font-weight: bold;
}

.notice-text {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Information Section */
#information h3 {
    font-size: 1.8rem;
    color: #c0a060;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

#information p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    /* 情報を中央揃え */
}

/* Access Section */
#access h3 {
    font-size: 1.8rem;
    color: #c0a060;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

#access p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    /* 情報を中央揃え */
}

#access img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Map Section */
#map .map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9のアスペクト比 (高さ = 幅 * 9 / 16) */
    height: 0;
    overflow: hidden;
    background-color: #3a3a3a;
    /* マップ読み込み中の背景色 */
    border-radius: 8px;
    /* 角を丸くする */
}

#map .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* iframeのデフォルトボーダーを削除 */
}


/* Footer */
footer {
    background-color: #333;
    color: #f0f0f0;
    text-align: center;
    padding: 20px 0;
    margin-top: 80px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
}

footer .container {
    display: flex;
    flex-direction: column;
    /* 縦並びにする */
    align-items: center;
    gap: 15px;
    /* 要素間の隙間 */
}

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

.social-links {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    /* アイコン間の余白 */
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    /* ホバーで少し浮き上がる */
}

.social-links img {
    width: 35px;
    /* アイコンのサイズを調整 */
    height: 35px;
    vertical-align: middle;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        font-size: 2rem;
    }

    nav {
        width: 100%;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        display: none;
        /* Hide by default for mobile */
        width: 100%;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .main-visual-content h1 {
        font-size: 3rem;
    }

    .main-visual-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-container {
        margin: 50px auto;
        padding: 30px 15px;
    }

    .menu-item {
        width: 250px;
        /* スマホでのアイテム幅を調整 */
    }

    .menu-carousel {
        padding: 0 10px;
    }

    footer .container {
        padding: 0 15px;
        /* スマホでのパディング調整 */
    }
}

@media (max-width: 480px) {
    .main-visual-content h1 {
        font-size: 2.5rem;
    }

    .main-visual-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .menu-item {
        width: 220px;
    }

    .menu-item-name {
        font-size: 1.3rem;
    }
}