/* 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: #333;
    background-color: #fff;
}

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

/* Color Variables */
:root {
    --primary-color: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f97316;
    --text-dark: #1f2937;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --bg-dark: #1e293b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 12px;
}

.btn small {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.problem-solution {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.problem, .solution {
    flex: 1;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.problem {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.solution {
    background: #f0fdf4;
    border-left: 4px solid var(--secondary-color);
}

.problem h3, .solution h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.problem ul, .solution ul {
    list-style: none;
}

.problem li, .solution li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.problem i {
    color: #ef4444;
}

.solution i {
    color: var(--secondary-color);
}

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
}

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

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.benefit-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    margin: 1rem 0;
}

.step-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-description {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-details {
    color: var(--text-light);
    font-size: 0.875rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 1rem;
}

.campaign-banner {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-secondary);
    border-radius: 16px;
    text-align: center;
    color: var(--white);
}

.campaign-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.campaign-description {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Flow Section */
.flow {
    padding: 80px 0;
    background: var(--bg-light);
}

.flow-container {
    max-width: 600px;
    margin: 3rem auto 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.flow-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
}

.flow-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.flow-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.flow-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.flow-content {
    flex: 1;
}

.flow-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.flow-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

.flow-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--bg-dark);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

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

.contact-info {
    max-width: 400px;
    margin: 0 auto;
}

.phone-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.phone-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.phone-hours {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.emergency-support {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* ===== ハンバーガーメニューの修正（ここが修正箇所） ===== */
    .nav {
        padding: 1.25rem 15px; /* パディングを調整 */
        gap: 10px; /* 要素間の間隔を調整 */
        position: relative;
    }
    
    .nav-brand {
        z-index: 1001;
        flex-shrink: 0;
    }
    
    .logo {
        font-size: 1.25rem; /* ロゴサイズを少し小さく */
    }
    
    /* CTAボタンのモバイル対応 */
    .nav-cta {
        z-index: 1001;
        margin-left: auto;
        margin-right: 10px; /* ハンバーガーボタンとの間隔 */
    }
    
    .nav-cta .btn {
        padding: 8px 12px; /* パディングを小さく */
        font-size: 0.75rem; /* フォントサイズを小さく */
        white-space: nowrap; /* テキストの改行を防ぐ */
        border-radius: 6px;
    }
    
    /* ハンバーガーメニューの調整 */
    .nav-toggle {
        display: flex;
        flex-shrink: 0; /* 縮小を防ぐ */
        width: 28px; /* 幅を少し小さく */
        height: 22px;
    }
    
    .nav-toggle span {
        width: 100%;
        height: 3px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
    }
    
    .nav-toggle span:nth-child(1) {
        top: 0;
    }
    
    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-toggle span:nth-child(3) {
        bottom: 0;
    }
    
    /* ハンバーガーメニューアクティブ状態 */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
        margin-top: -1.5px;
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 50%;
        margin-bottom: -1.5px;
    }
    
    /* モバイルメニューの表示 */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--text-dark);
        text-decoration: none;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        width: 80%;
    }
    
    .nav-menu .nav-link:hover {
        background-color: var(--bg-light);
        color: var(--primary-color);
    }
    /* ===== ハンバーガーメニューの修正ここまで ===== */
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problem-solution {
        flex-direction: column;
        gap: 1rem;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* さらに小さなスマートフォン向けの調整（ヘッダー部分のみ） */
    .nav {
        padding: 0.5rem 10px; /* さらにパディングを小さく */
    }
    
    .logo {
        font-size: 1.1rem; /* ロゴをさらに小さく */
    }
    
    .nav-cta .btn {
        padding: 6px 10px; /* パディングをさらに小さく */
        font-size: 0.7rem; /* フォントサイズをさらに小さく */
    }
    
    .nav-toggle {
        width: 25px; /* ハンバーガーボタンをさらに小さく */
        height: 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .step-item {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}



/* Video Section */
.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.video-content {
    margin-top: 60px;
}

.video-thumbnail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.video-thumbnail {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-thumbnail:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.thumbnail-img {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(30, 64, 175, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: rgba(30, 64, 175, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-info {
    padding: 20px 0;
}

.video-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.video-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
}

.video-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.video-modal-close:hover {
    color: #000;
}

.video-modal-body {
    padding: 40px;
    text-align: center;
}

.video-modal-body h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.video-modal-body p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-contact {
    margin-top: 24px;
}

/* FAQ More Section */
.faq-more {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.faq-more-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive Design for Video Section */
@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-thumbnail-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .video-thumbnail {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .video-title {
        font-size: 24px;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .video-modal-body {
        padding: 30px 20px;
    }
}


/* FAQ Page Styles */
.page-header {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* FAQ Navigation */
.faq-nav {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.faq-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-tab:hover {
    background: var(--primary-color);
    color: white;
}

.faq-tab.active {
    background: var(--primary-color);
    color: white;
}

/* FAQ Sections */
.faq-section {
    display: none;
    padding: 80px 0;
}

.faq-section.active {
    display: block;
}

.faq-categories {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 60px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.category-title i {
    color: var(--primary-color);
    font-size: 28px;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}

/* FAQ Contact Section */
.faq-contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.faq-contact-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.faq-contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.contact-method {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    color: white;
    font-size: 24px;
}

.contact-method h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-info {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 8px;
}

.contact-info:hover {
    text-decoration: underline;
}

.contact-method p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.faq-contact-cta {
    margin-top: 40px;
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .faq-nav {
        padding: 30px 0;
        top: 70px;
    }
    
    .faq-nav-tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .faq-tab {
        width: 200px;
        justify-content: center;
    }
    
    .faq-section {
        padding: 60px 0;
    }
    
    .category-title {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .faq-question h4 {
        font-size: 16px;
    }
    
    .faq-question, .faq-answer p {
        padding: 20px;
    }
    
    .faq-contact-title {
        font-size: 24px;
    }
    
    .faq-contact-methods {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Company Page Styles */
.company-mission {
    padding: 80px 0;
    background: white;
}

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

.mission-statement {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    line-height: 1.4;
}

.mission-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon i {
    color: white;
    font-size: 24px;
}

.value-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Company Information */
.company-info {
    padding: 80px 0;
    background: var(--bg-light);
}

.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.info-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    padding: 20px;
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    border-right: 1px solid #e2e8f0;
}

.info-value {
    padding: 20px;
    color: var(--text-light);
    line-height: 1.6;
}

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

.business-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
}

.business-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.business-icon i {
    color: white;
    font-size: 24px;
}

.business-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.business-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Company History */
.company-history {
    padding: 80px 0;
    background: white;
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-date {
    width: 120px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    padding-top: 5px;
}

.timeline-content {
    flex: 1;
    margin-left: 40px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Certifications */
.certifications {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.cert-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cert-icon i {
    color: white;
    font-size: 24px;
}

.cert-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.cert-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Company Contact */
.company-contact {
    padding: 80px 0;
    background: white;
}

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

.contact-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.contact-cta {
    margin-top: 40px;
}

/* Responsive Design for Company Page */
@media (max-width: 768px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-statement {
        font-size: 24px;
    }
    
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .business-items {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item::before {
        left: 14px;
    }
    
    .timeline-date {
        width: 100px;
        font-size: 12px;
    }
    
    .timeline-content {
        margin-left: 30px;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}
/* ロゴ関連の完全なスタイル */
.nav-brand a {
    text-decoration: none !important;
    border-bottom: none !important;
    display: inline-block;
}

.nav-brand a:hover,
.nav-brand a:focus,
.nav-brand a:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
    }
}