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

html {
    scroll-behavior: smooth;
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563ea 100%);
    color: white;
    padding: 20px;
    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: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-btn {
    background: #fff;
    color: #2563ea;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2563ea;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563ea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2563ea;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
html{
    overflow-x: hidden;
}
.service-btn{
    text-decoration: none;
}
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.btn-secondary:hover {
    background: white;
    color: #2563ea;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #f8fafc;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.floating-card h3 {
    color: #2563ea;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.feature-text p {
    color: #6b7280;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563ea 0%, #1e40af 100%);
}

.service-card.primary::before {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2rem;
}

.service-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.service-features span {
    background: #e0f2fe;
    color: #0891b2;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.price-label {
    font-weight: 500;
    color: #6b7280;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563ea;
}

.service-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563ea 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Comparison Section */
.comparison {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.comparison-tool {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.area-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}

.selector-group {
    flex: 1;
}

.selector-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

.area-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.area-select:focus {
    outline: none;
    border-color: #2563ea;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.vs-indicator {
    background: linear-gradient(135deg, #2563ea 0%, #1e40af 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comparison-results {
    margin-bottom: 40px;
}

.metric-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
}

.metric-label {
    width: 120px;
    font-weight: 600;
    color: #1f2937;
    flex-shrink: 0;
}

.metric-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bar-container {
    /* display: flex; */
    align-items: center;
    gap: 15px;
}

.metric-bar {
    height: 12px;
    border-radius: 6px;
    transition: all 0.5s ease;
    min-width: 0;
    flex: 1;
    /* max-width: 300px; */
    background: #ededed;
    width: 100%;
}

/* .area-a-bar {
    background: linear-gradient(135deg, #2563ea 0%, #1e40af 100%);
}

.area-b-bar {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
} */

.bar-label {
    font-size: 0.9rem;
    color: #6b7280;
    width: 60px;
    flex-shrink: 0;
}

.comparison-summary {
    margin-top: 30px;
}

.summary-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #2563ea;
}

.summary-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1f2937;
}

#recommendation-text {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: white;
}

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

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.contact-info p {
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.method-info p {
    font-weight: 600;
    color: #2563ea;
    margin-bottom: 3px;
}

.method-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

.contact-form {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563ea;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563ea 0%, #1e40af 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fbbf24;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #fbbf24;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }

    .nav-menu.active{
        display: flex;
        width: 100%;
        position: absolute;
        top: 80px;
        background: #fff;
        flex-direction: column;
        left: 0;
        padding: 20px;
    }
    .vs-indicator{
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-card {
        position: static;
        margin-top: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .area-selector {
        flex-direction: column;
        gap: 20px;
    }
    
    .vs-indicator {
        order: 2;
    }
    
    .comparison-tool {
        padding: 30px 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .metric-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .metric-label {
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    .hero-buttons, .hero-stats{
        flex-direction: column;
    }
    .hero{
        height: 100%;
    }
    .hero-content{
        padding-top: 120px;
    }
}



.text-wrapper h2, .text-wrapper h3{
    margin-top: 20px;
    margin-bottom: 10px;
}

.text-wrapper h1{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}
.text-wrapper h2{
    font-size: 1.5rem;
}

.text-wrapper{
    margin: 30px auto;
    max-width: 1200px;
    padding: 20px;
}
.text-wrapper ul{
    list-style: initial!important;
}

.text-wrapper p{
    margin-bottom: 10px;
}