* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

main {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #0f1b2e;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: #0f1b2e;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    transition: 0.3s;
    list-style: none;
}

.nav-menu.active {
    left: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #0f1b2e 0%, #1a2b4a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 50% 100%, 0% 80%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateY(-20%);
    transition: all 0.8s ease-out;
}

.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

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

.about-content {
    max-width: 680px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Restaurants Section */
.restaurants {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.restaurants h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

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

.restaurant-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 35px;
    gap: 15px;
}

/* Enhanced Tab Buttons */
.tab-button {
    background: linear-gradient(135deg, #0f1b2e 0%, #1a2b4a 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(15, 27, 46, 0.3);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 27, 46, 0.4);
}

.tab-button.active {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.restaurant-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Enhanced Restaurant Cards */
.restaurant-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    max-width: 400px;
    margin: 0 auto;
}

.restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.restaurant-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.restaurant-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.restaurant-card:hover .restaurant-image img {
    transform: scale(1.05);
}

.restaurant-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffd700 0%, #f39c12 100%);
    color: #0f1b2e;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.restaurant-card:hover .restaurant-logo {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.6);
}

.restaurant-info {
    padding: 18px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.info-row {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    background: linear-gradient(135deg, #0f1b2e 0%, #1a2b4a 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    padding: 5px 6px;
    border-radius: 15px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.value {
    color: #444;
    font-size: 0.85rem;
    line-height: 1.4;
    padding-left: 2px;
}

.value a {
    color: #0f1b2e;
    text-decoration: none;
    font-weight: 600;
}

.value a:hover {
    text-decoration: underline;
    color: #e74c3c;
}

/* Enhanced Buttons */
.restaurant-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
}

.btn {
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-detail {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
}

.btn-detail:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.btn-map {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
    color: white;
    border: none;
}

.btn-map:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 89, 152, 0.3);
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background-color: white;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

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

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* Enhanced Partner Section */
.partner-item {
    text-align: center;
}

.partner-logo {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-item:hover .partner-logo {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0f1b2e;
}

.partner-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Enhanced Footer */
footer {
    background: linear-gradient(135deg, #0f1b2e 0%, #1a2b4a 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #ffd700;
}

.footer-section p {
    line-height: 1.6;
    color: #cccccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #999999;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* すべてのデバイスでモバイル風のレイアウトを維持 */

/* Loading Animation */
.restaurant-image img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive Grid Enhancement */
@media (min-width: 768px) {
    .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 850px;
        gap: 30px;
        padding: 0 20px;
    }
    
    .restaurant-card {
        max-width: none;
    }
    
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
    .logo-image {
        max-width: 200px;
    }

    .hero {
        min-height: 75vh;
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
    }
    
    .hero-badge {
        margin: 0 20px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
}