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

:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-lightest: #e2e8f0;
    --white: #ffffff;
    --bg: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--dark);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

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

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pc-br {
    display: inline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.contact-link {
    padding: 0.5rem 1.25rem;
    background: var(--dark);
    color: white;
    border-radius: 4px;
}

.contact-link:hover {
    background: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* Hero Section - Large Background */
.hero-large {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-main-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.hero-main-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-product-name {
    font-size: 2rem;
    font-weight: 600;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
}

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title-large {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
    font-family: 'Noto Serif JP', serif;
}

.section-description {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--gray);
}

/* Problem Visual Section - Background Image Style */
.problem-visual-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.problem-visual-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
}

.section-title-white {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
    font-family: 'Noto Serif JP', serif;
}

.problem-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.problem-visual-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s;
}

.problem-visual-card:hover {
    transform: translateY(-5px);
}

.card-number {
    display: inline-block;
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    background: #eff6ff;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.problem-visual-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.problem-visual-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Product Detail Section */
.product-detail-section {
    padding: 6rem 0;
    background: white;
}

.section-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark);
    font-family: 'Noto Serif JP', serif;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Visual Diagram */
.visual-diagram {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.diagram-layer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.diagram-layer.dual {
    justify-content: space-around;
    gap: 2rem;
}

.layer-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    min-width: 140px;
    transition: all 0.3s ease;
}

.layer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.layer-item .icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.layer-item .icon-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.layer-item .icon-image img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.layer-item span {
    display: block;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.layer-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
}

.layer-item.internet {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.layer-item.fiber {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.layer-item.starlink {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.layer-item.router {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
}

.layer-item.server {
    border-color: #ec4899;
    background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

.arrow-down {
    text-align: center;
    font-size: 2.5rem;
    color: var(--gray-light);
    margin: 0.5rem 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.connection-lines {
    position: relative;
    height: 40px;
    margin: 0 auto;
    max-width: 400px;
}

.line {
    position: absolute;
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, #3b82f6 0%, transparent 100%);
    top: 0;
}

.line-left {
    left: 30%;
}

.line-right {
    right: 30%;
}

/* Detail Content */
.detail-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark);
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.detail-item p {
    color: var(--gray);
    line-height: 1.8;
}

/* Features Visual Section */
.features-visual-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    position: relative;
}

.section-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
}

.section-title-center-dark {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--dark);
    font-family: 'Noto Serif JP', serif;
}

.features-large-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-large-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e2e8f0;
}

.feature-large-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon-large {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-large-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-large-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Technology Section */
.tech-clean-section {
    padding: 6rem 0;
    background: white;
}

.section-intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

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

.tech-simple-card {
    padding: 2rem 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: border-color 0.3s;
}

.tech-simple-card:hover {
    border-color: var(--primary-light);
}

.tech-simple-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.tech-simple-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* Security Section */
.security-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.security-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.security-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.security-card p {
    color: var(--gray);
    line-height: 1.8;
}

.security-comparison {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.security-comparison h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.comparison-table thead th {
    background: var(--dark);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table tbody td {
    font-size: 0.95rem;
    color: var(--dark);
}

.comparison-table .highlight-row {
    background: #eff6ff;
}

.comparison-table .highlight-row td {
    font-weight: 600;
    color: var(--primary);
}

/* Use Cases Section */
.cases-section {
    padding: 6rem 0;
    background: #f8fafc;
}

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

.case-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.case-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
}

/* Stats Section */
.stats-bold-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.stats-bold-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-bold-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    font-family: 'Noto Serif JP', serif;
}

.stat-bold-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

/* Contact Section */
.contact-clean-section {
    padding: 6rem 0;
    background: white;
}

.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 4rem;
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-box h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark);
}

.contact-dl {
    display: grid;
    gap: 1.75rem;
}

.contact-dl dt {
    font-size: 0.8rem;
    color: var(--gray-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.contact-dl dd {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.8;
}

.contact-dl a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-dl a:hover {
    text-decoration: underline;
}

.btn-map {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-lightest);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-map:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Contact Form */
.contact-form-box {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.simple-form .form-field {
    margin-bottom: 1.75rem;
}

.simple-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.simple-form input,
.simple-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    background: white;
}

.simple-form input:focus,
.simple-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.simple-form textarea {
    resize: vertical;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary);
}

/* Footer */
.footer-simple {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-company {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-director {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.footer-contact-area p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.footer-copy p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-qualifications {
    margin-top: 2rem;
}

.qualifications-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.qualifications-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.qualifications-list li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 1.25rem;
    position: relative;
}

.qualifications-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(59, 130, 246, 0.8);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-main-title {
        font-size: 3rem;
    }

    .product-detail-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .diagram-layer.dual {
        flex-direction: column;
        gap: 1rem;
    }

    .layer-item {
        min-width: 120px;
    }

    .layer-item .icon {
        font-size: 2.5rem;
    }

    .layer-item .icon-image {
        height: 60px;
    }

    .layer-item .icon-image img {
        max-height: 60px;
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 1.5rem;
        align-items: flex-start;
        border-top: 1px solid #e5e7eb;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-main-subtitle {
        font-size: 1.1rem;
    }

    .hero-product-name {
        font-size: 1.5rem;
    }

    .section-title-large,
    .section-title-center,
    .section-title-white {
        font-size: 2rem;
    }

    .problem-cards,
    .features-large-grid,
    .tech-simple-grid,
    .security-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stats-bold-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .security-comparison {
        padding: 2rem 1.5rem;
    }

    .pc-br {
        display: none;
    }
}

@media (max-width: 480px) {
    .container,
    .container-narrow {
        padding: 0 1.25rem;
    }

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

    .stats-bold-grid {
        grid-template-columns: 1fr;
    }

    .stat-bold-value {
        font-size: 2.5rem;
    }

    .contact-form-box {
        padding: 2rem;
    }
}
