/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fcf9f2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #d4a373;
    transition: all 0.3s ease;
}

a:hover {
    color: #c08c5d;
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: #d4a373;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c08c5d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #5e4532;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #d4a373;
}

/* ヘッダー */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #5e4532;
    margin-bottom: 5px;
}

.logo p {
    font-size: 0.9rem;
    color: #8a7968;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #5e4532;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4a373;
    transition: all 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ヒーローセクション */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1509440159596-0249088772ff?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1172&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* メニューセクション */
.menu {
    padding: 80px 0;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item h3, .menu-item p {
    padding: 0 20px;
}

.menu-item h3 {
    margin-top: 15px;
    font-size: 1.3rem;
    color: #5e4532;
}

.menu-item .price {
    font-weight: bold;
    color: #d4a373;
    margin: 5px 0;
}

.menu-item .description {
    color: #8a7968;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.menu-item .add-to-cart {
    display: block;
    width: 100%;
    padding: 10px 0;
    background-color: #d4a373;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.menu-item .add-to-cart:hover {
    background-color: #c08c5d;
}

.menu-item .add-to-cart.added {
    background-color: #4caf50;
}

/* 注文セクション */
.order {
    padding: 80px 0;
    background-color: #f5f0e5;
}

.order-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.cart, .order-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart h3, .order-form h3 {
    color: #5e4532;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.empty-cart {
    color: #999;
    text-align: center;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-details h4 {
    color: #5e4532;
    margin-bottom: 5px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.quantity {
    margin: 0 10px;
}

.remove-btn {
    width: 25px;
    height: 25px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.cart-total {
    margin-top: 20px;
    text-align: right;
    font-weight: bold;
    font-size: 1.2rem;
    color: #5e4532;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #5e4532;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-order {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
}

/* 店舗情報セクション */
.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    color: #5e4532;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 30px;
    color: #666;
}

.shop-info li {
    margin-bottom: 10px;
    color: #666;
}

.shop-info li i {
    color: #d4a373;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* フッター */
footer {
    background-color: #5e4532;
    color: #f5f0e5;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul li, .footer-social ul li {
    margin-bottom: 10px;
}

.footer-links a, .footer-social a {
    color: #f5f0e5;
    opacity: 0.8;
}

.footer-links a:hover, .footer-social a:hover {
    opacity: 1;
}

.footer-social i {
    margin-right: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.image-credits {
    margin-top: 5px;
    font-size: 0.8rem;
}

.image-credits a {
    color: #f5f0e5;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .order-container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-end;
    }
    
    nav ul li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
        align-items: center;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
