/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1e3a8a;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #ec4899;
    color: white;
}

.btn-secondary:hover {
    background-color: #db2777;
    transform: translateY(-1px);
}

.btn-contact {
    background-color: #059669;
    color: white;
    width: 100%;
}

.btn-contact:hover {
    background-color: #047857;
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
    border-radius: 12px;
    min-height: 200px;
}

.table-placeholder {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 60px;
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Seat Finder Section */
.seat-finder {
    padding: 80px 0;
    text-align: center;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.text-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.image-content .image-placeholder {
    height: 350px;
}

.image-content img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Meal Preview Section */
.meal-preview {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

/* Service Ratings Section */
.service-ratings {
    padding: 80px 0;
    text-align: center;
}

.service-ratings h2 {
    margin-bottom: 3rem;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.rating-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #f3f4f6;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #ec4899;
    margin: 1rem 0;
}

.rating-details p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Airline Comparison Section */
.airline-comparison {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.airline-comparison h2 {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.comparison-image {
    margin-top: 2rem;
}

.comparison-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* Products Section */
.products {
    padding: 80px 0;
    text-align: center;
}

.products h2 {
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #f3f4f6;
    text-align: center;
}

.product-card.featured {
    border-color: #ec4899;
    transform: scale(1.05);
    position: relative;
}

.product-card.featured::before {
    content: "人気";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ec4899;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card h3 {
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #ec4899;
    margin-bottom: 1.5rem;
}

.product-card ul {
    text-align: left;
    margin-bottom: 2rem;
}

.product-card li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.why-us h2 {
    margin-bottom: 3rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a 0%, #ec4899 100%);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Contacts Section */
.contacts {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
}

.contacts h2 {
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-item h3 {
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4b5563;
    margin: 0;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #374151;
    padding-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .brand-name {
    color: white;
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image img {
        height: 250px;
    }

    .section-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-content img {
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .ratings-grid,
    .why-grid,
    .steps,
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}