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

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

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

/* Header */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(31, 58, 95, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #1F3A5F;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1F3A5F;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #495057;
}

.cta-button {
    background-color: #6BAE75;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #5a9d64;
    transform: translateY(-2px);
}

.hero-img, .guide-img, .tools-img, .product-img, .about-img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(31, 58, 95, 0.15);
}

.hero-img {
    max-height: 400px;
}

.guide-img, .tools-img {
    max-height: 300px;
}

.product-img {
    height: 200px;
    object-fit: cover;
}

.about-img {
    max-height: 350px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.about-item {
    padding: 40px 20px;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.about-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.about-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F3A5F;
}

.about-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #495057;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.service-item {
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(31, 58, 95, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F3A5F;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

/* Privacy Guides Section */
.privacy-guides {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.privacy-guides h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.guide-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1F3A5F;
}

.guide-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #495057;
}

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

.guide-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 16px;
    color: #495057;
}

.guide-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6BAE75;
    font-weight: bold;
}

/* Security Tools Section */
.security-tools {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.security-tools h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.tools-text h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1F3A5F;
}

.tools-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #495057;
}

.tool-categories {
    display: grid;
    gap: 24px;
}

.category {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(31, 58, 95, 0.1);
}

.category h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1F3A5F;
}

.category p {
    font-size: 14px;
    color: #495057;
    margin: 0;
}

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

.products h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.product-item {
    background-color: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(31, 58, 95, 0.1);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
}

.product-image .image-placeholder {
    padding: 60px 20px;
    font-size: 14px;
}

.product-item h3 {
    padding: 24px 24px 16px;
    font-size: 20px;
    font-weight: 600;
    color: #1F3A5F;
}

.product-item p {
    padding: 0 24px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.product-price {
    padding: 0 24px 16px;
    font-size: 24px;
    font-weight: 600;
    color: #6BAE75;
}

.product-button {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    padding: 12px 0;
    background-color: #1F3A5F;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #0f2a4a;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.why-choose h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.reason-item {
    background-color: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(31, 58, 95, 0.1);
}

.reason-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F3A5F;
}

.reason-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #ffffff;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.testimonial-item {
    background-color: #f8f9fa;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid #6BAE75;
}

.testimonial-item p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #495057;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: #1F3A5F;
}

/* Updates Section */
.updates {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.updates h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.update-item {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(31, 58, 95, 0.1);
    transition: transform 0.3s ease;
}

.update-item:hover {
    transform: translateY(-4px);
}

.update-date {
    font-size: 14px;
    color: #6BAE75;
    font-weight: 600;
    margin-bottom: 12px;
}

.update-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1F3A5F;
}

.update-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
    color: #1F3A5F;
}

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

.contact-info {
    display: grid;
    gap: 32px;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1F3A5F;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 8px;
}

.contact-item small {
    font-size: 14px;
    color: #6c757d;
}

.contact-form-container {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

.contact-form-container h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1F3A5F;
    text-align: center;
}

.contact-button {
    width: 100%;
    padding: 16px 0;
    background-color: #6BAE75;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #5a9d64;
}

/* Footer */
.footer {
    background-color: #1F3A5F;
    color: white;
    padding: 60px 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-logo .brand-name {
    color: white;
    font-size: 20px;
}

.footer-description {
    color: #BFC7CE;
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.5;
}

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

.footer-links a {
    color: #BFC7CE;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: #BFC7CE;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #BFC7CE;
}

/* 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: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #495057;
    transition: color 0.3s ease;
}

.close:hover {
    color: #1F3A5F;
}

.modal-content h2 {
    margin-bottom: 32px;
    color: #1F3A5F;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1F3A5F;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #BFC7CE;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6BAE75;
}

.submit-button {
    width: 100%;
    padding: 16px 0;
    background-color: #6BAE75;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #5a9d64;
}

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

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

    .hero h1 {
        font-size: 36px;
    }

    .guide-content,
    .tools-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links {
        gap: 12px;
    }

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

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .brand-name {
        font-size: 20px;
    }

    h2 {
        font-size: 24px !important;
    }

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