/* ベーススタイル */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    color: #333;
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

p {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
    z-index: 10;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2em;
    font-weight: 600;
    color: #fff;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav a {
    color: #fff;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #f5b041;
}

/* ハンバーガーメニューのスタイル (PCでは非表示) */
.nav-toggle, .nav-toggle-label {
    display: none;
}

/* メインビジュアル (ヒーローセクション) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../images/ea29f74b4206de8e8cca6e4d56c7312d.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4em;
    font-weight: 600;
    margin: 0;
    letter-spacing: 5px;
}

.hero-content p {
    font-size: 1.2em;
    font-weight: 400;
    margin-top: 10px;
}

/* PC用: ギャラリーセクションのグリッド表示 */
.photo-gallery {
    padding: 100px 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* スマホ用: カルーセルはPCでは非表示に */
.carousel-container {
    display: none;
}

/* メニューセクション */
.menu-section {
    background-color: #333;
    color: #fff;
    padding: 100px 50px;
}

.menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.menu-photo {
    flex: 1;
    max-width: 400px;
}

.menu-photo img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.menu-text {
    flex: 1;
}

.menu-text ul {
    list-style: none;
    padding: 0;
}

.menu-text li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px dashed #666;
    padding-bottom: 5px;
}

/* About Us セクション */
.about-us {
    padding: 100px 50px;
}

/* Google Mapと店舗情報のセクション */
.location-info {
    padding: 100px 50px;
    background-color: #f5f5f5;
}

.location-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
}

.map-container {
    flex: 1;
    position: relative;
    padding-top: 500px;
    height: 0;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    flex: 1;
    max-width: 400px;
}

.contact-info h3 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.contact-info p {
    text-align: left;
    line-height: 2.0;
}

/* フッター */
.footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ヘッダーとハンバーガーメニューのモバイル対応 */
    .header {
        justify-content: space-between;
    }
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 25px;
        cursor: pointer;
        position: fixed;
        top: 35px;
        right: 30px;
        z-index: 99;
    }
    .nav-toggle-label span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #fff;
        position: absolute;
        left: 0;
        transition: transform 0.3s, opacity 0.3s;
    }
    .nav-toggle-label span:nth-child(1) { top: 0; }
    .nav-toggle-label span:nth-child(2) { top: 10px; }
    .nav-toggle-label span:nth-child(3) { top: 20px; }
    .nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: #333;
        transition: right 0.4s ease;
        z-index: 9;
        padding-top: 80px;
    }
    .nav ul {
        flex-direction: column;
        text-align: left;
        padding: 20px;
    }
    .nav li {
        margin-bottom: 20px;
    }
    .nav a {
        display: block;
        color: #fff;
        padding: 10px 0;
    }
    .nav-toggle:checked ~ .nav {
        right: 0;
    }

    /* ギャラリーセクションのモバイル対応 */
    .gallery-grid {
        display: none;
    }
    .carousel-container {
        display: block;
        position: relative;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        overflow: hidden;
    }
    .carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }
    .carousel-slide {
        width: 100%;
        flex-shrink: 0;
        border-radius: 5px;
    }
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.5);
        color: #fff;
        border: none;
        padding: 15px;
        cursor: pointer;
        font-size: 1.5em;
        z-index: 5;
    }
    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }

    /* その他のモバイルレイアウト */
    .hero-content h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .photo-gallery, .menu-section, .about-us, .location-info {
        padding: 50px 20px;
    }
    .menu-container {
        flex-direction: column;
    }
    .menu-photo {
        max-width: 100%;
    }
    .location-container {
        flex-direction: column;
        gap: 20px;
    }
    .map-container {
        padding-top: 75%;
    }
    .map-container, .contact-info {
        max-width: 100%;
    }
    .contact-info  {
        margin: 0 auto;
    }
    .contact-info h3 {
        text-align: center;
    }
}