/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1011;
    background-image: 
        radial-gradient(circle at center, rgba(0,0,0,0) 20%, #000000 130%),
        url('images/bg-texture.jpg'); 
    background-blend-mode: normal;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;

    color: #e0e0e0;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    padding-top: 60px;
}

h1, h2, h3 {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーションバー */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(15, 16, 17, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(5px);
}

.logo {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #ccc;
    font-size: 0.95rem;
    position: relative;
    font-family: 'Shippori Mincho', serif;
}

.nav-links a:hover {
    color: #bfa37e;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* セクション設定 */
.section {
    padding: 100px 0;
    scroll-margin-top: 70px; 
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #fff;
    border-bottom: 1px solid #bfa37e;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.section-title.text-left {
    left: 0;
    transform: none;
    text-align: left;
}

/* ヒーローエリア */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    margin-top: -70px;
    background: url('https://placehold.co/1920x1080/111/333?text=Hero+Image') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #1a1b1c 10%, rgba(26,27,28,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.site-title {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.site-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ccc;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #bfa37e;
    color: #bfa37e;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

.cta-button:hover {
    background-color: #bfa37e;
    color: #1a1b1c;
    box-shadow: 0 0 15px rgba(191, 163, 126, 0.4);
}

/* メニューセクション */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.menu-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.menu-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.7);
}

.menu-card:hover .menu-img {
    transform: scale(1.05);
    filter: brightness(1);
}

.menu-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.menu-info h3 {
    font-size: 1.5rem;
    color: #bfa37e;
    margin-bottom: 10px;
}

/* シェフ紹介 */
.chef-layout {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap; 
}

.chef-image-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: 1;
}

.chef-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.5);
}

.chef-text-box {
    flex: 1;
    background-color: #242526;
    padding: 60px;
    min-width: 300px;
    margin-left: -50px;
    position: relative;
    z-index: 2;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.chef-text-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* ギャラリー */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.gallery-item img:hover {
    opacity: 0.8;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* フッター（修正箇所：高さ調整とレイアウト） */
.footer {
    background-color: #0f1011;
    padding: 80px 0 20px;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    /* ▼ 上揃えではなく「引き伸ばし(stretch)」に変更して左右の高さを揃える */
    align-items: stretch;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
    /* 内容に合わせて高さが決まる */
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px; /* 少し戻して余裕を持たせる */
    color: #fff;
}

.access-details p {
    margin-bottom: 25px; /* 行間を広げて地図の高さを稼ぐ */
    line-height: 1.8;
    color: #aaa;
}

.access-details strong {
    color: #bfa37e;
    display: block;
    margin-bottom: 5px;
    font-family: 'Shippori Mincho', serif;
}

/* 地図のスタイル（左側の高さに合わせて伸縮） */
.footer-map {
    flex: 1;
    min-width: 300px;
    position: relative; /* iframeを絶対配置するための基準 */
    min-height: 300px; /* コンテンツが少ない場合の最低保証高さ */
}

.footer-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 親要素(.footer-map)の高さに合わせて広がる */
    object-fit: cover;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* モバイル・レスポンシブ */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .hamburger { display: block; z-index: 1001; }
    .hamburger span { display: block; width: 25px; height: 2px; background: #fff; margin: 5px 0; transition: 0.4s; }
    
    .nav-links {
        position: fixed;
        top: 0; right: -100%; width: 100%; height: 100vh;
        background-color: rgba(15, 16, 17, 0.98);
        flex-direction: column; justify-content: center; align-items: center;
        transition: 0.4s ease; padding-top: 60px;
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .nav-links a { font-size: 1.5rem; }

    .hamburger.toggle span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); }
    .hamburger.toggle span:nth-child(2) { opacity: 0; }
    .hamburger.toggle span:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); }

    .site-title { font-size: 3rem; }
    .chef-text-box { margin-left: 0; margin-top: -30px; padding: 40px 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 60px 0; }

    /* スマホ時は地図の伸縮を解除し、固定の高さにする */
    .footer-map {
        height: 300px; 
    }
}