/*=====================================
  基本設定（リセット・フォントなど）
=====================================*/
body {
    font-family: 'Shippori Mincho', serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #666;
}

section {
    padding: 80px 5%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

h1, h2 {
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

h1 {
    font-size: 4em;
    margin: 0;
}

h2 {
    font-size: 2.5em;
    font-weight: 400;
}

/* 共通のテキスト配置スタイル */
section h2,
section p,
.food-menu-header,
.other-menu-header {
    text-align: center;
}

/* ─────────────────────────────
   多言語切り替えボタン
───────────────────────────── */
.language-switch {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 0.9rem;
}

.language-switch a,
.language-switch span {
  text-decoration: none;
  color: #fff;
  margin: 0 4px;
  transition: color 0.2s ease;
}

.language-switch a:hover {
  color: #dcdcdc;
}

/* 現在の言語（非アクティブ） */
.language-switch .lang-active {
  color: #aaa;
  cursor: default;
  pointer-events: none;
  font-weight: bold;
}

/*=====================================
  ファーストビュー（動画背景）
=====================================*/
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.video-container {
    position: relative; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container video {
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

/*=====================================
  トップに戻るボタン
=====================================*/
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #cbcbcb;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

#back-to-top:hover {
    background-color: #8c3800;
}

/*=====================================
  動画のぼかし効果
=====================================*/
.video-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; 
    background: linear-gradient(to top, 
                                 rgba(255, 255, 255, 0.95) 0%,
                                 rgba(255, 255, 255, 0.8) 50%,
                                 rgba(255, 255, 255, 0) 100%
                                );
    z-index: 1; 
}

.hero-content {
    position: absolute;
    bottom: 250px;
    left: 150px;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.site-logo {
    max-width: 150px; 
    height: auto;
}

/*=====================================
  グローバルメニュー
=====================================*/
.global-nav {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 2;
}

.global-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.global-nav li {
    margin-bottom: 10px;
}

.global-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    font-family: 'Shippori Mincho', serif;
}

.global-nav a:hover {
    opacity: 0.7;
}

.social-links {
    margin-top: 120px;
}

.social-links a {
    font-size: 1em;
    font-weight: normal;
    color: white;
    text-decoration: underline;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

/*=====================================
  スクロールアニメーション
=====================================*/
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animation.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*=====================================
  Aboutセクション
=====================================*/
#about {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.photo-text-block {
    margin-top: 50px;
    margin-bottom: 0px;
    max-width: 800px;
    width: 100%;
    text-align: left;
}

.block-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    object-fit: cover;
}

.block-text h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: 500;
}

.content-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

/*=====================================
  Foodセクション
=====================================*/
#food {
    padding-top: 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 50px auto;
}

.menu-item {
    text-align: center;
}

.menu-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 5px;
}

.item-details h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 3px;
}

.item-details p {
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
    margin-top: 0;
}

.text-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.text-menu-item {
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.text-menu-item h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 5px;
}

.text-menu-item p {
    font-size: 1.1em;
    font-weight: bold;
    color: #666;
    margin-top: 0;
}

/*=====================================
  Drinkセクション
=====================================*/
#drink {
    min-height: auto;
    padding-bottom: 0px;
}

.drink-header {
    text-align: center;
    margin-bottom: 50px;
}

.drink-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.drink-item {
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.drink-item h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 5px;
}

.drink-item p {
    font-size: 1.1em;
    font-weight: bold;
    color: #666;
    margin-top: 0;
}

/*=====================================
  Accessセクション
=====================================*/
#access {
    padding-top: 20px;
    padding-bottom: 0px;
}

#access .access-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

#access .access-content p {
    margin: 5px 0;
}

#access .access-photo-container {
    width: 100%; /* 100vwから100%に修正 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#access .access-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#access .hours {
    margin-top: 20px;
}

#access .hours table {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-collapse: collapse;
}

#access .hours table td {
    padding: 8px 0;
    border-bottom: 1px solid #ccc;
    text-align: left;
}
#access .hours table td:last-child {
    text-align: right;
}

/*=====================================
  フッター
=====================================*/
footer {
    padding: 20px 0;
    text-align: center;
    background-color: #222;
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/*=====================================
  レスポンシブデザイン（モバイル対応）
=====================================*/
@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .menu-item img {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        margin-bottom: 0px;
    }

    h2 {
    font-size: 1.5em;
    font-weight: 400;
    }
    .site-logo {
    max-width: 100px; 
    height: auto;
    }
    .menu-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .text-menu-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    
    .drink-menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ロゴの位置を上左に変更 */
    .hero-content {
        top: 30px;
        left: 30px;
        right: auto;
    }

    /* グローバルナビを非表示に */
    .global-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 100;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease;
    }
    
    .global-nav.is-open {
        display: flex;
    }

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

    .global-nav li a {
        font-size: 1.5em;
    }

    /* ハンバーガーメニューのスタイル */
    .menu-toggle {
        display: block;
        position: fixed;
        top: 30px;
        right: 30px;
        width: 30px;
        height: 24px;
        z-index: 101;
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        margin-bottom: 5px;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* メニュー開閉時のアニメーション */
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* 動画をモバイルで縮小 */
    .video-container video {
        width: 100%;
        height: 100%;
    }
    
    section:not(#food) {
        padding: 40px 5%;
    }
    
    #about {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    
    /* 動画の高さをスマホでのみ変更 */
    .hero-section {
        height: 50vh;
    }

    /* トップに戻るボタンのスタイルを調整 */
    #back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    /* アクセスセクションのパディングをモバイル用に上書き */
    #access {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* アクセス写真のコンテナを画面いっぱいに広げる */
    #access .access-photo-container {
        width: 100%;
        margin: 0;
    }
    
    /* アクセス写真のスタイルを調整 */
    #access .access-photo {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }
    
    /* 動画下のぼかしの高さを変更 */
    .video-fade-overlay {
        height: 100px;
    }
}