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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
}

h2 {
    font-size: 2rem;
    color: #1e3a8a;
}

h3 {
    font-size: 1.5rem;
    color: #374151;
}

p {
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Logo and Brand */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e3a8a;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin: 32px 0 16px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 12px;
    margin: 40px auto 0;
    overflow: hidden;
    box-shadow: 0 8px 25px -5px rgb(0 0 0 / 0.15);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Sections */
section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 64px;
    font-size: 2rem;
    color: #1e3a8a;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
}

.service-icon {
    margin-bottom: 24px;
}

.service-item h3 {
    color: #1e3a8a;
    margin-bottom: 16px;
}

/* Features */
.features {
    background: #f8fafc;
}

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

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.feature-icon {
    margin-bottom: 16px;
}

.feature-item h3 {
    color: #1e3a8a;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.feature-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

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

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

.product-content {
    padding: 24px;
}

.product-content h3 {
    color: #1e3a8a;
    margin-bottom: 12px;
}

.product-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #84cc16;
    margin-bottom: 20px;
}

.cta-button {
    width: 100%;
    padding: 12px 24px;
    background: #1e3a8a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-button:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px -2px rgb(0 0 0 / 0.2);
}

.cta-button.premium {
    background: #7c3aed;
}

.cta-button.premium:hover {
    background: #6d28d9;
}

.cta-button.interior {
    background: #059669;
}

.cta-button.interior:hover {
    background: #047857;
}

.cta-button.full {
    background: #dc2626;
}

.cta-button.full:hover {
    background: #b91c1c;
}

/* Process */
.process {
    background: #f8fafc;
}

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

.step {
    text-align: center;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.step-number {
    width: 48px;
    height: 48px;
    background: #84cc16;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    color: #1e3a8a;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

/* Membership */
.membership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.membership-card {
    text-align: center;
    padding: 40px 24px;
    background: #ffffff;
    border: 2px solid #84cc16;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.membership-card h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.membership-card p {
    color: #64748b;
    margin-bottom: 20px;
}

.membership-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #84cc16;
}

/* Corporate */
.corporate {
    background: #f8fafc;
}

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

.corporate-text h3 {
    color: #1e3a8a;
    margin-bottom: 24px;
}

.corporate-text ul {
    list-style: none;
    padding: 0;
}

.corporate-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #374151;
}

.corporate-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #84cc16;
    font-weight: bold;
}

.corporate-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.corporate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Quality */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.quality-item {
    text-align: center;
    padding: 32px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
}

.quality-item h3 {
    color: #1e3a8a;
    margin-bottom: 16px;
}

.quality-item p {
    color: #64748b;
    margin: 0;
}

/* Contacts */
.contacts {
    background: #f8fafc;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h3 {
    color: #1e3a8a;
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: #374151;
    font-size: 0.875rem;
    margin: 0;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: #ffffff;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand .logo-brand .brand-name {
    color: #ffffff;
}

.footer-brand p {
    color: #cbd5e1;
    margin-top: 8px;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-section h4 {
    color: #84cc16;
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: #84cc16;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 32px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.25);
}

.close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
}

.close:hover {
    color: #374151;
}

.modal-content h3 {
    color: #1e3a8a;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #84cc16;
    box-shadow: 0 0 0 3px rgb(132 204 22 / 0.1);
}

.modal-content button[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    background: #1e3a8a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-content button[type="submit"]:hover {
    background: #1e40af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e3a8a;
    color: #ffffff;
    padding: 24px;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

.cookie-text h3 {
    color: #84cc16;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-buttons {
    display: grid;
    grid-template-columns: repeat(3, auto) 1fr;
    gap: 16px;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-accept {
    background: #84cc16;
    color: #ffffff;
}

.cookie-accept:hover {
    background: #65a30d;
}

.cookie-reject {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #cbd5e1;
}

.cookie-reject:hover {
    background: #cbd5e1;
    color: #1e3a8a;
}

.cookie-customize {
    background: #6366f1;
    color: #ffffff;
}

.cookie-customize:hover {
    background: #4f46e5;
}

.cookie-link {
    color: #cbd5e1;
    text-decoration: underline;
    font-size: 0.875rem;
    justify-self: end;
}

.cookie-link:hover {
    color: #84cc16;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.cookie-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.25);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    color: #1e3a8a;
    margin: 0;
}

.cookie-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
}

.cookie-close:hover {
    color: #374151;
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category h4 {
    color: #1e3a8a;
    font-size: 1.125rem;
    margin: 0;
}

.cookie-category p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #84cc16;
}

input:disabled + .cookie-slider {
    background-color: #84cc16;
    opacity: 0.6;
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.cookie-save {
    background: #1e3a8a;
    color: #ffffff;
}

.cookie-save:hover {
    background: #1e40af;
}

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

    section {
        padding: 48px 0;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }

    .services-grid,
    .features-grid,
    .products-grid,
    .process-steps,
    .membership-options,
    .quality-grid,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .corporate-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-section {
        align-items: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 24px;
    }

    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .cookie-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-content: center;
    }

    .cookie-link {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .hero-image {
        height: 250px;
    }

    .corporate-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .brand-name {
        font-size: 1.25rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .cookie-buttons {
        gap: 12px;
    }

    .cookie-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .cookie-buttons {
        grid-template-columns: 1fr;
    }

    .cookie-modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}