/* ====================
   CSS Variables & Reset
   ==================== */
:root {
    /* Primary Colors - 黄色と青のカラースキーム */
    --primary-yellow: #FFD700;
    --primary-blue: #1E3A8A;
    --accent-blue: #3B82F6;
    --light-blue: #DBEAFE;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10B981;
    --danger: #EF4444;
    
    /* Typography */
    --font-sans: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 20px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* ====================
   Typography
   ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

/* ====================
   Container & Layout
   ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================
   Header & Navigation
   ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-brand i {
    color: var(--primary-yellow);
    font-size: 1.5rem;
}

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

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: var(--transition);
}

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

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

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* ====================
   Hero Section
   ==================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--white);
    padding: 180px 20px 120px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-yellow);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title-emphasis {
    color: var(--primary-yellow);
    display: inline-block;
    position: relative;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-subtitle strong {
    color: var(--primary-yellow);
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-price-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.price-tag-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-tag-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-yellow);
    line-height: 1;
}

.price-tag-price span {
    font-size: 1.25rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.price-tag-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Hero Video */
.hero-video {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-video .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    background: var(--gray-900);
    border: 3px solid rgba(255, 215, 0, 0.3);
}

.hero-video .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

/* ====================
   Buttons
   ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), #FFA500);
    color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ====================
   Section Common Styles
   ==================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-title .highlight {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--primary-yellow);
    opacity: 0.3;
    z-index: -1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ====================
   Problems Section
   ==================== */
.problems {
    background: var(--gray-50);
}

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

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.problem-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.problem-description {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ====================
   Solution Section
   ==================== */
.solution {
    background: var(--white);
}

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

.solution-text .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.solution-description {
    color: var(--gray-700);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.solution-description p {
    margin-bottom: 1rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-weight: 500;
}

.solution-feature i {
    color: var(--success);
    font-size: 1.25rem;
}

.solution-comparison {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.comparison-before,
.comparison-after {
    text-align: center;
}

.comparison-label {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}

.comparison-label.before {
    background: var(--gray-300);
    color: var(--gray-700);
}

.comparison-label.after {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.comparison-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.comparison-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.comparison-before .comparison-content i {
    color: var(--gray-400);
}

.comparison-after .comparison-content i {
    color: var(--accent-blue);
}

.comparison-content p {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 500;
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--accent-blue);
}

/* ====================
   Merits Section
   ==================== */
.merits {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--white);
}

.merits .section-title {
    color: var(--white);
}

.merits .section-title .highlight {
    color: var(--primary-yellow);
}

.merits .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.merit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: var(--transition);
}

.merit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.merit-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.2);
    line-height: 1;
}

.merit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-yellow);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.merit-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.merit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.merit-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.merit-list {
    list-style: none;
}

.merit-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.merit-list i {
    color: var(--primary-yellow);
}

/* ====================
   Pricing Section
   ==================== */
.pricing {
    background: var(--gray-50);
}

.pricing-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 3px solid var(--primary-yellow);
}

.pricing-badge {
    display: inline-block;
    background: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 2rem;
}

.pricing-amount {
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    vertical-align: top;
}

.pricing-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.pricing-unit {
    font-size: 1.5rem;
    color: var(--gray-600);
    font-weight: 600;
}

.pricing-note {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.pricing-divider {
    height: 2px;
    background: var(--gray-200);
    margin: 2rem 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.pricing-features i {
    color: var(--success);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-info {
    text-align: center;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pricing-info i {
    color: var(--accent-blue);
}

/* ====================
   Contact Section
   ==================== */
.contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-container-google {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.google-form-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.google-form-container iframe {
    width: 100%;
    min-height: 1200px;
    border: none;
}

.google-form-note {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.google-form-note i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.google-form-note a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.google-form-note a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 20px;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.required {
    color: var(--danger);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.contact-info-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.contact-info-content p {
    color: var(--gray-600);
}

/* ====================
   Footer
   ==================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 20px 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.company-logo {
    width: 120px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.footer-company-info {
    margin-bottom: 1.5rem;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.company-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.company-detail-item i {
    color: var(--primary-yellow);
    font-size: 1rem;
    flex-shrink: 0;
}

.company-detail-item a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.company-detail-item a:hover {
    color: var(--primary-yellow);
}

.footer-tagline {
    color: var(--gray-500);
    font-size: 1rem;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ====================
   Modal
   ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: var(--shadow-xl);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon i {
    font-size: 3rem;
    color: var(--white);
}

.modal-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.modal-content p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ====================
   Responsive Design
   ==================== */
@media (max-width: 1024px) {
    .solution-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .solution-text .section-header {
        text-align: center;
    }
    
    .contact-container,
    .contact-container-google {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 140px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-video {
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .merits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .solution-comparison {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .price-tag-price {
        font-size: 2rem;
    }
    
    .pricing-value {
        font-size: 3rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .company-logo {
        width: 100px;
    }
    
    .company-name {
        font-size: 1.25rem;
    }
    
    .company-detail-item {
        font-size: 0.85rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
